skysight-inc/HackerNews huggingface dataset:
I like TS. I really do. It makes life nice and easy to catch bugs quite quickly and also makes you think about your code quite a bit more (which I guess makes you a bit slower but it's important enough so it's ok).

What is annoying is when you are stuck on something and can't continue because you can't figure out the type of a specific object (and you've disabled any / or you are on the strictest settings).

I was recently stuck on ReactJS + Redux + Redux Saga and it took me a while (~ 1 day) to figure it all out (and I'm still not 100% sure if I did it right). It was fine when I disabled the strictest settings for a bit but it's definitely annoying (asking for help in Typescript, React, Redux, Saga and elsewhere didn't really help at all).
One thing I have wondered for a little while is how all these learning algorithms will handle change over time. A lot of my advertising is for things I may have liked perhaps 5 years ago, but no longer have anything to do with. It's also a bunch of super wrong things, like parenting, even though it also thinks I'm a single male who likes holidays, and skiing, even though it doesn't snow where I live and I've never even entertained the idea.

It's clearly confused, and so my wonder is how do they correct that over time? How do you un-scramble a scrambled machine learned profile? Can you even detect that it's gone awry?
There are two reasons I’ve decided to not use Airbnb again - specially when I’m overseas.

1) fear of getting locked out of Airbnb. I stayed in an Airbnb in Dublin in late 2017, place was OK, not too great -cheap ikea bed, cheap ikea couch, heater that was either tundra or Sahara. However getting in to this place required memorizing 8 digit number or having your phone on you. After that stay I genuinely appreciated 24hr staffed front desk where you can get a new key pretty much instantly.

2) a safe for your valuables (passport) and daily house keeping.
Agreed, you can't trust the price listed on the search page, need to visit each listing to get the actual price for the stay.

It is very cell phone and cable billing, there is only a very loose relationship between the advertised price and what you will actually pay.

I think HomeAway was a little bit better about this, amortizing the fees over the length of the stay and including in the listed per night price.
Nuclear – Popcorn Time for music
yeah but the category "plays games" is too broad, rivaled by "reads blogs". And after the users have seen enough of gaming ads (and not responded) they are offeered the bottom of the barrel: russian brides (true story).

If we are going to go down the road of doing increasingly detailed ad customization as publishers, we will have come full circle to reinventing targeted ads by another name.
Outside, sure, fine. I'm of the opinion that they should still be disclosed, but I think a camera outside (and not looking in so that it can see any interior spaces) is fair.
And Booking pushing advertisements for the exact same hotel I've just checked on their service. I can't understand how that would seem like a good idea to anyone.
I can't leave USA due to Green Card constraints.
It's a little ironic because Red Hat invested in MongoDB several times: https://www.crunchbase.com/organization/red-hat/investments/...
AirBnB should launch a surveillance/alarm product that is a combined alarm and camera, which allows the host to look at camera images when the property property is empty ONLY (i.e. when the guest has left the property and armed the alarm)

It would need to have e.g. a mechanically closed lens that opens when the alarm is armed in the home (so no one is home).

This product could also include other helpful things for AirBnB like a smart lock etc.
Make a company with a 47 billion dollar valuation and those "desperate" venture capitalists will introduce themselves.
The document layer offers this: https://www.foundationdb.org/blog/announcing-document-layer/
Let's talk about IPv6, babe, lets' talk about
God forbid you accidentally click on the wrong product in a re-targetting carousel. Now "the advertising complex" thinks I'm super into motorbikes. I don't even have a license.
I think your argument is missing the "cost" of feature tests, which is that they necessarily must run much slower than tests that are only testing a small unit of code.

For example, I worked on payroll software at some point. After finding a bug, we'd want to ensure that could never happen again, and would want to add a test for it going forward. So for example, I may have needed to write a test around someone who worked in one city in Ohio, lived in another, previous income above some amount, and with certain tax advantaged benefits. Setting up this test via feature testing is certainly possible, but it's likely the test itself will take a significant amount of wall time to execute. It's way faster to just test the payroll calculation code, which means you can run the tests more often, and with less developer inconvenience.
I get the risks. I’m just not a quitter. Somebody has to show up and try and I’m willing to nominate my descendants for that. And I’m pretty sure they’ll be okay with my choice. Many people throughout history have been born into some pretty fucked up situations (slavery, etc.) and decided that life was worth living.
1830 is such an amazing game. Also, a personal shout-out for 1856, its sibling game set in Upper Canada. That game is all about making money before everything gets bought up.
fundamentally I'd like to believe these are exceptions to the rule. There are capitalists like this but they're a sort and don't represent the lot of us.

A key differentiator between the two is perhaps those that complain about capital gains tax effectively "taxing them twice".
oho, you are also the company?
This seems to be ingrained deeper than targeted ads. Orders give me the option to "buy it again" for things that I only ever need one of.
Lol, the people don't just keep the money. they spend it.
And here is something to take the garbage quality of Git manpages with some humor

https://git-man-page-generator.lokaltog.net/

"git-eliminate-head eliminates all downstream heads for a few forward-ported non-counted downstream indices, and you must log a few histories and run git-pioneer-object --pose-file instead. [...]"
IP addresses tend to have a relatively long lived association with a subscriber, often weeks. So an app which communicates out the wifi names naturally reveals the IP address (unless there is carrier NAT, i.e. on mobile, in Russia). So with a database of such information, the IP also reveals probable wifi names and hence location.
There are also accessibility concerns/questions here. What if someone with poor (or no) eyesight is trying to book accommodation? Is there a screen-reader friendly description that says "Living room with security camera in the upper corner"?
Some American ISPs have realised they can shake down Netflix for cash by refusing to install caches, connect at peering points and suchlike until Netflix pays them.

Some Americans can only get broadband internet access from a single company, so they don't have the option to move ISPs when their Netflix access is degraded.
Show HN: Realtime Web UI for Headless Chrome
Would it be fair to say that a conclusion you could draw from the data you outlined here would be that people currently in ketosis would fair better at higher altitudes?

Sorry if I'm misunderstanding this, this is very far from my area of expertise.
Show HN: Use CloudFormation to Deploy Front End Apps to S3 and AWS App Repo
do any such submission systems feature (basic) bloat detection? like go through all images, calculate bits per paper area, look at color histogram to detect if vector graphics, like plots or system diagrams or other drawings were submitted as raster images instead of vector graphics in order to prompt the submitter to ask if he still has the original vector graphics format, and then build lists of typical file formats which need converters to standard vector graphics formats etc?
Or even better: find an old ethernet switch, gut it (but keep the connectors) and put Raspberry PI inside. You will need to solder 6 wires for ethernet and power, but the pins are fairly large so this should be easy.

Even if discovered, most people would not bother taking it apart --- they'll just assume it is broken and throw it away.
And they were leveraged out of the business partly though lease-to-yourself shenanigans on the part of Ray Kroc.
> I get that he's just starting

He says he's been doing this for 5 years.
There seems to be an even more effective solution to closed journals than just telling scientists that if they take money their paper needs to be in an open journal.

Also tell them that when they apply for funding only scientific research which is available in open journals will be considered.

You'd then get people not only submitting new research in open journals, but making all their backlog available as well to increase their odds of getting funding.

That would chip away even more at the moat of companies like Elsevier since presumably much of their funding is from universities who'll need access to historical research for a long time.
Maybe the ads could have content along the lines of "The WheezyMatic 3K: The Best On The Planet" and so when someone who already has bought the product sees those ads, they're instead reassured about their purchasing decision.
You're right to an extent. We're all complicit in how our society functions. However, we also have limited options to change things as individuals. I do what I can to minimize my environmental footprint, I walk to work, I don't buy things I don't need, I vote, and I try to educate people. At the end of the day it's like blaming the hostage though, because I don't get to choose how the society functions.

Meanwhile, the idea that this problem can be solved by individual efforts is laughable. To address these issues we need to fundamentally restructure our society. The idea of constant growth and consumerism is incompatible with our long term survival.
I remember during college I was working at Tesco, and a customer way buying a lot of baby food, and she had received some Clubcard coupons for them. I asked her if she had grandchildren, she said no, but her husband really likes baby food.
I would like to do the same thing Drew. Thank you for making an example.

Cheers!
I am a bit biased. It is nice effect to see but also I take it as a complete waste of the device resources, namely a battery.
hmmm, that's troubling. since you seem to know what you're talking about and what would be needed to fix it, can you open an issue on the github project? i'd like to see whether the designers have a response.

https://github.com/Retro-Commodore/C64-PSU
While you can get a good edge on a knife made with garbage steel, the edge goes away quickly.
Sometimes it would pick up on keywords in my messages, but I rarely talk about things I wanted to buy. I'm a very satirical individual so if I mention a product it's most likely because I'm making fun of it. Making the advertisements extra ineffective.
About that "free" healthcare in Sweden, etc...

If you make $60,000 here in the USA, you can expect to pay about 22% in taxes (https://www.bankrate.com/finance/taxes/tax-brackets.aspx) so ~$12,600.

You move to Sweden and make that same $60K USD equivalent. Their tax rate is 61.85 percent (https://tradingeconomics.com/sweden/personal-income-tax-rate) so ~$37,110.

I bet you can stay here and buy some pretty great healthcare (plus a lot of other stuff) with that $24,510 difference.

There's no such thing as a free lunch (or free healthcare). Not only are your taxes covering your "free" healthcare, but they're also covering "free" healthcare for several people who aren't working while you are.
Ah I see. That can be achieved since Flow 0.51 with opaque types[1][2]. It seems like TypeScript hasn't yet caught up with this functionality[3].

[1] https://medium.com/flow-type/hiding-implementation-details-w...

[2] https://flow.org/en/docs/types/opaque-types/

[3] https://github.com/Microsoft/TypeScript/issues/15807#issueco...
Funny you mention them, because I've only ever heard of Casper in podcasts, one of the few remaining non-targeted digital ad slots.

Unless "listens to X podcast" counts as targeting, but that's no different from "reads X magazine" in offline media. No creepy tracking required.
"To anyone whos thinking of doing this, Scrub your driveway every day for a week and see if its still appealing."

I love power-washing my driveway on a weekly basis.

/r/powerwashingporn
> [doctors] insist they know better.

Because they probably do.

Pain is a stimuli people will do a lot to avoid. But pain also exists for a reason. You generally can't trust people in pain to self medicate.

Evolution did not give humans the ability to feel pain just to fuck with them.

Pain prevents you from unnecessarily straining damaged body parts, keeping you from harming yourself
further and making your condition worse.

On painkillers you might hurt yourself doing something as simple as walking up a set of stairs, just because you didn't notice you placed your foot badly.
Year in Ethereum
"Borrow"?
We sure will when our food chain collapses.
i have no idea. You are asking for features that make sense for dead tree journals, but i dont think these should be relevant anymore.

I am very much against the "huge and stringest" requirements that journals have about formatting. It is a huge time waster for researchers and their students that offers next to zero benefit. About time we switch to HTML formatting & simple microdata for references.
Who Really Built the First Electric Rock ‘n’ Roll Guitar?
I'd assume that we would eventually make that distribution as efficient as possible with automation. I'd further assume that any money you make gets channeled through this system so that you have to earn past $30K to see any more money in your account.

nit:
ten trillion two hundred forty two billion nine hundred sixty million and no thousands ;-)

How about "over $10.2 trillion"?
I'm certainly not well versed in OCaml, but my understanding is that it is also structurally typed. This particular example would also be permitted in OCaml, correct?
How is this wrong? Is WeWork publicly funded? Either way, is he withholding his status as landlord from investors? How is this even a conflict of interest? This sounds like a normal real estate deal: sale-leaseback to a management company.
Ask HN: Beginner Electronics resources?
Can any one recommend good beginner resources on electronics? I picked up a microcircuit (circuit python express) recently and would like to learn more, books or online would be great.
Good call mate!
Lightweight but still STL-compatible C++ unique pointer implementation
Thank you for this, it made my day. :)
It's not Google that's bad at this, but the people buying the ads and selecting the targets. And if targeted ads wasn't a thing then a large portion of your ads would be in a different language.
“where’s there’s muck, there’s money”
A few points occur to me. It doesn't need to add up that way, as the money goes round in circles. Most people are receiving money and living based upon it in the USA already, so perhaps it's more to with changing how it flows around rather than anything else. It could be phased in slowly.

I think some people like it because it could act as a replacement for so many other government "aid" schemes. Disability allowances, Housing allowances, Health spending could all be cut to zero, as we would know everyone had money to spend on what they liked. Personal responsibility all the way.

Other people like the idea of money for nothing, and well, if we manage to automate everything then we might need money for nothing to keep the wheels turning.
Given that the entire Airbnb model involves the host, guest, and the company splitting the profit that comes from pushing externalities onto everyone else it’s hard to have sympathy for any of them. No honor among thieves and all that.
Under a viable UBI scheme, a typical middle class worker will see income go up by $15/hr and taxes go up by $15/hr. So the vast bulk of that $10T isn't significant.
If you were regulated like a state lottery, people would be interested - they already are.

I don't think most people even consider the odds when playing the lottery.
Invite you to criticise, give feedback and share bugs for this prototype realtime web interface for Chrome headless.
IMO many people managing ads do not seem to use it properly. I worked for a marketing agency once and we got pretty good results, but we tried to understand our target, use negative keywords, use different ads for different keywords and so on. It was actually a lot of work. I guess some people wants to cut corners and just gets the client money and puts it down into adwords and fb ads, write some reports and pass it to client. In my experience clients most of the time get confused with so much jargon, and they are unable to link sales with marketing expending correctly, the only certain thing they know is that (for most of them) if they don't do marketing sales will go down over time.

I'm always surprised when I see a company wasting money on adwords when they are also ranking many #1 keywords organically, specially on brand keywords. I may be outdated but I doesn't make any sense to me.
NetBSD has been running on toasters since 2005. It's just a matter of porting some kind of PI software to it.
Reading this makes me happy as I'm currently working on a service [0] (not available yet) to allow sites to do this. The goal is to facilitate and make ad selling/scheduling easy while having websites/etc. serve the ads themselves, ensuring no tracking (by my service) is possible.

A lot of people are already doing direct sales via mail and then work out a way to get paid somehow, which can be cumbersome. Hoping to make that easier, while also improving the bad, intrusive behaviour around ads.

[0] https://www.adsfromsource.com
two hundred forty TWO billion to be correct :P
I feel like we need some sort of hub for consumers to get together and share cost of initiating legal action. When you're solo, you are indeed powerless in this system.
Async IO in Python: A Complete Walkthrough
I suspect most employers will sell out their employees for about the same amount or a bit less.
Sometime around 1999 or 2000 I read the story about Heroin. In summary, Bayer sold Heroin in the late 1800s as a non-addictive alternative to Morphine.

(At the time, Morphine addiction was a huge crisis, with many people getting addicted to Morphine when using it as directed by a doctor.)

There was a huge scandal when, about 10 years after Heroin entered the marketplace, it came out that Heroin turns into Morphine in the brain. It also enters the brain much faster.

(This, BTW, means that Heroin is an extremely powerful painkiller. The UK used to use it for medical purposes until very recently.)

I wasn't surprised when it came out that Oxycotin was highly addictive. I knew it was just the same thing over again. A drug company markets an opiate as safe until everyone realizes it's not safe at all. It only took about 110 years for most people to forget about Bayer's Heroin scandal for someone to get away with it again.
Funny :) I would have hired the candidate who would have told me the difference is 7 bits!

Still a failure because the ratio is actually 0.125, but I kept going for a few questions, I stopped when they could not explain the difference between a thread and a process...
Saudi is enormous - no doubt there are vast expanses completely away from civilisation, and I'm guessing there are plenty of remote oil field areas that are already degraded to some extent. However: firstly as you hint at the desert does have an ecosystem, and secondly salt is not the only contaminant in the sea. I could imagine an Aral Sea type scenario where heavy metals, for example, were evaporated out in significant concentrations over time. Then with a little wind blowing the dust towards populated areas, you are in trouble.
The glob() function is sorted consistently on all platforms. It's mandated by POSIX[1], and from the OSX docs I could find[2] sorted unless you specify the POSIX GLOB_NOSORT flag, as on other platforms.

In any case, even if glob() wasn't portable it's easy to provide an API compatibility layer that's just readdir() + qsort(). That part would be trivial, and might perhaps be needed due to collation issues in the sort.

Doing it in parallel (preferably in a random order) isn't just an optimization, but would ensure that there isn't an implicit dependency on whatever iterative interface we'd first ship with.

1. http://pubs.opengroup.org/onlinepubs/009695299/functions/glo...

2. https://developer.apple.com/library/archive/documentation/Sy...
Does Steve need an ad to remind him that he likes the BMW 3 series? No doubt one of the first steps he took after his promotion was look up the prices, or finance offers on BMW 3 series, perhaps create a spec and then talk to his partner about it if he has o e.

The thing is if there is something I want to buy, or own at some point in my life, I don't tend to forget about it or need some reminder from a targeted ad. If it's something I really want I'll usually think about it daily.

On the other hand, there could be something that I need, and have never searched for, that I have forgotten about such as going out and buying more toilet roll.
In addition to the "more approachable to contributors" answer, Flow and TypeScript are easy to port between, since they're both light extensions to JS and have almost the same syntax. I've done a Flow to TS port a few times and almost all of the code stays the same, it's just accounting for little differences in the type system details. Switching to a completely different programming language is much more work and much riskier.
Making a POLICY OF REACTION is perverse.
I can't speak much to the military things in this post, but I will just add that as someone who also tried to make money from video games for quite some time in the recent past, it's _such_ a hard way to make money.

Web development has not been nearly as "fun", but it's been so much more lucrative. If you want to make video games as a business, I'd say make your money first with "boring" work and then making a video game can be fun since you don't have to have the financial pressure overhanging it. You hear the indie darling success stories like Undertale, Stardew Valley, etc. But I imagine that the common case is: "Spend lots of time, then nothing happens."
If I were buying ads (I've made some micro purchases in the past), I'd also understand that the users of the small, niche website are also likely using the larger websites, too.

So the time in researching what small websites exist for my market (say dog owners), the ad cost per buy of making many small buys, the administrative overhead related to maintaining many small accounts (accounting, dealing with many sales people, many platforms to administer, etc) vs. buying ads in greater bulk with a few content providers like the NYT or others alongside pet related stories (or other compatible content) where I'm likely to get most of the niche site users and others that are also in my market that don't use those sites.... seems kinda no-brainer.

I also expect data aggregation to continue, even without a focus on "personalized" or "one-to-one" behavioral data. For example the NYT times would likely want to be able to show advertisers that those that read dog articles also disproportionately read articles about outdoors activities... they can produce those metrics within the course of normal operations, I would think, possible even without employing things like cookies for the purpose... naturally the metrics being captured today do have a market value beyond just allowing the collector what ads to show and my suggestion doesn't replace that path, but I expect for just the purpose of targeting ads that's probably more useful anyway.
A hot startup raised $66M in 5 days using these 24 slides