skysight-inc/HackerNews huggingface dataset:
I agree, and that's why I favor it to unit testing (although to be fair, they are pretty complementary, because each addresses different end of the spectrum). To properly unit test, you need to have a different implementation, which you can compare with, you cannot IMHO unit test under the same assumptions that the code makes.
Libsodium is an amazing crypto library.

At my previous job, we used libsodium as the basis for all our crypto on web, iOS and android. This after a myriad of subtle problems and inconsistencies using multiple libraries for RSA/AES.

Libsodium is pretty opinionated, which is good. The only thing that actually came close in dev experience was google’s ~~Think~~ Tink library, but that isn’t mature on web and probably never will be.

It’s also hella fast.

Edit: corrected library name
Well when you give people a vote on "do you want more homes for new neighbours or unlimited free parking everywhere always?" people vote for the parking. Which is why US cities are mostly asphalt.
Again, I disagree. Trans folks are not unreasoned. They are open to the immense challenging reality that is their identity. It's different. Go in with humility. Listen. Learn. Ask questions. Be open. All will be well.
¿Por qué no los dos?

Companies dumb down their products to appeal to the masses, who then get dumber because they have nothing nudging them to get better. It's a vicious cycle imo.
I don't get your argument. On an area that barely fits 5 cars and is not large enough for ramps and multi story parking you can build a skyscraper housing a hundred of people in comfort. So?

> Why is it surprising that there’s more cheap to build car parking

By that logic it would be cheaper not to build anything, so why is something built in the first place?

A hundred people in the space of 5 cars is unmeasurably better for the economy. Workforce, consumers, etc. If 2 of them open craft coffeeshops next door 98 of them won't need to go somewhere to get a nice drink, and so on. Once you don't need to cross 6 lanes on foot all sorts of possibilities open. Proximity is benefit multiplier at the same time reducing ecofootprint
600 lines is relatively short for some of the bad code that I have seen...
AFAIK, there are two main issues. The first is ethics which is pretty much obvious. Experiments on human are not easy to get approved and near impossible for things like permanent changes to babies and fetuses. There are ethics boards on every company and university that regulate these stuff and they would almost immediately deny all request or proposal that approach this kind of work. You may get something going in less regulated countries like China but even then the international research community would not be kind to you and your career.

The second is theoretically, it still is not possible to "design" a baby. In biology, things are very different from pure engineering. The ways stuff gets discovered is like this: if you have a big clockwork machine, you increase signal to a gear, you notice the machine do X, you say that gear is associated with X function. Then you go to another gear, do it again, and try to map out everything in the machine and their function. Cool. Now the problem is you don't know interactions between gears. So you try to change 2 gears that both associated with X. Turn out when you do that, the result is not just X but XYD get changed. Then when you try 3 gears at the same time, turns out it changes XMA function. Worse, in another supposedly identical machine, changing gear X actually causes Y change because of a previously unknown gear that is a switch for gear X to affect either X or Y and that switch depends on some obscure environment parameters...

In short, biology is too complex and the way we are probing it is still too primitive and it takes a long time to even figure out what go where. We can try poking around to optimize one thing but it always causes unintended effects, mostly lethal. So the ethics boards are even less likely to approve a project like this.

Just as an example: CRISPR system. We know about nucleases and these enzymes and stuff for decades. But to make it something reliable enough to be used took so long this thing only became big recently. Biology is very slow and very tedious. It won't be like writing a software and wait 10min for it to compile. Experiments can take years to run and come out with nothing because a stupid mistake was made somewhere along the way.
More land is used for growing food than for housing people, too. So?
The excellent guide by drduh should be mentioned here: https://github.com/drduh/YubiKey-Guide — I've been using this approach for years to store my OpenPGP keys on Yubikeys and use them for SSH.

I don't generate my keys on devices. That lets me be flexible and keep backups, as well as use the same keys on multiple physical devices. Using a single yubikey is a bad idea, as you're bound to eventually lose it or break it. Hasn't happened to me yet in 5 years, but I expect it to happen.

I wish more sites supported hardware keys instead of only TOTP tokens, or (heaven forbid, but corporate idiocy is plentiful) SMS.
Have you ever seen a well structured 1000 line function?

I'm sure they exist - maybe some sort of exceedingly complicated data transform or something. But in almost every situation I've seen, a 1000 line function has countless side effects, probably sets a few globals, takes loads of poorly named arguments, each of which is a nested data structure which it reaches deeply into and often has the same for loop copied and pasted 10 times with one character changed.

Often a 1000 line function is actually 5 or 6 20 line functions. I'm sure there are legitimate exceptions, but I've never seen them.
The comparison on the homepage is not even close to fair. They compare a React component from a headless UI library that has a lot of (accessibility) features and full TypeScript typing to a basic version without any typing.

> The amount of code required to build a basic listbox UI component

That is not what is being compared.

The speed graph shows the amount of HTML/CSS/JS on the project home page. Again not even close to a fair comparison, they have completely different content. I can create a sluggish library, with a homepage that is just a plain text link to a GitHub repo and that would rank way higher.
I'm missing the classic example where you click a button to increment a value. In fact, I fail to find any example handling state at all. Any pointers?
The library is Google Tink (just in case someone wants to look it up)
It is important to maintain the spatial structure of the units.

Energy and torque are both N.m in SI units, but in one case the vectors are aligned, and in the other they are perpendicular.

Energy is a scalar, torque is an axial vector.
>Basically: I've never been so embarrassed to use a piece of software and I have an Adobe CC license for god's sake.

Yep this says it all, Unity lost its touch, I feel bad for all the talented Unity devs spending hours honing their skills on Unity.
It is completely impossible to keep track of DRM-free games being distributed illegally on private trackers that they are not members of, and there are surely tons of private trackers that are not mentioned on the public web that no one at Unity is aware of. Short of spying on the entire world (and processing all that info), it's impossible to keep track of people sharing DRM-free games illegally on USB and hard drives with their friends, or on private folders through Google Drive, Dropbox, etc. accounts.

So unless their anti-fraud system is asking Valve, Microsoft, Sony, Nintendo, Apple, Google, Epic, GOG, itch.io, etc. how many downloads have occurred (no chance that they'll all agree to that), then their system is just going to make a guess, which they'll charge you for, and hope that holds up in court.
If I recall correctly Libsodium has an official web site: https://doc.libsodium.org/

No need to link to the repo aggregator.
I am not from the US, but if I was and I had to vote purely on who is less likely to tear democracy down, I would vote the Democrats and it is not even a close contest.

Your left leaning democrats are like our center-left government parties in terms of ideology. The Dems as a whole are slightly center right. Your Republicans are like our far right fringe parties.

Especially after how they handled their presidents insurection, the Republicans in my eyes should be unvotable for anybody who cares about democracy. And they should remain unvotable until they do some soul-searching. But this also includes things the GOP does outside of Trumps sphere of influence. E.g. look at the list of the worst gerrymandered states or at how the right tries to stop people from voting. If not enough people vote your party the democratic way would be to adjust which positions you offer to them, but the GOP seems like it would rather adjust their electorate.

Even if I liked the positions the GOP holds I would hate the idea to let them rule me, because this smells of "ignore what the voter wants". To theie credit, they managed to divide the electorate so much with culture-war bs that a big part of them actively want to become peasants under absolutist rule if it just meant the other side will lose.
ssh and pgp keys are not based on the similar functionality.

the keys from Token2 support *-sk key storage

https://www.token2.com/site/page/using-token2-fido2-security...

But not PGP
A question on tracking/letter-spacing.

In my browser, I always use my own font choices (Firefox: Settings → Fonts → Advanced… → untick Allow pages to choose their own fonts, instead of your selections above), which makes me more sensitive to certain sorts of modifications: most significantly, I observe how unreasonably common it is for pages to change the whole document’s letter-spacing, normally to a positive value. (My firm opinion: you should absolutely never do this as a global thing, no exceptions.) I’m not certain if it might make more sense with some fonts than others, but the main thing is that I notice it.

So then, with this font, the main thing that immediately stood out to me is how wide its tracking is, so that I’d almost feel justified in adding `letter-spacing: -0.03em` (except that the shapes and some kerning pairs don’t work that way). Does it feel that way to others? And is there some kind of general trend in the direction of adding more space between letters?

(The font’s bold face, on the other hand, feels a mite cramped when in proximity to the regular weight, since it uses the same metrics. Also certain pairs are kerned much more tightly so that they feel out of place to me, e.g. Vi, DG (especially in bold). And as for the parentheses, I had to check that no, they hadn’t inserted a thin space inside the parentheses, the font really is just that weird.)
You are reading the text from one religion that is upset at another.
the land is probably used in the most profitable way. whether that's parking, housing, farming, or leaving it empty. it's not used for some hypothetical greater good.
Hahaha!

You are putting something in there that turns out to be disinformation.

I used to believe as you did, but then I started actually looking at old code.

I stored many examples, but I'll give you one to indicate just how bad most comments are:

//Add 1 to x
x:=x+2;

Now why the original author thought it was important to explain in English what the next line of code was going to do in the programming language I am not sure.

I am sure that someone figured out that it was a mistake and did the least they could possibly do to fix the mistake.

Something like 80% or more of the comments I've seen have been misleading, wrong, or useless.

If you do your own survey of someone else's old code so that your ego doesn't get in the way you will probably find something similar.

Although I did talk with people working at NASA and they had someone on their code reviews who was specifically looking at comments. If you are that disciplined then your code will not be that bad, probably.
As far as click-bait/enticement "here's what you need to know" is one of the less annoying forms.
Psychedelic drug MDMA eases PTSD symptoms – study paves way possible US approval
dadabots here: haven't gotten good death metal with it. problem is there's not really much in the dataset.
Yeah, I imagine it is not the same version :D
It's not at all obvious if they're providing sufficient training data to do so. "Supply your own training data" seems the equivalent of "supply your own source code".
Exercise training and resting blood pressure
I tried Jellyfin, doesn't work for most things, went back to plex. Everything just works. My use case is pretty simple, family photos and videos but somehow that was problematic.
If you have dozens of functions that need to be called in specific orders, design and use a state machine and then use a dispatch function that orchestrates the state machine.
This is a ridiculous out of touch take. Of course young people know what desktop computing is like: they use it at school for class and use it at home for gaming. Have you considered that people might prefer mobile is preferable because it’s, well, mobile and you don’t have to lug a big ol’ machine around?
Any measurable characteristic will allow to establish some correlation, but it doesn’t necessarily will be a high correlation.
SaaS founder here. I can confirm that the first part of the article is true: you do get "stuck" eventually at a certain level, because your churn rate is a percentage of clients, while your new client acquisition rate is a constant (e.g. it does not depend on the number of your existing clients). So the two will eventually become equal to each other and your growth will slow and then stop, unless you start/increase your marketing and client acquisition efforts.

I don't like the word "stuck", though — I do not subscribe to the idea that endless growth is the Holy Grail, to be pursued at all cost.
US is extremely car-dependent due commuting and
infrastructure spread out in the suburbs, which in turn
are caused by abandonment of cities for suburbs:
i.e. the conditions of life in suburbs outcompeted cities.
Fixing the root cause is fixing the cities Quality of Life
to compete with suburbs - going after symptoms(car-centric
culture) won't work.
Perhaps a unikernel based on something like mirageos or another unikernel people would suggest here?
I don't think it is an empty boat for me. I think it is the Air Conditioner motor of neighbors (I don't have one). It is especially grating in winter - as I would switch off my fan and sounds are amplified in the cold. Insects chirping (Cicadas?) during rainy seasons are the worst.
> Exactly with the Sun: our eyes observe that Sun goes around Earth, but science tells us otherwise.

These are just two different reference frame. Both are equivalent.
I mean it’s an old adage but I guess you get what you pay for.

For a simple, low-stakes personal website, Hetzner is probably hard to beat on price.
"The right side version has extracted functions from an arguably worrisome implementation on the left"

Not amount of linearity and abstractions, or silly comments, can make bad code readable. I see this stuff at work all the time. To my team's defense I deal with a lot of chemists and physicists who like to write their own algorithms.
> I really wish that human language was strongly typed. You shouldn't be allowed to hijack a word

According to my one true definition of "strongly typed" it already is--how dare you try to hijack those words. /s
...instead, they activate the stalebot that deletes "stale" tickets (that may however contain valuable workarounds for a problem) by default.

See also this article that was posted here a few weeks ago: https://drewdevault.com/2021/10/26/stalebot.html
How did they become dependent on an object that cost them a fortune and ruins cities and enviroment?
Has there been an instance of Google promising to support something for a certain number of years then failing to do so?

Disclosure: I work at Google.
> During the 2008 financial crisis, the UAW made major concessions to help auto companies get back on their feet. Workers are still feeling the effects of those concessions to this day...

> Collectively, the Big Three automakers have seen their profits soar

This is why you need unions. Most businesses will happily screw over workers whenever they can to maximize profits and the workers are lucky if they get peanuts back when they're swimming in cash. Ford makes the hyperbolic claim that agreeing to UAW demands would bankrupt them as it would cost $15 billion. Their profit in the last 12 months is $25 billion. The maths is more complex than simply 25-15 but shows how companies will obviously lie to protect their shareholder profits.
Because the C-suite are the people making the big decisions which resulted in the huge profits.

The worker who attaches doors to the car on the shop floor had almost zero impact on the surge in profits because they are very restricted in scope of tasks.
This is done using css columns. The slider controls the font sizes, and the column width is set to 30em, which increases when the font size increases.
Tea Party Trifecta?
It's not about dark matter rivaling "classics" (which we established are shit enough most of the times anyway). And if you're US American, your classics are most probably not my classics.

> an older book is a much safer bet if you want to maximize the value of your limited time

I 100% disagree with that. Value is highly subjective. I've read a lot of the books that are considered as "the most important books from the western hemisphere" and let me tell you, most of it is garbage. It's just a classic because back in the day it was novel and exciting, nothing else like it. You can have a good time with both, modern and old books. It's about your selection process, not the age of the book.

Reading has multiple purposes. Entertainment and education, most importantly. So I read books depending on the goal I want to achieve.

PS: if you read the commercial garbage from reading lists and what's new, you'll have a bad time, granted. As everybody can write a book nowadays, quality is harder to find tho.
So don’t be. What you’re saying is that nobody should be able to be in that room, because you know better than they what’s best for them.

You don’t seem to recognize that, at its enactment, drug prohibition had absolutely nothing to do with any sort of literal harm drugs caused to their users. Look up the horrifically racist excuse that was used for making cannabis illegal.
Samsung A52. It was not the fastest or the best model on the market when I purchased it, but it gets the job done. Also I like its great camera.
Either I am a bad gamer or this thing is really hard to play on a phone screen.
Thanks for the compliment masklinn!

Paying users can turn off the button on PR descriptions (and free users have some flexibility on where it goes). I hope you understand we can't provide the service free and secretly :D
harperlee: open list of affordances that an average user comfortably identifies with an Excel file, not really with sqlite

sofixa: version and comparison is not really supported in Excel

harperlee: agree that software support is not there, but in practice average user knows how to do it and is quite comfortable doing it in Excel

btreecat: sqlite also has filenames and you can learn how to use it

harperlee: agree on the filename, Excel files and sqlite files are externally, opaquely versionable in the same way. the point about people learning is moot though, average user already knows Excel because they were forced to in the past, but does not have the time to learn new things.
It was more like a pokemon for sushi. I'd take a picture of the sushi, select type of fish, and where I ate it. And then I would have this collage of all of the different types of fish.
Trees are generally difficult to classify well with computer vision. It's hard for the models to establish context because at a scale where you can see the whole tree you tend to include lots of background. If you include a bark photo, it's often ambiguous if there's growth/stuff/weathering on top. Flowers tend to be good inputs.

The training imagery is also really inconsistent in inaturalist and again for plants it's hard to establish context. These are mostly smartphone pictures that non experts have captured in the app. While someone might have verified that a plant is a particular species, because there isn't any foreground/background segmentation, there are often confounding objects in the frame. On top of that you only get a 300px input to classify from. With animals I'd say it's much more common for photographers to isolate the subject. There's also massive class imbalance in inat, a large number of the observations are things like mallards (ie common species in city parks).

I guess the best solution would be to heavily incorporate geographic priors and expected species in the location (which I think is partly done already).
It's moving up in the rankings based on frequency. Its nearly up there with "you'll never believe what happened" and "person x shocked the Internet"
Not the point.

The point is, if company has enough to give thr CEO a raise, they have enough to give the average employees raises.

Further than that, they should prioritize the average employee. Meaning, if they have extra money, give it to the average employees first, then if there is leftover, give it to the management.

A rising tide raises all ships.
That it's hard to process mentally seems like a very subjective thing. I would rather order the numbers being compared in a sensible way, relevant to the context in which the comparison exists.

I.e:

currentCar.speed > Constants.MAX_SPEED

But again that's also a very subjective opinion.
I disagree. It's not the purity of the functions, its having to know the details of them. The details, which could have existed here, are now in two other places. If you need to figure out how a value is calculated, and you use a half dozen functions to come to that value, you now have a half dozen places you need to jump to within the codebase.

Small functions increase the chances of you having to do this. Larger ones decrease it, but can cause other issues.

Also, many small functions doesn't make code modular. Having well defined, focused interfaces (I don't mean in the OO sense) for people to use makes it modular. Small functions don't necessarily harm it, but if you're not really good at organizing things they definitely can obscure it.
https://en.wikipedia.org/wiki/Hans_Reiser for those who might wonder
The power of large corporations and their marketing departments.
Not ideal, but you can basically run whatever you want on it, you just have to revalidate its licence each 7 days (for which you might need a mac).

Also, even without that there is ish which can run most x86 software.
I have been using Jellyfin on docker with h/w transcoding. Had no problems, running smoothly.
Fixed, that's what I get for not drinking enough coffee
I read the paper on arxiv and found the efficient work coming from interleaving them an excellent result