skysight-inc/HackerNews huggingface dataset:
>The fight against imperative programming has come so far that we banned not just goto but every commonly used control flow primitive.

Not really. We have not banned them from anywhere, except where they were not part of the culture (e.g. Scheme -- and even there you can use them trivially).

Almost all working professional programmers (say, 99% of them, aside a statistically insignificant percentage working professionally with Haskell and Lisp and F# and so on) use for, while, if, exceptions, and so on. Hardly "banned".

>We have banned global variables too

And for good reason.

>and FP purists want to go even further and remove the assignment operator

Your initial data and constants need to come from somewhere, so nobody bans the assignment operator. But if you can avoid mutations, sure.

>What is the end result except more confusing code ?

Clearer code that you didn't took any time to study the concepts of to understand?

Having to know fewer concepts to use a language is not the same thing as the code being easier to understand.

A language with fewer concepts can lead to weak expressibility, so you need to e.g. write 100 lines to do what another does in 5, and with their intention more explicit in the code.

For an extreme example, consider how easy it is to understand a piece of code doing the same thing in assembly and in C. The C code will be much easier to follow, despite requiring you to learn more language constructs.

And inversely, a BASIC programmer could say the same things you said, but about, say, Python: "Why do we need all those language features, aren't line numbers and GOTO simpler?"

If learning 5 new concepts makes it possible to handle the same functionality in half the code, understand old codebases better, and write the same thing with less bugs, then those 5 concepts lead to simpler code -- even if they add to what someone already knows.

>What is a monad exactly if not the ";"?

Tons of other things.
That also depends on the availability of resources. Hopefully a battery technology that requires less scarce resources comes about.
Whether slow code matters or not depends on the scale, because executing code requires power.

If it's a one off or otherwise rarely executed, yeah, it doesn't matter much. But it starts to matter when it's constantly running on a significant number of systems.

Widely distributed frequently running slow code can waste a lot of energy. Cell phones and laptops heat up and have a shorter battery life. Even desktops require more power.

On the global scale, a large number of such systems can waste several nuclear reactors worth of electricity.

10 times slower code might require 10 times the number of servers. Maybe it doesn't matter much when it's just the difference between one and 10 servers. Or perhaps you don't even consume 10% of a single server. But there's a point when the hardware and power costs start to dominate.

The scale matters.
This would be a day that solar power would - if you'll excuse the expression - really shine, right?
Spark is big data processor. Use dl4j or tensor flow along with it for machine learning
under cutting the price that gas fired power stations need to be profitable.

That sounds like a gas fired power stations problem, not a battery problem. In fact, it sounds like a good economic argument for the battery, and for more of them.

The answer on the few hot days this year has been "plunging neighboring states into blackouts".

Can you please point to some evidence of this? It doesn't sound like a logical progression to me. If South Australian's power situation was to cause black outs in New South Wales or Victoria, there would be a million fantastic articles about it.

I don't know what 'the rules' are, but I doubt Australia's two most populous states would be too excited about agreeing to rules that would cause SA's power to be maintained at the expense of theirs.

I'm also pretty sure that in 2018 SA was a net exporter of power to the East (that's a different metric, but somewhat related).
Brave seems more focused on their crypto currency than making a browser. And their ad-replacing shenanigans do to not exactly inspire trust[0].

[0]: https://en.wikipedia.org/wiki/Brave_(web_browser)#Critical_r...
Bread and circuses stave off revolution.
I shouldn’t have to write this out but...

It’s a sliding scale. Not an on and off switch. “Why allow drinking at all?!” Society has deemed that people at 21 can handle it. The longer you wait the better so it’s not like there’s a detriment.

Do you remember the person you were at 21 vs 18?

But sure, if you think the drinking age should be 30 go ahead and call your congressperson.
Yeah, I wrestled with including this step, but I wanted to keep it mostly straightforward for relatively non-technical users. I have a different network level ad blocker and love it.
Indeed. Canada does the same. “Let’s make it easier for people to buy a home!”, “Oh wow! Home prices have really gone up, let’s make it even easier!”, repeat.
I find handwritten notes far worse. For me, I'd prefer a full set of notes to a be provided if feasible (a lecture, etc.) but that doesn't work in everyday conversational meetings. I instead prefer typing notes because it requires little cognative load to accomplish and is quite efficient.

The point of notes for me is to refresh my memory after the fact because my human memory isn't reliable enough. They are especially useful for capturing finer quantified details.

During a typical lecture or discussion/meeting, I find it far more useful focus most my cognitative abilities on what's being described/presented to me and only commit critical information to memory. The majority of my energy spent is processing the language and concepts discussed, linking language and concepts togethe, connecting those concepts with previous experiences/knowledge, and generating new ideas/relationships... all in what seems a fairly random order as needed. This allows you to ask informed questions when I see things missing in the conceptual structure I have that I might otherwise miss later and have no means to extract that information because my notes may not have the relationship or fact I need.

Later on when reviewing the information, I utilize the critical conceptual structure/framework I created about the discussion to reason through it. If there are pieces of information missing, it's pretty obvious and I can refer to my notes. If I missed the concept I at least have a second shot at recovering the idea from highly detailed and clear to read notes I took.

I could not imagine trying to write LaTeX on the fly during a in depth mathematics discussion, I'd have far too much focus on syntax formulating correct notation structures than the concept at hand when it's far easier to translate using a camera phone or handwriting.
I fail to see what any of this has to do with the other post. Should incitement to left wing terrorism somehow be ok on this new platform just because it may not currently be common?

Furthermore, from your own link, the 2000s saw a flood of left wing terror attacks. That was not that long ago.
Unless we are speaking about high integrity computing, robust is a foreign word to most software.
I wasn't expecting much when I first clicked until I saw the landing gear and the engine part moving. Seriously impressive how there are joints and hinges in his design!
Can you provide more detail? Are you talking about pre-roll type ads in YouTube, or something else?
Mobile isn't so bad! No complaints so far after about a month.
> Being able to write my posts in Markdown, test them locally with Docker Compose and deploy with CI via Travis onto a domain that I own with SSL certificates that I own is a MASSIVE win.

What do you use for that?
1) The younger you start consuming addictive substances, the more likely you are to become addicted.

2) Analysis and impulse control are not handled by the same parts of the brain, and those mature at a different pace.

3) Given how social ties are stratified in kids due to the education system, providing a buffer of a couple of years protects high school kids from expostion to addictive substances.
The real problem with nuclear is that when it fails, it fails hard and damages the environment for decades if not more. Wind and solar have the smallest impact even when they fail as far as I am aware. It is about more than just CO2 reduction.
Iceland is in the EEA and Schengen. If Brexit was moving the UK to that status it would only be slightly bad - almost identical to the current situation, except with more free movement and no ability to vote on EU rules.
But python is both slow and inexpressive. No types, no match statements, no easy FP. Also the language is poorly designed and inconsistent.

I’m practically forced to use python for quant finance at my job because of the network effect: numpy, pandas, cvxpy, etc.

But the language itself is total garbage compared to, say, Scala or OCaml. And both of those languages are also much faster.
Brave uses Chromium under the hood, so if you're paranoid you could assume that Chromium has some kind of backdoor integrated.

Also, to my knowledge Brave Software Inc. is a For-Profit organisation.

Despite those facts I am personally using Brave. In my opinion you already cut out most of the "bad stuff" of Chrome with this choice.
Every non-English speaking one, in my very anecdotal and limited experience. I've never seen it used like that outside the US and sometimes UK.

No offense meant but it's usually shown as an example of the "Americans can't count" stereotype: 1,000,000,000 is a thousand millions.
Currently nuclear loses on price and opportunity cost with gas + wind, given that it takes 7 years on average to build such a plant.

Also it only functions as baseload - it's a great alternative to coal, but that's about it.
What slightly irks me is when some "kid" makes the news about something they did, but in reality it was basically their parents guiding them the entire time. Pretty much how some kid shows up to a science fare and wins despite their parents doing most of the work.

Not the case here, but that is usually what I expect when I see a kid making something news worthy.
An accurate analogy, although a better HN automobile analogy in the sense of more accessible to the general public would be trying to drive SUVs like cars results in rollover accidents.

Its an error of regulation to permit a ridiculously safety critical real world physical system to digitally emulate a historical virtual system to save training money. Its a perfectly good aircraft on its own; it just has intentionally hacked and modified controllers to fake being another plane, and those hacked and modified controls unfortunately kill hundreds of people.

Given the merger of government and aerospace its going to be a huge dysfunctional fight where neither side can back down and admit they need to change things. My guess is for purely political reasons both sides will admit guilt, although its obviously completely a government failure. On the other hand, as per the recent VW Diesel situation, if the government implements stupid regulations that are followed to the letter resulting in predictably dumb outcomes, the government accepted no blame and the company was attacked. There are strong indications going both directions which will make this interesting to watch.
We’re Optimizing Ourselves to Death
I haven’t heard about this, can you provide a link with more info? I ask because I run a simple local DNS recursor with a blacklist and I haven’t run into any issues with YouTube.
Of 18 products tested, Defender had the highest system impact performance, and the only product to earn the 1 star performance rating. https://www.av-comparatives.org/tests/performance-test-octob...
Totally agree. The title should be more along the line "An Artist Spent 9 Years Building a Detailed Paper Model of a Boeing Jet which he started as a kid"
I really dont believe this for a second.

https://www.energymatters.com.au/energy-efficiency/australia... is a great website that shows the mix of current generation. Right now coal is running at 90%.

The though that in 10 years time the whole country will completely switch energy source to new renewable sources that haven't even been built yet is a joke.
Revoke Article 50 petition: 713,686 people demand UK remains in EU as Theresa May begs for Brexit delay

http://icoviral.today/2019/03/revoke-article-50-petition-300...
Do they not understand customers at all? Except for high performance simulations, I will never use the cloud. Maybe they realize that and want to force cloud adoption?
Ugly people make more money
Yup, absolutely. The "install PiHole" line makes much more sense in the context of HN than in the context of a "a few simple steps".
Publish your own DNS in the DHCP lease? That's transparent for the end-users... I wrote lightly about that [0,1]

[0] https://try.popho.be/byeads.html

[1] https://try.popho.be/securing-home.html#dns
Nordic metals firm Hydro restoring systems after cyber attack
WMR = Windows Mixed Reality. Had to look it up. Please ease off on the acronyms or add a parentheses to clarify.
If you're paranoid, you could read the source of Chromium and confirm it doesn't have a backdoor integrated.
In french "un billion" is 10^12.
"You won't BELIEVE what these Nokia phones are sending to China! Read the Secret we Found Out."
Yeah but we're not in a car crash benchmark here. If you end up paraplegic and the other guy is dead you still lose.

> When comparing old vs new cars the size difference is completely irrelevant.

impact force = mass * speed² / (2 * distance)

The crumple zone of modern car improves your _distance_ here, mass (size) still plays a huge role.
In all the blue contries in this map:

https://en.m.wikipedia.org/wiki/Long_and_short_scales#Curren...

“The traditional long scale is used by most Continental European countries and by most other countries whose languages derive from Continental Europe (with the notable exceptions of Albania, Greece, Romania, and Brazil).”
In my opinion, this paper is advocating for a risk-management approach to cybersecurity, just like businesses address every other issue. Evaluate the risks, including cybersecurity, do what you can to reduce the probability or impact of any occurrence, and develop actionable plans to maintain business resiliency during and after any such event. This is what successful businesses do all the time.

This is not revolutionary, it's just not an idea that's been applied on a widespread basis in the cybersecurity realm until fairly recently.
Use Apple devices and software as much as possible?
This is very solid advice (although I'm not familiar with all those browser extensions and can't endorse them).

To go a step farther, I make two suggestions:

(1) using the uMatrix extension and disabling javascript by default. This completely blocks fingerprinting. If a site doesn't work, you can always re-enable JS in two clicks.

(2) Use a VPN or Tor Browser to better hide your site browsing behavior from your ISP.

Not completely related, but

(3) Be very careful what software you install on your computer, tablet, and phone (especially apps).
If the 18-20 yo population represents 2% of voters (just making it up) and 70% of them don't vote, you will understand their power is absolutely marginal.
Not everywhere in the world has the land area to do wind and solar. In fact pretty much everywhere other than Russia, Australia, Canada, the US and Brazil.

There the energy density per head of population is too high for renewables.

Good video by the late David Mackay on that point here.

https://youtu.be/E0W1ZZYIV8o
Great observation, 100% on point. "Microservices are inherently slow. The very concept of a microservice is to break up a boundary by a network call. This means you are taking what was a function call (a couple cpu cycles) and turning it into a network call. There isn’t much you could do that is worse in terms of performance. Network calls are really slow compared to the CPU. But these big companies still choose to use microservices. There really isn’t an architecture slower than microservices that I know of. Microservices’ biggest con is performance, but greatest pro is time-to-market. By building teams around smaller projects and code bases, a company is able to iterate and innovate at a much faster pace. This just goes to show that very large companies also care about time-to-market, not just startups."
You aren't going to be all that comfortable in business class if the airplane has a circular fuselage that squeezes you in the vertical direction.

The 737 is a classic story of undercompetition and underinvestment. The design goes back to the 1958 era 707, and it feels tiny on the outside even though it is big on the inside.

The Embraer 195 is much smaller than the 737 but it feels more like the 767 inside because it is designed with the human physique in mind.

Boeing was shocked by what it cost to develop the 787, but had it given the same treatment to the 737 it would have been able to recoup the costs more quickly because so many 737s get made. Also since the 737 is so common in the sky anyone who is concerned about climate change, noise, or any other environmental effects of air travel would see the 737 as a priority.

Ten years ago you could take a widebody from NYC to LAX. Today if you fly, you wind up on a 737 or an A320 which is basically the same thing. For me it is a reason to stay home, drive, or take the bus.
Defender is one of the slowest not fastest, it's a product Microsoft acquired, not written from scratch into Windows. If Microsoft doesn't provide other antivirus vendors an equal surface area to attach to, it will end up as an anti-trust case pretty quickly.
Renewables have been the best/cheapest for a while now. What you are talking about is when they become so much cheaper/better that they overcome any subsidies and unaccounted externalities in fossil fuel alternatives.

Well run countries take advantage of this to save themselves money (e.g. subsidies to solar have paid for themselves even if you solely count reduced mortality rates from pollution.)

Oligarchies use a lack of understanding of this to extract out the last bit of wealth from their citizens that they can before the market comes for them.

A recent MIT study examined exactly what contributed to the price declines and government support accounted for the vast majority of the price decline:

http://news.mit.edu/2018/explaining-dropping-solar-cost-1120
You can reduce something without stopping it. I'm not advocating for the policy change that was made. But the evidence suggests it was at least somewhat effective in the goal of reducing teenage accidents in which elevated blood alcohol levels were involved. People can differ on whether that justified the policy change or not.
One of the great things about ff on mobile is ability to use desktop extensions, like ublock origin.
Firefox mobile on android is a vastly better experience. The number one reason is you can run adblock which turns many mobile sites from ad-filled disasters to readable sites.
How to use a changelog to announce new features
I was on Mastodon.social for a while. Ended up leaving when the whole site became "Kill the boomers" and tons of gay porn.
I've got a Nokia 8 (also bought in the UK) with the Evenwell system apps as well, and I haven't noticed any unusual domains in my Pi-hole logs at home.

I wonder if it's only specific country builds that display this behaviour?
People don't think about solar like lego. Once you connect the first panel your pumping out energy. Then you just keep going.

Nuclear has such a complex set of technologies and industry that needs to be developed and maintained. The buildings themselves take years to develop and construct.

Then there's the stigma around them etc etc.

Renewables just make more sense these days.
Nothing prevents you in Japan from drinking and smoking before 20. You just can't buy such goods directly, but it's well known that people get it thru other means (via a third party, friends, parents, etc...).
Google may rank sites for queries that don't appear on the page at all
The drunk driving argument extends to Japan extremely poorly due to cultural and infrastructure differences.

Public transportation in Japan is great. In urban areas it's also quite easy, accessible, and affordable to rent a capsule hotel "room" or net cafe seat. This is true no matter what your age or credit history, they won't ask for your drivers license, you can pay cash. It's honestly strange that I have to state some of these things, but I live in the U.S., and this country is all kinds of screwed up.

Also, the enforcement and norms for drunk driving (setting aside age entirely) are totally different. From my experience it's not common to have _a_ drink and drive, and the limit is "detectable".

For a driver in the U.S., the legal and cultural expectations are that you assess your own inebriation and decide when it's okay and when you need to get a cab. That standard doesn't really exist in Japan.

While I might not agree, I can understand people's hesitation about putting the U.S. standard on people aged 18 and 19. But Japan's standard? Pure nanny state.
Nuclear power is really expensive even in China and other countries outside of US regulations. This becomes much worse if you can’t run at 100% 24/7 so it effectively needs storage. France got around this by exporting a lot of power, but that only works until everyone tries to go nuclear.

Combining wind and solar dramatically changes the numbers, thus making a meaningless argument. They are so cleap you can balance the cost of overproduction and storage to end up with minimal storage. But in such an environment Nuclear is simply more expensive than either extra wind production or storage making it nearly useless.
You don't need any external program. Open System Preferences, go to Keyboard and click on "Modifiers Keys...", then you can map Caps Lock to Esc.
From my experience WP autoupdates

Do you expect all node small and medium completed projects run on latest node?
Because every HN thread [1][2] about VS Code brings up the telemetry. Despite the fact that it's opt-out and it's open source. At this point, it's just irrational.

[1] - https://news.ycombinator.com/item?id=19427773

[2] - https://news.ycombinator.com/item?id=19109815 (this one is great, because it's a task raised on dotnet cli, but posted on the thread about VS Code release notes)
useful only in countries where the full price is not displayed upfront ?
What's the benefit though? a larger group of people getting stomach cancer, in the country that has already the top stomach cancer rate in the world?
"Just build more housing," they said.

"it won't change the culture of the city." they said.

Everything unique about the bay area is dead or on life support. And now they're going to drown this house with bureaucracy for failing to blend in with the crowd.
Isn't that the case everywhere? The caller pays for the call, the recipient doesn't? Where are you? My grandma has a prepaid SIM that I call and she never pays anything, just a small amount every few months to keep the number alive.
Is there any statistic that shows a 21 drinking age reduces per capital teenage drunk driving deaths as compared to Quebec or Alberta, where it is 18?
Can you imagine one case where an 18-21 year old was at a party where people were drinking and they said “I can’t have that beer because I’m underage”.
German Wikipedia shuts down for 24 hour protest
I think it will turn out to be significant that there are two, but not three. This means that MCAS could not have been made triply-redundant through software alone.
I did this a while ago, but don't see a huge difference with ads. I confirmed that around 13% of traffic is getting blocked.
I have traveled New York to Seattle by Amtrak in 2016 and it was one of the greatest experiences of my life. Sleeper class is not cheap in peak season, but its well worth the cost at least once.