skysight-inc/HackerNews huggingface dataset:
I think most languages let you chose which version of UUID you want - with most defaulting to the random version (I think 4?) by default.

There are other versions that are sequential/time-based though, but using these could open the door to de-obfuscating whatever data you wanted to protect via UUID's in the first place (like how many sales orders you receive per hour, etc).
For what it's worth, I discovered them on my own.

And, no criticism at creating your own implementation, but it's very, very far from the first CLI-clipboard integration.

If it makes you feel any better, I've coded up my own solutions to several problems, only to discover existing, and better, solutions myself. Multiple times.
It was kicked off be someone leaking the balance sheet, but no prior audits and due diligence from ventures were able to discover it.
Engineered Cells Are Super Soldiers That Hunt Down Cancers
How to keep your kids from binge drinking: imbue them with good taste. Binge drinking will become too expensive
Not to be too pointed, but if I invited you into my house and you told me my choice of tech was a faux pas, I would invite you out again.

I have a number of Alexa and Siri (and Ring and Nest, for that matter) devices -and- I'm aware of the far-field microphones -and- I'm aware of the surveillance potential, -and- I have chosen not to care. That's in no small part because the options for monitoring me go further than that, and they will be used if someone has that much interest. So I'm not going to limit my own convenience just to make it trivially harder for someone to do something they're unlikely to do anyway.

As far as being a guest in such a house, like most other places you don't personally own or control, I think that's something you either just have to roll with, or choose not to come by--for your own sensibilities. If you were my guest and told me you cared, I'm sure we'd just stick to the back yard, but that would be because you have a strong preference, not because I'm somehow "wrong."

To be clear, I would not expect you to agree with my stance at all, but if you actually told me to my face I was somehow breaking a social standard that only exists for a very niche set of people, or implied whatsoever that I was doing it out of naivete, I think that would be very offensive. I hope that is not something you really do in real life.

And no, in ten years of having a house full of microphones and various security geek friends in and out, nobody has ever told me the same. That's because it's fairly normal nowadays (and damned near unavoidable with some devices such as, for example, your phone or tablet, or your console's game controller, or your TV's remote control) to have a single one, and once there's a single one you may as well have as many as you need.

If anything, I think them consolidating to Alexa, Google, and Apple is probably a good thing. For awhile there, we were starting get microphones in all the individual devices too, and then you really have no control.
Wow thanks for mentioning this. I hadn't even heard about the Scribe, it seems really cool.
Mentioning concatenative programming gets an instant like from me.
For the for math-y and proof oriented content, you can look at "The Tao of Functional Programming"

For something more practical, but in PureScript, this e-book has tons of examples and detailed explanations (most concepts translate to Haskell) https://jordanmartinez.github.io/purescript-jordans-referenc...
I really like the look of C9 bulbs as well, but incandescent strands these days are all pretty cheaply made - and actually, anything you buy in a typical big box store I think probably isn't going to last more than a season or two in good conditions. I don't have specific recommendations - all my lights are addressable RGB LEDs. I would look for commercial sets, which I would suspect are designed to be more durable for longer-term use.
> If a factory increases efficiency resulting in idling of the machines for 2 hours thus decreasing costs, yet at the same time keep the prices of its output same - that would never ever considered stealing.

I disagree: the shareholders of the company clearly would consider it to be stealing if the machines were idling for the mentioned 2 hours (i.e. they are not used to produce more money to the shareholders) if there does not exist a good economic reason for this decision (e.g. the downtime of the machines is used for better maintenance of them making the production process more reliable; not spilling the market with the products enables the company to demand higher prices for the product (artificial shortage)).
Then due diligence wasn’t done. This was not a complicated fraud. Someone competent simply needed to ask the right questions.
There might be a slick method to prove your final approach works to generate a uniformly random permutation. First, it's easy to prove if the number of players, n, equals the number of sides of the die, m. Because a random permutation is characterized as the first player equally likely to land in any spot, along with the permutation among the remaining n-1 players into the remaining n-1 slots being uniformly random. If n=m, then the first player's number that they pick determines where they end up in the permutation. And by induction, the remaining players pick a permutation uniformly from the remaining slots. The base case of n=m=1 is immediate.

Now the slick proof for the case m > n is to add m-n extra "dummy" players. They get to pick after the n players have picked. By the above argument, we get a uniformly random permutation of the m total players, including the dummy players. But when we remove any subset of players from a uniformly random permutation -- in this case, the dummy players -- we are left with a uniformly random permutation on the rest.
Well, this is a mint 93 Miata body. In a few years, it will be more valuable than the Holy Grail
Regular people also likely prefer junk food to healthy food. The former is laden with sugar, fat, and salt and is engineered to appeal to the vast majority of people. It doesn’t mean that junk food is quality food.
Red Hat Enterprise Linux 9.1
The Haskell Road to Maths, Logic and Programming by Kees Doats and Jan van Eijck may be of interest to you.

https://staff.fnwi.uva.nl/d.j.n.vaneijck2/HR/
How the Great Depression shaped people’s DNA
The opposite.
That is the FP version of the classic https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris... .
One can overengineer stuff in both FP and OOP.
Wine tasting is exactly like bicycle saddles. Like saddles even have tiers, $20, $75, $150, $300, $500+.

Sometimes, when you spend more money, you get a better product, but it might not fit your ass (technically your sit bones, but I digress). Because human physiology differs greatly between people, you really do have to try a bunch of bike saddles to find the correct one that works for you . This can be a time-consuming and expensive process. In in an attempt to narrow down the correct answer, you might look up some reviews online. But in the end, it really comes down to what you like and there are no shortcuts.
But then you're back to collisions, and you may as well be using longs.
Cannot tell if this is satire. Your precision pointing device has an alternative clicking mode, commonly referred to as right click. Have you discovered that yet?
“a light scent of a vomit in the dumpster”
This is literally true, and it's why decanters exist. If you oxidize a wine, it mellows out the sharpness by letting some of the protein break down.
This ridiculous straw man comes up all the time. Stop it. Nobody said "governments are always good" or denied that dictatorships exist.

The rest of this is pure irrational FUD. Democracies are not dictatorships.

A president doesn't have the legal authority to freeze finances like that. They are not a king.
It looks like no one has said this yet. Many of the higher price/quality wines are expected to be cellared for a certain number of years after release. Opened too soon, they will have too much tannin and/or acidity. It costs money to keep wines under the correct conditions. One thing that drives up the price of a bottle is whether someone else already did this for you. A 2014 Bordeaux right now, on average, will cost a lot more than a 2020 of the same wine.
>Many folks buy cheap DVDs, because their favorite movies stop being available on their current subscriptions of streaming services.

This is it for me, except I’ve never bothered with the subscription services because they never seem to have what I want to watch at that moment.

I can “rent” a digital viewing for $4, or go on eBay and buy a new or gingerly used copy for at most $6.50 - even 4K Blu-Rays. eBay every time. RIP it, add it to media library, and the disc lives in a binder as the ultimate backup. Watch it whenever, on whatever, forever.
US civics education is horrendous. Only 30% of US students are proficient in civics standards. About half of US adults sampled couldn't even name the three branches of government; an elected US Senator said "Our government wasn’t set up for one group to have all three branches of government. … You know, the House, the Senate and the executive". A huge majority wildly misunderstand the first amendment [1].

I used to volunteer with a civics ed non-profit. Students, almost all whom had already completed their required civics curriculum, entered our program with all sorts of wildly insane misunderstandings of American governance.

[1] https://webcache.googleusercontent.com/search?q=cache:g4DAnD...
"Certs" is a brand of breath mint.[1]

[1]: https://en.wikipedia.org/wiki/Certs
A few times FizzBuzz appeared on HN, I made this point ...

> "Outputting fizzbuzz should be done by executing the (one and only) piece of code that outputs fizz, followed by the (one and only) piece that outputs buzz. That is because fizzing and buzzing are two separate activities – consider the FizzBuzzHissHowl problem, where hiss and howl are printed for multiples of 7 and 11 respectively. The program design of Exhibit A and B would lead to an explosion of code complexity."

... but always got voted off the island in favor of Exhibit A.

Unclear to me why the canonically correct answer examples for various languages are almost universally mistaken as described there, and yet so fiercely defended!

Perhaps Exhibit C is like Fight Club, to be kept hush hush as a shibboleth for sussing out Principal Engineers?
Thanks, but I don’t buy to shuck anymore. I have had two failures in the last few months, so I’m looking for drives with good warranty.
I don't think that's correct. It appears that this was designed using topology optimization.

https://en.wikipedia.org/wiki/Topology_optimization
Bold of you to assume some people wouldn’t want to rewrite history while telling you they are happy to rewrite history.
As the DoJ points out, the NSO needs to argue which government they represent (and they have not) which makes it silly to claim immunity.

The NSO is basically saying "just trust us, we represent a government or two".
Whatever my kids are getting for Xmas
SEC Rule Change Could Ease Path for Investors to Gain Seats on Corporate Boards
you skip team selection, not bootcamp. every engineer and EM go through bootcamp
I think v7 uses microseconds since epoch + random data. The odds of a collision should be practically 0, or more likely to find a sha256 collision.
https://blog.arduino.cc/2017/10/05/arduino-announces-arm-par...

and

https://hackaday.com/2017/10/05/who-owns-arduino/
There’s nothing special about a “search warrant” compared to other equally valid forms of legal process.
Duckietown [1]

[1] : https://www.duckietown.org
The graph in the paper is very telling. It's pretty consistent with ADHD having non-significant negative correlation with EQ. But it's also very consistent with a small effect :)
I don't have anything to counter your points, we're in agreement :)

My argument had apriori assumptions for the general audience on HN (VC funded startups, FAANG/MAAMA folks, etc). We can start off with different assumptions, I have no problem with that. Ultimately, I agree that we should change laws as we see fit so everyone can flourish.
Hoe good can the due dilligence be if it fails to realize that not all parts of FTX had audited balance sheets?
They're still paid more than California labour. And in any case, apart from not needing irrigation, growing conditions here are way more difficult than California. (At least for now). And equipment and input costs also way higher.

(I grow about a 1/2 acre of grapes here in Ontario)
I went to dinner with my dad and a coworker of his when I was a quite a bit younger. The coworker suggested a bottle of _very_ expensive champagne that he and his wife had enjoyed together before.

It was very nice, and I said something like, “my limited experience with champagne probably doesn’t give me the proper appreciation for this.”

He said “Nonsense. If it tastes good to you, then it’s a good champagne, period.”

That’s kind of been my motto for food and drink ever since. Regardless of price, some things are just going to please you more than others, so enjoy them.
FTX’s ‘chief regulatory officer’ Dan Friedberg tied to online poker scandal
I've never understood why UUIDs are... a thing. I understand how it can useful to have a name for different kinds of identifiers, but what is the purpose of adding variant/version bits and unifying different kinds of IDs into a single thing called a UUID? The article for instance never did anything with the "UUID-ness" of the IDs so they might as well have started with "random 128-bit integers".

Can anyone explain this?
No, I feel I had enough working with people but not coding.
Reminds me of the loss leader strategy:

https://en.wikipedia.org/wiki/Loss_leader

A retail shop will put TVs on sale for 50% off but only keep 5 in stock. They advertise it everywhere, 100 people show up looking for cheap TVs, find it's out-of-stock and buy one of the expensive ones that are only 5-10% off.
The second half of paragraph 2 on page 7 of the brief:

>And no foreign state has supported NSO’s claim to immunity; indeed, NSO has not even identified the states for which it claims to have acted as an agent.
> The “outdated” knock on it is relevant because it points to Wyze once giving a nod to tinkerers

The RTSP firmware for the v3 isn’t even a year old (was released after June 2021), so “once was a nod to tinkerers” combined the rest of your vitriol makes me wonder if you have an axe to grind. Did Wyze kick your dog or something?
What about his solution (160-bit (20 byte) random value that is then URL-safe base64-encoded)? Is that a good and properly used security measure for a URL?
I don’t think uuids are designed for obfuscation, though they certainly help with that as a side effect. I could be wrong though, I’ve never looked into it.
Note that I was responding to post mentioning 'provably correct code' which is very different opportunistic efforts to improve code.

Note that parsing a context free grammar maps to a stack machine. The Halting Problem uses a Turing Machine. I don't think it applies! (But if you do still want to show off your knowledge, please elucidate. I've forgotten about half of the automata theory I covered as an undergrad and in grad school.) For parsing tasks corresponding to computational models which are less complex, like regular expressions, the problem is well under the threshold of "semi-decidable, with enumerable inputs" in your words.

Generating 'provably correct code' in the general case is simply not possible without major advances in math.

Note that I was responding specifically to the problem domain of parsing and compiler compilers, and that most parsing problems involve models of computation which are akin to a stack machine or less powerful.

People generally throwing out The Halting Problem as an objection without carefully considering the particulars/context is one of my chief pet peeves.
Amazon customer spends £630 on phone but is sent wire cutters instead
> And I specifically think it has to do with our capacity to either do
continuous creative problem solving, or engage with large varieties
of different people - both activities that humans have not
historically had to engage in for extended periods of time in
previous eras.

Perhaps oddly, I absolutely thrive on those challenges. Constant
adaptation, analysis and overcoming, all forms of mental soldiering
(even against the odds) feed my addiction to "dare and win". So long
as I have agency.

There's something else going on. Seems to me there's a lot of people
exhibiting a torpor/apathy that's at odds with their good physical
fitness, high mental energy levels, and general enthusiasm. Something
demoralising that saps our souls.
And you haven’t even covered the magical world of triple net leases yet
Convertio
I made a comparison list with the most known uuids out there, a couple of days ago, it was quite fun discovering all the different kinds of uid and their pros/cons.

https://adileo.github.io/awesome-identifiers/
They could do anything on their phones.
> But, imagine a language runtime which didn’t do that - that hid the host OS so well, apps written for it couldn’t know or care what the host OS was (or whether it was actually bare metal). Such a runtime would have greater claim to be an actual OS.

I'm not sure about such a definition.

This would make more or less any ISA implementation on higher level hardware an "OS":

On advanced chips the ISA is just an API. The code gets JIT compiled by the hardware into its actual machine code.

I would not really agree an ISA (implementation) is an OS…

> […] only consuming a small subset of services provided by it (such as memory management).

Well, memory management, I/O, task scheduling, HAL, and all the other things an actual OS provides. ;-)

A runtime (or usually a few of them) is / are part of an OS. But a runtime isn't an OS by itself.

The parts that talk to the hardware are what makes some runtime an OS…

> Nowadays, many OS don’t actually run on the “metal” directly, rather under a hypervisor. On some architectures, a hypervisor is architecturally mandatory, there is no ability to run without one. Whether some facility is implemented in the real hardware or the hypervisor may be an implementation detail which can change over time, oblivious to the OS.

I think I've clarified this point already.

A (type 1) hypervisor is an OS (according to my previous definition).

> I don’t think “runs on bare metal” is necessary to be an OS, especially given it is not always clear any more what actually counts as “bare metal”

Well, the question is more whether it (potentially) can run on bare metal.

You can run any OS in a VM, sure. But you could never run a "non-OS" on bare metal. That's the difference.

A runtime that can't run without an OS (the part that runs on metal) is not an OS. But sure, such a runtime could be in fact a very large part of an OS.
Not quite sure what you're asking here.

Pico8 is defined as running Lua. You could, in principle, define your own fantasy console that used Python instead of Lua, but it wouldn't be Pico8 anymore.
It looks like it's a $5 bottle of wine, which would make the CEO's taste appear cheap despite the reputation as a connoisseur.
Half these problems stem from massive income inequalities in society.

The president of the Netherlands famously bikes to work, vs the US president who travels around with a security detail at all times.

> His young children's best friends are their personal body guards - former military personnel that must be present around the clock as a stipulation of their kidknap/ransom insurance.

A problem stemming from income inequality. Organized crimes, such as kidnappings, start to occur in societies so unfair that being part of a crime syndicate seems like a good life choice for people.

If someone with 10 billion wants to feel safer, spend 9 billion improving the QoL in their chosen city. In an society of stark inequality, no amount of money can buy peace of mind, as you point out, money just buys physical security, and being protected from bad things happening is very different than not having to worry about bad things happening at all.

> Bob spends the majority of his birthdays alone, on the phone to my family member, often crying about how lonely he is.

I've had a few "wealthy", not rich, but 8 figure, friends and acquaintances. Perfectly normal house parties. The house is nicer, and the works of art on the wall are real, but nothing crazy. They also didn't flash their wealth around, very low key, nothing special until you opened the door and looked around carefully.

That said, I'm sure another couple 0's on the end of the bank account balance complicate things.
"traditional" = funds holding publicly listed stocks and bonds? Basically, mutual funds? If that's it, there isn't a "traditional" asset manager that is going to Kalshi to put bets on events.

Note in the post - the buyers who head to goldman to get exposure through a basket of positions are not "traditional" asset managers.

Put another way - the relevant asset managers were not restricted.
Guess which suppliers lobby to keep those hoops.
For the sake of a counterpoint to this essay, which widely derided at its time of publication - this is an example of the contemporary backlash it received. I’d urge anyone taken by Fisher’s essay to consider giving it a read.

https://www.opendemocracy.net/en/opendemocracyuk/all-hail-va...

A more detailed critique is available here, if the above is too light on specifics:

https://nothingiseverlost.wordpress.com/2013/11/23/vampires-...

Nine years later, Mark Fisher is in the grave, and his proposed great voice of the working class Russell Brand is hawking crank nonsense like anti-vaccine conspiracies [1] and the use of Ivermectin as a treatment for Covid-19 [2].

I think it can be quite comfortably said that the essay hasn’t aged as well as some would like to imagine.

[1] https://www.vice.com/en/article/z34zd9/russell-brand-ivermec...

[2] https://www.bigissue.com/culture/russell-brand-interview-loo...
> It isn't that we "hate him" as he claims, it is simply that we strongly believe he is wrong.

Then please write up a dispassionate rebuttal citing published findings that dispute his claims. This piece is not that. It's mostly links to smug twitter posts and material that debunks really old "race science" that has nothing to do with Hancock's claims. The author claims scientists have "repeatedly addressed" Hancock's ideas, yet doesn't really provide that material. It feels super lazy and reactionary since most of the "refutation" is to other peoples' ideas not echoed by Hancock. I don't even care if Hancock is wrong or right and I'm not going to die on this hill, but I'm smart enough to take his show at face value as a fun speculative "what if". Sorry, just not buying the white supremacy/race science angle here. Feels like the easy straw man attack.
I had a database table where I used UUID as primary key. Big mistake. Haunts us to this day.

Not sortable. Takes a lot of space. Table relationships are annoying. Etc.

What we do instead is have a secondary UUID key and keep Bigint as primary keys. Then use the UUID column in the external context instead.

UUIDs are fine for 99.99999% of the time in your own domain.

Don’t expect universal uniqueness across all domains.
at least with wine there's less of an ability to quantifiably refute most of the bullshit
https://jrsinclair.com/articles/2022/whats-so-great-about-fu...
Citrus (grapefruit is probably the worst offender) inhibits your body's absorption of some medications, so taking both in conjunction can become toxic over time.
Mdash – 6.8kb standards-based UI library
If you’d been a vegetarian for 30 years, your evaluation that it tasted like “the real thing” is very suspect.