skysight-inc/HackerNews huggingface dataset:
I know that salespeople can often be the source of bad decisions, but determining market fit is still vitally important. Who wants to build (or, more importantly, fund) something that no one wants?
The data is from the US Citizenship test, so those taking it aren't "Americans" yet and have been specifically studying for the test.

I stand by my assertion that the majority of Americans have no clue who Biden is and I swear to you, I wish I didn't either. The whole political arena is absolutely revolting and I'm not surprised the majority of people are apathetic to it.
I don't think that source refutes the parent's point: only large allocations go directly to mmap/munmap as opposed to being cached. Of course, there are other anti-exploitation measures too...
Quirky ditches device manufacturing, preps for new investment
Learn to Meditate.
It will "blow away your Mind". No kidding.
"SQL, Lisp, and Haskell are the only programming languages that I've seen where one spends more time thinking than typing."

- Philip Greenspun

From http://www.paulgraham.com/quotes.html

I adore languages with a high thinking-to-googling ratio. I've been typing the code in this example. Even though I use my mouse to type APL characters, it feels fast. Really, really enjoyable.

Thanks to the author; this is readable and fun.
I too have seen the intense penny pinching, here in California the soda bottler removed one thread from the tops of plastic bottles, it saves probably a fraction of a cent in plastic, but makes the detached retaining ring for the cap rub on your lips when drinking. That makes it uncomfortable to sip from those bottles. Such a huge price to pay in user dissatisfaction for such a small savings.

Can't go this far though :

> I wish someone cut out sales people from the design
> process. ... no optimizing for better sellability.

In my experience, actually doing things this way leads to less economic success for the product and eventually it gets outsold by a competitor without those restraints. And At FreeGate I told sales people "you have to sell what we have, not what we don't have" and still had them come back with complaints about how the competitor could install their box in a data center etc etc. Not a productive conversation (or fun for that matter).

There does seem to be a minimally required feature set for selling things these days. "High Quality" isn't the compelling feature it once was.
"Again, I have no data to back this up, just a sense of this trend."
The standalone authenticator still requires (1) installing/running the letsencrypt client on your production server, (2) letting it run as root, and (3) letting it access your private keys. My script requires none of these things.
C3 Energy - Redwood City, CA [ONSITE] http://c3energy.com/careers/job-openings/opening/?Listing=oX...

The UI Team at C3 Energy is looking for fun, motivated, diligent, creative, and product-minded full-stack / front end developers to join us as we grow. We code primarily in JavaScript and make use of libraries and tools such as React, Underscore, jQuery, Bootstrap, HighCharts, Backbone, Capybara, Bower, Grunt. If you like end-to-end ownership of projects, fast-paced environments, and technical challenges, then please send us an email. We'd love to talk about having you here building alongside us.

C3 Energy develops smart grid applications to transform the energy value chain, and our products are used by leading utilities throughout the United States, Canada, and Europe.

You can reach our team (https://goo.gl/30xaiZ) directly by emailing kevin.liu@c3energy.com, madison.capps@c3energy.com, or bob.rafie@c3energy.com

Happy Friday!
Madison Capps,
Software Engineer
But then won't you be outsold by the products that have focused on sellability and features?
Regardless of your concepts of property someone has to be the arbiter of disputes, which leads back to the need for a formal system for dealing with property.
Cool! I never knew. I guess it shouldn't be considered 'canon' then.
I hope "Johnny Depp’s Fear and Loathing in Las Vegas" is just one blogger's ignorance of American letters.
This is so true. As someone who worked at a company that did power monitioring and wanted to (and did) expand into thermostat control.

1) Reliable internet isn't everywhere, it cuts out a bit.

2) A lot of internet enabled thermostats are just not that great at reconnecting when the eventually loose their connection.

Though to be fair the thermostats generally will just continue on the normal schedule if they loose connectivity.

The company ended up using on a different wireless protocol to talk from the base station to the thermostats. (z-wave or zigbee fwiw).

Ironically we had a 80s error programmable thermostat in the office, which worked pretty well.
You could probably split the song into frames, detect the BPM of each frame, and plot the changes in BPM over time. This sort of thing would be pretty for pre-rendering metadata about the tempo, which could be useful in DJ software, or big music databases, stuff like that.

The IRCAM research you link to looks really interesting, and I think it would be useful for other purposes, like real-time performance with automatic accompaniment.
The real reason American passenger trains are so bad
More stuff got posted today, but if anything it just muddies the water further.

Romanesko posted it to his Facebook feed yesterday after a journalist forwarded it to him calling it "bullshit". People have been picking the story apart since then. Some telling bits:

* Florida doesn't have "Child Protective Services", the proper noun Skenazy repeatedly uses; Florida has a DCF.

* Skenazy's story claims that the parents were unable to visit their child because the relative they left them with lived across county lines. But a felony charge doesn't prevent you from crossing county lines.

* By Skenazy's own account (I'm surprised I missed this): the kids were placed in longer-term foster care because the "slightly problematic" relative they left them with put them back in foster care without informing the parents.

* It's apparently not normal process in Florida for neglect charges to create both civil and criminal cases. I think it's also possible Skenazy, who is not an attorney, is confused: there may be civil-looking paperwork required to place the kids in temporary care.

* A careful reading of the original story suggests that the kid(s?) may have been locked out longer than 90 minutes; the timespans you have to account for are: the time before the neighbor noticed the kid(s?) out in the rain, the time after that where the kids remain outside unattended until the police arrive, and then the time it took for the police to wait at the house with the kids (which also doesn't sound right; why didn't they just take the kids to the station?).

What we actually know right now:

* Somebody set of parents in Florida, who may or may not live in the same place (the single page of court documentation posted lists them separately) had some sort of run-in with juvenile court involve one or more kids.

* A lawyer reviewed paperwork not yet released and said that it corroborates the parents story.

Of course, the parents could be reporting accurately the actions of the police on that day, but leaving out a bunch of additional context from prior to that day.
That's a good point. Reflecting, my moral compass frowns upon cannibalism, but I haven't fleshed out the reasons why. Hat tip for punching a hole in my argument
Hm. The fictitious 'actual status' might be less interesting than the actual legal standing, right? I'd follow my lawyer's advice on this one (register early).
I didn't graduate high school, go to college... or get any special vocational training. I did how ever have an unhealthy fancination with computers at a very early age. That has paid off for me. :)
Ask HN: How would you validate data on both back end and front end?
Dear HN,

in most projects you want to do validation of the submitted data both client- and server-side.

When using node/js the validation is simple, of course, because the validation rules are written once. But, more often than not I don't work in JS or use another server side language.

My Question: Do you know of any good way to validate objects/data structures in a language agnostic way?

I have considered something like JSON-schema or some sort of code generation.

Any ideas?
In particular, there are enough stacks that ignore it that it would be unsafe to issue a CA certificate even with nameConstraints.
Don't worry its numbers are not correct. The most obvious example is they ignore Agricultures use of both rainwater and ground water. But, also environmental diversion often counts water several times as the same water passes several dams. Not that 80% is actually 100% true either, but it's much closer to the truth than 40%.

PS: "During a normal year, 30% of the state’s water supply comes from groundwater (underground water). In times of intense drought, groundwater consumption can rise to 60% or more." https://en.wikipedia.org/wiki/Water_in_California
A language that shares the same philosophy but is a little more approachable is J (jsoftware). Unlike APL, it only uses normal ascci punctuation marks. J is also open source, which is a big advantage over APL.
Fun fact: the dalai lama was once the world's largest slave owner in feudal tibet.
This is really nice work! I think I've found a bug where the highlight doesn't fully mark the part I've selected, though. To reproduce scroll down to the section "A second paragraph with some latin like text" and select that header, the entire paragraph, and up to the button below it. Then press enter. Only the header is highlighted.
Worth Reading: Mordern Love- Learning to Embrace Sexuality’s Gray Areas
(I don't think you should be downvoted for your question).

If he had phrased it the way you just did (in your middle paragraph) it would have been fine. He didn't, he just posted something inflammatory. so your middle paragraph is a lot better, it took thought rather than just writing down a literal truth. (it is also something nobody would disagree with, including me, and you certainly wouldn't have been downvoted for it.) If you had been the one to write the comment, I'd have also appreciated your suggestions as to what can be done about it systemically. your paragraph is quite productive, and an important point.

as a matter of fact, what do you suggest we do? (I mean concrete steps.) should funds try to set quotas for minorities, for example? (this is a genuine question, and I'm asking you littletimmy.)
I've been messing around with graphviz [1] and I thought I would make the parent comment into a graph [2]. You can see the code to generate the graph here [3].

If I've made any mistakes leave a comment.

[1] http://graphviz.org/

[2] https://github.com/Noelkd/GamerGateGraphiz/blob/master/Gamer...

[3] https://raw.githubusercontent.com/Noelkd/GamerGateGraphiz/ma...
I agree there is almost no content in this post. Reasonable cases could be made both for and against the point I think.
Does your script support doing the DVSNI challenge instead, to avoid needing to install a file on the web server?
SteamVR: The room-scale VR world that feels like an “IMAX in your house”
It's the ivory tower problem. I agree with you and the parent post.

Parent said:

"new less scrutinized algorithms may still offer a practical defense"

But in my experience that P word there is unknown to ivory tower dwellers. And so the practical peasants end up getting unrealistic (but theoretically correct) advice.
That statement just doesn't fit well with what is being said - what the author meant was something more like "my hypothesis is that constructed popularity goes down over time but since Wizards doesn't release data on this we cannot know for sure". This really should have been caught by the editor (cough Andy... cough) and clarified.
They just released a blog post about generating the certs. That means they are getting their. From looking at the code they have most of it in place, they just lack a few features, and testing. IMO it shouldn't take too long now. The first commits date from october of last year.
For those interested in a more balanced take on the matter: https://en.wikipedia.org/wiki/Serfdom_in_Tibet_controversy
I'm happy to hear the culture at your company has improved but I don't know if Microsoft is considered "cool" - or whatever that means.

Anyone who has been around long enough (and not really that long all things considered) knows better than to ever trust Microsoft. Their whole model has been, and always will be: "Embrace, extend, extinguish".

So Microsoft is opening some things up? They've had no choice as they are being left behind more and more. They know the modern developer is not as interested in an expensive IDE and MSDN account when there are many alternatives. We are creating so much more software than before and the top down model Microsoft sold has become niche after many years of dominance.

Any open project Microsoft gets involved in and any open standard they get involved in should come with a warning label. Why? Because this is in their DNA.
Adobe Flash Malware Is Up 300 Percent
What I would do as CEO of Twitter (from user #6)
This advances the art, but it is not clear that economies of large scale production can be easily overcome and thus it is likely that the future will be a mix of mass produced components assembled by various automated processes.
> The stuff we're working on is exciting and the corporate culture is starting to get healthy.

... because the "positive" energy retired.
I cant speak for J but this is the first APL program I ever wrote (it's in Dyalog) it take a wolfram code on it's right and an array of 1s and 0s on the left and returns the next generation for that one dimensional automaton (it treats the world as wrapping but it would be easy to clamp the sides to 1 or 0):

ODAT ← {(⊂[1] ¯1 0 1 ⌽ (3,⍴⍵)⍴⍵) ∊ ((8 ⍴ 2) ⊤ ⍺) / ⊂[1] 2 2 2 ⊤ ⌽ 0,⍳7 }

as a traditional function with comments and stuff its:

NG←R ODAT S;N;P;PS

⍝ First construct the eight *P*ossible states:
⍝ Creates an array 7 6 5 4 3 2 1 0 (⌽0,⍳7) and converts to binary (2 2 2⊤)
⍝ 1 1 1 1 0 0 0 0
⍝ 1 1 0 0 1 1 0 0
⍝ 1 0 1 0 1 0 1 0
⍝ Then encloses along vertical axis (⊂[1])
P←⊂[1]2 2 2⊤⌽0,⍳7

⍝ Convert the *R*ule from wolfram number to binary ((8⍴2)⊤R)
⍝ 110 becomes 0 1 1 0 1 1 1 0
⍝ Then choose *P*ropogating *S*tates (/P)
PS←((8⍴2)⊤R)/P

⍝ Take *S*tate and triplicates ((3,⍴S)⍴S) and rotates (¯1 0 1⌽) to create a matrix
⍝ each colume is a cell and it's *N*eighbors
⍝ A state 1 0 1 1 0 0 becomes:
⍝ 0 1 1 0 0 1
⍝ 1 0 1 1 0 0
⍝ 0 1 1 0 1 0
⍝ Then encloses vertically again
N←⊂[1]¯1 0 1⌽(3,⍴S)⍴S

⍝ Now we have two arrays:
⍝ *N* which is the current generation of state/neighbor triplets
⍝ *PS* which is the triplets that produce a live cell in the *N*ext *G*eneration.
⍝ we create a new array by testing for membership (∊) of current generation
⍝ and *P*ropogating *S*tates
NG ← N∊PS

Some of that might be idiomatic python but the thing is I didn't write it as the multi-line function. I wrote it by modifying the one line function. Which I did because that's how APL's data-flowy syntax/semantics encourages you write things and doing that in one line sure as hell isn't idiomatic python.

The determined programmer can write any language in any language. It's what we write when we aren't being determined fortran/smalltalk/whatever programmers that speaks to the difference in programming languages.
No, Plan 9 doesn't have dynamic linking. At all. And Inferno uses runtime loading, which is not the same as dynamic linking.
I had way more trouble with Consul then I ever had with etcd. Actually, I've had almost no trouble with etcd whatsoever, it was way more resilient and tolerant to dying machines then Consul was, which would repeatedly get into inconsistent states and attempt to connect to nodes that were no longer there. I've been running CoreOS on production with dozens of AWS instances over the past year and I really don't have many complaints. Most issues I've come across actually have a lot more to do with docker then the stuff CoreOS has built.

But I also handle upgrading releases differently, that's not something I trusted from the beginning and it's easy enough to disable their update system and stand up new instances with upgraded CoreOS images.

Also, looking at your quote I would consider it very out of context, the previous sentence right before that:

"If there were any changes to these etcd machines, AWS would reboot them to apply the changes, potentially all at the same time."

So they had Cloudformation potentially rebooting all there machines at the same time, I think any cluster is going to have an issue when that happens and really has nothing to do with CoreOS's update system.
Show HN: A reimplementation of Google's sparsehash in C
I think their characterization of the major shifts they detected are a little off the mark.

First, they claim that in 1982, Disco was ascendant (along with New Wave and Hard Rock). I would claim that by '82, Disco was waning, and it's the New Wave along with Hard Rock and particularly Metal (this being the climax of the NWOBHM in Iron Maiden that led to Metallica and other metal bands) at this time.

Then in '91, they claim that rock was receding, while rap was ascendant. The rap part of this is surely correct, although it had been building steam since the mid '80s. But their call on "rock" is surely wrong. 1991 was a hugely pivotal year in rock, but not as a death knell. The 1991 release of Nirvana's Nevermind shot metal in the head, and brought us the "Seattle Sound" that dominated rock through that decade. I would claim that it's the Seattle Sound that was the sudden sea change in '91.
Sounds like they are trying to manufacture startups like Lou Pearlman manufactured musical acts.

I doubt there will be a tech startup equivalent of the Backstreet Boys, though.
"They should absolutely move and find an easier place to live, and take charge of their own lives."

What are your views on large-scale immigration?
Not sure what you mean by grievance studies but most of those, besides being quite important, fit under the humanities label. Mathematics on the other hand, probably not.
Ask HN: Does IOT mean anything to you?
> But you should ensure that, as an employee, you are
> compensated for the risk you are taking.

"Oh no I lost my job" risk is already priced into current market-rate salaries. A startup may have a greater chance of laying off an employee, but the risk to the employee must also consider how quickly they're able to get another job at market rates. If the job market is tight, the risk is much lower.

What is unwise is to accept less than a market rate salary plus deferred compensation without thinking like an investor. At the very least one should consider how much their time is worth relative to the cost of investing, i.e. "H hours of my time at market rates is worth $D, therefore if I were investing $D of my time into this startup I'd receive C common shares."
Somebody must have gotten naked on one of their fiber pipes.
The fact that he insisted on a 6 deck shoe seems to suggest that he was, in fact, counting cards. I was under the impression that standard casino blackjack shoes were 8 decks (machine shuffled).

He may not have played as a standard card counter would (as that would make him more detectable), but he still could have made riskier plays when the shoe was "hot" to give him a slight edge over 49.75-50.25
With in-app purchases!
Yeah, if they just had a flat monthly fee for infinite phantom drafts, I would love that. Although having played on beta servers, infinite would probably be the wrong number as everyone just drops at the first sign of trouble.
Really depends on what the startup was. If it's a big data startup, then I'd put a lot of thought into based on the type of problem. If we were just building an app that needed some kind of data store, who knows, might even use something like Parse.

No need to prematurely optimize as long as you set yourself up to prevent lock-in.
Actually it says they gave the citizenship test to 1000 Americans to see how they would do. 29% didn't know who the VP was (so 71% did). 1000 isn't a massive sample, but I expect it's enough to say that the majority of American adults do know. Anyway, it isn't a very interesting discussion regardless.
Hey,
thank you for your feedback. Yeah, that are some problems with the selection that comes back (no textnode comes back but properly the body or something else). I have no solution for this so far but I will figure something out ;).
thanks!
I think you overstate the negatives. Assuming the $300k/year/displaced worker figure is accurate, I'd guess the other important figures are more like:

* Workers currently paid on average $40k/year will lose their jobs.
* They will get new jobs paying on average $60k/year
* The businesses that pay them will get an extra $200k/year in profit.

I pulled those figures out of thin air, but you can play around with them and see that it's very easy for a trade agreement to be good for everyone while still being disproportionately better for the people who control the business.
Reading comprehension. I never said what they did was criminal.
it does have the benefit of being true

Consider nafta: we traded relatively well-paying blue collar jobs for cheap manufactured goods.

https://en.wikipedia.org/wiki/NAFTA's_effect_on_United_State...

http://www.epi.org/blog/naftas-impact-workers/
Does anybody know how this handles multiple domains and multiple domains on one IP?
Even if this is common, you have to expect fake certs will be easier to get if there's no cost in failure.

If you need to pay for a cert before seeing if your hack worked, there will be less attempts.

This way, if your mitm failed, you didn't lose anything.
Smart move to focus on this segment.
At best can replace it with a Raspberry PI instead of a full on PC.
there was already a solution for that: .style in dom elements. it is a place where you dump style properties ad-nausea.

Why not simply add a single new property to Object? It would do the very same thing, would not change the language. it would be readily available to all browsers if you just added that single new key in your logic as you already do with .style and others, and everyone would move on with their lives.

I have to agree this is a duct tape by people thinking they know language design. Now i will have to wait until all browsers have this before i can use. and then i will still have to worry about older browsers (oh android, the IE6 of moment). Not to mention the time browser developers would waste actually improving things will be wasted on that syntax sugar.
Ask HN: Do you avoid reading articles on sites with paywalls?
I do. Especially the New York Times. They write interesting articles, but I avoid them because they are behind a paywall. I don't want to give traffic to web sites with paywalls and encourage it to catch on.
That's because everything the people of California vote for gets stuck in the courts for decades after it passes.
This setup is ideal IMO. Keep your existing files, like bootstrap, intact in case you ever DO use them but integrate this into your deploy process to do compression and minification prior to getting out to your server.

Workflow wise, this is a huge win.
As for J's cousin K, the official K interpreters are commercial (with a free workspace-limited demo version for tinkering), but there is also an actively maintained open-source implementation called Kona: https://github.com/kevinlawler/kona

I think K is a bit more pleasant to read than J because it relies far less on digraphs, but naturally it's a matter of taste.