skysight-inc/HackerNews huggingface dataset:
It's frustrating to me that people perpetuate the fallacy that high self-esteem leads to schoolyard bullying. And it's mystifying that some critics of the self-esteem movement (such as the author of this article) are as strident in their criticism as they are.

The behavior that bullies exhibit isn't caused by high self-esteem, but by their need to overcompensate for low self-esteem through anti-social actions. They see themselves as inadequate, and they see others as threats. When people have this self-concept, their fight-or-flight response kicks in. Bullies gravitate toward their "fight" instinct, and social recluses toward their "flight" instinct. People with truly high self-esteem don't see others as threats, so they feel no need to treat them as anything other than equals.

Bill Gates and Warren Buffett don't feel the need to talk about how rich they are, or put down people with less money. Similarly, people who are truly confident don't go around talking about how awesome they are or bullying others.
While I agree it is not novel at all [1] it is a useful exercise for someone to do and it especially reinforces the notion that Turing discussed with respect to computability. For a long time (and possibly even today) every IBM mainframe could emulate (at speed or faster) all previous versions of their mainframe line such that the investment in software was preserved.

[1] I did a PDP-11 emulator on the Arduino with FRAM chips for 'core' which was made quite a bit easier by the existence of PDP-11 instruction set diagnostics, and other test software which validated the CPU was running "correctly".
I think a trustworthy Bitcoin exchange requires the software development capabilities/requirements similar to a real bank.

The amount of money at stake is probably not he same, but the anonymity of Bitcoin makes up for attractiveness as a target.

AFAIK most smaller banks use third party software/services. Maybe there is a need for a bitcoin exchange software provider that takes care of the critical parts and you build your interface/business on top.
I know CLR already supports exception filters - I've used VB.Net. You miss my point - the whole point of exception filters is to work around the way that the rethrow operation (that is, the naked "throw" without any given exception within a catch clause, so it pulls the contextual exception) screws up your stack-trace.

Rethrowing an exception should not screw up the stack-trace. But they do, so we need to use the irritating exception filter mechanic.
Obviously they want to stop any thoughts that haskell is a dated language, and they want to hook new people in at a faster rate.

Veteran users don't need any more encouragement.
I think the top blurb would benefit from specifying what modern problems Wake is good at solving. Certainly, the rest of the docs give a better idea, but most programmers have a short attention span regarding brand new languages and won't get beyond the first paragraph.
While I do generally agree with what you've written, I do want to take issue with point (1). Rust is actually intended to guarantee multi-threaded memory safety in safe code. Period. If you can get it to behave otherwise, it's a bug in Rust.
"I'm only getting paid $100.000 per year and it's so low, boohoo"

Jesus.

I live in the netherlands, which is a first world country with a very high cost of living, and the average senior developer here only gets paid half that money. If you earn more than that you belong to the 1% most earning people on earth. Have some perspective please instead of whining about how bad you have it.
If you need that much performance out of Python, it's probably time to switch to Go. With Python, you still have the Global Interpreter Lock, even in PyPy. Multiple CPUs, which you probably have available, don't help.
You seem very interested in this topic and I applaud your enthusiasm but I still think you are overselling the ease of this method. Basal temperature is tricky to measure and if you have any responsibilities of any kind in the morning you are likely to get the timing wrong or just skip it some days. Certainly those with a child or children already will find even sparing 90 seconds first thing after waking to be difficult. Children are selfish little assholes and aren't interested in your 90 seconds to yourself.

Cervical mucus that you gloss over involves sticking two digits way up your vagina every day and then evaluating the outcome. There's nothing wrong or gross about that but lots of people are unable to treat their own body with the required detachment.
> Not 7 transactions but 7 settlements per second, which clear in under 60 minutes. You can have as many binding transactions per second as you want off the chain.

If you're willing to engage in transactions off-chain then you might as well use PayPal or other fiat. The blockchain and the protocol surrounding its maintenance is central to Bitcoin and its philosophy, it's not merely some 'nice-to-have' feature that should be jettisoned as soon as it becomes inconvenient.

After all, the blockchain is the one and only authoritative Bitcoin ledger, everything else in Bitcoin is an IOU, no matter how sensible it might seem, which is why Bitcoin itself will reject a transaction if it's not included into a mined block in time.

And either way, way to ignore the in-practice 2-3 transaction per second limit.
More Previously:

https://news.ycombinator.com/item?id=3767410 (1054 days ago)
Thanks for those examples from Clinton Era, I was 15 when he left office so I know only a little of his legacy.

I am hard on Obama on cybersecurity because, after watching Citizen Four and countless CCC talks with Jacob Appelbaum et al, I just don't believe he is unaware of the damage to security his proposals will make. I suppose he could genuinely believe that more state intervention in our digital lives is ultimately the right call for our security, but I feel like the president would be informed enough to know better. But perhaps he is just in a bubble that makes it hard to see how harmful their security measures are.

Either way I agree that the issue is a citizen's issue and not a liberal or conservative one. Both parties have been failing to look our for their constituents and I feel like a true people's progressive party would be an important force to disrupt that pattern.

I guess I should be careful about accusing people of lying however, as it could derail my message when the specifics of lie vs bad idea are really not at issue. Thanks for the comment.
How does it prevent XSS?
There is a difference between "appeal to nature" and the idea that there may be more compounds and nutrients in whole foods, perhaps acting in tandem, in ways that we haven't yet figured out.

I don't think this article is particularly well written or argued, but at the same time, I don't see any appeals to animism or mysticism in it. The author is simply suggesting, albeit not as clearly as he could have, that we have focused in isolation on only a subset of the nutrients we actually need. Obviously, the responsible "next step" to that sort of argument would be to form hypotheses and undertake further study. But that's not really the function of the article, as far as I'm aware.

Consider the broccoli example mentioned in the article:

"A 2011 study on broccoli, for example, found that giving subjects fresh broccoli florets led them to absorb and metabolize seven times more of the anticancer compounds known as glucosinolates, present in broccoli and other cruciferous vegetables, than when glucosinolates were given in straight capsule form. The researchers hypothesized that this might be because the whole broccoli contained other compounds that helped people’s bodies put the anticancer chemicals to use."

Now, the "appeal to nature" argument here would be that there is something fundamentally irreducible or non-replicable in broccoli that we just can't reproduce in a lab, because nature. That's not what the article says. Instead, it says that researchers hypothesized that there may be more components to broccoli than we've yet figured out. That's science. Science is always probing at the edges of what we haven't yet figured out, or revising what we think we have figured out.

The author does his point no favors by harping about synthetic vitamins. I'll grant you that. But he's not advancing any magical thinking.
What does that have to do with the bank?
Netflix Recommendations: Beyond the 5 stars – Part 1 (2012)
It does. One of the differences is that our parents, grandparents and great grandparents have eaten "natural" foods as well so while they aren't completely undestood we often know a whole lot more about those risks.

(I guess I should mention, as far as I understand we now know that some of the natural ones increase cancer risk quite a bit, yes.)
3 Lists That Will Make You a Productivity Badass
Thanks. I wonder if I can automate that - although HN bans bots, right?
Bitcoin adds a new block to the blockchain every 10 minutes. The difficulty rate is roughly proportional to the total network hash power and is there to keep that constant speed of block generation.
The article mentions that "Sadly, I know of no widespread Linux tool that searches a file for a given sequence of bytes"

https://github.com/packz/ropeme offers a fantastic set of gadget searching tools.

You need to install https://code.google.com/p/distorm/ manually to get it running.
This is explicitly addressed:

"The problem with this approach to nutrition is not that there’s anything inherently wrong with synthetic vitamins — it’s the shortsighted nutritional philosophy that our obsession with vitamins encourages. Sure, our easy access to synthetic vitamins means that we’re no longer likely to die from acute vitamin deficiency diseases. But extra vitamins do not protect us from the long-term “diseases of civilization” that are currently ravaging our country, including obesity, heart disease and Type 2 diabetes — many of which are strongly associated with diet."

There is no appeal to nature anywhere in this article, but a general concern that hubris with regards to our knowledge of nutrition is dangerous, especially given that we have obvious serious health problems going on that our approach has caused.
I hope someone adds actual Instagram integration to post photos from within the game.

EDIT: I was sort of joking, but then again, perhaps this is actually a thing in some games. Click to share your latest World of Warcraft drop on your Facebook page, or tweet a photo of your last TeamFortress kill?
This is more a case of fraud than burglary. The attackers tricked the exchange into sending then tons of money.
That's odd. Your comments in this thread sound like "I'm not intelligent enough to identify a metaphor" to me. Strange how those things work, isn't it?
How to Machine Learn
Sunlight. We can synthesize vitamin D ourselves when exposed to sunlight.

One of the explanations I've seen for why Europeans are white is to enhance this effect, because Europe gets comparatively less sunlight than other regions in which civilization initially spread, but was warm enough due to the gulf stream to support agriculture, which produces a diet lower in vitamin D. So between the comparatively lower sunlight and agriculture, Europeans needed to evolve to be able to generate more vitamin D from sunlight, which losing pigmentation helps with.
Amazon.de down
This isn't an option when you have a large legacy code base in Python and you aren't the size of Dropbox.
> When you put $100 in a bank it doesn't matter if that exact $100 bill is stolen by a bank robber, you still have $100 in the bank.

For the majority of digital currency exchanges that I've used, deposits may be sent to unique address to associate it with your user record, but the funds are then typically moved into a pool to facilitate trading. I don't know off-hand of any exchanges that atomically isolate user funds and utilize the block chain to handle internal transaction reconsiliation. There's an off-shoot of block chain tech that is attempting to do atomic, cross-chain trading using the block chain, but it's still very new and experimental[1].

> Additionally bank accounts are federally insured.

Up to a certain amount. The standard insurance amount is $250,000 per depositor, per insured bank, for each account ownership category.[2]

---

[1] https://en.bitcoin.it/wiki/Atomic_cross-chain_trading

[2] https://www.fdic.gov/deposit/deposits/
These seem like great questions, thank you! Perhaps next time I get a chance I'll try them out. :-)
Just add it to one of the many HN browser extensions.

The tough part is correlating the different urls and titles while filtering out the irrelevant comments from past discussions. I don't just want to know that this is an old story (I can figure that out), or that it's a "cool project" that a commenter might use sometime soon, 5 years ago.

I want to know what the informed comments were at that time. Was it important in that time period? What were the concerns at the time? Did they abandon the idea? Why?
An investor’s perspective on the proposed drone regulations
Як Рінат Ахметов заправляє катами-маріонетками з ДНР. Розслідування – Спротив
Not every investment has to be a pyramid scheme. If you are generating value or selling a product then you end up with more money than what your investors are putting in.

What makes bitcoin into kind of a pyramid scheme is that right now a big part of the reward for miners is the 25 bitcoin you get from mining a block. Only a very small fraction comes from the transaction fees. The only way to keep bitcoin stable is by having a constant supply of new users buying into bitcoin by acquiring those fresh bitcoins from the miners.
Confirming that Manhattan is both much cheaper or more expensive... depending on how you live.

Manhattan, with their rent control laws, has one of the most bi-modal distributions of cost of living, probably in the world.

Doesn't really make sense when people talk about Manhattan as if there's only one way to live there. Tons of people still live the broke artist lifestyle there for very cheap -- although you'll have to be willing to have apartment mates and technically bend a few laws.
This is the dumbest comment I've seen on HN this year.

Even if he were in the top 1% (which he isn't), why shouldn't he strive to earn more and become top 0.1%?

Just because developers in your country can't negotiate better salaries, doesn't mean the rest of us should suck it up and only eat the breadcrumbs offered.
That's assuming that apparently dead branches being removed from macros and inlined functions will not cause issues with incorrect code relying on undefined behavior.
Why I'm betting on Angular and Ionic, and I think you should too
Thanks for pointing out those issues, especially given my example.

One thing upon further thought on the 117k. Self employment and W2 in an Scorp involve paying both the employee portion and the employer portion. ~15%. The 117k limit applies only to the employee side and only to social security (not medicare/OADI).

Beyond payroll taxes, it is possible that the Scorp might be able to have some income below the additional ordinary income on tax rates. (Mostly on true if the Scorp can keep its income below 34% rate (at the ordinary income rate ~ 28% at 90-180k)

I am not an accountant, and this is not accounting advice.
Also analogous to cooperative multitasking as used in the modern era in high performance server applications.

To great success, I might add.
6to5 has been renamed to Babel
Well, this would be weird for those who use terminal clients that assume the 80 character limit,(if any exist) on 80-column-wide hardware terminals.
The pH of the human body is tightly regulated, your diet can't really influence it all that much. Any dietary recommendation based on food pH is almost certainly pseudoscience.

It's amazing how much pseudoscience you managed to cram into this short list. Fasting to eliminate "toxins" and avoiding fluoridated water are based on pseudoscience or conspiracy theories as well.
Actually, in some cases the liability shifts to the customer:

As few customers object to terms and conditions, banks are
free to set terms that shift liability to customers. For
example, the Royal Bank of Scotland says [2]:

“You understand that you are financially responsible for
all uses of RBS Secure.”

So despite the bank having made many poor security choices,
the customer must accept the losses – a clear example of
misplaced incentives. The use of password also harms
customer interests because they no longer have the
statutory protection afforded by signatures where, in the
UK at least, the law makes a forged signature void and thus
prevents banks from using their terms and conditions to
make customers liable for forged cheques. It has already
been documented that many banks used the move away from
manuscript signatures to make customers liable for fraud
[4].

See "Verified by Visa and MasterCard SecureCode: or, How Not to Design Authentication"

http://www.cl.cam.ac.uk/~rja14/Papers/fc10vbvsecurecode.pdf

In other words, the customer gets both a user interface problem and a liability shift.

It is called in the trade "getting shafted"!
This guy needs to get a lawyer immediately. He's extremely naive in thinking he can 'fix' this. In addition, he's exposing his personal asset and future liability to all of these creditors.

As I said, amateur hour.
> toxins
There's two problems with the startup salaries.

1) They really do want someone that cheap. But as an Engineer we know the Cheap comes out Expensive; so if you respect yourself you should know better not to apply.

2) Really it's a different location. You could(2014, don't know if this is still true) find a DevOps employee for 220k for intermediate/experienced level. If he flies to NY his starting Salary is about 300k

Additionally; we have a surge of _disruptive_ capitalism. I have seen a company try and drive down the salary for a job in the area; they get what they pay for.

Respect yourself and when your gut says this job is a Lemon; either ask for more or tap out.
A good rule of thumb is any start-up options has to potentially be 2-5x better than I would get at a FSTE 100 (DOW 30 in the USA)

BTW British telecoms latest share save 5 years maxed out at £200 a month - just came out at £100k effectively tax free.
2. XSS injection. Any html coming back from a form will be efficiently sanitized just once on arrival. Unsanitized strings will be sanitized before being displayed.

http://www.yesodweb.com/page/about

I suspect this is accomplished through safe vs. unsafe types. Imagine the only function from `unsafe___` to `safe___` is the escape function, and all functions giving text back in responses is require to be of type `safe___`.
Those are for the more senior engineer grades at Google - the average engineer isn't making that much.
Toshiba Releases New USB Drive with Built-In Keypad for PIN Protection
Here's a couple of examples from my submission history. I've probably got better examples if I search farther back.

a) Isaac Asimov wrote a “paper” about a time-hopping compound called thiotimoline
b) In 1947 Isaac Asimov wrote a hilarious spoof of scientific papers about a time-hopping compound called thiotimoline

The first version is the title I submitted under. The second title is the one I would have liked to use. The first is 78 characters and the second is 115.

Here's another one (66 and 115 characters):

a) Saroo’s Google-Earth Quest: How an Orphaned Boy Found His Way Home
b) Years after getting lost at a train station, Saroo searched for his birth home using hazy memories and Google Earth

Another thing of note is that you can often squeeze a title down to 80 characters or less, but it really takes a lot of time.
Agreed, I feel like every JavaScript framework of the week should have this as well. What advantages does this tool have over everything else that is similar to it?
It takes a certain amount of balls to ask someone to work for free. Hell, I'm not even sure how that would be legal - especially in NYC.

That said, I see folks in New York doing this sort of thing all the time, just mostly in creative fields.
This. A hundred times.
As I pointed out the previous three times this happened to a Bitcoin exchange, these operators seem to be totally clueless about basic bookkeeping and financial controls. Consider a typical large supermarket. Cash, credit cards, coupons, and merchandise are being handled. There are multiple cashiers, usually more than one shift of staff, cash drawers, safes, cash pickups from an armored car service. That's a lot going on.

If there's a $10 bill missing, it will noticed within hours. Where it went will probably be figured out the same day. If someone is stealing, management will usually find out who, how much, and when.

The Bitcoin crowd has a much simpler problem. They're all online, they don't have a staff of people handling money, and they don't have as many special cases as a supermarket does. (Travelers checks, returns, check cashing, etc - Bitcoin exchanges don't have to deal with that.) Most Bitcoin exchanges are doing a few transactions a minute. Bigger supermarkets do more than that. Yet the Bitcoin crowd consistently botches it.

The Bitcoin crowd needs to get some people who have passed Internal Financial Controls 101 at a 2-year business college.[1] This isn't rocket science.

[1] http://www.georgiacenter.uga.edu/courses/governmental-traini...
The focus of my comments has not been on the methods' ease of use. I did write "easy to learn", and I think the research backs up that claim.

I am aware of what is involved in tracking the various signs. Like most any voluntary human routine – exercise, special diet, regular study, etc. – the hardest part is in the beginning, i.e. making the commitment, getting in the habit, sticking to it. How difficult or easy it is to adopt an NFP tracking-routine is going to vary by the woman/couple. If for some women basal temperature and cervical mucus are perceived or prove to be difficult signs to track, for whatever reason, they could look into the Standard Days Method (linked above). Some may prefer that method in the first place.
Or at the very least, add tooltips to the title links on the list views (comments, new, etc) so we can read the entire title when they get truncated.

For example:

Ask HN: How hard would it be to allow 120 characte...

why?
When you build something that stores or transfers money, you will attract adversaries.

These adversaries will have more skill, more time, and more tenacity than you do.

Knowing this threat environment, what will you do differently from the dozens exchanges that have come before you and failed?
So the basic take away seems to be: don't bother using async patterns for single, low latency connections to a server on your local network.

For anything where you're dealing with thousands of connections from random Internet hosts, "just spawn a thread for it" does not cut it. If you take that approach, you're setting yourself up to be accidentally DoS'd at some point in the near future. Async, on the other hand, has more than proven itself to be apt for this kind of scenario.
I would make a less-strict statement that "Undefined behavior should be reserved for cases where there might be some advantage for an implementation to do it a different way."

For memcpy it's never safe for it to access the byte at "src+len" (it could be past the end of mapped memory) nor is it safe to write to "dest+len" So if len==0 it should follow that it won't access either src[0] or dest[0].

The spec basically allows len==0 to be a special case for this rule, although it's not clear what implementation would ever be able to take advantage of that.
Met one of the guys who did in this in 2010. He said they have done many other projects of similar or larger scale but they generally keep them out of the spotlights. Impressive stuff!
If you're trying to convert a large legacy code base to async I/O you're up for a huge amount of work anyway.