skysight-inc/HackerNews huggingface dataset:
Ask HN: Recommend Language for a New CLI Tool
As part of our developer experience work, we want to create a CLI tool that will help developers run some of our cloud functionality from the CLI. Something similar to GitHub, AWS, or Firebase CLI
Assuming we (in our development teams) have balanced background of Python, Go, and Typescript, what language do you think will work best for us?

Some important points for us:
* Easy to test and setup CI/CD
* Orchestrate with local installed tools like docker and terraform
* Nice UX/UI
* Support web based authentication (so we will not have to develop a new authen method)
* Can easily exported and package managers to support independent installation (no prerequisite: install node.js, etc )
Cs ability to run on "unconventional" (though there is little unconventional about the Lisp Machine, it is a just a stack based machine) long predates C89 (specifically).

ZETA-C, a C compiler specific to the Lisp Machine, was already fully fledged by 1987 or there about. Don't have notes on when ZETA-C came to be, but it was much earlier than that, e.g., some of the headers are dated 1984.

One cool thing about ZETA-C was you could embed Lisp code in between C code:

extern FILE *stdin, *stdout, *stderr;
#lisp
;; We don't want this file to "own" these
(zeta-c:zclib>initialize-file-pointer |stdin| 0)
(zeta-c:zclib>initialize-file-pointer |stdout| 1)
(zeta-c:zclib>initialize-file-pointer |stderr| 2)
#endlisp
I am waiting for the day when one of them proposes to ban relationships altogether, because they have an inherent risk for partner violence... A certain TOS episode comes to mind, which depicted the aftermath of such a law.
I love this! Let’s not take for granted that such simple mathematics problems may not have ever been solved yet. What a time to be alive.

> So, the situation here is somewhat similar to the Busy Beaver Challenge, in that past a certain point of complexity, we would necessarily encounter unsolvable problems

I must be a platonist to squirm about this. There are no unsolvable problems with undecidability or busy beaver numbers. The only thing is some math questions are actually infinitely many problems disguised as a single problem.

The halting problem etc is the opposite of unsolvable, it’s so solvable humanity can never finish solving it. It’s infinitely solvable.

It’s as if we found a magical soup which has a new taste every day forever, and we call it “untasteable”. It’s not untasteable! It’s the tastiest thing ever!
> int (*ap1)[10] = &arr;

Wow that's garbage syntax. With Go it would be

var ap1 *[10]int = &arr
This is the second time I have seen you in this thread talk about how the iOS picker behaves. This is irrelevant. We're not discussing iOS.
I'm aware. I think I tried. At the time (silverblue 26) they recommended to use a firefox installed as rpm (actually, the GUI was offering both flatpak and RPM for some packages, and "RPM" meant it used rpm-ostree under the hood to overlay the package). At least they warned about some issues when using firefox as flatpak (mostly related to integration with the rest of the desktop environment). And so, in order to get some things to work I had to install a few packages with rpm-ostree. Digging in my docs, it was:

> # nvidia and codecs necessary for firefox and youtube:
> # You'll need rpmfusion repo (see dedicated section for how to install them. Ugly.))
> rpm-ostree install akmod-nvidia ffmpeg xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda

Maybe I used it wrong, idk, but here is how my .zshrc looked like:

> alias "hx"="toolbox run -c devops hx" # I installed there all the mess for LSP server
> alias "aws"="toolbox run -c devops aws"
> alias "mpv"="flatpak run io.mpv.Mpv"
> alias "yt-dlp"="toolbox run yt-dlp" # default distrobox is fedora

I could go inside containers ("activate" containers), but then, if I want all my tools... they need to reside in the same container, right?

I didn't feel like installing all the utils in all containers, or running exa and ripgrep in some fedora "basic-utils" containers and adding more aliases for very basic tools. So I ended up overlaying the utils I cannot live without, thinking they are not really unstable software, it can't possibly break the upgrade (and indeed it never did for the time I used silverblue) :

> rpm-ostree install bat exa git-delta ripgrep vim zsh zsh-syntax-highlighting zsh-autosuggestions fzf jq

I also needed some stuff to fix the thumbnails of the default gnome (I don't remember, but I'm pretty sure that if I did it with rpm-ostree it's because I didn't find another way):

> rpm-ostree install ffmpegthumbnailer gstreamer1-libav gstreamer1-plugin-openh264

I also couldn't install some ibus packages (with too much integration with the desktop/keyboard) in a container so I resorted to rpm-ostree there as well.

So while I really tried to keep everything out of rpm-ostree as much as I could, I felt like it was a constant trade-off: going against the spirit of the distribution VS managing every single util and running little cli tool in containers (that need to be maintained).

I'd be happy to read about some workflows, the "correct way to do it", or if silverblue changed since the last time I used it. But for me it's in the design itself: "use containers" mean "do the plumbing between or your tools yourself" (even if distrobox makes it easier by exposing/sharing pretty much the whole home, network, env vars etc...)
No dog in this fight, but

1) this extremely makes me want to use anything else for my next sites. This added a a lot of ecosystem uncertainty. Will any hosts other than Wordpress.com be allowed this time next year? Who knows, perhaps the plan is to squeeze them all out and then raise prices as the monopoly provider. Smells like the potential for sudden, unplanned site migrations unless you use Wordpress.com.

2) Mullenweg carping about private equity investing in WPE is rich given the capital stack for Automattic. BlackRock, Tiger, Insight, etc. all in the mix. If WPE's investors are bad for business, WPE's customers will leave (which Mullenweg should want!). But broadly, I think most customers generally do not give much consideration to who invests in their vendors.
Marxism has resulted in the death of at least 100 million people. Should we ban Marxist content from HN?
More likely though isn't the same as likely. If I'm going to buy an icebreaker from a foreign supplier, sure the US is in the market, but they're still more expensive and take longer than Finland.

To get good at something, good enough that you're competitive on the world stage, you need to be building lots, iterating, getting feedback and so on.

The US coast guard doesn't have the need to kick-start that sort of scale of development. So it takes a fortune (think 10s of billions) to catch up to the Finns.

But the headline number is somewhat irrelevant. 300m sent to Finland is "gone forever". 1.1 billion spent in the US boosts the economy, and ultimately works its way back to the govt in taxes.

The benefits have little to do with "preserving skillset" and more to do with the economic benefit of circulating another billion in the local economy.
Did you mean "retrieval is comparatively inexpensive"? I think I'm on the same page but this threw me off.
I didn't even know this was legal. When did that change??
Many but not remotely enough books are in the public domain. Copyright terms are now ridiculously long—the last Sherlock Holmes stories only just entered public domain.
You’re talking about informatics Olympiad and O-1. As for Google’s DeepMind network and math Olympiad it didn’t do 10000 submissions. It did however generated bunch of different solutions but it was all automatic (and consistent). We’re getting there.
the purchase of in-game items or currencies is a purchase like any other.
I understand, but with how much of a change to the language? Such a change would take an enormous amount of time to make it into the ANSI/ISO SQL standard, and what database would start to implement it first, and which would hold out as long as possible?

I don't disagree that it's impossible, but how do you get the syntax standardized at this point? Do you get various dialects, or an agreement between vendors? Look how slowly the standard moves, when do we get this where it's usable in most popular RDBMS?
Anki/SRS, sleep, blueberries, daily cardio. Do all of those and you should have memory improvements.
> But a much easier argument against sports betting is that it ruins the sports.

Is there really that much betting going on in the "little leagues"?

Professional sports are already and have always been ruined as they, by their very nature of existence, have to appeal to what entertains the crowd, not for what is ideal for the sake of sporting. Betting doesn't really change the calculus there; at most changing what makes for the entertainment, but then you're just going into a silly "my entertainment is better than your entertainment".
yeah meant more libgen, which i believe some instances have ads.

anna's has "donations for speed" and dark pattern hide the links to the fast external websites
I can't tell whether you're trolling or serious...

It's not about moderators being harmed or not. It's a preference of the wider community to not have the harmful content, and the moderators volunteering to help keep it that way.

With most harmful content, the effect of seeing a single instance is not significant. Being exposed to it constantly in places you frequent for other reason (your online communities, or advertisements everwhere), builds up much more of an effect. Now moderators being constantly exposed might also be affected, but they're choosing to do so, and may have coping strategies in place for the more extreme cases.
Now there's New DARE (15+ years old at this point). Not sure if this has been scrutinized as much, but supposedly it is effective since it's eligible for funding that requires demonstrated effectiveness.
Just in: HP is adding AI into printer drivers (no joke: https://hardware.slashdot.org/story/24/09/27/0030239/hp-is-a...)
Thanks for your views and i appreciate that. I understand your viewpoint. I never build this tool as a replacement but more of a gap fill between real therapist sessions or just a way for people to talk to someone when they want to just let out their feelings.
Right at the top (at least on mobile): “Posted June 6, 2023”
In bash, `set -u` or `"${TSTDIR:?Error: TSTSDIR is required.}/etc"` protects from such errors.
Grace Hopper's 1945 article about her program running on the Harvard Mark I
Despite the improvements (the halo, most recently), freak accidents may yet happen. I mean, this is a scary pic of one of the best drivers on the circuit almost killing another: https://archive.fo/I6brp

from: https://www.motorsportmagazine.com/articles/single-seaters/f...
> I’m sure people will elect Milei’s anointed successor by a landslide in the understanding that they’d continue with the same policies.

Your abundance of faith in the people is uplifting, but I'm a bit more sceptical. I've seen various peoples around this planet do the same mistake: 1) things go bad, 2) people vote in those who can fix it, 3) things are fixed, 4) people vote the other guys again, 5) goto 1

Then again, it was (mostly) the same argentinian people who voted him in in the first place, so perhaps they can do it.
Progressive Web App.

you don't need app stores
Also worth nothing that this person is an open pedophilia advocate and "race realist" as can be seen on their homepage https://www.tastyfish.cz/

Can't speak for the quality of the software but important to note.
It’s always been a combination of driver skill and engineering, along with cleverly working around the rules. It’s never been another way.
Full video link now keep watching
https://tinyurl.com/nz696bca
In most respects I would consider myself a libertarian, but when it comes to hard drugs or betting, I tend to be a lot more conservative. Pot is fine, actually better for you than alcohol, but drugs like cocaine are far too addictive. That addiction actively strips away one’s freedom due to their use, and thus I find it counterproductive to a libertarian society. I would argue most forms of betting fall within this category, and much like drug use disproportionately affects poorer areas.
If you mean "Who is the earliest known recorded individual in human history?" wikipedia says "The name "Kushim" is found on several Uruk period (c. 3400–3000 BC) clay tablets used to record transactions of barley." [0]

[0] https://en.wikipedia.org/wiki/Kushim_(Uruk_period)
Yes, I pictured the metaverse as more of a Minecraft type of thing. I don't think it's a good comparison, unless MSFS wants to become a MMO experience... "Runway permission wait simulator 2024!"
Sure. You’re still talking about getting the throne, not actions thereafter.
It does feel like a lot of this enforcement will need to be in the spirit of the law and/or general deterrence. I would assume any sufficiently specific law in this space would be fairly easy to find a loophole or workaround for in your UI.
Really saddened by the FOSS landscape. Docker, Terraform, Redis, and now Wordpress. Aside from who’s right and who’s wrong, the sheer drama and rug pulls make it feel like the beginning of an end to open source as a viable business model.
> There are people that think all drink is addictive

And? Should we legislate based on some peoples' belief that the rapture is imminent?
If you're looking for a submarine shape in a picture of the surface you've missed a crucial part of the story.
Yes it's OK. Free Software means that users have freedoms, not that the developer is obliged to provide them free services forever.
A couple months back Matt had a personal feud with a Tumblr user and proceeded to harass them across platforms which included posting their private account information on twitter in an inflammatory response (which he deleted some 15 minutes later after realizing the several laws he must've broken). This is his usual behavior.
https://techcrunch.com/2024/02/22/tumblr-ceo-publicly-spars-...
> open pedophilia advocate and "race realist"

Damn, what a combo... if HN had default link colors, I'd say that one stays blue
> Zstandard’s branchless design is a crucial innovation that enhances CPU efficiency

Given how branchless algorithms are helping optimize not just network transport (compression) and even OS system libs (no citation for this one, but I’ve heard), that I really wish colleges begin teaching this along with DS/Algo course material.
Thank you, Chump!
Yes, they would still be opposed to them.

A measure could well be somewhat effective on its own, but then it would require the industry to get creative and work extra hard to still get people hooked, which they will do, but they'd rather not have to do it in the first place.

What's more, opposition to any type of well intended regulation is typical for harmful industries, even if the regulation might be ineffective. They do that on principle, as they don't want the precedent of getting regulated. The mere idea of having regulations for the benefit of society threatens their business models.
I think it's similar with all things that hook into our dopamine centers, like alcohol, food, sugar foods, tobacco, gambling, drugs, games, ... It has to be regulated to the correct amount to benefit society. Outlawing them, like with prohibition in United States, just moves it all to black markets. Having them completely free, as has been the case with all of them at some point, also brings harm to society. Somewhere in between those two points is where it's correctly regulated.

For example, maybe gamling can continue being legal but advertising for it be outlawed or severely restricted? Can gambling have the same sort of warnings as on cigarettes, maybe with children going hungry because the parent gambled away all the money for the month? Another way is that some part of the revenue from gambling could go to programs such as Bolsa Família that you bring up? Or to fight gambling addiction in some way?

That's my pragmatic view of these types of thing: try to find what actually works and hurts society the least. You'll never find any perfect system with no harm anyway.
People who already have some level of fame often feel pressure to keep meeting "expectations".
The whole point of Open Source was for it to not be a religion.

If anything, it is the indoctrination in Free Software that led many young people to believe that proprietary software is immoral. Coupled with zero-interest rates, this led to companies founded without sustainable business models. The companies making it work are usually doing so by selling products and services where the OSS parts are complementary and not the main product being sold, and it's a good thing they do.

I'd say that the doctrine part doesn't help at all.
Maybe you missed the part where this is C, you know, the language designed by many of the same people as Go but 35 years earlier.

It would be a time warp worthy of the Rocky Horror Picture Show if C's design could take syntax ideas from Go.
Extending the logic, should we ban the derivatives market? Cryptocurrencies/tokens that only seek to be a speculative asset (and not an actual currency). Venture Capital that seeks to use businesses as speculative assets (trying to artificially inflate the short-term share price of the business rather than its long-term health)?

I'm not putting up a straw man - I'm actually in favour of it. I agree that all forms of gambling ruins lives. We would improve society if we agreed that all gambling is bad.
Perpetual: A self-generalizing gradient boosting machine
> `??/`, a trigraph spelling for `\`, also acted like `\` in this context.

OF COURSE it should do what \ does, otherwise you have no other way to get a \

the point of trigraphs is to allow characters to be entered that your character-set/terminal keyboard doesn't allow.
I'm convinced you don't need it, but my shin splints disagree, and I'm happy to buy new shoes after 300-500 miles.
The venn diagram of query support between SQL vendors is much closer to a flower than you think.

Just implement it for one and if it works, the others will add it
True, you can try and do a startup without hiring anyone, but how many companies with no paid employees succeed or bring in a net profit? You can do that until you need to hire someone, then you still hit the end of the road.

Forget who the government is supposed to be taxing for what supposed purpose. The decision about asset and income law working differently (liabilities counting for one and all sources being able to intermingle over the financial year, financially speaking, for assets - with income always being payable within a month) is why these taxes work differently in practice then just one being for income, and one for personal asset (accrual). We could instead "tax an employee to offer his services" with a tax which allowed them to discount the liability of savings spent in businesses from their due tax from other sources, or we could charge higher capital gains than personal taxes.

If you earned the original income from renting out properties or capital gains however and then invested it, you can write it off as a loss for your overall individual capital gains, pay $0 for all your rental/share increase in value, and only pay for the startups employee, with no tax on your original income as a result that tax year.

If you have asset wealth, you don't get taxed twice like this as you can write it off. If you have income based savings wealth, you always get taxed and can't count it against investments you make.

1900 is obviously different but income taxes help people with assets retain them for the reasons mentioned above. If Assets were taxed at a higher rate and you could not personally include liabilities in your capital gains (as with income), then it would be the opposite scenario.

We say capital gains tax is all about wealth, but it's not: The US has no wealth tax. The capital gains tax is just lower tax on unearned income and the ability to intermingle that income. It's all income at the end of the day - just one, income from work, the government taxes heavily, the other, the government taxes less heavily, but most people never significantly earn that income.
> I wonder how long it has been since the drivers' championship was decided by a contest of driving superiority rather than the engineering the competing drivers were sitting in?

I’ve been following F1 since the mid 90’s. It has always been about both the engineering and the driving. That’s what makes it fun (to me).

If you put a great driver in a bad car, they won’t do well because the car limits them. If you put a bad driver in a great car, they won’t do well because they limit the car. If you put a great driver in a great car that doesn’t fit their style, they’ll do okay but not great. You need a great car and a great driver and they have to fit.

But here’s the thing: A great driver will be able to outperform the car and is more adaptible to variance in car performance.

You also have to keep in mind F1 margins are incredibly tight. The first 7 qualifying times were within 1 second in Baku this weekend. 1 second for 7 drivers. The difference between first and last was 2.3 seconds.

Over the whole grand prix the distance between first and last amounted to 148 seconds. That means the slowest driver was just 3seconds per lap slower than the fastest driver on average.

The margins are absolutely ridiculous when you think about it.
jfc what a shit show
Same workflow here, and it's become a breeze with autofix, rebase --update-refs, and a small command to push the whole stack.
I'm using magit, so I directly see what could not be matched and remains staged.
There's a lot of this sort of thing in the UK at the moment which is really baffling to me.

One extreme is the death sentence, sure.

But on the other end it feels as if there are constant stories of career criminals who just do thing after thing after thing. It's not like someone just accidentally gets caught up in multiple assaults/robberies/break-ins etc. At some point you have to just think, okay, there's no rehabilitating this guy, how do we minimise the damage to society.
If you are selling "Core Wordpress" WP Engine is explicitly naming a product using "Wordpress". If it was "Core WP" that would be fine.
Attacking Unix Systems via Cups, Part I
I was about to flag this comment but... yikes. You're right. Super awkward.

"I immediately turn off any documentary where a woman starts talking as a "scientist"." - what the hell.
There is zero chance of China invading the US or vice versa. But this issue isn't about a ground war in either place, it's about a war in some 3rd place.

It's not about "home country". The US doesn't need carrier groups to defend home country. It needs them to project power into other parts of the world.

Take Taiwan. If China invades there that represents a significant dilemma for the US. On balance, they'll likely make a token response, then fade away. Places where the US has enjoyed power (like the South China Sea) might be harder to protect.

Does the US have the stomach for wars in Taiwan, Japan or Australia?
> a download is not a lost sale

It very much is. Not 1:1, but it's absolutely correlated. I've made several purchases for things that I tried to pirate and couldn't find.
For it to be a bookstore, it would have to provide complete copies of the books, which it doesn't do at all.
Heartbleed was a different CVSS version.