Manifesto

I’ve been thinking about this text lately. This one goes to a friend, who happens to love the Hackers movie 🤟

This is our world now... the world of the electron and the switch, the
beauty of the baud.  We make use of a service already existing without paying
for what could be dirt-cheap if it wasn't run by profiteering gluttons, and
you call us criminals.  We explore... and you call us criminals.  We seek
after knowledge... and you call us criminals.  We exist without skin color,
without nationality, without religious bias... and you call us criminals.
You build atomic bombs, you wage wars, you murder, cheat, and lie to us
and try to make us believe it's for our own good, yet we're the criminals.

        Yes, I am a criminal.  My crime is that of curiosity.  My crime is
that of judging people by what they say and think, not what they look like.
My crime is that of outsmarting you, something that you will never forgive me
for.

        I am a hacker, and this is my manifesto.  You may stop this individual,
but you can't stop us all... after all, we're all alike.

                               +++The Mentor+++

Fixing “MACHINE CHECK ERROR”

If you’re running Windows 10 on a Macbook Pro 2013 (Early), and constantly stumble upon an awesome Machine Check Error screen whenever you reboot, you shoooould try:

  1. Open the device manager
  2. Locate you GeForce GT 650M
  3. Uninstall the 2017 Driver
  4. Reboot
  5. Let Windows install the system’s driver

For the record, this is the driver you’d want:

Manual Symbolication

I keep loosing this snippet, over an over, apparelty.

If you ever need to symbolicate (manually) a memory address, you’ll just need the dSYM file:

xcrun atos -l LOAD_ADDRESS SYMBOL_ADDRESS -o dSYMs/APP-NAME.dSYM/Contents/Resources/DWARF/APP-NAME

🔥🔥🔥

NSPredicate: Filter multiple entity kinds

let predicate = NSCompoundPredicate(orPredicateWithSubpredicates: [

    NSCompoundPredicate(andPredicateWithSubpredicates: [
        NSPredicate(format: "entity = %@", Note.entity()),
        NSPredicate(format: "content CONTAINS[cd] %@", "1")
    ]),
    
    NSCompoundPredicate(andPredicateWithSubpredicates: [
        NSPredicate(format: "entity = %@", Tag.entity()),
        NSPredicate(format: "name CONTAINS[c] %@", "tag")
    ])
])

Now, this yields another problem: there is no API to limit the number of entities to fetch “per group”.

If you do need this feature, you’re probably better of with multiple NSFetchRequest(s).

Fixing Macbook Brightness Keys in Windows 10

Scenario: You’ve installed Bootcamp on your mac (shame on you), AND updated AMD’s graphic cards, to deal with stability issues.

If, for some reason, your MacBook’s special keys (Brightness, Volume, etc) stop working:

  1. Boot into your macOS partition
  2. Open BootCamp Assistant
  3. Click over Action > Download Windows Support Software
  4. Save the package to a flashdrive
  5. Boot back into Windows
  6. Run BootCamp > Drivers > Apple > AppleKeyboardInstaller64
  7. Reboot
  8. Think closely, why, in the name of Satan, you’d need Windows

%d