skysight-inc/HackerNews huggingface dataset:
Could anyone please explain what stroke expansion actually is either on high school or math undergrad level?
Could a fire-breathing animal ever exist?
Found 2 relevant locales in my area (both well known) then the rest were dating back over 10 years including those by police departments that no longer exist.

So not exactly useful.
>Interesting. For a BackBlaze type device with 60 drives, that's 3.6PB of raw storage.

BlackBlaze storage pod are 4U, that is 0.9PB / 1U. We have been able to store 1PB per U since ~2020 with EDSFF. So the density achievement isn't quite new.
Can you please just fix the internet already?
CNC pottery is so much fun. Highly recommend getting into Rhino / Grasshopper if you aren’t already. You can go as deep as you want, and programmatically generating gcode means the world is your oyster (or at least the clay is, or at least when it cooperates)
That's good to know, but the burning question is: why? Is this a critical but otherwise background part of the update? A clever time saving choice that didn't pan out well?
That was it if I recall.

They wrote a small script with the logic involved in the merging. PKs and FKs of only one database had to be incremented by an offset of max(table.pk) + safe margin.

They did this for each table.

Once this script was tested multiple times with subsets of each database, they stopped production and ran the script against it (with backup fallbacks). A small downtime window in a Sunday.

And that was it. The databases never had to pay the UUID tax, before or after.
Re temp, I’m glad we use F for daily life in the USA. The most common application I have for temp is to understand the weather and I like the 0-100 range for F as that’s the typical range for weather near me.

For scientific work I obviously prefer kelvin.

Celsius is nearly useless.
You are rolling your own crypto
Apparently if you pile up enough of them, it can reach a critical mass where the rest of the colony says "fuck this" and "nopes out". A large enough pile of dead ants near a colony entrance can cause the rest of the colony to leave their current location, pack everything up, and re-build their colony elsewhere.

My friend used this to his advantage during college to successfully evict several ant colonies from his room. YMMV.
Yeah pretty much, although ids can still be a little better. The big problem for us is that we need the security of UUIDs not leaking information and so v7 isn't appropriate.

We do use a custom uuid generator that uses the timestamp as a prefix that rotates on a medium term scale. That ensures we get some degree of clustering for records based on insertion time, but you can't go backwards to figure out the actual time. It's still a problem when backfilling and is more about helping with live reads.
The Propeller-O System
Another example of confusing numeric systems emerges from 12-hour clocks. For many people, asking them to specify which one is 12AM and which one is 12PM is likely to cause confusion. This confusion is immediately cleared up if you just adopt a 24-hour clock. This is a hill I'm willing to die on.
I would pick PHP for its intended use, web dev without fat clients. Laravel is the best framework I have ever used…and I have used them all.
Nobody's asking to reprogram anyone. Just stop using one of two conventions. The reason to do it is simple and obvious. I'm really baffled at the responses here advocating strongly for the current way. But I guess that's just a "people thing"
No, I don’t. Even with a timestamp uuids are not enumerable, and honestly I don’t care that the timestamp they were created at is public. Is the version of uuid used being a part of the uuid considered a leak too?
A Low-Complexity Start-Stop True Random Number Generator for FPGAs
There is no such thing as a word for "1700s" in most European languages.

Also in English it sounds weird, as you have to pronounce it "seventeen-hundreds" whereas the correct pronunciation is "one-thousand-seven-hundred".
So 1700s is unsuitable for formal writing or speaking and doesn't map naturally to most languages of Western civilization.

But yeah, I guess the author finds it hard to subtract 1 in his mind :) I could go off about the typical US-centric arrogance that I see on this site, but I think it's already pretty funny as it is.
Generally, I think, modern Perl is when rather than doing OOP with "bless" they use the Moose module.
> In many business scenarios with zero-based indexes, you need i+1 everywhere because no-one talks about the e.g. the zeroth year of a company's operation.

Perhaps, but this is extremely rare compared to tasks that are far more elegant with 0-based indexing. Also the worst you can get there is a single +1 in the display code, while trying to shoe-horn algorithms into 1-based code can get much more awkward.
Awesome XMPP
well i did basically an infinite stream of site consumption, i stored visited and to-be-visited urls but this can easily grow too much.
Yes but my point is that you need to use it to initially find out anything about it. What does it do?

Then I question what this does that a simple Google search can't (find local radio stations that play online).
I would pay excellent money to get my hands on the floppies that held my childhood programs. They're long gone.

So if you're just getting started today, I recommend you keep copies of everything you do. It's fun to go back and look at, and maintaining those copies is a lot easier to do than it was in the 80s.
A path is a line with zero or more curves, finite length, and zero width.

A stroked path is a path with a non-zero width.

Stroke expansion is going from a path to a stroked path.

Turns out that the math is quite complex.

I'm in search of a precise and consensus definition of a path with non-zero width... does anyone know where that is in the svg spec?
Software should strive to be no more complex than the underlying problems it attempts to solve. I don't think it can be simpler than the reality it needs to address.
In light of the issues being uncovered about Signal (storing messages and media encrypted, but storing the key unencrypted on the same filesystem) among other things, I thought it might be worth making sure everyone on HN is aware that Jabber (XMPP) is doing very well.
> Every annonymized communication strategy that touches state owned isp as endpoint is bound to fail.

What major ISP isn't state 'owned'?

> which is why starlink is such a game changer.

That has got to be one of the most naive comments I've read. Yes, the company that works on defense projects is a 'real game changer'. If there ever was a state 'owned' company, it's starlink. If there ever was a state 'owned' person, it's elon musk.
> As a kind of collective public shaming, council has erected huge yellow and orange billboards that face the houses opposite the site. “THESE SIGNS WILL REMAIN UNTIL THE TREES GROW BACK”, they read.

Good. I was thinking hot-pink cell phone towers to replace the trees.
Losing updates to the atomic counter is thread safe behavior, it's just a logic bug.
Art, from the Ground Up
See papers / implementation for an implementation without the need for cry^Wblockchain. https://www.nongnu.org/libtmcg/
Oh yes feel free to join https://oilshell.zulipchat.com/ -- there is a whole #shell-gui channel . We are mainly developing OSH and YSH now, but it would be nice to work on the interactive shell too

The key idea is that OSH and YSH can run "headless" with the "FANOS" protocol (file descriptors and netstrings over unix domain socket), which has a tiny implementations in C and Python

The reason we use FD passing with Unix sockets is so that anything that uses terminal still works:

ls --color
pip install
cargo build

All these programs will output ANSI color if `isatty(stdout)` is true (roughly speaking).

Most people didn't quite get that -- they thought we should use "nREPL" or something -- but my opinion is that you really need a specific protocol to communicate with a shell, because a shell spawns other programs you still want to work.

---

Here is a pure Python 3 implementation of the recv() side of FANOS in only ~100 lines

https://github.com/oilshell/oil/blob/master/client/py_fanos....

It uses the recvmsg() binding . I'm pretty sure node.js has that too? i.e. it has Unix domain socket support

---

Anyway, thanks for taking a look - we're interested in feedback!
>I genuinely gain the security of some measure of defence against other people doing things at my expense.

If I need security, I buy anti-virus. But I can't opt out of Apples "security". I don't see that as a good thing. If apple wanted to offer that at checkout, I wouldn't mind at all.

Worst case scenario, I backup all my stuff. My phone exploding should not ruin any more of my livliehood than losing a few days of phone calls would. I can protect myself without some non-consentual agreement from a vendor whose relationship should end after the device ships to my address.
that time has passed even when the source code is fully published simply because the volume is too great, and we must either trust someone to do it for us (or at least that someone has liability if it goes wrong), or have some manner of insurance because doing so is impractical.

>that time has passed even when the source code is fully published simply because the volume is too great, and we must either trust someone to do it for us (or at least that someone has liability if it goes wrong), or have some manner of insurance because doing so is impractical.

I'm not going to pretend I consult the AOSP everytime I hit an odd quirk on my android. But I like the ease of mind knowing I can take my ball and go home if Google goes rogue (and I can argue thst it has already done so, years ago).

I ultimate trust people mush smarter than me for that, but I like having more than one biased source to rely on. And heck, I might help contribute if angry enough. That's the power of open source. The best possible insurance when I go in loops under "official channels".
AI has been unleashed on the world in a profoundly irresponsible way. It's not generally leading to better products and solutions. But it is leading to a lot of people with money-- and who want to make a lot MORE money-- making lots of wild claims and hoping that leads to profit for themselves.

All this greatly muddies the waters. I am a tester. I have done some deep dives testing ChatGPT. I can tell you that whatever claims are being made on behalf of AI products, they are LARGELY UNTESTED. AI nurses? BARELY TESTED. AI tech support? BARELY TESTED. When I scratch the surface of AI I see shocking failures that are being papered over by hucksters and fanboys.

Can ChatGPT really pass the human tests the author spoke of? Is it cheating on those tests? Are the tests part of its training data?

In my field, claim are being made that AI can replace human testers. When I try to make ChatGPT test it falls right on its face. But if you don't know anything about testing, the demo would look plausible.

I'm sure a lot of of jobs will be lost, but not because AI is making anything better. It's because people in power have discovered that the law doesn't prevent them from making life worse for most people, at little risk to themselves. Yes, you can use AI to make illustrations. They are terrible illustrations; and they achieve what they do achieve by ripping off original artists.

World governments much pass laws taxing these companies and forcing them to compensate humanity for the theft of our collective intellectual property.
Single Transferable Vote:
https://www.electoral-reform.org.uk/voting-systems/types-of-...

Previously Labor and Conservative parties plotted against it, along with the newspapers.
So how, if engineers are equally responsible, do they enact their fair share of change? Adopt a strict guild-level code of ethics? I find this unlikely in the US political climate; someone will always happily step in to implement Manifest v3

Someone in leadership could literally flick their wrist 3 times and MV3 is dead.

This doesn't sound like an equal responsibility type of situation to me.
Yes but it’s clearly not good enough
But you're always arguing the odd case:
- 32 bit systems
- cygwin git on Windows instead of native
- expecting deduplication on different files (???)
Huel, like the sound you make when you're dry heaving.
Show HN: STORI - Automated Storytelling with AI
We created STORI because we needed it. Yes, you’ve read it right. As a growing startup we were facing a problem - need for consistent content marketing and social media presence. But we were lacking marketing people who could help us not only shape our brand, but turn it into a platform and communicate it consistently. Then we thought - what if AI could help us? We started working and the rest is STORI. It helps us create, edit, publish and schedule content for months within minutes. See how it can help you.
Treat yourself, stranger.
SpaceX's competitors are crying foul over Starship launch plans
You're conflating two different things. FWIW, I'm generally pro rapid DNA testing of families crossing the border. I think they should be held together unless there's reasonable suspicion or a DNA test proves otherwise. The policy I'm talking about only lasted a few months, it wasn't something Biden changed.

The child separation crisis was sparked by a zero tolerance policy for adults crossing the border. This meant if anyone crossed the border, even legitimate parents, the parents would immediately be sent to jail and the kids separated. So even if a DNA test would prove you were the parents, your children were taken from you. You were not told where your kids were. There was no plans on how to reunite these families after.

The government was so disorganized in this process they actually lost the documentation of which kids were whose. There are still children Trump separated that have not been reunited with their families from this program, six years later, largely due to either the incompetence or malice of the Trump administration's record keeping. The government seems to have even lost kids and somehow aren't even sure exactly how many kids they detained in this process.

I'm sorry your media programming is preventing you from understanding the actual child separation crisis that happened which was committed by the Trump administration. This was the crisis for which Melania flew to Texas. It is pretty incredible to have someone accuse others of "media programming" when they don't even have basic knowledge of the topic at hand due to their own media sources white-washing atrocities and suggesting separating families with no plans for reunification by default for misdemeanor crimes is a good thing.

https://en.m.wikipedia.org/wiki/Trump_administration_family_...

Where does this say anything about DNA testing programs that were ended by the Biden administration? This program was ended before Biden was even elected. Unless you're trying to argue Biden was able to end a federal program in June 2018. I thought Trump was president in 2018, but maybe that's just my media programming.
Good evidence that this guy is right about everyday engineers deserving blame for this kind of thing is the many hoops he jumps through to justify manifest v3. You don't try so hard to misrepresent the situation if you don't bear some responsibility.
https://changelog.com
Google Chrome has another "AI training" API that has been there for a while -- document.browsingTopics() -- this is for passing information about your browsing history to ML on the Google side. Hard to be sure about what information about you can be inferred from this.

It might also be a good idea to block or warn about sites using that one.

More info: https://noyb.eu/en/google-sandbox-online-tracking-instead-pr...

https://github.com/w3ctag/design-reviews/issues/726#issuecom...
I've successfully utilized Qt5 (probably would work with 6 too) for framebuffer/OpenGL.

QML is nice, animations were much smoother than I expected.
Unlike “emergent property” and “brain” I suppose!
They're in both Hindi and English
That just seems overly cautious. I’d rather use UUIDv7 unless I have a reason not to. The convenience of sortable ids and increased index locality are very much worth the security issues associated with UUIDv7. Maybe I wouldn’t use UUIDv7 for tokens or stuff like that, but DB IDs seem pretty safe.
LVGL is pretty much the IOT industry standard for 32-bit architectures like Renesas RX, Arm Cortex-M, ARC, TI MSP, Atmel...

https://lvgl.io/
I'd say it's still equivalent. I just think apple was smart knowing most people are comfy in the walled garden and won't throw up a fuss.

Similar to Unity, these pricing ding the smaller people the most. But unlike Unity, the bigger players aren't joining the protest. I guess I was just foolish thinking businesses would at least think in the middle-term of "what if we want our own storefront one day ". I guess the EU might pick up that ball, but the Apathy from other devs is a bit disenheartening. The same Apathy that let these companies enshittify the net and turn into trillionaires as punishment
I don’t understand why people track keywords for their own sites with third party data, when Google Search Console hands over the real data for free.
Oh also, my feeling of why this may be interesting is if you think "I want to write a GUI for shell, but I can't modify the bash source code to do what I want"

That is, the shell itself is a limitation

OSH is the most bash-compatible shell by a mile, AND we can easily add new hooks and so forth.

I think most stuff can be already done with FANOS, but I think completion is one area that needs some testing / feedback. For example, I imagine that when constructing a pipeline, you might want to complete exactly what's available -- like shell functions that the user has defined ?
Thanks for the link to Vinge's thing - I hadn't read that. Shame he didn't get the superintelligence within thirty years of 1993 and died in 2024. Still soonish. I've always been interested in physics and have a hunch that we can't figure things like quantum gravity due to mind limitations. If an AI could do that that would really be superintelligence.
Blocking IPs from Mexico

Always boggles my mind why people do things like this.
You could try to import in pieces and try different export formats, unfortunately Ente doesn't have a great parser, so some otp codes could break the import process
„So the wise soul
governing people
would empty their minds,
fill their bellies,
weaken their wishes,
strengthen their bones,
keep people unknowing,
unwanting,
keep the ones who do know
from doing anything.“

That is Putinism in a nutshell.
At least conversion between Celsius degrees and Kelvin is easy and lossless
> A good NYC bodega is as stacked as a 7-11 in Tokyo.

No. And it isn't as clean, orderly and organized either.
> She explains that in some cases a tree can be bad for feng shui because it can potentially block the flow of money or it could throw off the balance of yin and yang.

These people are awful human beings and I hope these councils institute some real criminal penalties for cutting down any old growth.
> Celsius is nearly useless.

That's like ... your opinion man.

Personally I like knowing that water boils at exactly 100 degrees.
Is this like buying every car carrier trailer in the country and then crowing about "Tesla isn't delivering cars"? At least the government wasn't directly involved there.

When the rules are preventing them from launching at the same rate SpaceX is, I might listen.
Doesn't SCP just give you the same number of characters, since there is no select nothing action? The paste replaces whatever is currently selected. That's what it looks like the C++ code in the article is doing to me. That's also how a quick real world test works for me. That's why you don't see any SCP in their solution not followed by another P.
> (not just engineers but designer and UX researchers as well as all the other support roles like project managers etc)

Oh! I thought you were going to say "testing teams, design reviewers, trainers".

I'm not on-board with this "10-50x" claim for the amount of effort. I'd say maybe 3x the effort, given the developers have been well-trained, the methodology is sound, and the managers' focus is exclusively quality. That last item is one I've never experienced; the closest I came was on a banking project where the entire development team was subordinated to the Head of Testing.
How about secure by default?
Since pretty much everybody does that the problem is not with action of any single company. And the problem won't be fixed by actions of any single company. Let alone voluntary action.
Parent isn't saying he doesn't believe in it; he's saying: put your money where your mouth is if you're going to be causing such a fuss about things, and actually put energy into efforts that move the needle -- rather than continuously going on and on about actions that do so little to be more than worthless (e.g. stop oil protests blocking the roads leading to a loss in public favor, or the propaganda around recycling and personal-responsibility which adds onto concern burnout).

There is a lack of creativity in climate change activism. Which does beg the question: do people actually care deeply and seriously about this issue? Or are they simply trying to assuage their personal anxieties and other neurotic personality traits? I.e., are they deeply unserious people just doing this for themselves?
It's always fun how to debate how to square circles, something has to give, but what? My proposed solution is to make the first "century" 99 years.
We've banned Chinese telco kit and drones. Next: Mountain bikes?
Backend Banter
Awesome, thanks for packaging it!
The search for the random numbers that run our lives
To contribute if I may:

Page fragmentation from UUIDv4 can be desirable for SQLite because marking the same page as dirty can give SQLite little opportunity to sync it to disk. Causing contention. In this scenario your Write Ahead Log (WAL) file just grows and grows.

SQLite introduced WAL2 which means switching between 2 WAL files instead of one, helping to mitigate unbounded contention. But it's recent. Most tools don't have SQLite supporting that yet.
I'll add my 2c, and say that even with a really fluid password manager flow, "signin with X" is usually a 1-click entry (possibly 2 for scope authorization), rather than a signup form + leaving the site to click through an email verification.

I'd much prefer 1password to do it's "you last signed in with github here" popup, than just have easy new passwords created.
Creating a Simple Pastebin Service in Python and Flask – Muhammad
I'm less worried about theft of IP, and more worried about the energy cost for current AI systems. We're burning massive amounts of power for the current AI wave, and it is not all renewable.

I do think AI has a reasonable future, but we are not being reasonable about it today. I wish we could just punt it downhill for a decade, focus on getting our energy production to 100% renewables worldwide, let AI advance at a research-only level during that time, and commercialize it in 2035+, using whatever spare energy we have at that time.

Then we'd skip the power and money-based drive to get AI in everything today despite its poor quality and efficiencies.
Philip Morris is also still making a lot of money in Russia:

https://leave-russia.org/philip-morris
You could have spent the free time learning about new technologies or improving mastery of your favorite programming language?
Shorpy – The American Historical Photo Archive
I misunderstood your post, I think. I re-ran some experiments with a single-column index on SMALLINT, INT, and BIGINT. I'm still not sure why, but there is a significant difference in index size on SMALLINT (7.3 MB for 1E6 rows) vs. INT and BIGINT (21 MB for each), while the latter two are the exact same size. I could get them to differ if I ran large UPDATEs on the table, but that was it.