skysight-inc/HackerNews huggingface dataset:
Sorry I was focused more on the making process than the actual product. This happens with software more often than with hardware. I started to work as a hardware test engineer back in the day, and I know how hard is to deliver something without problems like this.
> In fact this is already happening in India and China.

This might happen at some point but they certainly haven't reached that point yet. Apple revenue is still growing tremendously YoY in China. [0]

[0] http://techcrunch.com/2015/04/27/apples-revenues-in-china-so...
The Truth Behind the Math: The Surprising Path of a Theorem [Q&A]
Throwing the baby out with the bathwater
Agreed. It seems to me "frameworks" usually qualify as "in the large".
> The trick is, rather than waiting for customers to place an order, waiting for the restaurant to make the order, and then battling traffic to deliver the order—a process that can easily take 45 minutes—Uber drivers pick up batches of orders from participating restaurants in temperature controlled bags. Then they drive around as they always do, waiting to make a delivery to the nearest willing customer.

That sounds awful.
The problem with cyclomatic complexity measurements, is that if you take two similar pieces of code, one with error handling for all potential failures, and one with absolutely no errors handling you get a large variation in the resulting complexity metric. Both pieces of code will probably pass simple correctness tests. But you can't really even make a statement about which is more robust, as the code with all the error handling paths may be full of latent bugs of worse severity than (another thing hard to quantify) simply not handling the errors.

So, when people start talking about the cyclomatic complexity, it seems to me that we are better off understanding we are deep into a philosophical discussion rather than a scientific one.
> The most compelling anti-GMO argument is that they could produce an interaction we wouldn't have been able to predict due to complexity, and the interaction could have negative effects that would never have been produced by random selection in nature.

The problem is, there is no proof in that statement. It's just suspicion, fear, uncertainty, doubt. Instead of proving an actual harm, anti-GMO people are asking the industry to prove a negative.

It would be like asking for a cup of water, and I hand you a cup that I filled from my Brita filter. You complain saying the mechanism contains a carbon filter, and that you believe a carbon filter can contaminate the water. Suddenly you're forcing the burden of proof on me, essentially asking me to prove your fear incorrect. Your fear that is based on... nothing. That's not how science should work. If you have uncertainty about something after the initial studies have been completed to verify safety, the burden is on you to prove it's a danger.

In the case of GMOs, the industry has thrown the public a bone, so-to-speak, and done extensive testing to show that the crops are safe, even when there is no indication that they SHOULD be unsafe. Now, don't get me wrong, there is evidence that PESTICIDES are unsafe, but there's no real evidence that just adding something like a carrot gene to rice is dangerous. NO. EVIDENCE. Yet that doesn't stop people from complaining. When the evidence doesn't support their view, they immediately say that the research was funded by the evil GMO corporations, and rarely even bother to actually look up the real study.

It's like Aspartame... It's one of the most tested food ingredients in history, there is ample documentation to show that it is perfectly safe, yet some people still believe it causes everything from diabetes to cancer. How much solid, peer-reviewed proof do they have to back up their belief? None.
Would it be reasonable to create a separate channel for each message type, and switch over all of them in the receiver?
The Audi delivery thing is tested in Germany and basically all packages require signature. I can't recall any site where I was able to "presign".

If you miss your package, it'll get taken to a nearby store where you can collect it with an ID or it'll be given to your neighbour.
>There are absolutely...

Indeed. Hence my use of bored three times

>TV, online news[sic] twitter, fb

so...100s of millions of people colluding to foment a riot? CTBP if you ask me

>hivemind lunacy

yes and no.

>' "the media" '
seriously? they all get together at a big meeting and set an agenda?

>on death, blackness, cops, and conspiracies

Do not conflate the issue here. i agree this whole 'spotlight on brutality' is cherry picking by SJWs. i know full well that cops suck for more reasons than one. i also know that, regardless of the undeniable suckage, cops serve an extremely important function in an ordered society. our back and forth is about your laziness in identifying a root cause. there is no 'the media'. i assume you has a facebook (i do not). are you an agent of "the media"?

please understand, i am not mad at you, i am mad at a tendency that you are representing. it is the same as any time someone says "Americans do [x]" or "white males always [x]". The idea that there are monoliths and that they act in informed concert is preposterous.

It is super cool right now to act like what is happening in the US is some giant fucking race war. in truth, things are getting better. that is why individual killings stand out. but journos, pundits, and SJW bloggers are driven by attention. that does not excuse you and i acting the same way.

We all want shit to change, but in different ways and for different reasons. when any opportunity appears to give voice to this seemingly ubiquitous angst, we let loose. when we do, a small group of ne'er do wells take advantage of the focus of LEOs and steal shit.

I do not like the way media works either, friend. i am not opposed to you or your ideas. i just took issue with where you chose to lay they blame.

thank you for taking the time to respond to me.
> Specifically /r/programming vs HN.

HNers /behave/ more knowledgeably about startups and software.

> Is the user-base different?

No. White middle class men. Anything else is downvoted or not spoken of.[1]

> Is it just differences in karma/downvoting mechanics?

No, it's the YCombinator brand name that's making the difference. And the fact that HN is nowhere near as popular as reddit. (Popularity attracts even more white people, but especially those who would like to behave like spoiled brats.)

> Am I right to irrationally dislike reddit?

Yup. Find the right sub and you'll be fine.

(Edit) [1] As an example, https://news.ycombinator.com/item?id=9451652 . Anyone other than that demographic, with some critical thought in them, have already abandoned the use of "riots" [along with its corrolary, "thugs"] to refer to the protests, and are using either #BaltimoreProtests or #BaltimoreUprisings . In that linked debate, not a single leading commentary disputes... wait for it... the very title.
Report Xenphoobia Initiative
Yessss. This is the EXACT type of thing I've been looking for for long flights/bus rides/etc
Almost, https://www.youtube.com/watch?v=uxoiOJ280LI
VA court refuses to strip yelp commenters of anonymity
Ugh, and here i thought Wayland was doing good...
Are Vinyls Really Making a Comeback?
And disrupting moral standards in business, according to some. (I'm not judging Uber or those who say that, including one of their investors)
The Horrifying American Roots of Nazi Eugenics
What would be really informative would be to see how the same relative message would be transformed from an email to a push notification. It makes sense that push notifications are more effective, even in the lower range, but do they really include the same content as email? Yes, you might get an email about a gift card tier you qualified for and that can be a push notification. What about emails for sales going on? I think those would not work as push notifications, so this could be skewing the numbers. It could be more emails get sent out then push notifications.
Ask HN: Golden cuffs as insurance?
throwaway account

Most are familiar with the golden handcuffs concept http://en.wikipedia.org/wiki/Golden_handcuffs

The idea is to keep talent around by increasing compensation/perks beyond market. This seems logical if you have great members.

You will find not-so-talented people with inflated salaries/expectations due to time of employment and legacy reasons (person wrote the first version of something, installed the first server and so on). Again, this seems logical (yet sad) if those people were helping move the company forward.

But currently I'm experiencing a new type of golden cuffs: Seniors as Insurance

Get a team of inexperienced developers and ask them to move quickly. You get zero tasks assigned to yourself and your sole task is to jump in when something breaks. The junior/senior ratio is 10/1.

You are not there to coach, you just have to fix things by either writing small patches or throwing more money (servers) at the problem.

During your free time, you can work on improvements as long as it doesn't require architectural changes.

Is this a thing? Or just another version of golden cuffs?
Hacking Your Content Strategy: 21 Tips and Tricks to Improve Efficiency
Running Secured Docker Registry 2.0
Another benefit that I know BMW has (and probably others too?) is that I can press-and-hold the unlock button as I approach the car and the windows roll down. Keep holding, and the sunroof opens. In the summer, it's a nice way to cool off the scorching-hot sun-baked interior before getting in.
Point taken, the Nazis had hilariously bad taste in art. But what about Pasternak, Solzhenitsyn, and the rest of the great Soviet dissident literary canon?
Nagios has an embedded Perl interpreter[0] so it's possible to avoid fork()/exec() if performance is critical. There are some caveats about how to use and code for it though [1].

[0]: http://nagios.sourceforge.net/docs/nagioscore/3/en/embeddedp...

[1]: http://nagios.sourceforge.net/docs/nagioscore/3/en/epnplugin...
Thanks for the fact check!

Looks like it was indeed committed to OpenSSL about 2 1/2 years prior.
> why allow file() to open sockets

If by "open sockets" you mean open existing sockets in read-only mode, it's so that it can identify them as sockets. If by "open sockets" you mean create new sockets, I don't think it does do that:

https://github.com/threatstack/libmagic/search?utf8=%E2%9C%9...

> write to arbitrary files

It appears it only does this if running on OS/2 and investigating what's inside a compressed file. Under these conditions, a temporary file is necessary for platform-specific reasons:

https://github.com/threatstack/libmagic/blob/3dea7072b8d7e92...

https://github.com/threatstack/libmagic/blob/3dea7072b8d7e92...

It also writes to a non-arbitrary mmapped file (the magic database), because that's how such databases work; you query them by writing to them in a particular way:

https://github.com/threatstack/libmagic/blob/3dea7072b8d7e92...

> run external programs

I can't find any examples where it does that. Do you know of any?
Thank you for your comment and I agree, the landing page needs some serious work. I wasn't sure if I was addressing a problem other people felt too.

So Just in case it doesn't come across. You log to the sawmill library which then posts to a rest api. sawmill the groups similar error logs into work items and alerts the team to new or previously thought fixed issues. The tickets can then be worked on and closed when fixed.

It's trying to wrap some intelligence around the logs that you receive from an application.
Ask HN: What is the point of asking for references while making an job offer?
Is interview process not enough? Also, I will only give references from people who will give me a good reference. What is the point?
It does seem that way. I can't really understand the value of that, typically we want our models to model reality and not lie to us.
How to Upgrade to Debian 8 Jessie from Debian 7 Wheezy
This is incredible!

I've done some diving in Lake Huron just north of Port Huron, MI (just past where the 'thumb' connects to Canada for those unfamiliar with the area) and was pretty amazed with the number of wrecks + the clarity at depth (granted we didn't go much deeper than 90ft if I recall correctly). If anyone does any diving I would highly recommend them coming to great lakes (including the Canadian side as well - Tobermory was awesome).
I did the same and actually felt kind of bad that we live in a place where we are able to go kill two grand just like that.

However, I felt bad for only about two minutes, and then forgot about that until I read your comment.

sigh
Interesting stuff. I don't have too much to say because this is so far outside my scope of expertise. However, I think it's kinda interesting that servers are moving away from the pizza-box form factors. In the tradition of silly names for things, I propose we call these new 2 rack height, one third rack width boxes loaves, after loaves of bread stacked upon each other.

I eagerly look forward to some admin in a datacenter having to pinch off a bad loaf ;p
DORA Telepresence Robot Gives You Fully Immersive Experience
And in fact the performance of Plan 9 tended to be extremely poor when compared apples-to-apples with Linux.

It's just that everything was so simple it felt fast, even if your filesystem throughput was crap.
Article should perhaps have "(2012)" in the title?
> Go interfaces are quite a novel concept

They're not: https://realworldocaml.org/v1/en/html/objects.html#ocaml-obj...

> This is not idiomatic Go. The author here should be leveraging Go interfaces and they wouldn't lose type safety.

You've conveniently ignored the case of the non-drawing commands. Should they be Drawables with a Draw which does not draw anything?

> Go has its fair share of shortcomings, but try to _learn_ the language before writing yet another misinformed article.

The OP has been upfront about his limited knowledge of Go, and his rust knowledge coloring his thinking.
A few typos in there...should have said the subject matter won't look interesting, and of course screenplays are rarely better for being written by committee.
I think so, over the last 3-5 years I have seen the market get larger.

Several stores now carry them as well as a lot of bands releasing them for their new albums.
> Having interfaces be autoimplemented [...] it's just not what I'm used to and it restricts me from writing certain types of code without using dummy methods like so to get static type safety.

There's a Go idiom for that. If you have

type Doer interface {
Do()
}

and a

type thing struct {
}

and you want to make sure that `thing`s implement `Doer`, just add this line:

var _ Doer = thing{}

_ is a special value that can be redefined at will, so the pattern can be used as many times as needed. From there, the meaning should be straightforward: _ is a `thing` that implements `Doer`, so the compiler will check it. You get to keep implicit interfaces, that you can make explicit as you need.

Apart from that, this post is really great; as someone "used" to Go and not at all to Rust this kind of impressions is always enlightening.
Speaking as one of the founders of Servo, the reason why it couldn't be written in Go is absolutely about performance.

As far as we're concerned, the most compelling reason for Servo to exist is performance, especially in layout and rendering. Many of the wins of Servo layout have come from carefully coding to the optimizer to allow it to eliminate virtual dispatch and procedure call overhead, break apart structures, stack-allocate where possible, and (in the future) use SIMD. As a result, the performance profile of most of Servo layout tends toward flat loops as opposed to deeply nested stacks of virtual call upon virtual call—much friendlier to the branch predictor, i-cache, and intraprocedural optimizations. At the same time, we get a lot of responsiveness wins from having a threaded design where pauses in one thread—most importantly, JS and the DOM—do not impact responsiveness in the other threads, which becomes very important when CSS animations are involved, especially common ones that require reflows.

Now with Go, we'd have the choice between a compiler that basically doesn't do any optimizations beyond very simple ones (6g/8g) and a compiler that lacks good GC integration (gccgo). The former would negate all of the advantages of our careful coding to the optimizer and would probably make Servo layout, in parallel mode, slower than the sequential layout of other browsers. (Despite what djb says, compiler optimizations really matter!) And the latter would cause the stop-the-world GC times to spike, jeopardizing our smooth animations, which arguably matters even more than raw reflow performance to the user experience. (That's not even counting the fact that since Go's malloc is reportedly extremely slow compared to that of Java, it relies heavily on escape analysis, which gccgo doesn't do…)

There are other reasons too, such as the fact that integrating a good JS garbage collector and Go's garbage collector would basically be impossible without rewriting one of them and making major sacrifices along the way (like making JS GC multithreaded or making Go's GC conservative, like Blink did with Oilpan). But performance is the main reason.
This still has a vtable creation/dispatch overhead in your example (if I wasn't clear, this was my larger concern, not the type switches). It also has troubles with local variables, though they can be solved pretty easily.

But point taken. I will try to use this pattern in the future.

> Go has its fair share of shortcomings, but try to _learn_ the language before writing yet another misinformed article.

I believe I was pretty clear in the article that I didn't know the Go way of doing things and this was about what Go looked like from a Rust point of view. This was not supposed to be a rant, just a post that sort of illustrates the differences between the languages. IMO it actually gives a clearer idea of what Rust is like than it does of Go since the "Rust way" of doing things is clear from the comparisons..
I recorded a video of the swap test and executing some programs on our implementation of SOS. The microphone is broken badly.. https://www.youtube.com/watch?v=4iH15NIizc4

This is connected over Ethernet and serial to a Sabre Lite Mx6: http://www.element14.com/community/community/designcenter/si...
Signatures do nothing to prevent blind relaying. Transmitting through an amplifying relay in this attack looks identical to transmitting through free space, aside from the received power level and propagation delay.
Exactly. Signal mechanism makes sense to notify synchronous errors that arise from the thread's own execution, like SIGSEGV or SIGILL or SIGFPE.

Most of the rest of the traditional UNIX signals are events that should be communicated asynchronously via file descriptors that a process can poll at its leisure, which would be more UNIX-y.

Well at least Linux has signalfd(2) now.
Yes I agree totally, it's part of the fun. What's great is if you're in career or science mode you'll still need to work up to the parts needed to use MJ. You'll have to do the first orbits and rendezvous yourself.
New Podcast Episode: SQLAlchemy and Data Access in Python with Mike Bayer
Or in, say, New Hampshire, like a year ago.
I don't believe that quote assumes the idea is original. Most aren't.
> Eventually I was able to learn the proper style by watching my code get corrected.

Funny thing: I actually benefit from not typing idiomatically! GoSublime runs gofmt whenever you save a file. It's a free check for syntax errors, as it won't fix the formatting if you made a mistake. And because the mistake must be in the non-idiomatic formatting, it's easier to spot too.

> I'd love to see a rustfmt, however!

Seriously, I miss gofmt in any language that doesn't have a similar feature. I'm so surprised it hasn't been copied more!
The entrepreneur doesn't have to be right 100% of the time. Granted being wrong once could ruin you financially and cost you a few years in opportunity cost, but that doesn't prevent you from trying again - maybe a year or two down the road if need be.

I've been wrong 3 times now but I'm still up at bat swinging. I'm also guessing my batting avg is getting better with each subsequent swing.
This whole thing is so bizarre.

I went to college with Ross. I didn't know him personally, but we had a few friends in common (even looking at his Facebook page now, we have a few mutual friends, and I know others who were friends with him but don't have him on FB).

To think that something as huge and infamous as the Silk Road was created by a dude I went to college with just blows my mind.

On top of that, the article also mentions Richard Bates, who I knew personally. We were in some of the same clubs, we had a couple of classes together, and we were even friends for a short time before we had a falling out, involving Richard treating one of my best friends like shit and then treating me like shit when I tried to play mediator. After that, the aforementioned friend and I ended up coming up with a few juvenile nicknames for Richard Bates based on his name... I don't think I'll post them here, but you can probably guess, because his name is very unfortunate. By the time I graduated, Richard wasn't very well-liked... IMO, he wasn't a good friend or a good person.

As mind-blowing as Ross was, this was even more shocking, and it's still hard for me to believe that Richard, somebody I personally knew, was part and parcel of the Silk Road.
> non­exclusive, non­transferable, non­assignable (including by operation of law or otherwise), non­sublicensable

I think I am misunderstanding you. If they give much more, Google might as well just pay one to void their patent instead of assuming ownership.
Crimes of the Educators: Why Education Is More Screwed Up Than You Think
> 380 such events have happened so far this year

380 killings of unarmed people by cops under circumstances similar to those that existed in the stories that have been widely covered aside from the issue of race?
Discoverboard ( https://discoverboard.com ):

An online community focused on quality, thought-provoking conversations about a broad range of interests. It's a significantly different experience from other online communities:

-Most members choose to use their real identities on the site, and this information is only available to other members.

-Each member pays a small subscription fee, which helps keep out trolls and spammers. The fee also pays for moderators and serves as our members' commitment to quality and respect.

-Discoverboard doesn't display ads to subscribers or sell their data.

Full disclosure: I work for discoverboard. We would be very interested in hearing your thoughts about it. I also just created an invite code for free trials for people on this thread: https://discoverboard.com/code/HN
How would it be anything other than circumstantial that it "actually happened"? Those cars crashed and people died. You could make the same case about any bug; "I duplicated the behavior, but that doesn't mean it actually happened in the original bug report". That kind of developer comment would raise eyebrows.

Toyota's original defense was that it was user error because unintended acceleration couldn't happen; they blamed it entirely on driver error. They were making a "forall" argument, and all Barr had to do was show an "exists". He did. Toyota was completely wrong.
Study: Poor children have smaller brains than wealthy peers