skysight-inc/HackerNews huggingface dataset:
In my experience getting an adult ADHD diagnosis is a long process. Especially if you've never looked into it. After getting lost in the process last year. Re-attempting this year, i'm again stalled as they want my anxiety/depression scores to drop before testing for ADHD. So don't give up, when the system puts up walls. I assume this is due to the potential addiction side-affects for the drugs (stimulants) for non-ADHD folks
> And the philosophy here still applies: when you read anyone else's python code, the obvious way is probably doing the obvious thing.

I don't get what you mean by this.

When I read someone else's code, what is obvious to me isn't necessarily what was obvious to the author. For an illustration of this, have a look at the day 1 solution thread from this year's Advent of Code - https://www.reddit.com/r/adventofcode/comments/r66vow/2021_d... (you can search for Python solutions) - and see how many different ways there are to solve a fairly straightforward problem.
One of the problems is that you probably can't legally build something like that again. You have to build an apartment with a full kitchen and parking spots.
"require 'json'" is just another #include in disguise, and if it monkey patches existing classes, it ... probably should not exist in any form.

If the language supports json, it should just do that.

1> #J[1,2,3]
#(1.0 2.0 3.0)
2> (get-json "[1,2,3,{\"foo\":true}]")
#(1.0 2.0 3.0 #H(() ("foo" t)))
3> (put-json #(1.0 2.0 t))
[1,2,true]t
Super agree, but I will say I have a hard time ignoring the feeling that more and more things that used to be in my control are now beyond it.
But Python 3 was designed in the 2000s and had many breaking changes. Seems like they could have changed this behavior with that version.
Folly depends on Boost so it's more of a superset of it

Which unfortunately means Folly is an extremely heavyweight dependency to pull in compared to Abseil, if you're not already using Boost
Exactly. That's why I asked about languages that don't require explicit typing. My point is that it's a feature of many languages rather than a Python idiosyncrasy.
That wouldn't fix most of the cases highighted by the tool in the article.

So strange that Python has completely different syntax from C, but they chose to copy this obscure syntactic feature _even though they have the plus operator on strings_.
> I could keep this up quite a bit longer if you want. Intel well deserves any skepticism and cynicism it is targeted with.

Intel deserves skepticism and cynicism based on what is true.
How is proving that politicians and their families are stealing millions from the country's budget / EU funds, while denying access to anyone affiliated with the opposition, not "a Watergate"?

That's just a normal day for us in Poland. People who vote for Law and Justice do not care the law (which has been already changed to serve their interests) nor the justice (which is also nearly fully controlled by them at this point). As long as it pisses off the other side, it's OK with them. Oh, and the Catholic Church is helping them, because they also get a cut.
Poland has an authoritarian govt now.

They started by sacking the supreme court and installing its own judges
https://www.irishtimes.com/news/world/europe/new-polish-regi...

Last independent newspapers were bought by state owned Gas Station chain. https://www.dw.com/en/poland-state-run-oil-company-buys-lead...

The only independent new TV channel was going to get shut down but recently had a last minute veto.
https://variety.com/2021/tv/global/discovery-poland-media-bi...

It defies EU who says member countries must have EU law supremacy https://www.cnn.com/2021/10/19/europe/eu-poland-rule-of-law-...

They regularly have parliamentary votes late at night when only the PiS party turns up.

They give a lot of money to the church who then praise the party during services.

Its not a real democracy any more.
As you see, even in a price spike, urea only costs US$1/kg. That really makes it hard to produce urea in the middle of the Sahara; shipping it to the ocean would cost more than the price it would fetch. Consequently there are lots of places where producing energy is economical if used for Bitcoin but not for fertilizer and other low-value-density products.
its a maximalist position that is hard to parse. you can run your own instance, keep it very local to a group of friends and family etc. what is feudal about that?
This gets even more contrast if you compare video evidence and try to assert the amount of firearms used.

Really makes you think how stretchable the images of "peaceful protestors" and "dangerous terrorists" can get.
I believe this is a simulation of the real-world non-top-off one try game.
No, none of it is suspicious, unless you're a person who is trying to cast doubt on vaccines by claiming that vaccines on platforms that have been under development for two decades and went through enormous trials were 'hastily produced' with 'corners cut'
The symptoms I described manifest in absence of any external stress. That's what makes them symptoms.

The first question to ask about those is whether they have been present since childhood.
And all the problems, like bomb threats dropped near schools via spoofed GPS locations.
https://plus.lapresse.ca/screens/76df4977-b64c-4d7b-aca9-4ff...
Thank you! I've got a SvelteKit frontend, powered by a Node.js (using Express) backend, with a MongoDB database. This is all self hosted at home.

I use websockets to do the live communication, and each game room gets a Node.js worker thread assigned to it.
Waiting for a slightly larger market correction on ASML so I can dump a lot of money on their stock. The news of the fire barely affected the price. Bought some time ago and they are such a unique company that I don't think anyone can catch up with them soon.
Housing and other social issues related content are often posted here, ending up on the front page.
Is there a way to turn off the auto play of the fly through after you click, without having to click pause each time? I'm more interest in just clicking around and seeing how the route changes.
What benchmarks? Not a lot of real programs actually use AVX512, and a lot of the ones that did discovered that it made performance worse, so they stopped.

(The issue is that AVX512 (the actual 512-bit parts, not the associated EVEX and masking extensions) may well be excellent for long-running vector-math-heavy usage, but the cost of switching AVX512 on and off is extreme, and using it for things like memcpy() and strcmp() is pretty much always a loss except in silly microbenchmarks.)

To be clear, I don't like the type of product line differentiation that Intel does, and I think Intel should have supported proper heterogenous ISA systems so that AVX512 and related technologies on client systems would make sense, but I don't think any of this is nefarious.
I think it's more about disrupting the protesters' ability to coordinate than you getting fresh footage from Kazakhstan.
Not really: internal ECC in DDR5 is an implementation detail that is neither exposed on the bus nor giving you the real reliability and monitoring capability that real ECC terminated in the memory controller did. It is only there because the error rate would be absolutely horrific without, so you need internal ECC to get to basically the same point you were without ECC on DDR4.
> Sonos solved

Sonos aren’t popular here at HN due to some truely awful decisions they have made.

I really like my small system and it works great - mostly.

You hit some seriously rough edges if you have a Unifi network, and Sonos’s use of STP rather than RSTP is system breaking until you realise it. And even when you solve this issue, there will be random outbreaks of dysfunction and failure to connect.

The Sonos app is terrible, and the integration with Spotify occasionally craps out - logging out and then in again can fix it, sometimes.

I like the system but it’s got a way to go.
What's shocking is he said the quiet part out loud, so now anyone going on the streets knows to be armed and ready because their enemy will take no quarter.
Maybe an unpopular opinion but I think it’s a mistake to elevate anybody to hero. We can praise a work or a deed but we really have no visibility into someone’s character usually.

And anyway the narrative of the great man is bunk meant to sell something or convince you of something or elect somebody.
2021 What a Year for DeFi
I miss the comedic dramas with ensamble casts back in that day. Today, they're all CGI, shoot-em-up, gratuitous explosions.

Another unappreciated example, The Man with One Red Shoe. Tom Hanks, Dabney Coleman, Charles Durning, Carrie Fisher, Lori Singer, Jim Belushi, Edward Herrman, David Ogden Stiers, Tom Noonan, Irving Metzman, David Lander.
The high-level goals of python end up creating these little syntactic landmines that can get even experienced coders. My personal nomination for the worst one of these is that having a comma after a single value often (depending on the surrounding syntax) creates a tuple. It's easy to miss and creates maddening errors where nothing works how you expect.

I've moved away from working in Python in general, but I think the #1 feature I want in the core of the language is the ability to make violating type hints an exception[1]. The core team has been slowly integrating type information, but it feels like they have really struggled to articulate a vision about what type information is "for" in the core ecosystem. I think a little more opinion from them would go a long way to ecosystem health.

[1] I know there are libraries that do this, I am not seeking recommendations.
Not to be a buzzkill, but maybe we should restrict the forms of edibles available. Dispensaries in Canada have gummies, chocolate bars, peanut butter cups, nut clusters and all sorts of other snacks in edible form. Some come in bright attractive packaging. Edible oils, capsules, etc. are not so easily confused with food.
JavaScript (strict mode) doesn't have explicit typing, but it still requires variables to be declared.
Would someone point me to a C implementaion of folly/FBString ? Or any C String OSS lib that is similar to what C++ std::string(/wiew) does ?

More precisely, one that defines a datatype (no SDS-like trick) and has all goodies like SSO, CoW, views, thread-safety, etc..

I'm making such a lib but can't seem to find other examples to compare.
They can only withhold the funds, which they're already doing. We'll see how that plays out over the next few months.
I think you meant "viable", not "liable". Given the discussion, your typo is ironically amusing, though.
"... and the prosecutor so motivated."

In theory the prosecutor should be equally motivated for any offense. Otherwise we are not a nation of laws, but one of men. And that is not good thing.

Frankly, on my experiences: rule of law does not exist; the justice system is not about justice; most people do not have the rights they think they do, and even when they are violated the system will nor stand up for them; there is extremely little action on incompetence and even misconduct by those holding power (judges, prosecutors, etc).
Vlime project link has changed since the article was written. Current Vlime project is https://github.com/vlime/vlime
This is understandable since many of those projects are not written in python. So the python code in them is only in incidental scripts like test harnesses. If V8 was written in python then performance would probably not be very good.
No that statement just isn’t true. ADHD in high IQ individuals frequently creates high performing individuals with very low self-esteem.

They succeed in complex environments tackling difficult problems, but still struggle to perform basic everyday chores. High performance at work, but consistently poor performance in other aspects of life is an indicator of possible ADHD.

https://www.psychologytoday.com/gb/blog/psychiatry-and-sleep...
"At that rate, the 10 employees would have to work non-stop 24 hours a day, seven days a week to produce the 55,000 pages a month (and would still fall a bit short)."

So 50 people on a normal (40 hour work week) could do this in a month.
The FDA has 18 000 employees.
I think the answer is clear.
well, with some prior bibliography resource gather/storing (use just pdf files, auto-pull cited references ("lines with [0-9]+") can auto prune/direct the stocastic google method noted at start.

alternatively prine method: look up authors from a set of starter bibliographs & keep authors with higher sitations/lower citations.

can use google to find number of times web resource linked/cited & use the count as a pruning method.
You should look up "condone"
Life is to short to use dated CLI tools – try these instead
Use \

mylongstring = "hello " \
"world " \
"my " \
"name " \
"is"*
The problem is `fop` should be `foo`:

foo = 5
fop = 6

Keywords like `let` solve this problem:

let foo = 5
fop = 6 # error
Rust: Chaining Functions Without Returning Self (2019)
Guide to Text Similarity with Python
But in this case WPM or similar are completely useless measures. With the right tooling one can pump out an extreme amount of code in a few minutes. It totally depends on the programming language and the available tooling, templates etc. You don't need quick fingers for programming. Depending on the verbosity of the programming language and if it is statically typed you are much faster in pumping out characters.
Who were the architects?
You might like Christiane F. Very very somber film but lots of good shots of Berlin at night in the 80s (set to Bowie songs)
The EU usually handles EU law violations by member states with economic sanctions.
Oh no, I’d absolutely chip in. These people certainly deserve it.
I just imagined I had this much in my pocket and the awkwardness that would ensue should I misspump. Takes me back to my first years of driving.
For the lightly curious:

> KNKX tracked down 12 former tenants of the Merkle displaced in 2018 and found that half — six in total — spent time homeless at some point after they were forced out of the building, staying in shelters, cars, storage units or the streets. That’s according to interviews with the tenants themselves, their relatives, or people who helped them.

> In just three years, at least five former tenants have died.

> KNKX first interviewed Merkle tenants as they scrambled to find housing in the days before the building closed. That’s where the story ended: with residents teetering on the brink of homelessness. For years, no one knew the full toll of displacing them.
What is it that they're doing? I'm not Kazakh so I'd be interested in hearing your Kazakh opinion as their representative.
Friends Don’t Let Friends Listen to Podcast Apps on Default Settings
Probably because Sneakers features more social engineering. That would be my guess. Wargames features realistic war dialers and such, but it also features WOPR, a 1980's computer that can speak and learn and reason like a human.
There are many legal recourses because their are rules about being part of the EU.

They can also threaten to drop susidizies and to kick them out.

I'm actually hugely wary of EU interfering in state affairs, because the EU is not some 'magical good guy' - they're just usually 'somewhat gooder'.

In particular, Poland refuted the ECJ as having ultimate authority over local courts, the EU threw a huge fuss - but Poland has substantial backing for that: there is nothing in the treaties which indicate ECJ has said authority. At the very same time, the issue is not resolved even in Germany, and the German high courts are thinking of pressing a case. Since Germany is the 'centre of the EU' - and - there are gaping holes in the true legal authority of the ECJ for certain things, it's not a war that the EU wants to get into. It could tear a mile wide hole in the legal fabric of the EU. That said: I wish the would do it because the situation is unconscionable and almost nobody is aware of it.

Using Pegasus to spy on political opponents however, is a bridge way, way too far. Poland is not going to have a leg to stand on either moral, populist, legal, treaty etc. - there's just no argument they can make.

I think the EU should put a lot of heft behind this issue though.

Finally, bit of a caveat, it could be that other EU states are using the same or similar tech to do 'similar kinds of things' - those EU states are not going to want to be embarrassed by public knowledge or airing of that. So that could be a problem.
Show HN: CM4 Board with SATA and GbE Switch
Hey HN,

We just launched our first product, a CM4 Carrier Board. Some of the features of the Interceptor Carrier Board include: dual HDMI ports (4Kp60), 5 SATA ports, 4 RJ-45 gigabit ports (via gigabit switch), 4 USB 2.0 ports, RJ-485, and an RTC clock with battery backup. There are also two FFC connectors for future expansion (coming soon). The board is powered via an ATX-24 connector, and a Mini-ITX adapter will be available soon.

Here is a link to the board page (product brief linked at the bottom of the page): https://www.axzez.com/axzez-circuit-boards
Hmmm, it sounds like you're expecting "two" and "three" to be separate list elements because of some sort of implicit behavior due to being written in a list context. This is the opposite of what "Explicit is better than implicit" means.

This is a list and you must explicitly place a comma when you want to start a new element in the list. Is there ever a time a new element follows a previous one and is NOT separated by a comma? No, this is explicit.

Whereas, strings also always concatenate in this manner be it in a list context or not. It seems like you're assuming behaviors from other languages would be the same in another.
But only one of them is recommended - the one that makes less sense.
Crumbl Cookies, Viral Tik Tok Cookie Bakery
Doesn't appear to work on Firefox at all.
> I'm going to guess that either you already own your home and your car outright

Partially correct.

Yes, I own my car. While I was in school my family bought the cheapest used vehicle there was so that I could go to classes. After I graduated, I continued using that car until I had made more than enough money to buy a new one. I have friends who took on massive amounts of debt in order to have luxurious vehicles right after graduation. I will never do something like that.

Yes, my family owns their homes. Both my parents worked jobs while renting an apartment until they had enough to buy the home I grew up in and in which they live in to this day. It took a lot of effort.

Yes, my education was fully paid for in advance. My parents prepared and planned for it since the day I was born. My father showed me his careful accounting on his ledger, entries dating back decades.

> Or you're wealthy to the point of being able to pay cash or make major purchases without having to save for a while.

Wealthy enough to pay cash? I guess. Without any planning and saving? No.

> Credit allows me to buy the house NOW and start building equity NOW.

What did you really buy? Fail to make your payments and see the true owners of your house take it away from you. None of it is real until the payments are done.

> Student loans were a good idea, but ended up with disastrous side effects

Of course. That about sums up the entire history of credit and debt. A great idea that destroys everything.

> But to argue for the abolishment of credit because some people suck at it is just throwing the baby out with the bathwater.

> It would absolutely destroy the middle class and kneecap upward mobility of the lower class.

On the contrary. Credit and lending are literally responsible for global economic collapse. It destroys the lives of so many it's not even funny.
A friend of mine was doing a CTF that puts you into a chroot jail. He could see the flag.txt, but trying to `cat flag.txt` was saying "cat: flag.txt: No such file or directory."

He was absolutely stumped. I just said, "what if 'cat: flag.txt [...]' is the flag?"

Sure enough. That was actually the flag.
This is basically the PDCA cycle (https://asq.org/quality-resources/pdca-cycle) that Edward S. Deming wrote about, based on Shewhart's work.

Lots and lots of material out there about this type of process in industrial process design circles, a lot of which is suitable for soft production processes like software development.
> If you are a programmer, it’s unusable.

Those kind of cloud storage services were never intended for code. One has to be crazy to put workspaces in a Xcloud directory.

Git is here for this purpose. And if you want a central repo you use GitHub, GitLab or a self-hosted platform.

IIRC some alternatives to Xcloud are even based on Git.

One day a colleague was complaining that OneDrive was taking lots of CPU and showing lots of errors. This guy had checkouted a project in their OneDrive directory with the .git and node_modules...
How do you get certbot to work? Or do you renew manually or something?
Splitting long URLs onto multiple lines because you have a hard line length limit is considerably more harmful than exceeding the length limit in such cases, because you break the URL up so that tooling (including language-unaware static analysers) can’t conveniently access it. (e.g. if you want to open the link, you can’t just copy it or click on it or whatever, but must first join the lines, removing the quotation marks.) Any tool that forcibly splits up such lines when there is no fundamental hard technical reason why it must is, I categorically state, a bad tool.
When I was in elementary school class one day I tipped my chair backward far enough that the kid behind me thought I'd tip over, so he put his foot gently against the bottom of one leg to prop me up. I didn't feel it, and so relied on it to tip back even further.

Then the kid had to stand up, and withdrew his foot, without malice. I flopped over backward and rung my bell pretty good on the floor. I don't think that would have happened if that kid hadn't propped me up.

I can't blame the kid who tried to help. It was my own damn fault.

Charity can do a lot of good, but not necessarily. And even when it does there is no obligation to continue it forever.
> "You had plenty of time to be an early adopter, enjoy being poor"

This is literally how every asset works. Early investors earn huge appreciation. Those speculative profits drive innovation. It's why we have a $500 billion venture capital industry that exists for the sole purpose of getting resources into the hands of innovators so they can grow new products and businesses.
I like this. It's clearly meant as marketing for their product, but imo the best kind of marketing. They don't just run their tool and automatically make tickets, but check for false positive and (offer to) make pr's.

It's both good for those projects and for the company that does the marketing since they reach there exact target group. Plus it gets them on the front page of HN.
The very first thing PiS did was illegally replace supreme court judges.
Especially seeing how these types of buildings being gentrified to the benefit of the types of people commonly perusing this site. Nice to have people see the real world implications of their desires.
I'd read that.
I'm dropping it in places in death valley that i'm sure will never make it to the amargosa river unless the entire valley floods
The other factor is that the central plot element (not really a spoiler here) involves a system for finding prime factors of large numbers which, 20 years later, would still be ground-breaking technology and would almost certainly have several 3 letter agencies chasing after you.