skysight-inc/HackerNews huggingface dataset:
> The fact that they did work on herbicides-turned-chemical-weapons for USGOV doesn't mean anything about their ability to put healthy food on your table.

Monsanto & healthy food is an oxymoron. Try drinking some Roundup. I hear it's "safe" ;-)
I've tried "once upon a time there was a king" (the first common words in a lot of fairy tales), which in Romanian should have been translated in five words - "a fost odată un împărat". This tool gives me "cu mult timp în urmă a Trăit-o a fost regele" - double of that amount (and I stop before getting into comments about the translated content itself)!
Any command-line version of this? API? )

PS: A very nice tool!
Some companies collect that data so they can check they're not discriminating. Ideally it's on a seperate sheet or different part of the website; the information is psuedo-anonymised and goes direct to HR and never goes to someone doing hiring.
SSDs do behave like complex block devices from the perspective of a database engine. However, SSDs are sufficiently different from spinning disk that optimal I/O patterns are not the same. Some high-performance database I/O schedulers have separate storage behavioral modes (approximately based on common SSD and HDD behavior) depending on the storage characteristics.

Everything on a computer approximates a block device. Even RAM is treated as a type of complex block device in sophisticated, high-performance databases, because it is. Scheduling operations to optimally match the characteristics of block devices is a (the?) primary optimization mechanism.
The only thing missing for the non-emacs only users is Visual Studio for Linux... Even if it's not open source... Cue cabbage from Stallman and GNU-Onlyists.
Interactive Apple Watch in JavaScript + CSS – Codepen
Avi Bryant demo'd this exact concept at an old CUSEC: https://vimeo.com/4763707#t=27m20s

I wish I knew which paper he was referring to - it's a great feature :).
Nobody mentioned notebook in this thread. Maybe you clicked reply the wrong place? Spyder is the Python IDE that takes after matlab, not ipython notebook.
60 best open source tools to do DevOps
You still haven't realized that _your_ solution won't output anything without additional lines of code, have you?
Shouldn't be hard to update it to allow a second example row to be given so as to disambiguate. Alternatively, just expect the user to give a more perspicuous example of what they want. (I like that word, sorry.)
The growing industry of cleaning up after elderly Japanese who die alone
The fellow in question seems to have a fairly robust resume, at least according to LinkedIn: https://www.linkedin.com/in/robertpheath
Introduction to Gamification
Interesting! Of course, the VA would have followed up. A quick perusal of the papers seems to indicate that the connection between AO and cancer are "non-significant" at least in the studies done so far.

Little difference in risk, however, was noted according to dates of service, type of unit, military region, or any other characteristics that may have been associated with the use of Agent Orange.
https://www.opencongress.org/people/zipcodelookup

No matter how you feel about this issue, a quick phone call to your senator can help have your voice heard much louder than any HN comment. If you have not already, put your senators' and representative's phone number in your contacts list for easy access to democracy.
Oh, I hadn't seen this. That's very interesting, thanks for the pointer. I'll fix this ASAP.
No reason to apologize when it is only "combatants" who are killed, by the administration's definition.

"[...] Mr. Obama embraced a disputed method for counting civilian casualties that did little to box him in. It in effect counts all military-age males in a strike zone as combatants, according to several administration officials, unless there is explicit intelligence posthumously proving them innocent." [0]

So in the official language, a "military-age" male Afghan or Yemeni who is killed in a drone strike instantly transforms into a combatant by merit of being in a strike zone. Great.

[0] http://www.nytimes.com/2012/05/29/world/obamas-leadership-in...
New Google Sniper 3.0-Special Offers, Scam or Real ,Download Now
Yesod would be the closest to Rails.

Scotty would be closer to Sinatra and Flask. Spock is similar to Scotty but comes with a few more built-in features like type-safe routing, sessions, etc.

I recommend Yesod but there are certainly some advanced metaprogramming features (routing, models).

Have you checked out the Yesod scaffold site? https://github.com/yesodweb/yesod-scaffold
I may be missing the point of your widget but the Chosen widget does this (selecting items with tab) already. If I am missing the point, maybe you could fork Chosen and submit a pull request with your improvement?
So, unlike doty said below, we shouldn't treat SSDs like a faster form of spinning rust?

Where do we find real advice about how to best utilize SSD?
I think this thing is awesome. The amount of gullibility online / Facebook is insane, and this will either increase it, or teach people to be incredibly more skeptical. I'm hoping the latter.

Here's one I made in 5 minutes:
http://www.nytimes.com.clonezone.link/apple_watch_drone_stri...
Another bug:

Adding a middle initial to the first player (Carlos), but no other lines, and I typed in "Carlos plays soccer" results in:

Carlos plays soccer

baseball plays USA

basketball plays USA

soccer plays Japan

Cool idea though.
By not having preemptive scheduling, there are a whole lot of hoops that have to be jumped through. Spray.io is a disaster in usability in my opinion, for example. I've yet to find my code simpler and easier to maintain and debug when I use callback based async techniques. That is, however my opinion and personal taste. Others may disagree.
I cant criticize U.S. military policy while I sit in a temperature controlled office and write CRUD software.

The only thing I can criticize is the technology that makes it so hard for these guys to do their jobs. If Youtube can deliver 4K cat videos then the military with its $500 Billion per year budget should be able to deliver half decent videos.
Weechat config with screenshot
I signed up to HN just to reply. I suggest doing the MNIST dataset. The features are really simple (greyscale pixel values) yet it works very well. You can also play with different classifiers to see how they behave (training time and classification performance).

This will let you setup a whole pipeline from feature selection (in this case just normalise, you can try 0 to 1 or -1 to 1 or subtract mean then divide by stddev, or don't normalize and see what happens) to training the model and evaluating its performance with cross validation. Then you can check your CV results by submitting to the leaderboard.

I took Andrew Ng's ML course then played with the MNIST dataset. I learnt heaps by doing this. Then I got carried away competing in real competitions. :) That's where more advanced feature selection came into play as well as making sure your CV split is representative of the test split.

I was using scikit-learn and just swapping classifiers in and out trying different ones as well as trying different parameters. You can even roll your own logistic regression if you want and see how regularisation affects performance etc.
The first hard date for when liability for magstripe fraud starts switching from credit card companies to merchants is this October.
Yes. It was that leaked version, not the officially released code. Fortunately Id Software was very cool about the leak, looks like they've even accepted patches :)

""" wikipedia John Carmack ...
and the Doom source code in 1997. When the source code to Quake was leaked and circulated among the Quake community underground in 1996, a programmer unaffiliated with Id Software used it to port Quake to Linux, and subsequently sent the patches to Carmack. Instead of pursuing legal action, Id Software, at Carmack's behest, used the patches as the foundation for a company-sanctioned Linux port.[citation needed] Id Software has since publicly released the source code to Quake, Quake 2....
Perhaps you should meet people in situations where eating you would be more difficult....
Ask HN: Cloudflare down?
Can't access https://www.cloudflare.com/login
> it could be argued that even in C++, one needs to keep up with the C++11/C++14 curve

It would be a poor argument. An accomplished senior level candidate may not not follow all the proceeding of some language committee, but could have all kinds of important technical and non-technical skills. It's often more valuable that your engineers understand your problem domain well, produce code with a low defect rate in a steady rhythm, encourage others to excel through management or mentoring, etc.
I don't know of any case in industry where TLA+ has been used to prove a spec correct. AFAIK it's only been used for model checking. Read the "Formal Methods at AWS" paper for details.
Could you name some of these libraries? IME, most of the libraries that are needed for common things are very mature.
More specifically, a pedagogical artifact. Originally, fmap was spelled map. The list-specialized map was added to make teaching easier.
All of these companies should have been shut down for immoral practices. If somebody acts shady in the past, it doesn't exactly reassure me to trust them in the present.
In what way would you do it differently than the FTL. Are you familiar with all the restrictions and limitations of using NAND and how it impacts the FTL algorithms?
How is this done ?

Do you need to use some fancy AI or machine learning algorithm ?

Looks pretty mind blowing.

Mad respect.
These firms all have brand guidelines which are certainly not being followed/adhered to by this font. It's a nice effort but not a good idea to use in anything public.
I have some bad news for you: the US is not at all exceptional in engaging in these behaviors. It's SOP for every country on the planet. The only ones who don't are those who can't. If you want to boycott governments/countries that engage in these behaviors, you're going to have to live an ascetic lifestyle. And naturally, the biggest manufacturers/producers are generally those with the most horrific crimes in the recent past: the UK, Germany, Russia, China, Japan, etc. These are also the same countries with the most powerful global electronic surveillance operations - yeah, the US isn't the only one doing that, either.

America gets most of the flak because it has the most power and influence. But out of all the hegemonies and empires in human history, I suspect the American one is among the most benevolent, if not the most benevolent.

That isn't to excuse its behavior if you find it abhorrent. But it is what it is. We are very lucky to live in the times we live in. The world was not nearly so kind only a few years ago. World powers now talk soft and pass all kinds of laws and treaties and human rights conventions and pay lip service and quite a bit more to principles that would have been laughed at for most of our history. To take this particular example, almost all historical generals would have laughed in your face and called you an idiot if you told them depriving citizenry of food was evil and they shouldn't do it.

What I wonder is how long this situation can last. We are a great aberration and I do not think it can last forever. We're already seeing some of the consequences: guerrilla warfare is effectively unstoppable as long as we have moral compunctions regarding civilians.
Currently there's no real machine learning or advanced pattern matching involved. But we're certainly working towards that!
Apple's consolidated feedback on Web Components
An example of "dehousing"

http://en.wikipedia.org/wiki/Bombing_of_Dresden_in_World_War...
I thought it was a joke because of the typeface and choice of colours and ... well how it looks. It just looks silly. Here's what I see mid-animation:

http://i.imgur.com/wqD0v9h.png

If I were a web designer that's what I'd do to make fun of the concept.

Maybe it is serious.
Cloudflare's Site is down
> If work was non-stop fun, they wouldn't have to pay you to do it.

My work's fun enough I do essentially the same thing in my free time. But if they didn't pay they wouldn't profit from the work I do for them. What they're buying is the ability to impose scarcity.
No you don't.

The reason behind needing a salt normally is password reuse / poor entropy. But you don't have either problem with this situation.

Just have each peer generate a random number of sufficient length.

So, roughly. When you need more random numbers:

1) Have every client generate a random number of sufficient length and publish a cyyptographic hash of it.

2) Wait for everyone to ack that they have every hash

3) Everyone publishes the random numbers.

3) Every client verifies that everyone's random numbers match the hashes, and computes the final random value as the xor of everyone's random numbers.

As long as the random numbers generated by the clients are long enough / actually randomish, this should work.

AFAIK, this is secure. A client cannot delay until after they know other peoples random numbers, as it'll stall at step 2. A client cannot find someone else's random number from their hash, as inverting the cryptographic hash of a random number of sufficient length is infeasible.

About the only concern with this is spoofed network communication. And that's detectable.
App that rewards you for shopping locally
ComVey is an app that is trying to get people to shop locally.

Earn $5 for completing a local store's survey (10 questions max)

Still working on loyalty and messaging should be out soon.

Available on the Apple App Store (Free as it should be!)
This happened to me at Costco the other day. Chip capable terminal but it didn't do anything. The guy at the register had never seen anyone try to use it before. He didn't even know the new slot was there.
Ubuntu 15.04 hands-on
On this topic, can someone recommend a simple feature voting tool with SSO? Something similar to this but not tied to GitHub?

When I looked again at Get Satisfaction, User Voice, etc they're all so bloated with features and complication.

Looking for a way to direct my signed in users to a simple page to vote up a list of features we're considering.
> LIs are generic containers

LIs are actually kinda special. It's incredibly difficult to create your own LI in, say, web components because of their specialness (at least I've never seen it work in all browsers though there are probably some crazy hacks to get it there (or at least close enough)).

> which leads location dependency and specificity issues

You have a list of a specific type so you put a class on it. Why would that specific type of list now contain items that can be used in multiple places versus in that specific list and why would they ever be moved from that specific type of list? I don't really understand the issue you're trying to convey.
It is still on, in the War Remnants Museum. It is shocking, very shocking. I had to leave after watching only half of it. Not an easy view.
While your point isn't invalid it is important to keep in mind that popularity is not a valid proxy for quality.

Also he is focusing on large companies who have huge reasons they can't use Haskell, mostly related to internal resources. If you have several hundred Java engineers (for example) you literally cannot just switch to Haskell, it wouldn't work.
Haskell does support mutable arrays. Your code that does the mutating will have to live in IO (or perhaps ST), but the downsides of that are exaggerated.
Thanks for your feedback!

We'll fix this soon.
Does VS support C99 yet? While we're making requests I'd like that to get on the list.
> okay, they're way more reliable than Subaru engines...

Are Subaru engines really unreliable? I was under the impression that as long as you kept the power output under about 300 wheel horsepower that the entire drivetrain is pretty reliable.
Deleting secret data with public verifiability
That's a better, faster response than I have ever seen to this topic. I wish HN let me post a happy animated GIF to celebrate your choice!
When it's just you and a couple dozen other people, just letting you do your work is a pretty safe bet. But, when its you and a few hundred or a few thousand highly variable people, just letting you do your work has a strong risk of setting you up for failure. Somebody in that huge mass of people is going to screw up your work by running full speed in the wrong direction. That somebody might be you -not out of incompetence, but because you were mis/uninformed.

So, how can I repeatedly communicate dense ideas about how to keep hundreds of people aligned in dozens of dimensions using only extremely low-bandwidth channels such as weekly emails? One option is to use shared-dictionary compression in the form of a custom vocabulary of capitalized words. Of course, the messages will be inscrutable to anyone outside the org because they won't have the dictionary. But, that's not my concern.
You're right. This won't be a product for Americans. Scooters are much more viable in the dense cities of Europe and Asia. As an aside, focusing on the vehicle is missing what Gogoro is pursuing: batteries.
French and WebRTC Pride – Blue Jimp Joins Atlassian
Either I didn't get the joke or you're taking emoji a bit too seriously :)
I know the intent for this engine isn't for road-legal cars, but...

This runs on Diesel, and advertises a low-temperature exhaust; can someone who knows more tell me if diesel's need hot exhaust for emissions reduction? I know that they tend to use EGR for NOx, but every car with a diesel I've seen still has a catalytic converter to do something.
6 Reasons Your SMS Strategy Is Failing
I am irked by Review SPAM, that is, reviews which are posted to promote a product and not to critique it. Review SPAM dilutes the value of reviews and costs me time and effort to sort out the wheat from the chaff. There is probably a market (at Amazon and elsewhere) for a product that flags Review SPAM for removal.
Booksellers should just print the receipts on an actual bookmark. I can't stand touching that thermal paper every time I start, end, or interrupt a reading session.
A bad phone interview is very different from age discrimination. Was this lazy interviewer even aware of the candidate's age? If this is all they have, this can't possibly go anywhere. Right...?

Reading between the lines, it sounds like the guy got angry and argumentative with the interviewer, and that never ends in employment.

A better legal angle could be that the crappy phone line is discriminatory against people with bad hearing, such as many old people.

When I interviewed at Google in 2006, I had to read my scribbled 14 lines of code over the phone. It was kinda reasonable then, but I'm astonished they still do that when we have simple tools like this: https://coderpad.io/ not to mention Google's own Docs.
How to Create a Successful App Business
Which is why you should never use == with floats/doubles, but always <=, >=, <, > and why modern compilers have warnings you can enable to tell you when you do ==.
Not sarcastic... I didn't know about FlashFill. I looked at the videos, and it seems that it's not as powerful as this tool. In excel the results would be a custom cell format combined with custom text functions.
5 Clever Strategies You Can Learn from Top Content Marketers
Yes and no. There are other little things that crop up. For example, I just built a GlusterFS based file share but Windows does not have a GlusterFS driver so I've had to settle for NFS with failover. The Gluster driver is faster in my use case and allows for simpler administration.
Nobody said it in this thread, but it was stated in the article:

> You can think of it as an alternative UI to the notebook for the IPython Kernel
So, between Serbia and Croatia was proclaimed a new country speaking Czech!
Things I don't like at MIT
ViewSet/ModelViewSet feature in Java-based framework
I can recommend "Bomber Command" my Max Hastings for a very even handed account of the UK air campaign against Germany - my father was in the RAF in WW2 (not in bombers) and it's pretty difficult for me to combine the individual heroism of the aircrews with the awfulness of what it was they were actually doing - especially as the the impact on the course of the war was apparently so small.

http://www.maxhastings.com/1979/bomber-command/
Don't forget, for AmEx it's four numbers on the front instead of three numbers on the back.
Linked PM article has liquid piston targeting mid-50%s for their first engine.
Package management is what you need when you have a huge tree of unstable dependencies that have to be updated in lock-step.

Proprietary OS don't have that, which is why:

1) They can support stable binary-only commercial software, and

2) They do not need or benefit from Linux-style package management.

BeOS R5 had the stable APIs necessary to achieve a stable OS without Linux style package management. The shift away from that has also involved a shift away from the idea that the OS should ship ABI-stable libraries.

Linux-style package management isn't an appropriate tier-one feature for a modern stable desktop OS.
A good interviewer isn't looking for somebody that's suave and comfortable in the interview. They understand awkwardness, nervousness and that it's easy to make stupid technical and social mistakes under pressure -- and they may even relate to it.

But they still probably make a 95%-accurate assessment in those first couple minutes.
Solving a Tricky Problem
C++ is drastically different today from 10-15 years ago. Sure, so is Javascript, but C++ as a language and as an ecosystem encompasses vastly more concepts and operations than Javascript, and the language itself seems to add complexity at a much greater rate.
This framework really impressed me when I first saw it and made me immediately wanna use it. However, when I took a closer look I found a few things that annoyed me:

- The required HTML classes seemed kinda bloated and not semantic, but I intended to fix that with Sass (well, officially they're on Less)

- The input elements have weird animation on page load

- When I just dropped in some basic elements, like an input field (with its wrappers) nothing was really working. Things were not properly aligned and I had to add all this container/row/column stuff, even though I just came for the widgets

And last but not least what made me finally ditch it:

- To display form validation errors, I have to supply a data-error attribute which will then get rendered via css as a pseudo ::after to the label. That is just weird. I then checked how it works without JavaScript and saw labels overlapping placeholders.

It looks beautiful and I like how comprehensive it is. Really hope they'll improve on some of these technical flaws.
Yes, but we also don't have to pay for it when someone steals our card. (Well, not directly anyway.) Don't most countries with Chip & PIN place at least some liability for fraud on the consumer?
Great.
But can we first get a self-leveling table? I'm sure there are lots of starbucks/coffeebean customers who would like a self-leveling table.
Exactly. If you want so badly to bring your services to those markets, why not just bring your services to those markets? Why not challenge the inherently monopolistic nature of cable franchise agreements in court? Why not prove to your market that you are a superior competitor?
For a minute I thought it was 1997 all over again. Google is cutting-edge stuff. What I see is someone who hasn't advanced their skills since the Clinton administration and probably believes that "all business logic should be in PL/SQL".

And some are saying that their "front end" skills are bad - they don't have to be. I can whip up something better in a day just using the default Twitter Bootstrap template and not touching a line of CSS.