Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Reboot in safe mode (⌘+R immediately after booting), open a terminal, run:

  csrutil disable
Reboot.

  -> % lldb ruby 
  (lldb) target create "ruby"
  Current executable set to 'ruby' (x86_64).
  (lldb) run
  Process 436 launched: '/usr/bin/ruby' (x86_64)
I for one am glad that it's now much harder to scam my grandparents.


That disables a lot of useful protections, seems overkill just to be able to trace a ruby script :-/


You can also disable just the relevant bits - `csrutil enable --without debug` would probably do the trick here.


In that case, you should probably just not use the system ruby.


And this is why I won't ever switch to OS X full time, and I'll stay with Linux for all my systems level programming. The low level tools just aren't there. With Linux, I've got gdb, objdump, strace, what have you. I'd have to compile most systems level tools from source on Apple laptop.

It's great for app developers, but I mainly do systems level things for personal projects, and I don't want to have to compile _tools_ from scratch. The hardware is awesome and I love the shiny box and the sleek design. I've been using a macbook pro all summer, and the only thing that I'm sold on is the hardware design / case. The charger is nice too.


What's with the tone here? You sound pretty angry while making an argument that largely boils down to "different tools are better for different use cases".


[flagged]


Then maybe you're not qualified to make such judgements?


But you already said you understand the utility for some people. That's the glory. Yours is a use case that's probably that of fewer than 0.1% of people who own Macs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: