skysight-inc/HackerNews huggingface dataset:
The projects that are using JSDoc for typings are doing so because they are way, way out on the edge in ways that stress Typescript compilers. They're doing weird stuff. It isn't a recommended path unless you absolutely need it; it's sacrificing a lot in order to yield faster round-trip time on codebases that have no other option.

Typescript isn't really "a new language", either. It's a pretty mild superset.
Leopard 2 tank history and design
Yes, everything was better in the past. If only we could eliminate all these modern inventions and behaviors we’d all be so much happier.
I think it's mostly a symptom, yes. People in an un-good relationship look for things to take them out of it - phones are always available and don't have the same stigmas or costs as, say, always staying out late or lots of drinking[1]. Previously the blame often fell on TV, radio, news, etc, and now practically all of that combined is in your smartphone. It's really not surprising why people use them for distraction.

Are they causing more problems than stuff before? Probably! Much of what's on it is explicitly designed to be addictive. But I suspect it's by a relatively minor amount, and mostly stolen from other also-bad-for-you options that have declined / been out-competed. People have done this kind of stuff for literally forever, phones didn't invent it.

1: Not to imply they should or should not have that stigma. Just that they exist and work as a distraction too, and few people will immediately judge you for using it, unlike many also-popular alternatives.
For all the ex Amazonians saying the model suck, maybe it was the culture that sucked? Where I work we have loosely the same model, doesn't even have a name, but the component owners are always very helpful.
Purely in principle, it shouldn’t be hard to solve a Rubik’s Cube with a computer, right?
Our program would have three parts:
1. A model of the Rubik’s Cube, that is, some data structure that represents a cube state.
2. Some functions which can simulate turns of each side.
3. A solving procedure which takes a scrambled cube, tries every possible turn sequence, and stops when solved.

It is more efficient to travel along the Hamilton circuit and visit each state of the cube. When you reach the solved state you stop traveling.
All happy families are alike; each unhappy family is unhappy in its own way.

― Leo Tolstoy , Anna Karenina
There is an iOS app repo, though none for Android that I can find:

<https://github.com/Pocket/pocket-ios>

And nothing server-side either, which I suspect is what you're referring to.
In that case, people who are driving the car are failing to see properly which way they are going. That problem is a different problem.

> the OS should not only let you answer yes or no. Every category should have a "yes, but feed the app fake data" option

Well, I think perhaps "Yes", "No", and "Custom". If you select "Custom" then perhaps there could be a warning message displayed in the "Custom" menu if that would help, but it should not block you from customizing it as you want to do.
The author likely didn’t participate in the away team model as according to LI he was a solutions architect during his time at amazon, so kind of odd to write about it now.
Ah, the refund guaranteed if on that list in europe. That's convenient..
Unfortunately, every such book is rather short: "Nobody is dating you now, so obviously you're undatable. Goodbye."
While communism does have it's flaws, i would argue it has in fact never been tried.
I imagine by that time you've used their market place often enough. Their used parts shop might be more awesome than the laptops. I can only imagine what it will look like in a few decades. Should be awesome.

In contrast, I'm the 4th owner of a "free" asus laptop that broke shortly after it was purchased (by the first owner) They never bothered to return it. I have a pretty good idea what is wrong with it but there is about 4 cm of space when I open it. I need some long strong pliers to pull some distant plugs. In a repair video from someone who really knows what they are doing, he reaches deep inside, pulls the plug with great force then smashes the pliers against the pcb making the laptop jump on his desk. "this is normal" he said and proceeded to pull the rest the same way. I've been gathering the courage to do it for about a year now.
Tried the pricing page?
Good to know, but in practice this just means more and cheaper second hand devices to be available to the public.
"Fair" is just an arbitrarily-applied constant in your sentence.

Why is meritocratic more "fair" than equitable? Perhaps more precisely, why do you deem meritocratic to = fair? Someone could just as easily (and supportably) deem equitable to = fair.

Hearts!
I did read the article, and it only vaguely describes the "problem" with smartphones in one paragraph, then it spends the rest of the article talking about the effects of the pandemic. The problem that it attributes to smartphones is that people will get distracted, then expect instantaneous communication, relationships require time & attention...

But the thing that they're blaming smartphones for is nothing new. Communication has always been a difficult thing, and before people had their heads buried in smartphones, they had their heads buried in TV, or newspapers/magazines/books, or they just simply went to bars/pubs.

The whole article seems like a vague, "hot take", nothing. It's an opinion backed up with zero research or evidence other than "I'm a couples therapist, trust me, I know."
For those not aware Patterson and Hennessy is elementary (“relating to the basic elements of a subject.”) because it is often used in an introductory course of computer architecture. This isn’t a slight.
What's the obvious?
ChatGPT Code Interpreter Capabilities
The world will not end, just change. Maybe for the better? E.g. Siberia becoming fertile. Maybe even Sahara becoming green again!

We know what needs to be done. Build nuclear! But unfortunately anti-growth “green” parties and activists (like you I presume) have been pushing anti-nuclear propaganda for decades, stopping progress.

Nothing can be done on an individual level, so quitting your job or not having kids is completely pointless. Only top-down action (less regulation) can solve the problem. So vote!
Right but that's a) compared to 5 seconds with external battery and b) requires certain comfort and skill level and c) as you point only for specific laptops
There is CFengine which can have modules for it written in Perl, but itself is not written in Perl.
That must have been a rewarding experience! I made the mistake of memorizing the solution when I was a kid so solving the cube feels like a routine instead of actually solving a puzzle.
Hrmmm....

People act like self promotion is almost braggadocious and it bewilders me... The problem is spammers and promo shills that spam for commercial entities and brands under the cover of acting as if they are honest human beings. The enemy is not the individual tring to promote their mixtape, legal advice, or knitted hats.

Social media and sites like Reddit have shut out honest individual self promoters based on moderator arrogance that is very self destructive, anti-competitive, and also very hostile to everyone's ability to be an independent entrepreneur. They shut out small promoters because it leaves room for larger companies to shill all day while using celebrities, manufactured celebrities, and even well known personalities that are already very wealthy. I think it's disgusting how marketing works now, charging the smallest creators the same price as wealthy {fully staffed} big companies for online ads even before small entities are properly profitable is deeply unethical. It creates a business economy in which only the wealthy thrive. As the cost of living rises. None of us normals are safe from this unfair financial manipulation. And the threat to devaluation of our ability to create and run a successful business of our own/

If that attitude of banning self promotion prevails, no one will be upwardly mobile, because as social media is already throttling everyone for money. Eventually if this attitude prevails, there will be no way to let anyone know about your business or skills, and we'll all be at the mercy of only working for large corporations because business promotional costs will be prohibitive to success.

I have noticed data working across even competing social sites, which worries me greatly. I think there is already a social score at plat for most of us even when we aren't signed up for web apps... Our phones are the likely underhanded snitch//
I’m probably missing out on a great tool, but such a low level application being produce of the hundred acre wood gives me the heebie jeebies.
Not to mention it being closed source, regardless of origin!
>Copyright is entirely arbitrary

Even if copyright wasn't a thing some creators do not want their work to be copied.

>And my kitchen knives by default make it way too easy to violate homicide law

If kitchen knives were made impossible to use for homicide, but could be made for the same exact price in the same amount of time and were just as effective at everything else there would be no reason for people to sell homicide capable knives.
Thats a name i haven’t heard in years
If your hypothesis is right rich people should have very few divorces - and from my humble experience that's not the case.
Because “equity” (communism) requires violence. Taking away from those who create more and giving to those who create less. Something that is non-consensual and requires violence is by definition unfair (unless you’ve a wicked moral compass).
incompatibility?
That’s was the main reason that I do my pet projects: to detach myself from some corporate persona that is a completely different from my professional self.

I still have a lot of professional pride, but it comes more from my personal projects and sharpening my craft than to some corporate version that could be dragged down by structural issues.
Oxc – The JavaScript Oxidation Compiler
An inkless printing technology "brings conformant OpenGL?"
To be fair, there are still things it doesn't catch; I've hit containers that needed an update to the host to run. Too old of a kernel, maybe? I'm afraid I forget the details.
It's an automated version of The Whispers ... 'is he really the best you can get' , 'are you getting what you deserve' etc.
The cool way consoles/terminals work on the Hurd
I have OCD. This is basically accurate in that it's an anxiety disorder that affects your ability to judge whether a worst case scenario is likely or not, but the thoughts are more like "What if I drive across the median and kill a family of 5 in a minivan" or "What if I pull my genitals out in this meeting and try to fuck my boss". The compulsions are usually not as logically coherent as needing to check if the stove is on or the house will burn down (though there are people who experience ocd like this). Usually my compulsions happen as a way to try and stop thinking those thoughts, like pulling over and playing internet chess for half an hour. The problem is that the compulsions steal a lot of time and don't typically address the underlying obsessive thought.
Ten minutes! Wow.

Did you check eBay? There are definitely examples for sale there. Holography-specific groups have hints on where to buy some too. The popular ones are hard to find, but you can make them yourself at home or find less sophisticated pieces for sale occasionally.
Small Is Beautiful: A Study of Economics As If People Mattered

is a collection of essays published in 1973 by German-born British economist E. F. Schumacher.

The title *Small Is Beautiful* came from a principle espoused by Schumacher's teacher Leopold Kohr (1909–1994) advancing small, appropriate technologies, policies, and polities as a superior alternative to the mainstream ethos of "bigger is better".

Overlapping environmental, social, and economic forces such as the 1973 energy crisis and popularisation of the concept of globalisation helped bring Schumacher's *Small Is Beautiful* critiques of mainstream economics to a wider audience during the 1970s.

In 1995 The Times Literary Supplement ranked *Small Is Beautiful* among the 100 most influential books published since World War II.

https://en.wikipedia.org/wiki/Small_Is_Beautiful
> So it makes sense that most researchers are looking for higher efficiency.

It makes sense that researchers should be considering metrics other than efficiency as well for new materials or architectures, and there's no reason why this is a uniquely industrial pursuit.

Grandparent's comment resonates - efficiency claims seem to be the only ones generating press releases.
I read the article afterwards and it kind of petered out without taking much of a stance other than "go to couples therapy earlier than too late".
My third home computer was an IBM PS/2 Model 30 286. I was already an systems architecture nerd at that age, and so I was excited to get this new machine. I believe it came equipped with 256KiB RAM and 20MB HDD, among other things.

Of course I ran DOS for the most part, and DOS did absolutely nothing with 286's special protected-mode features. Really, Windows 3.1 didn't do anything with it either. Later, I eschewed DOS, upgraded to 2MiB RAM, and installed Minix, which turned into a really fun exploration of protected mode and its strict limitations, like the 64/64 code/data limit on each task.

286 protected mode, for its segmented memory model and all the fascinating advanced features, was more or less neglected by the consumer OSes of its time, and they bided their time until the fully 32-bit 386 with its flat memory model, able to address a huge amount of physical RAM. In retrospect, probably the correct decision. The 286 was a logical transition along the 8-to-32-bit path.
I agree, although it should be both per app and per category. For example, one app can have real data available for one permission but fake (or customized or manually entered data) for another one and denied permission for a third one, for example. You might also want to be able to temporarily change the setting, e.g. for testing purposes, or if an app gives you weather for your location and you want to temporarily change it to another location to view that location's weather before changing it back to use the real location afterward.
Unfortunately, tweets cannot be accessed without login.
That’s not how it works… airlines have a minimum load factor for a flight to be profitable, generally 75-80%. They over book with an assumption that X% of people won’t show up based on decades of data. The hotel industry does the exact same thing.

If you tell them they can’t overbook at all, their options are to either cut flights or raise prices. That also means all the discount tickets that make up that overbooking amount goes away.

I guess if you’ve only ever bought full fare tickets you might only see a 30% increase, but if you’re only ever booking full fare, you aren’t the one getting bumped.
Not Rust, but it's very easy to wrap malloc under gcc for this kind of thing (or something more useful). Compile with --wrap=malloc and:

void *__real_malloc(size_t);
void *__wrap_malloc(size_t size) {
...
return __real_malloc(size);
}
Given the implementation of this little thing, I'm mildly curious about how easy it is/will be for a C/C++ project/programmer to use these Rust crates.

The other way around is relatively well defined and has been the subject of a lot of attention for several decades. Is the Rust-lib-called-from-C even feasible?
How can you prompt copilot like chat? It only does autocomplete well.
Right but you give the incentive to the construction company, not to the food truck that feeds the workers. The teachers aren't the problem (to the extent there even is a problem, which is an embarrassingly unexamined question), the students are. So give them an incentive to stop being a problem.
> Yes, awk and sed were replaced by Perl, but more importantly, the unmaintainable nightmare that glued all of it together was wiped out.

Er, Perl replaced an unmaintainable nightmare? Perl, the language infamous for being indistinguishable from line noise?
IF your job is largely dedicated to data analysis and IF you don't need to communicate or hand off the raw work to a non-technical audience, and IF you've got the time and support to learn those skills, then you're probably right. But most of us don't live in that world.
>Linux is fantastic on older hardware

I've been having a hard time getting Linux to work on older hardware ever since the majority of distros dropped 32-bit builds.

Then again, "older" for me means stuff from the Pentium through the Pentium 4 era. Seeing as "older" today means Sandy Bridge and the like, the moral of this little tale is I am a fucking old man angry at the kids on my lawn.
> Any ML influenced language has sum types.

> Including some that run on the JVM

True. However, most that want to keep interoperability with Java, in order to get benefit of huge deposit of packages. That often means having to repeat Java's mistakes to maintain compatibility.
In code review I absolutely hate armhair architects and backseat programmers who nitpick and theorize over every little architectural decision you made, every variable name, every loop, every comment (even complaining something is /too well commented/). They weren't the one to dive into the problem and consider it and fix it but they think their knee jerk reactions are always more valid than the remote possibility you know what you're doing as the person in the trenches. I'm going to paste a monologue I gave recently:

sometimes as people who care about our craft, we need to step back and keep the big picture in mind. the goal is to make a functioning website, or video game, or text editor. the user couldn't care less about your code formatting, composition vs inheritance decisions, or commit messages. these are useful tools to the extent that they make it easier for yourself or others in the future to provide more value to the user.

at my job, people (mostly external contractors) might make pull requests with formatting annoyances, pointless null checks, getters and setters that have no reason to exist, useless comments, "== true", things of that nature. I'd ask these to be fixed and sometimes they would be, but other times someone else would just come in and approve the PR themselves.
I realized one day that not a single one of those ugly PR's that made it through have ever come back to bite us in any way. everyone's time was better spent continuing to work on providing value to the user instead.

I hold myself to a higher standard, but when reading others' code, I've found it really means nothing to me where they put the brackets or what naming convention they use, or even if they change these up randomly. I care that it does the thing, has no glaring red flags, looks appropriately performant for the problem at hand, and won't be a maintenance nightmare (will spending 30 minutes changing something right now save at least 1 hour dealing with it later? will those code even be around by the time we get to that point, or replaced by something else? in many cases probably not, of course consider how foundational or isolated the code is.) in all my experience, any bikeshedding over aesthetics has proven to be a total waste of time.

if we're making a thing that lets the people designing a website make a thing for the visitors, I care that the experience is good for the designer and the visitor, it does what it should, etc. and it's reasonably maintainable, but I'm not going to drag someone into the bikeshed and beat them with the tire pump of subjective aesthetics until they rename their variables to my whimsies.
"We need cheaper and more available power."

Based on your requirements, this is already solved. Pull more oil out of the ground. Burn more trees.

AND, throwing money at a problem will definitely solve fusion.

Give people cheap energy and people will use it up. Just look at cryptomining. Then you are back to needing more energy. People will do just fine with expensive energy. They will adapt.
"Thank you for your reminder. May I ask if you are accessing the website on your mobile phone? The pricing page is located at the top of the official website for desktop version. If you are using the mobile version, you will need to click on the hamburger button.

I have updated the wording to: “Free during the beta period, Provide Believer plan, one-time purchase (60$) with lifetime updates.”
It reads like this was both asked and answered by AIs.
> Give more funding to proper engineers, not physicists/chemists

Materials science departments are often called "Materials Science and Engineering". How do they fall in your categorization?

Without disrespect intended, your words sound like those of someone who has never spent any time in graduate school in a engineering program in physical disciplines. The lines can be blurry.
Code should not have personality. If you're working in a massive code base and people can tell you wrote code, that's probably an indictment on your code more than whatever style the company has chosen to use. Homogeneous code bases are the goal.
Having a benevolent entity (hold on, yes I do realize that "benevolent" can be contentious to define), and an entity that has some resources it can bring to bear if necessary, holding the rights over some IP paradoxically can help protect the community. The fact that O'Reilly is commercial should not ipso facto be evidence that its stewardship of the trademark is bad.

I'm not saying the letter is wrong (or right) but I would lean toward skepticism toward the letter because it doesn't seem to recognize the history and the full situation, including the protection afforded the logo by O'Reilly, and it doesn't seem clear on how making the logo "free" will in any sense protect the logo and the community (or O'Reilly, which has a stake as the originator of the camel in this case). You might wonder, why should a logo need "protecting"? The short answer is that various "bad" things like loss of trust can happen, if the logo becomes associated with just anything that just anybody wants to associate it with for their own non-aligned purposes, and that loss of trust can detract from typical goals like having people interested in the project, interested in using and maintaining it, etc.

So I wouldn't start out with a default assumption that O'Reilly should give any letter writer anything they want. But certainly they should be open to a dialog if the proposal seems well thought out (but the current one is a bit thin, imho).
learned about the Wendelstein X-7 this weekend (and stellarators in general) and they've accomplished some pretty impressive acheivements... i think there are many breakthroughs and things to be done in this space
yes but have you tried a desktop computer on your lap
I love this! Gonna try it out over the next couple of days.
I dunno, in the real world, the kind of libertarian society you seem to be advocating for has descended into its own unique form of violence:

https://newrepublic.com/article/159662/libertarian-walks-int...