skysight-inc/HackerNews huggingface dataset:
Or racist police profiling and felony convictions for things white people would walk for (felony conviction = you lose the right to vote, effectively stripping someone of their citizenship. I don't know if it's for life, is it?)
Because iTerm is not fast.

Try opening a fullscreen terminal and cat a long file. Add search / highlighting, repeat. Type something really fast; sometimes you can even notice the input lag, especially if you enable ligatures and other features.

Install WezTerm, Kitty, Alacritty; try the same.

It's not that iTerm is not fast enough for most daily work. It's not that iTerm's feature set is not great. But there are faster alternatives, and in many cases, the difference is pronounced.
+1 for py-spy. I would love to try out Scalene but the application I have does something funky with pickling for multiprocessing, breaking Scalene in the process (my fault, not Scalene's, I'll be looking into that). Py-spy worked, including catching all the sub-processes. Feeding the py-spy JSON output into https://speedscope.app makes for a very easy way to profile in a time crunch if you don't have time to get familiar with CLI tools or can't install stuff locally but have a browser and internet connection.
'King Conker' did not cheat, tournament organisers say after investigation
Looks like he did not cheat!
>If only because making "implicit" explicit is linguistically pointless in that 3-word phrase.

"Implicit" isn't part of the formal terminology PEP 420 introduces. It's just in the title and some other passing descriptive mentions. (The PEP author has posted ITT, so you could probably ask for details.)

>Either "namespace" or "package" is also pointless linguistically.

"Namespace package" distinguishes from "regular package". The two words are not at all synonyms. In Python, "namespace" could also plausibly refer to the set of attributes of an object (actually how package namespacing is implemented: the package is a `module` object, and its contained modules and subpackages are attributes), keys of a dictionary, or names in a variable scope (e.g. "the global namespace" - which, in turn, gets reflected as a dictionary by `globals()`). Meanwhile, a package in a running program is about more than the namespacing it provides: it has additional magic like `__path__`. And in a broader development context, "package" could refer to a distribution package you get from PyPI, which might contain the code for zero or more "import packages" (yes, that is also quasi-standard terminology: https://packaging.python.org/en/latest/discussions/distribut...).

>Packages and "implicit namespace packages" are not substitutes for one another (fscking parent relative imports!)

Yes, they are. Both are modeled with objects of the same type in Python, created following the same rules. The absence of `__init__.py` is not why your relative imports fail. They fail because the parent package hasn't been loaded (and thus its `__path__` can't be consulted), which happens because:

1. you've tried to run the child directly, rather than entering the package via an absolute import (from a driver script or by using `-m` - see https://stackoverflow.com/questions/11536764); or

2. you're expecting the leading `.`s in a relative import to ascend through the file hierarchy, but it doesn't work that way - they ascend through the loaded package hierarchy (https://stackoverflow.com/questions/30669474).

(The SO references are admittedly not great - they're full of bad answers from people who didn't properly understand the topic but managed to get something working. Hopefully I'll have much better Q&A about this topic up on Codidact eventually.)

I do relative imports without `__init__.py` all the time. Here's a demo:

$ mkdir package
$ mkdir package/subpackage
$ cat > package/parent.py
print("hello from parent")
$ cat > package/subpackage/child.py
from .. import parent
print("hello from child")
$ python package/subpackage/child.py
[traceback omitted]
ImportError: attempted relative import with no known parent package
$ python -m package.subpackage.child
hello from parent
hello from child
$ cd package/
$ python -m subpackage.child
[traceback omitted]
ImportError: attempted relative import beyond top-level package

Adding `__init__.py` files has no effect on this.
It's not. This is a problem solved by reforming the immigration system. I'll let you try to figure out which of the two parties in power has stonewalled progress on that front for the last 30 years.
They don't mention any extra costs for people to manage the on premise setup. I mean its probably still a savings for them but it seems weird to leave that out.
Doesn't make it less true though.
They've introduced the dns challenge almost 9 years ago, you must have barely missed it!
It also crashes my Chrome tab on Android.
Presumably the versions before the rug pull, although I haven't personally tried to build them in a long time in order to know how much effort that would take
Yes I know, which is strange, and I know many Americans are proud of it (no snooping state etc.) but overall I think there are more downsides to it. I feel this is an artifact from times without phone lines and computers with many small towns hundreds of miles apart (also see electorial college) and was a necessity but is now kept b/c of identity and tradition.
I cannot recommend reading A Mathematician's Apology enough. It was written by GH Hardy and I think it's one of the best non-math texts out there to understand how a mathematician's brain works.

https://en.wikipedia.org/wiki/A_Mathematician%27s_Apology

Fairly short and beautifully written.
They even basically copied the iPhone design off Sony https://es.pinterest.com/pin/78742693455593417/

And then freaked out when Android copied that off them which seemed a tad hypocritical.
Not to mention the very first part of that test says that anyone that can demonstrate a certain education level doesn't need to test it, meaning that any people disadvantaged by the system in not having a (demonstrable) education - which would be a lot of Black people - would have to take the test.

I don't think anyone with that necessary education would pass the test.
> "first to file" rather than "first to invent"

These rules only apply when two people with the same invention both file a patent. If you publish something on Monday and someone files a patent (really - a provisional) for it on Tuesday, you are prior art to their patent and can be used to make it "obvious."
That's a standard line included in almost all photosynthesis research these days because of the global concern about fossil-fueled global warming, as a justification for continuance of one's research group funding, even if the relationship is rather minor.

The key point of this paper with respect to synthetic industrial photosynthesis:

> "Reaction-diffusion modeling of C. reinhardtii suggests that all pyrenoid-based CCMs require the following essential features: (1) aggregation of most of the chloroplast’s Rubisco enzymes, (2) a local source of high CO2 concentration at the center of this Rubisco aggregate, and (3) a diffusion barrier at the aggregate border to prevent CO2 leakage. Our data indicate that the PyShell contributes to the first two essential pyrenoid features (Figure 5A), and we wonder whether the PyShell may directly perform the third (Figure 5B)."

A big difference between oceanic diatoms and land plants is that the former's carbon source is bicarbonate, and diatoms convert bicarbonate (HCO3-) to CO2 which is utilized by Rubisco to fix CO2 onto a five carbon sugar which then splits into two 3-carbon species that are fed into carbon metabolism to generate lipids, amino acids, carbohydrates, etc. Increasing CO2 concentration around Rubisco makes the process more efficient (as this keeps out the O2, and avoids futile cycles where the O2 gets added to the target sugar). Some land plants (grasses, cacti) use alternative concentration systems not involving bicarbonate (bundle sheath and CAM).

The real takeaway for industrial-scale synthetic photosynthesis efforts is that it's always more efficient to preconcentrate CO2 into a 100% CO2 stream before feeding it into a reaction process with suitable robust catalysts in which O2 is removed and H2 is added to generate methanol or methane (somewhat analogous to ammonia synthesis) which (if you want to do real long-term storage) can be converted to materials like carbon fiber or diamond.
If you are on macOS and mainly use the link hints, Homerow (paid) gives you link hints for the entire OS (including browsers and web pages): https://www.homerow.app

It's one of my favorite macOS apps that I can't live without.
Nobody does this because nobody wants to do this. Communal and multigenerational living was the default standard for all of human history. But as soon as people are wealthy enough in any society, they get out of it.
Yes, some of it may be network lag (asset prefetching can help) but some of it is also just UI jank that has nothing to do with the network.

I wouldn't really call it smooth compared to an optimized mapping lib like the other ones. Have you done any benchmarking by FPS, or even just noticing what happens visually when you pan (things blink in and out of existence, for example).

Keep in mind that it's already more optimized than any code I could write on my own (kudos!), just not as smooth as the big solutions. If you don't want to use them, more power to ya! Just providing one opinion because you asked for it. Not necessarily trying to convince you to do it differently if you don't want to. Typically people will have made up their minds already anyway, lol.
Germany is self-blaming only to some extent or for some definitions of this notion.

Yes, they are well aware of what happened in 1930s and that there was Hitler, etc.

And still they conveniently fail to see any connection with today times. It is some unclearly defined Nazis who took over the control of Germany and did all the killings and destroyed a few countries around. But not anyone's grandfather was involved. And supposedly the companies which built their wealth on slave work and death of thousands continue to prosper.
The Crime Messenger: How Sky ECC Phones Became a Tool of the Criminal Trade
AI-Powered Dictation Tool
Heh, there's nothing legacy about Unreal. It's the premier game engine in the world today and actively maintained by hundreds of developers. They're now pushing into film and do new releases regularly, often breaking backwards compatibility when they do. Where is this move away from OOP and inheritance? Even newly developed features like Nanite use it:

https://dev.epicgames.com/documentation/en-us/unreal-engine/...

But more importantly, is this take falsifiable? What does "old" or "legacy" mean? People have been pushing this line for at least 15 years here on HN, yet what we see in the most well funded and actively maintained codebases is lots and lots of inheritance, with no efforts to remove it. Not just Unreal but also Chrome, MS Office, iOS, Android, Java, and more, all use this technique with no ill effects as far as anyone can tell. When the maintainers talk about what issues they face and are putting refactoring efforts into, inheritance or OOP never seem to be on the list. In the Java case it's actually the opposite, they like to complain about people violating OOP encapsulation and want to make enforcement stricter. Meanwhile heavily hyped successors that lacked it, like Haskell, have vanished without a trace, leaving not even one widely used program in their wake.

What would it take to falsify the claim that inheritance is a legacy technique? Because I see no real evidence of it. Every codebase I've worked on has used it without anyone remarking on that fact, and it didn't seem to cause issues more often than other design patterns.
Friendly reminder that things ended up quite shit for the actuall ludites, and the advantages only 'trickled down' after a generation or two. So I will keep being worried for everyone who works now, and their kids.
the word is "probabilistic"
A couple of decades ago, browsing the web was considered a specific "activity" that you do on a computer for a specific need, and then and close the browser window when you're done.

A few decades earlier, using a personal computer at all was considered to be a specific activity, and people didn't really "know they needed" to have multiple applications running at the same time.

Tog's paradox seems to explain this evolution really well.
Hmm. Given that Textbooks are all you need, I’m not sure this holds.

Maybe “don’t focus so much on organizing your inputs, instead focus on many quality input reps”?
Deep-sea 'jelly' creatures merged into 'single entity' after injury
Why your AI generated abstract was rejected for NDC Oslo [video]
The South was historically dependent on slavery and rebelled against the freedoms that the North always provided. The North won the war and only after that is there a country in the South to look down on. But the North, and the birth of the nation, was always about freedom. It just took a long time to get the South to come along.
Simplifying the AI/ML to Production Pipeline [video]
The auto industry occasionally goes through phases where they intentionally make cars ugly. I don't know why. I think we're in the early days of such a phase right now.
Nice try LLM, but we can't teach you to think (yet).
> But imagine, if only people who can really understand written text, who can calculate, who understand how legal system works, who have basics of logic could vote.

Imagine as well that only the elite or nobility has access to education, reading / writing, etc. It would bring society back to the pre-Enlightenment era, or whenever it was that education / reading / writing / math / etc became available to anyone.
> This doesn't mean that an unscrupulous person gets to look for public disclosures and rush their own patent applications to beat out the original inventor. You still need to demonstrate independent conception of the idea (although this would likely only be demonstrated in the context of an actual trial).

IPRs and PGRs can also be used for this, and are cheaper than doing it at a full-blown trial.
The issue is that the "selected <option>" and "the <selectedoption> in the <button>" need to be able to render at the same time, behave independently, and be independently styled.

If you have a psuedo-element, it still needs to get its content from somewhere, and needs to be placed somewhere in the tree. With <selectedoption> you can put it wherever you want in the <button>, but you'd lose that functionality with a pseudo. The same questions remain about when the content of the pseudo gets updated. And now you need to figure out how events work.
Is there an easy way to duplicate a specific process' namespace? My biggest issue with all these new features is that privatize state is how much harder it is to reproduce a state.

Back when it was just environment variables, I could pipe /proc/PID/environ to xargs and get basically the same state. Given that things like unix domain sockets may end up in $TMPDIR, I can be left unable to do certain things.
Does anyone think it might be important to note in the head that this is 1964?

(That’s actually in the article’s own headline.)
You're right that macOS has per-user temp (and cache) dirs under /private/var/folders/ (since 10.5), but it still has traditional shared /tmp (via the /private/tmp symlink) since not everything respects the per-user temp dir.

https://magnusviri.com/what-is-var-folders.html

That's not the reason for /private though. Rather, /private is a holdover from NeXTSTEP days which could mount the OS via NFS (NetBoot), and where /private was local to the machine:

"Each NetBoot client will share the server's root file system, but there are several administrative files (such as the NetInfo database, log files, and the swapfile) that must be unique to each client. The server must have a separate directory tree for each client, which the client mounts on its own /private directory during startup. This lets a client keep its own files separate from those of other clients."

https://www.nextcomputers.org/files/manuals/nsa/13_NetBoot.h...
Facebook testing facial recognition to combat 'relentless' celebrity scams
I'm not qualified, you already did a better job than I could've :) I'm a die-hard "don't reinvent the wheel" kinda guy who will use other people's optimized solutions instead of writing my own, whenever possible.
Protective protein discovery paves way for healthier aging
Brazilian Fossil Hints at Older Origin for All Dinosaurs
That was a lovely read, thank you. I particularly enjoyed the analogy between 'a poorly-written computer program' (i.e. one with a lot of duplication due to inadequate abstraction), and the importance of using the appropriate mathematical machinery to reduce the complexity/length of a proof. It brings the the Curry–Howard isomorphism to mind: https://en.wikipedia.org/wiki/Curry%E2%80%93Howard_correspon...
It's interesting to present as colorful cars. There are much fewer cars on the road these days as they are being replaced by large and expensive SUVs.

From the article:

>The culprit? Corporate cost cutting. As profit margins got tighter, automakers went looking for ways to make assembly lines run faster and cheaper.

I'm not so sure this is the reason. If you look at houses, current trends are black and white or a combination of the two.

I think it's more just current tastes than anything.
Just that thinking about the "floppy drive in 1998" question.

I can think of a couple of things at play

The system was likely designed a long time before 1998, because of how this type of contract works

Even in 1998 USB was very new, so thumb drives weren't an option

CDs were ubiquitous, but cd writers were not

Proprietary tech was available, Zip and Jazz drives come to mind, or maybe even minidisc in that timeframe, but any would have been a poor choice in hindsight

Tape would presumably have been considered, but was already notorious for long term compatibility (in 99 I had to restore from a tape backup that was only a couple of years old and we couldn't easily find compatible hardware)

There were other proprietary optical storage media in the market, but they were expensive and aimed at the long term storage market (heaven help you if that's how your archives are stored)

If they needed a cheap, easily written, and distributable media, they didn't have a lot of good choices.

We still don't have a good choice for this if you want your system air gapped. I sure as hell wouldn't let anyone plug a USB device into a safety critical system
Stephen Grossberg on the Hinton and Hopfield Nobel Prize
I have been told that relatives (born in Sri Lanka) were able to emigrate to Australia later in the 20th century (I would guess 50s or 60s) because they were able to prove that more than half their ancestry was European. I do not know whether this exempted this from the test or whether there was a simple race based bar to immigration later on.
easier said than done mon ami
There's a parallel there to Feynman, if you squint a bit. He seems to have been synaesthetic in a way that let him use the sensory part of his brain as a maths coprocessor, and he didn't understand it himself.
When I checked how people were citing these useless papers, almost invariably it would be in a sentence like this:

"Computational modelling is a useful technique for predicting the course of epidemics [1][2][3][4][5]"

The cited papers wouldn't actually support the statement because they'd all be unvalidated models, but citing documents that don't support the claim is super common and doesn't seem to bother anyone :( Having demonstrated a "consensus" that publishing unvalidated simulations is "useful", they would then go ahead and do another one, which would then be cited in the same way ad infinitum.
I forget which publication, might have been the new yorker, won a pulitzer prize for a long-form article written in this style. Visually it worked very well (because it was telling a story, not trying to convey information) and the scrolling graphic transitions were gentle enough that I could manage it + reader mode. Since then, it seems like other magazines have followed suit.
It mostly means that human desires are insatiable by construction, so humans always feel somehow missing out and wanting.

Check out the works of S. Gautama on the topic; it's enlightening! :)
Academics are fully capable of taking history (or physics) and putting it into a wood chipper feet first if it doesn't fit squarely into whatever system they're absorbed into. Mao's useful-idiot student protestors decimated the great wall of china because it was "old". Literally tore down hundreds of kilometers. And when they weren't going to town on the Great Wall of China they were pushing bogus physics because the Big Bang theory was bourgeoisie.
And captchas
Technically the complexity is done by somebody to reduce the complexity for somebody. If it would be 1:1 it would stay the same, but since one solution can be copied to many the complexity overall reduces. But the reduced complexity gets filled again. So reducing complexity increases complexity. That's the paradox.
> If education played some role you would probably might have seen an alternative party/form of government emerging over time as people became more educated.

But there are plenty of alternative parties / forms of government, it's just that in the existing political systems - especially in the US - it is reduced to a two-party system. First-past-the-post voting naturally leads to a two party system.

Basically, the US is doomed to stay in a two party system unless one of them decides to change the constitution or whatever dictates this system, or there's a successful revolution. (I don't think Jan 6th would be a successful revolution even if they, for example, killed all the senators).
Because other processes can periodically check whether a predictable filename is in use, and guess things you'd rather keep private?
Oh, so the λ in lambda calculus was just a poor man's circumflex.

Unrelated, but why doesn't Hacker News have support for latex? And markdown, for that matter?
It's not a question of communication, it's a question of language.
We've been waiting for more JSON support for Clickhouse - the new type looks promising - and the dynamic column, and no need to specifcy subtypes is particularly helpful for us.
This 100%. It sounds to me more like the original "article" just made up some numbers and posted some flame bait.
Hammers
"Whole new system" means basically putting Wifi AP's in the station, and on the trains and using WiFi localization technology that has been around for ages. Most of the money in that quote comes from the 20 year service plan (read: paying a few techs making $30-40/hr to be on call for 20 years). Should it really cost that much? Probably not.
AskAManager exists to be interesting (and occasionally helpful), not impactful.
Nice, congratulations. It must feel so surreal launching this!

One of my biggest learnings from doing a bunch of web MVC through Rails over the years is that the framework should heavily discourage business logic in the model layer.

Some suggestions:

- Don't allow "callbacks" (what AR calls them) ie hooks like afterCreate in the data model. I know you don't have these yet in your ORM, but in case those are on the roadmap, my opinion is that they should not be.

- That only really works though if you not strongly encourage a service aka business logic layer. Most of my Rails app tend to have all of these as command aka service objects using a gem (library/package) like Interactor.*

* It's my view that MVC (and therefore Rails otb) is not ideal by itself to write a production-ready app, because of the missing service layer.

Also, curious why existing ORMs or query builders from the community weren't leveraged?

Disclaimer: I haven't written a line of Rust yet (more curious as the days go by). I'm more curious than ever now, thanks to you!