skysight-inc/HackerNews huggingface dataset:
I'm not sure to the specific benchmark from which you are referring to, but it appears it was measuring the speed of Python looping and not the speed of the FFI.

As far as I can tell the FFI itself is not expensive as long as the underlying type does not have to be converted. But if you expect to call it millions of times a second you're going to have trouble. The solution is to move the loop inside the C code.

For example, suppose you want to FFT a bunch of signals. You don't repeatedly call FFT for each of the signals - you pass the entire data structure to the C code.
Resident Evil 2?
Just a week after I paid for the suite! But it's been useful for my (very much non-artist) purposes so far, though like all photo editing software I've ever touched, it has a TON of features and is pretty overwhelming.
Apple would disagree with you on both counts.

Plus for a long time desktop Windows needed cmd.exe to support login scripts.

Just as people use Linux daily without ever touching the command line. Eg Android, LG smart TVs (webOS), Satellite TV set top boxes (eg Sky Q), home routers, etc.

And if you want to focus on Linux running on laptops, then there are ChromeBooks and the old Asus EeePCs.

The reason desktop Linux isn’t polished is because every time a company invests heavily into desktop Linux, Microsoft undercuts them (like how they sold XP at a loss to thwart Linux in the netbook market). But the fact that Apple could take BSD, Google take Linux, and Nintendo also run BSD on some of their consoles, really speaks volumes about how there’s nothing technically stopping people running a POSIX platform like Linux and still hide the command line from regular users.

Though going back to my “Linux isn’t polished” point, I still think Linux+KDE is a lot more polished than modern Windows. But that’s just my biased opinion.
Just in case you are a pro developer, the whole thing is worth looking at:

https://github.com/CppCon/CppCon2017/tree/master/Presentatio...

and up
I've seen scripts that probe ports with nc until they find a free one. They usually log to stdout which port they found.
Of course concepts are important and esp where they deviate from each other.

As a concept, it is important to understand human behavior and what motivates it, but I try and not brand people with a permanent attribute.
Why do high spreads mean more money for middlemen?
Reminds me of this blog post: https://camhashemi.com/posts/organic-proposals/

> You'll get much further if you do one or two simple passes on your writing, and then pass what you've written around and ask for feedback.

I've found that the more time you spend "intellectualizing" your own thoughts, it'll become harder to back down, because you get so invested in your ideas.
Sadly I’ve seen this happen just recently… with new code… written by someone who has over a decade of “experience”.

It’s sufficient to simply use the “static” keyword or a singleton service that should be scoped to the session.

The sad thing is that the default is the happy path, you have to go out of your way to break the session scoping by “being too clever”.
If we primarily relied on a whitespace representation of numbers, it would help to have digits there for the machine to look at and possibly diagnose against the whitespace.
Stateful singletons (and/or shared classes) are _probably_ a more common blunder than session scoping.
If one address is getting spam I can just turn it off or filter it to the trash.
I've noticed those kinds of posts. I mean, actual work can be hard, and work situations can vary a lot depending on the work environment, but, at least in my case, that's completely different to "programming". I wish I had more time for "programming"... I enjoy it a lot, I've always enjoyed it, you can do so many interesting things in a creative kind of way. So many different complex things to understand... If I didn't have to work, I'd have a lot of spare time and I'd probably invest it in, well, programming. There are several source codes I'd like to understand better and analyze, just for intelectual curiosity. I'd have the time to study the source code of several operating systems, implementations of programming languages, and tools that I really would like to know more deeply. I'd have more time to review the source code of videogames, demos, and other interesting programs, and create my own just for fun. I would have more time to create interpreters, read old documents on programming theory, contribute to open source initiatives, learn new programming languages... Programming can be fun. It's a pity to see people burned out. In any case, it's also true that there's more to life than this. :) Try surfing, pottery, yoga, horticulture, real-life drawing or calligraphy instead!
OCLC's slogan is literally "Because what is known must be shared". Them being a litigative gatekeeper is mighty hypocritical.

I don't really get their dilemma. They claim that a publicly available copy of the data on Anna’s Archive is a direct threat to their business. But the same data is freely available by going to their own worldcat.org. Any library that was satisfied with pure read access to the data was already not going to pay them money.

They allege that scraping the 2.2TB of data cost them $5 million over 2 years. That's $2 per megabyte. If the cost of providing this was the only issue surely within those two years someone would have gotten the idea to just put up an XML dump for download, or to shoot Anna's Archive an email with an offer to just send them the data as soon as it became clear that it was them.
I am, intentionally so ;-) Because this mix is where Lightroom excels, and competing products just fall short.

As an enthusiast or professional photographer you really need both, preferrably in the same application, or at least in tightly integrated applications.

I started with Lightroom 1 beta3, and while it was dog slow, the speedup in workflow to cull and edit thousands of photos after a shoot was revolutionary at the time. In the beginning it only supported global edits, which was enough anyway for 95% of photos. But you could sync and apply these edits in bulk to other photos, and get through hundreds of them quickly.

Capture One certainly is the closest. But switching costs are huge. My catalog contains tens of thousands of images, professionals will have hundreds of thousands. If I'm to switch, I need to be certain that every single Lightroom edit is, in principle, supported too, and will be converted faithfully on import.

And their pricing is weird. In the beginning they required you to pick a RAW edition - you could have support for Canon, or Nikon, but not both. That's gone now, and as you say, I think it has come a long way. But their perpetual license now is nowhere competitive in price with the Adobe Photography Plan ($9.99/mo, infamous "Annual paid monthly", for LR+PS). The $300 for Capture One is for one major version, for the price of 2.5 years of Photoshop and Lightroom.
> pip does this for you though, I'm not sure why most end users need to know "build" or "install" exist.

Because at least at one point in time "build" was marketed as the future, it even appeared in a setuptools warning message. This developer spends several paragraphs on the issue:

https://gregoryszorc.com/blog/2023/10/30/my-user-experience-...

If it is no longer the future, so be it. Pip seemed to force isolated installs by default for a while and then backed off again.

As for the volunteer question: All OSS package managers are maintained by volunteers and I do not know of any other ecosystem that prompted an xkcd comic about the packaging situation.
I have been looking for Affinity Photo for a while - but can someone recommend a good alternative to lightroom?
Perhaps something that integrate with Affinity reasonable well?

For mac. Plus points for linux support. Even more plus points if it can easily share the library between different devices.
I get truly confused when using GRUB. Maybe it’s just me being unwilling to dive into all the details, but seriously, why are there like 30 packages starting with 'grub' under Debian? All I want is to boot my kernel under EFI, and the package choices are overwhelming.

grub-common
grub2
grub2-common
grub-efi-amd64
grub-efi-amd64-bin
grub-efi-amd64-signed
grub-efi-amd64-signed-template
grub-efi-amd64-unsigned
grub-efi
grub-pc
grub-pc-bin

Do I need to mix grub2 and grub packages to get it to work? Currently I do, and a bit afraid to remove one or the other :)

Usually, I end up trying things randomly (leaving some funny mess in /boot/EFI b/c not sure if --efi-directory should contain /boot/EFI prefix, or just /boot or nothing), then running some semi-random grub-install command, and eventually, it starts to work. But this is far from intuitive.
I am not assuming this, but the point is that it is perfectly valid to keep doing studies on the fundamental and pretty well-understood phenomenon of birth-sex and whether it is a significant causal factor on the biology of homo sapiens.

It is a simple variable, we can start from it and then try to see whether gender self-identity has any effect.

We can be pretty sure of the sex-at-birth of any human being given some simple tests. It is a simple variable that we can trust have been correctly recorded the vast majority of time. Gender identity? not so simple.

And given a correct understanding of the differences, if any, between sex-at-birth individuals, we will have a good framework from which we can investigate if those differences follow gender identity, and if so, what is their causal relationship with gender, etc. etc. etc...

What I am questioning, is that if every time a scientist do a sex-at-birth based study we question implicitly if they are not being bigots, we will end up censoring scientific inquiry for no good reason at all. (yeah, I do believe that not all scientific inquiry is allowable, for example, I oppose research on chemical and biological weapons)
Temperature, thermodynamically, is the quantity dQ/dS, which is sort of related to how much the internal energy of the system changes as the system gets bigger, or has more 'stuff' in it, it's like an average energy.

We experience temperature, however, as the amount of heat coming from an object. Really the experience of temperature should then be something like -dS/dQ which is like how readily the system gives up energy. The more entropy increases when the energy in the system decreases, the more 'hot' it feels.

Therefore, our 'experience' of temperature is like -1/T = -dS/dQ. The hottest temperatures are negative numbers close to zero.

Additionally, infinity temperature is simply the crossover point where adding additional heat begins to decrease entropy instead of increasing it. I.e. the places to store the additional heat are running out.
Does FreeBSD's loader share code with the kernel? It does seem like a lot of duplication of systems to make it work in comparison to just using the same code.
https://github.com/openzfs/zfs/tree/master/cmd/zpool/compati...
I've encountered way too many of these and I hate them with all my being.
> instead of immediately loading the System A userland

I mean, it kind of is loading the System A userland. At least the initramfs of it. AFAICT in the proposal the bootloader would now be a regular userland program living in the initramfs.

I get the impression that the eventual goal would be to make this bootloader program into the "init(8) but for the initramfs phase of boot" — i.e. rather than there being a tool like update-grub that calls mkinitramfs, feeding it a shell-script GRUB generated (which then becomes the /init of the initramfs); instead, there'd be a tooling package you'd install that's related to the kernel itself, where you call e.g. kernel-update(8) and that would call mkinitramfs — and the /init shoved inside it would be this bootloader. This bootloader would then be running for the whole initramfs phase of boot, "owning" the whole bootstrap process.

What the architecture is at that point, I'm less clear on. I think either way, this initramfs userland, through this bootloader program, will now handle both the cases of "acting like a bootloader" and "acting like the rest of initramfs-based boot up to pivot-root." That could mean one monolithic binary, or an init daemon and a hierarchy of services (systemd: now in your bootloader), or just a pile of shell scripts like GRUB gives you, just now written by Redhat.
> start a company that makes dumb electronics. I’ll pay a premium.

That'd just make you a useful idiot for those sellers. Better use the thing in whatever 'dumb' mode it offers, never connect it to the internet but only expose it to a restricted local network. That way you don't have problems with auto-updates, you don´t get ads, you're not being spied upon, etc. Of course all bets are off if there is an open wifi network around for the thing to connect to but those tend to be rare. There are bakers tales about devices having their own cellular access built-in but I have yet to see proof of something like that - and will abuse the hell out of it when I find it.
Fundamentally altering the way the picture is shown without anyway to revert to the original functionality is obviously a severe deviation from how the product was originally sold. It's akin to not having blue anymore.
for lack of a better way to describe it, people who were active on everything.blockstackers.com in the late 1990s
This is good advice. Nowadays I still earn my money from IT but I don’t do any programming. On my free time I’m doing my own stuff at my own pace mostly on Linux and C. It’s wonderful.
I’ve never connected them. They’re still terrible. Because they’re designed as Android devices and not just fricking TVs.
There are burnout printer filaments and resins as well, so I've heard it referred as 'lost plastic' casting

https://helpcenter.phrozen3d.com/hc/en-us/articles/632528374...
Unfortunately... https://hackaday.com/2024/07/04/shapeways-files-for-bankrupt...

You wouldn't guess it from their website at the moment though.
Gradle has faster builds due to the build daemon it uses and it has a better CLI interface. Starting a new project is just: gradle init. Some people use it just because XML == bad too.
Or potentially by another user loading that partition if you boot into another OS.
How does Erlang fix this?
Realistically it’s a united flight and they’re ultimately responsible for maintenance.
I've moved to Capture One years ago and have been extremely happy with it.

Even better that RAW processing for my Fuji cameras is better on C1 than Lightroom.
When you buy stock, you generally by it from a "market maker", which is a middleman. When you sell, you sell to a market maker. Their business is to let you buy and sell when you want instead of waiting for a buyer/seller to show up. The spread is their profit source.
re2 is a widely popular regex library. Like curl but for regex, it underpins many implementations.
negative temperature is like a burrito
It an easily misunderstood idiom since the difference between the two meanings is just the definite vs indefinite article: 'the means' vs 'a means'.
Not at all the same thing I admit, but the company I work for has a product that limits the number of transactions (per user) to 1. Where "transaction" is roughly equivalent to an HTTP request. So if you run a query that takes 30 seconds, get bored, open up a new tab to do something else in the product, your new tab will hang until the transaction in the previous tab has completed.

I hate it.

There is a special URL that will kill your running transaction. All of the engineers know it and have it bookmarked, but it's undocumented.
I've heard that before and it just sounds so strange - why would interpolated frames on a HDTV remind people of the production values from standard definition televisions?
Generally gets attributed with:

- Increased liquidity. Ensures there's actually something to be traded available globally, and swiftly moves it to places where it's lacking.

- Tighter spreads, the difference between you buying and then selling again is lower. Which often is good for the "actual users" of the market.

- Global prices / less geographical differences in prices. Generally you can trust you get the right price no matter what venue you trade at, as any arbitrage opportunity has likely already been executed on.

- etc..
Kind of, yes. Terminology used in Australian consumer law is that devices must be "fit for purpose" and of "acceptable quality", especially in regards to other similar products. A software update changing the product in a significant and negative way after purchase definitely would be grounds for a "remedy".
No, more likely someone's used global or static variables. It's got nothing to do with monoliths vs micro services. You can do the same global/static variable crap in a micro-service.

Plus you didn't even need to multi thread in old school asp.net, IIS would create a new process for every request back in the day.

.Net did have a notorious 'session' object, which was the cause of a lot of problems due to novice/offshore programmers, but not the symptoms described above.

I'm not sure why you've targeted monoliths and .net/java, but the problems described above are usually caused by multi-thread/shared variables, which weren't a common thing to do in asp.net. You'd really have to go out of your way. I've seen some terrible .net code written by novices or poorly trained offshorers, but nothing like that.

I'd be more likely to bet they rolled their own cookie or session management or jwt token manager, and I'd guess it was an early js/nodejs app before that ecosystem stabilized when people were raving about going framework free and then footgunning themselves.
> What makes politicians popular?

Their ability to lie.
> Is Photoshop better than Photo? Yes, but not by much.

Everyone keeps repeating this meme every 2 months or so on HN and I have to keep coming back to point out that Affinity's lack of support for Photoshop's generated XMP sidecar files is on its own a dealbreaker for photographers that have those files.

(Then as soon as I say this everyone here jumps to Affinity's defense. I'm not trying to attack Affinity or something. I'm just pointing out the reality users face is very different from the meme that goes around on HN. Defending Affinity all day long won't solve the problems users face.)
Ask HN: A Reddit alternative only for humans; how would you do it?
I keep thinking about this idea of figuring out a forum format that has checks in place to ensure that every participant is an actual human, as opposed to an automated bot.

I have had a ton of crazy ideas for how I would execute it, ranging from simply requiring to have government ID to requiring to have webcam on while using the website (to collect biometrics).

I am interested to hear from the community if (however crazy or restrictive, sci-fi) ideas that would allow to create a forum online that's only for humans.
And? You put in your cv you know Java, and solved. I mean, if you have experience with a few mainstream languages, it should be no problem to handle yet another one. I have done this several times. Yes, I lie in my cv, but that doesn’t mean I cannot work with yet another unknown programming language and be productive after a few weeks. More often than not, the real issue is to get to know the business logic in a new job, that may take a few months (more than enough time to get up to speed with a new language).

Notice I said “mainstream” languages. This means stuff like Java, Python, PHP, Ruby, Go, TS, etc. Now, stuff like Lisp, Haskell, Clojure, ok, that’s different enough.
Been playing it back then briefly, no idea if it still works nowadays though.

__

Had to edit a major part of my comment, since I was pointing to the wrong branch: The last stable release 3.13 is 7 years old, but there is some activity going on, as can be seen here:

https://github.com/MegaGlest/megaglest-source
It's amazing how much the Feds work to catch up some internet pirates. Maybe when they catch all of them, they will have time to investigate Epstein client list....
I love me a good rts but fancy graphics turn me off. Simple 2d, geometric, minimal would do me fine. I've heard similar from others. So save yrself the effort.
Wouldn't this just force future operators of z-library and similar services to accept donations in crypto only, making it even harder to shut down?

I mean imagine if you took donations for some mundane fan art patreon website that ends up violating US copyright laws and you used the proceeds to buy yourself Subway sandwich and a new laptop to create copyrighted art, you are labelled a money launderer.

doesn't such draconian ruling end up driving these type of services deeper underground and closer to actual money laundering which only leads to more proliferation and opacity?
Maybe try fish? Tab completion will suggest subcommands, and if you type - or -- and hit tab, it will suggest the available options with help text generated from man pages (example: https://flaviocopes.com/images/fish-shell/autocomplete.png). Doesn't really help with positional arguments but it's definitely enhanced the discoverability of many tools for me.
Which is why Roku decided to take away the option to disable it for people who understand and notice the effect and actively don't want it?

Pardon me, it makes zero sense at all.
Good question. The internet is full of lies, but it suggests that Papua New Guinea ranks at the bottom since it only has one and that was a gift from Australia.
Not pip, but we ran into an older version of glibc that had real circular deps. Sorry I don’t remember off the top of my head which one.
It seems like the floodgates are open in the Western world and very few countries have had wise politicians who care about keeping the market affordable for locals. Unaffordable housing is one of the major causes of low fertility rates, touristification and lot of other maladies. In the mid-term, it destroys communities that took centuries to build. Sad.
>and if decides that it is, then it never calls ExitBootServices

That's unlikely, I think that would mean you cannot use native drivers, at which point you're just writing another bootloader. I suspect they only planning to kexec into target kernel, not chainloading other EFI bootloaders.
Wouldn’t the price movement overwhelm the spread if you sell more than a few days after you buy? I guess if spreads were huge it would matter more
> The real problem for most fans are the scalpers who push prices out of their budget.

Isn't that the market sorting itself out? What do you want, planned economy? How is fixing the price on a ticket different than the soviet union stamping prices directly onto manufactured items. I meant this to be sarcastic, but it's only half so, since I find the comparison appropriate, you know free market and all.
I don’t think anyone is arguing otherwise. The frustration is the inaccurate pricing and other monopolistic behavior from TM et al.
It's interesting to use these guidelines to evaluate dating prospects. Is this guy a persistent catch, or a stubborn creep? Don't know why, but "stubborn catch" and "persistent creep" sound like better matchups, because you'd be okay with using the word "stubborn" on yourself?
Booting linux directly just boots you into that install. It doesn't give you a boot menu or any of the other functionality GRUB provides. This project is basically proposing building that in a small initramfs userland instead (which has the advantage of requiring much less effort and code duplication). It's functionally very similar to GRUB, including with regard to your last point: generally speaking at the moment one OS needs to be managing the boot menu, and when they fight over it things go badly (see the status quo where Windows will occasionally just insert itself as the default after an update). UEFI could in principle have fixed this, but the inconsistent implementation between vendors makes it an unreliable option for OS developers.

(And in principle this system could load other linux distros assuming there was some co-ordination in how to do so. Windows is more difficult, as is interaction with secure boot)