skysight-inc/HackerNews huggingface dataset:
The EcmaScript switch spec basically says that each case statement in turn is evaluated until one becomes equal or default is encountered, so to follow the spec the basic case is equal to a bunch of if-else's.

To optimize the runtime first has to figure out that all case values are constants (and insert guards to de-opt if it doesn't hold anymore), so in essence the machinery for running this code optimized has to be very conservative (and probably why they placed arbitrary limits that really aren't suited for emulators).

https://tc39.es/ecma262/multipage/ecmascript-language-statem...
I also had a Xantia at some point and the hidraulic had a complete failure while doing a 360 downhill in the sierras here in Portugal. It was mighty scary as everything failed: suspension, steering and brakes (and I got the dreaded red stop light on the dash). Thankfully I was going very slowly and there was a long straight to help me stop. I think having a separate system for the breaks is a good thing.

I have to add that I was very happy with that car and my riding experience mirrors the article even though it was not a C6.
I just installed incineration toilet at my cabin. Works great and burns the shit to ashes. Works with a gass balloon and a 12V battery. 220V option being available.
To be fair and as the article points out, one big reason for subscription based model is because it's a very stable profit model, however this model is also very one sided.

I think however one simple solution is to push for legislation that forces companies to have a PayG model (pay-as-you-go), this will still make it profitable but also hopeful drive other models to the for front.

But it wouldn't solve the elephant in the room:

You essentially have 0 digital autonomy.

This is something that has baffled me about people talking about privacy, how the tend to not bring up this very benevolent dictator unto the customer.
Lol, I think this comment illustrates why BSDs will forever lag, better than any technical explanation... and I say that as an OpenBSD user.
The if-else behaviour comes from the EcmaScript spec, check the sibling comment.
> I just remembered the toxic comments

We tend to pay more attention to the negative and dangerous -- a survival thing, right (from when we were hunters and gatherers)
"the brains part came from Ukraine"

The brains that developed it worked in Moscow in the 80s[0].

[0] https://en.wikipedia.org/wiki/Kurs_(docking_navigation_syste...
That's the hallmark of a good science fiction story: it bombards you with other small details (like the way he had to make sure his substance was stored in the cells, otherwise it would have been filtered out by the kidneys) to produce a "suspension of disbelief" and stop you from questioning the overall plausibility of an antihypoxiant...
If you extract this `Chain` class to a separate package, I would gladly reuse it in my applications. I've been thinking about creating a `Vavr`[0] clone in typescript, as I really like the syntax used in that library, especially the `Try` construct.

[0] https://www.vavr.io/
GDP is a very weird metric. For example, GDP includes money spent for renting an apartment, although no goods are produced in this case.

So for example, if there is a village with two people, and they rent each other's home then this village has non-zero GDP, although no goods or services are produced.

Inflated education, medical or insurance prices also inflate GDP. So a teacher in one country could produce 2x more GDP per unit time as the same teacher in another country.

Another wrong thing to do is to adjust income or GDP for food prices (purchasing power parity). This is absolutely wrong. The idea of PPP is that if in your country potato is two times cheaper then it makes you two times richer. This is wrong because a MacBook or a car are not two times cheaper. Actually they are more expensive than in the West. And if you go abroad then there will be no cheap potato either. So PPP is a total lie. It can be applied only to poorest people who spend all of their income on potato.

So if you want to adjust the income for PPP, at least use MacBook or car prices instead of potato.

I think that a fair metric would be a percentile distribution of how much money a person has left after renting the cheapest apartment and buying the cheapest food.
It's not clear to me from the blurb if this is a cloudy CI/CD solution hosted by Jetbrains, kind of like Circle CI/Travis CI. Or if this is a new TeamCity feature for editing build configurations.

I'd assume the latter - that this is a new TeamCity server feature. But the confusing thing is there are now 3 ways to edit a build configuration with two formats. The classic UI way, a Kotlinfile way, and now this new YAML way. And a "3.5" which is, if you enable VCS backups of build configurations, it gets stored as XML.

Assuming best intentions I'd hope there's some kind of behind the scenes integration going on to consolidate at least the classic UI way and the YAML way.
Can you provide source? I find such claims fascinating, so I did a quick google search, but what I found doesn't support your statements.

From https://en.wikipedia.org/wiki/Hygiene_in_Christianity:

Early Christian clergy condemned the practice of mixed bathing as practiced by the Romans ...

The Church also built public bathing facilities that were separate for both sexes near monasteries and pilgrimage sites ...

... baths were normally considered therapeutic until the days of Gregory the Great, who understood virtuous bathing to be bathing "on account of the needs of body" ...

> You do know that the devil is lurking from the water don’t you? I guess folk tales cannot be used as proof since they are no written records.

As far as I know, these tales were meant for children to stay away from bodies of water to prevent drowning of kids.
I'm sure it's only a matter of time before someone turns this into a Perl dialect along the same lines as Lingua::Romana::Perligata.
I think this is the biggest problem with EVs. Manufacturers are trying to make them look too futuristic. Why can't they look like normal cars?
It is being hit by HN. Shiny apps are often quite resource intensive, because they are doing maths heavy computations, but under normal usage it would run at a decent speed.
Probably a core memory board?
the PSA and Renault EVs look perfectly normal. So do the Kia/Hyundai ones apart from their two flagships
It's Cthulu.
Basically, modern JS engines are fast because they do a lot of inferring about types. They do this both statically (by inspecting the code at compile time) and dynamically (by watching the code as it executes), and they do it for objects as well as literals.

For a hand-waving theoretical example, if you have code like:

var a = { foo:1 }
var b = { foo:2 }
var c = { foo:3 }
doSomething(a)
doSomething(b)
doSomething(c)

then modern JS engines can see that the "doSomething" function always gets called with arguments of the same type signature, and if it's a hot function they might optimize the function around that information.

If you want to know more, searching on "V8 hidden classes" should turn up relevant articles.
removing the "how" from the title totally changes my thoughts from "this might be interesting" to "huh? an obvious statement? what could this article be?"

(p.s. it is slightly interesting. and very popular science-y - worth a read if thats your sort of thing)
My personal favorite piece of writing on the Bicameral mind is Dennett's relatively short essay, also a good introduction for people unfamiliar with it.

https://www.julianjaynes.org/pdf/dennett_jaynes-software-arc...
I just tested it:

1.18:

BenchmarkMap-10 13388006 77.38 ns/op
BenchmarkSwitch-10 50482033 23.00 ns/op
BenchmarkSlice-10 100000000 10.90 ns/op

1.19:

BenchmarkMap-10 14947908 76.78 ns/op
BenchmarkSwitch-10 49444435 23.01 ns/op
BenchmarkSlice-10 100000000 10.74 ns/op

edit: If I understand the release notes correctly the switch optimisations are only new for large integers and strings.
Not all motors make sparks, and I’ve never seen a woodworking tool with a brush or non-sealed motor. Maybe something incredibly cheap from a country with no safety regulations, but even with robust dust collection, there is a layer of dust covering everything in a wood shop, you’re constantly sweeping it.

The arguments for dust collection tend to be around human health and comfort.
I'm certainly not opposed to checking out alternatives.
Lego Ideas – This Is Fine
Resin: Holistic Service for Dealing with Memory Leaks in Production Cloud Infra
The East African Federation experiment
The "event-based" paradigm is a useful way to orchestrate software. I wonder why it's not used to orchestrate people. A rule of thumb would be "every meeting must have a reason - an event that lead to it".

Why do we even have to have a fixed, recurring meeting? That's equivalent to polling a server periodically and asking "hey, any event happened?" - which is extremely unscalable, and should be done only in situations when malfunction of event-driven mechanics is expected. Same with people - if an employee is trusted, meetings with them should only happen on an event - when there is a change of plans, some new work to be done, et cetera.

We have asychronous communication - so why not asychronous organization?
Complex data transformations made simple with Mappings
innovation is not a faucet, you can't just pour a big one when you feel like it. of course you know this, but you identify "desperation" as the fuel for it.

which is definitely a big part of our human struggle, but that doesn't mean we can't do better by looking at exactly those previous transformational periods. (and we can see that it did not affect everyone the same, hence waiting for crop failures in areas that emit the vast majority of CO2 means condemning tens/hundreds of millions of people to having a super doubleplus ungood time. oh and that's when wars start, when desperation makes it look like a better alternative.)

it was not innovation that decreased smog and lead pollution.

yet at the same time there's this paradox of history drawing straight lines on graphs:

https://slatestarcodex.com/2019/03/13/does-reality-drive-str...

switching to cars generated a lot of economic surplus directly. just as back in the days the new railway lines.

the problem with CO2 that it's an externality. exactly that horse to car switch introduced this hidden trade off, and we need to make it seen, and then markets can/will pick the innovative solutions that optimize for less CO2.
The advantage of the combined suspension and braking meant that the car would adjust its brake pressure based on load. A heavier loaded car would thus brake harder with the same amount of pedal pressure.

The handbrake is still entirely mechanic, and is your emergency brake in case the brakes fail (the same would be the case on a regular car). Fortunately, I've never had that experience yet, and while I've heard the stories, I am still convinced the combined steering, braking and suspension system is a mechanical superior system, even if it requires more maintenance. I'd concede, that from a maintenance's perspective, it's an inferior system. Which is probably why Citroën abandoned it.
Great read and very inspiring,
I think the end product really goes to show that creativity and a clear gameplay direction are worth way more than presentation.
Excited to check out the game as soon as I get home !
There are several ways to measure gdp, one of them is income-based.
The style is called synthwave, not retro-futurism :)

https://aesthetics.fandom.com/wiki/Synthwave

https://aesthetics.fandom.com/wiki/Retro-Futurism
I take it you are in the US. Look at your debit card’s back. There are other networks the card may be charged through instead of as a credit card through visa. Likely those networks are Star, Pulse, etc. These process as DEBIT cards, Visa is a CREDIT card company.

When you go into a store and they ask you to run it as debit or credit and you say debit, it uses one of these other networks. The fees are usually much lower than running it through Visa.
While I don't do enough C to comment on some of the other items, the global static variable named "last" seems likely to collide with a variable name that would be commonly used.
I think you underestimate how good the immune system is! And where the best cost/benefit security tradeoffs are, because security is always a tradeoff. (The most secure system is a dead system)

The body is constantly exposed to pathogens, all the time, in everything you eat, the air you breathe, everywhere.
It is as if your laptop was downloading millions of random executables from every site you visit and hapilly running them (the analogy with Javascript and browser exploits just writes itself!)

Antibodies are in the metaphor both an allowlist AND a blacklist. Anything that isn't a well-known protein made by the body (allowed) is fair game for antibodies to bind to. You make quintillions of these that will bind to anything under the sun. Once they find a pathogen, it goes on the blacklist and more specific antibodies are made for it, that's adaptive immunity. There are many further layers and defenses on top of that, of course, but compared to infosec this is already much stricter filtering than a typical endpoint protection product.

It's easy to look at it and say hey we should lock down the cell membrane by adding randomly generated passwords and rotating them, that will improve security! But that's not realistic, a lot of simple things need to go through the cell membrane all the time.

That would be like requiring all living beings to show a passport before entering your country. Your intent is that you mostly care about catching criminals, but the border is mostly crossed by birds and small critters. The cell is the same, lots of things go in and out all the time, and they're too simple to carry any sort of identification. That's like requiring birds to have a passport.
Yep, love Adrian's Digital Basement. Lots of Commodore 64 repair videos and I feel like I'm learning more about the hardware from watching the repairs.

On a similar theme: Action Retro:

https://www.youtube.com/c/ActionRetro

Lots of videos using early Apple gear, but it's not exclusively Apple. HN might know him for his FrogFind search engine, designed for use on vintage computers with resource constrained browsers. I really enjoyed his recent videos getting the Apple IIGS online, and testing Wolfenstein 3D on the IIGS with increasingly fast IIGS CPU accelerator boards. Once you get to around 14 Mhz it actually looks playable...
California DMV Tesla 'self driving' complaint
This is not only about optimisation, but often it provides you the idiom for coding something.

E.g.: 'is x a power of two'? How to write this in a programming language? However unoptimised: how to actually code this test?

HD tells you the idiom: (x & (x-1)) == 0, for any x != 0.
Probably because it's expected that comments should be about Citroens, or least have some connection to the topic...
Indeed ! We focused our efforts on formats we encounter the most in embedded devices firmwares as our use case is automated firmware extraction. We'll definitely have a look at the wiki :)
All of the products you mentioned are targeted towards consumers though. The Pinebook seems to be targeted towards enthusiasts who aren't afraid of getting their hands dirty troubleshooting issues such as this.
Because project managers, who invent these things, don't know enough computer science.

The next question you might asks is, why other people need to know immediately what other people are working? Why cannot there be a dedicated thread (aka PM) who collects this information and makes it available?

Project management would benefit by bringing concepts from operating systems such as scheduling or task switching.
Really surprised that it's only $250K in total. I would have thought that there would be enough widespread interest in this to raise a lot more.

Also some of this is a bit confusing 'the longevity prize' (singular) but multiple prizes apparently? Only a $20k prize mentioned on front page?
I am sceptical of the entire premise, but even more so of the details. The summary is not informative enough to judge what was actually done, and the devil is, as usual in the details. What Im getting is that both, "doze-rate" and time windows and exposure relaxation are variables to be controlled. However, such information is cannot be found.

I could go on, but suffice is to say that it is pure impossibility, apart from a made up story, to link diesel exhaust particle to male foetuses and their adult phase social behaviour in a causal way. And to imply that this is somehow even related to human development is beyond the 'red line' of honest effort of being objective in one's research.
The initial state of doubting the test fixtures (healthy skepticism!) highlights that it's very useful to keep a few known-good hw specimens over time, so that when you get a new batch that fails, you can test your test equipment against the older, known good hardware. Also swap firmware versions back and forth on old/new hw and see how behavior/metrics change.
Gas is not up 100%. Overall food cost for the average consumer is not up 50%. These are easily looked up.

Fortunately we have a metric that measures what people actually spend on goods, called inflation, which is under 10%.
How we got customers to sign up to Monzo in the early years
Not everyone is triggered by those pictures, to me they don't look gross at all. I can scroll through pics of lotus seed pods all day.
I like function tables. I think they are cleaner than switch statements

But, (maybe this is an invalid test), checking today my results suggest a switch is faster than a function table in 2022? At least at a base level. Maybe the more complicated the code for each case gets the less likely it is to get optimized.... which is true in general? large code blocks are less likely to get optimized and a switch is considered one large code block.

https://jsbenchit.org/?src=5c1e5bcf62448b6d1750b12893b0f0a1
I'm from Europe, and have never seen anyone use a gas-powered leaf-blower, pressure washer, or weed wacker in their garden. Do you really need them?
can you try again? I refactored some stuff.
I keep reading about these future "water wars" and can't help but wonder how much of the prediction is realistic and how much is coloured by Silicon Valley types extrapolating globally from what they see locally.

I live in northern Britain and, even at the height of summer, it's rare for a week to go by, without at least one day of heavy rainfall.

Maybe it's me who's extrapolating globally from what I'm seeing locally. But I don't get any sense at all that the world is getting drier.

Still, if the 'water wars' predictions do turn out to be true, maybe we'll have an interesting reversal of fortunes in the future, where damp, wet, soggy countries become fabulously wealthy, like the OPEC nations today --through exporting tankers full of their spare rainwater.

Let's see how the Arabs like queuing up at the pumps to fill their drinking vessels at £2/litre!
$250k will barely pay for kimwipes and pipet tips in 2022. :(
How to provide fairness and minimize the bias when implementing AI algorithms
How did they even get to that point to diagnose that?

I suspect taking ciprofloxacin 8 years ago caused metabolic myopathy in me as well because of its known deleterious effects on mtdna and oxidative stress well established in research, but doctors have never been helpful at even going in that direction. I had a loss of 35% VO2 max in the first year alone afterward.
But in js you can have maps of arbitrary types as keys right? So jump table could just use that
Exactly. I installed projection systems in classrooms, theatres and lecture spaces for three years and the minimum classroom system would be 3500 lumens for a 'short throw' projector. Standards at universities were a minumum of 5000 lumens for a visible screen image.
Moose Test
Oh no, not Google...

Edit. Seriously, not sure what it is but the site looks wacky. Like only partially rendering and elements out of focus and missing some borders etc. Is this planned? Not sure it's the best way to attract users....
A good account of the ideological battle still playing out in the UK,
particularly the one-dimensional anti-intellectualism of the vacuous
financial classes now exclusively constituting the Tory party.
Britain's descent from the powerhouse of world-changing ideas to one
giant housing estate and Tesco superstore is almost complete.
Do you really believe that there are people that can't make their life work without making frequent 100+ mile long trips?
> “I hope to see the concept of watching your parents and grandparents die, disappear from the public consciousness as a thing that happens over the course of half a century.” — Vitalik Buterin

A storage problem on the horizon...
Also Blindsight/Echopraxia by Peter Watts.
The field is for the channel name. (if you want to find a specific channel page, not the video)
Or it was just faulty firmware and he did hit the (almost) correct conclusion:

ADEN bit on g4:

"Note: The software is allowed to set ADEN only when all bits of ADC_CR registers are 0
(ADCAL = 0, JADSTART = 0, ADSTART = 0, ADSTP = 0, ADDIS = 0 and ADEN = 0)
except for bit ADVREGEN which must be 1 (and the software must have wait for the
startup time of the voltage regulator"

No errata needed, it's clearly stated that you cannot just set ADEN without waiting for certain other conditions.
Walk the board right to left, closest-to-completion first. Focus on finishing!
Because it's almost entirely funded by bitcoin and DAO projects. Half the page is crypto.
This brings back memories of some game I played on my Mac ages ago that was 2d top down and you were tanks against other tanks
Yeah, great BZFlag vibes over there. How is BZFlag these days?
Really really don't worry about it. One is not a precondition for the other.

"Code" is fascinating for talking about the history and the "Why", while N2T is excellent for giving you the hands-on practice at building one yourself.
Winner to collect their prize money at a ceremony in 3022
Linear Logic and Permutation Stacks– The Forth Shall Be First (1994) [pdf]
I can remember songs just fine, and certainly can mimic voices aloud but I struggle replaying someone's voice mentally.
"I believe that in general, some people are more allergic to wood dust than other people. Some people seem to breathe in pine dust all year long and are fine. If I sniff a single crosscut of pine, I'll get stuffy and snotty for 3 days and I won't write code very well afterwards."

This may be true, but allergies aren't the reason that woodworkers should be careful about dust collection. The guy who breathes pine dust all year long might be "fine", in the same sense that you can smoke cigarettes all year long and be "fine". The risk here relates to the long term damage of depositing very small particles of wood in your lungs. I'm glad that your allergies are driving you to do this - I did a lot of woodworking for a few years before taking dust collection seriously, and I may regret that when I'm older.
Ja. Take 2600 ROM dump and convert to R3000.
China announces new military exercises near Taiwan
Since you’re convinced about it, have you considered trying it out?
In general you can sometimes get insight from the "Talk" section for these kinds of questions.

In this case, there was a "historical inaccuracies" section which was removed due to sourcing concerns. Not sure how well it holds up to what is (/was was the time) up on the German one.

https://en.m.wikipedia.org/wiki/Talk:JFK_(film)/Archive_1#Qu...

Sometimes it can be up to chance or culture, sometimes editorial differences.

EDIT: Come to think of it, in this case maybe the German Wikipedia just has misproportionate coverage and activity for its speaker-base (this would certainly fit with my preconception)? I recall reacting to pages on topics from other countries where I'd be surprised to find it covered in German and not the native language,
The cyber security could plausible cost less than the EXPECTED value of the fines. That's the crux of it