skysight-inc/HackerNews huggingface dataset:
Most relevant element of what's going on here is that Rust's standard library is deliberately split three ways: Core has stuff that should "just work" on your target platform, Alloc adds stuff that further requires a Memory Allocator, which is something target hardware doesn't come with, but any non-trivial system is likely to build, then Std adds stuff which requires an Operating System, such as Files, and Threading

C is technically also split, so called "freestanding" C implementations don't provide features like stdio but they do have e.g. math functions. C++ attempts something similar but it's a bit hit-and-miss as a truly "free standing" C++ doesn't entirely make sense, as systems that try to use C++ for very low level work often discover.

The next less relevant observation is that Rust chooses to call these sort and sort_unstable - the one that's guaranteed to be available doesn't get the easier name, that's reserved for the one that definitely doesn't have unexpected behaviour. If you don't know what an "unstable" sort is, then sort_unstable's behaviour might in some cases be astonishing. Some languages make the opposite choice, which means programmers may use sort, not realising it's actually an unstable sort because the entire concept was never explained to them.

This is one of many examples of Rust's safety achieved not via some sophisticated technology but just by thinking about why people screw up. Every Rust programmer who without thinking writes sort gets a stable sort, if that was too slow, they can choose sort_unstable, but doing so prompts them to consider, wait, is an unstable sort correct here?

Finally the least relevant but hopefully still interesting observation is that it is quite possible to have a stable sort which doesn't require allocation, but the performance is not so hot. It seems pretty unlikely that you must have a stable sort and you can't afford an allocator and yet you don't mind the performance hit. As I understand it though some C++ libraries do offer this.
I'm excited about this for probably different reasons than most: I think Typescript could be a more ergonomic way to develop ML models than Python because you can automatically infer and check tensor dimensions while you are writing code! Compare this to the mess of comments you usually see writing pytorch telling you that x is of shape [x, y, z].

// An empty 3x4 matrix
const tensorA = tensor([3, 4])

// An empty 4x5 matrix
const tensorB = tensor([4, 5])

const good = multiplyMatrix(tensorA, tensorB);
^
Inferred type is Tensor<readonly [3, 5]>

const bad = multiplyMatrix(tensorB, tensorA);
^^^^^^^
Argument of type 'Tensor<readonly [4, 5]>' is not
assignable to parameter of type '[never, "Differing
types", 3 | 5]'.(2345)

I prototyped this for PotatoGPT [1] and some kind stranger on the internet wrote up a more extensive take [2]. You can play with an early version on the Typescript playground here [3] (uses a twitter shortlink for brevity)

[1] https://github.com/newhouseb/potatogpt

[2] https://sebinsua.com/type-safe-tensors

[3] https://t.co/gUzzTl4AAN
Cloudburst: Why good clouds go down
There's good evidence that if we can alleviate poverty and child mortality everywhere, fertility rates will start coming down like they have in richer countries and we'll end up at 10-11 billion people.
It's a self reinforcing cycle. Public transit sucks, ergo it is cut, it becomes worse is less useful, ridership declines, nobody is riding it, defunded more - rinse wash repeat. See transit is horrible... Seeing well done public transit is eye opening. We also don't consider sometimes that driving is terrible too in cities. 30 minutes to get down an on ramp, 30 more to go across a bridge. At some point bad public transit and grid locked cities is just.. dystopian. Fundamentally a problem of scale, personal cars just can't move many millions in and out of a city, the math of how much time and space that requires doesn't work.
Not paradoxical at all. They're clearly interested in competing fairly instead of locking you in. That's a big advantage. They're also critically evaluating their approach. Exactly what I as a customer would want!
This looks like my type of browser. I currently rely heavily on the vimium chrome extension.

Does this support profiles by any chance? I currently use chrome profiles to separate work and personal

Looking forward to giving it a spin
My immediate sense is that the entire vector system easily dwarfs the 16bit system.. as I'm guessing most of the modern 16bit mode is entirely in microcode.
And yet they built aqueducts and wells too. Local surface water has been insufficient for civilization for at least 2000 years.

> The underground aquifiers under midwest and under much of middle east will be gone in 50 years and will never return

> You should not incorrect people here without basic facts at your disposal

Nothing quite as HN as someone making bold alarmist unsupported assertions about the future of climate for all of time, then following it up with a sentence demanding an appreciation for “basic facts”.
This looks like it could become a powerful web crawler with relative ease.
> If UFOs are real then that necessarily implies the existence of some new physics beyond general relativity.

One explanation (which i can obviously neither confirm nor deny) is that aliens don't come from Far Away, but from neighboring dimensions.
What are the odds of a successful space launch?
Does any outside service check the integrity of the content on Web Archive?
or do we just accept as it's? I'm just curious. If nothing checks it, it gives them a bit of a power.
We're overfishing ... maybe they're just (a|hu)ngry.
In first tough test, CRISPR epigenome editing cuts cholesterol levels in monkeys
One of my early mentors told me “encryption is easy, key management is hard”.

That’s pretty much the root issue. Just like with physical security, the devil’s in the details.
Maybe yes, maybe no? I mean, presuming the limitation that you can't travel faster than light and you have beings with highly advanced technology somewhere "near" as in < 100 light years away, it would be possible they decided to send an expedition our way sometime ago and they're hanging around somewhere in the solar system.

They could have tech that makes this less of a inconvenience than it would be for us. If for example if they had some way of hibernating the interstellar travel time, but any sort of help from the home planet would still be decades away, staying put, observing and limited contact would be a possible kind of behavior one might choose.

They would be technologically advanced, but still lack the numbers for any kind of "safe" interaction with us from their point of view.
I went through a very similar experience on using keybr to learn Colemak last year. It was in anticipation of typing on a custom split ergo to improve efficiency.

I was really surprised by how easy it is to build up muscle memory, along with some decent speed/accuracy. However, I had to make a decision to unlearn most of my efforts and go back to QWERTY, as it was causing too much confusion switching between the two layouts. Colemak was also causing cramps between the shoulders and the neck on traditional staggered keyboards. Regardless, I am glad that I undertook this exercise, and occasionally do some tests for basic retention.
> I feel for the above commenter. I cannot relate to their experiences as fulsomely.

Not as bad as it sounds, when the requirements are provided at a high level. In a User Story the implementation details and software architecture are left to the developer.
> I don't expect the trend of them raising prices to reverse as they gain market power.

Except their competitors have followed suit with cheaper shipping and online shopping. They are the best, but not a monopoly.
> If UFOs are real then that necessarily implies the existence of some new physics beyond general relativity.

Why?

If I lived for a million years then interstellar travel would be feasible for me with the physics we know.

We have trouble defining "life" in general terms because we only know of this planet. If intelligent life developed (some say it has developed here :-) in the universe then there is no predicting what form it would take.

We may not recognise it, or it us
not for mac sadly...
Feels like code golf. The two run examples are basically the same, but now I have to reason about what ‘run’ is and I’ve made my stack trace more complicated.

I am in love with “everything is an expression” from my time with Rust. I regularly use a ‘let’ and wish I could just have the entire conditional feed into a ‘const’ given it’s never going to change after the block of code responsible for assignment.

I wish there were more generations of ‘use strict’ so that we could make bolder, more breaking changes to the language without breaking stuff or dying in a horrible fire of “just roll your own dialect using compiler plugins.”
Yes, but its not as bad as it sounds!

It's pretty common to have quick unit tests so you can cycle thru TDD without having to recompile the world and start-up/reload the application. You can get a few hours of work done with TDD without ever opening the actual application.
In legacy enterprise, you're rarely doing green field work. You usually spend time reading coding and planning a safe edit. When you do change a line and have to recompile the world, its common to actively read and plan your next change while waiting.
Microwave tends to "cook" you.
Can also get rid of the `run` and move parens to simplify even further:

function doWork() {
const x = () => {
if (foo()) return f();
if (bar()) return g();
return h();
};

return x() * 10;
}
https://web.archive.org/web/20230325144112/https://typescale...

P.S. CDNs can keep your site up at near zero cost.
> The Three Dimensions of DevEx Our framework distills developer experience to its three core dimensions: feedback loops, cognitive load, and flow state . These dimensions emerged from real-world application of our prior research, which identified 25 sociotechnical factors affecting DevEx.

IMO, solid groundwork for analyzing development. These feel like good core principal components.
The hash is keyed and rotates once a day, so it's not a long-term history. And in any case, nobody's trying to build a unique tracker out of it on the other end, which is the main thing (even in our internal analytics, we even throw away the PII we get directly from request attributes after 90 days).
Not from what I understood from working at a brewery. They would have to eyeball the brewing temperatures and fermentation temperatures would not be constant either, so both sugar initial wort sugar content and yeast-defived flavours would be all over the place.
If you mean the graphics relatively at the beginning then no, they refer to boot phases and OS level stuff but that's not fully the same as what you need to run 32bit applications in a 64bit OS.
It's happened to me at least twice.
Did anyone try this new key value data store ?
I learned vim first then switched to Colemak and made the mistake of first trying a very heavily remapped vim layout. Eventually it was reminded to Vim's layout other than its directional keys is very heavily mnemonic and eventually I was convinced to use fewer to no remaps and the classic vim mnemonics. I probably could have used that advice sooner to avoid the years of a very custom map and the confusion that still sometimes accidentally triggers.
VIM is a fun one, in this regard. True, the arrow keys are no longer on the home row. For the most part, you can just use the arrow keys, of course. Keeping your hand exactly at home position is largely over sold on that regard, and physically grounding your hand between the arrows and home is easy to flip between.

The nice thing, though, is most of the other key choices are mnemonic. "C" for change, etc. Such that you really can keep moving fairly well by sticking with the conversation you are having with VIM.
I did some fun math yesterday, the Empire State is 102 stories and valued at 1 billion and 2.73 million square feet. Each floor therefore is ~26,000 square feet and ~$9.8M.

If you divided each floor into 10 2,600 square foot ultra high end condos, the pre-improvement base cost would be $980,000 per unit. You could then turn around and sell them for probably at least $3-4M. Assuming buildout/sales costs of $1M per unit, you could conceivably clear $1M-2M in profit.
Oh, your "you" here implies a manager-managed submission relation! Yeah, you can't have that without one of the parties defining the work.

Again, that is a widely popular way for people to arrange themselves, but it's not obligatory. There are many people that do not work that way.
This is kinda neat, just the other day I was reading about Weewx[1], a FOSS project to allow "roll-your-own" weather stations.

My in-laws have a pretty fancy weather station in their backyard, but its tied to a proprietary LCD weather screen in their living room. I've admired it for a while but daydreamed about building my own more flexible system when I get a house.

[1] https://weewx.com/
Because their bid was better. But now BlueOrigin gets more money for a significantly worse bid.

The problem I am point out here is that NASA defines a narrow set of specification and don't value anything beyond those specifications.

NASA is not optimizing for the most useful money spend for the next 20 years. They define narrow specification for short term operations and only value that.

So now we have something that is incredibly revolutionary and could carry humanity all over the solar system getting less money then a hacked together solution from 3 contractors who have proven to perform extremely badly on such contracts getting more money.
Being a business owner with actual profits from technology by selling a useful product, I can never understand the bizarre emergent properties of our current financial system that lets folks like Marc Lore to exist.
FBI misused surveillance tool on Jan. 6 suspects, BLM arrestees and others
Yep I know. It was easier to do in the same window with the program in the foreground vs opening another window to send the kill -HUP to this one. Double control-c still killed the process.
Yes but there is a bit of a catcher due to some 32bit programs abusing certain instructions created for handling segmentation. And segmentation support will be partially removed. But no idea if the instruction in question will be gone.
If I had to list one hundred ways x86 could be improved, not booting in 16-bit mode wouldn't be on it. It's just an incantation. There's no fallout from it.

If we're talking firmware, the gigantic mess that used to be called ACPI, still leave users suffering every day for example.
> I solved it, I got nothing.

Alas one of the most defining aspects of business seems to be an entire lack of rewards for being the Johnny On The Spot, for tackling shit. It's absurd how little benefit there is to being good or caring or taking on the hard shit.
You know what would be cool, if you could use unix cli tools in the browser. Press control+<space>, a small console box shows up and run:

|grep ...|awk ...

And the text of the document gets processed. But if you want to mess with the dom you could:

Html.Body | sed ... | jq ...
Did they also trial it against a drone swarm that knew about THOR (which an assailant would) and had put the drones in "not even Faraday mesh" but just a fairly open wire sphere because microwaves are trivially neutralized with a "mesh" that has several inches of space between the wires?

(E.g. wired cages that are already commonly used by drone-operators in the ducting/smoke stack/container/etc inspection business to prevent their $50k industrial drones from crashing into walls/ceilings)

Because a test that doesn't test "what happens when the enemy knows the weaknesses" is not a test.
It seems like there's a developing competitor to the Python ecosystem in the form of webgpu and js/ts. Being able to run anywhere with no native dependencies is a pretty huge advantage, it will be interesting to see if this steals momentum. I wonder how hard it would be to add support for this as an alternate backend to transformers.js.
Yet here we are in reality where they did kill the diaper competitor and we have MORE retailers shipping diapers at a competitive cost.
> It has lasted longer than every other constitution for every other country.

No it hasn't. The oldest written national constitution in continuous effect is that of San Marino, from 1600 (unless you count some charters that usually aren't treated that way, like Magna Carta). And plenty of nations survive just fine with traditional rather than integrated written constitutions, which are something of a modern fad, which is why none of the longest continuous constitutional systems have a written constitution in the first place.
Sometimes, the world needs a little chaotic evil -- it's the only way we'll beat the machines.
Bloom models are hopelessly under-trained. This one is worse than a 13B Vicuna.
> They went with Pis because they are a) cheap and b) easier. If they are a) more expensive and b) easier, that would change the calculation potentially for a lot of companies.

I do believe there exist further points that make the Raspberry Pi boards attractive to companies (in opposite to SBC offers by many other companies):

c) There exist a lot of people (potential empoloyees) who have already worked with a RPi (even if for private projects) and thus know RPi's insides rather well.

d) The RPi boards (even very old ones) are supported by the manufacturer for a very long time with GNU/Linux support that (mostly) "simply works".

e) The Raspberry Pi Foundation is a British company (in opposite to boards by Chinese producers)

Potentially:

f) The esteemed Raspberry Pi brand might also give some martketing prestige to an offering of a company that uses a RPi board as a central part ("Our product uses a Raspberry Pi").
Hi Tycho!

I'm glad you inherited this :).

Oh, I wasn't suggesting that it was about killable vs. unkillable.

Couple of things:
1. Should prepare_to_wait_event check if the task is in PF_EXITING, and if so, refuse to wait unless a specific flag is provided? I'd be curious if you just add a kprobe to prepare_to_wait_event that checks for PF_EXITING, how many cases are valid?

2. Following this:

zap_pid_ns_processes ->
__fatal_signal_pending(task)
group_send_sig_info
do_send_sig_info
send_signal_locked
__send_signal_locked -> (jump to out_set)
sigaddset // It has the pending signal here
....
complete_signal

Shouldn't it wake up, even if in its in PF_EXITING, that would trigger as reassessment of the condition, and then the `__fatal_signal_pending` check would make it return -ERESTARTSYS.

One note, in the post:

# grep Pnd /proc/1544574/status
SigPnd: 0000000000000000
ShdPnd: 0000000000000100

> Viewing process status this way, you can see 0x100 (i.e. the 9th bit is set) under SigPnd, which is the signal number corresponding to SIGKILL.

Shouldn't it be "ShdPnd"?
I use a database that supports unlimited databases, tables, and views. Makes it easy to separate tenants.
Do not want.

Did they not learn from the https://en.wikipedia.org/wiki/Intel_80376 or the infamous Itanic?

The almost 50 years of backwards compatibility (along with the accompanying creation of a huge amount of documentation) is one of the strongest reasons for choosing the x86/PC.

With each feature removal, they weaken that argument and push their (prospective) customers towards reconsidering all the other competitive CPUs out there like ARM, MIPS, RISC-V, etc. that are not distant in performance.

Intel has made SoCs for phones, tablets, and other miscellaneous devices, but they weren't PC-compatible. Not surprisingly, they were not well-received.

Related: https://news.ycombinator.com/item?id=8091290

Maybe it's time for a CISC-V...?

Edit: apparently respecting history is not a popular opinion.
Army SBIR CATALYST pilot offers five businesses up to $75M
The space in the suburban US has nothing to do with streets being there or not. It’s a combination of a car culture and availability of space to build housing further apart. The car enables that, sure. But care for what you wish.

The alternative is to build denser, sure. But as someone living in Germany and seeing all the Neubau here… is it really so appealing living on 500m2 surrounded by 50 houses like that where neighbours look into your house? Where in the summer you hear everything what other people do? One has 4 children, another one has a dog barking all day, another one likes playing music loud, the odd one does parties every second night, the couple two houses down fights every evening, every weekend there are a couple of bbqs into a late evening, every day some dude mows his lawn so there’s only the Sunday when nobody mows the lawn… there’s nothing appealing in that kind of neighbourhood. You buy a house, you gonna live in it for years, why getting pissed off with your neighbours every second day?

I don’t know, I guess it’s a matter of perspective. The point of view depends on where you sit. I’d choose the suburbs if given an opportunity. Every time I visit the US, I’m jealous of all that space. I don’t even want a big house, no need for 300m2, 160m2 is good enough. I just wish for space around so I don’t have to listen to others all day every day.
16 bit code is most times braking due to Windows being itself incompatible so you need to emulate it anyway.

And if you have very old but important windows legacy software you either want to also run old hardware and windows OS anyway or run enumeration anyway.

On linux this is somewhat already the case, most distroes are by now for OS 64bit only with at most 32bit application support but not always enabled by default.
I recommend to use Arch Linux as your main OS to learn a lot about Linux and its missing pieces in general. They have the best Wiki I have come across so far.
i’m more interested in what clearing arrangements they have, if they have their own risk management tools, how they make sure nobody sees their traffic to and from the exchanges (including the clearing firm), how they prevent their traffic being shared with 3rd party application providers etcetc

and how they started out, where they got funding and what opening account size
I think at this point I'm faster in Colemak than I ever was in QWERTY, but speed doesn't matter anywhere near as much as comfort and I also don't think I've ever really "thought" more than 30-50 wpm in real world practice anyway. Typing test scores are useless rote repetition exercises and don't reflect real world typing anyway. I've almost never encountered the need to just retype out everything I'm reading that someone else wrote outside of typing tests. (Though admittedly in the typewriter era that was a more useful skill, before digital files and copy-and-paste.)
how does a backup cause write contention? are you backing up to the same disk?

also why are backups using pg_dump? that’s not a backup.
When I had cataract surgery I specifically requested and gat this - one eye for distances and the other at about 18" for computer use. I very much like it. Adaptation felt immediate.. while I was waiting for glasses to arrive I felt like I didn't need them. Now I use glasses for distance and computer work but I sort of feel like I'm just being a little lazy. ;)
"Semaglutide does not dull all pleasure, people taking the drug for weight loss told me. They could still enjoy a few bites of food or revel in finding the perfect dress; they just no longer went overboard. Anhedonia, or a general diminished ability to experience pleasure, also hasn’t shown up in cohorts of people who take the drug for diabetes, says Elisabet Jerlhag Holm, an addiction researcher at the University of Gothenburg."

So it doesn't dull all pleasure just almost all so it's not technically anhedonia...

I dunno, still seem pretty fucking bleak to me.
And what if the dependencies haven't been built yet?