skysight-inc/HackerNews huggingface dataset:
"Psychologists believe this is because the man is showing that he knows how to connect, to share emotions and, possibly, to be vulnerable. He also is indicating that he is interesting and articulate and can gain resources and provide support."

Why this disconnect? Isn't storytelling the act of connecting, sharing emotions, and being vulnerable? The article makes it sound like storytelling is peacocking. Doing one thing to display a related ability. Like flexing to show strength. But this is the real act. Of course people who are better at interpersonal communication are happier because of it.
>Partial Application and .bind(). Function.bind() in JS is about setting `this` for when the function is called

Everything after the first parameter to .bind() sets regular parameters.

>Lazy evaluation should be called a generator if we are doing JS specific naming conventions.

They used a generator as an example of lazy evaluation. Not all generators are examples of lazy evaluation, and not all lazy evaluation is done with generators.

Agreed about const. In Javascript, const is purely about the variable binding being immutable, and not a statement about the value itself.
No you idiot. This is a sign you need to make it harder to pass the test, not abolish it. It's nobodies right to operate a killing machine. Today the test is a joke.
You can't respond to terrorism with overwhelming force, its a concept. A tactic. It just goes underground when stamped out or gets taken up by other idealogues who act alone.

We went to fight extremists who happen to use terrorism. We also spent most of our time and money with our dicks in our hand instead of 'killing them before they killed us.'

They don't want you dead, anyway. they want you terrified.
"The men didn’t care whether the women were good storytellers, the research showed."
I see, and I agree that the accountability of cyclists (and slightly less so for motorists) in NYC is almost zero. I also agree that electric powered bicycles should be held to a higher standard than normal bikes, particularly in that their use is entirely illegal so it should be much easier to spot and ticket them. I mostly posted these facts because most non-NYCers don't even realize that these uses of a bike are actually against the law.

EDIT: I just read your edit,

> I find electric bikes even more destabilizing and most objectionable, because they are faster and quieter, and I think because they are favored by a statistical sample that skews toward more selfish/self-interested.

This is a good summary of my thoughts about electrical bicycles as well.
The Pacific Northwest is badly non-representative of most of America, especially the east coast.
If you're just in need of a brand kit $1,500 sounds pretty reasonable if it's a profressional agency. Specially if that covers a name, logo, icons, colors and fonts.

I would stay away from 99Designs because if you're launching a beta you'll need someone to also help iterate any changes based on feedback. So quick and close communication is important.

if you need any further input on what kind of things you should be looking for from a designer send me an email.

I've helped over 12 startups with branding including 2 YC startups.
The DAO code was reviewed [1] by the best security audit company in the world [0] and was/is made from irrefutable computer code [0].

[0] https://slock.it/dao.html

[1] https://blog.slock.it/deja-vu-dao-smart-contracts-audit-resu...
I was on the fence about that one and ultimately took it off the list. It seems to be fairly numerical, sort of in defiance to Axler's "Done Right" book. But then as a numerical book how does it compare with the others in that category, or with the old Russian books? I ask quite honestly because I haven't gone through Treil's book. Does it hold its own?
A second hand bike for $200 is more than enough for cycling in a city.
It was also written by cryptographers who for years asked for support, and got barely enough to keep the server running let alone live off it. Meanwhile the world and his wife joined in with feature requests and complaints about things they didn't like, but mostly without offering to help.

So it doesn't surprise me that unit testing, documentation, code review etc. weren't a top priority for spending more unpaid hours on - people literally got what they paid for.
Old previous discussion: https://news.ycombinator.com/item?id=8081384 (59 points, 731 days ago, 74 comments)

First comment by Dunnorandom

> For anyone interested, here's Scott Aaronson's response to the paper: http://www.scottaaronson.com/blog/?p=1767#comment-103591 .
The appeal of startups is they are the only chance to be paid what one is worth. The alternative is to toil for the rest of your working life making enough to live but not enough to ever be financially free.

The elephant in the room is software developers are massively underpaid. If so many are willing to take the risk is because a one in a hundred chance of success is better than a 100% chance of going nowhere.

I've played the startup lottery, twice, and look forward to do it again. I'd rather own a percentage of a company that has a minute chance of success than a contract signed in blood for a "market salary" for the rest of my life.
There is also a very cool chalk drawing robot installed at the SF MOMA.
I think the game's success speaks to the popularity of the franchise and the desire for fans to have this sort of game. I agree, they must have known it was so buggy before launching and went ahead anyway... because profits.

There should be some minimum level of quality regardless of the fact that if you shove crap through the door people will buy it.
The paper seems to be here, although all I'm getting back right now is long load times and a generic error page:

http://www.nature.com/nature/journal/vaop/ncurrent/full/natu...

I found a copy elsewhere (won't link, piracy, etc) and it does indeed claim an estimated density of 1 megawatt per square metre.

There definitely seems to be something missing here, because another paper I found (http://www.ijesd.org/papers/243-B20001.pdf) claims a typical reverse osmosis plant processing seawater uses 3-10kWh to desalinate a cubic metre of seawater.

They don't have any information on water consumption (which I'm really curious about), but the break-even point on energy consumption is ~333m^3/hr and, as a layman, that seems like a pretty high flow rate for how they describe this working.
If you think OpenSSL is bad, try MIRACL (only documentation I could find is a word file that's basically a list of function signatures). And OpenSSL at least generally builds fine on a vanilla Ubuntu machine.

In contrast, libsodium deserves praise for writing documentation like they want people to actually use their library.
My favorite:

You could have invented monads (and maybe you already have) [1]

[1] https://news.ycombinator.com/item?id=958789
Rooting and unlocking the bootloader are different. Root is having root on the OS. The Bootloader is what loads the various partitions. If your phone's bootloader is locked obviously flashing is a lot harder.

The mobile phone market is massive. Even if you can capture a small subset of the users you can make money. Not everyone needs a one step install process.
WWE Battleground 2016: Match Card and Predictions
If you take a few simple precautions (don't ride while drunk, wear something visible, don't be a child and most importantly don't cycle up the inside of large vehicles) then it probably isn't as dangerous as you perceive.
I dunno, I find they do it a bit differently. I usually tag in Picard first, then beets. shrug
I tried spoofing GPS with Niantic's Ingress game, just about the second time I played, and the spoofing apps relied on the fake location flag in the dev settings - of course Niantic checked to see if that was set and refuse to work if it was [until the system was rebooted, with the flag disabled, AFAICT]. Haven't tried with PoGo as I'm more interested in playing it [with my kids, honest!] than working out how it works.
Men generally have lower standards.

A while ago, I ran two Tinder bots connected to CleverBot; one with a female account and the other with a male account (Both with attractive pictures). Female matches did not tolerate the male bot talking gibberish, while male matches went out of their way to try and make sense of what the female bot was saying.

Hilarious as it was, I had to cut it because it was immoral.
Can someone explain to me what's going on with the control panel? I see three round things and rotating things below that. What are those?

Also, isn't it dangerous to have that equipment indoors in a carpeted room? Obviously he probably knows what he's doing and so I would guess it's not that dangerous because of that, but still looks scary.

Finally, how do you get that amount of power in a house? does he have a special installation that provides more power that a regular house connection would?
convenience, weather immune compared to a bicycle, feeling of safety that steel cage provides, speed (real or perceived)

its never too hot, too cold, to windy, to wet, to anything, for driving a car versus a bicycle or any other exposed mode of transport.

hence you can have all the articles you want about how there is a resurgence but it never amounts to any substantial numbers because weather is the greatest factor against it
Forgot to mention: once you reach a certain pixel density, you really hit the point of diminishing returns. 4K x 2K on a small laptop screen is going to look much the same to my aging eyes as 2K x 1K on that size.

Now, give me a nice 40 to 50 inch 4K on my desk, and that sounds pretty nice. I can sit back a ways, and not have to focus on something 2 feet away.
The code becomes kind of weird when you have to second guess the language.

Now, the approach PHP takes is fine for the original vision of the language. It even works great.

But languages designed for long running processes often have some sort of mechanism for dealing with that situation explicitly. Like the `NSAutoreleasePool` in Objective C. In C++ you might build your own custom slab allocator.

I'd say the garbage collector is one of the problems with PHP. Then again, if you run into it, PHP might not be the right tool for that particular job.
Pokémon Go Is a Massive HI(I)T Go HIIT Workouts
Only half of school spending comes from local property taxes. The other half comes from state and federal grants to poorer school districts. In almost every state, students in poorer districts get more money per student once you account for federal and state money: https://www.washingtonpost.com/news/local/wp/2015/03/12/in-2...
I've just ordered a kit for one of my bikes, I'm hoping it will allow me to replace more car journeys.
Marcin was not able to lead the project coherently. Groups of contributors joined for fairly short periods of time and then left, often disappointed and even angry. No idea, if Catarina has been able to influence him for the better. Let's hope so.
If Canada and US are in Africa and their borders where set by Europeans based on shares of diamonds, coal, gas, silver, gold or oil which is now shared by Shell or BP and you don't share ethnic groups, religions, traditions and you have 100x more ethnic groups than countries... then no. Not like in Canada-US. Did you know that some of those borders where made by Stalin just to provoke them, let them kill each other, provide them weaponry, so they could easily use their natural resources?
>My answer to "how much money would make you happy" is infinite. There will always be something I spend money on to make myself happier.

the point of contention with the other responders here is probably one of terminology wherein they are discussing previous literature (which really amounts to "reducing causes of unhappiness" more than "actually increasing happiness") and you are discussing actually increasing happiness beyond the "baseline" discussed in their cited studies.

i'm in agreement with both lines of thinking; after a certain point, money doesn't reduce the major causes of unhappiness much further, but it probably does provide more reasons to be happy, if only transiently. the hedonic set-point is far from a settled concept.
I have skimmed some books about Linear Algebra, both in Italian and in English, and my favourite so far is "Geometria e Algebra Lineare" by Enrico Schlesinger.

The book is very well written but sadly it won't be enough to pass a typical italian Linear Algebra exam. This is because, in my opinion, examples are too vague or too "abstract": when you're first learning such subject, it would be better to have layman terms, that is simple examples with simple numbers. More complex examples might be okay too, but simple examples should come first.

Reference: http://www.zanichelli.it/ricerca/prodotti/algebra-lineare-e-...
The author's beef with encapsulation seems to be that when an object A is used as an argument in the constructor to object B, the latter needs to do a deep copy (as keeping a pointer is not "safe"), which is of course not always possible.

I'm at a loss as to what this has to do with encapsulation, and even less able to understand how any language with user-defined data types is going to be able to avoid it.
I'd love to hear why Kafka is not good software, and what open source alternatives are available that scale the way it does.
I like tldr: http://tldr-pages.github.io/
I was going to write a comment pointing that out. But I couldn't figure out how to write it.

Go ahead, laugh. It means you'll be hesitant to make that kind of mistake, which is the main thing.
>There will always be something I spend money on to make myself happier.

I don't doubt your sincerity, but it might be worth considering that a common theme in American lifestyle-pursuit fables (i.e., "Brewster's Millions" [1985] or "Blank Check" [1994]) is that the kind of 'happiness' you're describing ends up being rather hollow in the grand scheme of one's life.

I feel kind of sorry for people who feel like they need more and more money to make themselves happier. It seems like a trap set by a society that values consumption too highly.
But what if your dream job requires an inordinate amount of resources?
I do this, I do get some occasional abuse about it but I'd rather that than get run into the kerb.
Europe is very homogenous and the EU is in a permanent state of crisis. If the AU tries anything like that they are dead the very same day.
>I guess as botted users start claiming gyms it becomes a problem //

It might be a nice problem for Niantic if that means non-hacking users pay to improve their own pokemon to try and beat the botted gym users? Provided the numbers of bots is relatively low it probably won't be a problem they feel needs fixing. I guess if someone is claiming more than a few gyms it's going to get flagged and they can probably easily spot if it's genuine or not?!?
I enjoyed that movie, the ending made me laugh so hard!

Note that that doesn't mean it's GOOD.
I imagine that a narrower river would be deeper and with a better channel, removing or at least lessening the danger of snags such as the one that sank the Arabia.
It sounds like you have no idea how credit card transactions were or are processed. They are almost exclusively file and batched once a day, even today. Back in the 1970s it was even worse because there was no real time authorization.
I have this only from experience, no hard numbers, but I've seen the types make more and more sense with more developers developing the same app. If it's just upto 2 devs I would consider writing it in plain JavaScript. Currently we have around 8 devs in frontend and having type checking via Closure saved us so many times.
It's also nice to use the same struct definitions both on Go server and in JS (we have the structs defined by protobufs and we generate both Go files and Closure JS annotations from it). It also gives us nice autocompletion in the IDE.
The problem isn't government, the problem is US government.

I've seen plenty of examples in other countries of government working well. Roads free of potholes. Trains that penetrate every part of the country, are well maintained, and run on time. Public school education that provides literacy rates in the 90%+ range. Single payer national health care systems that are cost effective and beloved by the people under those systems' care.

Our US government failures are an extension of our public's lack of commitment to the funding and policy needed for good government service.

The problem is us.
Generator is a specific algorithm that emulates a kind of lazy evaluation in strict languages.
Are the points on the surface of the sphere as implied by the title, or in the unit sphere, as implied by the quote?
Musical lifeforms and organic composition
One behavioral change in C++11 is the noexcept specifier; with user-defined destructors defaulting to noexcept(true). If you have pre-C++11 code throwing exceptions from within a destructor, e.g. to signal a violated postcondition contract, the program will terminate when such an exception is thrown after compiling the program as C++11.

Updating the code to function under C++11 requires adding a noexcept(false) specification to throwing destructors.
Transit Maps: Apple vs. Google vs. Us
Airbnb sues hometown San Francisco over rental regulation
It would be good to avoid this same kind of thing in Rust, even with official versioning policies there have been many releases which change things that are "unlikely to cause issues."
Presumably not everybody is depending on street parking. For those who live in 8 or 10 story buildings, how many don't have a dedicated parking space if they have a car?

Apartment buildings will start to have chargers, if they have parking spaces.
I've never wondered why some border are straight lines actually. Care to elaborate?
Power = energy flow per unit time. So you can talk about radiation output, radiant flux as it's called in physics, in terms of watts: 683 lm of light at 555 nm wavelength equals 1 joules/second (=1 watt) in radiant flux[1]. 20 kW in light output would be about 14 megalumens.

[1] http://www.dfisica.ubi.pt/~hgil/fotometria/HandBook/ch07.htm...
Same reason any other software is not good software. Chances are you don't need it and are reaching for a shiny tool. Kafka requires zookeeper and in my experience zookeeper is an operational nightmare. If you need an event bus then there are many out there that are much simpler and easier to maintain operationally with much simpler failure modes.

Don't just reach for something because it has been the most common thing posted on programming forums. The behavioral psychologists and economists consider this a well known cognitive bug.
Someone should email the authors of the paper for clarification.
Fine english, just with a foreign accent. No problem face to face.
Yes it is, note in particular that the randoms are normal, not uniform.
>You're presuming man pages are primarily meant to serve as a reference.

They are.
I feel that this is so important that I'll just quote the central part of Aaronson's response:

OK everyone: At several people’s request, I’ve now taken
a look at arXiv:1403.7686, and I can confirm that it’s
complete garbage.

Aaronson explains why, too.
I guess if you think a gay couple flying a pride flag is confrontational or rude, we have significantly different opinions to the extent that we can't come to any consensus on this or similar issues.

I'm also doubtful that the gay couple truly hasn't broken any laws. I'm sure that with enough digging, the homophobic neighbors can find a fence on the wrong side of the property line, a deck that isn't zoned properly, or something similar; the neighbors could even pass a HOA regulation prohibiting pride flags. Does that make it morally justified, because it's "their" homophobic town? It seems like you think so.
>If a player performs actions seconds apart that are separated by thousands of miles then the game temporarily ignores them, but after some time in the naughty corner they can resume play. //

I'm curious how the financial side works with the gameplay side - the people doing spoofing might also be those that are motivated enough to spend money on the game; you don't want to ban your whales [best spenders] just because they tried to cheat. Would be really interested to see how much of that weighs in to business decisions on crack-downs on unauthorised "play".
Thanks for this. Tldr is sleeping on your side may be best for toxin draining.
I've been in SF for 2 years. Had my $500 commuter bike stolen twice so far. This time I went for a $200 Craigslist big.

One issue is it seems silly to invest properly in security. For example a good lock is $60-100 no matter how much your bike costs, and locking pins for my wheels/seat would be $50 more.

Another thing is getting your bike stolen has a mental effect that I find exceeds the financial. If every time I go somewhere I'm not sure if I will lose my bike, it makes me want to ride my bike less. So I use it mostly to commute where I can keep it indoors on both ends.
I'm aware, but it really doesn't make any difference. The BCPL compiler, an early example of a retargetable compiler, itself featured an early example of an IR based on a VM [0]: OCODE [1]. In "BCPL: The Language and Its Compiler", Martin Richards, the creator of BCPL, describes OCODE:

> The intermediate form for BCPL is called OCODE, and follows this pattern. ... It can be regarded as the assembly language of a simple abstract machine for BCPL.

That sounds rather similar to LLVM to me! Richards then goes on to describe a stack machine and its instruction set, giving examples of how snippets of BCPL will look after the front end has finished generating the IR assembly language. He also discusses optimization concerns in the back-end as transformations on the instruction stream, and finally native code generation from the result.

Point is, whether the VM instructions get interpreted or further translated has no bearing on the fact that they represent instructions for some machine. That doesn't interfere with the VM code's ability to serve as an intermediate language. Do note, however, that not all IRs are defined in terms of an abstract machine (last I checked, admittedly quite some time ago, GCC's was not, for example).

Even in the case that a VM was intended to function via bytecode interpretation, it is still possible to treat its code as an IR. For example, Google has done this on Android for some time now: when an application is installed from the app store, the system AOT-compiles the Dalvik bytecodes into native code. Of course, some machines are better-suited for native-code translation than others, but translation is always possible regardless.

[0]: I continue to follow common practice here and use "VM" as a synonym for either virtual machine or abstract machine; the distinction between the two is unimportant here. Also, I'm lazy and "VM" is fewer keystrokes. Wait, did I just obviate those savings with this footnote? Eh, who cares :)

[1]: I'd mistakenly written "O-code" in my previous comment, but looking through Martin Richards's book now, I see that he in fact called it "OCODE".
OpenSSL is pretty bad. After reading about some of the stuff that lead the the libressl fork, I wouldn't trust it with my lunch money. Sure, the algorithms are good, but as far as the code's concerned, Heartbleed was the tip of the iceberg.