skysight-inc/HackerNews huggingface dataset:
What I find interesting about the lockstep approach described here is it seems a lot of modern RTS games still use the same approach, even though the bandwidth calculations have changed radically. When developing my own RTS game I was able to fairly straightforwardly get 1000 units in combat to live stream using about 50 KiB/s bandwidth, which is nothing these days: https://www.construct.net/en/blogs/ashleys-blog-2/rts-devlog...

So as much as this is a fascinating piece of history and an impressive technical solution to the constraints of the time, I think modern games ought to move past it.
Isn't that a problem of Brexit? As I read here https://eand.co/britains-finally-figuring-out-brexit-really-...
That's why it has Android! For that exact reason, so that you can stream from any service! And you can also have files, yes!
I think there are a few issues to unpack

1. It's nuts that all central banks globally have one lever to pull - interest rates.

2. yes the central bank sets the interest rate, but the banks choose how much to lend and to whom. I think that if interests rates are at zero, that implies (?) an infinite amount of investment opportunities - ability to grow productive capacity. And yet most loans are real estate or real estate backed (ie collateral). VC is a drop in the ocean of land based lending - and yet our entire economy is based on small amounts of land use for amazing factories and power stations

3. banks aren't doing the business of lending to those capable of productive capacity generation - and they won't cause they want safe near term returns.

VC speculative investment should not be the small corner case - it should be the norm. Industry investment should be not left to crazies willing to risk family house or wealthy with enough to spare.

create money and give it to a million startups
Ask HN: Objective oriented people: do you *look* at the whole screen?
I was reading a piece elsewhere on the website about downloading Movie Maker and I thought: nowadays, if you have your brain in 'scanning' mode you can't do anything. Windows 'screams' at me "BREAKING NEWS" on the toolbar for some unimportant news. Ads everywhere. UI inconsistencies everywhere. You can't have your critical part of your brain on if you want to do anything. You have to develop some kind of partial-UI-blindness. I know this is a fact for ads and website styles which resemble ads [someone on a wiki had this problem]. I suspect that's also the reason behind Material Design: make every button confusable with an ad.

Again, to the point now: do you ignore everything on the screen which doesn't matter? Are you aware of doing it? Will it ever end?

Note: before replying read this: defaults matter.
The "I want to use enterprise login" (or whatever it is worded), doesn't work anymore?

It always created local login; if you really wanted to join AD, you had to use this account to log in and join manually. Actually, pretty annoying, desktop Linuces are capable of AD join straight from the OOBE.
Yeah, I get the audiophile one. (I mean, I don't get it really, but I get that there are people who do.) But the cheaper (but still expensive) one didn't seem to offer much. As many people mentioned though, battery life is a compelling one.
Analog hall sensors are amazing. With a bit of filtering you make your activation point any arbitrary distance, and do hysteresis, and have a bit of flexibility to reconfigure if you decide you want to mount the magnet farther away.
For the example provided I would encapsulate that logic in the object itself returning a confirmed copy as a return.
And as someone else pointed out I also much prefer explicit code where you easily can understand what is going on…
The writing of actual code in my experience isn't usually the most creative part of the process. It's the path leading up to the point where you actually start typing code; the translation between business goals and technical solution that requires creativity and ingenuity.

Especially in a team I can see a lot of added value from someone with a lot of experience during this proces. Documenting the outcome of that creative process is easily done with text-to-speech software.
How to stream 1000 units in a multiplayer RTS at just 50 KiB/s
How is your first paragraph a result of using JWT over sessions?
Rather those offering value-added services on top of AWS. Well, maybe they read HN and they should account for the risks anyway.
Naturally the diagnostic bed is beamed in by the same transporter that lets the doctor flit around the city making home visits without losing half the day on the road. (Since the whole idea is premised in optimistic sci-fi rather than mundane reality, let's go the whole hog...)
It can't but that's not due to the proposed solution for withers.

The cause is Records themselves. Record are immutable on purpose and you want to add a mutation constraint whish will not play nicely.

The proposed constraint will be triggered in this case :

var r = retrieveFromDb(); (value is A)
r = r.with(C) -> throw an exception

But this only work if B is generated by the wither. If I deconstruct the record manually and reconstruct with C manually, it'll work. So this offer no garantee that this transition will never occur.

I would even argue that this constraint can't be implemented at the level of the class, at least if the class is only a data carrier without external dependencies.
Ironically is that it only got there, because many UNIX vendors saw in it a way to reduce their own UNIX development costs, thus helping in the process to kill their own products.
I think drift may have actually gotten worse, modern systems don't seem to do the same boot time self calibration old systems did.
And to add: the footprint of devices running Linux with the PREEMPT_RT patches is generally much greater than the footprint of a device running something like VxWorks. WindRiver actually has its own PREEMPT_RTed distribution[1].

[1] https://www.windriver.com/products/linux
I don't use `match` often, so I get the `match(str, regex)` order wrong. So yeah, it would be nice if gawk automatically provided the capture groups via some special variable.

Not really verbose for this particular example though:

$ echo 'foo=42' | awk 'match($0, /foo=([0-9]+)/, m){print m[1]}'
42
$ echo 'foo=42' | perl -nE 'if (/foo=([0-9]+)/) { say $1 }'
42
# TIMTOWTDI
$ echo 'foo=42' | perl -nE 'say $1 if /foo=([0-9]+)/'
42
Is that part of the type system?
Nothing on my screen doesn't matter.
It's not a music-player only device. It's basically an Android phone without the modem. It can do a ton of stuff besides play music.
The legal theory used by ML companies that allows them to use any and all data a crawler can reach on the internet rests on the idea that training ML models with data is always fair use. ML companies thus argue they are entitled to ignore such directives, as those would be based around copyright licensing, and according to their own legal theory that's unnecessary for them.

And just to be clear, a theory is all this is. It has never been tested in court.
Still use an iPod 5th gen daily. I would happily use Rockbox but it's lacking any Podcast support which I need, but you're definitely not alone!
It wouldn't suprise me if that was the case
If it only has wifi then you can only stream what you saved beforehand in areas where there's no wifi access.

But if it has a SIM slot with 4G/5G access then it's nothing more than a repackaged phone.
Plausible is great. It’s not full-featured, but it’s enough for most. I’m a happy user.
Looks interesting but I have different approach:

I use GhostText + NeoVim. This way I get real neovim backend and all my functinality.
Congratulations. Not only do you not define the acronym you’re asking about, you also kick the letters when you repeat it in your summary.
well that's not a good sign
There’s no possible circle in our universe that needs more than those digits of PI for accurate calculations. Obviously it’s fascinating to study Pi for theoretical reasons and I’m sure someone can tell me there are also practical reasons to do so. I was just surprised to find out that, given the Planck length, the practical need for precision is astonishingly low compared to what’s been calculated, even moreso compared to your theoretical upper limit!
A big difference is that toolchain is somehow related to how Windows works as they are both COFF based.

So you also get shared libraries with private by default and import libraries for example.

It also supports lazy loading of dynamic libraries, where the OS implicitly loads dynamic libraries when it hits an import stub.
> real answer to your question is; nobody, because this device seems to be a phone :/

The terrible error here is including the Android home screen in the marketing materials.

By all means base it on Android, but I never want to see anything like that on a "stand alone" device. Eliminating any generic UI should have been a priority from the go because it completely changes the sentiment around the device.
Wow, this looks very impressive.

I thought that sorting algorithms were at a culminating point, but it appears this is not the case at all.
I'm pretty happy with the Hidizs AP80 PRO-X (priced just under $200), but the Walkman devices are the endgame.
Also firenvim while you’re at it to have neovim embedded in your browser.

https://github.com/glacambre/firenvim
I think that's your perspective. It's clear that one of them triggers a strong reaction in you while the other doesn't, but other people feel differently.
I think I can kind of understand one advantage of using state-backed JWTs, if I got the idea right: double validation, both client and server side. So client side you get immediate validation of regular expiry and various other attributes without contacting the server. There’s a slight performance boost for the server in some circumstances, traded for always more client side work.
Is the knowledge to make good read heads just lost? There's definitely a market for them. You'd think a Chinese manufacturer would have started cranking them out by now.
> The idea of posting as catharsis, release, & simple exposure to life is severely under-rated.

It seems that people totally forget twitter was first invented to sync IM apps' status bar. In the past people put their mood & music they are listening to on GTalk/MSN. It was fun meeting strangers this way.

But then there's mobile Internet, chat apps don't have a status box anymore.
It's not toxic. It's not going to kill anyone. It's just antisocial behavior.

You'd think we'd expect antisocial behavior to result from people being physically isolated, unable to pick up on the usual cues from one another and not able to be "policed" by the social group.

You know what else is antisocial? Constantly shouting about how toxic non-toxic things are. That alarmism only feeds knee-jerk reactions and sets people against one another.
As a counter point I also had a not so close friend die of an Aneurysm bleeding because during phone screening with a general practioner's receptionist she was too young to have 'something serious' and was told to wait it out until the next day.

Not saying the system does not work but you do have medical zebras falling through the cracks.
> we aren't supposed to question or otherwise so much as discuss something if it goes against or strays from any established narratives

I guesss you are referring to vaccine scepticism.

Comparing anti-vaxxers to galileo is ridiculous.
I used to use my NWZ-A17 every day until the pandemic started. It was small, light, has physical buttons I could press when it was in my parka's inner pocket, I didn't have to recharge it every night.

Now I work from home and I have migrated to my smartphone. I use it infrequently enough that I am not annoyed by what the streaming service tries to get me to listen to.

And owning a dumb mp3 player comes with its own drawbacks. If artist A has released 20 albums, artist B only five and I have both discographies on my player, that doesn't mean I want to listen to artist A four times as often when I ask for a shuffled playlist.

Back when I owned a 256MB mp3 player (and felt like a king among people with floppies) I would hand-pick a playlist that would fit. With dozens of gigabytes of storage I have no desire to do that and I want the player to come up with a good playlist for me.
Technically yes, but this is against Apples EULA and they could ban your apps from the Appstore for it.
To be fair linux at that time tended to hard freeze (as in cursor wouldn't move at all in X) if you ran out your disk quota
Hey, I like list comprehensions, thank you very much.
> I've also seen this sprint-task-fake-completed later cleanup misattributed to "refactoring", which I've started calling "fudge-factoring".

Having just spent a week clearing up and properly implementing my colleagues' 'fake completed' sprint tasks, I can resonate deeply. I'm making it clear to my boss that it wasn't 'refactoring', I was just implementing the actual requirements properly.

I'm going to go over their next PR with a fine-tooth comb, no matter how long it takes
Good points. The battery thing seems like a big one for someone who travels a lot especially. Headphone jack is nice, but I find a USB adapter works fine when I want to use wired headphones with my phone. Size/weight probably depends on the size of your phone. I tend to prefer smaller phones, so to me most of what people use today is a giant "phablet".
A lot of comments about the internet availability. Living in Northern Europe - never a problem. And as for lets say a flight, you can download spotify music.
Audio quality i do agree that spotify kinda sucks
You can run the numbers to estimate the cost of solar panels needed to run an electric car in some place like Puerto Vallarta.

Assume the car drives 12500 miles a year. Likely less in Puerto Vallarta unless it's used as a cab. But whatever.

Typical EV's get 3.5 to 4 miles per kwh. Call it 3.75 miles/kwh.

So need 12500/3.75 => 3333 kwh/year.

One Watt of solar produces about 2kwh/year.

So need 3333 kwh / 2kwh/Watt => 1666 Watts

Assume Mexico cost for an array is $2/Watt.

Cost is 1666 Watts X $2/Watt => $3333

That's about a 1/10 to 1/20th the cost of a new EV.
Such a pretty theme, love it!
Those icons are from Plus! for Windows 95, which NT 4.0 incorporates. Personally I find those 3DCG icons, replacing some but not all of the classic 95 icons, to be ugly and I always turn them off.

98's icons are yet another set, which in my opinion are closer to the spirit of the 95 icons.
It doesn't "provide enough storage" because it's not supposed to provide storage. You're supposed to provide your own storage, whatever amount you see fit, and you are able to upgrade it at any time.

I know people nowadays are used to not having any control over their storage and simply throwing their device in the trash and buying a new one every few years when it's no longer enough, but it wasn't like this in the past.
How long does a battery last when unused?
Hey Hackernews,
One of our community members recently wrote an article on something they are really passionate about: using Rust and Next.js together to deploy web apps that are both super fast and super fun to work on.

In the article, they give you a step by step walk-through of how they did it. They cover everything from setting up your project to deploying it in production using shuttle, and even share some tips and tricks that they learned along the way. It's perfect for anyone who wants to learn more about using Rust and Next.js, or for anyone who's looking for a new way to level up their web development game.

Love to hear your thoughts on it!
> make it harder to open the door

You mean like in the BMW i8 ?
https://www.youtube.com/shorts/T-upswNkRqE
Most American professionals are compared to the rest of the world though.

Like almost every professional career from software engineering to law, medicine, engineering, finance, etc. pays 2-4x the same roles outside the US, and usually includes great health insurance.

Whereas almost all public insurance in Europe, etc. doesn't cover preventative screening, so you better hope any disease you get starts with clear symptoms.
Imec Crafting Tools to Treat Cancer, Sequence Proteomes
Mean Time Between Failure
JWTs cannot be invalidated without giving up the main reason why you would use them: reliance on an authentication server for validating sessions.
This part of the README explains what exactly Selfie can be used for:

> a self-compiling compiler called starc that compiles a tiny but still fast subset of C called C Star (*) to a tiny and easy-to-teach subset of RISC-V called RISC-U,

> a self-executing emulator called mipster that executes RISC-U code including itself when compiled with starc,

> a self-hosting hypervisor called hypster that provides RISC-U virtual machines that can host all of selfie, that is, starc, mipster, and hypster itself, and
a tiny C* library called libcstar utilized by selfie.
It's the same in Sweden at least though.

The whole of Europe is on the verge of collapse.
Thought of the same thing with voice. Can there be any limits on voice reproduction by AI?
Question

Did the B777-200 Pilots assumed the should takeoff from 4R with 2.560m length? Should be enough for a B777-200?

https://en.wikipedia.org/wiki/Boeing_777#Specifications
Picking a neighborhood where you are relatively well off seems to usefully calibrate those assumptions. Maybe it has to do with status, which is relative.

Earning well and living in a regular middle class neighborhood of teachers, carpenters, and office workers, I don't feel stressed about keeping up with the Joneses I'm surrounded by. I can afford enough relatively (to my surroundings) nice things.

My social circle is not full of wealthy people, so living in a regular middle class area is also not low-status. I also feel like that the kids feel more secure about the things they do and have than they would be if they were always falling behind their friends, doing and having exactly the same stuff.
I try not to plug it every time I see a submission about awk, but here I must recommend freedomben's presentation "awk: Hack the Planet!" [0]

It starts off with similar background and praises for a few minutes before spending the rest of the hour crash coursing you through awk, then leaving you with a very approachable, digestible, and realistic set of exercises (and optionally, a second video covering his solutions).

I keep a text file with a copy of the questions and my solutions on a public gh repo, so I can quickly refer to it from anywhere when needed.

I am much more powerful on the command line because of it.

[Edit]

[0] https://github.com/FreedomBen/awk-hack-the-planet

Originally encountered @ https://news.ycombinator.com/item?id=25144697
> I would have very little faith in my tests if they were run against a different type of database than my production one.

Hence why they were run against MySql on CI.
There seems to be at least some fashion watches that have smart features, but I think they are limited by the fact that watch people really like analogness.

Flip phones very much still exist and are made all the time, although the version I would consider (A Bluetooth headset with the features of a flip phone, using a smartphone as a backend, so you can leave it in your backpack and not be tempted to check it) doesn't seem to be a big thing.
>template based

There's a reason why the modern approach is parameterized: The old PHP-style templating led to galore SQL injections, and worse performance. Don't see any reason to ever go back.
It didn't crash upon installing a driver or sneezing near it.
How Nvidia’s CUDA Monopoly in Machine Learning Is Breaking
Seems the plan is to milk captive customers as long as possible with minimal investment.

Also, a few years ago they announced that the XL series of compilers were being rebased on LLVM/clang. Of course they claimed it was to enable innovation or some similar PR mumbo-jumbo and not cost-cutting, but, well..
The right to restrict learning from the literary work is not a right that is granted under copyright.

You can make your code something that cannot be _reproduced_ without a license, but you cannot stop someone from learning ideas from your published code. This does not require a license (only distributing, or making derivative works needs licenses).

Whether that learning comes via ML, or a real flesh human brain, i think, makes no distinction. You will need to lobby for an update to copyright laws to add a new right to be granted.
> In the next five years, computer programs that can think will read legal documents and give medical advice.

It's been 10 years since IBM Watson commercially promised the same thing right then and there. And arguably failed. I don't see what changed in these 10 years apart from more systems like that being available to more people. But the capabilities seem in the same ballpark, meaning computer programs don't actually think nor are they even remotely accurate enough for legal or medical advice.
The thing is, you can apply the modern UI features to the older desktop and design paradigms. Linux desktop environments do it to varying degrees, and the result is often very good. I like both of these things (the traditional desktop, and the modern features), and KDE, XFCE, Cinnamon all handle it pretty well.
JWT is nothing but a signed JSON. You only sign it because you need some entity to trust it without asking another server. If you need to ask another server, you don't need JWT. And that's what the Django session store is doing. The data isn't stored on the client side.

Another option is a signed or encrypted cookie containing whatever you want it to store. That is similar to a session store but stored on the client side and quite limited in size. Again, that's not really JWT, but you may use a JWT as a cookie if you have to. But JWT isn't encrypted (by default).
> It onlu works if there are always a high rate of survivors

There doesn't have to be a high rate of survival if the reproductive rate compensates for losses.

E.g., if 80% of wild rabbits are eaten, but the remaining 20% can give birth to 5 bunnies per parent per lifetime, the population will be stable.

I have no idea where you're getting your beliefs, but most of it is wrong in both the math and biology.
I made Homerow, it's the same idea as Vimium, but for the entire macOS user interface.

https://homerow.app
Congrats to doctors in Japan and Germany for getting an eternal jobs program into national law.
> Define human.

This comment is such a shallow dismissal of a good post that brings up a genuine and legally complex question that many readers of HN care about.

Are you trying to be clever? Because this comment is anything but clever. It is not hard to define humans. The humans are biologically animals and have a certain set of properties that can be easily searched online. For instance https://en.wikipedia.org/wiki/Human

And no you cannot just weasel your way into somehow fooling us or a jury that machines and AI algorithms that exhibit similar properties are also human! I frankly don't understand the point of your comment.
Chicago 95 is not just for LXDE, it works perfectly under XFCE and MATE.
Traefik entrypoint HTTP to HTTPS redirect
According to the GitHub README, selfie's emulator and hypervisor can only support programs in RISC-U, "a tiny and easy-to-teach subset of RISC-V".[1] So... not the full RISC-V ISA.

For what it's worth, the selfie compiler can build RISC-U programs for you. Still a really cool project! I've been meaning to learn more about compiler backend development. I usually spend time on the frontend.

[1] https://github.com/cksystemsteaching/selfie
That's not hard. On my backup server, I have an account with a restricted shell that my backed-up machine has an ssh key for. That restricted shell is simply the following script:

#!/bin/bash
cd ~/backups
tar --restrict --keep-old-files -x

So the only thing that the backed-up machine (or an attacker) can do with the ssh key is push new files onto the backup server as a tar stream - it can't overwrite any files, and it can't put any files anywhere except the correct directory.