skysight-inc/HackerNews huggingface dataset:
Scala cannot choose it if you code review. If you don't code review, you are probably in a mixed quantum state anyway, regardless of the language.
I have no problem washing my hands in normal restroom sinks.
What's next, bidets for those who don't wash their asses?

(yes, I saw the article about Japanese toilets a few months back)
Docker already includes a registry :)

"docker pull borplk/tres.io"?

You can search at http://index.docker.io
Why wash if you're only using the urinal? Your penis is cleaner than your hands.
Posting your prices is revolutionary? It's about time for this sort of thing, but damn the medical market must be in an unhealthy state.
Exactly what I thought... Some tall, drunk, guy (me) will ruin it for everyone else.
And web UIs for docker:

https://github.com/crosbymichael/dockerui

https://github.com/ehazlett/shipyard
Rust used to have a "pure" annotation, but it's gone, partially because it was a pain to have to write the annotation everywhere, partially because it's not needed for memory safety anymore, partially because nobody can agree on what "pure" means.
Sure. IO plays a part of a larger system of monads and functional programming, but it's not a prerequisite for impurity to exist -- it is more like a happy confluence of various strands of functional theory. After all, Haskell had I/O before the IO monad existed (although it was apparently not a happy solution).

Personally, I find monadic I/O theoretically elegant, but it comes at the cost of clumsiness when applied to real-world programs. To me, Haskell's "do" blocks feel like an implicit admission of this clumsiness; they are a crutch to work around the fact that having to constantly wrap and unwrap data is something of a chore.
These types of links are why I love these types of posts.
Ummm... We wash our hands regularly to promote hygiene.
Do you wash your penis as often as I wash my hands?
The FBI should be forbidden to use information obtained through the FISA process to make criminal cases, and evidence that can be traced causally to FISA information should also be excluded as fruit of a poisoned tree.

What we should do is fix the incentives. If we want to restrict the targeting of mass surveillance to foreign entities, we should (and could) turn information on citizens gained from FISA into legal hazmat; any evidence a defense team could generate that an FBI investigator got their fingers into FISA data to help a case would/could/should create a huge hassle for the AUSA in court.

If there's some other use we're worried about the USG putting NSA surveillance to, we should identify that specific use, identify the incentives behind that use, and fix the incentives.
Thanks for the feedback! We are split on whether we should exclusive make it a habit-building app. Lots of people use the app just for logging. Goal setting would definitely make it more useful - we have to figure out how to implement it without forcing it on people who don't need it. And yes, the design needs work :)
No Waiting In Line At Restaurants Anymore (Video) | High Tech Point
Custom cut the foam inside http://www.pelican.com/ cases to your bodies/lenses and your photo gear will be fine in anything short of a plane crash. And, in that scenario, odds are it will come through a lot better than anything you pack in overhead.
I think what he is saying is that your work is in vain because it doesn't increase performance by 10x or more and that such small increases are nice but not nice enough to make it worthwhile to use javascript.
'certainly not resistant to fast growth'

Do you mean the opposite? Either way - "certainly" is a cheap trick. Reasons please.
> When asked whether folks might find the sink and the urinal a little too close for comfort, Jursons says, "It is more suitable for hygiene than just a urinal and then guys who don't wash [their] hands."

Doesn't answer the question for those of us that DO wash our hands.
No, jussij is right. It is your code which is not equivalent.

Your Java code is checking reference equality while the C# code is checking string value equality. The == operator works differently between strings in C# compared to Java. The only reason the Java code you wrote might "work" is due to Java interning strings so the references could be the same.
Well i know you`ll mess up another search engine
but here is one from the netherlands
https://www.ixquick.com/
And what about the anti-phorm-tools/plugins for your browser.
Wayback they had the slogan:"if you can`t convince `em - confuse `em!"
(...the troll)
You're missing the context: https://en.wikipedia.org/wiki/Embrace,_extend_and_extinguish
There are two performance choices in GC languages:
1) don't allocate after initialization
2) only allocate per small time frame
There is an issue that 2) is only really feasible in server settings and doesn't really work for clients. I buy his argument even though I don't wish to program under his restrictions.
As memory increases GC takes far less time as you far less memory is generally still being referred to. If your GC doesn't behave like this something else is wrong.
Welcome to yahoo - Sign in with Google or Facebook account
The idea of DFM is that any reasonably skilled engineer creates a design such that any reasonably skilled manufacturing/assembly shop can put it together.

Without following the practices of DFM, it is more likely than not that some part of the assembly will be done incorrectly, even if the assembly team was highly skilled and executing at a high level of competence.

With DFM, a moderately skilled EE, and a moderately skilled assembly team, will correctly manufacture the designated system.
This seems pretty tame, IMO. I think these folks should pick their battles. Better to have intelligent kids making noise (as they'll probably listen to you when you ask to quiet down) than to have belligerent kids who were raised with poor manners.
They put a bunch of college kids in an apartment complex. What else did the neighbors expect to happen?
How to Create SaaS Landing Pages that Sell
New Pay-later Gift Cards to Cut $10 Billion of Waste
> Selling coffee is the mission. Providing a place to hang out -- whether for a few minutes waiting for a friend or for a longer time -- is something that may, for some shops, be a means to advance that mission. But I don't think its the mission, or even a core service. If it was, they'd be selling that directly.

Really? And this is based on your experience running how many coffee bars?

Just today I was helping a friend with his resume, one who has started a couple of successful bars. The heart of what he had to say was about creating spaces for people to unwind, interact, meet, and just hang out. They were charging for the food and alcohol, but what they were selling was an experience.
Thanks for the rundown.

Checking the chromestatus page, I have another question: why so little movement in relation to the new Javascript features?
My personal perspective is that Google wants people using performant, standards-compliant browsers. Doesn't matter who made it.
> ... being treated for a heart attack, are situations where demand is completely inelastic.

Not true. Even in a sprawling place like Oklahoma City, most of the middle class lives within safe transport distance of several hospitals. It would be perfectly rational for them to tell the ambulance crew to drive another five minutes to save $25,000.

Most emergencies have plenty of time for price shopping.
Exactly, these employees would take their children to the emergency room/urgent care. They weren't getting check-ups, but if the kid had a high fever, they would bring them in, get them seen by a doctor, then be on their way.

When asked about billing they simply said "I don't have insurance". Many hospitals, including the DSH (disproportionate share hospitals) write these things off all the time. The hospital just doesn't bother following up. Are you going to spend $200 to chase down a $100 hospital bill?
That's probably why the faucet is "hands-free and sensor-activated" :)
It's not obvious to me that the example you give is "downright easy, provided you understand the material". Now, I understand the material, and I find the example easy. But I can see that it involves a few little cognitive leaps which it may not be reasonable to expect a student to make. The straightforward solution, I think, involves considering x < 0 and x > 0 separately. How is a student supposed to know that that's a reasonable option? Is "when a question uses the phrase 'the same sign as x', try considering each sign separately" in the textbook? Are students supposed to figure that out somehow?
I think the issue is that fairly immature college students are making enough money to live a mature life, and they are thus being transplanted into communities of middle-class people in the bay area.

Without commenting on the pay of these interns, perhaps Google should consider arranging centralized summer housing for these interns purely because of the difficulty of the local market. It would be yet another perk for recruitment, and ostentatious behavior by interns could be curtailed to Google-controlled areas.

The intern I recruited for the summer in SF seized my offer of an air mattress on my floor for the summer, and I can't help but think that these other interns are just being forced into an awkward, foreign environment rather than intending to cause ruckus.
"like a dorm now"

This person is exactly right. That's what happens when you house 400 university students together. I don't see how this has anything to do with them being Google interns. It's completely reasonable that the residents are upset, most people would be if their quiet apartment became like a dorm, but this is the fault of the building management, not Google.
This sink would actually discourage me from washing my hands. I'm not going to handle my relatively clean schlong and then try to make my hands clean by using a sink that's splattered in yellow! This certainly would succeed at making me use less water though!
Because you won't make any money. If you have 20 * 2 seater tables you're looking at:

$60-80 coffee per 4 hours - x * $40 for four hours of a barista(s) - employee overhead - electricity - internet usage - business overhead - rent = < $0

Rent is the limiting factor in this model, you want to be in a high traffic area to get those customers but not have to pay ridiculous rent and still have a decently sized store. Not going to happen.
The only problem with that is the leftover toilet paper. You can't put it in the urinal, so you have to put it in the trash. That would cause the trash to fill up quicker.
Iamagamer to challenge gender perceptions with protagonist jam
Build a 'Hacker News' clone with Django, Part 3, (CRUD and Comments)
"the windows community". Huh. Do you really think such a thing exists?

(I'm just kidding; of course it does. We meet monthly and talk about ways to snuff out free software, as is our way).
No libraries. Ordinary web browsers for the client side.

A minimal HTTP server that recognizes GET requests, finds the url, throws away everything else, runs the relevant code and returns an HTML document of the results is actually really easy to write. And easy to integrate into an existing event loop.
There are plenty of people that spent 10,000 hours studying math but due to mental limitations are far from experts. However, most people don't spend anywhere near that amount of time studying math unless there reasonably intelegent in the first place which suggests that the only validity to that number is the less gifted generally give up before wasting that much time.

What really makes math stand out is there are people who became recognized experts well before that magic 10,000 hour number. EX: Srinivasa Ramanujan http://en.wikipedia.org/wiki/Srinivasa_Ramanujan
>Stallman seemed to want everyone to make Emacs apps, not TECO macros. If that happens, ultimately we all suffer from the loss of an open TECO community.

Only nobody cares from the TECO community -- and you can still use TECO for your texts without the new "apps".

But a web where people code for a specific browser, is less fun (or even downright unusable) to surf with another browser. We learned that in the Netscape/IE wars era.

>More seriously, there are quite a few differences between adding a feature to an open-source project and adding a feature to a web browser shipped as an inseparable component of the operating system installed on 99% of personal computers.

That's all well, but browsers can gain market share too. IE had a minority share at first, despite being bundled with Windows -- people just preferred Netscape. So that Chrome is not bundled with an OS is not much guarantee.

Not to mention that in Android, Chrome IS the IE.
I used a water saving toilet in a holiday shack with a handbasin on the top which drained into the cistern below so the water got reused. Interesting idea but not convincingly useful. It lacked warm water for starters so it is a fairly casual hand wash and the water only ran while the cistern was refilling. As a water saving measure I am more impressed with no-flush or reduced flush urinals and dual flush toilets. Not sure on the hand washing aspect. Is walking a couple of meters to a hand basin really that hard?
Difficult to say. You can get cancer for tons of reasons - we don't know what kind of life he was living and so on, so it's kind of hard to say "most likely" in this kind of situation.
On the other hand you're touching dirty stuff (like keyboards, or doors in public places) with your hands much more often than with your penis.
This might be the strangest rant I've read on HN.
Assange: How cryptography is a key weapon in the fight against empire states
Well, if you read the article, the tap is sensor activated. You don't actually touch it at all.
Would you rather have Google not build anything that is not based on standards?
Thinking back on those lectures, they were a bit on the dry side and as there was a lot of restlessness during the lectures.

Also the paper planes had started to appear in earlier lectures and the prof did pretty much ignore them.

I think it in this instance it was the plane crashing into the blackboard (and making a pretty loud thud) only inches from his left ear that finally made him snap.
f(x) = e^(-x) works too :)

But the point is to draw a function with these properties. You just have to have a smooth curve that approaches 0 asymptotically and is concave up. No worries about graphing any particular function!
Personally I think washing your hands should be done before and after :)
Thanks for the hard work! One of my favorite libs!
1. In a non-adversarial situation, appeals will only ever go one way, so they'll act as a ratchet, in this case always giving the surveillance apparatus more of what it wants. In practice, the government won't appeal either; they'll just take more bites at the apple. (Yeah, that guy we wanted to surveil last week but you didn't let us? This week we still want to surveil him and we've addressed your previous objections. Sign here please.) So, what FISC says, goes.

2. I suppose I'm speaking of "The Law" in general terms, in that I don't imagine that FISC takes a red pencil to particular sections of the United States Code. However, "code" is a bit of a misnomer, because it's never "compiled". Instead, relevant terms that govern e.g. what circumstances justify a particular finding are interpreted in mostly consistent ways. The law effectively changes when those interpretations change. As a more specific example of this, I think Senators Udall and Wyden have been pretty clear in their accusations, at least recently. If you don't find their complaints compelling, why not?
If building security is honestly unable to do anything about it (as mentioned in the linked article) I suspect the claims of residents are somewhat exaggerated. Especially considering some of the "havoc" they're causing is jaywalking. While it's undoubtedly important to be a considerate neighbor, I suspect there is some overreaction here.

Edit: I read both stories and the Yelp reviews[1] that sparked them. They're nothing more than blogspam designed to make people go "Oh yeah I can totally imagine what they might be like..." and project their own ideas of noisy college kids on to these interns.

The interns aren't blasting music, screaming in the night or breaking anything. It's telling that one of the accusations against them is jaywalking.

[1]http://www.yelp.com/biz/crescent-village-apartment-homes-san...
It has an exciting splash page.
That's an entirely reasonable way to handle it. Simply designate a certain amount of tables off-limits to using for "work". Then the coffee shop stops losing business when somebody just wants to DEPRINK COFFEE for twenty minutes.
Because XML, the preeminent human-editable data interchange format, sucked balls. It's only superseded YAML because it can be stripped of whitespace and it has the word "Javascript" in it.
I guess I just don't see them that way. Most of the time my code is in pure land, and I don't avoid "do" when the result is more readable. I think the ugliest thing in Haskell is probably monad transformer stacks, but that's mainly because I think they're overused by folks who create more abstraction than they need as a matter of habit.

That said, the kinds of things I do on the side with Haskell tend to have a small, well-defined I/O surface, so it could be that I'm spared the worst of it by my interests. I suppose if that weren't the case I'd probably favor OCaml more than I do.
Yes, and I wash my hands also. But consider that you don't often shake penises as a greeting. I presume the GP's theory to be that a penis doesn't need to be washed regularly because it seldom contacts foreign bacteria.
Python for Big Data
We ship with support for login with Mozilla Persona. Hope to have baked-in support for Facebook Connect soon. Of course you can use it with any auth you want, but you'll end up writing some code...
I agree with you dfc. Not publishing opinions in this day and age is nuts. Everything should be published.
Typically you touch less things with it :)
Awesome. And you can brush your teeth and pee at the same time too.
Well, actually, urine is sterile. So cleanliness isn't really a factor in deciding not to use it.

It is pretty gross in an illogical way, though.
Maybe I'm just old fashioned, but waking your neighbors up in the middle of the night definitely sounds like extremely poor manners to me. And intelligence doesn't correlate with good manners, either.
I'm not familiar with the 18-wheeler anecdote you mentioned. Could you provide a link or details?
There doesn't seem to be a good answer for this problem. The original model that the modern university emulates is that a nucleus of scholars in a location have drawn students to them, willing to learn.

These days it doesn't quite work like that; lots of kids are there to punch their ticket. Ticket-punchers aren't motivated to do any more than the minimum. So yes, perhaps I've overlooked the other half of the equation.

A friend of mine is a teacher and I moonlight as an Olympic-style weightlifting coach. I once enthused to him that I could see the allure of teaching. He sighed heavily, then pointed out that my trainees want to learn. Of course I enjoyed it.
I wouldn't have anticipated that, but now that you say it I could see why that would lead to a debate. How would you deal with mutable data structures, for instance? What if it accesses the environment, but in a fashion you could somehow guarantee were safe? In Haskell the programmer can circumvent the system with unsafePerformIO if they know something they can't convince Haskell otherwise, but it almost seems like you'd need a "pure-but-not-really" annotation to do this kind of thing in an imperative language that actually enforced purity.
Have you ever heard of the tcp/ip protocol suite? I hear there's some things you can use to debug it. Might even support HTTP in the future.
> Furthermore, cancer is far from only problem mismanagement of nuclear power causes. Ask any of the tens of thousands of people who have been removed from their homes, many of them forever.

Yeah, especially when the ambient radioactivity was lower than the natural radioactivity observed in many places around Japan. The evacuation should have been temporary only (a couple of days/weeks maybe) until matters were settled and the radioactivity levels confirmed. Moving them away from their homes forever was a huge mistake and certainly caused more deaths than any nuclear incident. Living in temporary accommodation, you lose your job, your earnings, you are far from everything, which means overall worse welfare than living in a not-really-as-much-as-the-media-says "contaminated" area.

People are way too scared of radioactivity - just because they don't understand it one bit and are constantly misinformed by media, green peace and other organizations which have vested interest in promoting other energies.
Ask HN: Your opinion of Bootstrap
Reading the other HN posts about boostrap there seems to be a divide in the community that I struggle to understand.

Some love it (https://github.com/twitter/bootstrap 52k stars!), others hate it. Reading these posts does nothing in helping me decide whether my next projects should use it.

Whats the current consensus of bootstrap among the HN community?
By "too random" I mean that for games, one often wants "predictable randomness" rather than unpredictable randomness, and a stock PRNG or MT can be too unpredictable. (Which is generally good, but not always for games. Or for candy; the colors of M&M's aren't distributed equally.) Picking your random values from a distribution is one way to make them predictable and more life-like. e.g. if you have a target shooting AI, using a built-in rand() function to select an angle and radius on the target is probably okay for the angle, but using it on the radius will give you a bad-looking spread. Whereas a Gaussian-selected radius will look more natural with most of the shots clustered close to the center, and it lets you easily fine-tune the AI's accuracy by adjusting parameters of the Gaussian.

Alternatively, some sets of random values don't look random to humans, so as a game developer you might need to tweak it and make it appear more random to the player. e.g. these are some truly random bits from Hotbits (not a PRNG: https://www.fourmilab.ch/hotbits/secure_generate.html): '001101010011001011001000010100011010011111000001111101010011000111010000111000001011111000111011'. My pattern-matching human brain is annoyed by runs longer than 3 or 4 times, and patterns like 000111 and 111000. If you take time to filter out 'annoyances' you can make the player like your game more, and if you're careful you can do it without decreasing the entropy bits per byte too much.
Yes, because when you're living in an apartment that costs $3,200/month and can't fall asleep because your neighbor is blasting nerdcore music, at least you can find solace in the fact that the noisemaker is an intelligent, well-mannered computer whiz who is apparently so intelligent and well-mannered that he doesn't recognize making lots of noise in the middle of the night is rude.

As for darting out into traffic, there's an Android app for that, right?
Wow, there's an impressive chain of leaps to conclusions. You can have your license suspended for failing to answer a summons for a revenu^H^H^H^H^H^Hspeeding ticket. At no point is a lawyer necessarily involved.
Melbourne.

Vague because it's not particularly important where the location is, just that the idea has precedent, and it gets tiring having to note your location for reference every few comments.
Not even the people who live there have claimed that they're being awoken in the middle of the night. It just says they use the hot tube and once someone heard someone singing.
American Intern
Sure you can: http://hackage.haskell.org/packages/archive/ghc-prim/0.2.0.0...

You can't define RealWorld, though, nor (IIRC) is IO really a state monad.
For the interest of persons here assembled, this is known as "dimensional modelling". Done properly, it makes querying tremendously simpler and more powerful for end users.