It's written in…Rust? That's interesting. How is it interacting with Cocoa? EDIT: It looks like it's using the rubrail package, which links with the private DFRFoundation framework. rubrail itself is using the objc package. I think this code snippet from the README[1] is enough: let cls = Class::get("NSObject").unwrap(); let obj: *mut Object = msg_send![cls, new]; let hash: usize = msg_send![obj, hash]; let is_kind:…
That's basically what Objective-C code looks like when desugared to C.
Hacker News News Feed for the Mac Touch Bar
81–90 of 153 posts
Re: Hacker News News Feed for the Mac Touch Bar
#82Re: Hacker News News Feed for the Mac Touch Bar
#83ThinkPad is actually solid replacement.
Re: Hacker News News Feed for the Mac Touch Bar
#84Earlier quoted context omitted.
I'm using a machine with a touch bar right now and I have an escape key in the upper-left corner of the touch bar where it always was. I don't understand this complaint.
It's not a physical key, and touch bar sometimes crashes, which makes it difficult to back out of many UX flows (think full screen video).
(Or maybe it's the other way around, since the former have existed on Mac keyboards since day 1, but the latter has not!)
Re: Hacker News News Feed for the Mac Touch Bar
#85Oh, the Touch Bar that is preventing me from getting a new laptop, because I am professional. ThinkPad is actually solid replacement.
Re: Hacker News News Feed for the Mac Touch Bar
#86The best I can say about the Touch Bar is that I'm able to customize what the function keys can do in whatever placement I want. Overall its OK, but I don't use it the way Apple intended. I do wish the ESC was a hardware key. http://imgur.com/a/no8MQ
I remapped my Caps to Esc, and recommend doing the same; as a vim user it's great.
Re: Hacker News News Feed for the Mac Touch Bar
#87The best I can say about the Touch Bar is that I'm able to customize what the function keys can do in whatever placement I want. Overall its OK, but I don't use it the way Apple intended. I do wish the ESC was a hardware key. http://imgur.com/a/no8MQ
I remapped my Caps to Esc, and recommend doing the same; as a vim user it's great.
Re: Hacker News News Feed for the Mac Touch Bar
#88Earlier quoted context omitted.
3D? Like the space mouse, or like Kinect? Or are you referring to some other dimension? I think you can disable the touch pad on most laptops and just use an external if you're just getting spurious inputs from your wrists. The Thinkpad Trackpoint is still one of the best mobile pointing devices available.
The Mac trackpads are indeed 3d. They can sense two dimensions of touch like normal, plus how hard you're pushing them. It's really great - it lets you set how firm you like your click in software, and gives you an additional type of click.
I wish I could make it open links in a new tab (like middle click on a mouse) instead of that annoying preview thing.
Re: Hacker News News Feed for the Mac Touch Bar
#89Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should.
Re: Hacker News News Feed for the Mac Touch Bar
#90Anyone who has the new model w/ Touch Bar can comment on the usefulness of it, now that it's been out for a while? Do you ever used it / still use it daily?
My work laptop has it, and I'm resoundingly neutral. I think it was a mistake not to give it a genuine hardware escape key, especially since there's dead space to the left of the actual display where you could actually put something like, I don't know, A HARDWARE ESCAPE KEY. But beyond that, I think the hate directed at it is way blown out of proportion. Maybe other writers/developers need actual physical function ke…