Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions

mqudsi on most sites.
Submissions

comment 2y ago · link · parent

Uuidv7 is inspired by ulid.

comment 2y ago · link · parent

My point was that this only encodes numbers and you wouldn’t use numbers as primary keys for the reasons outlined.

comment 3y ago · link · parent

I haven’t been able to find a case for this because ids either need to be unique or they’re not going to be large. If they’re unique, I’m using uuid or ulid (uuidv7 of tomorrow) as the sortable primary key type to avoid conflicts without using the db to generate and maintain sequences.

Where do you have unique ids that aren’t the primary key? I would be more interested in a retrospectively unique truncated encoding for extant ulid/uuid; ie given that we’ve passed timestamp foo, we know that (where no external data is merged) we only need a bucketed time granularity of x for the random component of the id to remain unique (for when sortability is no longer needed).

Or just more generally a way to convert a ulid/uuidv7 to a shorter sequence if we are using it for external hash table lookups only and can do without the timestamp component.

comment 3y ago · link · parent

No, you can’t even compare that because the information isn’t packetized. Again, we don’t see in pixels so you can’t just consider sensory input in that manner.

comment 3y ago · link · parent

This is completely and fundamentally an incorrect approach from start to finish. The human body - and the human mind - do have electrical and logic components but they are absolutely not digital logic. We do not see in “pixels”. The human mind is an analog process. Analog computing is insanely powerful and exponentially more efficient (time, energy, bandwidth) than digital computing but it is ridiculously hard to pack or compose, difficult to build with, limited in the ability to perform imperative logic with, etc.

You cannot compare what the human eyes/brain/body does with analog facilities to its digital “equivalent” and then “math it” from there.

Also why trying to replicate the human brain with digital logic (current AI approach) is so insanely expensive.

comment 3y ago · link · parent

Yes, it’s stupid. Recent Ubuntu releases have added meta packages to apt that actually instruct snap to install instead. You have to first add the Mozilla Firefox ppa and then use apt pinning to say that you want the “Firefox” package from this repo and not that one. But then it works forever after.

comment 3y ago · link · parent

You shared an effective response to my opening statement - certainly more thought than I put into making it. Thanks.

comment 3y ago · link · parent

The original tweet makes the claim, but the tweet seems prone to hyperbole as well.

https://twitter.com/SawyerMerritt/status/1696011140508045660

comment 3y ago · link · parent

Did you just repeat the headline?

comment 3y ago · link · parent

You are correct; it is, and flippant HN comments that are additionally incorrect are starting to become a thing. See the original tweet: https://twitter.com/SawyerMerritt/status/1696011140508045660

comment 3y ago · link · parent

To emphasize your second point: I have learned that cats are much more “obedient” - but really, much less inclined to suddenly just not give a damn - as kittens than when they get older.

I had an extremely bright kitten that learned his name in a week, would come running no matter where he was in the (fairly large) house when I called his name, even if he was asleep, etc and would perfectly play fetch, up to and including bringing the toy all the way back to my hand/lap.

He didn’t forget his name or how to play a year later. He just realized he doesn’t have to get up from his comfortable spot just because I felt like calling his name. Likewise he figured if he just makes a half-ditch effort to bring a fetch toy back, perhaps picking it up a few paces only, I’ll still pick it back up and play fetch with him again.

They’re creatures that (who) have mastered the art of doing the bare minimum to get by.

comment 3y ago · link · parent

I’m sorry for your loss; that sounds like a phenomenal cat friend!

comment 3y ago · link · parent

That is adorable! All my cats were always consistent shoulder riders in their kittenhood, but the physics of balancing a 7kg feline stretching almost a meter in length on a lanky guy’s shoulder(s) are a lot more challenging than placing a tiny ball of fluff in that same spot and walking around.

comment 3y ago · link · parent

Yes, in all versions of English, actually. But no one will even pick up on it or judge you for it - the rules have grown lax.

Nevertheless, in formal, written English, “who” is the overwhelmingly correct choice. Cf https://books.google.com/ngrams/graph?content=people+who%2Cp...

comment 3y ago · link · parent

I agree that language matters. But we also say “the people that..” even if it’s not as grammatically precise as “the people who..”

“Who” is more often identified with individual/identity than sentience. They’re not talking about particular, individual cats.

comment 3y ago · link · parent

I know what you meant but generally really unfair to even mention or phrase it like that. “Downloading things in snap” is more correct.

Snap has done such a disservice to open source software’s perceived quality.

comment 3y ago · link · parent

You don’t need to do that. You can install it via apt from the Mozilla ppa, then it updates automatically along with everything else.

comment 3y ago · link · parent

Do these people type all lowercase on purpose? Is it a power move/status thing?

I'd have to go out of my way to type like that, on mobile or at a workstation.

comment 3y ago · link · parent

Spectrum continuity and spikes, flicker, active cooling, ridiculously short lifespans at ridiculously high levels of brightness, and a sprinkling of “the old way is the only way”?

comment 3y ago · link · parent

It's in the article.

comment 3y ago · link · parent

I haven’t had VS lock up on me in ages. Probably since version 2019. A ton of work has been done to move everything out-of-process (and in doing so, make it async) and remove synchronous hooks.

Are you using 3rd party extensions? ReSharper? Lots of badly written (even tiny extensions that you’d think would be basically no-ops) can make VS lock up again.

comment 3y ago · link · parent

Oh. lol.

Thanks for pointing that out, it's appreciated.

comment 3y ago · link · parent

It looks like it's basically whisper-2 with extra training against datasets for specific languages that brought incidental improvements to the rest. Support for some of the languages is still really bad (from real-world experience).

comment 3y ago · link · parent

They say whisper-3 will be available via the api soon. Does anyone know why only whisper-1 was ever made available via the api (no whisper-2)?

comment 3y ago · link · parent

I’m not aware that this policy has changed. What has changed is that Google will rank results it can’t (officially) index without showing their content. I’m guessing they do shadow index them but use the whole “if you outwardly can’t tell they did then it’s as if they didn’t” C++ compilers use to get away with insane optimizations.

comment 3y ago · link · parent

I don’t know of any off-the-shelf product that respects X_FORWARDED_FOR unless the current request ip originates from a whitelisted (or lan) address.

comment 3y ago · link · parent

Not for any publicly hosted instance, it’s not. We’re not talking about the time it takes to perform one request but the scalability it affords a small vm to handle so many requests in parallel when it is being used by the general public.
1
414243
277