skysight-inc/HackerNews huggingface dataset:
A feature I'm strangely excited by in Gnome 42 is the ability for the display server (Mutter) to read input events at the device's native rate[1] -- previously they were limited to the refresh rate of your monitor.

I have a hardware mouse where one of the buttons seems to have physically degraded over time, and the mousepress up/down signals (voltage levels ultimately, I suppose?) that it sends are a little unreliable.

libinput has some lovely documentation[2] to describe how they detect and filter out erroneous button events ("debouncing") -- but some of that functionality depends on the frequency at which events can be read from the hardware, and my monitor's refresh rate is 60Hz.

So in this case it looks like a software upgrade may increase the useful lifetime of a hardware peripheral.

[1] - https://blogs.gnome.org/shell-dev/2021/12/08/an-eventful-ins...

[2] - https://wayland.freedesktop.org/libinput/doc/1.15.5/button-d...

[3] - https://wayland.freedesktop.org/libinput/doc/1.15.5/faqs.htm...
Not to mention that's the current value, he could stop working on it right now and that hourly rate will go up as time goes on, as long as it's making money.
Good points, but realistically speaking the tech job market is illiquid. "Cutting your losers" isn't possible for 95% of developers, especially if they want to work for ("invest in") unicorn startups and big tech. It's an incredibly competitive market with a month-long interview hazing processes with seemingly random results.
parameter names help you to see what those values are supposed to be though

without parameter names, something like `func range(int, int)` can become dangerous because you dont know if the first parameter is the start and end or is it start and length?

`range(start: int, end: int)` makes it clear at the call site what is going on and gives your brain enough info to not mess up the parameters (especially when refactoring or fixing bugs in existing code)
Ylang: Universal language for eBPF, Stap+, GDB, and more - https://news.ycombinator.com/item?id=30143587 - Jan 2022 (16 comments)
Exactly. I choose to use Steam because it's good.
If you have an iPhone, you don't choose the AppStore. You're stuck with it.
Steam-

* Just works

* It's simple

* Cloud saves all of my games (with a few exceptions when the game developer doesn't enable it for whatever reason, this has only been for a few games so I'm not sure why)

* Family sharing - this is HUGE for me. I can't re-buy every single game for my kids, so the fact that they can just play a game I purchased on their own account when I'm not online is an insane life saver.

* Steam sales- yeah maybe they aren't quite as good as they used to be.. but still, before steam started doing sales I was buying $60 games. Now I generally just wait 6 months and never pay more than $20 for a game, usually even less

* You could argue the indie game world would basically not exist without them. Indie games are basically all I even play on steam- and I buy a lot of games

I could keep going on.. but honestly Steam just works. It's not the prettiest, but that's fine. Steam is like a web 1.0 site that does everything you want it to, and anything since then has been web 2.0 pieces of garbage that try to do all this fancy stuff but are unusable or annoying as hell.

Epic Games Launcher is garbage. Microsoft store is garbage.

So yeah it's weird, I am 100% OK with Valve getting the premium whereas I think it's sickening that apple/android do what they do. They are basically a walled garden. Steam is not, there are infinite ways to distribute a PC game.

Probably the oldest tech company that can really say "we are not evil" and instead are actually helping both the consumer and developers.
Hi!

I'm one of the developers of Dart, and I just tried to reproduce your bug. Here's what I tried:

int? f(bool b, Map<String, int> c, int d, int e) {
int? a;
a = b ? c["${d}"] : e;
return a;
}

main() {
print(f(true, {'1': 10}, 1, 20));
print(f(false, {'1': 10}, 1, 20));
}

This program analyzes and runs cleanly for me, with no need for extra parentheses.

Can you say more about what you were trying to do when you ran into this bug? Ideally file an issue at https://github.com/dart-lang/sdk/issues/new. (We really do read and respond to them, and if you find a bug in the grammar, there's a good chance I'll be the one to fix it!)

Paul (https://github.com/stereotype441)
It could also be a leading indicator: a lot of new questions may indicate an influx of people learning to use the framework, whereas for an older, well-established framework most of the beginner questions have already been asked and answered.
So the A100 is 75% more efficient despite being in a high power variation of a larger node. Seems Apple still haw a lot of work to do in the GPU/ML side of things.
This ends up with a laptop where nothing really works well because everyone has a completely different setup and issues come up with particular configs. The reason the macbook works so well right now is every single part was very carefully supported and designed to work together.

I used to be all in on the FOSS hardware train but at some point you just want to get some work done rather than debugging wifi drivers.
Two things. Emacs as a daemon! And. Emacs 28 native compilation. Absolute game changer for speed in a million ways. Scrolling a 5000 line python source file with all the packages, syntax highlighting, etc etc, is buttery smooth:

https://www.emacswiki.org/emacs/GccEmacs
Thanks for your comments fxtentacle!

I work at Nyckel. In fact, I'm the "ml guy" at Nyckel. I have a PhD in ML and did some research at Berkeley, but I mostly consider myself a ML engineer. My most recent job was in the self-driving car industry, leading a ML team there.

Knowing the math/stats is helpful when navigating the vast set of models to choose from when fitting your data. Although I'd argue that some sort of black-magic "intuition" earned by doing this for a long time is more important in practice...

However, when validating a model, there is really only one way: test it on production data. This is what Nyckel does: upload your production data, do some annotations, and see if it works. Nyckel handles model search, cross validation, etc for you which reduces the risk of bugs. In a way we are making the argument that by focusing on your data, you are most likely to do well.

But what about that pesky out-of-domain issue? Like the tank/cats or whatever? Well, our customers are not trying to develop AGI, but solve narrow problems using image and text classification. And they are also doing it for themselves so they have all the incentives to be honest. Consider one example use-case from a health food store we work with: "what type of legume (from the 10 I offer in bulk) is in this picture"? As long as they train and test on production data from the warehouse camera stream, they are in good shape from a statistical perspective. Sure, if they throw in a picture from anywhere else, they are toast, but why would they?
In addition to everything people already said, another important part: Valve is a private company, so they don't need to answer to nagging institutional shareholders. I guarantee if they weren't, Steam would have been corrupted long ago.
By the time they work that out, RISC-V will be the new trend.
Steam still fulfills Gabe's promise.:

For most games most of the time, buying and launching a game via Steam is less hassle than pirating it. It's not the DRM or the price that most people really, really hate about buying games. It's that lots of DRM made the game absolute shit to try to play.

Code wheels, flipping to a particular page of a printed manual to search for the fourth word on the eighth line, putting a CD in a drive to play a game fully installed to your internal drives, rootkits in your games to keep you from copying them, tricks in the disk formats to make it impossible to make a backup, and other industry asshattery made it easier in many cases to pirate a game than to play one you'd actually bought. Valve came onto the scene with a service that would collect your money rather than sending your CC info to every little indie game web page, let you download things on the new higher speed connections, not have a limited number of times to download and install, and will do tech support for the launcher. Then they added features for developers like achievements tracked outside the games, friends lists that work across games and game studios, network saves, and more. First mover advantage can't be discounted here, but making the experience of buying and maintaining your game catalog user friendly was the big selling point.
They should be used when standard return value errors are measured to be impacting perf (ie. exceedingly rarely)

I disagree with this. I think they should be used whenever "standard" return value error handling starts to obfuscate the normal operation (happy flow) of the code. This impact on developer performance happens a lot sooner than the measurable machine performance.
I think if it had been executed better it might have been better received, but by and large people tend to come to these things with skepticism set on stun.

London isn't short of nice hillvews. My favourite is Primrose Hill. I go back for a reprise of the skyline every time I'm in london.

Charging entry kills public art. I was stunned by the poppies installation at the Tower. I suspect if it had pilings around it and they'd charged GBP5 even with 100% going to charity, people would have been more negative.

A "Monte Testaccio" of wrecked Boris Bikes might be truer to the spirit?
Mismatch in data. They're using positive flu tests and comparing that to prior year infections.

It would be interesting to see if we can eradicate the flu, or covid. But it seems that's not likely. Given that these both have non-human hosts and mutate relatively quickly, it would be difficult to fully eradicate. We've already had a massive vaccination and lockdown campaign which has not eradicated covid (and the vaccine does not prevent infection).

Not to mention, both flu and covid can cause asymptomatic infection, which is much harder to identify (because why get tested if you feel fine?).
Would awareness and publicizing information like this discourage war? It would definitely create more public disgust but I am not sure how much that translates to pressure on political leaders.
Running your own email server isn't that complicated...running OTHER people's is. I worked for a company that had a few custom email servers running Postfix and Dovecot. Charged them very little for an inbox which make it incredible hard to offload them to others. The company that ran the datacenter for our email servers went out of business, migrating 10,000+ inboxes that haven't been cleaned in 15 years was an absolute nightmare. I don't wish it on anyone.
I think the trucker protest was unique (and different from OWS, BLM) due to it deliberately targeting ordinary, unrelated citizens instead of the government. It would have been more like other protests if they blockaded and blew their horns at Trudeau's front lawn or Parliament or Big Business or something, but instead the protesters specifically went after the wellbeing of ordinary Canadians. All protests "involve discomfort" to normal people, but this one uniquely targeted them.

EDIT: This is not letting individual BLM protestors (who did deliberately target private businesses) off the hook, but the movement itself did not specifically call for belligerence against unrelated citizens.
At some point the employee wellness budget is just burning a hole in your pocket and so you put it to a vote. I wouldn’t feel too bad about it. Deepak is a charlatan and everyone knows it anyway :)
Ouch, I've considered Tidal too but no Metallica is rough. No Rammstein though, are they on spotify? they're not on youtube music and I thought I read somewhere that they don't do streaming. Would love to listen to some rammstein.
Australian magpies help each other to remove tracking devices
Interesting. I ran into it on multiple occasions, I'll reproduce it on my end and file a bug tomorrow :)
I don't know about that. The fact that they released a bunch of EA games on Steam (most notably recent Battlefield games) made me think they're about to sunset Origin. But that was a couple years ago at this point so who knows
To be fair steam has always been a wrapper around a browser for its store content etc. Maybe the outer chrome has been pulled into that though…
I think the publication describes they scaled it to a 120L pilot reactor and ran the process continuously for 3 weeks feeding it 11 to 23 L of gas per min.
Emitting Signposts to Instruments on macOS using C++
Kubernetes needs a container runtime, of which docker is a supported type (but deprecated and replaced with containerd for most users): https://kubernetes.io/docs/setup/production-environment/cont...
You gotta understand that a lot of people who go into bootstrapping a SaaS are technical people, mostly developers. We're highly opinionated and naive af on stack stuff. We could find the ideal "SaaS in a box" framework/boilerplate, but one small feature just doesn't sit right, so now we're building it all ourselves.
They do it because Steam's 30% cut is ludicrous.
> Am I paranoid or do certain topics get upvoted with suspicious frequency lately?

Given the ease of targeting sites for manipulation, HN is probably prominent enough to be worth some psyops effort, though nothing on the scale of the major social media platforms. So, it wouldn't be unexpected though I haven't noticed it, particularly.

> Now that shit is popping off in Europe there is an uptick in NSA/CIA/America bad posts with anti-free press sprinkled on top. Every post about events unfolding in Europe were flagged and didn't even reach the front page here until the last few days.

There's a fairly normal thing here that well-covered potential political events, even fairly extreme ones that don't offer particularly novel discussion opportunities, tend to get down voted along with routine political events. But at a certain level of significance of actual rather than potential events, there's often a phase transition where the down voting is less aggressive (sometimes, there may also be, usually limited, mod intervention to allow some discussion.) So, I’m not convinced that that is particularly suspicious in this case, though the particular content bias may (or may not) reflect some influence of “inauthentic actors”.
It looks great, though afaik they still encrypt on the server side, which means they handle unencrypted data, so it seems to protect more against data leaks, rather than surveillance. To be honest, this is federal government and they already have most of the data anyway.
Your statement contradicts itself - you're against optionanted languages, but insert an opinionated language(DSL) into an unopinionated language.
Yikes! Lucy did a nice job talking around the ethics question at the end. She may be good at her job, but its pretty offensive that her job even exists.
I wouldn't like it, but I also wouldn't call it an illegal protest because I don't like it.

Truth be told I've rarely encountered a protest I liked - they are always annoying (even the ones I agree with are annoying - they block traffic to friends and foes equally).

It comes with the territory, and it's something you must tolerate to have a democracy.
I'm not convinced Podman will be very popular going forward.

There is multipass which can be installed on my M1 Mac with:

> brew install multipass

I can create a minikube container, or I can create an Ubuntu container and install microk8s.
For the past few weeks, the Russian TV has been telling them that Ukraine is carrying out "genocide" in Donbass, for example.
I completely disagree with everything you said. And please do not pretend to speak on behalf of "most Canadians".

"Most Canadians" likely could not care less about things that does not affect them directly. And the opinions of the ones who do are most likely split in very different proportions contrary to your claim.
Not OP but I run a Timescale instance with the same order of magnitude inserts/sec and have been running it for about 2 years now. The database is closing in on 1 TB on disk. We don't use Timescale Cloud, we just host it on a VM in Google cloud with 8 CPU's and 32 gigs of ram, which seems adequate for now. We do WAL backup using the WAL-G tool which backs the db up to google storage.
Errors are part of the system's API, but Java's checked exceptions aren't really that.

Case in point, the many checked exceptions in the Java standard library that are never, ever thrown. Ever. Such as ByteArrayOutputStream#close(). In fact the docs on that method even say it doesn't do anything, and won't throw an exception. But there's still a checked exception that you have to handle, because it came from the interface.

Which is part of why checked exceptions are a mistake. If Java wasn't so aggressively OOP, then maybe there's a good idea there. Like maybe checked exceptions in C++ would work, as you're not relying (as much) on inheritance to provide common functionality. But as soon as interfaces & anonymous types (eg, lambdas) enter the scene, it starts falling over.

Also in terms of API design, checked exceptions are quite limiting. Especially when working with asynchronous APIs, as checked exceptions are inherently coupled to synchronous calling conventions.

And there's also then the problem of not a whole lot of your code base is an "API surface" (hopefully anyway), and it's really vague how a middle layer should handle checked exceptions. Just propagate everything? But that's a maintenance disaster & leaks all sorts of implementation details. Just convert everything to a single type? Well now you can't catch specific errors as easily.
I'm sure everyone has their own experience... for me, it means I rarely get a good night's sleep. A typical night for me is falling into sleep paralysis 4 times before finally dozing off. A typical morning for me is waking into sleep paralysis and being exhausted and stressed, ready to tackle a new day... I also have issues with my nose, I can't breathe through it... so sleep paralysis is a little extra suffocating for me. If I could breath properly it might not be so bad...

The hallucinations were only terrifying as a kid, worse as I didn't know what sleep paralysis was for the first 10 years of having it, and no one would believe it wasn't "just a dream". The hallucinations are terrifying again now that I have a kid of my own, only when they are part of it...

Worse than the hallucinations are when my ears start buzzing... it's so loud - it hurts.

I used to say, in jest, that it will kill me in my sleep (except I'll be awake and suffering) when I'm elderly. As I'm getting older, it seems like a likely outcome.

"Goodnight"
small memory gaps after head trauma are relatively well documented - I'm recalling from ~15 years ago, but iirc the belief is that while the person is conscious at the time (before the head trauma) there's a disruption of the storage processes and those moments are forgotten. And then similarly, following a head trauma it takes a while for normal processing & storage to return. However, there's still some kind of conscious experience happening during those times. So there's a more philosophical question of like, "if you comfort someone and they forget it, was there any value in the comfort you provided?" but i felt like the paper was trying to argue, "yes" -- per the gp

> there is still a moment, just a moment, to say good bye and I love you

and why not? Maybe sometimes there is. and maybe the value of that is more for the living than the dead, but imo the point was that there's an argument they can still hear you. Will they remember it later? That's kind of a non-sequitor question if they're in the midst of dying.
Oh you're not so nice.
Western Ukraine is much more wealthy than the East, and also the Western part can still join NATO...what's not to understand? I'm pretty well versed on Ukraine and have been following this since 2004 with the Orange Revolution. There's nothing to "armchair." Listen to Putin's speech and what he has been saying for the past decade on the matter. He doesn't believe in Ukrainian independence at all. Since the 2014 Revolution (and it occurring during his Sochi Olympics) Putin has plotted his revenge, after he lost control. I don't think that stops with only taking half; I hope it does and Russia is pushed out entirely...just don't see that has Putin's overall plan.
Too late, Doctor Hipp. I've already upvoted you all.
Why not just use Minikube or microk8s in a VM with multipass?
> haven't tried to use any very dark patterns to make more money

They don’t really have to. They’re still private right? What are they going to do with even more money?
To add to all the things you mention that just work, it's also a social network - a lot of games make it easy to setup multiplayer games with Steam friends. For these games, you don't have to go through the work of linking with friends' game accounts for every game you play.
> I have to overload my return values annd then put in a load of special cases to propogate or return the exceptional cases.

Yes + syntactic sugar. Propagating an error up can and should be a single character of code.

> collapse in a way that is traceable.

Zig supports "error traces" (note, not stack traces) by default, since they have a single common way of reporting errors and a smart compiler.

> I like the idea that there's just a mechanism to just collapse,

Go uses Panic + Recover.
In early Steam days, the store and community pages where handled by using mshtml.dll, with most of that ported to Chromium when they launched Linux and Mac OS versions.

I'm pretty sure the "new" Steam UI (the current one) is fully ported to basically be like an Electron app (I don't think it's literally Electron, but same concept).
I spent about an hour with Rancher Desktop when I was really pissed off about the Docker Desktop licensing change. There were a few things that out of the box were a problem for me (note: really a problem with nerdctl/containerd):

1. nerdctl did not support registry mirrors for image pulls. This is an obvious blocker for some uses cases.

2. with Docker Desktop you can bind container ports to any interface on the host system, including e.g. ip aliases on localhost. It didn't seem to be possible with nerdctl using whatever VM backend Rancher is using.

2a. I'm not sure how this works today, but with Docker Desktop a `docker pull` can interact with a registry available on the host's localhost address (i.e. through an SSH tunnel established on the host). This worked with Rancher, but I believe I had to edit /etc/hosts inside the Rancher-controlled VM to point at a different IP address, whereas with Docker Desktop it just worked.

I also seemed to recall needing to manually start things with Rancher, i.e. just having the app open was not enough for docker/kubectl/nerdctl to be ready to go. But I don't remember at this point.

These are all (I hope) uncommon and weird use cases, but they are the sort of thing that will keep some people using Docker Desktop instead of an alternative. They are, for better or worse, the value add of Docker Desktop.
You come from a mindset where motivations matter more than actions.

It would take a lot of work for us to speak the same language, and I don't think HN is the place for that.

Edit: I did not flag you BTW. If you still need an answer to your question read the other comments in the thread. If you still don't understand the answer, then I don't know how to explain.
Avoiding the top Nginx configuration mistakes
Never care more about someone else's project than they do. (A more positive version is "Your job is to do your job, not someone else's job.")

This isn't your project - it's your company's project. It will get done according to the resources that the company has provided, resources which are largely outside your control OR responsibility.

If this project is late and/or crap, that's on them. They own the consequences of their decisions, good or bad, not you.