skysight-inc/HackerNews huggingface dataset:
Well it teaches us a couple things.

The same narrative replays with many successful people - Bruce Lee (Jiddu Krishnamurthi), John Lennon, Brian Josephson (Mahesh Yogi), Steve Jobs etc etc. And from there it becomes myth for the rest of the population.

Taking drugs/performing a ritual/chanting a prayer/meeting yoda (authority figure) etc - is people trying to cope with something that has happened in their life.

Therapy options weren't great back then, and people had to work out by themselves, what we take for granted in a modern psychology textbook today, all while going through some traumatic life event.

Even today it's not straight forward to do and it becomes easy to poke holes in the path people took and even currently take. Which then leads to defensiveness and reactions, which further misguide and mislead everyone.

It also points at the need of some smart people for an Authority Figure to validate whatever new narrative they are trying to rebuild about themselves and the world after they go through some trauma and their existing narratives break down.
But what is a regulator to do in that situation? Dictate prices for the seller to keep the mine open? Who does that really help if it’s preventing the nash dealer from selling it someone who is willing to pay more for it? This suddenly puts the regulator in position of keeping the mine open under the auspices of a central planning committee, which is not an easy position to defend.

Both the mine and the nash seller are operating in global markets. But this is an industry (like most heavy industry) where location and transportation connectivity can make or break a deal due to the volumes being talked about.
> nefarious cryptographic behaviour of the business.

It was not just "business" then: the export of strong encryption had the same status as the export of weapons in the U.S. laws at that time. See the other threads here.
How does an ERP system work?
Ingenious airline seat will make flying coach less awful
Definitely the problem with the "The difference between X and Y" anecdotal structure is that often there are more than just one difference between things, even if they are somewhat alike.
Less reflected light, all else being equal, means the same amount of detected noise (whether using cameras or eyes), and therefore a worse signal to noise ratio on the dark image. Worse signal to noise ratio means less information. Less information indicates worse detection accuracy.

While there isn't evidence that dark-skinned people have harder-to-recognize faces, there is also no evidence to the contrary.

It seems like the null hypothesis in this case, given no additional evidence, is to assume that darker images are indeed harder to recognize.
KDAB News
Or is the issue that school starts rewarding this kind of behavior, and it carries into adulthood?
School runs are done by bike in the Netherlands. In addition there are much more practical vehicles that farmers/builders/<insert_mobile_heavy_work_profession> use.
WorldRemit Global Mobile Money Predictions
the new fascism is green
Aren't Python's lambdas expressions while JS's arrow functions are not?
Braces in Python would have issues, e.g. ambiguity with set/dict literals. Most similar languages (except JavaScript) seem to use begin/end instead. Would that be more acceptable than significant indentation?
From the article:

> Under a law adopted by parliament this week, cars emitting carbon dioxide above a certain threshold will be subject to a 20,000 euros ($22,240) penalty in 2020

So that seems to be because they don't pollute as much
Ethereum, & Tezos Drove Innovation in DeFi, Gaming and Non-Fungible Assets
Maybe _in the US_ an SUV makes sense for the school run...
You are right on him not needing to be an expert. However these are not nuances - the idea of Thorium reactors has been around for decades and the key reasons it is hard to make it work and safe have not changed. If he has not an expert at hand now who can tell him that Thorium reactors are unlikely that calls into question his ability to find and select advisors. Jumping on solutions that are looking good and convenient is not a qualification for the job.
Arrow functions are expressions in JS.
"At the same time, the government is considering reducing cash incentives for the purchase of electric cars."

when there's no money left... there's no money left.
France is recently the main Putin advocate in the EU, look at Macrons recent comments about NATO
Not angering parents should be reason enough to go to school. If they don't like school, they can get to like it. That would be my philosophy. Certain decisions parents make for the benefit of their kids even if the kids don't like it or initially agree with it.

All you need to do is turn off the electricity and remove all toys & food from the house. Then tell the kid that this is what life would be like if mommy & daddy didn't go to work. Everyone would be hungry, cold, there'd be no entertainment and this is what will happen you when you're older if you don't go to school. Because in order to find work you need to learn skills.
I don't find this at all unexpected. In an imperative language I expect a loop to be implemented by mutating a common variable.
Gotta wonder how parents did school runs before the SUV was invented.
Social Media Services
When you write in a language which uses curly braces for statement grouping, do you indent your code? ...? I thought so.
Trio from Southwark who beat and burned their victim in his own home for hours
Absolutely, there's an excellent documentary about this called Going Home
https://www.netflix.com/title/80209895
Only the child knows their own feelings.
This list is a little nit-picky.

All the id() equivalencies only exist for optimization, and not out of some promise to the user.

The walrus operator can be confusing, but any language can be made to look confusing. It's an advanced feature that should be used very scarcely (if at all).

It does point out a few real weak points in Python, but most of them require non-trivial usage of the language.

Meanwhile, in Javascript

> "a" + undefined
"aundefined"

Now that's what real WTF looks like.
Interesting, I don’t use python day-to-day, so I had assumed that the delayed capturing of the iteration variable was a lambda thing. Looks like this is still broken:

for i in range(10):

def mul(x):

return i^x
powers_of_x.append(mul)

That to me coming from a JS background is totally wild
`a += b` does something along the lines of `a = a.__iadd__(b)`. Here `__iadd__` performs the actual append, but then the assignment fails.
How to Become an Effective Programmer?
So the question is if += and sort are both "in-place", why does one throw and the other doesn't? Clearly "in-place" is not the full explanation here.

I think the real explanation is that with += there are two steps:

1- The existing list gets modified. This is fine since lists are mutable.

2- The tuple's reference to the list gets updated (even though this update is unnecessary since the list object's identity is the same).

The exception occurs at step 2, but this step is otherwise a no-op. Whether mutating a reference to the same value it already had is an actual mutation is an interesting semantics debate.
Such as? Land rovers /Toyota hilux'es are ubiquitous on British farms.

And just because its how your town does it in your country doesn't automatically make it the one best way for every one.
On the other hand, for the sporty versions of some midrange popular cars (Renault Mégane RS, Peugeot 308 GTi...) the pollution tax will amount to almost 50% of the MSRP.
I guess car enthusiasts on a budget will be more inclined to buy lighter cars, a segment where French manufacturers are basically non-existent (even if a Twin'Cup is really fun to drive).
I'd like to see vehicle tax based on some combination of weight and emissions. Say £1 or €1 for every kilo over the weight of a, hmm, Smart Car? :) Now add an emissions component, enough to make a 1 litre engine and lightweight EVs really appealing.
>TGV. On April 30 1976, the French government approved a plan to build a high-speed rail link between Paris and Lyon, the first high-speed rail line in Europe. This line was to use completely new electric locomotives, also to be developed in France as part of the project. The ensuing line opened on September 26 1981, 1,975 days later. On September 24 1996, the California High-Speed Rail Authority was formed. The completion of the first phase of California's high-speed rail project, a line connecting San Francisco and Anaheim, is currently estimated to happen in 2033, 37 years (i.e. around 13,000 days) after the authority was formed. Source: On the Fast Track.

Wow, what the hell is wrong with the TGV in California? Are they still working on it? 33 years!
> Bullying, exams, homework, sleep disruption, etc is all cost.

Aren't these fact of adult life too, that children need to learn?
Quick answer—both Steam and Itch.io offer DRM-free, standalone macOS versions:

Itch.io: https://metagaming.itch.io/angeldust

Steam: https://store.steampowered.com/app/488440/

Long answer—you are the fourth hacker to report that the game isn't available for you on one of Apple's App Stores. I've contacted Apple right after my stream yesterday, now waiting for a reply. If anyone can help me diagnose this or get it working, that'd be greatly appreciated. I recently switched from a free tier to a paid tier for the product launch, so I might be messing up something.
> I don’t think standard python tooling would catch the above issues,

Of course it does.

$ echo "
> powers_of_x = [lambda x: x^i for i in range(10)]
> [f(2) for f in powers_of_x]
> " > test.py
$ pylint test.py
...
test.py:2:27: W0640: Cell variable i defined in loop (cell-var-from-loop)
...

Pylint is the most powerful linter for Python is well integrated in VSCode or PyCharm.

When concerns are raised about JS, people are quick to answer you are not supposed to use it without modern tooling (Webpack + babel + typescript + eslint + lowdash...), although many devs still do.

Now, I use and teach a lot of JS, and I enjoy many of its modern features. I especially like the object destructuring, it's even better than Python's unpacking.

But objectively, you can get a very decent experience in Python without any kind of tooling. And yet, there is a lot of it if you want to up your game: pylint, black, mypy, jedi, pytest, poetry, etc.
Show HN: Web Application Firewall (WAF) for PHP
The bullshit is that politicians continue to only take action against consumers when the real polluters, corporations and the military, continue to go unchecked because lobbying pays.
Wow. It works everywhere. Amazing
It's a tax based on number of grams of CO2/km for all vehicles so 3008/5008 are concerned too. The updated tax for 2020 starts at 110 g of CO2/km (previously 117 gCO/km, last year)
You don't need a vehicle that size unless you have more than two children, a perfectly normal 4-door car will do. And all the usual externalities of SUVs are worse at school: the high ride height makes it harder to see small children, and the large amount of space taken up makes the parking and traffic jam round the school worse.

No, the Dutch solution to the school run is a Bakfiets cargo bicycle until the kids are old enough to ride their own.

Dutch farming is very .. intense? Quite a lot of it is done in greenhouses. Sure, if you're in agriculture you can justify a larger vehicle. That's at most 5% of the population?
Yet they are hardly seen around on many European school runs.
Thanks for the feedback, I hope you enjoy playing. I'll be livestreaming again today at 17.00h UTC, feel free to swing by to hunt together, or talk technology!
somehow you're conflating school with work.

school has absolutely nothing to do with work. at least in my native country school is there for the teachers not to strike and vote for the other guys. over there a kid spends more time at school than a parent at work. and this is by design.

so while knowledge is required for work, schools providing that knowledge is by no means a universal concept.
This has been subject to endless discussions already and it's even a factor in Guido's decision to quit his role of BDFL.
Totally - but comments here claim make claims like the below. If accurate this is a straight win for France:

isoprophlex: “Yeah considering what you say there must clearly be political motivation. But contrast a 5008's 120 g/km with the average American gas guzzler doing 350+ g/km. All in all this is a good development imo.
This is the reason I've been using i3 and sway together over ten years already. My work environment never changes.
They’ll also be live-translated from German to English (and vice versa) by volunteers – and often into a third language too!
P vs NP is also distinguished in that many people think it has profound philosophical implications. Nick Land seems to think this (http://www.uf-blog.net/crypto-current-021/), and so does Scott Aaronson (“if P=NP, the word would be a profoundly different place than we usually assume it to be ... there would be no value in “creative gaps””). Though I think Land’s idea is a lot more interesting — he says P vs NP is a paraphrase of the analytic vs synthetic distinction.
Do you perhaps think that because you come from a background in low-level languages?
It’s actually due to python late binding. The variables are looked up at call time, rather than function define time. One could argue that your example shouldn’t work anymore in python3 since variables in list comprehensions go out of scope when they finish now. I haven’t tried it myself. I fill it under, “things I never need to do” :-)
I guess you don't really understand what living on a fascist country actually means.
A while ago, I was also sceptical about the walrus operator, although I use assignments in expressions all the time in C++. But when I was perusing a library written Python the other day, I found five spots in which the walrus operator would make sense - eliminating one line of source code without readability suffering from it.
Burrowing Owls Lead to Vomiting Anarchists(Or SF’s Housing Crisis Explained)
What about some research that microdosing increases neuroplasticity?

It may be a good benefit, if doctors manage to combine it with therapies for adults and they gradually rewire their brain addressing some inefficiencies, PSTD, or even brain damage.

Sorry, if I sound naive and anti-scientifical, I have no personal evidence for that and am not a neuroscientist. I recently was impressed by the stories in the book “The brain’s way of healing”.
What look like ex-army Land Rovers are pretty common on UK farms and estates, at least here in this part of Scotland, pickups are pretty rare though.

Edit: I wonder if this is because of how much of Scotland is used for grouse shooting - a pickup isn't going to be much good for transporting your pampered customers!
Road damage is proportional to the fourth power of axle weight! It would be amazing to see taxes for road repair done on that basis.

Edit: the tax of the article is based on engine power and CO2 emissions. See https://news.ycombinator.com/item?id=21862516 for calculations.
I hadn't even considered this before, but I see your point! Getting a "core" part of the game's "API" released first allowing players to fiddle around writing a bot sounds like a beautiful gift for the technically inclined players. Because of the small(er) scope it could help iron out wrinkles in the open-sourcing of the client as a whole later on. Thanks!
This is most probably because you are trying to code in Python like you code in JS: this always leads to frustration.

I started to have fun coding in JS the day I accepted it was not Python and that I had to structure and style my code differently.

E.G: in Python you will use iteration a lot. A lot of a lot. But not so many callbacks. The reverse is true in JS.
Why are you shifting the discussion toward 'What vehicle is good for farmers' ?
Farmers represent 2% of the population, they're clearly not responsible for 30% of the sales
I tried the vegan meal planner but was a bit disappointed. I love the UI, good job. The value of the planner - not so much. It pretty much kept recommending meals like sandwiches and tofu smoothies and tofu stir-fries or stuff like hummus without any bread lol.

Would be awesome if you had a wfpb (whole-food plant-based) options as I feel like that is the healthiest possible diet one can follow (no animal products, no oil, low fat, no highly processed foods). It would probably be a bit harder than the usual american diets, but oh well.

I wish you all the luck with your product!
School run can also be done by school walking bus, bike, or actual bus.

I doubt many of us would mind quite so much the tiny few SUVs actually used by workers and farmers because they absolutely need such a beast. Mind, saying that my friend with the absurdly big crew cab Toyota pickup, uses the wife's regular size car when it's just them and the kids... The pickup is for transporting 1 tonne of kit around fields -- he actually detests them to drive. :)

Just in case you don't know of the crocodile/walking bus: https://en.wikipedia.org/wiki/Walking_bus
That’s good to hear. As I said, I don’t use python much anymore.
France has a population of ~70M. What do you think contributes more to global warming, 70M flatulent humans, or a few thousand French SUV enthusiasts?
LLVM based, and in terms of performance, it's one of the fastests
STM32 or PIC32 for Manufacturing
Ask HN: What are best documentaries you have watched this year?
I think of that as rubber hose policy. Beat down hapless working class people who have zero power and pretend some good will come of it.
Do "hapless working class people" buy many SUVs and pickup trucks in France?
Is saving 5 lines of code really worth breaking Python's "one way to do it" design principle?
Pls read again https://github.com/satwikkansal/wtfpython#-mutating-the-immu...
Well, the plan was always to eventually reduce the cash subsidy for electric vehicles. The subsidy was intended to help electric vehicle design and manufacturing to mature to the point that electric vehicles are a viable, affordable, and desirable option for a large number of actual consumers. This is happening. I see dozens of Teslas on the road every day (I live in Chicago, I'm not sure if my experience is typical, but I assume it is approximately representative of US autobuying trends).

So I guess I don't see it as a "we're out of money and need that income", rather I see it as a "now that the EV market has matured, we can take the training wheels off".
Unfortunately, this is not true. Although the equality operators are a favorite bikeshedding topic, the largest source of errors in JS code bases are type errors. Using a "non-sane" equality check, such as those with type coercion would actually mask or alleviate these source of bugs you mention.
I would be very upset if they did this, though. I'm not Google's test subject and it would be pretty f%$#@! dehumanizing if they treated me that way.

I'm not a bloody ant or part of their hyper-organism.
I find the image appealing. Not sure what your problem is.
I read somewhere about doing your project in a "release early, release often" style of development. While developing Angeldust I got others involved and playing after just a few months of part-time development. Getting feedback, ideas and issues early definitely helped me build a rock-solid base on which I could build the overarching gameplay.

So if you have friends (you're already doing great there!), get them playing today! Or tomorrow! It also forces you to have a working build pipeline and packaging process for getting builds out to others instead of toying around on your own machine. Also: don't take my advice as gospel, but judge its merit for yourself.
In my city, Google Maps treats all bus, tram, and subway stops as being at the same point, so it can't help you find the correct bus stop (many subway stops have dozens of connecting bus lines distributed around all exits of the station). Even when it doesn't make you miss the last connection home, it sucks spending ten minutes looking for the right bus stop.

This is the fault of the data provided by the transport companym and even their own app gets it wrong iirc, but somehow CM has gathered the necessary data and even knows which end of the subway train to get on to get to the right exit to find the right bus stop.
Will we meddle the US elections?
ZFS for newbies https://www.youtube.com/watch?v=3oG-1U5AI9A main ideas behind ZFS and why it blows out the competition in many scenarios

Making C Less Dangerous in the Linux Kernel https://www.youtube.com/watch?v=FY9SbqTO5GQ

NUMA optimizations in the FreeBSD stack (Netflix) https://www.youtube.com/watch?v=8NSzkYSX5nY

How we fit a NES game in 40KiB https://www.youtube.com/watch?v=ZWQ0591PAxM
This looks like it would be vulnerable to a slide attack (https://en.wikipedia.org/wiki/Slide_attack)

I may have missed it, but there appears to be no instructions on how to decrypt?
I fully agree, there is a steady decline in usability and its a bloody shame because for years the usability is what set Apple apart from the others.

A few things which hugely annoy me;

- Saving a photo from iMessage.... the option has disappeared. I get a popup to airdrop the file, interact with some apps and a huge copy button. In fact, I can scroll down in this menu but there is not a single visual indicator that I can scroll. No scroll bar, no icon... nothing. I've had to read somewhere online that I could scroll there, and I work in IT. How is this usable for people who don't work in IT.

- After updates I'm frequently asked to provide my Apple ID password, and yet iOS doesn't allow me to interact with Password Managers at this moment. I've got a 36 random character password, and it is a pain in the ass to enter this.

- 3D touch has been removed in newer iPhones. Fine, but why cripple older phones which still have the hardware to use 3D touch... Now it takes me an extra action to re-arrange my icons.
Are they really foot-guns? The lambda variable reference thing has appeared more in forums comparing languages than I’ve seen it used at all in python and I’ve spent a lot of time working in large open source python projects with thousands of contributors.

Even if you got the binding right, your powers of 2 would be shot down for being unpythonic anyway due to lambdas being shunned when there are cleaner ways to write things.

powers_of_x makes no sense as a variable name for a list of functions that you have to call in order with the same number to actually get the powers of that number. I get that it’s just a contrived example, but most can be turned into someone more apparent to the reader.

def powers_of_x(x, limit=10):
for i in range(limit):
yield x^i

Less memory, no anonymous functions, more flexibility, testable...
I believe it's more common for smallholding farmers in EU to rely on a small car runabout and a tractor, with more specialized equipment (possibly rented) for other work.

I'd expect intensive farmers use exclusively on specialized equipment.
Does it though? So why doesn't a += b change the object id id(a) ?
I didn't intend to come across as poking holes into Alpert's telling of the Karoli Baba/LSD story. If anything, Alpert told it seemingly without deliberate exaggeration.

It's the retelling of the story in this oversimplified version (as I've even heard Sam Harris tell in a podcast) of a Himalayan Yogi taking LSD with no effect that I wanted to highlight as incorrect, in the sense that it diverges significantly from Alpert's own account.

And yes, I also think he was a bit overly enthusiastic about Karoli Baba at the time. Don't we all act like that at many points in our lives?
Don't start your career as a contractor. Find a job first, even part time, if you can. Few people can get away with zero structure to shape them first.