skysight-inc/HackerNews huggingface dataset:
So if I understand you correctly, what you're saying is, those who already have and are used to wielding power, are (whether rightly or wrongly, it's what their intuition tells them according to their experience so far) reasonably confident they can use existing power structures to manage what ever mess results and prevent it getting out of hand? That does sound like a reasonable explanation.
cool didnt know about the algolia tool! thanks for the tip :)
you're right hehe I should rename the problem to finding the number of back edges in the dfs tree, thanks for the feedback
Congratulations! Have you been testing this with Jepsen internally, out of curiosity? :)
Obvious concern troll is obvious, but I'll bite. The ACLU is not giving aid or encouragement to Ned Nazi to behave in that way, any more that it gives aid or encouragement to the other undesirable defendants that they represent in their activities. The ACLU in this hypothetical is working to overturn an unconstitutional law, full stop.
The Raft protocol only touches the metadata (table information, location of tables on physical nodes, etc). The query engine works the way it always did, so Raft shouldn't affect query performance in a measurable way.

There might be difference in performance for administrative operations (e.g. resharding), but they should all be positive changes!

EDIT: Daniel beat me to it.
I'm continually impressed with the rate and quality of rethinkdb's advancement. There's some really fantastic software engineering going on over there.
To me the first is far more quicker to read and understand, and I am no lisper. There is something immediately gratifying about the first that I find missing in the more laborious ponderous prose of the latter.
The problem isn't political, it's economic. Water shipped to farmers is sold at very low cost compared to the cost of desalinated water.

As far as I know, which isn't much, the only desal plants in California[1][2] are those which sell to urban areas for whom the cost is not a dealbreaker.

[1] https://en.wikipedia.org/wiki/Carlsbad_desalination_plant

[2] http://www.acwd.org/index.aspx?nid=383
I have really enjoyed using neo4j. In my opinion the highlights are:

- The Cypher query language is extremely expressive. I ended up being able to represent lots of business logic succinctly using it.

- Domain modeling is natural and very natural. For me the key was writing a script to drop/recreate my development db from some basic fixtures to allow me to experiment with a few approaches before settling on one.

- So many things that are hard to discover (using other kinds of databases) or require a separate ETL, mapreduce, etc., are straightforward cypher queries.

- There is no need for an ORM or doing ugly manual joins in code. I am simply doing some basic data/input validation and then shipping the validated structure to a cypher query.

- Even things like security/acl metadata is naturally expressed via the graph, so whole layers of a typical app can be abstracted quite nicely.
That's really a no-win argument. There's really nothing to gain, and you run the risk of looking like a jerk who has to correct everyone and can't accept being wrong in front of your date. Letting it go is the best answer, IMO.
I don't have the resources to do everything myself. Nor do you.

A little altruism is required for societies to function. (Nor did I say complete altruism is required)
Surely ClojureScript JS could just shell out to the Google Closure compiler, when available?
> Ironically, your advocacy for lack-of-privacy is exactly what would put people into more potential danger. First step to harming someone: knowing who they are to begin with.

Just a small note. I actually currently do support pseudonymity with the caveat that we need to find a way for it to exist non-hatefully. If Reddit, by shutting down problem communities or some other approach, manages to clean up their act while staying pseudonymous I will be very happy.

Incidentally I don't think your "total privacy" solution will work as we live more of our lives online. People will post PII. It's almost impossible for most people not to.
The biggest issue with alcoholic beverages are the taxes that go along with them. Some countries have very high alcohol taxes while others have almost none. That would seriously throw off the PPP calculation.
> Convincing a huge population of people to change their lifestyle is far more difficult than solving a scientific dilemma.

But the only plan they have currently is basically just trying to get a huge population of people to change their lifestyle: let your lawn die, take shorter showers, don't wash your car. Most (if not all) of the "conserve water" suggestions involve convincing people to change their lifestyle. Why are they picking the more difficult solution?
I mainly agree with that sentiment. What do you think about the TOMI tech, though?

http://www.venraytechnology.com/Making%20a%20Frosted%20Cake%...

I think it was a brilliant reframing of the problem: move CPU's to memory with its cost-benefit analysis rather than vice versa (status quo). The design also achieves what some exascale proposals are trying to achieve with R&D in terms of better integrating CPU & memory with lower energy. It's also massively parallel (128 cores) and optimized for big data. Close to your next big thing.

It's main risk right now is that DRAM vendors are more conservative and mass market than most fabs. There's not all this MOSIS, multi-project runs, and so on. Their low-volume cost is currently high (tens of thousands). They might be facing a chicken-and-egg problem in terms of hitting enough volume to get a nice, production deal. I do like their tech and think it has far more potential than what they're doing right now.
Yes, of course! We've also been working with Kyle to understand the Jepsen codebase better. RethinkDB does really well on the Jepsen tests in our internal testing. Of course it's up to Kyle to have the final word :)
Swating seems to me to go beyond trolling.

They are effectively abusing public resources with potentially fatal outcomes.
Why is serial data transmission faster than parallel?
Agreed linkbait, but I would have to say that people do care enough to act. To pretend that a huge population doesn't give a shit about water usage is a gross misrepresentation of the facts. I agree that California is not the model of water preservation considering the climate and water available to the geography. When statistics point to the fact that only a fraction of the water used in California occurs from lifestyle behavior, stating that the issue is lifestyle changes is failing to take into account any other information than pure speculation. The numbers regarding agricultural usage vary, but in most cases the amount used by things other than directly attributable to people is far less when compared to agriculture or any other source of usage[1].

The lifestyle changes that would need to occur to stem California's water usage are far more extensive and could easily qualify as a scientific dilemma. Basically non-california citizens are the "problem". When you're talking about drastically altering the diet of the entire U.S. (most likely other nations as well) due to the water being consumed by Agriculture it is absolutely a scientific dilemma.

[1]http://www.scpr.org/news/2015/04/15/50941/10-things-to-know-...
Oh, and I left out one of the biggest benefits. We will have a simple option to ship the compiler inside your application, to allow things like the ability to "eval". Just think of interactively inspecting and modifying a running application after it is shipped.
> I wouldn't be interested in readinh an article called "I how I almost saved the Internet"

The old title was "how I nearly almost saved the Internet starring afl-fuzz and dnsmasq"

That title gives enough detail to be interesting while still being a bit cheeky -- and the article itself is a bit cheeky. That cheekiness makes the article all the more fantastic, IMO.

The current title of "Finding a vulnerability in dnsmasq using afl-fuzz," while a factually accurate description, reads like a dry research paper.

Anyway, there are situations where changing the title is appropriate. I just don't think this was one of them.
No more keeping your mouth shut at meetings
thanks! right now I'm working on more examples where the information on the edges is used like finding the minimum spanning tree or the shortest path from a source vertex, I'd suggest to open a new ticket in the repo issues section so I can take a look at it later, thanks for the feedback
I'm unsure of why you got down-voted. Your experience is your own, and of course you're entitled to your own opinion.

With that said, I haven't seen the poor performance you described. Have
you tried another browser? Or a newer version (if any) of your browser?
Have you tried it with a separate browser instance without tons of tabs
open? If you continue to have issues, report the performance problem on
the Github repo and include full browser version and system info.
The other thing that is terrible is versioning. Lambda does not support versioning. And the resources/methods that you define for your various stages all share the same resources/methods, unless you want to change the signature of your calls. So if I want to change an existing Lambda function, then the minute I change it for my staging/test/qa environment, I have changed it for production as well. So, I can't roll back easily. I can script all this, but ouch. The alternative is to create a whole new API gateway, but that means that once I get my stuff tested, I essentially have to recreate my new environment in production, insteading of just clicking a button.

We have a client who is looking at sending a massive amount of data to a REST API. Looks like we are going back to Elastic Beanstalk, which is pretty good, it just has servers. But it works.

And, I'd say that using Dyanamo as a DB locks you much more securely into AWS than API Gateway and Lambda. Be pretty easy to take those Lambda functions and map them back into Express or Restify routes. Changing the database, arg.
It is less "its ok because it is my tribe" and more "i will not risk my standing within the tribe by speaking up against this".
Hack the inflight entertainment to display a scary action-movie ransom notice on every monitor in the cabin and see if you can't get the plane to go where you want.
<3 Why
I've had that on a few flights. Not quite as empty as you describe, but enough room where most in coach had 2-3 seats they could lay down in. Most often these have happened when taking vacations/business trips in the off season. Various places in Europe during the winter for example.
Why Enterprise App Development Needs Cross Platform Code
This looks fairly inaccurate. Right now on this page:

"The Swarovskis ran their crystal business, generation after generation, doing moderately well until WWII. How they have weathered WWII when almost all the other Austrian Jews were handed over, well, no information on that either. Some reckon that it’s most likely because optical lenses were important for the war effort, and Swarovski made the best."
Military Offices Attacked in Chattanooga, TN
Why not both — several copies of paper receipts can be provided with serial numbers. One goes to the voter, the others would go to the vote counters.

Digital can be used for a quick count, if there are any questions or need for verification the paper trail is there.

*Archival quality, not thermal paper.
Her son was an imbecile, no denying that.

However, she is right that fireworks are indeed explosives, it wouldn't hurt to restrict sales to 21+ (it may already be the case in most states) or even people with a license for the most powerful of them.
hey i was aiming towards the class room as well as a study aid
> Discrimination based on gender, race, nationality, sexuality, religion, age or physical disability.
Bullying or systematic harassment.
Incitement to or condoning of any of these.

They should probably take out the physical from physical disability. As written now they don't include mental illness in the list of stuff you can't discriminate against people for.
Google Analytics and Slack = Awesome
OED: Obsessive Efficiency Disorder
You're absolutely right. But that doesn't mean the value isn't comparable. I can still look at a photo of Pluto and know I'd rather learn more about that place than all the Kardashians put together.
Europe is larger than the US and should be able to compete but can't for some reason.
Bingo, the whole thing has taken on the contours of a psyops with the goal of silencing the opposition under the guise of "trolling".

More and more political debates have turned to a battle of "framing" rather than actually debating the positive and negative sides of some action (or inaction).
I have no idea how I got so lucky, but FriendsTonight is also on ProductHunt- please check us out! http://www.producthunt.com/tech/friendstonight
No, not at all like that.

Like holding a straight face and carefully putting forwards an extreme position which you do not hold while making use of the correct memes and language so that it appears congruent to outsiders.

A humorous effect is created because a line can be drawn between those of the audience that know what you're doing and those that do not. A selection of the audience watches on as people that are not in the know either get angry with you or agree with your bizarre statements.

It's effectively hidden satire and that's why it was so fun and so potent.
Women in tech vs. Humans in tech
Those people seemed to have it pretty together. I could point the author to a few much more interesting houses.
My God, it's turtles, I mean ClojureScript, all the way down!

This is really cool stuff. You've turned iOS into a classical lisp machine.
Introducing Upda – Find places near you to do work
All of these solutions are more expensive than free water that falls from the sky. If the drought ends, then you have an expensive white elephant on your hands.

If the drought conditions are the new normal, though, we'll wish that we started yesterday.
The idea that "memory doesn't matter" and "we're mostly waiting on the network anyway" seems like red herring.

It's not a "micro-optimization" to think of your data first. A program is a sequence of transformations on a stream of data. Figure out what your data is and how you want to transform it and your program will become evident.

FP is a fine tool for programmers to have but you still have to think about the data regardless. If you don't realize how the allocator works in your VM you might end up fragmenting your pools and over-allocating virtual memory for a simple process. For some applications that might matter.
The tools we use to run our company
This is starting to look like a debate similar to "where does tagging stop and graffiti begin?".
Cool. Any way I could connect my Neo4j API and visualize the db or individual requests?
Ask HN: What kinds of out-of-band failures do we forget to test?
I came across an amazing presentation years ago (which of course I can't find) that listed a bunch of kinds of failures for remote services that people usually don't test for.

In addition to timeout, 3xx, 4xx, 5xx, etc, it listed things like:

-connection closes after 10 bytes of data
-returns 200 OK but no content (got this one in production today)
-returns contents of www.google.com
-returns contents of /dev/random
-returns contents of /etc/passwd
-returns correctly-formatted unicode chinese text
-returns ansi color control characters
-returns an incorrect content-type, labeled correctly (You requested Content-Type: application/json, I send -back Content-Type: application/jpeg)
-returns one byte of data every 29 seconds

What are some types of "out-of-band failures" you've encountered that developers don't usually (but should) test for?

(extra bonus points if you can find the original presentation)
I hope more projects start using it (or C99) over C89.
Ok, you've made a strong enough case that we'll set the title back. It isn't that linkbaity, because "nearly almost" is clearly self-deprecating, and it won't hurt the front page to let the author's cheerfulness through.
In essence invoking Poe's Law intentionally.
Ahhh! I thought it was passing the accept function and not its result. Been too long, ruby! Thanks guys :)
Do we know that though? Many people who are users or are web devs or project managers or executives? I think that's why there's been a trendy towards minimalist design; it looks pretty good and it's typically fast.
> If a company makes promises that it can't keep, then what.

If the company is allowed to break the promise, then it benefits at the cost of trust. Not merely trust in the company, but trust in general. This ends up being a cost on all other entities (actual or legal) who will ever depend on trust. In short, it is a form of theft.
It doesn't really bother me as we've seen it coming for years. Anyone playing smart is not relying on a process node jump rather than better architected systems. I think the fact that they bought Altera and might do on-board FPGA logic more than balances out here. I'll take an FPGA-accelerator on their on-chip NOC over an incremental increase in performance/energy any day. Even big companies such as Microsoft are wisening up to the fact that a proper split between CPU and FPGA logic has significant advantages.

I'm curious to see what AMD will do in response to both the delays and Altera acquisition. Wait, a quick Google shows AMD to be so bad off that a FPGA company (Xilinx) might buy them. Lol. Ok, well the market is about to get interesting again one way or the other.
It sounds like the guy just wants his privacy. He was even outed at some point.

Can't we just leave him alone? Does it really matter?
I didn't know you could request no maid service. I usually leave the Do Not Disturb sign displayed on the door during my entire stay.
WebSockets server from scratch in 100 lines of Ruby
What do you mean by testing for dependent variables?
I'd write that function like this:

def absolute_path(path):
if not path.startswith('/'):
return '/' + path
return path

This way you don't have to keep track of mutating the path variable. I do find that more readable - it's clearer that there are two paths through the code. That said, this example is trivial enough that I'd probably do it with an inline if/else statement, although still probably not a lambda:

def absolute_path(path):
return path if path.startswith('/') else '/' + path

This way it's more obvious at a glance that you're defining a function. It's easier to follow someone else's code if they generally adhere to standards, and Python is a very convention-oriented language.
Yep, media in their click/eyeball baiting frenzy has become megaphones for the extreme margins. Thus turning molehills into mountain ranges.
A Wide Perspective for Designing User Experience
Was the email you're replying to connected to the issue you're discussing? If yes (e.g. Support Forum message), then no-reply is a bad UX and it absolutely should connect to an appropriate channel like posting the response to the thread. If not (e.g. Marketing email), you're probably trying to talk to the wrong person anyway. Besides, having a person in marketing sifting through all those emails to try and find relevant emails is imperfect and slow with the chances of signal getting lost in the noise highly likely.
How this is different from fabricjs or snapsvg?
There's another anomaly for #1:

There is a "rundll322.exe", should be "rundll32.exe". Also, its description is "Print driver host for...", which would not make sense for the real rundll32.
To me it reads as a list of vulnerabilities they are guaranteed not to find.
The ad exchanges don't care for repeat viewers. Its purely a numbers game. More clicks more revenue.
Because the internet is crazy. I don't blame him one bit.
Another way to think of this problem is find a feasible flow in a complete graph that satisfy all vertex demands and using minimum number of edges.
I've been using the Reagent library for all my web UI's and it's simply incredible. I desparately want to translate this same workflow to iOS.

I'm a huge fan of React Native, but it's just not the same writing it in Javascript vs. using ClojureScript/Reagent. With the Javascript React Native workflow you're still forced to include npm modules to do basic enumerations, and the technical debt added to your codebase because of JSX is really painful.

Since Reagent components turn into React functions it seems like you should be able to write React Native apps in ClojureScript/Reagent and solve all these problems. I just don't even know how to start setting that up. Can I just use the regular CLJS compiler to save a javascript file and run it on the iPhone? Is there a tutorial or really simple example of the clojurescript to react-native workflow somewhere that you know of? If you wanted to learn more about this stuff where would you recommend starting?
Are you aiming for production quality over WAN or LAN?

Obviously latency is an issue but I'm not sure with the way RethinkDB replicates what the performance penalty would be for WAN in terms of write latency.
Elasticsearch 1.7.0 and 1.6.1 released with high security issues resolved
thanks for the submission OP!
https://news.ycombinator.com/item?id=8973023

Did the user edit it? I remember commenting at the time bacause I had two tabs open to the same discussion opened some time apart from each other and the title was different on them.
My roommate is a flight attendant - he informed me of term for transporting passenger-less commercial planes: "ferrying".
The (scientist approved) test for determining basic matter phases is very rudimentary. Put the object/quantity in question in a can. Does it fill the whole space of the can, no matter what size can you use? Then it's a gas. Does it fill just the bottom of the can? Then it's a liquid. Does it instead retain its shape? Then it's a solid.
Yes it very well could. It really is the same compiler - and the compiler generates Closure Compiler compatible JavaScript.
Reg: Furthermore, it is the birthright of every man ... Stan: Or woman. Reg: Why don't you shut up about women, Stan, you're putting us off. Stan: Women have a perfect right to play a part in our movement, Reg. Francis: Why are you always on about women, Stan? Stan: I want to be one. Reg: What? Stan: I want to be a woman. From now on I want you all to call me Loretta. Reg: What!? Stan: It's my right as a man. Judith: Why do you want to be Loretta, Stan? Stan: I want to have babies. Reg: You want to have babies?!?!?! Stan: It's every man's right to have babies if he wants them. Reg: But you can't have babies. Stan: Don't you oppress me. Reg: I'm not oppressing you, Stan — you haven't got a womb. Where's the foetus going to gestate? You going to keep it in a box?
STAN starts crying.
Judith: Here! I've got an idea. Suppose you agree that he can't actually have babies, not having a womb, which is nobody's fault, not even the Romans', but that he can have the right to have babies. Francis: Good idea, Judith. We shall fight the oppressors for your right to have babies, brother. Sister, sorry. Reg: What's the point? Francis: What? Reg: What's the point of fighting for his right to have babies, when he can't have babies? Francis: It is symbolic of our struggle against oppression. Reg: It's symbolic of his struggle against reality...
Hourly rate calculator
Yup, that is a tad more modish.
Thanks so much for all this feedback, you've been a huge help. Now I'm off to do some brainstorming, sketching, prototyping, and asking more people more questions :)
Great point. But I really enjoyed reading the article for some reason, maybe it's just the style.
The article by Ben Thompson on Stratechery is a good one to go along with this one.
https://stratechery.com/2015/why-web-pages-suck/
The urban legend says that it's like pitch; if you put it in the can, it will slowly fill the bottom of the can, but it will take many centuries since it flows so slowly.

This is not true, but it means your test would not convince anybody of anything.