skysight-inc/HackerNews huggingface dataset:
France completed construction on 76% of its current 58 reactors at an inflation-adjusted cost of $330 billion (€290 billion). The complete buildout of the 58 reactors was less €400 billion. Germany has spent about €500 billion over the last 20 years to get to 35% renewables. 7% of this is burning biomass. France gets more than double the TWh from nuclear than Germany gets from renewables (solar, wind, biomass, hydro).

Germany would need 50% more nuclear energy than France to completely replace all other power generation. This would cost €600 billion if Germany could match France’s build from the 1980s. Costs and safety regulations have increased even though France’s nuclear power has operated without incident for over 30 years. 80 nuclear reactors would now cost €1600 billion euros for Germany. This would still be cheaper than the estimated costs for the solar and wind buildout that is underway.

Over the past five years alone, the Energiewende has cost Germany €32 billion ($36 billion) annually, and opposition to renewables is growing in the German countryside.

Der Spiegel cites a recent estimate that it would cost Germany “€3.4 trillion ($3.8 trillion),” or seven times more than it spent from 2000 to 2019, to increase solar and wind three to five-fold by 2050.

Between 2000 and 2019, Germany grew renewables from 7% to 35% of its electricity. And as much of Germany's renewable electricity comes from biomass, which scientists view as polluting and environmentally degrading, as from solar.

Germany gets 33% of its electricity from solar and wind.

https://www.nextbigfuture.com/2018/09/frances-nuclear-clean-...
Not using FKs essentially means eventual consistency, and it's on you to ensure it. Obviously, eventual consistency is something a lot of systems have to settle for, often for reasons that have nothing to do with architecture, but just because of circumstances where you have to synchronize disparate systems and there's no way to eliminate all but one.

I'll note that there are very large systems that do provide ACID-like consistency (e.g., Spanner, Lustre), so it's not at all that "large -> eventual consistency".

I won't pass judgment on projects where eventual consistency was a given from the start, even if I might think they could have done better, but too, I wouldn't make either approach a hard and fast rule: circumstances vary. What bothers me is the extent to which I see "triggers bad", "FKs bad", "business logic in the DB bad" blanket statements out there.
Here is a patch for subscribe.php (4.0.3.2) to address the captcha issue from this post and another issue that allows bypassing double-opt-in by setting silent=true:
https://pastebin.com/dT1NszTt

this change requires verifying secret api key in the subform=no case and restricts opt_in bypass to this subscribe api usage (since captcha is not good enough to stop all bots)
In fact, HBO is perhaps the most aggressive monitoring/enforcement of all content-creators. They are very, very proactive.
Huh? You don't need password resets or thumb prints... that sounds ridiculous.

Just limit playing to one device at a time. Spotify does this and it works great, and the instant sync/control actually makes it seem like a feature rather than a limitation. Most people watch in the evening at around the same time, so problem solved real quick.

Or pay an additional fee for a family plan to allow a set number of multiple users to stream simultaneously, if Mom and Dad want to watch something in the living room and the kids want to watch something upstairs.
Do you not check input from your javascript front-end before you save it? Even if that front-end does its own validation? (No, you see, but there is only one web front-end.... we don't need the backend to validate the input!!!!)

In what way is letting the database ensure it isn't getting fed crap any different?

Why do developers constantly think it is okay to let unvalidated user input hit their database? Any client calling your database is a hostile client that will feed your database bad data. Arguing otherwise is complete ignorance.
> 2781km > 1000km

2781km is less than 3,425km. Show me a Model S doing more than the Taycan in 24 hours.

> You honestly think (without any bias) that the Model S won't fare better?

So it should be easy for you to provide an example of the Model S covering more distance than the Taycan in 24 hours. Show it to me.
I've had this exact concern for the past decade and a half. Climate change activists really aren't using logic because they completely neglect 3 and just pull an answer to 4 out of a hat. Then when people instinctively feel their answer is unreasonable, they mock them for not believing in 1 and 2.

If you have no estimate of the cost of climate change, then you also have no business proposing costly preventative measures.
It won't on Linux! But hey, random processes will get OOM-killed.
Let's be clear here, though: it's the airlines who refuse to buy an aircraft with additional training requirements. Pilots can only fly one aircraft type, and retraining to a different type is an expensive proposition. If Boeing could make an aircraft that fit under the 737 type, they really had no choice but to do it.

They also probably could have succeeded, too, if not for other systemic problems within the company.
On Unix it won't. You can overcommit memory and only get into trouble when you actually try to page it. But not at malloc time.
It really depends on your situation and job type. If you have a spouse with a demanding job, and no local family there really isn't much flexibility.

If I need to stay late a few hours after work than normal, it requires immediate triage. If my wife has a busier than normal week, it may mean I go in later to the office or come home earlier, at a minimum we will lose sleep that week on meal prep etc.

She did a retreat while breastfeeding and it require her to come home each night so our son could eat. She went on a work trip and I flew out with her and the baby and took 2 vacation days (still breast feeding)

Tbh, a non-local retreat i.e. more than an hour drive, and either of us would skip it.

Its just not a nessisary business practice and IMO is agist.
Interesting. So you can 'invest' in cryptocurrency and then release ransomware for your chosen scrip to boost your share. Wonder what sort of pen-and-paper white collar crime this would correspond to.
This really makes it seem like you have never used a database system at scale. There are reasons why systems like MySQL let you turn them off, and they are some of the same reasons why pretty much everyone who uses a database at scale has settled on MySQL. Also its why as is mentioned in the issue once you actually scale your database foreign keys become a nightmare. If all you have is a toy project you can feel free to use any database you want, but if you actually need to serve traffic you might want to rethink your priorities.
How far can the Model S go in 24 hours straight? I'll wait.
From reading the issue on GitHub, I see that there was a failure, then it started working, then two months later it started failing again.

I suspect there was a two month grace period. The problem would be that they gave that grace period to a developer (like Slack) rather than working with some Electron framework team.

I also suspect a reason the tools were revised to reject apps with use of these internal functions is that some of them are going away in March.
On one end we have FP, which is great for expressiveness and its declarative nature of getting things done, side-effect free, with nearly perl like terseness :)... but on the opposite end you have von Neumann CPU architectures which know nothing about FP. The utopian "silver bullet" is always something in the middle of course, a language that can give you the power and expressiveness of FP without sacrificing all the things that FP style compels you to bear - like mutability, performance optimizations/fine tuning, etc.

Personally, I find languages like Scala to be right there in the middle, where neither performance nor FP expressiveness is sacrificed severely.

That makes Scala flippin complex like C++ was, but it is probably the best attempt to bridge this gap if we all just want to learn "one language to rule them all" and incorporates both FP and imnperative/mutable style techniques that milk the hardware for what it's worth as well as give you the power/expressiveness of FP.

Of course one can write an operating system in Haskell... just as one can imitate functional style programming in C... or we can come up w/some "middle ground" language that takes the cake from both worlds and call that "the best".

My point is, this quest or journey for the best language/paradigm never ends and always shifts across the years as hardware develops and as we discover better ways of doing more with less (e.g. the crux of FP).

IMHO, ultimately you have to pick an appropriate language (tool) for the job at hand. If we forget that languages/programming paradigms are just tools... then, you'll forgive me for saying, we become tools ourselves. Or... fools, rather.

To me, whomever has realized this trade-off, is a true zen master of programming/engineering...not the one who espouses one paradigm/language over another. That's just me tho... YMMV.
You're lumping in PWAs with AMP and I'm confused why, they are apples and oranges.

PWAs are an outgrowth of web best practices and new consortium-ratified technologies. AMP is for Google search on mobile (and a couple other places.) To pull some examples from your comment:

> What's funny here is that many of Google's web initiatives such as PWA and AMP are at least partially constructed to increase Google's dominance and selling of ads. It's hard to fault any company that pushes against newer web standards and "progress" since it is so slanted in their competitors favor.

1. PWAs are not a Google initiative. AMP is.

2. Migrating to a PWA doesn't advantage Google vs. its competitors, either in search or the browser world. AMP on the other hand is specifically designed to get sites that adopt it better placement in mobile search.

3. Neither PWAs nor AMP are web standards. PWAs are a set of standards adopted by browser vendors (not just Google.) Vendors implement parts in different orders from other vendors (see the various Apple examples in OP.) AMP is not a web standard -- it is an open-source project governed by Google.

Please do not conflate PWAs and AMP.
Eurgh. What have we done? :(
I've seen MTG played, and I've had a few friends try to get me into it, but the idea of collecting a big shoe box full of cards never appealed. In a way I see it much like WH:40k, super interesting looking game, but with such a high barrier to entry as to make it functionally unattainable. Also unless I'm mistaken don't most MTG cards come in "packs" where you don't know what you're actually getting? I have zero interest in loot boxes, virtual or physical, so thats a big negative for me.

To each there own of course, but I think I'll avoid this particular time/money sink.
Did she say something about Trump's election being illegitimate?
These threads are always interesting on HN. I'm not going to pass judgement on folks who think they its ok or not ok to pirate media based on cost or sometimes how difficult it is to obtain "legitimately".

What I do think is interesting is that folks seem to solely place the blame on the large media distributors and seem to place no blame on the content creators. Creators have a huge influence on the industry, from the writers, to directors to the actors etc. Big names in the industry could easily choose to pressure to change things. But they don't, so they are just as much to blame as the distributors themselves.
I don't see why Google would be inclined to fix anything related to iOS because they seem to be currently deploying a multi-channel strategy to put pressure on Apple to let Chrome be loaded as a native app alternate browser.

From Google's perspective, Chromium-based apps being booted from the iOS App Store is probably a fantastic thing if it leads to articles like the one linked up top here.

"Apple makes it hard to use the web" is a much better message for Google than "Apple doesn't let users install Chrome so we can't collect as much data from iOS users as we do everywhere else." Even though the latter is the truth behind their push to get Chrome natively onto iOS.
The whole fact that you made a foreign key implies that that is now a rule of your database. If anything is in that column that does not adhere to the foreign key, that means your database is corrupted.
I agree; I recommend everybody to master imperative, OOP, functional, logical and constraint-based declarative languages. They are all useful, certain things are much easier in one or the other type.
> Surely, these books have far more influence on our world than Lucretius's poems or Faust.

Faust had a pretty big influence on Goethe, who used it in order to create what is "considered by many to be Goethe's magnum opus and the greatest work of German literature" (to quote Wikipedia).

I know that in the Anglo world things like German literature and the romantic movement generated by guys like Goethe didn't have that much of an effect (I think that Keats' and Lord Byron's influence was rather short-lived in practice), but here on the Continent the romantic movement's prestige was immense almost for the entire 19th century and going into the 20th (at the limit guys like Proust and Kafka can certainly be considered as romantics).

For example here's a Faust-related quote from an article talking about Lenin's high interest in European literature [1]:

> At home, Shakespeare, Goethe and Pushkin, among others, were read aloud on Sunday afternoons (...) He devoured Goethe during his two decades in exile, reading and rereading Faust many times.

And talking about the Soviets, let's not forget that the same legend of Faust also inspired Bulgakov's "The Master and Margarita" [2], one of the most interesting literary works of the 20th century.

For comparison, the Bible was not at all seen as interesting in Europe during the 19th or the 20th century, only the "réactionnaires" (as they were called in France) had any interest in it + the Pope in Rome who had almost no influence at all after Napoleon's wars.

You might accuse me of euro-centrism, and you would be right, but the fact is that almost all of the world's most influential ideas had been devised in Europe up until WW2, and only after that has US started to challenge Europe's intellectual influence.

[1] https://www.theguardian.com/books/2017/mar/25/lenin-love-lit...

[2] https://en.wikipedia.org/wiki/The_Master_and_Margarita
Well, you typically layer TCP over an unreliable lower-level transport to get reliable transmission, so that works, too.

Also, SMS over TCP sounds somewhat reasonable, so I didn't wanna go with that.
When Linux adopted the Contributor Covenant, it's author had this to say

> I can't wait for the mass exodus from Linux now that it's been infiltrated by SJW's Hahahah

> Some people are saying that the Contributor Covenant is a political document, and they're right.
Late 30s, single, owner of multi family in New York City of all places. Bought it a few years ago in an up and coming area that's now exploding.

Original idea: fix it up and either live in part and rent part, or rent it all. Rents are high here and mortgage is fixed at a low rate.

Reality: living in an up and coming area when you're a professional and gentrifier, and surrounded by 25 year old barristas, artists and rock stars is difficult. Rats are annoying and always find a way in. Construction costs are not 10 or 50 pct more than what was estimated to me by several people when I bought, they are 300 pct what the estimate is. I can't afford it. What else is hard, an insulated brick house from the late 1800s, illegal work done before me, and dealing with contractors and handymen.

It's going for sale next week, unrenovated.

Would I do it again? Probably not.

What I gained: equity (1/4 of the mortgage) plus rental income minus mortgage and taxes means I paid 1K a month for a brownstone while a 1 bedroom apartment costs 3200 here. Thus I saved money.

What I lost: several years of my single life being stressed in a commute and in a lawless/hostile neighborhood.

It's a real toss up. I'll be a renter again soon.
That's because even Chrome/Firefox on iOS is forced to use Safari's own rendering engine. Apple hasn't opened up iOS for other vendors to develop browsers ground up independent of Apple's stack. Browser wars aren't over, you're probably drinking kool-aid or being someone's patsy for no reason.

Shame.

Disappointed to see so many Apple apologists favoring lack of competition on web. Not surprised though, it's what cultists always do.
Even before I had a family, the last thing I wanted to do was spend a week somewhere else with people from work. If I want to go somewhere magical, I'll save my money, plan the trip with people I know and like, and go - likely to have a far better and memorable trip with an agenda
(or not) we set for ourselves.

Now that I have a family, the prospect would be a big fat "No" for me, unless we're all encouraged to bring our families.
Hiring in EU? It seems like you have team members in EU already on the website - what time zones in that case?
The upper middle class pay the majority of payroll taxes by far. The wealthy are almost exclusively taxed via dividend and capital gains taxes and at a much lower rate than most of us.
FKs are a tool. Sometimes it's great to use a hammer for a nail, but sometimes a screwdriver just seems to work better when working with screws.
> or just run a query to check for invalid rows at 3am every morning

One of the nice things you get from database FK constraints is when something messes up the data, you get an exception thrown in the code that's messing it up, complete with a backtrace and whatever inputs and timestamps you care to log.
Is Scala really that much more performant than Haskell? I haven't done much high performance computing in either, but the Scala compiler is significantly slower than the Haskell compiler (both self hosted).
I was having tinnitus problems and for me what helped was just honestly the awareness that my brain was tricking me. If you put a sensitive mic up against your ear, it won't hear it. Somehow it became easier to ignore until it truly wasn't there anymore.
Or, as a wise man once said, "Premature optimization is the root of all evil."

It's a different part of the field of course, but so many people yield opportunity cost chasing some difficult architectural problem that will likely never impact you, and if it does you'll have resources to throw at it.

Many startups won't even have slave production databases, much less have to worry about network distributed sharding, complex caching strategies, database optimization beyond query analysis.
My bad: I mis-read that headline as "Steganography" and as I read the comments, I kept wondering how making typing faster would obscure communications. :-)
What I would like to know is why I have to go through an f'ing CAPTCHA every bleeding time to read an f'ing medium article.
…do you see the actual funny in your comment? lol
And a lot of the UK landfill is shipped to Norway (OSLO/Klemetsrud) because we don’t have enough waste to burn. The heat is used to generate electricity and heat most buildings in Oslo, both industry and homes.

(This was new to me until I talked with one of the managers at the plant one year ago)
As someone who enjoys artisanal coffee, owns a large vinyl collection, makes his own kombucha at home, and ran Solaris 9 long long ago, I find the term "hipster" a bit offensive.
This is my favourite comment of the day
There is no free will, but, there is free will. Easy.
Java is probably the worst language for error handling. It has checked exceptions AND unchecked.

I can't say I've ever seen a Java codebase that handles InterruptedException properly. It's so bad that most Java devs I've talked to don't even know what the right thing to do is.

And don't get me started about catching Throwable. Why make it so easy for application code to catch VirtualMachineError. I've not once seen Throwable or Error caught in a way that makes any sense.

Java seems to encourage a culture of not handling errors properly because it looks "messy". Then, these same acculturated devs try to bring that misguided sensibility about how code should look to Go and start complaining that they actually have to handle errors.
It’s straightforward and quick to write a promise wrapper on callbacks. If one of the goals of the project is interoperability, then it makes sense to leave async/promise implementations to the user.
100000 Emails from iCloud
At the place I worked that skipped FK checks, they used append-only database schemata. If you limit yourself to CR operations, a lot of things get easier than they are with CRUD - ensuring (a somewhat weak form of) database consistency without transactions, yeah, but also things like audit trails and slurping new data into the BI system.
You don’t ever have to open a booster pack if you buy all singles on the secondary market, as many players do.

There are also draft formats where you pay to play against others from the pool of cards opened from a set of packs. The choosing of the cards is a deep meta game of its own. These are pretty affordable in general.

And you can play online which is cheaper still.
I don't believe it is even the engine must be WebKit; it is that third parties can't implement a JIT-optimized Javascript engine like JavaScriptCore.

So the browsers are stuck with either abysmal performance numbers due to interpreted javascript, supporting their engine having different javascript behavior on iOS, or shipping a skin over webkit. The skin approach is by far the least amount of engineering.
I hired someone from something I initially saw them Tweet about.
Our modern interpretation of the devil owes more to Faust than any of those, even the bible.
Every time I imagine that reached the absolute bottom of Chinese depravity they grab a shovel and dig.

I fully expect to ultimately see death camps eventually.
I wonder if the d3js project is next in the firing line
Nobody in industry understood how to apply Calvin until we did at Fauna. That is the only reason; the rest is engineering path dependence.
But you wouldn't reward the arsonist would you?! Or the negligent builder? Or the planning department who failed to stop this insanity when it could have? You wouldn't lobby for systems that fail catastrophically just to point out shortcomings.
So when a big customer like Apple or Walmart applies pricing pressure on a component supplier, how do they pick a number?
I’m not scared of robots rebelling. I’m scared because they won’t
I heard an interesting idea today. "Boomers" have been criticizing "young people today" for being "snowflakes". It might be the case that with their fresher perspective on technology and culture, the younger people realized the perilous path involved in taking action now. Older, less savvy people are being caught unaware of the ramifications of certain types of speech and action in the modern world.
I'd like to point out that Apple does not natively support MPEG DASH on iOS Safari, and I have always considered Apple to be the problem child of the Internet.
>For some counterexamples to your point, look at any of the art by Seb McKinnon.

His stuff looks fantastic, and does look a lot like the more "tarot" inspired art of early magic. Thanks for telling us about him! Link for the curious. http://www.sebmckinnon.com/illustration/2019/5/29/2019/5/29/...