How to remotely access a Mac behind a corporate firewall

Accessing your Mac remotely isn’t really that difficult, if it weren’t for your resident IT-Department. You could simply open System Preferences / Sharing, enable ARD (Apple Remote Desktop) and check the VNC viewer checkbox. By doing so, your Mac starts listing on port 5900 and you could access it via any VNC viewer, like Chicken of the VNC (for […]

How private are private fields after all?

Last week, I sent the following brain teaser:

Can you write a void hack(Object obj) method that would change foo’s private member variable, so that the output looked like this? Psst: 74 A sharp developer came up with this solution:

Now there you have it. Just because a member is declared private doesn’t mean […]