skysight-inc/HackerNews huggingface dataset:
If you want to tax pollution, tax fuel consumption or actual tailpipe emissions, not a broad class of vehicles.

Which emits more -- a small family SUV or a BMW M3?

Governments have taxed vehicles based on weight, width, engine displacement, etc. -- and the automakers adapt. It's very easy to game the system. Just tax vehicles on a model-by-model basis on the fuel they actually use, and on what they actually emit.
The "Optimism" + "Placebo" - theory is also interesting.

(2007)

"A prior investigation found that individuals low in optimism are more likely to follow a negative placebo (nocebo) expectation. The present study tested the hypothesis that individuals high in optimism are more likely to follow a positive placebo expectation."

"Results
Optimism was positively associated with better sleep quality in the placebo expectation condition (r=.48, P<.05). Optimism scores were not associated with better sleep quality in either the treatment control condition (r=−.17, P=.46) or the no-placebo control condition (r=−.24, P=.35)."

https://www.sciencedirect.com/science/article/abs/pii/S00223...
> So, if my hypothesis is correct, parents in Japan are more likely to go untreated

You are right that people don’t often admit mental illness in public or to people they don’t trust.

That’s not that different from western countries in my experience, there is a stigma associated to even depression. Perhaps agoraphobia would be the line where people just nod and ask for details, otherwise they tend to draw a line and flag you as “crazy” or lazy if they have no prior experience or exposure to mental illness.

The worst part would be from a career perspective, where your employer getting that info would be at best neutral, at worst cost you opportunities you would have no chance to prove you missed because of discrimination.

Now, Japanese people get treated. It’s not difficult to get a prescription, and you don’t need to shout on the roofs your getting treatment. I had a number of co-workers that were diagnosed with depression and were under treatment for a few years already. Close friends knew it, otherwise it was no one’s business.

Like for everything, the first step is to recognize you need help, and that’s a step a lot of adults fear to take.
Cracking the Fever-Autism Mystery
I wrote a benchmark for V too and it’s fast but there are other issues internally and externally.

Have anyone know who is Alex?

He going to build compiler in AST, but as long as it’s useful for your works. It’s too early to tell whether it’s reliable for businesses, I’m more likely to trust Go as we know it’s battle tested.

It will definitely take more years to stabilise and promoting, other languages would have been mature and established.
Why does the "crazy stuff" have to be religion? Couldn't it work just as well surrounding boardgames, sports or knitting?

I think the center issue is having something in common, which binds people together.
s/makes sense/is rationalised
Proposition 1A which gave it partial funding didn't pass till 2008.
I don't know how to feel about the meme that governments should target big corporation rather than small consumers. On the one hand, I like it that it makes an environmental message easier to swallow for the masses, because they feel like they're not the ones who have to make an effort. On the other hand, it's quite disingenuous to pretend the outcome is different from simply reducing the amount of energy available to live a materially comfortable life for everyone.
WASM interpreter from scratch is great not only because "omg livecoding interpreter from scratch", but also it is a lot of inspiration for hacking and exploring things.
Why would it be "totally wild" coming from a JS background when the corresponding JS code:

for(var i=0; i<10; ++i) {
powers_of_x.push((x) => i^x);
}

behaves the exact same way for the same reason?

By definition, a closures closes over its definition context, it doesn't capture the values at definition time but instead keeps referring to said definition context. If the definition context is mutable and modified, the closure reflects that change when it's finally invoked.
in the zen of python (import this) it says:

there should be one-- and preferably only one --obvious way to do it.

sadly this is not true for a while in python now. Python became a language that can be really hard to read now.
>Neural networks that learn to generate anime faces.

This is my favorite
Haskell Researchers Discover Industry Programmer Who Gives a Shit (2010)
The race to Mach 2.0 at scale by Nickolas Means
https://www.youtube.com/watch?v=2sIzfGzf_50

I find all the presentations from him very great. He talks about certain things in other industries and reflects back to IT. Very fun to watch.
How does having a password increase security if an attacker can just run passwd as root and change it?

Hint: having some security and mitigations makes it less likely for an attacker to start with such capabilities.
Because if `a` and `b` are lists, `a.__iadd__(b)` mutates `a` in place, then returns it.
We could refer to the actual text: http://www.assemblee-nationale.fr/dyn/15/amendements/2493/AN...

Which amends http://www.assemblee-nationale.fr/15/textes/2493.asp#D_Artic...

This adds a set of "bands" to the bottom of the table of tax based on "Puissance administrative", see https://en.wikipedia.org/wiki/Tax_horsepower or https://www.french-property.com/guides/france/driving-in-fra...

Looks like a Toyota Land Cruiser is about 11-12: https://www.neowebcar.com/puissance-fiscale/toyota/land-crui...
The Bizarre Search for Cracks: Sesame Street's Lost Nightmarish Short
GOT is an outlier, in that its unusual for "civilian's/ muggles" to watch such a niche fantasy series.

When I read the books my thought was this is for trufans who have a much broader knowledge of the Fantasy cannon than even the average sf/f fan.

The sort of person who has read "on fairy tales" slogged through Dunsanny etc.
French here.

Yes. There are many "cheap" ones, such as Dacia Duster. I see plenty of them everyday.
I've also had to get wild in cmake (codegen), but in hindsight, the code that I wrote for that was the most brittle part of our build system at the time.

I'd love to know of an alternative to writing gnarly cmake for stuff like this though, particularly to work cross platform and generate IDE projects.
I was thinking more of the case where the types match but objects and arrays with the same contents are considered different. I’ve watched every member of my team get stung by it again and again - and then have to create workarounds to get past it.
Genes and Family Status Decide Your Academic Success
Timewarrior requires a manual to learn its features.
Your doctor optimism is more important!

"The placebo effect works and you can catch it from your doctor" (October 22, 2019 )

"If there's one thing you do want to catch from a trip to your doctor, it's her optimism."

"The new study both demonstrates that the placebo effect is transmitted from doctor to patient, and shows how it might work. Researchers randomly assigned undergraduate students to play the role of a patient or a doctor. The "patients" were given a controlled heat stimulus to the forearm, after receiving one of two types of cream from the "doctor.""

https://www.mprnews.org/story/2019/10/21/npr-the-placebo-eff...
Not only that, hapless working people buying very high horsepower trucks!

Edit: the Dacia Duster of sibling comment is about 6"CV": https://www.neowebcar.com/puissance-fiscale/dacia/duster/dci , which puts it in the €3125 band.
It was genuinely a problem here in the US.

https://pdfs.semanticscholar.org/4a3e/c44df38873b8bf1e79a30e...
(Michael Scott:) Finally! Thank you. The "old school" PHP -> HTML + CSS with minimal JavaScript website is a thing of beauty I think. It's heartwarming that HN didn't dismiss my website just because it's not Web 2.0 or 3.0. From a technical perspective it's very much Web 1.0. But I see it as being elegant, functional, very fast and maintainable. It's tied in to the game at a core level as well, with real-time updates of in-game action. Also: I didn't even see a CPU spike during HN's peak hug, so try harder, soldiers!

As for the older hardware and building something for performance: in my dreams this past night I realized that HN as a website closely fits my design philosophy. This website is just completely transparent and gets out of your way. You get a box. You enter text. Boom. It's beautiful. I hadn't posted on here before, but the entire experience has been delightful.

Tangent: sometimes it feels like the home computer I grew up with was faster than any modern device that I use. I'm glad I'm at least able to recreate that feeling of raw performance on older hardware. Computers have always been insanely fast, I'm not sure where we lost sight of that.
Tuples are immutable, but that doesn't mean they can't contain references to mutable objects.

When you want to use a tuple as a key in a dictionary, Python checks if all members of the tuple are immutable. If one or more of them aren't, you'll get an 'unhashable type' error.
That's not the question that was asked.
Iterators and callbacks aren’t comparable. You don’t use them for the same thing.
Unfortunately they are very common on school runs in the UK - at least in Edinburgh.
There are emission-based vignette schemes (eco-taxes). Orthogonally, going above 3.5t is a steep increase in inconvenience and costs: you need a different license (C or above) which is more expensive and has to be renewed regularly and there many streets are forbidden.
Yes. That principle was quite silly to begin with.
As a car enthusiast I'm really hoping that we see governments adopting policies that drive manufacturers to provide low and zero carbon vehicles that cover the vast majority of use cases for conventional ICEs.

Hopefully if that happens then it will be possible to allow for motorsport and vintage cars to remain in use.
Maybe just slightly change icon colors to similar modern material colors will please them.
I'd also want to have width factored in. Wider than strictly necessary vehicles make life worse for all road users, space is not infinite. Occasionally they even make life shorter and it's never the life of those inside those vehicles.
My favorite talk of this year is Raymond Hettinger talking about mental gymnastics which helps you to structure your problems into ones that which you can solve.
The mental game of Python: youtu.be/UANN2Eu6ZnM
Also, this made me cringe.

> In 2020, the central government will give as much as 6,000 euros toward the purchase of an electric car costing less than 45,000 euros.

This looks like an anti-Tesla threshold, all the while pushing people to go towards electric cars that either you buy but rent the battery, such as Renault Zoé, or with poor autonomy.
Often you will notice that regulation in EU countries, and the EU itself, are not thought through. Indeed a BMW M3 and many small cars can emit more emissions than SUVs. But I suspect this is more of an eny tax, as in Europe SUVs are not that common and are considered "luxury", despite small cars shrinking to the point where there is not enough headroom on the backseat.
ahh yes, this is a computer oriented site and the abbreviation for random access memory may have it own special place it the spell checker.
Builder for creating forms with a visual editor
I believe Norway fundamentally does exactly this. From recollection, in Norway you are taxed on the following items at time of purchase:

* A CO2 tax (banded by emissions)

* An NOx tax (banded by emissions)

* A weight tax

* A scrappage fee (fixed, by vehicle type)

* Then the usual 25% VAT

I may be missing something here (in particular, annual taxes), so if there are any Norwegians willing to chime in, feel free.
It was easy to find and it looks appropriate to me: https://undraw.co/license
That's actually what's happening here, it's just that misleading (nationalist?) reporting has left that bit out.

The tax is based on "administrative horsepower", calculated from engine power + CO2 emissions per mile. That is then looked up in a tax table. See my comment https://news.ycombinator.com/item?id=21862516
I believe you can withdraw early on roth 401k funds as well. You can at least roll it into a roth IRA which I know for sure you can withdraw early from with no penalties. It seems like nobody talks about this, but it's a really nice perk. I put half of my first 2 years of 401k contributions into roth when I started working, and it was great knowing it was there just in case.
(January 2020) Journal of Psychosomatic Research:

"The influence of personality traits on the placebo/nocebo response: A systematic review"

https://www.sciencedirect.com/science/article/pii/S002239991... ( Open )

"Highlights

• Results on the influence of personality traits on placebo responses are heterogeneous.

• More studies are available on the influence of personality traits on the placebo response than on the nocebo response.

• Optimism seems to be positively associated with placebo responses.

• Anxiety might lead to increased nocebo responses.

"
Pity. I live in a remote part of France, shaped by hills, forests, and very devoid of public services. Most people don't have too much money, yet every third car you see is an SUV or 4WD, because they actually are quite useful in daily life. My neighbour drives a tiny but nimble Suzuki Vitara with which he does just everything, much of which no regular city car could do. Was he to buy that same car in two years, it'd cost almost twice as much because of those taxes. (damn even the baker drives his deliveries with a Vitara).
I see all the excesses around the SUVs, I agree there's a nuisance to be dealt with. But again the government rules with a large and blind PR hammer, and we'll quietly sit under the blow once more.
> ... with cost overruns common.

Presumably that is going to be consistent with any large industrially planned operation though. The overruns aren't going to be technology-specific, they are going to be related to the tendering process.

If the planners are incentivised for accuracy there will be one, maybe two overrun projects then the assumptions get adjusted. So if it is routine that suggests that there is some sort of incentive problem.

An industry planner will have little difficulty estimating an accurate cost of the technical parts of a project. Using historic averages or model + 20% contingency usually gets most of the way there. If the estimates are consistently wrong there are political issues at play.
'Advertising breaks your spirit': the French cities trying to ban public adverts
"Now the whole idea of a meditative practice is the process of very simply extricating awareness from the identification with thought & sensation." - Ram Dass
I don’t agree and this behavior shouldn’t be surprising. The alternative would be to walk the container and compare the value of each element, which could be horrible.
That's what's actually happening, it's just that Bloomberg have .. misreported it?
John Horgan loves making these wild assertions even though he is not a trained scientist or mathematician. He once even published a book called the End of Science. In that book, Horgan said that scientists were no longer going to come up with revolutionary scientific theories like relativity and the theory of evolution. Safe to say, this guy has a reputation of writing edgy and provocative things with very little basis in reality.
Python's principle is not an has never been "one way to do it". Python's principle is:

> There should be one — and preferably only one — obvious way to do it.

Which is a very, very different assertion. And there remains one — and exactly only one — obvious way to do an assignment, because the walrus operator is literally invalid syntax as a statement:

>>> [a:=1]
[1]
>>> a:=1
File "<stdin>", line 1
a:=1
^
SyntaxError: invalid syntax
> Within a few weeks of publication, there were more than 8,000 Diners Club cardholders. By the end of the year, membership was near 100,000.

It sounds like a success right from the get go. But I don’t understand the motivation of those early adopters. Don’t compare it to today’s impossibility of renting a car without a credit card, the growing hostility to cash in Western countries, and the normalcy of buying all your stuff online. None of that applies to 1950.

Remember that this was only for restaurants at the time. And this was a charge card that requires you to pay your bill in full every month, meaning that you could afford those restaurants. You could not spread your bill over a period of months or years.

> We went over all the good points of the idea: You don’t have to carry a lot of cash. And perhaps most importantly, you have a receipt for a tax write-off if you take out a potential customer or client.

You don’t need to crazy amounts of cash for dinner for one night. Besides, carrying cash was normal. In 1950, it was not unusual to buy a car with cash. You could always get a restaurant receipt even if you paid cash. None of the justifications in the article makes sense to me.

My theory is that those early adopters signed up because the card gave the illusion of status or eliteness. You show this magic card to the waiter, sign your name, and you walk out without paying any money. All the other use cases and benefits (and detriments) of credit cards came in later years.
There's an earlier article discussed on HN that kind of summarises who he was

The Unified Theory Of Ram Dass https://www.gq.com/story/the-unified-theory-of-ram-dass

HN nov 18 https://news.ycombinator.com/item?id=18558488
Yes. A lot! Unfortunately I've always considered "the big three" consoles completely out of reach for my project. Many players have asked about a port to the Switch and other consoles. I'm confident I'd be able to pull it off technically without too many issues. But I have zero experience dealing with parties like Nintendo and adhering to their (I imagine) very strict policies for games. Being a mostly-multiplayer cross-platform-play title complicates things too I think.

During my stream yesterday I also discussed Switch compatibility. I think Angeldust is a perfect fit for the Switch. Nintendo's design philosophy very closely matches mine. Angeldust is big, bold, colorful, cheery. Let's get it on there stat I'd say!

If you have pointers on getting started with indie development on the Switch, I'd happily start reading up. Now's a good time as any. And with most things in the game I learned everything by just starting and winging it. Hopefully this'll be another case of being able to quickly internalize things and get going.
Indeed. I’m clinging to my ‘08 Civic Type-R (MSRP was 30000, 25000 in stripped down version. The tax would be 80-95% of MSRP!) but will have to let it go within five years as level 2 Crit’Air will be entirely forbidden to operate in my city by 2025.
More than three children.

In the 1990s every 5 person family managed fine with a normal car.
Peugeot 308 GTi has a "puissance administrative" of 16, right in the high end of the tax table. Presumably because it's a 250hp car. I'm sure that's fun but it's also a really excessive amount of power (and CO2)
Sure, not saying that they don't exist, just not to the extent of other side of Atlantic with almost free fuel.
I wish there was this much backlash against Donald Trumps fictional claim that the sound of wind-turbines caused cancer, but i am assuming that this bulletin was commissioned by someone that rather nitpick on Yang for opening a door, than the current presidents attempt to slam working doors shut. Not to make this political, but Yang brings a lot to the table that others ignore afraid of being scrutinized.
Proofs are going to be more relevant as the common problems stem majors need to solve get more mathematically complex. One of the best education-related advice I received was from my engineering professor/mentor. I told him I was curious about taking an intro to proofs class and he said engineering problems are moving in a direction where only advanced maths will be able to solve them effectively. He encouraged me to load up on as much math as possible. I wanted to get a double major but it wasn't feasible without more student loans. It paid off when I went back to grad school and in my current job hunt now.
Thanks so much for taking the time to follow up. I think you are right on the money with my website-link being stale or outdated. I've contacted Apple to diagnose and fix the issue. If you—or another hacker—knows a good way to link to apps on the iTunes App Store from a website I'd love to hear it. Apple's link builder seems to tie in a regional preference which might not match the user's actual region.
Yes, but should not have to learn about fire by putting your hand in it for 20 years. In a room full of pyromaniacs calling themself firefighters. As a defenseless kid.

It looks like this: https://imgur.com/gallery/YiqlS

Without the fun of it
The idea of a law without political motivation is absurd. How else would it come into existence? Monkeys on typewriters?
I would guess a lot of people don't like the idea of subsidising luxury cars for wealthy people. I can understand that.

Besides, aren't Model 3 and the coming Cybertruck below that limit?
How does this differ from a flux pattern?
And that's all good, we don't need more people cloning an OS that was good 50 years ago.

Modern software is sidestepping the UNIX way left and right. Rightly so, as anyone who's tried to write anything serious in shell would know. Or anyone who realizes that non-blocking I/O was an afterthought (look into the history of select(2) and why libraries like libev exist and what problems they run into on unix derivatives..) and that there's still nothing like a standard, robust, well designed async I/O API.
I've observed something not too different. I suspect it might be that I and my users are at different levels of zoom with respect to the product.

They really don't think about it at all except for when they need to get specific tasks done that the product does well. They are max zoomed out.

I necessarily am zoomed in to the entire product, from every lowly line of code all the way up to the aggregate product. I am max zoomed in.

This leads to a sense of alienation when I observe the relationship between my users and my product. Sometimes it's simpler to think that I actually don't know my own product, so different is the perspective.

Really it's a matter of how much the product occupies in my mind versus theirs; they are using it opportunistically and would prefer to spend as little time as possible thinking about it. Which I suppose is a good argument against over-engineering; for a mass market product, core features beyond the third will only be used by the developers.

Anyhow, all that is to say I can understand your comment, and I often think that I'm lucky the emacs developers or GvR don't look over my shoulder when I use their software because they would give their cats Nobel prizes. :)
Suzuki Vitara is an 8"CV" car: https://www.neowebcar.com/puissance-fiscale/suzuki/vitara/1-... which would incur €6250 tax.

(It's amazing how well Bloomberg's propaganda has worked here, hasn't it?)
The headline is imprecise, the proposed law takes this into account.