skysight-inc/HackerNews huggingface dataset:
`-fsanitize=undefined` enables some runtime warnings/checks, `-Wundefined-behaviour` would presumably enable some kind of compile time warnings/checks.
Flesh-Eating Bacteria That Can Kill in Two Days Spreads in Japan [Jun 18, 2024]

https://www.unmc.edu/healthsecurity/transmission/2024/06/18/...
Reminds me of Moe on the Simpsons saying I've done things I'm not proud of. And the things I am proud of are disgusting.

You should be proud like that.
No.

I spent two entire days attempting to understand (let alone correct) whatever was going wrong with the Tensorflow build.

The error messages were inscrutable, as was the debug output. There was a fair bit of official documentation, but little of it was "unhappy path" documentation, and what there was was unhelpful. As far as I could tell (and it was difficult to tell given how I was generally unable to understand the problem), none of the folks talking about this tool on the Greater Internet had ever run into this problem. [0]

I've never run into this problem with CMake, SCons, Make, or any of a dozen or two other build systems I've worked with. To put it another way, I've NEVER had a single problem with a build system be utterly impossible to understand and solve inside of a working day. (Sure, I've had to spend multiple working days solving multiple problems to get a build right, but I've never had any one problem prove to be utterly unsolvable in one day, let alone two.)

How easy it is to get into failure modes and (more crucially) how much support the system and supporting documentation gives you for both identifying the failure mode you're in and getting out of it are much, much more important than being the fastest thing out there. [1][2]

Unless I'm getting paid to use it and am required to use it and nothing else, Bazel is absolutely not worth my time.

[0] This must obviously be not the case. Given the circumstances, whatever I was running into, it's certain that TONS of people must have run into it. But it's telling that I couldn't discover any other people who were running into this.

[1] Yes, I'm sure that you've never had a significant problem with the tool. There are many, many useful tools out there that folks rave about that have burned me and burned the folks I work with badly enough that we won't touch them, ever.

[2] Also, if you learned to use Bazel inside the Googleplex, then that absolutely is a scenario covered by my statement: "I'm sure it's legitimately fuckin amazing when you learn it at a company that's big enough to have one or more entire teams dedicated to internal developer tooling..."
UWP was designed primarily for Windows phones, usability on desktops suffers. And it requires windows store, you can’t just ship an installer .exe

WinUI seems to be copy-pasted from UWP, same usability issues on desktops. Unlike UWP, it’s a mess in terms of software quality. Also the runtime is huge, I think the size in MB even exceeds Electron.

About MAUI, it seems Microsoft decided to make an abstraction over native controls. It’s been tried for decades and it always results in the same suboptimal result because these GUI frameworks implement the least common denominator of available UX. In addition to that, on Windows that thing uses WinUI3 backend, see the previous paragraph.

I don’t know anything about Blazor, but it seems that thing is for web apps?
Yes! Software that decodes, then re-encode naively/lazily is essentially doing double lossy encoding.

Reminds me of the early MP3 days, when people would download 96kbps files, then reencode to 320mbps to 'improve the quality'.
Kotlin wasn’t designed with Compose in mind. They shoehorned it via compiler plugin.
Yeah, you'd preferably want to recharge it before the land subsides. But even if you don't it's best to try to maintain the current levels than let them decrease even more.
> Since making a decision in itself is subjective

Not exactly, and that's the whole point. E.g. the whole reason things like credit scores exist is to provide an objective, calculable metric that determines if someone should be offered credit. And, critically, how that metric is generated follows some straightforward rules, so that it can be shown to be free of illegal biases.

Obviously there are other decisions that aren't simply boiled down to a single number, but in general even those decisions that include some subjectivity try to provide clear, objective rationale as to why a decision was taken.
I've used FLTK for an application. It relies heavily on opaque pointers and convention. The compiler will not help you out if you mess up.

https://github.com/gammasoft71/Examples_FLTK/blob/c6f630eaa3...
They said it was stored with Git LFS, so it's just a pointer in the repo, not all 80 MB.
> You can instantly tell when someone’s being disingenuous

I'm being entirely serious, and I write my legislators about it.

Apple and Google are unfair monopolies that happened to be at the right place and right time. They now get to lock every single other player out of an entire domain of economic activity. What's more, they get to relentlessly tax all other technological innovations in perpetuity because they're wedged in as the only two options.

Have you ever had to pay extortion money to place ads for your own product's name? Have you ever had to schedule unplanned product development to jump through platform changes? Have you ever had your customer relationship severed completely on a whim?

You're one decision away from having your business demolished with these two titans.

Apple and Google aren't freedom. They're totalitarian dictatorships that tax us into subsistence living and make us dance to the beat of their drum. We are harmed by the fact that they've usurped so much control over technology.

The DOJ ought to split them into ten different companies apiece, but absent that, their control over mobile and search should be a liability, not a forever enslavement.

Computing should be as competitive as the automotive sector. Smartphones haven't seen advances in half a decade, and yet these companies are forever entitled to the most important device category on the planet. There isn't a way for any other company to come in and compete. It's absolutely impossible. Regulation is the only path.
I wouldn’t mind if those people blasting FM radio used headphones. I don’t believe it’s because they can’t afford them.
She's being blackballed.
Wouldn’t that be excluded due to cost?
A similar system (that I have not used yet) has been adopted in Ireland, and apparently it works really well?
Chaos Engineering in Front End Development: Enhancing Application Resilience
I'm curious to read about it, do you have links? I can (slowly) read Mandarin.
CyberPower CP1500PFCLCD Ups with External Batteries (2x12V 100Ah AGM Deep Cycle)
You’ll have far too many messages.
Don't just jump ship. But do actively look for better opportunities if you are not satisfied where you are.
> Adding regulatory burdens to voluntary transactions doesn't really seem to be in the spirit of expanding freedom to me.

Lots of folks are unbanked and cannot get credit (cards):

* https://en.wikipedia.org/wiki/Unbanked

It would given them more freedom to participate in the economy.
It's not just one program but most. DoD let the industrial part of the MIC loose without meaningful fiscal controls. They don't even track every subcontractor properly.
Do be a quitter How I broke my exercise streak – and smashed my fitness goals
So the butterflies flew 2600 miles only to be killed for study by some curious entomologists?
Hand-written code :)

I don't split an existing RSS feed, but I scrape a website, and store the posts in a database, with a column for the user who posted it.

Then I generate an OPML file with URLs like http://localhost:1234?user=... per user, and spin up a web server that fetches only that user's feed given the query parameter. Import the OPML into the news reader, and bingo bango.
I wish there was a way to crop lossless and with deleting the unused data (not just metadata/bitstream filter). I feel like it must be technically possible with some kind of partial re-encode.
> I describe it using Donald Rumsfeld's famous quote: "You go to battle with the army you have."

It's a great meme, but all capabilities in existence have not been brought to bear, not even close.

> We all wrestle with the limitations of our mental apparatus.

Agreed, but to very different degrees, and in very different ways (as in positive wrestling vs negative).

> Also, reality is always more complicated than any concise description of it. No experienced scientist would claim otherwise.

a) You 2nd sentence is subject to your first.

b) You have no way to know this. I on the other hand do: I talk to scientists on the regular who make unsound claims. There is nothing about science that renders its practitioners immune to culture, propaganda, ideological blindness, heuristics, etc (despite it being an extremely popular, faith based belief).
You do realize that most of the networking stack is big-endian, right?
The internet is big-endian, and generally data sent over the wire is converted to/from BE. For example the numbers in IP or TCP headers are big-endian, and any RFC that defines a protocol including binary data will generally go with big-endian numbers.

I believe this dates from Bolt Baranek and Newman basing the IMP on a BE architecture. Similarly computers tend to be LE these days because that's what the "winning" PC architecture (x86) uses.
Actually, the "model/" (note: singular form) directory (package model) would be preferred in the golang world.
> There is no "the Internet".

> there is no "the Internet" in the real world.

https://news.ycombinator.com/item?id=37754535

> You have to figure out your metaphysics before you can talk about this sort of thing.

This is a very good point, but easier said than done.

https://news.ycombinator.com/item?id=25415441
It’s also annoying to use a password manager. It would be much easier to just use the same password on every account.
FWIW, below is a bash script I've used for generating ffmpeg cuts, based off of a pretty useful stackoverflow suggestion. Input to the script is a file consisting of start/end times in seconds, one set per line. If the video has no sound, it looks pretty much the same, just without the atrim/outa parts.

C=0;echo -n "-filter_complex '";
while read f;do
A=($f);echo -n "[0:v]trim=start=${A[0]}:end=${A[1]},setpts=PTS-STARTPTS[${C}v];[0:a]atrim=start=${A[0]}:end=${A[1]},asetpts=PTS-STARTPTS[${C}a];";C=$((C+1));
done <$1
for i in `seq 0 $((C-1))`;do echo -n "[${i}v][${i}a]";done
echo -n "concat=n=$((C)):v=1:a=1[outv][outa]'"
echo ' -map "[outv]" -map "[outa]"'
I am not an economist. Yes, common resources such as water are rivalrous, and thus not public goods, but forgive me for not having the full vocabulary that a student of economics and privileges would.

You should be understanding the points I'm making here as I believe I've highlighted what I think is salient. Others can disagree with whether these points are indeed salient, but they (and you) should at least basically understand the point I am trying to make.

I assume John Locke would understand, as he was alive during the passing of the Tenures Abolition Act of 1660.
The latency before/after histograms unfortunately use different scales, but it appears that eg the under-200ms bucket is only a few percentage points smaller after the change, maybe 38 before and 33 after.

What I'm curious about is whether Neon can run pg locally on the app server. The company's SaaS model doesn't seem to support that, but it looks technically doable, particularly with a read-only workload.
Most users have just developed a learned helplessness. It doesn't mean they don't like it.
I gotta say, as someone who uses Java for the majority of my professional day-to-day work, Java’s keystore and truststore workflow is very annoying. Compare to Go, Rust, etc. where you just point your HTTP server (or what have you) at some PEM files and off you go.

It’s not a huge deal in the grand scheme of things, but it’s frustrating to need to do something special just for Java.
I saw this on HN and though “great I was just about to write this but now I don’t need to” - I have a legacy blog, a link blog and another thing I update which all produce RSS and I want to create one big feed of stuff I write, regardless of which platform I chose to put it on. Seems like I can use this for that.
Another month, another article falsely claiming that these trade routes haven't been known for years. It's also not limited to India-Egypt. The Greeks traded with Ancient Ethiopia. As did the Romans, who also traded with India and even as far as China. That sea route through the Arabian Gulf has been well established for millennia.
It’s an apple exclusive thing, as they seem to be the only implementer of a USB Bluetooth HID bridge which the Broadcom adapter essentially exposes in firmware. There are a few Bluetooth dongles with CSR chips that can be turned into USB HID interfaces with previously paired Bluetooth peripherals.
Sure. And that would be a good reason to promote more efficient irrigation along with the aqueduct. And to limit the amount of water removed from the river, and to construct reservoirs to manage the seasonality.

However, calling the proposed aqueduct "regressive" is not a good reasoning.
Educational, mathematically transparent, well documented cryptography in Rust
> There are plenty of ways that you could let users communicate with a program on your server that do not involve remote communication through a computer network.

Could you give some examples?
Although throwing the missed-a-stitch exception remains frustrating, potentially requiring undoing quite a lot of work
It might be a bit of a "Prisoner's Dilemma" situation, and by being the first (among hype hawkers) to point out the Emperor's lack of clothing, they're hoping to come out ahead by throwing their competitors under the bus first.

If this catches on, it'll mimic the lets-do-layoffs meme spreading virally among tech corps -- IIRC it was Elon's "look I can layoff most of the company and it'll still keep going" which started that trend.

Edit: Let's not forget that Goldman Sach will definitely be betting on these outcomes (puts, etc.), so by pushing this narrative, they're definitely going to benefit.
Computational mechanics.
Still better than the circular arguments like vim is faster because vim is faster.
The US DOT publishes "Mishandled Baggage" statistics. These lump together lost and damaged, but for example states that Delta was around a 1 out of 256 chance to get "mishandled"... so, I'm not sure if the stats on this page are really all that far off - they seem all within the range of believable to me.
DAB works worse in that kind of terrain, so good luck with that.
I was also exploring randomness in JS at some point and found lots of interesting things! One was that the Alea PRNG algorithm[1] by Johannes Baagøe performed faster on JavaScript's floating point numbers. Another was that Dieharder[2] is a really fun tool to test PRNGs. I also made an attempt at consolidating other PRNG methods which were not great[3] and that led me to other people who had done the same[4].

And finally I tried to make a nicer Dieharder wrapper and a simple PRNG library, but lord knows how relevant it is anymore: https://github.com/blixt/js-arbit

I guess in this archaeological dig I also found how many useful resources on the internet disappear in less than a decade.

[1]: https://web.archive.org/web/20120502223108/http://baagoe.com... (Baagøe's original site is down)

[2]: https://rurban.github.io/dieharder/ (old site is dead, though here's a web archive link: https://web.archive.org/web/20170609075452/http://www.phy.du...)

[3]: https://gist.github.com/blixt/f17b47c62508be59987b (Don't use this)

[4]: https://github.com/nquinlan/better-random-numbers-for-javasc... (this is mainly a mirror of Baagøe's wiki)
I wasn't joking at all (but if I had been I'd nonetheless be very tempted now to refuse to put it aside).
i didnt ask for a product catalogue, all im asking is to clarify whether you are truly FOSS or not by being transparent about the license.

Any type of licensing conditions like AGPL 3.0 to force you to share your code is a no go for many many companies.

I understand the desire to make money and you can do that without AGPL 3.0
I'm guessing from spreadsheets riddled with per-cell SQL fetches.
He's going to make backends pluggable. So other more scalable backends than sqlite could work
Milano Due
Not surprising. Typical "modern" Microsoft. Reinventing things poorly is so common these days.
Or nestled in a flowery hat work by someone on a trans-atlantic flight? SO many holes in this story... :-)
The Amazon Echo Look had similar features:

https://www.theverge.com/2018/6/6/17431486/amazon-echo-look-...

I am not sure how well it did or if they are still selling it.
To the downvoters: I just assume that a person who identifies enough with the high water use avocado to have it in their user name would have done some research into agricultural water use.
Functions and inverses with 2 insightful examples
Ask AI to write you a simulation of a hockey game where everyone skates towards the puck.
> That's... clever

It's tech debt
Indeed, it happens that a subset of the freedoms ensured by the AGPL align with what the OSI wants, but that is not why the license exists. They are completely different movements.

The original comment was:

> AGPL is excellent for promoting the spirit of open source

This statement is not about the practical compatibility of the license, this is a statement about what the license stands for. The license categorically does not stand for Open Source.
https://commandcenter.blogspot.com/2012/04/byte-order-fallac... covers that part.
I’ve never personally seen a butterfly glide past a second or two. Are they capable of long distance gliding? The alternative that they’re flapping their wings continuously for weeks on end seems almost unbelievable.
I guess this will start to happen everywhere in the EU, now. In Germany it has also already started:

https://www.heise.de/news/UKW-Radio-Schleswig-Holstein-schal...
When I read lossless, I immediately thought about the editing of the real lossless formats like ProRes, MJPEG2000, HuffYUV, etc. But what this ultimately does it remuxes the original container in a new one without touching the elementary stream (no reencoding).

It's no wonder that it uses FFMpeg to do the heavy-lifting, but I think it's worthwhile for the community to understand how this process ultimately works.

In a nutshell, every single modern video format you know about - mp4, mov, avi, ts, etc - is ultimately the extension of the container that could contain multiple video and audio tracks. The tracks are called Elementary Streams (ES) and they are separately encoded using appropriate codecs such as H264/AVC, H265/HEVC, AAC, etc. Then during the process called "muxing" they are put together in a container and each sample/frame is timestamped, so the ESes can be in sync.

Now, since the ES is encoded, you don't get frame-level accuracy when seeking for example, because the ES is compressed and the only fully decodable frame is an I-Frame. Then every subsequent frame (P, or B) is decoded based on the information from the IFrame. This sequence of IPPBPPB... is called GOP (Group of Pictures).

The cool part is that you could glean the type of the frame, even though it's encoded by looking into NAL units (Network Abstraction Layer), which have specific headers that identify each frame type or picture slice. For example for H264 IFrame the frame-type byte is like 0x07, while the header is 0x000001.

Putting all this together, you could look into the ES bitstream and detect GOP boundaries without decoding the stream. The challenge here is of course that you can't just cut in the middle of the GOP, but the solution for that is to either be ok with some <1sec accuracy, or just decode the entire GOP which is usually 30 frames and insert an IFrame (fully decoded frame can be turned into an IFrame) in the resulting output.
That way all you do is literally super fast bit manipulation and copy from one container into another. That's why this is such an efficient process if all you care about is cutting the original video into segments.
> uses native Win32 components and offers no styling options

It's a feature.

Custom styling should be considered a hostile pattern in most cases, except in highly specialized software with workflows dependent on prior user experience, such as DAWs.
Uno is closer to a full stack rather than front-end in comparison with Avalonia.
Perhaps the one you're replying to doesn't want a "truly large project".
That is some amazing freaking efficiency right there.
Do you want a warning on every for (int i = 0; i < n; i++) loop?
> There is a lot more functionality to deal with everywhere. Just handling modern security, encryption, and certificate checking stack can take up more space than entire executables from the early 90s.

What does this have to do with bloated GUIs?

> Im fairly certain everyone who says this has simply forgotten how slow mechanical hard drives were. I occasionally have to pull out a very old laptop, hope that it still boots, and do something on it. Everything is so painfully slow in ways I forgot about. It’s refreshing to return to my modern PC.

I remember 98/XP running circles on mechanical harddrives compared to modern PCs on ultra fast SSDs. The fact that despite thousand times faster hardware we have slower performance is disgusting.

> If you don’t think modern apps have more functionality, I don’t know what to tell you.

Care to provide an example what modern applications have that older ones lack? Except for always—on connection and artificial bullshit imposed by modern OSs.
Styling functionality doesn't have to imply introducing a new look and feel, it might just be needed for extensibility.
You forgot cash pickup and delivery costs for big stores or sending two employees to the bank with the day’s revenue (that’s the cost a lot of cash-only merchants in Germany usually don’t calculate for). Also don’t forget the counting of the day’s cash, two employees 30 minutes each.
In practice, I don’t plan on adding an entire proprietary layer - that is just way too much work, and it defeats the purpose. If the open source code has bad performance, why would someone even bother with a hosted version? Like, I want people to be so impressed by the open source code that they’d trust a cloud version to be even better. Clickhouse and duckdb do this very well.

The main difference I expect with a hosted solution are things like multiple tenants or billing integrations. These aren’t core to the product and only necessary when you need to host someone else’s data.
there's an example in the first reference link associated with the CVE: https://cosmosofcyberspace.github.io/npm_ip_cve/npm_ip_cve.h...

Granted, it's basically if(function_from_lib(user_input)) make_http_request(user_input) , which imo seems like a bit of a forced example, but it is an example
I'm curious now.

The Union had some tobacco production -- 50 million pounds compared to 225 for the Confederacy. Was that enough for morale?

Also, it looks like cigarettes weren't popular until after the Civil War. What would the morale hit be like for Civil War era pipe/cigar smokers running short, versus the meltdowns experienced by cigarette smokers?
Yes, having to go to someone senior and justify $1M in server purchase periodically does introduce actual cost discipline.

Cloud offers rapid scaling which also means uncapped incremental OpEx, which for large established enterprises presents some unique challenges.

You can try to be permissive so teams can iterate more quickly than on-prem, which then leads to ever growing spend. Or you can be restrictive, and then the flexibility and rapid scaling of cloud is slowed to that of datacenter ops.. but with the added overhead of cloud margin padding.