HNHacker News
TopNewBestAskShowJobs

autoreleasepool

958 karma · joined December 22, 2014

submissionscomments
autoreleasepool··on Arenas in Rust
Beautifully put, poetic even. The only problem is that, in (*actual).reality, unsafe Rust is difficult to read, difficult to write, difficult to maintain, difficult to learn, has zero features for ergonomics, and has poorly defined rules.

C and Zig have a big advantage for writing maintainable, easy to read unsafe code over unsafe Rust.

autoreleasepool··on Reading OpenBSD source code daily
For a good base, I recommend the book "The Design and Implementation of the FreeBSD Operating System" by Marshall Kirk McKusick. It's really in depth and I was able to follow it without previously taking an OS course.
autoreleasepool··on Ask HN: What language-agnostic programming books should I read?
Sorry, I accidentally commented on the wrong post somehow. Unfortunately, I can't delete the comment.
autoreleasepool··on Ask HN: What language-agnostic programming books should I read?
[deleted]
autoreleasepool··on Coroutines are now in Clang trunk, libc++
Don't forget about Objective-C++! That's where the true powers of the dark side are.

Side Note: Objective-C is such a criminally underrated language. I often see people complaining about the syntax, but it's just syntax. Once you get over it, I find that the language makes the OOP paradigm a joy to work with.

autoreleasepool··on Swift is like Kotlin
Yes, agreed. IMO, curly braces would have made much more sense. It's not even bikesheding, really. It's just a fact that curly braces are less used in most written languages. I would also argue that curly braces are a better signal to the programmer that "something programmatic is happening here", due to their prevalence as scope delimiters in most popular languages.

Swift's string interpolation doesn't catch my eye like, say, Ruby's does: `#{my_var}`. It's very easy to gloss over `\(something_like_this)`. I suspect they were going for a more "elegant" syntax at the cost of pragmatism.

autoreleasepool··on An experienced Javascript developer’s account of learning React
Check again. On the homepage scroll down to:

> An Application

" Using props and state, we can put together a small Todo application. This example uses state to track the current list of items as well as the text that the user has entered. Although event handlers appear to be rendered inline, they will be collected and implemented using event delegation. "

autoreleasepool··on An experienced Javascript developer’s account of learning React
The example in the article was lifted from the front page of the official React website [0].

[0] https://facebook.github.io/react/

autoreleasepool··on An experienced Javascript developer’s account of learning React
> write a bunch of code to deal for various browsers

jQuery helps here

autoreleasepool··on An experienced Javascript developer’s account of learning React
I don't see where the parent suggested no framework. It's likely he or she prefers working a different framework or library, like vue.js or even jQuery.

For me, jQuery is the bare minimum requirement. I would never attempt to write a large app in pure JS, even with babel. You would definitely run into some of the problems you mentioned.

EDIT: I see now where he mentioned no-framework JS

autoreleasepool··on An experienced Javascript developer’s account of learning React
Regardless of these complaints, the job market for React is just too damn good to ignore. I bit the bullet and began learning. As a newbie, I understand the sentiment of this article. However, it's really not as bad as the author makes it out to be.

Also, className instead of class took all of 3 seconds to learn.

autoreleasepool··on Ask HN: If I only learn one static typed language, which one should I learn?
If you're interested in iOS/Cocoa development, Swift is a top-notch statically typed language with lots of paradigm flexibility. Unfortunately, it isn't used as much outside of that domain.
autoreleasepool··on Autism's drug problem
When I'm not on medication I'm prone to manic/psychotic episodes and usually begin to hear voices. Maybe drugging isn't the best solution, but for me it's the only one that lets me live a normal life.
autoreleasepool··on Phoenix 1.3 is pure love for API development
I can't wait until May[0] for the new 'Programming Phoenix' book. I found the first edition to be a great learning experience.

[0] http://shop.oreilly.com/product/9781680502268.do

autoreleasepool··on Nintendo Switch review: pure potential
There's an observable soft spot for Nintendo consoles in a lot of "PC master race" types. I'm definitely not a part of that community, but I agree a higher powered PC plus whatever Nintendo's newest console is brings something very special to the table. It also helps when my little cousins come over and I have games like Overwatch on the PC and Super Mario 3D World on the Wii U for them to enjoy
autoreleasepool··on Ruby+OMR JIT Compiler: What’s Next?
Eclim is already fairly useful for Ruby developers. I use it for the "stellar omnifuncs" it provides YouCompleteMe as described in the official docs [0].

[0] https://github.com/Valloric/YouCompleteMe#semantic-completio...

autoreleasepool··on Writing an Interpreter in Go: The Paperback Edition
Really? I find ebooks side by side a terminal a much more efficient way of going through a text like this
autoreleasepool··on List of falsehoods programmers believe in
Interesting. I'm curious, what's her usual workaround for this problem?
autoreleasepool··on Using tmux properly
What's the advantage of tmux over something like terminator with pane splitting?
autoreleasepool··on The trouble with FreeBSD
I couldn't get it to compile :(
autoreleasepool··on The trouble with FreeBSD
Agreed. I use FreeBSD every single day for development. It fucking rocks.

My only gripe is we're still waiting for KDE Plasma 5...

autoreleasepool··on Android permissions and hypocrisy
Agreed. It's there so I feel informed but at the same time I feel I need to allow practically everything in order to not break the app.
autoreleasepool··on Why I switched from OS X to Linux
I actually reard in an HN comment that OS X's case-insensitivity by default was a choice that revolved solely around compatibility with Microsoft Office, so I think you're on to something.
autoreleasepool··on Why I switched from OS X to Linux
Harsh word. I don't think gimp and Inkscape are all that terrible for casual use.

On that note, I honestly can't think of anything other than Adobe products and Microsoft Office that is preventing a mass migration to Linux (or rather Ubuntu, let's be honest) at this point. It has all other killer apps. Dropbox, Spotify, VSCode, Atom, Steam, Chrome, VLC, etc...

I know that Excel is the only thing keeping my dad on macOS these days. He is definitely not the Apple fanboy he once used to be.

What an amazing day that would be... when, at least Adobe, would release builds for Linux. Does anyone know if there's a serious obstacle for them other than market share?

autoreleasepool··on Amazon Prime’s latest perk is a new Rewards Visa Card with 5% back
I'm sorry to be the one to say it, but this is an advertisement.
autoreleasepool··on Welcome Chris Lattner
> That Apple could not retain him speaks volumes of the company they've become. They're a conglomerate at the intersection of tech and fashion.

Well said. Apple would have made the strides it did in its developer platform had it not been for Lattner. It does seem that the company has different priorities than it did when he was hired

autoreleasepool··on Welcome Chris Lattner
You're lucky if you get to use C++14 in the real world. My last C++ job was maintaining a 2 millions of line of legacy MFC code.
autoreleasepool··on From OS X to Ubuntu
> Wireless hasn't been a problem (for me) for at least the past 3 years

Same experience here. My guess lingering reputations take more than 3 years to die off. Everything has surprisingly worked well out of the box me with my two Xubuntu installations I've done the last week. This is coming from a FreeBSD-land, where I'm used to setting up configurations files to load drivers and installing Xorg, xfce and it's plugins from scratch.

autoreleasepool··on From OS X to Ubuntu
XFCE can also be configured to mimic OS X enough where you won't really miss anything. It can also be configured to look like windows. In general, XFCE can be made to look like anything that's why I'm such a fan.
autoreleasepool··on From OS X to Ubuntu
I just installed Xubuntu on my mother's aging MacBook. Wifi and sleep/resume worked out of the box (even during installation) and batter life has been good. Plus her internet browser and email are much snappier now.
Page 1 of 10Next →