skysight-inc/HackerNews huggingface dataset:
I don't know how this unexpected vs expected errors philosophy gets propagated, but to me it always looked suspicious. Take array bounds for example: what if you have an API that lets users send a list of image transformations, and the user requests a face-detect crop, followed by a fixed crop with a given x, y, w, h.

Clearly your code can get out of (2D) array bounds with the fixed crop (if the image is such that the face-detect crop ends up small enough). Suddenly the thing that was "unexpected" at the array level becomes very much expected at the higher API level.

So the API provider can't decide whether an error is expected or not. Only the API consumer can do that. Applying this further, a mid-level consumer cannot (always) make the decision either. Which is why exceptions work the way they do: bubble until a consumer makes a decision, otherwise consider the whole error unexpected. Mid-level consumers should use finally (or even better, defer!) to clean up any potentially bad state.

I think Swift got this right. What you care about isn't what exactly was thrown (checked, typed exceptions) but the critical thing is whether a call throws or not. This informs us whether to use finally/defer to clean up. The rest of error handling is easy: we handle errors we expect, we fix errors we forgot to expect, but either way we don't crash for clean up because finally/defer/destructors take care of that.
Since at least the 40s, the advice of the US Forest Service has been to travel downhill, remaining in place if injured or there's nowhere further downhill to go: http://www.fs.usda.gov/Internet/FSE_DOCUMENTS/stelprdb543526...
But Windows also allows a session to disconnect without logging out. (This is the default when a remote session disconnects from the client side or due to network errors, and is prominently displayed in the UI otherwise.)

For an ssh session on Linux, the traditional equivalent would be to run tmux/screen in the background, but systemd will happily kill them.
Blogging cells tell their stories using CRISPR gene editing
Your opinion would change if someone you cared about needed a new liver.
Is your point that the published details are irrelevant? Because if so, I very much disagree. You can ignore the details if you want.
thank you! I think? ha

yes it was meant to be a comedy. The Professor Heinrich von Hexenhammer character is a kind of loving homage to Mad Scientists in general. and to the most famous (or at least the most eccentric) physicists and mathematicians. Feynman meets Erdos meets Einstein meets Wolfram etc. except a little more fun and creative for entertainment value. :-P

I respect Wolfram's talents and accomplishments (esp Mathematica), but every time I come across artifacts of his personality quirks again, like in this Golomb post above, it does make me remember all the stereotypical anti-patterns of the Mad Scientist.
Startups are just illiquid investments, like real estate or even like chunks of public-company equity so large that the market can't absorb their sale. Every single investor who ever existed has talked their own book; i.e. they promote the assets in which they have a stake. This is not a Ponzi scheme, it's a market. And unlike Ponzi schemes, in venture, there is an underlying asset, which is the company that's growing. Growth and profit are two different things. Profit and valuation are two different things. Valuation, or market cap, are based on the expectation of future revenue. With tech companies, these expectations can be very high, and rightly so. Even if they are grounded in human psychology, and subject to projections, distortions and the like.
This is an artefact of the sensors (radar) used. Since resolution and processing is insufficent right now, everything that is stationary is ignored.

I have a recent BMW with ACC that shows the same behaviour.

It's not an ultra rare event (I experience it roughly once every other day) and it's also not a problem as a driver.

Also with ACC: Just swerve right and ACC will happily crash you into any other stationary object like a lamp post or a wall.
It chaffes me when I see companies talk about diversity and inclusion (ignore that the blog post is written by a young white guy).

You want to use data to make Github more diverse--great. Just shut up about it and make it happen. Posting your diversity data like this, like it's some badge of honor, is ridiculous.

Someone wants to know how diverse you are? Great, show them the data, and tell them you're working on it.

Just please stop it with the public discourse.

You know what I don't see--companies like MSFT, and Google, and Facebook, and Github who talk about their inclusion showing up to the poorer parts of my neighborhood trying to address diversity issues there.
Why not a bet on http://longbets.org/

Plenty of people are bullish on VC and Silicon Valley, and almost by definition have plenty of money to bet against you.
> I found it utterly unconvincing: a last-ditch moral appeal from someone with absolutely no moral credibility.

Meh, didn't really seem like that to me. I mean if what they wrote is 100% true I still wouldn't expect Peter to "debate" them. It's just another news piece targeted at one of their enemies. I don't think it's much more than that.

I do get the impression that they're going to drag Peter into their court cases. That should be...interesting.
It's interesting looking back on how this compared to the lessons learned by Rust in the lead up to 1.0.

Issues in which Rust observed the same problems and changed course to fixed them:

- Compilation model: Rust originally wanted to do a static compilation model, like BitC, but it eventually went with a hybrid model that leans toward link-time optimization.

- Compiler-Abstracted Representations vs. Optimization: Again, Rust wanted to abstract representations from the compiler, but eventually it just went to a model in which the representations aren't hidden from the compiler.

- Insufficiency of the Type System: Rust also had by-ref parameters only, but as that was insufficient it eventually grew the lifetime system (as well as the subtyping needed to make it usable).

Issues in which Rust persevered anyway:

- Inheritance and Encapsulation: Rust went with interfaces and unified them with the typeclass system.

- Instance Coherence and Operator Overloading: Rust went with a Haskell-like approach to instance coherence. It is sometimes annoying, but it's rarely an insurmountable problem in practice, and Rust is a lot more flexible than most other non-C++, non-D languages here.
Even "nohup" programs?
I understand a lot of people whinge about this, but converting most of my 2.x code to 3.x code involved nothing more than adding brackets to my print statements.
Are you saying they should become a new root CA? That is a huge amount of work, and would require them to convince all browsers and OS's to make them a root CA, which many would be reluctant to do.
Its funny how reluctant I am to install the certificate in the first step. I know it works as a vaccine of sorts, but still. It feels wrong.
Ask HN: Jobs working with compilers/PLs?
I've recently become really interested in the details of programming languages, type systems, optimizations and compilers in general. Seems like a fascinating subject, with a lot of depth. I'm looking to move to a different job soon and want to work on something like that. I have some questions for the wise folks of HN:

What kinds of companies or specific companies need programmers working in this area?

Is it possible to break into the field without much prior experience (also I am a junior dev)? I'm working on a lisp interpreter and have read a bunch about compilers but don't have much experience. Honestly i'm confident i can pick up whatever i need to learn and will put in time, but that doesn't count for much in an interview.
Please don't do this. I see people doing it, even going so far as to leave flagging tape on obvious, maintained trails so they don't "lose their way". And usually people don't remove it after. It makes an area trashy, especially when done unnecessarily—and saying you should do it whenever you go off-trail is very unnecessary.

If your navigational skills are poor enough that you can't trust yourself to walk off-trail without getting lost, use a passive system like running a GPS receiver during your hike so you can backtrack along its track until you find your trail.
Currently developing tools to do market research and user analytics on Instagram. Experience so far with the Instagram API is quite positive. Take a look at the endpoints on their dev page and its immediately evident: Instagram exposes a lot of precious data. Consequently, it is the platform of choice for users who accept sponsorship for posts. Also, when reaching out to the Instagram team about improving tag discovery and search, they were very amenable :)

If anyone from Snapchat is monitoring this convo, I would implore you guys to prioritize your API rollout. Provide the tools that allow your users to be able to make data driven decisions. Building an ecosystem of creators who can figure out how to monetize their Stories better than any one else can is "the key"
I disagree: Most ACCs have exactly the same limitation.
It almost sounds like a farce: Clinton gets indicted or loses face due to incompetence relating to the e-mail server scandal, and in her place is elected The Donald, a man who has committed worse transgressions and has the potential to do even worse things when given power.

Frankly, she doesn't sound any more incompetent than even a typical old company c. 2010: think Target, Sony, etc. It would be sad, given that her opponent will likely be Trump, if this scandal sinks her candidacy.
For RDP - Windows doesn't spawn a new session every time you remote into a machine if there's already an existing one, and closing the RDP window without logging out leaves the session running.

But then again, the closest equivalent I can think of to an SSH session is Enter-PSSession, which does close all processes started under it when closing the session with Exit-PSSession.
Life and Death in a Troubled Teen Boot Camp
Ah yes, the classic 'shut it down for a few minutes' defense. Stops 'em every time.
The law would come out of Congress. I have no compelling reason to believe at this time that any candidate for this Presidential election wouldn't just sign it and move on with life. (I can read tea leaves and hypothesize as well as anyone else, but I have no real facts that leads me to believe otherwise.) If that is the case, there's very little advantage to the industry getting close to the President; all they can do is sign it, not sign it extra hard or something. Regardless I also find it unlikely that any candidate would burn political capital to push through extra hard, not that it would be necessary anyhow.

The most likely way this is going to go down is Congress is going to pass the extension again and it's going to go to the Supreme Court. I would consider the probability of any other outcome pretty low.
Yeah, as important and fascinating as the whole story is, every time I see "ClintonEmail.com," all I can think is that surely the Clintons of all people should have the influence and power to get a hold of just "Clinton.com."

I mean the current owner of clinton.com is some investment firm that could probably do just as well something like ClintonGroup.com or ClintonInvestments.com. If I was her, I would fight for the email address "hillary@clinton.com."

Then again, I'm a programmer, not a politician.
an exaggeration?
Meanwhile, lots of present-day sites use a diskette icon to represent a "save" function. A diskette? Seriously?
You're not exactly setting the bar very high for Oracle. VirtualBox was mostly GPL'd before its developer was bought by Sun, which was later bought by Oracle. Saying that it's "very gracious" of Oracle to not kill a successful project or fire all its developers makes it sound like you've been brainwashed under an oppressive tyranny.
Reverse engineering is not a defense against infringement if the subject of reverse engineering is copyright-protected.
> However, the size of the copyright-backed creative industries today, by any reasonable metric I can think of, is vastly greater than the size of the creative industries built around the alternative models that have been tried noticeably often so far.

Even assuming that "market size" is the right metric for comparison, that comparison assumes that the existence of copyright law has had no negative effect on those "alternative" models. Numerous readily available examples suggest that it has, however.
It takes real skill to walk in a straight line, even with a compass. The best navigator I know taught me the trick of lining up good landmarks and concentrating on those, head straight for them, then choose another, but by crikey it takes effort to do it even halfway decently.

This would almost certainly have been a case of answering the call of nature, going a very little way off-track to preserve decency, getting ever so slightly turned around to lose the trail, then an escalating series of "corrections" as it becomes clear that it's all going wrong. It's a very sombering and saddening thought.
> Europe doesn't have the sort of ingrained racism that exists in the United States

O_o

There's plenty of ingrained racism in Europe. From constant and persistent jokes about the French in the UK, to the French hamlet called "Death to Jews" that only recently changed it's name, to the consistently poor treatment of Romany people in most places, right up to the ethnic cleansing of the former Yugoslavia in recent memory, there's plenty of ingrained racism in Europe.
This is also why high speed cams are not circular.
Try with a better tile: http://nyc.terrapattern.com/?lat=40.7198568&lng=-73.98089090....

It works beautifully.
> Symantec would get destroyed if they issued a CA cert that was misused, right?

Assuming browsers are willing to actually follow through and do so, yes.
We already have Gerry. http://www.imdb.com/title/tt0302674/?ref_=nm_flmg_act_19
Would be great to be able to pair this with a small solar charger.

Also, do these work internationally? I went scuba diving in Indonesia in a place with strong currents. Saw amazing creatures, but there was a story overhanging everything about some divers that had been swept away by currents, landed on an island inhabited with Komodo dragons & had to fend the lizards off by swinging their weight belts at them. They were found a couple days later, but badly sunburned and exhausted. Amazing!
Closing the RDP session is equivalent to locking your session (lock screen) and not equivalent to log out. However, in Linux exiting an SSH is like a log out, is it not?
This would keep the key private, but would not contain the potential for abuse. The appliance owner could still invoke whatever mechanism is used to generate certs for arbitrary hostnames.
She has no one to blame but herself.
IIRC Apple uses their own Root CA for signing updates and applications on the App Store + Gatekeeper-signed bundles.
http://www.mail-tester.com/ is a good resource to use to help with this.
The problem is that proving that copyright as it stands is the cause of the prosperity of the current market is problematic. You don't and can't have an equivalent control.
Completely unrealized gains or had you actually lost capital you converted to BTC?
"Scala in particular with its immutability generates a lot of garbage if you are not careful, and we were constantly fighting GC pressure (and, indirectly, our achievable concurrency and efficiency) at a household name Scala app. The number of JVM developers who are aware of this and capable with the memory subsystem -- i.e., off-heap strategies such as that used in Flink (relevantly) and some of the clever speedups in netty -- are dwarfed by the number of JVM developers in the whole, so you really need someone who understands these problems to efficiently scale a JVM language."

Jed, once again you are laying claim to experience you do not have. If you ever once had touched Scala at Foursquare it would be a different story. This is just a bunch of tired platitudes.
How so? This isn't something where you'll have to decide in a split-second wether to take to the streets in response to this or that development. You could argue that there is some value for stock traders (and tbh, given the result, even for them it's basically the same as it was before), but that's about it.

It's just the "breaking news" frenzy applied to social media. Nothing to celebrate, imho.
Seems like a separate issue. It's wrong to promote any sort of discrimination or exclusion based on skin tone or culture.
"A.J. Daulerio, author of the 2012 story on Hulk Hogan, is out of work and unable to pay the $100,000 in punitive damages awarded by the jury."

Odd that Gawker wasn't (isn't?) covering its journalists under its libel insurance policy, and is now relying on its failure to do so to justify publishing arguably libelous, or at least close to libelous, material.
This site aims to be the Yelp of the SaaS world
This looks nice but i'm sad that there is a need for it. AWS gets most things right, but they really failed with the ECS design in my opinion. The fact that the paradigms and interface are so clunky out of the box is really disappointing. The sloppy way that you have to launch instances into the fleet.. The whole "task" and "service" concept...

It's a crowded space but my bet is with k8s. Not to mention no lock-in.
I need this to help me deal with this problem at work https://imgur.com/HM8euP8

The laser cutter is capable of more product output than I have time to deal with sorting and stacking them on to pallets. There's another 400 parts behind me waiting to be broken free from their retaining tabs.

Each item is etched with a part ID. Some sort of computer vision + robot should be able to do the job for me. I have the tools to put something like that together.

Any leads?
Not chastising you, but why would you store $25k with what is essentially a bank that has no FDIC (or any other type of) insurance for those funds?
Viewing images on reddit has always been broken. Without RES (Reddit Enhancement Suite) the UX on the site is horrendous. And even with RES, images not hosted on imgur wouldn't work most of the time.

It was so bad I took on myself to aggregate images from /r/funny and put them in a mobile friendly and fast website. http://www.pixpit.com

unfortunately every time I tried to talk about it on reddit, they deleted it.
At least on UK networks you get an indication that says 'emergency calls only' when you are within range of any network.

Does a similar thing happen in the US?

Also seems like a perfect application for those Stingrays the police have stockpiled.
When you say "it's time to incentivize," where would the incentive come from?

VCs should change? Fine, be the VC who only invests in ideas that have social impact. There are tons of VCs like that. They don't get a lot of LP money, but some are doing just fine.

Maybe the LPs should change? Fine, be the LP who doesn't invest in a VC who's investing in Snapchat. You can explain to your investment committee why you're missing out on returns, and when that means that a State pension fund can't pay teachers their pensions -- well there's a fair argument that better returns are good for everyone.

Maybe it's the consumer's fault? Maybe the consumer shouldn't enjoy Snapchat? The great thing is, you're free to not enjoy Snapchat.

Do you think it's the government's fault? Maybe they should prevent people from enjoying Snapchat, or incentivize something else?

I get it: you think there should be financial incentives from the government? Is that it? Tax money to go to the "right kind" of startups, the ones that would get praise on HN from Serious Engineers?

Well, that sounds to me like "we can't get people to voluntarily invest in these ideas, so let's coerce the public into being LPs in risky ventures that weren't good enough for private markets." And, so: no thanks, I'm good.
It's not according to the parent that she couldn't get an email account, but rather that she couldn't get a
"secure smartphone"
I've read that the answer to this question is why a large part of our military-industrial complex exists - the US government gave Lockheed and others 50+ year long non-cancellable contracts to build equipment for the government back in WW2 because they couldn't justify the business risk (similar to why Fannie Mae and FMAC were created) and it was deemed in the government's "best interest" to keep these companies afloat in some capacity. Aircraft carriers we don't need, guns that are long obsolete, tanks that the Pentagon doesn't want anymore - the list goes on with the excess manufacturing spending the government seems to be roped into buying because of... "reasons."

I've never read through those contracts myself but I would hope that they're public record if they're so old and important.
> it's to attempt to counteract the institutionalized discrimination against minorities that exists throughout the country.

No. The reason companies hire in this way is to defend against discrimination lawsuits. The Supreme Court already decided against the principle you're describing in the ruling of the Bakke case.
Replacing Relay with Redux
Malwarebytes Anti-Malware Premium Key 2016 Free Download
There was a great article that gets posted here often about how it's ok to be unprofitable if you have high growth, and it's ok to have low growth if you have high profits. Anyone have a link?

Edit: found it. http://avc.com/2015/02/the-40-rule/
I think socket activation makes sense as part of the int process because of the 'activation' part. That's basically what you rely on init systems to do.

For more details about the advantages of this can be found here[1] and here[2].

[1] - http://0pointer.de/blog/projects/socket-activation.html
[2] - http://0pointer.de/blog/projects/inetd.html
It's acceptable (albeit a terrible practice) to MITM traffic on your own network. It's not at all acceptable for any CA certificate accepted by default in all browsers (not just those on your network), no matter whether root or intermediate, to ever issue a certificate for a domain to anyone other than the owner of that domain. Issuing such a certificate is grounds for immediate revocation of browser trust.

If you want to MITM traffic on your network, have clients install your MITM certificate, which gives them ample warning about what you're doing.
If I suggest Ruby even OP explicitly said he doesn't want Ruby, how is that different from your answer?

> tldr: failing one requirement of many isn't necessarily a reason to not offer an option if it succeeds on many others.

Yes I agree, if the question allows that approach but in this case, it doesn't.
http://arstechnica.com/information-technology/2016/03/nsa-re...