skysight-inc/HackerNews huggingface dataset:
I maintain a 50,000 line elm app. It's not the most used app in the world - has between 50-100 users. But it has had a sum total of 2 bugs since launch - both logic bugs in some complex financial projections.

Contrast with an elixir app of similar size that I also maintain. I fix on average 1-2 bugs per week, almost all of them are things that the elm compiler would have prevented like calling a function that was removed or renamed last month or not handling a case where a database request returned 0 records instead of 1.

Honestly though the biggest draw for me is the refactoring experience. For various reasons I had to do a major refactor of both code-bases. Not adding new features or anything, just restructuring the code and module layout to line up with the way the code actually functioned. Paying the tech debt essentially. I'd say both refactors were of roughly similar complexity, touching probably 75% of the files in each project.

The elm refactor took about 5 hours and worked as soon as I fixed all the compiler errors. I never had to fix a bug from that refactor - it just worked. And the code was way easier to understand after paying all that tech debt back.

The elixir refactor took 4 days, full time. 25ish hours. It also required me to write about 150 tests that weren't there before because the compiler wasn't able to point out code that would always fail at runtime. After deployment I had to fix a handful of bugs that still made it into production, despite how careful I was to not break anything.

Idk, being able to completely restructure the code without worrying about breaking anything really appeals to me for some reason.
Well.... If you cycle a battery between 30 and 80% its lifetime increases by almost 10x. The battery management on phones is terrible. Either the manufacturer is stupid or malicious.

The fact that phones have no option to bypass the battery when plugged in is another obvious decision to kill batteries on purpose. In fact, I built a relay that connects to home assistant to turn off my charger when the phone reaches 80% at night. My battery is much healthier for it. It would be dirt simple to add this option to your phone OS.
They nearly had a crash, and they are trying to cover up what happened. I think it is reasonable to assume they are "bad pilots" in this situation until there is more information.
Google search is still immensely helpful for a lot of tasks.

ChatGPT even today performs some tasks well e.g., extracting the intent from a natural language query, or generating text that on the surface looks human. It is often inaccurate on most tasks but it can I believe become better on some tasks to have a great economic effect.

Most most likely we won't get AGI though, and that's great because AGI that is not restricted by the human scalp is an existential threat. I'm not talking jobs, It is about surviving as a species.
This reminds me of something that happened to my sister in the US. She received a phone call saying that our father had been kidnapped and she was to perform sexual acts or they would kill him. She was told if she contacted the police they would kill him. She left the house in tears but would not say why. Our mother called the police, and my sister was stopped before she reached her destination. Of course, my father had not been kidnapped.

The point of my comment is that in the 30 years since then I have not heard one public comment on this technique or others used to entrap girls into human trafficking. Surely, knowledge of this sort of thing should be made common to protect girls. It appears that reluctance to publicly address this issue may be a common problem elsewhere.
This is great, any source repo/files? Thanks!
Iran marks revolution anniversary, hackers interrupt state TV coverage
API gateways are primarily used for HTTP traffic coming from clients external to your backend services eg. an iOS device (hence the term 'gateway' vs. 'mesh'). I don't think they support thrift or grpc (at least aws doesn't, not sure about other providers).
https://aws.amazon.com/api-gateway/
Court Reporters do not need an audio recording to produce an accurate transcript. Their certification requires them to be able to track 4 voices simultaneously at a certain word per minute rate into their Stenograph. I do not find the pilot’s request unreasonable and the NTSB can have the interview if they drop their unnecessary requirement.
Well yes, the whole thing is ridiculous. I'm just saying that if your metric for good and evil is body count, the entity who basically tricked humans into dying to begin with still comes off worse.

Also (according to Christian doctrine,) the default destination for human souls is Hell, not Heaven, because original sin is immutable. The vast, vast majority of humanity will wind up burning in Hell for eternity, including many Christians.

Again, except for a few people God just decided to let in because he liked them.
https://archive.is/b5I1x
Hundred Rabbits were talking about using a hacked Nintendo handheld with a custom OS; it’s for when they run out of power while sailing. These are the folks who made UXN, and even going as far as designing gestures and glyphs for each opscode so that computation can still be worked out without electronic devices.

I got interested in this from CollapseOS and Collapse Informatics, imagining a day when we lose our ability to make advanced microchips, but still have salvagable ones laying around.
http://interactive.blockdiag.com/packetdiag/

https://github.com/arnoldrobbins/dformat
Thanks for the feedback I will try to include some :)
Tried a lot of different approaches, from markdown to notion, to native browser bookmarks. Ended up liking https://anybox.app/ - great cataloging / sorting capabilities and plenty of keyboard control

I don’t have any vested interest in this company - no hidden connection. Just happened to find a nice solution in it.
The spy balloon was tons of material 10 miles above the heads of civilians that could fall at any moment and kill people.

A spy satellite is in orbit, and would likely burn up before hitting the ground.
ChatGPT Turbo Model
In case anyone is curious what paying $20/mo is like and choosing the new "Turbo" model, the responses look like this:

"We're currently processing too many requests. Please try again later."

So yeah... it looks a lot like the free option.
Nothing. But when you are from a specific political spectrum, before they came out it was "this is a conspiracy". After they came out it was "well of course that is how it works this is nothing new."
The king’s spice cabinet–Plant remains from a 15th C. Baltic royal shipwreck
Which is a great thing. If this were on YouTube, we'd have a 20 minute video, with a long and unnecessary introduction and a sneaky 1 minute ad at the middle of the video.
I built an internal resource for the folks in my org who are interested in learning more about marketing. [0]

My biggest advice is join marketing communities on the platforms you hang out on (Facebook, YouTube, Reddit, etc) so you can learn passively.

[0] https://contentdistribution.slite.com/app/docs/BFMS0Lg1Yz/Ou...
cool! I have pending to change the camera API. The current one uses the old Android API which was a pure mess. They went though 3 API iterations and now it looks quite sane :)
It's linked in the post: https://github.com/codewithbas/resume
My company has operated a cloud for three years that now manages hundreds of ClickHouse clusters on Kubernetes. We use the Altinity Kubernetes Operator for ClickHouse, aka "clickhouse operator," which we wrote and maintain.

I was very skeptical of data on Kubernetes when we first started, in part due to some initial experience with Kubernetes in 2018 but mostly due to prejudice against change. Overall it has worked out great. Here are 4 of many things we've learned.

1. Most modern databases are distributed systems. You don't just set up a single node but rather several or even dozens of nodes. Well-written operators make this relatively trivial even though it's quite complex underneath. In fact, the simplest way to learn how to set up a ClickHouse cluster is to bring it up under the operator and then look at the configuration on each container. That's how I learned it.

2. Kubernetes portability is overall quite good. We ported our cloud from AWS to GCP in 8 weeks. We've since expanded to run in many other environments as well.

3. We map ClickHouse server containers 1-to-1 to VMs spawned using Karpenter or native node groups. It makes it a lot easier to reason about performance, including things like network bandwidth to storage.

4. ClickHouse is still basically a shared nothing architecture where individual servers own patches of storage. Kubernetes enables a great scaling model if you use VMs attached to block storage--you can scale nodes from 2 to 64 vCPUs in a few minutes, plus you can easily extend volumes. This scaling model is in my opinion highy under-rated for databases. It's decoupled compute/storage that really works. With Kubernetes you get it essentially for free.

It's not all roses. Containers create new failure modes. You can't just ssh in, look at logs, and fix things. Pod crash loops [0] can be very problematic. Certain failure modes like bad EBS volumes (kinda alive states) are hard fix if your operator cannot quickly replace a node. And operator bugs create a new class of very-hard-to-debug problems. The best solution to all of these problems is not to have them, which means you need to focus--often for years--on operator reliabily and your day 2 infrastucture, such as monitoring.

[0] https://altinity.com/blog/fixing-the-dreaded-clickhouse-cras...

Disclaimar: I work for Altinity
Lot of green people in aviation right now, I imagine combined with labor shortage and the ceaseless greed of corporations pushing everyone harder anyway.
Except meth. Not even once.

But seriously, I’m fully on board with this sentiment. I’m so tired of everything quickly going to extremes. I’m glad to know alcohol has risks at any level. I’ll take that information and use it how I see fit. Same with cannabis, same with sugar, same with adult content, same with lead-containing enamel on my plates.

Give me the information I need and let me be responsible for myself. Awareness of risks is what we should be doing. Forcing people into padded rooms so they don’t hurt themselves is not.
Thanks for pointing it out, I will!
> It's not the crime, it's the coverup.

They may well had a technical reason, but I certainly don't appreciate them being underhanded about it. I don't have an apple device right now, so I'm generally out of the loop, but it seems like right now people can toggle the slow down, and also go get their batteries replaced. That seems like a pretty good end situation. Did I get that right?
The fact that police unions, or teachers unions, or pilots unions advocate for and defend their members shouldn't be a surprise. Everyone should be entitled to vigorous advocacy. The problem lies with who is vigorously advocating for the public and should they have better tools to do so. This is ultimately either an agency rule making issue, or legislative one.
That's a good rule of thumb, but I just don't have time to cook everything from scratch.
> You won't see databases on k8s in enterprise production environments. Startups or companies/services with lower reliability requirements, sure. But don't expect to walk into a fortune 500 and standup a postgres operator in production expecting to replace the existing federated solution.

Blanket statements like that should be taken with a grain of salt.

F500's are not one thing. You don't have to scratch deeply to find teams running production DB's on k8s (ignoring or accepting the trade-offs, of which there are many including working with vendors and existing DBA's and their solutions) and you'll find DBA's evaluating the same and other trade-offs for themselves.

I personally think that running DB's on multi-tenant k8s with nodes that weren't specifically allocated for it is strapping in for a bad ride.
Excellent.

Otherwise people sharing that criteria will never fix minor code style issues because "it was that way before, and it's such a minor thing, and it makes my merge harder, please accept the review and ship it don't be unreasonable", and of course we are "reasonable" and end up with thousands of "minor things" over time and the more there are the more people feel it's fine to leave shit in, the less comfortable they feel with the code until eventually they all quit and leave the mess to someone else.

I don't even want to imagine how bad the shitshow is going to get as AI coding assistants gain marketshare.

gofmt's normalization of code formatters was the single greatest achievement Go has to its name, and Prettier was a clear improvement on it. If fixing this crap is bothering anyone's laziness or their artistic sentimentalities then they better get to solving the issue where we're still storing code in source control instead of ASTs and letting the editors render them however the user wants.
How to Make Peace with Canada Geese
Edit: I’ve changed my mind, I agree with the union.
OT but she's obviously reading a prompter, and combined with that forced super-enthusiastic smile like she's telling us we finally defeated cancer (or announcing the second coming?), it's quite off-putting. Why can't people talk normally.
Why dark matter feels like cheating (and why it isn’t)
It is not the equipment. The pilots lobbied because of privacy that this should be limited to a short amount. Insane but that’s how it is.
Sipping my glass of Barolo, living dangerously!
Please let this horrendous habit die.

Aside from the impossible to read without printing it out on ruled paper, change the length of one variable and your auto format pollutes git history with a five line change.

Most statements aligned like this aren't even related, they just happen to be colocated but then the (forced by the autoformatted standard) vertical alignment makes it look related.

Coding style (more precisely whitespace) is able to say a lot about the code without you even reading the code. This code style paints a picture that isn't there.
mvdan is not on the Go team, he works on CUE primarily, he has been a volunteer for a long time.

Can you point out specific comments that you find problematic? I have looked and am not sure which ones you are referring to
"Based on everything we know so far, the fault for this lies squarely with the American pilots"

Do we? The discussion has VERY carefully avoided any discussion of what happened. Pinning the blame entirely on the pilots is what I'd do if I wanted to avoid pinning the blame on the controllers, or just wanted to write an anti-union screed.

I clicked on "about" and the author has absolutely no professional skills or qualifications related to the airline industry in any form at all, but his mind is certainly made up already about a "deep in the weeds" technical issue. I would rather hear the authors strongly held beliefs about K8S cluster design or ELK stack dashboards; its not like he's any less trained or qualified to hold those opinions.
Doesn't have to mean that he makes them up though: when a group of professional "truth fabricators" (or rather "doubt fabricators", they don't really need their stories to be water-proof) has learned that he makes for an effective mouthpiece eager to believe he'll be swarmed with "sources".
If there was a risk of bias in some form of recording I could understand it, but the whole point of the audio recording is accuracy. What's confusing is the grounds for refusing - "they haven't done it before" seems a pretty weak basis. The only thing I could think of was that they're worried about the audio leaking, but then why not say that?
Sure, everyone says "has to be this way" when the corpos do it, but if a Union does it it is suddenly evil instead of prudent.
Thanks. A license has been added now.
A lot of people this post are trying to reach don’t know about ArcGIS. As someone who does know about the GIS field, it is frustrating to see post after post about how to do GIS the hard way. The article is fine, but the whole process could have been much easier using the ArcGIS system, and instead of a PDF you’d get full REST services and a suite of apps to work with them.

This post doesn’t mention ArcGIS at all, except for as a data source that your county government probably uses.

I remember when I didn’t know about ArcGIS and thought it was cool to build apps that put points on MapBox maps - which I later found out is a waste of time, because ArcGIS already does that job well.

I think this post leaves people with the impression that GIS is niche, or difficult, or not accessible to lay users. My personal opinion is that recent advancements in Web GIS make the field about as accessible to people as things like word processing, while QGIS is stuck in the ArcMap days, catering exclusively to trained GIS professionals.

It is absolutely meaningful to point out that you don’t need to be a trained data engineer to do this kind of work, and that this 4,000 word journey could have been done in 10 minutes of clicking around user-friendly software.
That wouldn't need to be a client side feature; a call can easily be made, and likely is in most of these cases.
OEMs seem to be getting better about this.

I see batter limiters in MacOS, Samsung phones, Framework laptops, Microsoft Surface devices. Now we just need to normalize it on budget devices.
Some people are trying to restrict the word "gender" for political purposes, but it also continues to be used as a synonym of biological sex, a meaning that it has had for centuries.

> In the 15th century gender expanded from its use as a term for a grammatical subclass to join sex in referring to either of the two primary biological forms of a species, a meaning sex has had since the 14th century

https://www.merriam-webster.com/dictionary/gender
That could have been built with BrowserID (https://hacks.mozilla.org/2011/07/introducing-browserid-easi...) but surprisingly (or not!) the big platforms didn't embrace a user-centric login protocol.
Maia SDR
The pilot’s union should be allowed to mediate interactions between the pilots and their employer (the airline). If the pilots are found at fault, it should be able to negotiate fair treatment for them. But it should absolutely not be allowed to stonewall government safety investigations. Holy shit, why would you even think that?
Substack didn't start doing this until it had pulled significant share from Medium. I suspect it will hurt substack long term too.

In a way this feels like the cycle of image hosts. Everyone moves to the new user friendly one, that one enshittifies the site to make more money, cycle repeats.
There's truth in the axiom "When there's a gold rush the person selling shovels makes the profit".
Exactly. They strive for revenue, not UX.
Probably. How much of the middle class lifestyle in big metros is built on home equity?
Right now almost all the training data is 100% organic human-generated content.

But, in the future, more and more of the training data is going to be recycled bullshit output from other LLMs. Which is going to cause the model to get worse in accuracy and utility.

Run this forward a few iterations, and most of the Internet is going to be filled with thrice-recycled AI-generated garbage while there are some small pockets of accurate, truthful, curated information.

Reminds me of Herb Simon's "when information becomes abundant, attention becomes the scarce resource."

Having a good BS detector and ability to ask follow-up questions is going to be more and more important for humans over the next decade.
Why exactly is having an exact record of what you said more of a problem than notes?
For the second time in two months, a Russian spacecraft is leaking coolant
The devil's in the details.

> At the end of the day we’d be better off without most vices

Who decides what's a vice and what isn't?

> others need heavily regulation

Who decides what gets regulated and how heavily?

It's usually the people with the most to gain personaly who vie to become one of the deciders. They approach such decisions as opportunities rather than tough, morally burdensome responsibilities. And it's the machiavellians and narcissists that work the hardest for it.
so sorry, totally overlooked the repo link! appreciate you!
More info: https://aviation.stackexchange.com/questions/27636/why-are-c...

https://www.ntsb.gov/investigations/AccidentReports/Reports/...
What does this have to do with standardized payment systems?
I don’t think threads are really a concept that’s applicable to Verilog/VHDL.

Stuff operates in parallel in those languages, because you’re essentially describing little machines that all run independently of each other. You probably have some handoff from one machine to another. It’s more like Factorio and less like multi-threading.
I wonder if they’ll try to rebrand as “1Pass” or something similar.
> Longer reply: I love the EU so much.

As a EU citizen: You really shouldn't.

They do occasionally pass decent legislature, but i fear GreedClarifies is likely correct that it's probably more about them wanting the power big tech is currently centralizing for themselves.

For examples check the recent news from Belgium as they've uncovered recent corruption issues in the European Parliament. There is even an organization funded by the EU which is unapologetically treating political refugees as prisoners (putting them behind bars with literal cameras in their "living" space.

There was a pretty good report on German state media about that topic, should have English subtitles though if you can't understand it
https://youtu.be/tJMLNMlJkPw

I am glad they're currently pushing back against big tech though, as FAANG is already speedrunning our society into a total dumbsterfire, but love to that organization is just misplaced. (Or should we call it MAMAA now? Meta, Apple, Microsoft, Alphabet Amazon)
DARPA, Lasers and an Internet in Orbit
One potential hint is the Postgres queries are being executed as sequential scans, as you can see from the explain output. The first query only returns 200k rows (out of 7M), so even without any config tweaks it should be using an index if one is present. So, my guess is those queries are being made against unindexed columns. Also, I'm guessing this is vanilla Postgres, so it's possible OP hasn't tweaked its config for the machine they're using, and the default config pg ships with is designed for fairly resource-constrained machines by today's standards. If the data is indexed, it's possible the rows are all over the place, and clustering could help.
The thing is Kropotkin's actual book presented it as a scientific principle of evolution, which is nonsense. Yes, there are biological examples of cooperation (such as eusocial insects like bees and ants), but this only works because of the unusual reproductive strategy they use where all the members of a hive are siblings. That doesn't mean that humans can't choose to cooperate, but this choice has nothing to do with biology or evolution.
It seems a bit much to assume the union believed that saying "no thanks" meant the NTSB would run away with their tail between their legs after a serious incident.

The outcome of this legal wrangling will be an impartial judicial system recording will be made instead of the pilots being recorded by a hostile party. I'm really not seeing a problem with dispensing justice based on impartiality, or with justice being "blind".
Dating is bullshit, online dating is bullshit squared. It's like this game where you have to carefully scrutinize the other person while hiding your own flaws and not letting on that you are carefully scrutinizing them. It's stressful in the way job interviews are stressful.

I only got married because I knew my wife really well -- for decades beforehand -- and so our relationship benefits from a sort of Lindy effect.