skysight-inc/HackerNews huggingface dataset:
Some people need to use Rust in places where exceptions aren't allowed (because the unwind tables and cleanup code are too big). Those people include virtually all browser vendors and game developers.

Furthermore, exceptions have this nasty codegen tradeoff. Either you make them zero-cost (as C++, Obj-C, and Swift compilers typically do), in which case throwing an exception is very expensive at runtime, or you make them non-zero-cost (as Java HotSpot and Go 6g/8g do), in which case you eat a performance penalty for every single try block (in Go, defer) even if no exception is thrown. For a language with RAII, every single stack object with a destructor forms an implicit try block, so this is impractical in practice.

The performance overhead of zero-cost exceptions is not a theoretical issue. I remember stories of Eclipse taking 30 seconds to start up when compiled with GCJ (which used zero-cost exceptions) because it throws thousands of exceptions while starting.

The C approach to error handling has a great performance and code size story relative to exceptions when you consider both the error and success paths, which is why systems code overwhelmingly prefers it. It has poor ergonomics and safety, however, which Rust addresses with Result. Rust's approach forms a hybrid that's designed to achieve the performance of C error handling while eliminating its gotchas.
https://cdn.fbsbx.com/hphotos-xfp1/v/t59.2708-21/11253139_10...
> Beginners struggle with the concept that computers have a mind that changes over a program's execution. Honestly, it's baffling to me as a teacher sometimes how to breach the subject.

Start with not discussing computers having a mind. The metaphor that I've usually seen working well with neophytes is variables (or memory locations, depending on context)-as-boxes, and assignment and mutation as putting something in the box or doing something to whatever is in the box, respectively.

"Mind" is a fuzzy concept that lacks the concreteness of boxes, and makes a poor (in utility terms) metaphor for program state (no matter that it might actually be reasonably analogous -- most people don't have a good concrete intuition about the operation of minds to make it a useful metaphor.)
the man is pure inspiration. 10 years ago, i was asked who i admired, and couldn't think of a single answer. Maybe that's sad on my part, but when asked now, he's at the top of my list.
Show HN: My tests show Ember's new glimmer rendering engine improves perf by 25%
Cool game. Somehow I got to 19 and 20 on my first couple of try with a mouse but I'm stuck at 17 on mobile.

Does anybody remembers Crack attack ? Still the best in my opinion. http://www.aluminumangel.org/attack/
Altucher writes well, but I find it hard to overlook the relatively large inaccuracies in the bits I do know about, and keep wondering what else is equally inaccurate. E.g. he seems to think "Virgin Air" (the actual airlines are Virgin Atlantic Airways and Virgin America) is Bransons main business, but Virgin Group consists of a huge number of companies, and Virgin Atlantic revenue only accounts for about 10% of the groups aggregate revenue (Virgin Atlantic revenue is about 20% of Virgin Group revenue, but Virgin Group only owns about half of Virgin Atlantic)

EDIT: The story about how Branson supposedly got the idea also sounds apocryphal. In 1984 Branson was rich already - in fact Virgin Atlantic became profitable in large part because Virgin Records was doing well enough that Branson could use Virgin Records to finance lease of a secondhand plane for the company to start out with.. What was to become Virgin Atlantic was started by Randolph Fields and Alan Hellary before Branson got involved. It's not impossible Branson was thinking of setting up an airline before that, but he didn't start Virgin Atlantic until after he'd been approached by Fields.
I don't know does it have any connection or any relevance, but it strikes to me that so many high status websites still use plain HTTP.
Pause button? Please!
Neo4j luxury docker. Provides docker-compose and import/export
> To refer back to the Eve announcement, to that scientist who has to rely on the sole Pythonista to get some kind of task done...why shouldn't the ambition be that that scientist learns some Python? Why is programming seen as some dirty work relegated to the lab nerd with an obsessive interest in closures and indentation, instead of being integral to the scientific process?

Because to many, programming is a industrial process that is kept deliberately obscure and obtuse by programmers who fear the loss of their power. Not as something that has a certain inherent amount of complexity to it. It's the same as people who hate doctors because they believe medicine is 99% fancy vocabulary.

To many such people, programs should be as simple as they look. So should everything else in life. I can only assume they have never looked under the hood of a car.
That's what I thought too - that's why I am just curious if there is any great example that founded only by one designer founder, though I totally understand the importance of having a co-founder with strong technical background.
I think you've acquired a mistaken picture of Reader Mode.
Reader Mode (like the Readable and Readability bookmarklets) presents an alternative rendering of the same set of files from which the standard view is rendered: it does not cause the server to serve an alternative set of files.

Reader Mode and the Readable and Readability bookmarklets fail often even on "text-centric" pages such as blog posts.
I scraped it probably at least 50 times and nothing has happened. I heard that craigslist only blocks IPs that direct a lot of traffic toward their sites like Padmapper did.
Is this what Adblock Plus is saving me from? Awesome!
> How do you even define a poacher?

Quite trivially. First, precisely identify certain geographic areas (habitats of endangered animals subject to poaching). Then, anyone in those areas with any sort of equipment for poaching (guns, traps, whatever) is by definition a poacher. To make it simple, a poacher killer, if armed, is also defined as a poacher while inside one of these areas. "Inside" also includes air space, which extends 30,000 feet above ground, and three miles beyond the border of the area. Anyone who would be a considered a poacher if standing in the area is also a poacher if in the air space. All passengers and crew of the craft are considered poachers if any one of them satisfies the definition.
The rating system on Airbnb is supposed to discourage rude behavior though, right? If a guest is a prick, at least in theory, they get reviewed as such, giving future potential hosts the ability to screen them. I wonder if there is any parallel with hotels where they maintain any kind of shared blacklist.
I was always thinking it's C# and XAML, but it's actually JS :(.
The strcpy-type functions stop after they read a '\x0'. They are not like memcpy!
For some reason, I find the demonstration in this article far more convincing than the ones in the posted article.
Show HN: Mission: Pic
I do have to say it's really weird to read an article where I know most of the people in it. Does this become more common as you get older in the tech community? This is the second time this year I've experienced this.
MS should do more dogfooding of their IE11/Edge "F12" developer tools. "F12" is years behind Chrome&Firefox dev tools.
Using Stout to parse command-line options – Mesosphere
I hope I'm not the only one here who thinks this is incredibly ANTI-entrepreneurial. I'll even go so far as to say this would be a really JERKY and EVIL thing to do.

Are you a hotel owner who has a grudge against the little guy who is trying to make some extra income?

What's your beef with Airbnb hosts?

And just because "every major site has such [sic] clause" doesn't mean you looking for the loophole is ethical.

As someone who hosts on Airbnb, the thought of this kind of action that would very likely harm MORE than those intended... it's evil.

I hope it falls flat.
They do so because all serious researchers will want to publish, as part of their career building process. Therefore I can't understand what type of researcher would want to work for a more closed company like e.g. Apple.
Engineering Internships – Summer 2015 - Sauce Labs (San Francisco, CA)

Sauce Labs makes testing awesome. Developers from startups to Fortune Global 1000 enterprises use our cloud-based service to automatically or manually test mobile and web apps on 350+ browsers and platforms.

Our 10-16 week internship program provides interns with the ability to explore and improve upon their interests in a growing start-up environment. Interns should be passionate about problem solving and using computer science fundamentals to collaborate with managers of their team and contribute directly to our product.

We have multiple disciplines within our Engineering team:

Ecosystems & Integrations

- Contribute to open source projects in the automated testing space, including Appium

- Learn how to pitch and give technical talks at meetups or conferences

Web Development

- Actively contribute to the Sauce Labs user experience that enables customers to be successful at test automation

- Gain full exposure of the web stack all the way from the frontend, APIs to the backing database

- Power our front-end development with exciting technologies such as Angular.js, Backbone.js, WebPack and Grunt

Qualifications:

- Currently pursuing a Bachelor's or above in Computer Science, Engineering or equivalent experience.

- Software development experience using Python.

To apply, send us your resume, a quick introduction and links to your projects at: recruiting@saucelabs.com
The concrete that can fix it's own crack
5 Best Workout Tips for Bigger Chest (Pecs)
I've always thought the free tunnel broker was a brilliant strategy for them.
A Taste of Rust
Do you also link to local legislation and local enforcement agencies?
Neighbours (1952) [video]
The full quote is "The second thing, if I see Photoshop on a developer ad, that’s a red flag immediately. What it tells me is you don’t understand what you want, so you’re just throwing everything out there. I advise developers, anytime they’re looking at job ads, serious developer positions, not front end developers, but mid range and back end developers, if they see Photoshop on it, walk away." He's not saying "front-end developers are not serious developer positions"; he's saying "if you see Photoshop on a job ad — and it's not for a front-end position — that's a red flag".
Short-term, yes. Long-term, it doesn't really have much of an effect. People get exhausted, then things calm down and we all move on.
> I really want Rust to succeed, but I think they took a wrong turn with error handling.

Wow, I have exactly the opposite impression. I am so excited by how elegantly error handling is done in Rust.

> Having to write all that error handling code up front is going to be a big problem for the Agile crowd.

I really disagree. At my last job (Pivotal Labs, definitely part of the 'Agile crowd'), large internal projects have been ported from Ruby to Go. There are a lot of things I don't like about Go, but one thing that everyone I worked with really enjoyed about it was the clarity and explicitness of the error handling. Exceptions are hard to reason about and hard to remember to handle; errors returned from functions are so simple. It seems like Rust's error handling has the good properties of Go's, but it allows for more abstraction because of Rust's more powerful type system. I think the Agile crowd that I've hung out with is going to love it.
Thanks for the offer! Appreciate that :)

Indeed, with the resources available online, it's totally possible to learn new skills if I spend some time on them.
Why is that surprising? Haskell (as typically implemented; I'm slightly less confident about the details of the report) is lazy and pure by default, but that can be violated locally or more globally if you ask for it loud enough. So the language, as a whole, is not pure in the sense required for those theoretical questions to really apply.
Coderbility: Syntax Highlighting for Readability (and Instapaper)
Aside from issues you may run into with your ISP not wanting you to run servers off of a residential connection (check your terms of use), connectivity from the outside world to your home is not going to be nearly as good as if you have a server hosted in a data center.

A typical data center will have multiple high-capacity backbones connecting their building to the internet which not only means better connections between your server and those connecting to it, but greater reliability and redundancy.
So far the best error handling pattern I like is actor based (like Erlang for example), where you usually code the main "happy" path separately, where the business logic is cleanly seen, perhaps the error handling is an external supervisor or monitor process. That works for higher level use cases (like handling http requests, parsing, talking to database) and works especially well with heap isolated concurrency units (processes). Maybe it doesn't work for a language that can interface with hardware drivers ...

But still wonder how much of an anti-pattern that would be in Rust -- spawn a separate thread, and then do all the IO, HTTP, XML, RSS parsing in a clean way. Then let it panic and somehow find the reason for panic in the original main thread. Then decide there what to do (exit, log, bubble up failure etc).
Cow’s milk consumption controversy
I agree that's ironic and something we (I'm TNW's CEO and worked closely with the dev them on this) should work on. I also believe we built this for the future and computers will catch up with some of the more innovative stuff we built. But that doesn't mean we shouldn't make it better and we will. We are improving the code and functionality every day so the canvas ad you might see today (we don't show them on every visit) might be better than the one you've seen yesterday.
I would say that it's an evolutionary flaw that many humans want to drink so much alcohol that they die from it. Just like it's an evolutionary flaw that we like consuming much more food than is good for us, simply because that part evolved in a time when it was physically impossible to overeat consistently.
Looks really clean, beautiful, well thought out and designed. Keep up the good work!
Lots of teenagers are under stress in high school to get into the "right" college. Knowing of paths to interesting and well-paying jobs that don't require college, much less an Ivy League college, should reduce stress.

That said, I do wonder what the success rate of the youngster is. Would I let my son go to a hacker house (or whatever you want to call it) instead of college?
Any small town HN readers like me see articles like this and can't relate at all? I used to be envious and longed to be part of this type of community, but now I just feel indifferent to it. It's a very strange world you Silly Valley kids live in.
Since the official API (https://github.com/HackerNews/API) does not support authentication, how are you collecting and storing auth credentials for login/posting?
You're painting with a VERY wide brush. Your idea, in action, would be damaging to those on Airbnb who do business within the bounds of the law.

Just because some folks might violate the terms of their {lease, rental agreement} does not mean ALL of them do. Your actions would hurt the honest hosts, as well as those in violation of their rental terms.

Don't be a schmuck. Seriously. You are not the moral police for those renters.

DISCLAIMER: I am an Airbnb host. I violate no rental terms, as I own my home.
Would someone describe how the keyboard is used?
Looks great. One thing I loved about HackerNode was the fact that I could send an article to Chrome. (Maybe I'm blind, but I can't figure out how to add Chrome to the iOS 8 activities sheet.) The in-app browser is nice, but this is an important feature for history-diving purposes. I'm sure lots of your target market don't use Safari on the desktop. Any plans to support it?
THIS. I am one of the "small guys" that something like this could harm.
That sounds terrible, is Rust that unstable in practice today? I remember hearing that the language had mostly stabilized at the end of 2014, but anecdotes like yours are discouraging.
What is that karma threshold? The site guidelines seem intentionally vague on this.
> I hope I'm not the only one here who thinks this is incredibly ANTI-entrepreneurial.

How is it anti-entrepreneurial? Seems like a perfectly entrepreneurial response to the market opportunity created by overlap of the AirBnB vs. hotel conflict with the AirBnB vs. existing law conflict.

> I'll even go so far as to say this would be a really JERKY and EVIL thing to do.

Some people say that about the way that AirBnB and AirBnB hosts have openly flouted laws governing short-term rentals. Any disruptive entrepreneurial activity is going to "jerky and evil" from someone's perspective.

And, maybe it is jerky and evil -- but that's not a category opposed to entrepreneurship. At best, its an orthogonal concern.
Show HN: A shopping bot for when you're drunk
As of tomorrow it should finally be over that kind of instability for good. I've been doing some tiny things to learn the syntax and how to work with it but I've had the same experience. Really can't wait for the release tomorrow.
That's too bad. We did test it extensively and although some people were distracted by the ads, they do understand theres a post hovering on the right that wants to move back into the page. But we are working on ways to make this more clear. I do understand this is a big difference from the ads you see on other websites and we do hope you'll give them another chance.
Making a simple webapp using flaskr
It's definitely not idiomatic error handling, but quickcheck uses a mechanism like you speak of: https://github.com/BurntSushi/quickcheck/blob/master/src/tes... (This is just implementation details---I'm not saying this is actor based!)

This lets it handle failures that panic, and then shrink the witnesses to find (hopefully) minimal witnesses. :-)
I'm an Airbnb host. Love it. It has changed our lives. This idea of the OP, it pisses me off, to no end.
Where are you seeing this backported to 5.11 or 2.6.18-404? I'm pretty sure the changeset that introduced the problem
has not been backported to RHEL5 kernels.
This is a really great article. As a casual observer of SpaceX, it seemed to me that they just came out of nowhere a few years ago. It's really great to see a story about their origins.
I hope the irony of the title was intentional.
Yeah, making your kids dive into an alligator-filled body of water? How does any sane person not see that as deplorable? Would it be equally character-building to make them run across a freeway to find a dropped pair of sunglasses? What's wrong with everyone in this thread? Did they not read that part?
This is good advice for many technology communities.
There were some expected periods of instability at the beginning of this year, but recently, there's been little to no breakage. I know because I maintain several crates and I'm not getting pinged every day with new PRs fixing my code. :-)
Thanks toomuchtodo. We're hotfixing this right now. Receipt validation issues.
6 Surprising Aspects of Elon Musk's Start
500 \o/
AirBnB is as much a corporation as any hotel is.

At least as many small guys depend on the hotel industry as depend on AirBnB.
NodePoint 1.2 released.. Time for every business to have a support portal
I thought about that a lot of course! I'm the founder and CEO of TNW and worked on the canvas ad with the design & dev team for months. We do know some people absolutely hate ads. No matter how small. And this one is huge! But we figured the upside of having a beautiful ad that more people would like would be worth the downside of losing a few people who hate any ad and probably even use an adblocker. I don't dislike people who use adblockers and think it is fine if they read our site for free and without making us any money. But if you do I also don't think you have mucch right to complain about ads anyway.
Arg! I just finished listening to another rendition of Metamorphosis about a month ago. An interesting thing about the book: I didn't know what it was really about until the very last sentence.
They lost us...
Hey,

Thanks for the report! We are going for a quick fix now, something on the validation server :P

Thanks for the support!
Since the subject is the human body, Descent was great, but it caused me major "motion sickness" (not sure what's the correct term)
PHP Devs: If You're Typing the Word MCRYPT into Your Code, You're Doing It Wrong
The accelerator in the Louvre
> Silly Valley

That's not a thing. Don't believe everything that random comedians make up.
Crimea Pyramid, the Earth Grid and the Crowned Mummy
I had the same thought and found they have a section of the website devoted to this. Very nice. https://www.touchdevelop.com/docs/creatinginteractivetutoria...
But swimming in a place with alligators IS bad and dangerous. Alligators are not cuddly swamp friends. Are you being facetious?
Interesting, thanks for the link! I'll have to look at that some more. This calls for a Rust actor library perhaps. Memory and type safety in Rust seems like might work well there (making sure memory is not accidentally shared between concurrency units -- really one of the main advantage of Erlang's VM).
Do you know if this also stands for non-XEONs ?
Using Promises (eg. bluebird) with Express
There had been some breaking changes going on towards the 1.0 release. The first alpha to clean that up was in January of this year which really started the move to stabilize a lot of things, but there were still some breaking changes (I know there were a few around IO). It went beta back in April and there haven't been any serious breaking changes since (that I know of, I'm only following things not a rust developer). Tomorrow it'll be released as the 1.0 stable version that from then on you won't have any breaking changes (until 2.0, or whatever the next version is). That's not too unusual for a language that has been evolving the way rust has, you just can't avoid breaking changes for a while until you actually figure out what works the way you're after. But kudos to the rust team for getting it this far; I can't wait to see all the celebration tomorrow.
As far as I know adblockers aren't blocking our Canvas ads yet. I don't mind if they do though. I think it is better to give up trying to make money on people who really hate ads and instead focus on people who don't mind them. Feel free to read our content with an adlocker. I just hope to tweet or like our stuff every now and then. :-)
Customer Support Engineer | Sauce Labs (San Francisco, CA)

Join the Sauce Labs Customer Support Team and work with customers big and small who are changing the way software development is done. If you love solving problems and helping people, then read on!

Responsibilities:

- Help customers solve technical problems, answer questions about the product capabilities

- Reproduce customer issues and determine where the issue is (Sauce Labs Cloud, Selenium/Appium, the network, language or platform configuration, the customer’s test script)

- Collaborate internally with Development Team (provide feedback, file bugs) and Sales Team (respond quickly to high priority issues)

Requirements:

- At least 6 months as a developer or supporting developers

- Programming experience with at least one of the following languages: Javascript, Python, Ruby, PHP, Java, C#

- Proficient at the Unix/Linux command-line

- Knowledge of HTML, Javascript

- Experience working with customers, comfortable working with developers

- Intrinsic desire to help customers (and the patience to do so)

- Experience with Selenium and/or Appium is a huge plus

For the full job description and to apply, please visit: http://hire.jobvite.com/CompanyJobs/Careers.aspx?c=qDz9Vfw0&...