skysight-inc/HackerNews huggingface dataset:
> Typedef'ing common types to your own type names is absolutely fine as long as it is unlikely to collide with the typedefs of other libraries in the same project.

I read the parent post as indicating that "this is C++; we spell this as `using Foo = Bar;` now." Type aliases (or namespace aliases, or using-declarations) are not dead, but the typedef keyword in C++ is largely only retained for backwards compatibility.

The core issue here is that type aliases add a layer of indirection. That can be useful if the user shouldn't need to know the implementation details and can interact with said type purely through the API -- do I care if a returned Handle is a pointer, an int, or some weird custom class? Everyone is used to file descriptors being ints, but you aren't going to do math on them.
ILA Evo: Meta's journey to reimagine fiber optic in-line amplifier sites
> The easy fix is to stop assuming and start talking to people in German

If 9 times out of 10 English is actually the correct choice, then it probably makes less sense to do this.
I'm putting my whole life in a database
This is an offshoot of a motorcycle manufacturer. They have this product on the market already, so there must be something you missed?

https://arstechnica.com/cars/2024/07/sci-fi-looks-high-end-p...
also Gambas3 (https://gambas.sourceforge.net), among others.
The point of all the tiny European states is that they're blood and soil ethnostates. A lot of people got killed to establish that point.
No one else seems to have mentioned this, but POSIX sh does not include this feature.

Until it does, and major POSIX shs have shipped with it for a decade, then the feature will actually exist in a way that the average shell coder cares about. You're better off just shipping Rust/Go/etc binaries and leave sh for your simple glue tasks.

Even I've eventually switched to this, and I've written 10k+ long Bash scripts that followed best practices and passed shellcheck's more paranoid optional tests.

Use the right language for the right job.
Yes, I've wasted a considerable amount of time trying to get to the bottom of the performance problems. So have multiple other avid emacs users I know that regularly have to deal with these problems. One of them is trying to live with eglot because it feels a lot faster - now they are also trying to use a sidecar process multiplexer to support multiple language servers. This is like the emacs experience in a nutshell.

My conclusion is basically: some language servers are slow, which doesn't help, and some are also very noisy. Both scenarios are handled extremely poorly by emacs, i.e. locked ui when parsing or waiting sometimes, stuff like that.

You really have to be a special kind of oblivious to argue so vehemently while literally suggesting I run a separate program on the side to get what most would consider to be a basic, functioning editing environment.

Re the org-mode argument: I really think you mistake lack of interest for insurmountable complexity. Emacs is not a magic machine that can do things no other software can do. You can probably count the number of people who genuinely care about org-mode in the world on 10 sets of hands.
“There are only two kinds of languages: the ones people complain about and the ones nobody uses.”. Bjarne Stroustrup
Murat Kurkoğlu was an ordinary computer engineer, spending long hours in front of his Lenovo ThinkPad, navigating the infinite complexities of Linux. By night, he was OrionInsist, a cybersecurity enthusiast solving real-world problems with his extraordinary coding skills. But this night was different. It was the night that everything changed.
So does the bitshift cast the result of the addition to an unsigned int? I am not so familiar with Java.
They mention in their CES interview that putting two of these in the rear axle + a lighter version in the front can give you a 2500hp+ car. That is the other breakthrough, and matches the comparison chart they have on the website against other tech.

Disk brakes add another 4-5kg, maybe their wheel hub doesn't need one? At these power levels, regen is probably stronger than the largest brake disc you could fit.

You'll also have at least 150kg less on the car (motor/differential). Hard to tell what handling would be like until someone builds a test car.
OK, we agree that L1-resident workloads see a benefit.
I also agree with your analysis if the loads actually come from memory.

Let's look at a more interesting case. We have a dataset bigger than L3. We touch a small part of it with one kernel. That is now in L1. Next we do a second kernel where each of the loads of this part are L1 hits. With two L1 ports, the latter is now twice as fast.

Even better, we can work on larger parts of the data such that it still fits in L2. Now, we're going to do the above for each L1-sized piece of the L2. Sure, the initial load from L2 isn't happening as fast as 2x64 bytes per cycle. But still, there are many L1 hits and I'm measuring effective FMA throughput that is _50 times_ as high as the memory bandwidth would allow when only streaming from memory. It's simply a matter of arranging for reuse to be possible, which admittedly does not work with single-pass algorithms like a checksum.

Do you find this reasoning convincing?
From "Show HN: Codemodder – A new codemod library for Java and Python" (2024)
https://news.ycombinator.com/item?id=39111747 :

> [ codemodder-python, libCST, MOSES and Holman's elegant normal form, singnet/asmoses, Formal Verification, ]
NearlyFreeSpeech is a hosting service, not a publisher. They do not (necessarily) endorse the content on the sites they host.
One thing I was waiting for the article to mention is that basic has a REPL.

I started on Atari basic in the 80s and having a REPL, even though I didn't know to call it that, was revelatory. Writing a line of code or a little for loop and drawing lines on the screen was a very tight learning experience.

Python approaches that with its REPL and notebooks but doesn't quite match the pedagogical ergonomics I enjoyed 35 years ago with that basic cartridge.

For beginners, python also has some confusing foot guns too, like understanding which objects pass by value and which by reference. It's all part of learning, but when a beginner is still trying to get a handle on variables and functions, it can confound the fundamentals.
AMD's 64b CPU were released in 2003, Intel followed up in 2004, and in 2006 launched their first 64b laptop chip (with Core 2). By then the ability to reasonably allocate more than 1GB in one shot was becoming quite widespread (the mid 2007 MBPs could be upgraded to 6GB RAM).

And obviously Google would have been dealing with servers, where it'd be even older as they'd probably have been using PAE and each process would be able to allocate and address a full 4GB.
Just that it is ugly and strange
> It's simple (or, at least, you can pretend it is, for casual use)

I'm glad that caveat is there, because "Python is simple" is one of the biggest misconceptions about the language. It's actually a very complex language hiding behind pleasant syntax.

It's heavily used by non-programmers not because it's simple but because it's easy, which isn't the same thing [0]. More specifically, Python makes easy things very easy, at the expense of making difficult things even more difficult.

[0] https://www.youtube.com/watch?v=SxdOUGdseq4
I'd say Dolphin is OK, adequate. But Directory Opus is a masterpiece, a labor of love.
I needed it for checking the weather. Works great if you can add a shortcut directly in the main menu.
> Even if we assume that you're ok with connecting discrete and disparate devices together (and you always have your personal tracking device near you all the time)

This is a solution for the masses. If you're not comfortable with it, nobody is forcing you to use it, and it certainly doesn’t diminish the value passkeys provide over traditional passwords and OTPs for the vast majority of people.

> Bluetooth is basically comprised of a giant bag of vulnerabilities and weaknesses.

That doesn’t really matter. The whole point of passkeys is their cryptographic primitives make snooping on the handshake pointless. Everything is E2E between the passkey provider, and the site you’re authenticating against. There’s no dependency on Bluetooths security to ensure that the actual passkey handshake is secure.

> > take 30 seconds to complete

> also, ouch.

That includes the time taken to fish my phone out of my pocket.
I live near Boston. Part of the housing supply issue here is the mandate for a certain amount of “affordable housing” in all new developments (I forget the percentage, on the order of 10-20% of new units?). This results in either housing not being built, since the developer would not be able to earn enough on the sale of the building due to below-market rent payments, or the non-“affordable housing” units have to pay above-market rates to subsidize/offset the below-market-rate units.

This drives me nuts, because the goal should be for 100% of housing to be affordable. Stifling development or shifting the unaffordability to different areas of the income distribution do not solve the problem. More housing has to get built. This is a supply-demand issue, as anyone with basic economic knowledge can tell you. There are two ways out: people relocate, or more housing gets built.
Did it note the particular ethnic group that's overrepresented in US Tech?

Unlikely
You seem to be talking about protests. Protests will rarely succeed because protesting is something of an already-lost-the-battle tactic. If the protesters had any effective options they'd be doing that instead of protesting. Protesting is for people who don't have the numbers/power to force change, don't have a persuasive argument to get what they want through formal channels and can't think of a better strategy than basically shouting complaints into the wind. Sometimes they can achieve success regardless, but generally protests don't work. There might be protests because people like outdoor activity, but they are a sideshow or charitably an opportunity to meet people. Effective non-violent tactics don't involve on protesters.

For something interesting consider the topical Roe v. Wade decision, both in its establishment and removal. That involved some significant questions of rights and was settled without violence. Protesting, on either side of the issue, was largely ineffective compared to small groups of organised people working to align the legal system over long periods of time.
Then obviously you can’t use a personal passkey with it. But so what? Passkeys don’t need to address every niche scenario to be useful.
Some of them think that.

The problem with trying to "explain" this is that fundamentally, flat-earthers, to the extent that they could be said to have a coherent world view at all, are usually a kind of occasionalist[1]. They don't _believe_ in natural laws or cause and effect. For the most part, they believe that god is in complete control of all events, and things go down because god wants them to go down. There's no required explanation for _anything_. The sun moves across the sky because god wants it to, and he could stop it or make it go backwards if he wanted it to, etc.

Indeed, that a flat earth is incompatible with physics is part of the appeal of believing in it to begin with. They _want_ to overthrow Newton, because a clockwork universe is incompatible with their belief system.

It's also sort of immune to any kind of argumentation. The result of any experiment is simply that god wants it that way, that they're predictable and testable doesn't _prove_ anything, because you can do an experiment a million times, and god could still cause it to fail any time he wants to. God just doesn't want to argue with Netwon right now, for his own reasons, you see.

1: https://en.wikipedia.org/wiki/Occasionalism
A bit rich coming from Zuckerberg whose last commercially successful innovation has been to copy wholesale TikTok into Instagram and then lobby US politicians to ban TikTok.

Apple silicon and AirPods are both very succesful.
How do you game the color of your skin? How long does it take to game your accent in a second or third language?
I recall that you really need the "C" from ZFC or you'll end-up with a much less comfy realm of mathematics.

So the "C" from ZFC is "challenging" for type theory? Because, and I think I am not that much overshooting, fundamental axioms are really, really simple, even the "C" from ZFC, and if is "challenging" to express it using some fundamental theory, well, not good omens for that theory, or they can rebuild the realm of classic maths with their own "C"??
Because the business powers throughout tech companies at the time would not have allowed an iPhone to exist.

I know because I worked directly with all ~33 pocketPC devices that existed at the time for my work.

The iPhone success doesn't happen without the boldness to radically defy industry norms.

And I say this as a Linux maximalist whose daily driver phone has been uninterrupted from G1 to modern day nexus, galaxy, and pixel only. The iPhone changed the meta, when no one else could.

There were buttonless attempts by pocketPC makers, but without the holistic software vision Steve had they didn't work.
If you pay someone, they have a right to do whatever they want with the money, which includes donating it to any charity they like.
But in what realistic scenario would a user be able to put in ≥2^31 while not being able to put in 2^32-1 (which probably breaks many more things from innocent increments or similar) or 2^100?
A lot of that probably applies to the US as well. There's no shortage of relatively inexpensive housing but a lot of people just don't want to live in those places for a variety of reasons. Ask a lot of the people here: it's cold and snows, it's not welcoming to people like me, there aren't a lot of good local jobs, there's a lot of crime...
A reinforcement learning guide – by naklecha
Totally no. Structural engineers also have to consider real life constraints, including cost. We are talking about working with existing structures, it's too late for geological surveys.
Rust is a C++ replacement, but not a C replacement, for many C use cases. Language that may replace C is Zig.
Since I came to comment the exact same thing, here's that article:

https://maddymakesgames.com/articles/celeste_and_forgiveness...
Sky-T1: Open-Source, O1 Performance model trained under $450
I've worked in a robotics-adjacent field for 15 years and robotics is truly hard. The number of people and companies I've seen come and go that claim their software expertise will make a useful, profitable robot is.. a lot.
> Rust is catching up fast to become the same mess (especially in the stdlib)

Care to provide examples?

I think they generally do a very good job at curating the APIs to feel very consistent. And with editions, they can fix almost any mistakes they make whereas c++ doesn’t have that. In fact, the situation in c++ is so bad that they can’t fix any number of issues in basic containers and refuse to introduce updated fixes because “it’s confusing”. The things they keep adding to the stdlib aren’t even core useful things that come out of the box. Like missing a networking API in 2025. The reason is they have to get it perfect because otherwise they can’t fix issues and they can’t get it perfect because networking is a continuously moving target. Indeed we managed to get a new tcp standard before c++ even though it had even worse ossification issues. Or not caring about the ecosystem enough to define a single dependency management system because the vendors can’t get agreement or a usable module system. Or macros being a hot mess in c++ some 20 years after it was already known to really suck.

Now it’s possible given enough time rust will acquire inconsistent warts over time similar to c++, but I just don’t think it’ll ever be as bad in the standard library due to editions and automated migration tools being easier against rust. Similarly, I think editions give them the flexibility to address even many language level issues. Inertia behind ways of doing things are the harder challenges that are shared between languages (eg adoption of Unsend might prevent the simpler Move trait from being explored and migrated to), but c++ is getting buried under its own weight because it’s not a maintainable language in terms of the standard because the stewards refuse to realize they don’t have the necessary editorial tools and keep not building themselves such tools (even namespace versions ended up being aborted and largely unused).
Nice example with the 1/(m-m_mars)!
What Joe does is let people be persuasive for 1-3 hours. It doesn’t reveal anything secret or give you any special insights into their real character, motives or intentions.

You need to judge people through their actions, past history and ideally by working with them directly.

This is all just PR, not saying it’s bad, or even intentional. But it’s a form of self-promotion most of the time.

A fun podcast to checkout is called “Decoding the Gurus” where they dissect a lot of these conversations.
Even if that number would hold up - Why?
It’s still more dignified for all involved.
Not every human interaction needs to be made as efficient as possible.
It’s truly bizarre. I’m married and have a strong social life, but then I see things like this in my local subreddit where men just don’t want to go out and meet women.

https://old.reddit.com/r/Rochester/comments/1hyh1r2/where_ar...

I can’t believe that the thread exists. I can’t believe that a young single straight man wouldn’t be all over that event.

Some good speculation on cause behind it in OP and this discussion, but I’m just sitting here confused at the state of things.
Well I would posit that it would be hard to get to this code in a language with unbounded integers where (low n + high n) causes an OOM error, because in order to run this code, you first need an array n units wide.

You could argue that the array itself could take up most of the space leaving no room for the indices, but that's hardly a fault with the algorithm, as now you've got a computer that basically can't do anything due to overloading. Whereas overflowing a 32 bit integer is a much more likely occurrence that arguably the algorithm should account for.
Learning the Language of Antibody Hypervariability
It sounds like you're confusing affirmative action with DEI. A broader perspective benefits everyone. Different lived experiences contribute to a broader perspective. It's not about checking boxes or filling quotas and it's not specific to any particular group.
Both Japan and Korea had similar reputations and over came them quickly. Western consumers have noticed the pattern and will be much quicker to trust Chinese cars than they were to trust Japanese and Korean ones, assuming rightly or wrongly that the pattern applies.

It helps that the initial product quality of Chinese cars from the big makers is better than American cars. Perhaps their long term quality is worse, but that's unknowable. People will judge by reports of the quality in the first year of ownership.

Chinese cars will also be helped by the use of purchased Western brands like MG and Volvo.
We should just have catastrophic health insurance and it should be fairly healthcare dumb.

Not completely dumb you have to analyze the risk, and make sure you are getting scammed, and should be able to negotiate. But it should basically be, if your costs for an event go above a $ threshold we pay for all of it above that threshold up to a certain point.

Whatever that costs to insure should be what health insurance costs.

One of the problems is America loves cheapening things so much. It's why ad companies run everything, it's why TVs are so terrible but huge, and it's why health care costs more.
Ironically c++ as well refused to define an ABI. That’s not why the language is bad. It’s the lack of editorial tools within the language the standard body has so it has no evolution path and thus ossifies under its own inertia. It’s amazing they still haven’t done anything about it.
It’s really bad because Elon claimed nobody reads the terms of service and then updated the xAI terms to force implicit agreement to a customer noncompete with regards to grok outputs. A lame maneuver right out of the OpenAI playbook, you’re “not allowed” to train AI on your chat logs with Grok.

The whole point of these clauses is to prevent others from developing AI (which sounds to me like a felony monopolization offense, but IANAL), and they also cause major lock-in issues because you risk a ban if you try to transfer your chat logs between or away from e.g. grok/gemini/gpt/claude/mistral

It’s like expecting customers to pay to train their own replacement while also signing a noncompete agreement.

Super dumb to accept these terms and use these services IMHO, best to avoid them. Use Cerebras and Grok hosted Llama models that don’t train on your inputs instead. Be sure to keep a record of every input/output exchange in your markdown zettelkasten folder so you can train your future AI.
I'm on a quest to find a statically typed Python with pattern matching, overloading, and friends BUT will allow me to use either PyTorch or Tensorflow (or JAX).

I think Nim is close, but every attempt to wrap PyTorch dies a miserable death somewhere along the line.
Places like Baltimore often have substantially more funding than many suburban districts
I didn't say that. But thanks for taking the time to tell me I'm parenting wrong and my kid is special needs.

3yo sleeps in a nappy, like most kids that age. Family members have ASD so strong chance mini me is cranking that spectrum. There's also a little thing called humour that you may occasionally encounter on the internet. It can get a little diluted by the other common practice of "being a dick to strangers". I'd recommend giving the former a go.
Each element of the input array is at least 4 bytes, bringing it to 8GiB.
It's not just for profit, it's to save some future, mythical version of humankind! https://netzpolitik.org/2023/longtermism-an-odd-and-peculiar...
People gaming the comment system concerns me not at all.

Flag away.

The comment police are stopping me from "doing what I want"?

Gosh.
What 6 hours at HN #1 does to your traffic
A similar game called "Pesten" is played in the netherlands

Would not be surprised if there is a version of this game everywhere decks of cards are available
i didn't use the trick, or read what it was until after i tried for myself. it took me about 7 seconds at a conservative overestimate...

then again, i did outperform my entire national cohort at school in almost every subject by a wide margin... an outlier.

the trick however is very clever, but it wont work in more complicated scenarios where attention to detail matters.

EDIT: after doing the first one near the top i tried the rest. with a bit of warm up its very fast. no tricks needed. maybe a relic of playing these games when younger and having a "once in a generation" level of learning power coupled with training it when very young when learning speed is multiplied by a huge scale factor. i had to zoom the last one, but the other two were incredibly fast, close to immediate. sub second.

EDIT2: the warm up was doing the first image once after reading the first few sentences.

EDIT3: this is not a superpower.
1) Turn on computer

2) open your preferred CLI/shell, type "python"

3) start programming
The Wuling Mini is essentially a golf cart. The true comparison is to cars like the $12,000 BYD Seagull, which is fully safety rated and tested for sale in Europe.