Skip Navigation
Vulnerabilities in CocoaPods Open the Door to Supply Chain Attacks Against Thousands of iOS and macOS Applications
www.evasec.io Vulnerabilities in CocoaPods Open the Door to Supply Chain Attacks Against Thousands of iOS and MacOS Applications | E.V.A

Multiple vulnerabilities affecting the CocoaPods ecosystem, have been discovered, posing a major risk of supply chain attacks.

Vulnerabilities in CocoaPods Open the Door to Supply Chain Attacks Against Thousands of iOS and MacOS Applications | E.V.A

“E.V.A Information Security researchers uncovered several vulnerabilities in the CocoaPods dependency manager that allows any malicious actor to claim ownership over thousands of unclaimed pods and insert malicious code into many of the most popular iOS and MacOS applications. These vulnerabilities have since been patched.”

0
Is there a way to keep Linux responsive when at ~100% CPU usage?
  • You’re right that garbage collection makes Go simpler, and maybe other patterns do contribute to prevent complexity from piling up. I never worked with Go outside of silly examples to try it out, so I’m no authority about it.

    What I meant was more of a “general” rule that the simpler a language is, the more code is necessary to express the same thing and then the intent can become nebulous, or the person reading might miss something. Besides, when the language doesn’t offer feature X, it becomes the programmer’s job to manage it, and it creates an extra mental load that can add pesky bugs (ex: managing null safety with extra checks, tracking pointers and bounds checking in C and so on…).

    Also there are studies that show the number of bugs in a software correlate with lines of code, which can mean the software is simply doing more, but also that the more characters you have to read and write, the higher the chance of something to go wrong.

    But yeah, this subject depends on too many variables and some may outweigh others.

  • How do I learn to optimize my code better?
  • The mental model I have about performance is that the higher abstraction usually beats the lower level abstraction.

    So in that sense, a well architected software with proper caching, multithreading where it matters etc. will beat badly architected software (ex: one that brute forces everything). Then, that being equal, good algorithms and solutions beat bad ones. Only then faster runtimes make more of a difference, and at the bottom things like more efficient processor architectures, more efficient compiler etc. beat slower ones.

    A good example is Lemmy itself, which as far as I know was made in Rust to be super fast, but then at the beginning was being DDOSed quite easily because of the way the database was designed and lots of queries were very slow. Once they fixed that, Lemmy became actually usable.

  • Apple didn't fix Swift's biggest flaw
    danielchasehooper.com Apple didn't fix Swift's biggest flaw

    How a 10 year old design choice for Swift’s type checker still haunts us to this day

    Apple didn't fix Swift's biggest flaw

    “The Swift compiler is notoriously slow due to how types are inferred. Every June I hope that Apple will announce that they fixed it; sadly this is not that year.”

    1
    Java users on macOS 14 running on Apple silicon systems should consider delaying the macOS 14.4 update

    “An issue introduced by macOS 14.4, which causes Java process to terminate unexpectedly, is affecting all Java versions from Java 8 to the early access builds of JDK 22. There is no workaround available, and since there is no easy way to revert a macOS update, affected users might be unable to return to a stable configuration unless they have a complete backup of their systems prior to the OS update.”

    4
    Apple’s use of Swift and SwiftUI in iOS 17

    “Now that iOS 17 is available, let’s analyze its built-in apps to answer a few questions: How many binaries are in iOS 17? Which programming languages are used to develop these apps? How many apps are written with Swift? What is the percentage of apps using SwiftUI versus UIKit?”

    1
    A new approach to testing in Swift
    forums.swift.org A New Approach to Testing in Swift

    Hi everyone, I’m excited to announce a new open source project exploring improvements to the testing experience for Swift. My colleagues @briancroom, @grynspan, @chefski, @Dennis and I have been working on this in recent months and have some early progress we're excited to share. Inspired by what’...

    A New Approach to Testing in Swift
    0
    SwiftUI Sensory Feedback
    useyourloaf.com SwiftUI Sensory Feedback

    In iOS 17, Apple added a range of sensory feedback view modifiers to SwiftUI.

    SwiftUI Sensory Feedback

    In iOS 17, Apple added a range of sensory feedback view modifiers to SwiftUI removing the need to rely on UIKit.

    0
    Predicate Macro in Swift for filtering and searching
    www.avanderlee.com Predicate Macro in Swift for filtering and searching

    The #Predicate Macro allows you to filter or search a collection of data using type-safe and readable higher-level Swift code.

    Predicate Macro in Swift for filtering and searching

    #Predicate is a new Macro available since Swift 5.9 and Xcode 15, allowing you to filter or search a data collection. It can be seen as a replacement for the old-fashioned NSPredicate we’re used to from the Objective-C days.

    0
    Swift Charts Examples
    github.com GitHub - jordibruin/Swift-Charts-Examples: An overview of the different types of charts you can make with Swift Charts

    An overview of the different types of charts you can make with Swift Charts - GitHub - jordibruin/Swift-Charts-Examples: An overview of the different types of charts you can make with Swift Charts

    GitHub - jordibruin/Swift-Charts-Examples: An overview of the different types of charts you can make with Swift Charts

    An overview of the different types of charts you can make with Swift Charts

    0
    Objective-C Internals articles series
    alwaysprocessing.blog Objective-C Internals

    Get ready to dive deep into the inner workings of the Objective-C language and runtime! Each post delves into a specific aspect of the language and explores the details of its implementation. I hope you’ll find this valuable to demystify the language, tackle tricky bugs, and optimize your code for p...

    Get ready to dive deep into the inner workings of the Objective-C language and runtime! Each post delves into a specific aspect of the language and explores the details of its implementation. I hope you’ll find this valuable to demystify the language, tackle tricky bugs, and optimize your code for performance.

    0
    Meet “Y-Charts”: an Opensource Jetpack Compose chart library

    Y-Charts is a Jetpack Compose-based charts/graphs library that enables developers to easily integrate various types of charts/graphs into their existing UI to visually represent statistical data.

    0
    WWDC 2023: What's New in Core Data
    betterprogramming.pub WWDC 2023: What’s New in Core Data

    This article will introduce the new features that Core Data has gained in WWDC 2023

    WWDC 2023: What’s New in Core Data

    Although at WWDC 2023, Apple will mainly focus on introducing the new data framework SwiftData, Core Data, as the cornerstone of SwiftData, has also been enhanced to some extent.

    0
    [2021] Font size is useless; let’s fix it
    tonsky.me Font size is useless; let’s fix it

    What happens when you set fontSize: 32 in your favorite editor

    What happens when you set "font_size": 32 in your favorite editor? I would’ve told you anyway, but I’m glad that you asked.

    0
    iOS Dev Weekly - Issue 616
    iosdevweekly.com Issue 616

    Let's talk about nutrition, shall we? Wait, what do you mean "Not that type of macros!" 🫘

    0
    iOS 17: Notable UIKit Additions
    www.swiftjectivec.com iOS 17: Notable UIKit Additions

    iOS 17 is out in the wild! As always, let’s check in with our mature interface framework, UIKit.

    iOS 17: Notable UIKit Additions
    0
    The beauty of Kotlin type system
    kt.academy The beauty of Kotlin type system

    How type system makes Kotlin so flexible, safe, and intuitive.

    The beauty of Kotlin type system

    The Kotlin type system is amazingly designed. Many features that look like special cases are just a natural consequence of how the type system is designed.

    0
    [GitHub] A curated list of awesome Swift Macros
    github.com GitHub - krzysztofzablocki/Swift-Macros: A curated list of awesome Swift Macros

    A curated list of awesome Swift Macros. Contribute to krzysztofzablocki/Swift-Macros development by creating an account on GitHub.

    GitHub - krzysztofzablocki/Swift-Macros: A curated list of awesome Swift Macros
    0
    New C++ features in GCC 13 | Red Hat Developer
    developers.redhat.com New C++ features in GCC 13 | Red Hat Developer

    Get an overview of what's new in GCC 13, the latest GNU Compiler Collection release, including bug fixes and new features in the C++ front end.

    New C++ features in GCC 13 | Red Hat Developer
    0
    Yo Apple: Xcode debugging Swift is *STILL* horribly broken
    forums.swift.org Unable to inspect local Swift variables or step over await calls in Xcode

    I've been reporting this problem for a long time now, and it's so bad I wonder if I'm just doing something wrong. Radar ID FB11236399. I've just added a much smaller code example that should be fairly easy to test. But generally speaking, Xcode can't inspect local Swift variables, or step over awai...

    Unable to inspect local Swift variables or step over await calls in Xcode
    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BA
    Baldur Nil @programming.dev

    Mobile software engineer.

    Posts 20
    Comments 50