skysight-inc/HackerNews huggingface dataset:
I've recently been reading Scott Meyers' Effective (Modern) C++ books. They are fantastic - can anyone recommend something similar for C? I.e. books that assume you're familiar with the language, but explains pitfalls and best practices in a practical way.
10 Questions You’ll Be Asked in a UX #Interview
Meet the CTO: Talking to Morten Primdahl from Zendesk
Of course i say hi & thanks, these are "handshake" words I use automatically interacting with anyone. But no smalltalk, and outside the US, drivers are often silent too
There is some UI chrome that is the responsibility of the browser, not the content within it. Back button, refresh button, scroll bars, address bar, etc. These should be off limits to the content within the web view.

The only person who cares what the scroll bars look like is the designer of the content within the web view. They have mistakenly thought that this is their responsibility.

If it is such an issue for the designer, maybe they should implement designs that are complimentary to the scroll bar?
Configuring OpenVPN – reliable security
I'm surprised when I hear this, that tipping is so abhorrent that instead of using a service that, while maybe not perfect, is better and doesn't have significant problems within the company (e.g. sexual harassment) and the with treatment of their drivers, amongst other things, the person chooses to stick with Uber. Can someone explain this to me? What's wrong with the Lyft system where tipping is optionally given at the end of the trip, within the app. This seems that it removes the two majors issues with not tipping within Uber: 1) it's optional, and even if it isn't you can simply leave the car and deal with it later, saving you time; and, 2) you're not worried about your rating within the app depending on if you gave a tip or big enough tip.

Edit: I'm asking seriously, why is not tipping a justification for keeping Uber? Tipping sucks, sure, but it's part of a lot of service jobs in the states that you just accept.
No I actually built my own platform for self-hosting the course. I don't think you can make much money through sites like Udemy, I would instead recommend a platform like Coach (https://www.withcoach.com/).
You seem to be suggesting that a heroin epidemic would be in no way problematic and that no one should take any steps against it.
New York is awesome (I prefer it over SF, really) unfortunately Trump happened so I'm not planning to move to the US anymore.
It should be executed in a single transaction.
But the query may be scheduled more than once.

According to the Calvin paper, there are two strategies here:

* Either, the write set of the query is considered to be {B,C}.

* Or the query if rewritten and scheduled several times,
the `if` operation beeing replaced by an assert operation,
until the assertion is indeed true, in which case the transaction proceeds using a smaller write set.
If not, the query is scheduled again after having been rewritten to match the current values.
In other words, if A equals 0 then the query is rewritten as `assert A == 0 then Write(B,1)`.
Otherwise the query is rewritten as `assert A != 0 then Write(C,2)`.

Months ago, I implemented a prototype after the Calvin paper and used the first strategy.
It may imply more contentions and even lock the whole dataset with queries like `Write(Read(A),a))`.
Sadly, such queries are not rare: updating a distributed index is the typical case.

What is the approach of FaunaDB ?
The initial rollout of Autosteer for AP2 was apparently speed-limited to below 45mph: http://www.theverge.com/2017/1/21/14347698/tesla-autopilot-h... So this may well be the only place where it could be safely tested.
Beautiful Racket: Why Racket? Why Lisp?
A type-safe typescript immutable library
I mostly agree with you, but I think you missed one problem. Suppose you bought the 3 bed house. You'd have big mortgage payments to make every month. It all depends on when you sell the house. Too early and you would be sitting there watching the market increase further. You never really know when the market will turn, and if you left it too late you could be in negative equity with no way to sell the house and trying to make big repayments, perhaps having also lost your job (since these things happen at the same time).

In other words unless you've got a foolproof method of predicting the future, or you love the thrill of huge financial risks, I think you made the right decision to live within your means.
That is both good and bad advice. Good because yes, programmers must quickly look at others' code and be exposed to the idioms and the anti-patterns. Bad because just by looking at something the newbies don't immediately connect it with one category or another, instruction is necessary to avoid them resorting to anti-patterns (as it is ironically the case with many things Linux).
Quite often ASP.NET MVC is/was taught with the Razor view syntax wrapped around the axle of everything else that MVC can do, because it was such a revelation compared to the suck of WebForms.
Best Practices for Search Results
The Fifth Force of Physics Is Hanging by a Thread
I recently discovered how Facebook do their fade-in thin scroll elements in the messenger[1] web app. They actually size the DIVs too wide by about 20+ pixels, then they alter the z-order so that the DIV edge (where the native scrollbar is) is hidden under another DIV (or over the window bounds). Then they overlay their own scroll bar element at the new visible edge of the DIV and hook it to the div scroll event.

It's one of the worst CSS kludges I have ever seen. I don't know enough about cross browser compatibility though to know if there's a better way?

--

[1] https://www.messenger.com
Why are tech salaries so bloody low in Canada? It is really disheartening that many union jobs that don't require the same level of skill end up getting far more compensation. I once had a a good CS student tell me he was getting a truck(more than a decade ago). when he told me the math I could not argue with him.

Just tell me how someone can afford a million dollar house in Toronto on a local tech salary?
Typed JSON, a binary-encoded serialization of JSON-like documents
What is crypto outbreak?
A Closer Look at Child Labor: Supply Chain Shame. Who's to Blame?
So how can we disrupt this?
Innocent until proven guilty is a cornerstone of the US judiciary system. So yes, they aren't guilty until caught (proven) because their innocence is assumed otherwise.
"In normal times, the Bank of England implements monetary policy by setting the interest rate on central bank reserves."

thx @soVeryTired, plz excuse lack of financial knowledge. What is the definition of "reserves"?
Libertarianism comes from the left, first used by an anarcho-communist. Between libertarianism and communism there's nothing....

Yes, I know what you mean, but this is a pet peeve of mine. Right-wing libertarianism differ from left-wing libertarianism in the view on property in particular.

But neither see regulation as always unacceptable, but "just" want government actions to maximize liberty. This can lead to very different outcomes depending on how you think.

E.g. food safety regulations will restrict the liberty of both seller and buyer. But at the same time if properly done they protect the buyer against potentially far worse damage to liberty - ultimately potentially costing the buyers life. The seller on the other hand at worst suffers a loss of revenue.

There are further few cases where the buyer would knowingly and willingly buy unsafe food without intending to put others at the risk of harm. As such the ultimate consumer's liberty is likely to be at greater risk than the sellers liberty in the absence of regulation.

Weighing the relative impact on liberty, some degree of food safety rules would seem to be the lesser evil. I'm not saying that's the only alternative or right intrpretation, but that libertarianism in general is more complicated than just stripping all rules.

Stripping the wrong regulation can have a greater negative than positive impact on liberty
It's just returning it as is right?
> There's nothing more annoying than a web designer saying "I know better than you" and re-implementing features. Because they're usually wrong.

It's not just that they are saying "I know better than you", they are saying they know better than HCI teams that have spent years tuning interfaces in response to actual research and testing. Most of the web and app designers I've worked with have never watched a person use their designs, much less considered their work in the context of the entire OS experience.
Link ain't working
> What if I have accessibility requirements and want to customise how software that I run on my own computer works?

The modern web cares very little about such requirements, since they are unlikely to be correlated with making money.

I don't like where things are going :-(.
My friend returned his Surface Pro 4 a few days after he got it when a mandatory Windows update bricked it, as in it turned off instead of restarting, and wouldn't turn back on.
Mocks and side effects
I would hope that no one would pick red and green as their primary complementary colors, since to a non-trivial subset of users they would be indistinguishable.
Nvidia  and Bosch team up for AI-powered autonomous cars
Same here.

Tipping also seems to lead into a more in-your-face service. A waiter might find tips go up if he/she draws attention to her work, starts conversations and offers all kinds of extras. In the end you can't argue that the service wasn't outstanding, but life would have been better for everyone involved if he/she just put the food on the table.
page is not readable in Opera mini. Lolz.
It works exactly how it shows :). It's really easy to integrate the onboarding data. You can add those through some forms. Like this: http://imgur.com/a/rE5WC

Once you have added the tasks you want, you can create a collection from it. That's just ticking the boxes and you can then mass assign tasks to new hires. We really focussed on the simplification of the onboarding process. Feel free to check out the demo: https://demo.chiefonboarding.com (pick administrator as new hire is not relevant, slack is used instead of that).
Circular Runways [video]
Ask HN: Basically and for dummies, what to do with blockchain?
Blockchain is the new buzz tech on the block and there is increasing interest from devs worldwide and the big corporations. In your opinion, are we going towards a new global and original software ecosystem or it will be a transactional / smart contract tool on top of existing software only? Thanks.
GNU Guile 2.2.0 released
> As for Stallman, there's a fine line between a madman and a genius. Reality has shown us that he definitely is not a madman.

I'm not so sure the two are mutually exclusive.
As an American I have no barometer for this.

Anyone here from the UK, will the public at large really be as affected as the article claims?
>Regulations rarely serve citizens. They usually serve special interest groups

3 blind women would disagree.
Why does it really matter if they use Stripe or the machine in the car, besides that it's technically against the law? If you're worried about fraud, okay, it's possible but pretty unlikely and generally if you notice anything you can dispute it with your credit card company. 7% adds up, since it's an extra 4% on top of the usual 3% fee when using services like Stripe, which is understandably hurting a taxi driver doubly since they already pay for their car lease per day regardless of the number of fares. Also take into consideration that while there are a lot of immigrant taxi drivers, many are also citizens and it's not simply immigrants that are going to do what you consider shady. If you're worried about fraud, put some notification of activity on your phone or email when a transaction runs and if you see something weird, report it. Don't be afraid of the boogeyman that doesn't even really exist.
What exactly do you want to disrupt (her death or the pageantry following her death) and why do you want to disrupt it?

The most obvious way would be to find a route to immortality and provide it to the Queen however I'm not sure of the value of that.
How to apply and get into Y Combinator
When you think about it a bit more it doesn't actually seem reasonable.

What shop do you know of where they'll let you choose food, take a bite and then pay what you feel it's worth? Hmm, this donut's a bit stale, I'm not prepared to pay anything for it thanks Mr.Tesco.

Sometimes I buy fruit and it goes bad too fast. That's life. Sometimes you get a shitty waiter, that's life, but now you get to unilaterally decide you'll get that service for free? Because there's a significant minority of people who will always find fault just so that they don't have to pay.
Yeah, seems like there's a need for more bars instead of a complicated solution to a simple problem.
I don't see any propaganda, I see a very interesting, beneficial and good technology. What's naive about that? No one says it has no downsides; but some people don't consider it a downside. And again - if you don't like being tracked, there's nothing easier than not visiting these sites, because that's simply the price of visiting the page. Obfuscated JavaScript code is about as hard to read as equivalent WebAssembly code, maybe even harder, so you still have exactly the same options to find out you're being tracked.
I'm happy, if I'm able to scroll at all. Hate the trend of dynamically loading content when scrolling down.
A tool that lets you visualize song lyrics in the form of a matrix
I can't edit it now
The C/C++ Packaging Paradigm Quandary
An Extremely Rare Apple-1 Is Going to Auction
DC Refuses to Give Teachers Raise Despite $2.4B Surplus
It’s Time to Adopt Electronic Prescriptions for Opioids
I assume it means that the act of _sourcing_ something at the time it's needed is a much harder problem than it appears; simply because a source exists does not mean that it's the right source, or that it's even stocked.
> they should implement designs that are complimentary to the scroll bar?

that's impossible because, as I said in the comment above, every browser has it's own scroll bar forced upon the user, especially if you factor in mobile browser and their slim, thin black translucent bar (which only appears when you scroll so you don't even know something is scrollable... talk about good design uh?)
Augmented Reality App to Teach Australians Beach Safety
> Today, WASM doesn't support GC,

Is that really a problem considering most languages already implement a VM with GC?
It will be a big thing over here. A lot of the older generation (60+) will have strong positive feelings toward the monarchy, those in the 30-60 age range will not have known another monarch so even if they are not royalists i expect it will have some impact. She has not been a terrible monarch so in general there is little anti-royal sentiment. Personally I'm looking forward to an extra day off work (or 2 if possible). I expect the worst aspect for most people will be Charles becoming king.
>Nothing in medical science is absolutely certain beforehand.

>In one report, researchers document the cases of three elderly women who were blinded after getting stem cells derived from fat tissue at a for-profit clinic in Florida. The treatment was marketed as a treatment for macular degeneration, the most common cause of blindness among the elderly. Each woman got cells injected into both eyes.

This doesn't sound like an experiment however, it sounds like they told these women it was a valid tested treatment. Why else would they get both eyes done simultaneously?
Kludge it may be, but if it allows them to have custom scrollbars without replacing native scrolling, it's absolutely the lesser evil.
So it's okay to refuse to pay for a service that's already been rendered to you because they don't follow the law to the T and charge your card in a different way. Get off your moral high horse, pay for the cab fare, report the driver after, and report it to your credit card company. Unless you're a cop, you really aren't in a position to enforce a law and you're also breaking the law if you walk out of a cab without paying.
A bank's reserves are the funds it holds in its account in the central bank. Some countries require that a certain proportion of the bank's assets are held in reserve in order to be sure it can easily meet its short term liabilities (i.e. to safeguard liquidity). In that regard, the system is a little like fractional reserve banking. But the UK and Canada don't have reserve requirements at all. In general, the main constraint on a bank's lending is its capital. Which is why you read about "core tier 1 capital ratios" when a failing bank makes headlines.
Hey, I'm e7d
I'm e7d, discovering Hacker News. :)
CloudOps.ai: AI for Cloud management saving you up to 10% on AWS bills
Targeting expresses expectations about an environment. "Do not assume" would be contradictory to those explicit expectations.
>I don't trust a journalist to evaluate whether this treatment was valid or not.

It's safe to say a child could evaluate that blinding someone is an invalid outcome.
There's that last option where you would be ok with having no government at all. Although, governments usually do not offer it except maybe in Liechtenstein.
I pay everything with my credit card. It automatically gets deducted from my normal account at the beginning of the month. I get a little money for every purchase and the credit card company gets to now my purchasing habits.
Back in the day browsers competed over user friendly features like popup blockers, even though that technically breaks a web API. Today browsers are so terrified of breaking a web API that they have allowed the mobile web to become a cesspool. Browsing most sites has become intolerable, the more modern the worse. Scrolling freezes for seconds at a time, whole pages jump up and down constantly while you read, scroll-hijacking ads interrupt you, fixed position headers obscure half the page and appear/disappear at random, "mobile-friendly" sites are more often than not worse than desktop sites even on mobile (plus they break deep links), and I can't be the only one who's noticed that even the old popup blockers have stopped working!
Although, ICU and emergency wards at most if not all hospitals are kept cooler than other places in part to slow the rate of growth of bacteria, viruses and other similar organisms that can spread infections.
The Game Theory of Brexit
I had a similar problem with a Surface, but some persistent going through the reboot options (of which there are about six, in increasing order of nuke-it-from-orbit-it's-the-only-way-to-be-sure) fixed it eventually.

Other than that, though, they're great machines.
Your comment is being downvoted to hell, because it utterly deserves to be.

It's not only wrong to the point of being asinine — it's also the precise propaganda concept that is most widely promoted by special interest groups in their campaigns to defeat or roll back regulations that serve citizens.
> "emergency rooms" and "urgent care" fly-by-night shops which have sprung up on the side of roads in much of the Southern US.

What are these?
We don't do procedures in both eyes at the same time for many very good reasons.
I'm not sure Galileo was convicted so much for what he believed as for being kind of a dick about it.

This is one of those silly myths that we for some reason perpetuate, like the old chestnut about people laughing at Columbus because they thought the world was flat.
Some answers (specifically, addressing the situation with Lyft):

> When you tip, is the driver individually informed?

No, not directly. Yes, indirectly. You get a ride summary at the end of the day. Backtracking who tipped what takes effort. Even so, sometimes people tip when they open their app back up (or through the email) which can present a lag... I've gotten "x tip from day y" additions to my ride summary days or even weeks later.

Bottom line: If you have 15-20 rides a day you're not going to check unless it was memorable. Over the course of a year and half I checked maybe five times. Once, when I drove the guy who owned the world's second tallest yacht. Another time, when I drove a group of stanford students from north beach back to campus. One of the passengers threw up in the car four times (but I was super prepared with emesis bags), so I saved the guy who ordered the lyft the $150 cleanup fee. He tipped me $20.

Honestly, a perceptive driver will be able to tell if you tip within the first few moments of your entering the car. There are socioeconomic trends. I once picked up a valet at a fancy restaurant in San Diego. We chatted about who tips and who doesn't. Soccer moms in their minivans tip. Tesla and Porche drivers almost never tip. Are you picking up someone working in the service industry? They're almost guaranteed tippers. Is someone a lyft/uber driver? Almost guaranteed to tip too.

> The next time you get the same driver, are they in a position to remember that you were a bad tipper on the last trip?

Yes, but it's unrealistic. Over the course of a year and a half approximately 10,000 distinct people rode in my car. Only about 10-15% of my rides had a tip. Do you think I knew exactly which 10% were tippers?

> Even if the driver isn't made aware of your individual tipping history, surely the company as a whole is tracking this information and building a (negative) profile for you. Do they charge you more on subsequent rides to compensate for your perceived poor history?

They won't charge you more on subsequent rides.
I agree with you on performance, but how is the performance related to this:

> Today browsers are so terrified of breaking a web API that they have allowed the mobile web to become a cesspool
Not just in English. In Russian it's called "простуда" (coldness). In Japanese it's "kaze" (wind). Spanish "resfriado" (cooled). And so on.
Appears to be an idea that's been around before [1] - might be interesting to build a smaller scale one that's explicitly for drone swarms.

[1] http://paleofuture.gizmodo.com/these-circular-runways-were-d...
One option they don't mention: Thermite. Seriously, if you physically melt the chips, they're not going to retain any information.
There is some progress or at least hope in this area. http://caniuse.com/#feat=css-scrollbar
I don't think the Google queries measure what the author thinks it does.

I noticed it lists 14 results from Haskell to Erlang, which I was skeptical of. When I google "move from Haskell to Erlang" or "switch from Haskell to Erlang" I do find results (such as quora questions, versus questions,lecture notes) but none of those results are the type of article we're looking for.

If they really want to do this, I think they also need to validate that some of those keywords are in the title of each page.
Hosted Gitlab major pricing increase
Job Opening: Engineering Manager – Platform Team at LaterPay
Rare Nuclear Test Films Saved, Declassified, and Uploaded to YouTube