skysight-inc/HackerNews huggingface dataset:
This article is writing as if this is a growth business, we are a century in and it is more a game of musical chairs, so it is a question of where the survivors are located, not where new entrants start.

There used to be petrol stations everywhere, it was the hot new product to sell once upon a time and every garage would want to have a forecourt. The infrastructure needed then wasn't that much more sophisticated than that needed for a lemonade stand. You could just put the sign up and profit from the passing trade very much on a know-the-customer-personally basis. No upsells were needed, it was an easy way to print money.

Then the market got saturated. Much like mobile phone shops, suddenly small towns had half a dozen of them.

Then this business got picked off by the supermarkets in European markets. They sold own brand petrol at first at a better price than the established brands. The brand did not matter as it is a commodity product. They did not have to make money off it as they were luring customers in for their big shop.

After this round of musical chairs only supermarkets, convenience stores and motorway service stations survived.

I think it has been a cruel business and it is quite sad that something so valuable has no return in it for the end retailer.
Anyone using uBlock origin can add these custom rules to protect localhost:

* localhost * block
localhost localhost * allow

This should block any non-localhost from accessing localhost.

(note: only protects you superficially, based on DNS. what we'd want is protection based on IP. otherwise you're still exposed to anyone setting their own DNS to 127.0.0.1. but it's something...)
The third is a lot less important and doesn't call for the same approaches as the first two.

If availability is compromised, that is obvious to the end user(s).
A simple solution is to have a single table with the fields: id, parent, name

id is your primary key. parent is the id of the parent (if one exists) or a sentinel value (NULL or 0) if no parent exists, and name is "Dog", "Cat", "Pet", etc.

If you structure your queries well this will be very performant up to 1 - 2 million records on commodity hardware (e.g. an EC2 t2-large instance) and may be suitable for your needs for much larger data-sets, depending on your application.

For improved lookup performance, you might split the fixed-width and variable-width (varchar) columns into separate tables. Then you'd end up with an "animal_names" table consisting of (id, name) and an "animal_relationships" table consisting of (id, parent_id, name_id) -- but again, that depends on usage patterns and which specific queries you need to be performant.
Flaky tests are one of the factors that led me to leave a previous job. Test coverage was already so bad (and honestly, so was the code) that it was difficult to do anything with confidence - add to this that tests sometimes worked meant that writing code was basically a dice-roll. I got tired of the stress.
A bit over-dramatized, but very, very good.

Although I do not really like the decision to reduce the entire engineering team to a single character. I get that it simplifies the writing and casting, but it just perpetrates the lone scientist myth. It could have been really compelling to take the time to show the group effort.
Reach out to people whose career path you admire on LinkedIn. Sure someone is going to be too busy, but there will be others who are generous. Remember, you don't want 'one' mentor, you want a village. I found my mentors via LinkedIn, talking to people at work I admire and also keeping in touch with professors long after I finished school. Good luck !!!
If you want to weaken this regulation, abuse it like this.
I actually read this as outside.
It’s easier to donate your body to science than your medical records
I think this is one of the areas in which an academic relationships are strong. Most (granted, anecdotal) examples that I've witnessed are a teacher/professor/advisor either moving into or with strong ties in industry mentoring a student (later possibly a direct employee). These relationships seem to be stronger and last for entire lives (well, at least as far as I can tell).
(1) and (2) aren't really broken, IMHO. For most cases always using the most up to date version is better than having 100% reproducible builds. After all, you have the docker image that you can distribute if you really need to. Better to pick up security and performance patches as they become available. If those updates break something then you can make the decision to fix on a known good version.
This is a logical fallacy.
> The post assumes that the first version should be your model.

No, it doesn't. It just assumes that you want explicit control over when you upgrade. You can always change your Dockerfile or your requirements.txt and build again when you've tested your software against a new Python version or a new version of a package. You can do that as often as you like, so this is perfectly consistent with "upgrade early, upgrade often". But not specifying exact versions in those files means they can get upgraded automatically when you haven't tested your software with them, which can break something.
I'm honestly not sure. I doubt you could do this if you weren't a EU resident or citizen...
The maintenance manual is a fun read too. A lot of the repair procedures end with PTF.

That means “Pound to Fit” (with a hammer or mallet). The panels flexed so much that they would come back a different shape than they were manufactured and had to be hammered into place.
Using Dotenv with Jest (JavaScript, Testing, 12 Factor)
I think the last option you mentioned is (effectively) the best of both worlds. Lock down dependencies explicitly for the sake of reproducibility, but make it very easy to upgrade (as automatically as possible).
It's incredible how the political landscape has forever changed in the last years.
Excited for the feature.

Disappointed we didn't get something like a magic method (e.g., lang item) (which isn't without precedence [1] [2]) so we could have had `Future::await(fut)` or `fut.await()`.

[1] - https://manishearth.github.io/blog/2017/01/10/rust-tidbits-b...
[2] - https://manishearth.github.io/blog/2017/01/11/rust-tidbits-w...
A handful of Uranium can power an entire lifetime of electricity usage.

Why would we litter the planet with toxic, 20-year solar panels with no solid recycle plan when we can have cheap, clean nuclear energy?
True, but unicode gives us ⏎ which is pretty unambiguous
The estimation of excess cancer deaths for Chernobyl and Fukushima is based on exposure results and the LNT model of accumulated dose response instead of actual observed cancer incidences, because it's impossible to actually assign specific incidences of cancer to specific causes. Thus, the counts for deaths caused by Chernobyl--the only nuclear power plant to cause significant death--will include deaths that have yet to occur.

The total estimates for deaths to nuclear power, even including the use of Hiroshima and Nagasaki atomic bombs, struggle to amount to a million, even if you start using the high outlier estimates of anti-nuclear groups.
Because MalwareBytes is scareware?
German here - it is not because of panic over a tsunami, but about the complete incompetence shown in the Fukushima disaster. The plant had construction faults, the operations after the disaster failed to prevent a preventeable disaster. Yes, we won't have a tsunami at any our nuclear power plants. But whatever else has been overlooked during their construction, where are the operating companies maybe cutting too many corners to save costs?
Your sovereignty ends at your border. If you want to operate a business in someone else’s country, you have to be prepared to answer to their government. If that government doesn’t like you — even if the reason is dumb — their sovereignty allows them to stop your business from doing business in their country.
I was speaking more generally about live standards, but if you want to focus specifically on the HTML spec and notable changes for newer devices and accessibility:

https://github.com/whatwg/html/commits

Let’s see, right off the top we’ve inputmode attr which helps support different keyboards on plain input text controls, we’ve enterkeyhint which lets you pick from a list of options for the enter key on virtual keyboards - both of these changes improve the usability and accessibility of the keyboard on newer touch screen devices. Form-associated custom elements let you create your own HTML elements that can participate in forms (the goal of custom elements is to help you build your own custom LEGO pieces instead of relying on the basic blocks the HTML spec includes — one could think of this as an eventual replacement of JSX components with HTML-based ones), autocomplete=one-time-code (thanks, iOS!), more granular control over file downloads, updating the spec to match reality (what browsers actually implemented for compatibility vs what was written in advance), srcset for retina (which reminds me, lazy loading images as a simple img tag attribute), WeakMap/WeakSet to help reduce memory leaks from stale DOM node references, requestAnimationFrame and other enhancements to the page lifecycle, CSP headers and related HTML attribute changes, and well, the list doesn’t end. ;-) For accessibility there’s the inert attribute that prevents focus to child content which is great if you need more flexibility than the dialog element provides by default but don’t want to get into setting tabindex manually or controlling all focus with JS, etc.
I'd use ELinks or Links2 over Links, AFAIK the originall Links is no longer maintained. There's also partial JS support in ELinks which fixes some sites that require it.
It's not startups you should be worried about as finding data for them is difficult unless they already have a widely used product, use open data or have a partner.

The real ones to be worried about are the usual 'do no evil' suspects. They already have all the data.
For ease of comparison, here's how that would look with syntax akin to Rust's choice:

var value = startRequest().await.getBody().await.Root;
Back when prices spiked in 2008, I asked a gas station owner about that, he said that the contract he signed with the oil company provider essentially gave them the right to set his prices- and they processed his credit card transactions so they could enforce the deal. If he charged more than they wanted him to, his next set of tankers were priced even higher than everyone else's. If he charged less, they would keep the price for his next set of tankers the same and make him eat the difference. So he pretty much always charged the prices that they told him to. Their prices were set "by a computer" in ways that he didn't understand at all, but he carried them out, because that's what the contract said.
How Football Leaks Is Exposing Corruption in European Soccer
Devastating! Chernobyl on the other hand is one of the most beautiful tourist locations to this day!

Really though, it baffles me how people can bring degrading postcard quality into a discussion with stakes of a few billion human lives with a straight face...
I agree that you don’t need any of that madness. It is self imposed pain by developers wanting easy over simple and work arounds over original code.

See the framework fallacy https://news.ycombinator.com/item?id=20014888
Plastic is our new collective "Chernobyl".
5-Hour Rule: spending 5 hours per week learning
My understanding is the rule is one price change per day. A regulation from the 70's (guess?) to stave off price gouging. Same principle applies.
Hahaha... what luxury?

I drive a used car. I cook my own food. I get my clothes from walmart. I make 40k a year. Most of it goes to rent (the cheapest 1 bedroom I could find in my area) and paying down my wife's student loans. She also works, but her degree is useless (museum studies?) so she works in retail.

College is the only conspicuous consumption she's done. She should have never went. But how can I blame her for making a dumb decision over a decade ago, when everyone from her family and friends to her teachers and counselors told her it was the right move?

I don't care fox luxury anyways. My hobbies are cheap. But I'd like to stop working some day. I've been putting whatever I can into an IRA since I graduated school. I have more retirement savings than others in my age group, but I'm still behind where I should be.
This is a remarkably slow website for such a fast plane.
> Atoms are like little magnets that repel each other.

Is that a good analogy? I wonder because the first thought that popped in my head is that magnets also attract each other.
Because, Simpsons.

I admit, it's only half joking. But it seems more and more nuclear + renewables (+ some carbon removal) is the only solution forward.

For those interested why that might be look at this: https://www.youtube.com/watch?v=h5cm7HOAqZY
I want to say "not yet". It is shame that I didn't know docpile lock.
Or worse, when the WSDL has a response type of "Object" ... OMG was this ever painful to generate clients for. Usually cheated and used Node as a bridge service.
>We own an airplane.

That escalated quickly!
> Forth is an assembly language for a pretty low level stack-based virtual machine. (And such machines are very popular, though rarely programmed by hand.)

Forth is indeed an assembly language for Forth processors, but Forth was never intended as some sort of intermediate language. It is a programming language for humans since 1970.

It's interesting to note that, unlike Lisp machines and other language-X-processors who are now rusting in museums, "Forth processors" are still being launched in space [1].

So, to anticipated about what you say later, it must be a cosmic buffoon. Better than dying from a slightly cold winter I guess.

> It's not a good VM for compiling dynamic languages

Off topic, but why would you do that anyway? At some point, register-based VMs outperformed stack-based VMs due to the evolution of processors (cache, branch prediction, large register banks) and progresses in compilation techniques.

Forth doesn't need to be "recycled" as a target language. It is useful enough for those who've practiced it long enough to understand its value proposition.

> Forth is completely forgiving, like an old buffoon. Pass four arguments to a three-argument function? All is forgiven.

Lua and Newlisp (and probably other Lisp variants) let you pass more arguments or less arguments to a function; you won't get any warning while the compiler/interpreter silently ignores the extra parameters or fills the missing parameters with nil.

In Forth there are some ways to detect argument mismatches, but really nobody cares about those training wheels. The problem is solved in a different way.

Also, many dynamic languages had to add a "strict mode" because letting people not declare identifiers is not so "user-friendly" after all...

I'll trade any day a language that breaks on stupid typos for a language that breaks because I forgot to push a result. Actually, that's why I did.

[1] https://en.wikipedia.org/wiki/RTX2010
Neat!

One comment though: The generated code contains nested selectors, which are not valid CSS.
I've seen differences up to $0.30. Pay me $4 to make a left turn? Sign me up.
> to amass as much wealth as I can before the current bubble pops

I think this means you worry about money.
> I haven't had to worry about money so long as I've been in software development.

Wait until your kids get close to graduating high school... my oldest will be starting college in about 3 years and even though I've been saving since he was born, I still have no idea how I'm going to pay for all of it.
> Both coal and nuclear have potentially killed millions.

If you remove nuclear from that sentence it is still true. If you remove coal from that sentence it certainly is not.

You are being EXTREMELY misleading. The page you show lists under 10k for nuclear (even if we take the highest estimates from Chernobyl we are around 100k). 20 times that more Americans die per year from coal ash. PER YEAR! 3x that die from cars, or opioids, or guns PER YEAR!

Lumping nuclear into this statistic is grossly misleading at best and manipulative at worst. Considering the link you provided, and that I believe you have the ability to count, it suggests the latter. So I just have to ask: why?
There is an enormous difference between ease of use of a contact lens sensor that you presumably wear most of your awake time and that gives you constant stream of measurements with 1h lag and urine test kit that you carry with you and with luck remember to use every few hours.
It didn't use to be possible to manipulate the clipboard at all using Javascript, so sites would embed tiny flash applets to make "Copy to Clipboard" buttons.

Now it is possible to copy text to the clipboard using the HTML5 Clipboard API [0], (I think it might still have to be triggered based on a user input event, but I'm not positive), but reading the clipboard is still not possible, for the aforementioned security reasons.

[0]: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_A...
Because people like using credit cards for everyday spend, apparently?

"With cash or money currently in checking/savings" is at 45% but the next highest percent is "With a credit card, paid off in full at the next statement" at 33%. There's plenty of reason to use a credit card for a $400 expense even if you have $30,000 sitting in your checking account, so those who expect to pay off their credit card in full when the balance closes should be "counted" as having the emergency covered.
The Gallup article they link to (also the source) says...

"Overall, just 25% of Americans say they worry "all" or "most" of the time that their family income will not meet their expenses; 37% worry "some of the time"; and 37% "almost never" worry."

The source of this easily discoverable in the PDF Gallup links to on their article.

https://news.gallup.com/file/poll/249191/190429PersonalFinan...
That statement is precisely one of the tenets of anarchy. I think the philosophy as a whole has issues, but it's hard to argue with that premise.
The happy medium is build your own, do an amazing job, and don't care what some clueless middle manager who secretly hates that you are actually able to write your own is telling you.

Also forget about sleeping or having any social or family life for the next eight years.
Well abusing privacy is a punishable crime here, so according to our courts - do you say you don't trust the courts of a western, functioning, EU member country? The figure is definitely way higher than I said since only a handful of website operators have been found guilty ever since the law is active. The law is not an exhaustive list btw.

> Do you have a list of said sites?

You are the one who claimed that all sites required to implement GDPR are privacy abusers. Do you have a list? In my country we adhere to the concept of "innocent until proven guilty" and we don't keep lists of innocent websites.
It seems wise for the US to ensure that they control major backbones and don't become dependent on critical backbone links owned by (potential) adversaries.

Similarly, it's understandable that the Chinese want to start building their own backbone infrastructure so they're cannot be cut off from the world if they end up in a conflict with the U.S.. From that perspective, it makes sense that Huawei would start laying these cables. It can be seen as a defensive move.

I've long been wondering whether the Chinese have subverted IP infrastructure hardware, which is all produced in China, often by Chinese companies like TP-Link. How much of that stuff has a kill switch in it that they can activate if a conflict with the West breaks out?
That's talking about RedStar OS, North Korea's linux distro.
Practices for Developers to Speed Up Your Learning
I don't read CNBC anymore, I found their articles are clickbait opinions.

They don't seem to do investigations, but rather reporting stories with buzz producing titles.
Adding continuations to C++11's std:future
You don't seem to know what you're talking about.

1) A user wouldn't stream Netflix from a data centre in America. It would be local to the country on the Netflix CDN

2) The stream is encrypted. Firstly with whatever DRM the video uses then with TLS.

3) The majority of internet traffic is encrypted. It doesn't matter too much if the transport over fibre isn't.

4) If someone cared about security they would uses VPN where they had control over both sides.
There's a YouTuber who's been traveling around Belarus and recording his daily adventures. Many of the videos are from inside the areas affected by Chernobyl. They're fun to watch: https://www.youtube.com/playlist?list=PLqWdYjn21PdHRvHB7Nrwl...
no dogpile lock but get_or_create exists with different name: get_or_update
I wish you worked with me so I could pour over the metrics with you and try some experiments. I am not being flippant - I am genuinely interested in working with people who want to think through these hard problems. If you are at all interested in coffee and a potential referral, let me know.
25% worry about money all the time and 33% can't cover an unexpected $400 expense. Yikes! Seems like the gap between those two should be a lot smaller.
> I could retire indefinitely at my current spending rate.

I'm guessing you're not married, then...?
The Valve Index might have the most fun VR controllers I’ve ever tried
At my previous workplace we were using https://greenkeeper.io/ and locking dependencies, which i think may be the perfect compromise between those 2 systems of organization. You get pinned dependencies, resulting in stable builds. For every package update (automatically scanned), you get a branch spawned w/ tests run if you've set up CI. It makes staying up to date easy when it's an easy upgrade (just merge a green branch!), and you get isolated knowledge up-front when a dependency has upgraded and you're gonna need to budget some time on it.
Docker is a packaging system.
>I think it’s valuable to get insight from kids and ex-kids, but I think it’s more important to get insight from parents[...]

Reads pretty back-handedly considering I mentioned that I am a parent. Even if I didn't or wasn't, it reads (to me, at least) as "pat on the head for writing something, but let the adults speak". Where adults = people with kids, and adults without kids can't supply as valuable of an opinion. Which really, is kind of silly when you think about it. I clearly remember many things my parents did which created distance between us, eroded trust, or did the opposite. Why are my experiences with my parents not as valuable?

Anywho, I could just be tired and reading malice into it, when it wasnt intended. If that's the case, my apologies. I'm trying to get into the habit of reading in a positive light, rather than a negative one - but I read this with a negative light.
Don't?

My parents never paid for my college and I Graduated debt free with an engineering degree.

Maybe having to pay for college will cause them to take internships to pay for college.
They're a lot less expensive than most people first think. (think "price of a fairly nice car" not "price of a nice house"; though obviously they go up in price to "whatever number you have in mind", most are in the 5-figure or just barely-6-figure range.)
In this article, I'm sharing with you some practices (like ghost or pair programming, test driven development) and how they helped start as a young developer
Having a low opinion of yourself doesn't make you right.
Dr. Valentina Zharkova & Dr. Henrik Svensmark refute this fallacy.

Dr. Svensmark lost his institutional funding when he found & published experimental evidence & a model that cosmic radiation seeds clouds. This highlights the monetary & career incentive to hold a certain position. Any deviation from that position will result in a loss of funding.

Dr. Svensmark is now independently funded. Here is one of his presentations.

https://www.youtube.com/watch?v=Rg3MqdBX0_k