skysight-inc/HackerNews huggingface dataset:
In a non-trivial amount of cases I think this incessant adding of features to paper over old mistakes or fill gaps is actually counter-productive and turns into users having to learn several things instead of the intended situation where you end up just learning the new thing. I've done 7-8 years of C++ and there was definitely a moment where I could work on pretty much any C++ code base in the world at least somewhat comfortably, but I wouldn't take a C++ contract now and then ramp up to it because there's absolutely no telling which C++ this contract would entail and which landmines it has as a result.

Languages that are much more clear about what they support and what they don't support don't have this ambiguous language profile that constantly-appended-to languages have, because they've ended up taking a stance on what they actually do and as a result it's much easier to simply work with what's there. Rust is doomed to be in the former camp but luckily we have much more sensible alternatives to both C++ and Rust nowadays that look to be much more of a known quantity at some point.

Edit:

I also think it gives a language a special kind of funk where it's fairly obvious that certain things were just not all in all a great choice; you end up needing extra features that really only exist because you have other features and so on. `Pin`[0] in Rust comes to mind; it's something that has no intrinsic value and only exists to paper over the mistake of moving around memory magically.

0 - https://doc.rust-lang.org/std/pin/index.html
Probably not small enough for a home lab setup, between a 50MB Golang App and 500MB Java App I'd choose the Golang App every time for my home lab, because memory is precious and probably less than 10 people will use it.

However, it's a different story when picking the solution for my day job, where RAM is abundant, but developer time is in short supply.
People want to use new features in existing files without having to translate the whole file in one go. And they expect to link seamlessly the existing files against new files.

If you throw enough tooling at the problem, it could probably be done. But it took 10 years to ship C++11 as is...
New acceleration, breaking world record [video]
I understand your reluctance to use Java, but it's actually pretty good if the developers use small libraries instead of the giant frameworks most Java servers use... a Java server for this kind of stuff will run within 200MB+ comfortably and with very high performance when written properly. Anything using 3GB for this stuff is doing something terribly wrong.
JS doesn't even have integers. The only numeric type is double precision floating point. If you get to 2^53 then you start to lose LSBs -- that's a lower limit than integers wrapping on a 64 bit ISA (at 2^63 or 2^64).
I just spent the last two weeks choosing an embedded ui framework and then building out a little demo to test out its capabilities. I settled on Slint and have been very impressed with the design of the domain specific language they came up with. It’s small, simple, powerful and easy to learn IMO. The vs code extension for real time gui feedback is amazing. I’ve used swift ui before and Slint is as much of a joy to use. This is a breath of fresh air compared to Microsoft’s Windows Presentation Foundation that took me years to master.

My only concern is optimising for binary size. My little microcontroller only has a measly 1MB of flash storage and I’m already at 900kb on a 15 screen app with no icons or images. It would be nice to know what actually uses up all that space (as little as it is). Perhaps I need to use ui element virtualisation or something.

Edit: 1kb of flash -> 1MB of flash
Phone screens are awfully flat though - which means glare from a light is typically a small area. QR codes are robust to small areas being missing. In fact, a typical QR code is readable with about 20% of the code missing.
Well, I'm still gonna listen to Spiderland because you reminded me, so thanks for everything.
I remeber Gamasutra (game dev news site) having a regular Post Mortem column, where developers who had shipped a game would write about what worked and what didn't during development and launch of the game.

Even though I wasn't a game dev I really enjoyed reading these, as most contained info applicable to other teams as well.

edit: Oh wow, I had assumed they had gone the way of the Dodo after being bought way back, but seems they're still going: https://www.gamedeveloper.com/search?q=post%20mortem
You are right!

This video should be shown at driving schools to remind everyone that shit can happen at _any_ time and hit _hard_: https://www.youtube.com/watch?v=EOosn78WsMg
All I have to say is that we disagree, and I think your logic is deeply flawed. You're lumping all tobacco use into one category and also seem to be in favor of "any measure" to "hide" it, regardless of its costs and effectiveness. Overall, your position looks incredibly unreasonable to me. I also think that if your reasoning were applied consistently, it would lead to a complete disaster.

Basically, this: https://www.youtube.com/watch?v=q3D8670smTI
Video games revolutionize neuroscience exploration
Fhtagn – A tiny CLI programs tester written in Awk
Your next job could be writing zero-substance AI articles for tech-adjacent websites, because having the words "ai" and "jobs" in the title is all that is needed for trendy content.
Imagine light represented as a floating point number of the type a * 2 ^ b

Stops describes the range of the exponent b.

With a typical cinema camera, max_b > min_b + 14

You can use tricks like gradient ND filters to increase the perceived range within of a frame or variable NDs to slowly adjust over time (like our eyes do)
How Much Money Does It Take to Feel Wealthy?
Why are people so weird about corn syrup? If you're fine with other forms of refined sugar you should be fine with corn syrup and vice versa. People make what is essentially corn syrup in the form of invert sugar from sugar cane.
In a couple of years they will realize that cooking in animal fat was the healthier choice all along.
Scanning an on-screen QR code is usually done with barcode scanners, not with phones. Typically, barcode scanners are doing the decoding on-device, and passing out keyboard data (their drivers usually identify them as USB HID). Unfortunately, most scanners don't have loads of onboard processing power, though ability to deal with damaged linear barcodes has been quite good for a long time. Damaged 2D barcodes are harder to deal with, and while ML may be able to solve that, it would require a paradigm shift in how barcode scanners operate -- and essentially bifurcate the market, as some scanners would simply no longer be compatible with embedded systems, and would require specialised software to function (which isn't really ideal; most users of barcode scanners want them to be plug-and-play).

(My first post-university job was doing tech support for a company which sold point-of-sale equipment. I'd say about 50% of my job was helping people with barcode scanners.)
It's worth a try. Their Casbin is more popular among Go devs. Casdoor is their fairly new project but looks promising
Another IPv6 country detection issue
Yeah I just lucked into some projects that let me learn stuff that I was curious about while also paying me good money for it. The actual building is relatively little once everything is well understood
> Brake with a wheel on a piece of cardboard and chances are you'll just slide. Same for an oil slick.

Also autumn leaves. Like sheets of graphene.

It's worth remembering that a car will always brake faster and turn more sharply than a motorbike.

It's also worth remembering that after every rain, the road is slick for a half hour or so while all the oily crap and rubbery crap washes off.
Hence https://en.wikipedia.org/wiki/Forward_secrecy to make things more difficult

Compromising the main keys isn't enough, need to compromise each session key as well in turn, a massive increase.
My first manager as a developer at Travelocity (a bazillion years ago) was phenomenal. He really pointed out the reason and strength behind learning excellent principles, adhering to standards, diving into how things really work. I am such a stronger developer (though less employable) for really taking this seriously.
If I understand your question right, for C# look at the following article, last paragraph regards object which leave the scope of the using (C# does not have the JS "var" but only the JS "let" behavior, so it is slightly different here).

https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...
You seem really emotionally invested in this subject, even though it's obviously not one you know much about.

Good luck with that.
> having to create legends of features they support

If you search for a new email provider, you'll see the same legends. Email adoption is not doomed.
This is actually awesome and it is how it always have worked; before smartphones, you would make a phone call from a landline and pay the delivery person with cash. When CC readers with simcards became a thing, restaurants started to accept Credit and Debit cards as well. Pharmacies also worked that way, by the way (not sure how it is today but last I've heard they stopped doing late night deliveries due to robbery).

When I moved to the US more than a decade ago I was baffled with the lack of options for food delivery (and pharmacies).
So they are celebrities then? Famous for being famous….
If the company structure is too complex or too big and your actual impact is either hard to measure or is held back by the system or by colleagues, you have to find a way to stay sane and find a tangential meaning in work. Funnily enough, this doesn't mean it is wasteful. It could turn out that it makes you put more energy in honing your skills, or perhaps you find a way to contribute to open source within your job. Neither are bad things. So I don't completely share the pessimistic outlook of the article.
doesn't work with firefox on my M1 MBP, but it does in safari.
> Of course we, like all other python projects, don't support using other dependency versions then the ones in the requirements.txt file.

That's really bad. You should always support reasonable version ranges.

> when someone just uses a different minor version of django, stuff breaks

That's why some people say that managing dependencies in Python is difficult and move to statically compiled languages.
> some miniature detail is not 100% in their otherwise perfect and seemingly challenge-free lives

You could look at this as spoiled, or you could see it as someone who has an eye for detail. I don't know the tone they used, but I can imagine this was more like a Seinfeldesque observation of life thana legitimate gripe.

People with money can definitely live fulfilling and challenging lives. Arnold Schwarzenegger famously said that he works out in part because a tremendous physique cannot be bought, you must work for it every day, so it's a sign of character. You could say the same about musical or sports skill, handcrafted items, or the love of your friends and family.
How many hours can I display super-white brightness before burnin starts to happen?

If this is just designed for bright brief 'glints' of light in videos, I can imagine the screen itself might be being substantially overdriven, and there might well be damage if you did this for hours on end (or even maybe minutes, especially on a hot day).

OLED isn't known for longevity when displaying bright colors...
Nix reminds me about that xkcd comic about standards. It seems to be to be solving a problem solved in a much better way by other alternatives with the mindset of IT from a bygone era.

I may just not really be the target demo, or maybe am just a huge idiot, but I struggle to see the appeal, especially when you hear about the occasional horror stories about complex and/or broken environments, or the vim-like overhead to learn it properly.
Why is having no carry flag "short-sighted"? Rather, it is dropping the unneeded historical baggage.

A carry flag was useful on an 8 bit CPU where you were constantly dealing with 16 bit and 32 bit numbers. On a 64 bit CPU it is almost never used, and updating it on every add is an absolute waste of resources.
It says a new coat of paint over a rotting ship would suffice in those days.
No idea what is this website but it seems to be some kind of p2p, and your PC is peering the video too.

The quality of this video is horrendous, I can barely see the animation; it seems like film artifacts combined with VHS artifacts combined with MPEG artifacts on top of each other. I would think Archive.org will have it in a better quality.

edit: ah it seems archive.org has the same one, maybe slightly better but not much

edit2:
seems like much better version here

https://archive.org/details/popeye-the-sailor-meets-ali-baba...

edit3: there is a dead comment below me that links 1080p on youtube
That's almost so obvious that I never thought of that :D
Infosec folks are welcome to join https://infosec.pub
I am also interested in self hosting my own lemmy instance just for myself and my close friends. Can you share the details of your setup? Do you host your RasPi at home?

> risk of being defederated

I was not aware of this risk. How does this defederation work?
That's why "archive to the web and let Google handle it" is a good solution.
A brighter display with higher contrast is more likely to work reliably with certain barcode scanners. For example, I sometimes struggle to get my Tesco Clubcard QR code (edit: actually an Aztec code) to scan on their old (red laser) self-checkout machines with my iPhone, but on my Apple Watch it displays brighter and seems to work more reliably.
This sounds very, very wrong or at least scientifically inaccurate. Human vision does not compromise of a slideshow where the brain fills in missing frames. We don't see in frames at all. We get a constant stream of information and our light sensitive receptors have a buildup and decay effect. This is why you can still see the last thing you looked at for a moment when you close your eyes quickly.

I don't know what this video is based on but it's a great example for not taking anything on YouTube as ground truth. For this video, I would ask the creator supply some serious materials backing up the claims being made.
Yes, everything was hand coded (no autodiff) & Hinton loves Matlab.
Unfortunately, Keycloak currently fails to properly scale for a large-ish (a couple of hundred) number of realms, which can be an issue for use cases with a large number of tenants (as not unusual in a B2B setting): https://github.com/keycloak/keycloak/discussions/11074

This leads among other things to the Admin UI becoming basically unusable: https://github.com/keycloak/keycloak/issues/20453

We currently have to implement a workaround where we create multiple Keycloak clusters and will have to write some glue to manually route to the correct one based on the realm, but that seems like unnecessary overhead.
It's perfectly fine to use graphql for fetching metadata and then using REST API for file upload and downloads.

On a gql server, you implement resolvers for the schema. There might be some frameworks that abstract SQL away from the resolver implementation but a resolver may need to make a combination of sql and network calls to other services. Or only network calls to other services.

> Allowing frontend to query db directly is insecure so you must have fool proof row level security or more resolver complexity.
I'm not sure why you are thinking that graphql means the frontend is querying the db directly; a graphql server implementation is implement a callback for each graph node that returns the object. It's the server code logic to implement permission checks and the actual SQL or network calls to resolve the object. What part of this results in frontend code querying SQL directly?

It seems like you are getting caught up in the name of "query language" which may be partially a misnomer. It's more like a data fetching protocol
What exactly is a 'user'? Literally one device running the application? In that case the pricing does seem a bit steep in a small business context.
Out of curiosity, 1kb of flash storage sounds quite tiny for a chip which is expected to provide GUI capabilities. Can you provide more information about the context?
Why the hell you need React for a login page?
Explaining what Nix is seems like one of its biggest barriers to adoption.

Part of the difficulty is it means different things to different people. My colleague spent a whole lot of time trying to answer this question and ended up with this:

My main take away after spending some time learning about Nix is that it embraces the functional programming concept of a pure function.
If I give a function a certain set of inputs, it will return the same result every time, no matter what. Nix is about building software the same way, whether it’s your own software, someone else’s software, or your entire OS: You declare all your inputs explicitly and it will be built the same way every time.

What really mattered to them, regardless of how they were using Nix, was its ability to bring purely functional programming concepts to computing areas that were previously off-limits.

From that single idea you get a whole ecosystem of tools. We mainly covered the Nix language, the Nix Package Manager, and NixOS, but there’s also a continuous build system called Hydra, nix shell, and a deployment and provisioning tool called NixOps. Probably, there’s even more.

https://earthly.dev/blog/what-is-nix/

Another way someone else described Nix to me was "Gentoo for Haskell devs".
Guido van Rossum feedback to Chris Lattner on Mojo programming language [video]
We need more of Richard Stallman's ideas, not less
Care to share some examples ?
There's a good Terraform provider for consistent configuration across environments, too.
Wasn't Nix supposed to solve these problems?
Local laws vary WILDLY even sometimes within the same state, let alone country to country. C-Squat in NYC was notoriously annexed by the punks living there, and they are the legal owners, but far more often, you are looking at the likelihood of trespassing charges. Always worth looking at you local laws and ordinances before risking a B&E or at least a trespassing charge.
DataDM: Open-source local-LLM code-interpreter with dataset search
This is among the weirdest interactions I've ever had on HN.
Nix is only fast if your time has no value :D
I was treating the OP's list as a list of things their son was interested in doing or creating, not just idle timewasting. That's why I mentioned "especially if they have aspirations to be a content creator" in relation to YouTube.

There's a lot of difference between your scenario, and the scenario put forth by OP, in just tone of description alone. You seem to be assuming that I suggested that the OP not be encouraging their son to do anything, and that's not what I said. I said that if their son has no interest in coding except when the OP makes them do it, then maybe programming is not their interest, and if OP ends up causing resentment while still pushing them into that career, then they're potentially setting their son up for a miserable life, and possibly estrangement (depending on all the other parts of their childhood that we here are not privy to).
Suppose I’ve written code that calls the OpenAI API. Is there some library that helps me easily switch to a local/other LLM. I.e a library that (ideally) provides the same OpenAI interface for several models, or if not then at least the same interface.
Can't fault your reasoning even slightly.

VPN services are such easy targets that even if they weren't honeypots they would effectively be so.
> Ideally enabling avx512 would be an explicit input to the tensorflow package, but based on your experience it sounds like this feature is detected during the build automatically

Looks like it sets e.g avx2 on the flags, forcing the package to be most compatible, thus removing the hardware state (the builder may or may not have avx512, ideally Nix packages should remove hardware autodetection to make it pure and consistent in face of cross-compiling).

It should indeed have an input in some way, e.g to add more flags. Then AIUI (still learning Nix) one would be able to call the package function with that input from the dependent package function, thus defining another package than the default one, which would be reified as its own specific derivation for that package to depend on.

https://github.com/NixOS/nixpkgs/blob/master/pkgs/developmen...
Streamlining the Delivery Process with DeliveryAll App Script
it's really not a c# clone. If anything JS is still more similar to python that it is to c#.

JS already has 'with', so 'using' seems like to closest semi-standard keyword to use.
I would think you’re “wealthy” when you can do what you want when you want to.
Parker Solar Probe images the launch of the solar wind
If anyone’s curious how this physically (appears to) work - it seems it boosts the backlight and applies a dark overlay on the rest of the page. If the brightness on my iPad Air 4 is max, the white stays the same. If it’s lower then it’s “super white”.
Just for another perspective, there is a limited space of games story- and gameplaywise that can get major funding. If you want something outside this, you have to go indie. You can be also satisfied with the AAA games. Just as there are great independent films and Hollywood classics. They should be able to coexist in the market.

But honestly I don't play AAA titles because they are expensive (don't feel worth it for me, so similar argument as yours), and are designed for long immersive sessions and not 20 mins here and there. There are secondary factors like Linux compatibility and disliking the companies. For story and visuals I prefer films. Second hand I hear that mainstream titles are either designed stupid easy, or in a small niche with spiteful level of difficulty, but this is probably exaggerated sentiment.
Using any monitor in a room with a window on a sunny day you'll want to ramp up brightness way above the sRGB-mandated 80cd/sqm. True sRGB colours only make sense for print designers anyway, anybody else adjusts their white brightness as needed.
This is a gimmick and Apple's usual pioneering stunt.
Thanks for those tips.
trigger warning: this is a Lex Fridman link, so you might want to avoid it if you dislike him
> The solution was to tell nix to disregard the nix store, in order to force the local build.

If this actually led to avx512 being enabled in the package, then that's a bug. Nix builds should not be dependant on the machine doing the compilation, all such autodetection should be disabled via configure flag or patched out.

Then, the right way to enable avx512 would be to pass some 'enable avx512 please' flag to the package's configure flags. Which would then trigger recompilation, without any 'disregard the nix store, in order to force the local build' options.
We could just as well have async requires in addition to the regular requires.
You can't solve all the world's problems in one step. RISC-V solves a number of important problems, while making it as easy as practical to run existing software quickly on it.

If you want to have checked arithmetic, RISC-V's openness allows you to make a custom extension, implement hardware for it (FPGA is cheap and easy), implement software support and demonstrate the claimed benefits, and encourage others to also implement your extension, or standardise it.

It is simply not possible to do this in the x86 or Arm worlds. And that is one of the problems RISC-V solves -- a meta problem, not some one individual pet problem, but potentially all of them.