skysight-inc/HackerNews huggingface dataset:
Yes you are correct. Because sometimes companies think its the project, or the location, or the weather, or who knows what. But if its the money, then you gotta say so.
If the US had dropped Pakistan in 1971 and teamed up with the USSR to support India and Bangladesh, who would prop up Pakistan?

Saudi Arabia? They have money to offer and no much else.

China? It's 1971. China is in no shape to get into foreign adventures whatsoever. Even if they tried, the Soviets could always rattle some sabers in the Far East and scare them off.
I actually see it a bit differently than buying a car. To me it's more like an auction where the person only has to actually sell the item if they are pleased with the final price. So if the price starts at $100 dollars and you bid $95 that person will probably not give you the item and wait for a better deal or at the very least sell at cost. That being said, I certainly could have been more assertive and said I will only move if you pay me X amount but then you run the risk of not getting the best offer they can provide because you have given them number. At the end of the day after the company low balled me, I told them I would need more money than that and they wouldn't budge so even so it was still a waste of energy.
I used to be a pushover in negotiations too. That's how I ended up making $55k when I later found out my coworkers were making $80k. So I applied and interviewed just to get practice with salary negotiating. After a week of trying I got an offer for $60k and I asked for $80 and we settled on $70. A week after being disappointed that I was making $55k while my coworkers made $80, I had a $15k increase. 3 months after that I switched companies and got another $10k increase. A year after that I switched companies again and got another $30k increase. Through negotiation, I doubled my salary from $55k to $110k in 15 months. It was uncomfortable at times, especially with counter offers and threatening to quit, but it's just business, and the other side of the table isn't losing any sleep over trying to lowball you.
Sentiments home page: http://www.sentiments.me/
Show HN: Codeless website analytics
I got a $5K advance on an AWS book that never even came out because they cancelled the contract after they paid the advance (a bunch of similar books came out in one month and they just didn't want to bother competing, especially since our book would be two to three months behind).
You seem to think the two concepts (financial accounting and upward mobility) are mutually exclusive.
Margaret Hamilton
The War on Drugs Has Made Policing More Violent
I was just trying to mitigate your disappointment ;)
Interesting, but sadly it has no way to redirect popup windows to tabs.
Show HN: Coderust 2.0: Coding Interview Preparation in Ruby
"If there's change, it could be worse." That is a terrible reason to support evil. And we actually did worse. We overthrew democratically elected governments to install police states because it was too "lefty" for our tastes. Iran, for example.
Cool, that's almost exactly the idea[1]. Although I would argue that resources should be immutable and versioned. Actually jsbin has a good representation there where you have:

http://domain/resource/version

and `http://domain/resource` just points to either the latest version or to a specific one that the author chooses.

The big difference between SRI and my proposal is that the hash go on the URL rather than an attribute.

[1] https://www.w3.org/TR/SRI/
Red language repository: https://github.com/red/red
I hope it's a very long time before acting to further the interests of the United States becomes a crime in the United States.

Edited to add: And I'm really surprised to see several people, I doubt any of whom would find positive connotations in the phrase "American exceptionalism", nonetheless arguing by trivial implication that the United States should unilaterally engage in military operations, within the territory of a sovereign state then being courted toward alliance, in order to change the outcome of a secessionist insurrection then taking place within that state.
>But things like touch screen drivers can be a problem.

Android has helped a lot in this regard. While still not perfect, it's definitely much more mature.
How will ESSA impact edtech funding in your state? Get the guide
Technically, you could have some stronger keyword than inline in future C and C++ standards, akin to constexpr. For hard inlining always.

For now, there are macros if an inline function does not work properly. Attributes to force inlining exist in some compilers, at least GCC and clang support those.

Additionally marking the function as pure if applicable can help optimisers as well.
Arizona man says bum Theranos blood tests led to heart attack, files lawsuit
Wow! Excellent read!.

It's even more impressive since the footnote says:

"This story first appeared in the Magazine of Fantasy and Science Fiction, December 1961"

Fifty-five years ago!

It reminds me of a recent hn article (if anyone has a link it would be great!) that I believe it was about how Dropbox tests it's storage system, layer by layer, and the final error graph is always a flat line at "0", since every error is caught and corrected in one of the layers below.

Will it ever reach the case where it will be impossible to really guarantee that we have the right data?

PS: I can't seem to find the article using Algolia or even Google... maybe it was not Dropbox but other storage company? I really would like to find this story but for some reason never marked it as favorite or even upvoted it! (maybe I wasn't logged in).
When the instigators and butchers of World War I (A completely pointless, devastating conflict) didn't get torn apart by their own people, I have little hope for responsibility and justice.

No, the more likely way for that bubble to burst is for these things to start happening to America, with citizens of the aggressor state justifying them as 'admissible under the circumstances.' Alas, political culture is not particularly retrospective - I doubt anyone would see the connection.
Happiness is based on how well you are off compared to others? I mean, this is incredibly sad. But it's true, for some, I guess.

This is why those who are making 15$/hour don't want the minimum wage to go to 15$/hour - even if they think they'll get a small bump to compensate.
Playing Pokémon Go before it’s released in your country
Yap, that's the gist of my post. It was just highlighting the irony.
This is just a data point, but I'll just say I disagree with your approach.

So let's look at the comment I replied to. He ignored your advice/approach and instead did things my way: as a result he moved from $30K salary to over $100K in five years.

That doesn't happen without considerable investment of time and energy.

Based on the fact that you are religiously inputting every transaction at point of sale, into a mobile app, and based on your being a HN reader, I will go ahead and make the prediction that you are able to earn within the top 10% of wage-earners in your city. My prediction is that instead of doing so, you are working equally hard to earn less than 50% of that amount. Go ahead and look up statistics and get back to me about whether I'm correct.

In other words, I am actively predicting that you are close to or even below the medium earner in your city, rather than in the top 10% as you have the ability to do so.

You don't have to tell me what city you are living in or what your earnings are, but I would appreciate if you told me whether I was correct.

By the way I can't visit your site, because your SSL cert is out of date and chrome won't let me visit it.

In the time you spent saving or stretching your rent, or inputing your groceries at the point of sale, you could have fixed that and been hired by someone who instead chose to pass on you since you can't even run your own web server.

It's a zero-sum game: either you are spending 30 seconds to a minute inputing expenses into your mobile app and using 'shoe leather' to walk around from store to store and evaluate your options so that you can shave a few pennies, or you are getting home a few minutes earlier and fixing your SSL cert and sending out another five resumes. It's one or the other.

I'd love to know whether my prediction about your wage is correct.

>The certificate expired on Tuesday, June 07, 2016 1:59 AM. The current time is Tuesday, July 19, 2016 5:50 PM.
David Chang's Unified Theory of Deliciousness
The thing about credit too - it can by manipulated to make someone feel like they can afford something when they really can't. If you stretch a car loan out for 8-10 years and only look at $200/month it looks like you can afford it, you don't think "I will be in car debt for the rest of my life." Repeat this a few times because each time it also appears affordable. Now you have no savings and are living paycheck to paycheck and can't get out of the debt cycle. You have some unexpected expense (furnace goes) and suddenly you are in massive financial trouble. This can sneak up on you if you aren't careful.
Node is getting pretty good. I'm a Perl developer of many, many years, and it is still my go to for command line scripts (and also web, but only because I really like Mojolicious and it happens to fit into existing systems). But, building command line tools in Node is no longer a crazy idea. It's still gonna be more verbose, by a lot, than Perl, for many classes of problem (data munging, file operations, almost anything that needs to interact with the OS), but the language has gotten nice with ES6. The libraries are pretty good.

It's really hard to beat the built-in "while <>" semantics of Perl for writing concise, clear, programs that take something in from a file or STDIN and spit it back out. Perl is effectively a DSL for writing command line scripts that live in a UNIX environment (they work OK on Windows these days, too, now that Windows has a reasonable shell with reasonable semantics for scripts like that).

If you want to write many small commands that are composable, Perl is a perfect fit. If you want to write one big application that does a bunch of things, the benefits of Perl look smaller and may even be outweighed by the bigger ecosystem of JavaScript/Node/npm; you can amortize out stuff like options handling and file/stdin handling across all of the functionality and it won't look like such a big part of your program anymore, compared to Perl (which gives you most of those things practically for free with one or two lines of code).
Your submission falsely implies that unit tests create reliable software. But that aside...

Avionics software is subjected to multiple rounds of peer review (often by different companies), integration testing, and in some cases multiple different implementations are developed and black box tested against each other for different outputs given the same inputs.
Even if they perpetuate genocide? War crimes? Internment and liquidation of troublemakers and undesirables?

All of these things have furthered the interests of the nation states that carried them out.
A robot that plays Pokemon Go
Graal and Truffle could accelerate programming language design
Personal observations: Indian consumers are highly price sensitive, and will usually go for the cheapest option. Saving money, bargaining and price comparison are almost ingrained in the culture. :) With this in mind, I wonder who buys from Flipkart and what reasons they have to buy from there (just familiarity?), because its prices are usually a lot higher than Amazon.in or Paytm or Snapdeal. The product selection (in electronics, kitchen items) is also smaller on Flipkart compared to Amazon.in.

Whenever I have checked Flipkart in the past to see if the price was comparatively lesser, I've provided feedback on the price, the specs listed (incomplete), and so on, right on the product page. But it doesn't look like any of that feedback was ever acted upon. For what it's worth, Amazon.in didn't act on any feedback that I have provided several times either (it fails miserably on simple things like sorting products by price or by another attribute, and hasn't gotten it right till today). Technology and website wise, both Flipkart and Amazon.in look like they're designed and developed by incompetent development teams, along with a product data team that has very little clue on product attributes and how to list them. The managers in both companies don't seem to care either.

The app-only strategy by Flipkart (which was quickly reverted) and Myntra (reverted last month) was a bad idea from the beginning. The apps involve too many taps and navigation back and forth between screens to refine searches or find things.
The more tech-savvy people distrust apps and also prefer a better shopping experience by using larger screen desktop/laptop browsers to open multiple tabs and compare prices (and maybe not logging in and clearing older cookies to avoid any user profile based bias that changes prices for certain users).
__forceinline in MSVC.
How I built an app with 500,000 users in 5 days on a $100 server
> Surely, the question must rather be whether
> it is morally acceptable for us to impose such
> a rule on other people.

When people are not considering the effects of their actions and possible harm done by them - litter, environmental - because it doesn't benefit them to do so, then it's the elected government's duty to step in and impose such rules. People have already made clear through their actions that in the absence of those rules, they won't behave on the best interests of the community.
Ah, yeah, I bet you're right.
Tips for Evaluating and Managing Risks in Partnership Agreements
I think what he's trying to say is that if you find yourself with problems that none of the senior people have had to solve before, it's very likely that you are modeling the target system as the wrong problem. As a strawman example, "how can i make a new class inherit from multiple classes" is attacking the wrong problem (multiple inheritance), but a junior person might not be aware that it's the wrong problem.
my opinion:

The second is better looking. I'd rather maintain the second.

But...

The first is easier to read. The shape of the code is enough for me to parse without effort. In the second, I have to "walk myself" through the code, even for this little example. I feel the effort required as soon as I have to start looking for the embedded commas.

So I usually choose something like the first, since time spent typing matters less than time spent thinking.
Probably because he started diplomatic relations with China, pulled us out of Vietnam

The U.S. left Vietnam because it lost the political will to continue in a mission that most of its citizenry began to see as a lost cause (on the heels of various other troubles on the domestic front). Kissinger, Nixon, and everyone else was just following the music, by that point.

[And because he] didn't start or escalate a military conflict.

Cambodia?

You want to throw all that out because of a strongly worded letter related to a territorial dispute that is still going on 40 years later?

That's not what the person above you was saying, of course.
But this one has an Apple Watch app! You can have your KPIs on your wrist! Because anyone's ever wanted that, ever!
I wanted to upvote this twice.
Wasn't there a dongle for an old computer like a spectrum or Dragon32 that you could emulate by waggling your joystick whilst the game loaded?
Volume rendering and slicing gifs
If you're obsessive about sleep, I think you'll be fine :) My mistake was doing 3 20 min sessions of pretty intense HIIT a week and then not getting nearly enough sleep (averaged maybe 6 hrs). I felt chronic fatigue at work - it feels like a heavy wave of exhaustion very different from typical feelings of tiredness. You'll notice your work performance degrade correspondingly. Under normal circumstances you might be able to get away with bad sleep for a handful of days or even a few weeks. Not so with HIIT. You have to have an athlete's level of attention to your recovery.

All that said, HIIT is the most effective kind of exercise I've encountered and I recommend it wholeheartedly!
Shouldn't the ATA Secure Erase command take care of properly blanking an SSD? (Assuming that its firmware can be trusted, of course.)

In practice, it's a bit more complicated, though - typically the BIOS (or is the operating system?) locks out Secure Erase and you have to hot-remove the drive and reconnect it before the drive will accept it.
Developer's Trick: Anti-caching for client-side resources
If the US had completely abandoned Pakistan, it would not be able to use it as a proxy base for war against the Soviets in Afghanistan. It would not be able to, in Zbigniew Brzezinski's words, be able to "give the Soviet Union its Vietnam."

You should not be moralistic in thinking about international relations, because that is not foreign policy makers think.
Except for iptables doesn't work on per-host or per-URL level (well, technically one could try with a string-matching, but that would be just a crude hack).
Now also open source and available on GitHub: https://github.com/cristim/autospotting
Mental, Physical Exercises Produce Distinct Brain Benefits
Atomic level storage does not have to necessarily be brought to the common liquid water temperature range user. There is a lot of massive storage demand from parties that are not necessarily interested to get in touch with the physical storage medium itself. These would benefit right here and now as soon as the technology could be mass-produced.
dereferencing the vptr in the Linux device tables tends to happen once per (say) function.

the WTF project would have '->vptr' and worse '->super->vptr->method(), maybe 20 or 30 times per function.

every call in the codebase or data reference would be via a '->vptr'.

That really makes a difference.... its unreadable. literally.
> Do you really put every cent you spend into it? How is it possible? How do you remember all that. for example, during a weekend trip?

The same way people who have had to account for things because of expense accounts, etc., always have: receipts.

Of course, these days its a lot easier; you don't usually have to keep paper around until you are ready to log everything, you can use your phone to photograph receipts or take notes as transactions occur.

> Next step: ok, assume we put every cent spent into the app. How does it help?

Same as profiling a program: it provides an important input to let you know where its useful to spend effort on improvements.
This isn't about breaking up long lines. The second indent style results in shorter lines, that is one of the various side effects which makes it superior.
My example was meant to display that start-of-line alignment is generally a poor idea and there are better alternatives... which you seem to understand just fine.
Snapeda.com (YC W16) Marketing Teardown
>If the tab people would reliably use tab for leading indent and space for further alignment, I'd be 100% on board.

There is no other way to do tabs. Anything else is simply wrong and grounds for execu... a stern talking-to.
A Travel Guide for the Fourth Dimension (2015)
Ask HN: How can I contribute to a growing startup as an employee?
Have been working for 6+ years in supply chain management and finance related roles with C-level exposure for a Fortune 50 company. 30 years old. I am not fully code illiterate and still good at learning new stuff yet I do not think it makes sense to get into developer path from scratch (coding from scratch reluctance is not about my age, I just hope to find other ways beyond coding to contribute). Which type of roles would you recommend?

I am not looking for a specific company and/or tech co-founder, but roles and learning suggestions to further my perspective.
I'd say it makes no such assumption - in fact it tells the reader that it's not valid. The reader may then choose to educate him or herself as necessary.
I was curious about why the photo of the carrier shows servicemen standing to spell out E=mc2 in the photo above the article. It was to commemorate that the USS Enterprise was the first nuclear powered carrier.

Here is a photo[1] of the same ship in 2011, marking 50 years of nuclear naval power (from this page[2])

[1] http://www.navsource.org/archives/02/0265az.jpg
[2] http://www.navsource.org/archives/02/65b.htm
Well, unless you count docker, rkt, and the whole linux containers thing.
I love my Zen Book, no moving parts, 8MB Ram, 3 USB and 6-8 hours battery.
You're right. I got so used to flying Emirates/Qantas codeshares I was sure it's because of One World. You learn every day...
Hey everyone. I originally built this after getting sick of my PM constantly ask me to add / change the event tracking in the app.

The big question - "How is this different from Heap?"

You choose what you want to track and we only track that. So there's less noise from a bunch of bs data that you don't care about. Additionally, you choose what integrations you want the data sent to. We don't store the data ourselves. You can even choose to send the data to an internal setup via a Webhook.

Lastly, you can track very fine grained events. Like when the user has scrolled 75% of the page, the form validation failed, or a YouTube video was watched 50%.

Any feedback is appreciated.
I use it everyday for sites that block adblock; It has built-in adblocker;
I think they spend a lot of time doing very detailed code reviews.
Big functions are hard to unit-test.

The article includes comments from Carmack from 2014 saying he now favours breaking the code up into pure functions.
See, it's this kind of negativity that gets people depressed about housing.

Detached house (needs work) $359k https://www.redfin.com/CA/Gilroy/7270-Alexander-St-95020/hom...

Condo in Morgan Hill @ $446k: https://www.redfin.com/CA/Morgan-Hill/112-La-Crosse-Dr-95037...

Detached 3/2 SFH @ $500k https://www.redfin.com/CA/Gilroy/374-Walnut-Ln-95020/home/10...

Nice townhouse @ $495k: https://www.redfin.com/CA/GILROY/7664-GENNARO-WAY-9502/home/...
Licenses of 21,000 Turkish teachers have been revoked
Without funding from government and the compliance of police unions.. nothing.

What we need is a centralized open-source database of police videos and the laws that force police to use them.

Police need outside oversight.
What's the pain point being solved here?
The first Palm Pilot was released in late 1997. it would've been a really, really big deal to have one in 1995.

Laptops would've been recognizable, but their utility was severely limited without WiFi, which I think was arguably a bigger transition (wired Internet -> wireless) than BBS -> Internet. So I guess I'm agreeing with you, connectivity was the big phase change!
> For example, they could lobby a city to restrict new development, thereby reducing competition and protecting or increasing their revenue.

You don't have to be the one to create a rent-seeking opportunity to be the one who benefits from it.

The fact that many desirable locales have strict zoning regulations to restrict development absolutely turns homeowners there into rent-seekers. They're exploiting a stream of income which only exists due to government intervention.
I don't really grok how income expansion and spending reduction are seen as mutually exclusive activities. Do both!
The "few hundred million for quality control" number still stands. In addition they were able to draw on everyone from the people designing the transistors through to the programers to debug problems. Not something many modern projects can do.
What's the simplified explanation how perf uses CPU performance counters to know what functions are called. I mean, what kind of book-keeping is going on that allows it to map instructions executed to symbols (functions) called?
Sure, maintain your chlorine lattice at -196ºC and then use your handy scanning tunneling microscope to manually move atoms around.

I would say "paving the way to large-scale storage" is extremely generous for what they actually achieved, to the point of being incorrect.