skysight-inc/HackerNews huggingface dataset:
> You still can't store a float in the database and get it back out unmodified. SQLite will expand it to a double,

When would a double not be an acceptable replacement for float? Seriously interested. If the application layer works with floats, then a double-precision float should contain all possible values. I'd really love to hear about the use-case, I'm sure they exist even if I can't think of one.

> and it can't store NaNs.

Well, neither can other small-time databases such as MySQL. Postgres does, though, which I did not know until googling it now.
Locks are worse than you think. I'm not skilled, I don't practice, but I've been able to get my parents back in their house within 5 minutes both times they've locked themselves out.

You call out masterlock but they're particularly bad. I lost the key to one and kept using it for a year because unlocking it was as simple as just putting the pick in while turning.
My understanding of WebGPU isn't that it was adopted over Vulkan due to security issues but because Apple (who essentially designed it) doesn't want to touch anything related to Khronos due to some litigation between them. Which is probably why WebGPU is made under W3C instead of Khronos (who made WebGL).
Seems curious to ban functions. If you ban function-pointers then you can statically ensure there's no recursion (including mutual recursion). At that point, all function calls are in principle able to be inlined, so any backtracking is merely a compiler-level implementation detail.

iirc, OpenCL C does something similar, banning function pointers and recursion (including mutual recursion), although it does so for different reasons than this pattern.
I recently restarted development, so I thought I'd repost and see if anyone from HN is interested/has feedback or ideas.
Restricting travel is not a punishment.

The naming issue was problematic for several reasons, but mostly populist: we don't want the stigma of a COVID variant being 'blamed' on a region.

"Fighting infectious diseases is a long game that involves the whole world."

Yes, that means if you're hosting a new variant, you're going to face travel restrictions . Just like if you get infected, you have to quarantine. And that's that.
PoW and PoS are exactly the same, 1 dollar gets you 1 vote. If you want 1 person, 1 vote you need 1) a census, and 2) a mechanism to prevent the sale and purchase of votes.
As someone who moonlights in the theatre industry (as a theatre photographer), I'm vaguely familiar with the economics of putting on shows - the article is very interesting and tallies with my experience.

However, I do question one line in the article:

> The average income of Broadwaygoers in 2018-19 was $261k — roughly 4x the median household income in the US.

$261k?!? the average income of attendees?!? That's can't be right can it?
Because it's global. I don't need to reason with anyone anywhere, I don't need to hire lawyers, I don't need to make a global enterprise fit local regulations that are often conflicting.
I'm not saying it's recommended, or even reasonable. I'm arguing that is not utter nonsense in some peculiar cases IMHO
Presumably thieves professional enough to pick locks are also able to break glass windows without making a lot of noise?
I understand the imagery is extremely disturbing, and the worst nightmares of the idea of a concentration camp, which are actually extermination camps, is not what is being executed at the moment by the Australian government, but the fact is, it's a concentration camp all the same. The idea existed long before Nazi Germany and has been executed many places outside it since. Even if it were absolutely true that every mitigating factor was at play here, the fact would still be that a precedent has now been set that the military can be used to round people up and put them in concentration camps.

As a civil libertarian myself, I think given the nature of governments, and in particular the Australian government, that precedent is something that should be horrifying enough to all observers, without extending it to the hyperbolic gesticulation of direct comparisons with the historical Nazi extermination camps, Soviet Gulags, Khmer Rouge killing fields, etc. And I believe that strongly enough that I'm planning to renounce my citizenship over it ASAP and would rather die than return. I cannot emphasize enough how disgusted I am by these events.

Further, the cover stories and reasons given just don't matter. Look at the reasons the Nazis gave for their concentration camps, it's not a long bow to draw; chief amongst them was disease control. Really think about the idiocy of offering alternative of even more expensive hotels to some of the poorest people in Australia as alternatives to said concentration camps, and then the cherry on top with the unique AU execution of the idea is that they actually have the nerve to bill the interns of said concentration camps anyway! 2.5k AUD per week for singles or 5k AUD for families.

I just can't believe this has actually happened, but when this entire covid event started, and the initial lockdowns dragged on and the AU government in general seemed intent on escalating degrees of authoritarianism, I drew a mental line in the sand and that line was military roundups and concentration camps, and no matter which way you slice it, the facts on the ground are that that's exactly where we are now. Even worse is that people I've known and respected my entire life, intelligent people in forums like this one, people like you in fact, and I do not intend at all to denigrate you by putting you in this group, but to draw attention to just how corrosive this kind of thing actually is to any kind of trust in a civil society, are defending, and even calling for the escalation of these tactics.

Meanwhile, no other country on the entire planet is doing this. Even the most egregious examples of Austria aren't going to these lengths. I really can't understand why anybody is trying to defend it, and even less so why they're calling for it to be escalated. I feel like I've stepped through the looking glass into crazy world.
PoW came from a paper by Cynthia Dwork (https://www.wisdom.weizmann.ac.il/~naor/PAPERS/pvp.pdf) not Hashcash
Corrected CBOW Performs as well as Skip-gram
The point isn't to increase the proportion of renewable power, but to decrease the total amount of non-renewable power. 10% renewables is the same as 90% renewables if the remaining consumption is the same total amount.

There is no market in the world where you are going to decrease consumption by increasing the demand. That's just not how economics works.
We did a bunch of benchmarking around this when writing nbdcopy (https://gitlab.com/nbdkit/libnbd/-/tree/master/copy https://libguestfs.org/nbdcopy.1.html) which can copy file to file as well as between local files and NBD servers. There was also the goal to avoid polluting the page cache, which depending on if you're going to use the file content immediately afterwards matters for system throughput.

Anyway long story short, the best thing we found (for Linux) was Linus's own advice linked from here: https://stackoverflow.com/a/3756466 To do is to combine this with io_uring.
A rock wrapped in a t-shirt doesn't make much sound.
Yes, but these files only get made, when:

- There is anything to create a thumbnail cache for

- User has applied custom settings like a folder icon or designation to the folder
Ugh, no. I’ve worked in a codebase where CI would reject changes that had too much ‘code complexity’. You’d constantly have to find clever ways to split up your code, when doing so did not make sense, to appease the complexity checker. Oh yeah, and if you ever make a one-liner change, you might end up
being forced to do a full refactor because that one line pushed the complexity threshold over the edge. The results: PITA for developers and worse code. What a crock of shit.
Nope. If China had closed borders in early 2020, we wouldn't be having this discussion today. Same with ZA: close borders, quarantine, be responsible. Oh, and don't play dumb, get your population to vaccinate.
I was in this situation, I lost roughly 2k£. I tried to go to court for 8k£ in small claims which is what the law allowed for as a compensation for the crime.

This guy got arrested by the police, he was released and then run away to Dubai where he's from.
He came back after a month and opened a company under a false name and started doing the same scam. I knew his address, I reported everything to the police and the police dropped the case without doing anything.

I'm already paying 25+k£ in taxes every year. If I didn't have to spend that and there would be no police or laws, private companies (aka burly guys with guns) would be needed to ensure citizens safety, in exchange for a fee. Different private companies would need to interact with each other to settle down cases, eventually agreeing on a set of laws to compensate people subjected to crimes.

In this hypothetical world, I would have been happy to pay for my protection agency to go and fetch this individual and bring him to a private court where my protection agency and his protection agency could debate whether the crime happened or not.

It was a blatant crime so there was no reason I would lose and that guy should have been forced to return my money (according to laws agreed on by contracts between our private protection agencies) or work in jail until I'm repaid.
What do you think they use the nsa datacenter in Utah for? Real-time tracking of cell phone voice, text, and data, probably global. All the best cool deep learning advances seen in public are probably in play, a lot of awesomely powerful open source software has been released since Snowden. Who knows what's been snatched and classified for their private enjoyment.

Thank god for stringent oversight and constitutional protections, right?
You can fork far in the past, before you cashed out. Any new entrants into the network will not be able to distinguish your fork from the real chain.
You cannot be slashed for this in the real chain because you already cashed out your stake there.

This 'long range attack' is different from a 50% attack because it doesn't affect nodes that were running before the attack happened. But a situation where new entrants into the network are uncertain of the 'true' fork is not tenable in the long term.

This seems more viable for a value destruction attack than for a double spend. But value destruction can be lucrative for blackmail. It means a coalition of stakers could withdraw their stakes and state "increases the blocksize or suffer a long-range attack".
> Proof of Work does not get you any votes at all.

It only buys you the right to append a block of transactions to the ledger, which is the same thing as having 100% of the votes.
if there's a number of ultra-high net worth people there, it would push the average up, by a lot probably. Median income is a more representative number than average, when there would be outliers like that.
"These travel bans are based in politics, and not in science"

They are based in science. BC Health Data shows very directly that BC was mostly infected by the US, not China or Europe. We also know from NZ and AUZ experience that borders matter. In most cases it will be impossible to 'lock it out' but it will definitely be possible to slow the tide.

"unwilling to pass vaccine mandates when there was time but kept hording vaccines "

Those issues are unrelated, not really populist, and the UK was not 'hoarding vaccines'.
Open Swoole 4.8.0 released for PHP 8.1
I've heard the common way a burglar opens a door is using a crowbar.
Check change management. This is a complete field that goes way over just software integration.

The principal is that every human being is active and has a voice in the future architecture (based on spec).

Architecture is easy. Getting everyone on board is not. Luckily, it seems that human being are smarter together.

If you miss that, intern conflicts, architecture rejections will bring you integration project to a big failure.

Team / product competition is way easier to manage and is may be also the way to keep a bigger market share.
Not modern ones, but medieval Iceland worked: https://mises.org/library/medieval-iceland-and-absence-gover...
You have added nothing of substance to the thread.

Thanks for admitting you have nothing to say; I love comments that consist of nothing but sarcasm for that reason alone.

Please continue.
Isn't this the true for all metrics? They are useful for pointing out problematic areas, but as soon as you start optimizing only based on the metric things will get worse.

Number of instructions is probably not a good metric. Without any loops/jumps you might have a lot of instructions, but a very low complexity.

An endless loop executes a lot of instructions, but does not have to be complex.
It depends entirely on the jurisdiction. In Australia for example, any technology that is accepted by both parties can be used. I have signed contracts with GnuPG (a long time ago) for example. I have also sent documents to my Remarkable tablet, signed them there and sent them back without it ever being on paper.

Who is the "other party" to this contract? What forms of signature will they accept?
Damaging the lock in the process of picking it is also an outcome that isn’t shown in the videos. LPL damages locks as well.
Ask HN: Why don't we just stop Covid by
creating our own mutation that is highly contagious and extremely dominant. But harmless to humans...
Of course not :) They are targeted towards non-techies. Look at emails content, there's domain which looks funky and a URL you're asked to click -> that's phishing for sure!

Which begs a question: why they haven't "blessed" the messages from external providers, that are actually legit? Like with a warning "This message comes from a trusted third party".
But how are you going to get your power drill if you’re locked outside? :)
It’s a system with feedback loops, it’ll eventually level out at some equilibrium. You didn’t provide an actual argument for why it should definitely collapse.
> Not every occurrence in the world needs to be leveraged to air political grievances.

The comments on the original article certainly appear to have taken it as an invitation to air political grievances.
Owlet Stops Selling Its Baby Monitoring Smart Socks After FDA Warning Letter
Calling it a "punishment" is utterly preposterous.

For an action to be a punishment there would have to be an intent to punish - and of course there isn't.

This is, quite simply, a very rationale response to a potential threat; if this new variant had been discovered elsewhere, presumably South Africa would ban flights from that country, because it's a sensible, low-impact action that helps safeguard South Africans. Indeed, it's such an obvious response that to not take it would invite some serious political and media criticism.
A colleague of mine ran out of greek letters in his thesis. He added hebrew letters.

(pdf: http://www.andreas-lochbihler.de/pub/lochbihler06diplomarbei... look at the index at the end)
Some people seems to find audiobooks and podcasts fantastic, but I think it's somewhat correlated with your multitasking capability. If I go on a walk listening to a podcast or have it on in the background while working on something else I absorb only like 5% of it because I can't focus on it. As such it's useless for me unless I literally lay back in bed and listen to it. At that point I might as well just read something.
Also important to note that "prestige" here isn't a vanity thing; it's what makes or breaks your career.
Sometimes Proinflammatory Adjuvant are added to some Vaccines,

to promote a better immune-system response, and thefore greater antibody and T-cell production.

To achieve this, modern day Adjuvants are enclosed within a polymer along with an Antigen,

they also are good at creating a slow-release effect.
Maybe UK and USA should invade to give them some health
>connected to the project

By "connected to the project" you mean "funds the entire thing".
Relatedly, but I've always wished there were a series of books like, "I'm Already a Programmer but I'd Like to Learn ____"

Trying to pick up a book about a new programming language that is trying to explain the concept of an 'array' or whatever is annoying--I wish there was something to just lay out (still in a thoughtful and guided way) the concepts I needed to understand for that language based on already knowing several others.
> PoW miners tend to spend more and more resources on finding blocks, until the cost approaches the rewards. But the rewards go up as the cryptocurrency becomes more popular, because the price and transaction fees go up. Therefore, a PoW cryptocurrency tends to "eat the world" as it becomes bigger.

It’s actually the opposite since the block reward goes down over time
Some blog linked from here (maybe jvns.ca?) made the case that depth of your project's software dependency tree is an important metric. The more crap you have to pull in, the more things can go wrong. You're better off with a large program with no dependencies, than a somewhat smaller program with a ton of dependencies.

Language features on the other hand can let you develop complex programs quickly and reliably, by catching errors before the code gets deployed and so on.
Where is the difficulty in making miners expend their tokens (i.e. in a way that is irrevocable) instead of merely depositing them somewhere?
Unfortunately you can't do ioctls with io_uring, so you can't use it for cloning ranges...
It very well could be the mitigation of coordinated botnet attacks and the like. But the other possibility is the removal of a very easy method of showing disapproval. Youtube has been pushing more MSM sources on the platform and they don't want to harm their brand/product. Check out this Fauci Documentary trailer (with the extension, hehe) https://www.youtube.com/watch?v=zJYnE1xWdZI

And the above example also plays into the political angle of removing the dislike button. ie antivaxx narrative.
It makes sense to hide these files from many macOS users who don't care about them. For developers (who should be able to work with a Terminal) there's no need to resort to any magic or special command to make them visible! They are normal hidden files. A simple `ls -a` will list them too. You also have to put them in .gitignore as you put desktop.ini and other window managers' metadata files.

I wish the author explained in more technical detail or clearer how and where these files cause problems (not doubting that it does). In that case, it would have made a really useful article.
It seems that PoW does not need phone a friend to compare "which of these two chains is the true one", whilst PoS does need phone a friend for that.

However, that presumes all forks are soft forks; that you are presented a correct chain; that you want the soft fork with consensus rules accepted by most miners. (If verifying with an old bitcoin client the BCH BCT split will be resolved for you without you having a say.

In summary, PoW has less need for Phone a Friend than PoS. But it still has some problems.
Depends on the atack, a Lishi key should leave little to no scratches on the pins. Raking would leave the most.
I don’t investigate every shitcoin out there, but all of them have the same flaws in general. Your particular shitcoin probably has something called voting quorum, where only a fraction of global supply is required to proceed in staking. By reducing that fraction you’re making large stake holders more and more able to overpower all others the moment they decide to become malicious.

In PoW all hashrate is always voting and security is paid for external expenditure, not something virtual within the system.

PoS is a scam and you should stop supporting it.
Flutter Cupertino Typography with Material Colors
Huh that is very interesting. However I suspect that unless the door was actually damaged the insurer would just go "yeah you didn't lock your door, no claim for you" - I guess you'd have to pay to get your own lock forensics done.
Apple is so toxic for the ecosystem. This is Oracle level unpleasantness.
You have it backwards.

Nodes decide if they will append your block to their chain.

A miner that decides to mine out of consensus blocks is just burning money, and will be on their own fork with their “100% votes” that nobody else uses.

Give it a try, spend a few million on mining equipment and then try forcing something on the network.

It’s not a democratic system, never was.
> Bitcoin is already approaching 1% of global electricity consumption, if it hasn't passed that point already

And this is the reason why I cannot take any climate change conversation seriously unless it includes the topic of cryptocurrencies.

Whatever the promises of cryptocurrencies were, now most (all?) degenerated into a mechanism for speculation, and effectively into a self-sustaining and self-promoting mechanism for transferring wealth from the poor to the rich. And, unfortunately, with the side effect of consuming vast amounts of energy.
Which is better: optimism or pessimism? [audio]
> But attacking the lock is the last thing a smart or determined person will do.

I think that is contextual. In a whole lot of apartment buildings, the windows into the apartment are inaccessible from the outside. The door frame is metal, so kicking down the door would wake half the apartment building. Without a lock on the door, anybody who got into the building (generally easy) could silently enter any unoccupied apartment and nobody would know it. But with a good lock, nearly every would-be thief who can't pick locks will go someplace else.
Oh of course. I forgot about the difference between median and average!

For the purpose of the point the article was making in that section (about how the efforts to 'make Broadway more affordable and more democratic come up short.', the 'average' income seems particularly useless as a metric to gauge success.

As you point out, the median is a much better metric.
We moved to the US from a post-soviet country when I was around 12 and one night a few weeks or months later my dad came home with a Dell PC. It _may_ have been a Dell Dimension 4100, but I can't remember for sure. Pretty sure it was running Windows 98.

I can't remember the exact timeline, but in my memory I felt like we spent all evening setting it up. And finally, I heard the dial-up sound and saw the AOL logo. I can't remember what website I looked at first when I was finally alone and able to explore the PC by myself: I think I may have clicked to go to the AOL chat rooms, then typed random stuff into the search engine (I remember my best friend at the time had this idea that if you tYpE SeArCh PhRaSeS iN lIkE tHiS you would get different/better results). I may have also created my first email address that night.

I spent a lot of time in AOL and later MSN chat rooms, just arguing on the Internet or hanging out in the "speed fighting" rooms. It's how I learned to type quickly. I also discovered Geocities and started making my own websites right away, inventing role playing worlds and creating manually-managed games that nobody ever played (but which were very fun to invent and build websites for).
> "'Nu' is too easily confounded with 'new,' and 'Xi' was not used because it is a common last name," the WHO said, adding that the agency's "best practices for naming disease suggest avoiding 'causing offence to any cultural, social, national, regional, professional or ethnic groups.'"

> Those best practices were outlined in a May 2015 document issued by the agency. The organisation said at the time that it wanted to "minimise unnecessary negative effects on nations, economies and people" when naming infectious diseases.

source: https://www.nzherald.co.nz/world/omicron-why-who-skipped-nu-...
No Data, No Problem: Unsupervised Training of Transformers
From the reviews it sounds mainly from the OO/Java and heavy design up front paradigm and not very Agile / test driven. Is that fair? I'd really like a philosophically minded book that integrates these relatively newer approaches.