skysight-inc/HackerNews huggingface dataset:
Show HN: Moulti: a CLI-driven TUI for a better, clearer display of script output
Moulti is a Terminal User Interface (TUI) that displays steps, i.e. collapsible colored boxes with titles, to which one can pipe arbitrary outputs through a Command-Line Interface (CLI):

whatever | moulti pass step_id

This results in a clear, step-by-step display of the output, as opposed to the traditional 'just a bunch of lines' approach.
Individual steps may be copied to the clipboard and the whole thing can be dumped to/loaded from a directory containing a couple of files per step.

Moulti also offers an optional progress bar and dialog/whitpail-like interactive steps (input fields or push buttons).
It runs on Linux, MacOS and *BSD. Porting to Windows is currently postponed.
It is implemented in Python using the Textual framework, which makes it possible to customize the visual appearance of virtually anything through Textual CSS and ANSI color themes.

This idea wandered in my mind for quite some time. Recently, I wrote a script with numerous steps, which pushed me to look for such tools.
I found one that was close to the concept but not satisfying in terms of stability and design, so I started working on Moulti.
Specifically, I wanted to:
1. avoid solutions that launch processes themselves;
2. delegate as many aspects (title, content, color, min/max-height, collapsing, ...) as possible to the client side instead of looking for a behavior that pleases everyone.
Tiny Corp Puts Their AMD-Powered Compute Boxes "On Hold"
Honestly at this point Tuvalu should use the money it makes from the .tv domain (and otherwise) to relocate and buy some vast farmland abroad. It's sad to see the state of affairs some islands are in. That's one kind of refugee immigration I could back. Just 11,000 people.
I would love to have exactly this but for Omnifocus! I currently do it with Shortcuts but is limited to one way sync which is very inconvenient. Having the task in context on Obsiadian but also nicely organized and actionable in a task manager is great.
I think the point is, they were not so close to the water when they were built.
I'm fine with government providing assistance, as long as property tax collected matches the expenditure.
I wanted to like Logseq, but I couldn't stand how opinionated it is about the format of my notes. Also, at least on Ubuntu 22, there was a noticeable delay when interacting with any UI element.
I understand your point, but do you do this during a Sev1 incident at a FAANG type company?

Meaning company.com just went down, 1M+ users are unable to login. I don't see how your style works, you need fire fighters not detectives.
>There idea that we could write programs in our own favorite language, and compile it to a universal format that can executed on almost any platform is truly revolutionary.

Where do I begin with this...

I Think Rust+WASI is cool, but this idea has more years than I do.
One of the things that helped me with dealing with bullies is that my parents helped me to developed a strong sense of self-worth and confidence I think by telling me that it's OK to make mistakes and that through them we becoming better and better every day. And also the fact that it is impossible to be able to be liked by everybody.
> However, during times of too many vehicles on the road, such as rush hour, there is nothing anyone can do, other than use as much of the road as possible (i.e. less empty space).

Your analysis misses safety and so while your facts are correct your conclusion is wrong. When more cars want to use a section of road than the road can handle you must not put more cars into the empty space without all the cars slowing down (which in turn means the road can handle less cars per time). I know that is not what everyone does, but they (we) are wrong.
People grind the multi-layer sandwich of iPhone connectors and BCP, restore traces on multiple layers and then get everything back so the phone is working.

It's surely less trouble to restore just a USB port.
This would be fun to play with. There’s a vim plugin for JetBrains but I’ve failed to adopt it after multiple separate attempts because each time I run into collisions with my existing workflow shortcuts which I don’t have the patience to remap mentally and in the config.
> So what I'm saying is that your actual potential has been exactly what you observed!

+1; How close is my paraphrasing to what you were thinking?

achievement(person) = potential(person) - adversity(person)

People implicitly assume the 'adversity' term is negligible. But in reality, the 'adversity' term can very large, and vary widely from person to person.

[yep the "equation" isn't dimensionally consistent. It's meant to be a "completion prompt" to your internal LLM to translate those tokens to a longer paragraph.]
Hello, I am author of https://github.com/centrifugal/centrifugo. Our users can choose from WebSocket, EventSource, WebTransport (experimental for now, but will definitely stabilize in the future). WebRTC is out of scope as the main purpose is central server based real-time json/binary messaging, and WebRTC makes things much more complex since it shines for peer-to-peer and rich media communications.

What I'd like to add is that Centrifugo also supports HTTP-streaming – not mentioned by the OP – but this is a transport which has advantages over Eventsource - like possibility to send POST body on initial request from web browser (with SSE you can not), it supports binary, and with Readable Streams browser API it's widely supported by modern browsers.

Another thing I'd like to mention about Centrifugo - it supports bidirectional WebSocket fallbacks with EventSource and HTTP-streaming, and does this without sticky sessions requirement in distributed scenario. I guess nobody else have this at this point. See https://centrifugal.dev/blog/2022/07/19/centrifugo-v4-releas.... Which solves one more practical concern. Sticky sessions is an optimization in Centrifugo case, not a requirement.

If you are interested in topic, we also have a post about WebSocket scalability - https://centrifugal.dev/blog/2020/11/12/scaling-websocket - it covers some design decisions made in Centrifugo.
All of these enterprises are examples where IT is a "cost center", not a "value center". So you have this conundrum where everything goes smooth and the higher ups ask "why do we spend so much money on this without anything in return?". And when something does go wrong they are likely to repeat said question.
This led to a few serious bugs in Ruby-based apps. Always use \A\z

https://homakov.blogspot.com/2012/05/saferweb-injects-in-var...

https://sakurity.com/blog/2015/02/28/openuri.html

https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html
Why businesses are cultivating relationships with former employees
> But threads like these make me think that some entire branches of science are less and less about the search for truth, and more and more about establishing a “personal brand” made up of a bundle of research and papers, recruiting supporters, and defending that bundle from detractors. It sounds exhausting and not what comes to mind when I think “science.”

Indeed, this is exhausting and many scientists do hate this, but in the existing system, if you don't play by these rules, you will have difficulties collecting funding and/or a tenured position.
Existing designs certain do depends on how they are designed on whether they recycle their own gray water - TSMC is heading that way, they are aiming for >60% by 2030 because of the water drought they had a few years ago.

You'd hope a newly designed plant would be more water efficient from the start.
I don't know where Pieter pulls the data from but one should note that this doesn't cover all accidents.

Pegasus Airlines has an excellent standing in this list but there are accidents where the plane got off the track.

One of these (February 5th, 2020) actually ended up fatal with 3 people dead out of 183:
https://tr.wikipedia.org/wiki/Pegasus_Hava_Yollar%C4%B1%27n%...

Yet fortunately in another one (January 13rd, 2018) nobody got hurt:
https://tr.wikipedia.org/wiki/Pegasus_Hava_Yollar%C4%B1%27n%...

In both cases, the plane was a Boeing 737-800.

I'm assuming this page is counting crashes, not the accidents that happen on the track.
To be fair, I have a T430, but we need modern alternatives for 2024 and beyond. Personally I want to see a laptop with AMD CPU, AMD dGPU and Thunderbolt 4 ports.
As in the other comments here, I use Obsidian but avoid making it tightly coupled with my workflows. I like the fact that I can walk away when needed.

I used reminders a lot earlier, but I have stopped using them these days. I continue to use Calendars and Notes. Between the two, the need for reminders has gone from my workflow. If I need reminding and have a date/time, it is calendared. If I need a Checklist (Shopping), it is in a Note or part of a Note (e.g., Shared Shopping List with your partner).
At the expense of safety. One of the reasons why cars kill so many people every year.
The TL:DR; is that the build step masks the wait for input from a shell pipe. With a side dish of "do buffered input" and then a small "avoid memory allocation for fun."
Yes. Cargo and Maven is where it's at.

It's clear to me that any build system that's NOT based on a declarative file format and strong project model is a nightmare waiting to happen. Each generation of maintainer will add it's own customizations until it becomes a super specific brittle undocumented jumbled mess that's nigh impossible to work with and that prevents refactoring of project code.
I was the target of bullying as a kid, but I figured it out. It took a multi-prong strategy.

Sometimes, I just had to punch the bully in the face.

More often, laughing at the jokes a bully made at my expense confused and deflated them. This worked strangely well.

Finally, making friends with the bullies - or in some cases, allies - took care of the ones that didn't respond to the above two. Yes, this means in some cases, I ended up running in bully circles... but I like to think I mitigated some of their behavior. I'm too far removed from that time period to say for sure, though.
Here's another reference on this: https://www.yoursoundmatters.com/vinyl-vs-cd-in-the-loudness....

> As explained earlier, due to the physical limitations of vinyl, there are limits as to how loud you can press a record, and because vinyl is “for audiophiles” – there is less incentive for record companies to compromise the quality of vinyl releases. As a result, many vinyl records are mastered differently to the CD release with more dynamic range and at lower volumes.

But I read some place that Radiohead themselves preferred the more compressed sound, perhaps owing to listening in a car rather than a high fidelity setup.
Banning the purchase of sex increases cases of rape: evidence from Sweden
As ever, there's an XKCD for that:

https://xkcd.com/2170/
But that string does have a new line at the end.
Perhaps. But maybe they should ask a Chinese historian about the "good old days", when China had a diverse bunch of foreign powers on their soil.

History doesn't actually repeat, but...
An environmental analysis of public UAP sightings and sky view potential [pdf]
We've probably done more harm with the similar, and also incorrect, assumption that eating more saturated fats go directly to the blood and clog arteries.
I'm using this quote:

"I love it but sometimes it feels like being a Morty on Rick’s adventure to the compilerland."
Exploring Toit Executables
Won’t somebody think of the children. All communication must be filtered through benevolent feed algorithms! Oh no the benevolent feed algorithms are creating pedophiles and terrorists! I yearn for the days of unfiltered chronological communications. Won’t someone think of the children! All communication must be curated by machine learning algorithm. Oh no the machine has created monsters! Wasn’t the web better without the algorithms? Think of the children! We must censor the web! Oh no the web sucks and we still have pedophiles and terrorists. Wouldn’t it be better to go back to 1999? But think of the children.

Maximum stack size exceeded exception.
Common Library for Data Teams
Many companies actually want to start creating a common library, they are creating "Utilities" Those who want to create common libraries have typically wanted to start with daily routine functions; to gather practical, minimal, and easily usable functions in a common place. However, due to the lack of a habit of using a common repository and it not being widely accepted, this practice was not sustainable. However, the primary reason for its lack of sustainability is that as the codebase and library grow, scalability becomes increasingly challenging. This is the point where most developer teams give up.
So, what are the advantages of creating a common library?
You don't have to write the same code multiple times.
It creates a simpler development process, promoting reusability.
It provides quick adaptation for new team members.
Helps in better management of the codebase in the long run.
Establishes a more consistent codebase.
With so many beneficial effects, why couldn't it be done? Let's also examine its disadvantages.
The most significant disadvantage, and the reason for not creating a common library and repository, is that the same function's usage in multiple libraries can lead to problems, bringing up issues like dependency problems in other libraries. Additionally, a developer can inadvertently make a mistake and break everything in production. To create a common library, teams need to be very experienced and, most importantly, disciplined. Every public library should have a comprehensive testing suite; Otherwise, a wrong change could affect many areas. Each common library must have a dedicated maintenance responsible person. It is crucial to clearly define which functions are common and establish criteria; otherwise, subjective decisions can lead to chaos in the library or repository.

Why weren't common libraries successful? I would appreciate it if you could share your thoughts.
There is an interesting series of scenes in the book Shogun where the main character gets some meat and wants to prepare it in the traditional manner by curing it. He hangs the meat outside but people are so disgusted by the stench that they steal it and dispose of it before he can eat it.
Not necessarily. But nowhere in my comment did I say that.
What features is the Reminders app missing? I switched from Things to Reminders and didn't notice any missing features. Not doubting your statement - I'm genuinely curious to know what functionality might be lacking in Reminders that I'm unaware of.
Okay, so either you know what you are talking about it or not. If not stop spreading nonsense, if yes, then why are you lying?
Talking with Michael Moorcock About His Music: Part 1
Part 2 at [1]

[1] https://file770.com/talking-with-michael-moorcock-about-his-...
Oh so the railway infrastructure isnt able to be differentiated from peoples homes around it?
You can easily hit a similar problem in other languages too. For example, in Rust, std::fs::File isn't buffered, so reading single bytes from it will also be rather slow.
They didn't say "Work is getting outsourced" they said said "Work is getting outsourced to India"
There is general wisdom about bash pipelines here that I think most people will miss simply because of the title. Interesting though, my mental model of bash piping was wrong too.
> peasants armed and trained with knight-killing longbows

The longbow's reputation as a hard-counter to heavy cavalry is, I think, a little context dependent. The famous set pieces like Poitiers, Agincourt, Crecy all featured favorable terrain - and in the case of Agincourt, favorable weather - ideal for massed fire into predictable funnels (where, strictly speaking, the longbow served first and foremost as a horse killer).

All this to say, it's IMO a mischaracterization to imply the peasants in the aforementioned peasants revolt held the military edge relative to the crown and its allies. After the initial shock of the uprising, they were a clear underdog matched against a well resourced and ruthless opponent.
In 30 years of developing software I don’t think I ever used multi-line regexp even once.
PFAS in blood are ubiquitous and associated with risk of cardiovascular diseases
Not to mention the commission to the auctioneer.
From the "about us" page:

> Plant Based News is a mission-led impact media platform focused on elevating the plant-based diet and its benefit to human health, the planet, and animals.

And

> The world’s leading scientists agree that time is running out in the fight to stop the climate crisis. Shifting away from an animal-based food system is one of the most impactful ways we can slow global warming. It’s also a critical move in preventing future pandemics and bringing equity to our global food system.

I'll take it with a grain of vegan salt.
Robert Garner on the Evolution of the Xerox Alto to the Xerox Star [video]
Lacto only requires a specific salt level to keep the bad bacteria out. I doubt caveman humans cared much about sanitary conditions. Also, I doubt the vessels they used would be air tight (except to expel gases) like the ones I use.

Modern humans have genes to process alcohol and some populations don’t have the gene (Asian flushing). Alcohol and fermented fruit were probably sources of calories and drinkable water for many populations.
>It's probably a bad idea
one small success at a time. Its a very deep mantra once you start applying in life.
It is a faulty assumption that IP geolocation is generally useful. It's often not, at all. The only context in which it might seem so is if you live on an English speaking continent. Otherwise, you're going to constantly misidentify people who live near borders, who use a VPN, or who have a different language preference than the offical language where their ISP is located. Locale settings expressed by the browser are the user's explicit preference, and extremely reliable. When was the last time you unboxed a new device, and on the very first OS setup screen when you have to choose your language preference, you chose a language that you don't speak? No one does that! And when was the last time you had to use a device that wasn't yours and had the language set to a language you don't speak? Never! So I don't know where you got this idea that somehow the majority of people are using devices that are set to a language that they don't speak.
Previous discussion about the same study:

https://news.ycombinator.com/item?id=39469988
Sadly, that's true, and my frustration with the constant churn of software is no reflection on the good people making Obsidian.
Part of the problem with the cultural differences claim is that it’s only mentioned enough to function as an excuse. Even a single culture mentioned specifically would allow people to evaluate things like whether that culture has rules about unwanted attention, or whether it’s generally considered desirable. For example, the traditional Hawaiian culture certainly had a very different attitude about nudity but they also focused their sexuality on mutual pleasure, not to mention having an absolute monarchy with the death penalty for things like women eating pork - cross-cultural comparisons are always a mixed bag like that.
What is radicalizing content?

Can truthful content be radicalizing? I think so. Should we therefore censor true, radicalizing content, or decline to show it to users who express interest in it? What does it mean to live in a democracy if true but radicalizing information is verboten?

Let's take the example from the article, the Great Replacement conspiracy theory. It is true that the US is undergoing rapid demographic change. Should algorithms refuse to show content discussing that? It is true that some people and politicians favor this change for various reasons, ranging from in itself to for the second-order effects: eg., "we need more people in order to to fund our pensions", and some do not. If someone is interested in these changes, is it brainwashing to display this related content? It is true that various US and governmental policies either directly or have the effect of promoting demographic change, and theoretically other policies could be in place that would discourage the same. Does content related to this count as "radicalizing" content? For some people it could be! Is it wrong in a free society to allow platforms to promote content discussing that seems like should be a very important issue? Of course, as is usual whenever you have everyman involved, there will be tons of ludicrous cranks taking all the above facts and claiming the Illuminati or the Jews are behind it all, but as seen above the line is fuzzier than it seems at first, isn't it?

We live in an age where lots of content is radicalizing, because social anomie and atomization are huge problems. In the second half of the 19th century and the first half of the 20th century, the conditions of the industrial era also made the populace ripe for "radicalization" via socialism/communism/fascism, all of which led to both individual (murders, beatings, assassinations) and later mass violence. But banning bookstores from promoting Karl Marx would have done nothing to stop this. The underlying social problems were the issue, not the ideological manifestations of them. No socially and psychologically healthy person reads anything and decides to kill people. But in a society where the social fabric is fraying and masses of people live unfulfilled lives, something will "radicalize" some proportion of them and they will act out in violent ways. Tuning algorithms is just playing whack-a-mole. That's why you can go and look into these shooters and find the whole spectrum of modern beliefs has "radicalized" people into killing people. They're already a lit match looking for a cause.
eh, life expectancy for US males is 77 by that point you're practically dead (sarcasm). More generally, worrying about a mid-life crisis feels silly and probably only compounds angst.
Why would a mammal's body evolved to use fat cells to store and utilise lipids for energy?

Plants have carbs in starch. Mammals evolved away from starch to store and use triglycerides.

During fasting, the human body is able to survive for months without food.

Thus months of lipid metabolism
The calorie hypothesis isn't the most likely from all the research I've done. The calorie as a unit of measure doesn't even make much sense IMO.

A calorie is measured by burning food a specific distance away from a specific amount of water and measuring how much the water temperature rises. It's based on an assumption that the body uses all energy in the food the same, and that fire is analogous to the complex process from digestion to energy use in the cell. The calorie as a measure effectively equates the body to a coal power plant.
If you use Emacs, there is also jq-mode. But jnv's filter auto-completion is really a killer feature for me.

[1] https://github.com/ljos/jq-mode
What’s happening in psychology?
We are two!
Definitely not common, but if you are parsing a text file you're going to use it a lot (say, you're writing a JS parser).
Database Migration Practices for Your Ruby on Rails App Using Strong Migrations
This summary article may be biased, but note that the cited paper has been peer reviewed and was published in Nature: https://www.nature.com/articles/s42003-023-05517-3.
I watched all the vides on the home page and I still don’t understand what this software does.