skysight-inc/HackerNews huggingface dataset:
I agree, which is why I absolutely adore Amethyst[0]. It is a "clone", if you will, of xmonad -- it's automatic, and keyboard shortcut driven entirely. No menu bar icon needed -- all windows snap to the grid to fill the screen by default, you can adjust the sizes on the fly, you can swap layouts with a single shortcut and viola! I highly recommend it, it used to be quite buggy but I've had zero issues in the last few months. @ianyh is an amazing developer!

[0] https://github.com/ianyh/Amethyst
> You don't need omnicience to determine whether the downsides outweigh the potential benefits

I mean you'd have to be omniscient to make the optimal choice with absolute certainty. What if somebody with the most sensitive data you can imagine, gets infected and the data exfiltrated if they have to wait for Apple to patch this, but is safe after applying one of the suggested fixes from the exploiter? If you were omniscient you could tally up the total harm (or whatever metric you want to use) from various choices and choose the best one.

I recognize the mainstream-accepted calculus is more along the lines you are arguing for, and of course it makes sense to use probabilities and percentages since nobody's omniscient. But, given we don't know who else had this exploit, I still see some value in rapidly securing a few people rather than letting them remain vulnerable.
Huh, the OP also used two different submission titles. That alone invalidates the time-causality argument. :P
Parking just adds $200-$300. (I could be wrong but I feel that it's also tax deductible if you keep the receipts.) It's still a lot cheaper by approximately $1000 depending on your living situation (It's even cheaper if you just rent / sublet a room outside of SF: $600-$900 including utilities). I used to do the same thing even though I could have taken Bart instead which would make it a lot more affordable and healthier from all the walking.

As for time my drive was about 15-20 min one way and I used it to listen to podcasts and audiobooks. For Bart, I would either work, sleep, or listen to podcasts plus I saved a lot of time and money that I would have used for a gym.
Gah, clearly I fail at life today! Yes, I meant mkfifo. Kind of pathetic of me... posting that from my Fedora 22 laptop not even <TAB> completing the name. It is an oldie, but a goodie.
One one hand, depending exclusively on Bart means you dont get to have SF at night. Being far away makes it expensive to Uber (Figure a 3xUber twice a weekend).

Its also not much cheaper, unless you start getting away from transport.

Oakland has bigger commute, and lots of shady areas, including some eventful bart stations. Its also way more sparse to go out at night.

If you live in Palo alto and work in San Francisco, you are going to have a hell of a daily commute.
You mean in the handler? The return value has to be of a type `IronResult<Response>`. That means it can be either `Ok(...)` for success or `Err(...)` for failure.

In other languages/frameworks (python/pecan for example) you'd throw an exception in case of things going wrong. In Rust exceptions are for very exceptional things only (it's called panic). So the more calm way is just to return `Err(...)`.

It's not a function, it's more like a tagged union (in rust called an enum). So in practice it's like C's union, but you do know which member was chosen and only that one is accessible.
You're right. I was focused on telling a useful story with the data. I should be more careful not to be misleading.

Your related point is a good catch. That was a brain slip on my part. Thanks for pointing it out!
HN uses Arc (http://arclanguage.org) :-)

Seriously: if you fear a steep learning curve, replace one item of what you use now. For example, replace MySQL by PostgreSQL, then replace PHP by something else, then move out JQuery.
Does OS X have a procfs?
Ask HN: What is the status of peer to peer messaging?
Are p2p messaging programs solid yet? What are the more used ones? I know http://getaether.net but this is more like a forum is its not working very well.
Thank you very much! What search engines do you use?
Neat, I worked on this project while at the U of M under the instruction of now passed John Riedl.
I appreciate your point, but housing prices in Mountain View and Palo Alto are every bit as brutal as SF -- for the same NIMBY reasons -- and Oakland is catching up quickly. It's a shame that so much of downtown Oakland remains underdeveloped because the BART corridor could support so much more density without everyone needing to own cars like Daly City / South SF / San Bruno.

The best symbol of California's crazy development red tape is the empty lot on the south corner of 12th and Broadway in Oakland... an overgrown field at the corner of the city's commercial center, at a BART station, waiting for approval and construction of a skyscraper. It's crazy that there aren't any cranes over downtown Oakland right now, building high density on top of public transportation where it doesn't block anyone's view of the Bay.
Haha. Actually, Hacker News admin sent me an email asking me to re-submit it with a slightly different URL.
When do we stop pretending our MacBooks are multi-user UNIX mainframes?

This is actually a good point, even if I disagree with your minimization of privsep's importance.
Or simply append `alias sudo="sudo evil.sh; sudo"` to .bash_profile.

Although, OS X is a bit like Windows. A bad program running in userspace can essentially ruin your system as much as a program running as root. Privilege escalation is not a relatively big deal when you can `shred -u ~/` without root.
Is Rails still relevant?
The first thought that should pop into your head is probably, why use this instead of language XYZ, where XYZ is Ruby/Java/Python/Go. It's actually a pretty interesting question because Rust is very much unlike those languages in the sense that it's a true systems programming language like C/C++ are.

No one would (should!) ever consider writing a webservice in C++, simply because it's unsafe to do so, it's much easier in other languages and the performance downsides of those languages don't matter any way (i.e. Ruby powers a bunch of high throughput websites yet it's notoriously 200x slower than any other language).

But here comes Rust, it takes away the unsafety, arguably being even safer than the managed languages in some aspects, is (in most aspects) easier to use than C++ (coming close to the managed languages in ease of use), yet has similar performance aspects (theoretically identical performance aspects) to C/C++.

There's a web gateway in our cluster that receives binary blobs over REST and puts them onto the message queue. In total not much over 100 lines of Ruby. We've thought about reducing the server load a bit by porting it to Go or some other more performant language. We probably wouldn't go for Rust, since Go is simply easier to learn (should a new person ever have to perform maintenance). Just the possibility of implementing it in Rust in roughly the same timespan and code complexity while having a theoretically optimal performance is very interesting.
Enabling `tty_tokens` still remembers your authentication for a few minutes, but it restricts use to the terminal it was run on.
I get what you're saying, buuut, just for fun:

Western Pop / Hip Hop blended with Arabic / Middle Eastern tunes https://www.youtube.com/watch?v=5BzkbSq7pww

Arabic or Indian / Asian styles can be measured , modified, and released in Western markets. https://www.youtube.com/watch?v=pxr0Cofbmpk

etc.
As a linguistics student and amateur programmer I find linear logic to be very interesting since it gets used both in linguistics (associated with lexical-functional grammar) and, of course, math and computing.

I think it would be cool to parse the output tree of a Ceptre program and produce some kind of display (other than a visual tree, of course.) Maybe set the stages to auto, run it a a bunch of times, then produce some statistical analysis from the results - number of deaths per character, average speed at which a given character dies, and so on.

Anyone know if a Ceptre parser available? They must have written one for this article.
The question was "why didn't?" This was my speculative guess.

Aaah, sorry, guess I thought you were saying something that was more of an actual value judgment.

And no, I don't have a dog in there either, not the least because I've never seen anyone use literate programming in the same building I was in.

Yeah, same here. I got as far as buying the "Literate Programming" book, and I have it in a pile of books around here somewhere, waiting to be read. But that's as far as I've ever gone with the whole deal.
That the fashionable opinion has turned against his beliefs so quickly shouldn't be used as evidence he's wrong. If anything, it shows that the jury is still very much out.
FWIW, the reason I had the impression was that the several children I knew growing up who were homeschooled did have trouble socializing. Encountering the research you mention was surprising (at the time).

On reflection, I was looking at a very weak form of evidence - it might very well be the case (I have no idea if it is) that homeschooling has significantly better socialization outcomes than regular schooling and most homeschooled students you meet could still be socially awkward if the awkwardness (or some of the reasons for it) is the reason many of the students are homeschooled in the first place.
> I appreciate your point, but housing prices in Mountain View and Palo Alto are every bit as brutal as SF

There are several other cities in the metro that are more affordable. I just figured that people have more opportunities to rent rooms there since it's slightly cheaper those cities

> without everyone needing to own cars like Daly City / South SF / San Bruno.

You don't really need to own a car even if you live in Fremont or Dublin, as long as you live reasonably close to Bart. A bike is good enough. I've done that as well and again it's very healthy since you're forced to do more exercise. Most places that are close to Bart are also close to a supermarket or two. I would also argue that it's way safer to bike outside of SF rather than in it. I also forgot to mention Caltrain as well.
This is my view as well---not sure why it was downvoted. If I have access to ~/.mozilla and ~/.chrome in userspace, I probably have access to your email password.
Mode Tutorial for Emacs
> "I hope a natural disaster gets these old people out of their homes..."

...and into tall, beautiful apartment buildings in walkable neighborhoods with excellent transit connections, so we can all live here together.
I have a friend who interviewed at Amazon and now works for a startup. He told me one of the people interviewing him told him not to take the job as he looked behind his back to make sure nobody was watching. Ouch!
The other, other rope around the Earth problem
Despite there being so many of these sites, most of them kind of fail for me.

For instance... last night I was wanting to watch a movie, but the kids needed to watch it too (as they can't be left unattended with me watching a movie in the other room :)).

So I went off on a search for a movie to watch... with a rating filter -- it needed to be either G or PG.

Nothing. No recommendation site, Netflix, or anything let me filter movies/shows this way. Yes, you have the 'Kids' section on Netflix, but most of the stuff there is deathly boring for adults, I was hoping for something good for both kids and adults.

I ended up not watching anything.
I assume you mean in the example at the top of the page.

In theory, a view function should just take a request object and return a response object that encodes 200 OK if all went well, and something wilder like 404 Not Found or 500 Internal Server Error if something goes awry. In practice, problems can happen at a much lower level than HTTP error codes are designed to handle, like "database connection refused" or "template file not found".

Rust's general-purpose error-handling system is the Result<T, E> type, where T is some useful return type, and E is some type representing an error. A function that does error-handling is declared as returning, say, Result<String, MyError>, and then in the body of the function you can "return Ok(somestring)" or "return Err(someerror)".

I see that the example function returns an instance of type IronResult<Response>, which I assume is a wrapper around Result<T, E> that hard-codes E to be some Iron-specific error type (in the same way that Rust's std::io::Result<T> is shorthand for Result<T, std::io::Error>), so the Ok() is telling the framework "this is an actual legitimate response you should send to the browser", as opposed to an excuse for not producing a response.
Interestingly, Paris does have strict height restrictions for buildings. But two big differences are:

* it is easier to find tiny (and thus cheaper) housing in Paris, since the standards of comfort are lower. For people who want a simple shelter and spend most of their time outside, it can frustrating to look for housing in SF.

* public transit is everywhere in Paris and most areas inside the city are safe, whereas in SF people tend to choose from a small subset of neighborhoods. Cars are unnecessary - they generally create more problems than they solve.
It is a feature that it caches your authentication for a few minutes. It's not a feature that other processes running as your user, such as something that manages to do a sandbox escape in your browser, are also able to acquire credentials.
Works fine in Safari 8.0.8, OS X 10.10.5
Nope, the data they contain does not persist across OS restarts. Also they have hard limits on how much data they can contain because they are in-memory (http://man7.org/linux/man-pages/man7/fifo.7.html)
1. The premise of the article is wrong to begin with, no one "class" is "ruining America".
2. Upper middle class is nothing but a construct that would better be defined as the "affluent". Those with money, or enough money that they aren't going to be hurt by a tax increase, but are so conservative that they think they shouldn't have to pay taxes.
3. He never defines what is "best" in this country.
4. Uses the "National Review" as a source. A known site or racist articles.
5. No mention of the Republican plan to deny President Obama victory on any legislation: https://www.washingtonpost.com/blogs/plum-line/post/biden-mc...
6. No mention of white privilege.
7. No mention of conservative efforts to restrict voting to for minorities and young people. He just mentions that the affluent vote at " vote at substantially higher rates than those less well-off". This is a big one, because with this could actually change things, but again no mention of what conservatives are doing.

Again, the article is a waste of time.
Security Problems in the TCP/IP Protocol Suite [pdf]
I migrated from Slate [1] to Hammerspoon during a reinstall without any regrets so far. I've also noticed the things I always wanted to do with ControlPlane [2] are perfectly doable with Hammerspoon, if you put some time into reading the docs and api (they are really good). (Basically switching bluetooth on/off when I connect my keyboard, and quiting networking apps when I switch off WiFi without a cable connected, like droplr, dropbox...)

The most powerful thing about Hammerspoon seems that you build your .hammerspoon/init.lua with time, and as things tend to frustrate you more often, you put time into looking up how to optimise things by writing lua, oh and there's a console/repl, yay! A bit like my .vimrc really.

Btw, I use a Hyper-key that is mapped using karabiner [3], here's my private.xml [4]

1. https://github.com/mattr-/slate

2. http://www.controlplaneapp.com/

3. https://pqrs.org/osx/karabiner/

4. http://pastebin.com/raw.php?i=1EbhTEjd

A lot of this was inspired by Steve Losh, who does awesome stuff!
checkout http://stevelosh.com/blog/2012/10/a-modern-space-cadet/ if you like this sort of stuff!
Ask HN: Do you prefer text or web form?
We are building a software that allows tenants and landlord and easy way to submit and track maintenance requests. As a tenant, would you prefer texting your request in or using a web form?
I worked at AWS for a little while and would agree with that. My experience matches up with this article, but while working there I did hear plenty of horror stories, mostly coming from the retail side.
Bitcoin XT now running 7.5% of nodes and growing
This looks interesting, but I'm always sad to see consumer web apps still requiring you to sign up before you can try it out. Missing out on so many potential users. 1) sell the product then 2) ask for the customers info
You can get quite a distance if you start with electostatics, like charges repel, opposite charges attract, which can be demonstrated with simple apparatus.

That really only answers the "what", though; it doesn't touch on the "why".

We can describe the attraction and repulsion, throw a precise mathematical framework around it, describe how two or more things might just be different aspects of (or viewpoints on) the same underlying phenomenon, even put names and behaviours to the particle-like things involved, but when it comes right down to it, nobody knows why any of it should result in forces that tend to move physical things closer together or further apart.

And that's okay, but it does mean drawing a line somewhere and saying "this is fundamental (at least for now)".
Prepping for the Transfer of 25,000 Manuals
Contents in a named pipe do not persist across OS restarts. Also a named pipe has limits about how much data you can put in it, because it's in-memory (http://man7.org/linux/man-pages/man7/fifo.7.html, http://man7.org/linux/man-pages/man7/pipe.7.html)
The persistent "pipes"mentioned in the post have none of these limitations (data persists as if it was in a regular file and the only limitations on size are the one imposed by the filesystem)
No he didn't, see my answer to his post :)
One glaringly obvious problem with this concept is that this very article requires some basic insight in security engineering, and even for people that are interested, it can be hard to digest.

How do we (blanket statement) try to address the overall level of understanding that people have around this topic and make them understand that the problem is real, serious and needs significant thought?

I've thought about this a fair bit. Think about your average non-super-technical co-worker. How do we get them to see the problem in a clear way, and how do we rally people around the problem? I don't know how to, but I try and fail and try again. It's a tough gig. I do have an enormous man crush on Matthew Green though.
Feel free to suggest a better name though...
Backyard peroxide rocket belts and related projects
I used Autodesk Inventor w/ HSMWorks for the physical enclosure (both packages have 30 day free trials).

For the PCB, I tried using Eagle (very tedious / confusing) and KiCAD (couldn't figure out how to install on OS X without compiling from source) and ended up using Altium Designer via a friend's dad, who is an electrical engineer.
Unlike Inventor / SolidWorks, Altium was very tedious and confusing and I was stuck until I bought an excellent video course on the topic: http://www.fedevel.com/academy/
Whether this is an effective technique or not, I think they look for people that at seem to really understand the pitched idea, and specifically don't say it's impossible. Probably a similar search technique any of us would use when navigating an opaque bureaucracy looking for help.
This should be completely clear to the people running mass-market internet communication and storage services. And yet none of them encrypt payloads.

Ephemeral keys and forward secrecy are a solved problem for real time and near-real-time communication. Why don't we have a Hangouts or Skype or Yahoo Messenger that are secure against the state-actor threat?

At some point we have to assume the companies providing these services have been persuaded to sell us all out.
Hold on, the guy holds "an ex­treme­ly se­nior po­si­tion" but has only been there for 9 months? Additionally, he claims to be able to retire tomorrow if he wanted.
Something doesn't sound right.
The naming of mash if awesome, mash! I'd like to recommend to set a hyper key using karabiner, such as I have done with tab: http://pastebin.com/raw.php?i=1EbhTEjd

This way if you press tab on it's own it still behaves as the tab key, but combined with another key it acts as Hyper, or mash.

I also love the "Shift to Shift (+ When you type Shift only, send the appropriate parenthesis)" option, and have my caps-lock mapped to control, with karabinier doing: Control_L to Control_L (+ When you type Control_L only, send Escape)
Yes, that's an excellent point. And capabilities for data analysis are improving rapidly. Google still has far better tools, but the NSA has the intercepts. And it will get the tools. Eventually, it will become the Eschaton ;)
> One one hand, depending exclusively on Bart means you dont get to have SF at night

You can just go to SF earlier and crash at your friends. For me I did a combination of crashing at friend's places and carpooling for the ride back.

I also going to guess that using Uber once in a while would still be cheaper than renting or owning in SF.

> Oakland has bigger commute, and lots of shady areas, including some eventful bart stations

Just like SF, you don't have to live in Oakland. There are many other cities in the Bay Area metro. Also Oakland is gentrifying. Not too long ago, a lot of places in SF were sketchy as well.

> If you live in Palo alto and work in San Francisco, you are going to have a hell of a daily commute.

Wake up a little earlier and use Caltrain. It's great for bikes too.

Living outside of SF isn't super hard. It's just not as easy as making up a million excuses as to why you need to live within SF.
The problem it's trying to solve is also mostly platform specific. On windows and most Linux DEs you usually have default keybindings to move windows to the right half/left half/fill the screen.
Amazon has 150,000 employees. Granted most of those aren't in IT, but it's a pretty big place. Take a look at all the services they provide, and think about what it takes to deploy and support them. Their cloud computing As-A-Service effort offers load balancers, SQL clusters, VMs, archive/backup storage, DNS, network topologies, AV transcoding, Hadoop, machine learning, etc. Each of those paid offerings has a develop, test, deploy and maintain effort associated with it, as well as effort to maintain the authentication & authorization components, and provide consistent user interfaces across technology designed by a plethora of vendors.

When you factor in management overhead and unreleased products, it seems like a few thousand is reasonable.
Crates.io uses Rust as a backend, Ember on the front. It uses about 35MB of resident memory, and (other than some weird DNS issues that aren't the server's fault) is just super rock solid. (It doesn't use Iron, though.)

I'm still not sure the application tier isn't best served by something that's easier to prototype in, but if you already know Rust, the web stuff is shaping up pretty nicely.

We also got Hyper, Iron, and Nickel entries into the Techempower benchmarks, I'm really interested in seeing the eventual results.
For many people, SF wouldn't be SF without the older buildings and neighborhoods. You'd arguably be destroying the character of the city just for the chance to live there.

Also, I don't think I've ever seen an affordable apartment highrise in a major city. Think those new and shiny skyscrapers will be able to compete with rent-controlled housing? What's actually going to happen is that the longtime residents are going to get pushed out into the outskirts while the Silicon Valley rich fill out the city.
How to install OpenVPN on Ubuntu 14.04
Yes - have been using shiftit for years now and love it.

I didn't even need to program or customize any hot-keys since everything I want to do (full screen, half screen, quarter screen) is already built into a hotkey.
I thought Fisher-Yates used the minimum amount of randomness possible?