skysight-inc/HackerNews huggingface dataset:
I'm not sure I see this as a reality anytime soon.

> Those folks have a lock bc there’s a small group of who knows assembly and OSs across multiple systems very well and knows if from a security context.

There is two parts to this. The first is for some of these business in that arena I'm sure if they could speed up analysis to take on more client jobs requiring less labor they would have done so. Second is, what output are you going to provide that wouldn't need the very same people to decipher, validate, or explain "what" is going on?

As an example if you get hacked and you make a cyber insurance claim you are going to have to sufficiently explain to the insurance company what happened so they can try to get out of paying you and you won't be able to say "Xyz program says it found malware, just trust what it says." If people don't understand how the result was generated they could be implementing fixes that don't solve the problem because they are depending on the LLM/decision tree to tell them what the problem is. All these models can be gamed just like humans.

I'm not quite sure I agree that a better LLM is what has been keeping people from implementing pipeline logic to produce actionable correlation security alerts. Maybe it does improve but my assumption is much like we still have software developers any automation will just create a new field of support or inquiry that will need people to parse.
yeah that's fair - i was one of the free ones lol
I never saw the context of the quote. It makes even more sense when you know the author was a pilot.
> Shebang scripts shouldn't have

Should not have or should not need to have? You can perfectly write a script with a shebang and an extension, stick it in your path, and use it without extension.

Therefore, I fail to see how this is a "dealbreaker". Or is it just because "I don't like it!"?
You should probably ask the author then. There are a bunch of links to various socials on the bottom of the post.
This seems like an article that could have just been summed up and rewritten as the title. It's a conscious choice and consistent. I have no idea what use case would need to use 2GB per read call, if anything the limit seems excessive.
But as ergonomic as it is to use, compared to doing most things in C++, I think I can forgive its slowness.
Until your favourite streaming service just announces the next chapter of its exciting journey, that is.
Innovation is always tinged with tragedy, and nothing more so than the
drive to make ever cheaper and more hands-off weapons. Drones are a
fine terrorists weapon. A lesson from talking to combat veterans is
"war always comes home".
"Bash is great, but when it comes to writing more complex scripts, many people prefer a more convenient programming language."

https://google.github.io/zx/getting-started

I read this and think "1. Bash is not great. 2. Why assume that I want to write complex scripts."

I like simple scripts. I am embarassed by any complexity. It is the mark of a cluttered mind.

As it happens, there have been and still are others that dislike complexity, though they may be greatly outnumbered.

Right now there is another submission in /active on HN titled, "A 2024 Plea for Lean Software. Why Bloat is Still Software's Biggest Vulnerability"

"I want to end this post with some observations from Niklaus Wirth's 1995 paper:

"To some, complexity equals power. (...) Increasingly, people seem to misinterpret complexity as sophistication, which is baffling-the incomprehensible should cause suspicion rather than admiration."

I've similarly observed that some people prefer complicated systems. As Tony Hoare noted long ago, "[T]here are two methods in software design. One is to make the program so simple, there are obviously no errors. The other is to make it so complicated, there are no obvious errors." If you can't do the first variant, the second way starts looking awfully attractive perhaps."

And scripts are not even systems. The idea of intentionally creating "complex scripts" is indeed baffling.

The HN title could be something like "ZX - A tool for writing complex scripts". Or "ZX - A tool for writing better complex scripts". Instead it's "ZX - A tool for writing better scripts".
The biggest reason this needs to be integrated is that most people simplify won’t know about this tool. Only HackerNews reader in this thread and then some enthusiasts :)

So it would result in magnitudes of more usage if it was integrated, which seems to be the path Bun is taking.
Related:

Zx 3.0 - https://news.ycombinator.com/item?id=28195580 - Aug 2021 (163 comments)

JavaScript for Shell Scripting - https://news.ycombinator.com/item?id=27072515 - May 2021 (181 comments)
Nonsense, the second world war history is excellently researched and Putin tells you only his propaganda views, which are just false. The Soviet Union collaborated with Germany on the invasion of Poland. In fact the Soviet Union invaded Poland from the East. https://en.wikipedia.org/wiki/Molotov–Ribbentrop_Pact This is not a "view", that's actual history.
Nope I’m not. I suppose a lot of it is for work. I was working at Okta actually. Every day. Vpn. Touch biometrics. 2fa. Login to Gmail. Touch biometrics. 2fa. Git pull. 2fa.

There’s also the fact that I use my phone, personal desktop, and laptop.
1. Battery Usage - Native Apps are still better.

2. Until You can have single button Add PWA and install on Homescreen. Current PWA is still too difficult for average consumer to understand.

3. As much as I want many more PWAs, they are still not buttery smooth as Native.
At least for issues, their search got a lot worse recently - it doesn't do substring search in the same way (or maybe at all - I haven't checked in detail), so you can't search for non-initial words in compound-words. This makes searching through German issues an exercise in frustration... .
Google is trolling us with the useless use of cat right there in the first actual line of the script.

https://porkmail.org/era/unix/award
https://purelymail.com/

https://mxroute.com/

https://www.vfemail.net/

https://runbox.com/

I know these because I have spent time looking the past week for getting off Outlook.com. I've basically settled on Runbox.com as it seems to be the most established and stable.
Running mail isn't hard if you know a few bits about how things work. As a matter of fact, if correctly set, it can be left running for years without significant time investment. But I'm getting the impression that anything that can't be set in 2 clicks is hard for a particular HN crowd.
The general mood of this thread seems to be "eh, I for one welcome our new streaming overlords, having actual control about the songs you listen to is overhyped anyway".
Meanwhile illegal full-auto Glock switches are flooding into urban areas such as Chicago across the country, ordered overseas from Aliexpress completely unimpeded, because the ATF would rather go after people that aren't violent criminals.
People often say this about bicycles too. It is appealing, but difficult to say. Self-driving cars are being invented and they are allowed (with restrictions).

My guess is if the invention had a big corporation behind and enough economic potential it would get passed.
With "routing" I meant the backbone connection, which is included in the hetzner price.

Aka if I add up power (including backup) + backbone connection rental + server deprication I can not do it for the hetzner price..

That was quite imprecise, sorry about that.
> “I live in Europe”

You don’t say.
This would have been exciting if coming from a company that you can trust to keep services alive and not sell your data.
> You make impossible demand - no mechanism or system could be ready for "anything that might happen", and nobody - at least nobody not having super-natural clairvoyance - could be aware of absolutely everything everywhere. There will always be weird coincidences and hidden things, the question is how fast the system can adapt and find a safe(r) solution.

Actually a human tends to figure out from the surrounding environment that a specific street has its oddities (maybe its a one way street with a single lane and people cross wherever they want so the driver drives a bit slower to avoid the insurance paperwork), or if it is raining it is going to be a bit more careful because puddles can hide dangers, high speed can cause aqua planning and so on. A computer driven car cannot do these things (at least not now or in the foreseeable future), so it is no better than a human. It might see better than a human because radar, but besides braking faster let's say, it cannot do anything else with the available information. i do not know specifically how fast Waymo cars navigate busy intersections, but I've seen Tesla cars and they're pretty slow compared to a human driver.

> They certainly have a system analogous to "instinct", and they can learn (even if not in the same way as humans, but who says it's the only way?). It is true that they don't really understand the context, but I wonder how important that is compared to the speed of reaction, lack of distractions and ability to control the vehicle?

The context matters to the reaction, because if you see a something that you know it is not going to hurt your car in any way, you have no reason to slam on the brakes, but a radar will see an obstacle and slam the brakes. I may not be able to perfectly explain why I don't feel like jumping on the driverless cars bandwagon, but they are a very long way from being a safe alternative to actual drivers.
Don't forget the plain old postit notes.
So how am I supposed to put such a script in $PATH? e.g. if I hypothetically want to make a replacement for say 'ls', what am I supposed to do, force people to type 'ls.mjs' rather than 'ls'?
30-40 people; not much TPS but we're not primarily building a web app; we have event-driven data pipelines and microservices for ML data.

If you're primarily building a web app, a monolith is fine for quite a while, I think. But a lot of the stuff in the post is still relevant even for monoliths - RDS, Redis, ECR, terraform, pagerduty, monitoring/observability.
Or! They bought an office suite to better compete with Office and Workspace and don’t care much for the privacy angle.
Would you be willing to share your spreadsheet template?
It is because I ride a motorcycle also I feel like putting me in the same basket with cyclists is not fair.
> I am embarassed by any complexity. It is the mark of a cluttered mind.

It is the mark of a cluttered world.

Sometimes, there is no simple solution. You have to parse this file, you have to use software to do it, and you can't fix up every little quirk in the file's actual grammar versus the grammar you wish the file had. Tag soup HTML is one example, but there are thousands of others, around the world, doing important things for business and education.

Sometimes you get to parse JSON. Sometimes you have to parse SQL.
> The refueling process is a weird process of suck and blow and it takes 5-10 minutes.

That at least seems a lot better than the 30 minute-several hours charge time for electric cars
I don't know if people realize this, but VR has been here for quite some time and it absolutely an unequivocally sucks for anything work.
Would a python developer feel the same in reverse?
In HCI, I think the general (and researched) consensus about pie charts is that they are fine and probably perform better than alternatives when they have a few (as in probably 4 or less) slices, but then go to total crap for anything much more. I think one of the best essays on this is from Stephen Few, but there's a fair amount of research on the Wikipedia page too.

https://www.perceptualedge.com/articles/08-21-07.pdf
Extensions are predefined mapping to the executing program. There is no real concept of compatibility there. Useful for media files where you e.g. pick your image-viewer-of-choice, less useful when the script file already has a very strong opinion as to the expected executing binary. Compatibility can be hinted at, but really only determined on the application level.

If the script runtime binary then looks at the filename and does something differently based on it, it's likely not correct, and if it is done, it'd better be because of some necessity. The "we prefer it this way" is not a necessity. Plus it breaks conventions and expectations.

Enforcing file name extensions at execution, because you want to help an editor figure out how to lint or highlight the file, is also, arguably, letting a specific use case affect something it shouldn't.
I think 90% of the blame lies with the British public school system, 10% with a very low quality pen, or maybe manufacture was worse a few decades ago.

Caning ended at least a decade before I was at school in England. The teacher when we were 7 or so showed us how to write nicely with the fountain pen. Boys flicking ink happened very rarely. I don't remember any intentional damage.

(Foreigners: "public school" in Britain means those extremely expensive schools that look like Hogwarts but have teachers more deranged than Snape and children more malicious than Malfoy. I'm amused by the anecdote about the textbook, as that's a plot point in Harry Potter.)
So register a throwaway for work and your phone. Seems easily solvable in a few seconds!
>they immediately acted to bring manufacturing of giants such as Iris Ohyama back to Japan.

Finally people on HN are talking about this. Along with a lot of Supply Chain / raw material shifting as well post 2020. So it wasn't just manufacturing.

>Contrast that to the US and Europe who keep talking about these things, but don't actually execute

Contrast to Apple, Which keeps feeding PR and Media about they are moving out of China but dont actually execute ( until very very recently in 2023 ).
I have yet to hear anyone say "kibi" or "gibi" that wasn't mocking the term.

I believe the virtuous answer is that bytes are measured in powers of two, & hard drive manufacturers are dishonest. (Bits are measured in powers of ten)
Insane list. RSS has so many tools
Artists may not have a right to have their works forgotten (whether they actually do or don’t is a legal one) but I believe what GP was getting at is whether it’s respectful or moral to listen to art the artist wants to disassociate from.
Unfortunately they don't just sell singles, so you quite often get to number 15!
Yeah, no. Not at all.
I imagine that you are taking DRY quite literally, as if and critiquing the most stupid use cases of it, like DRYing calls to Split with spaces to SplitBySpace.

DRY's goal is to avoid defining behaviors in duplicity, resulting in having multiple points in code to change when you need to modify said behavior. Code needs to be coherent to be "good", for a number of of the different quality indicators.

I'm doing a "side project" right now where I'm using a newcomer payment gateway. They certainly don't DRY stuff. Same field gets serialized with camel case and snake case in different API, and whole structures that represent the same concept are duplicate with slightly different fields. This probably means that Thursday 15.25 the dev checked-in her code happy because the reviewer never cared about DRY, and now I'm paying the price of maintaining four types of addresses in my code base.
Nothing that has AI in it in 2024 is going to be anywhere remotely as useful as it seems.
Value is subjective, so it is by definition wrong to say that something is objectively a waste. It depends on who you ask.
For a moment I thought this would have something to do with the ZX Spectrum. I'm disappointed :(
Histrionic? Over three quarters of a million people are dead from this war. The morality is indeed clean and simple here.

Trying to portray this as some deeply, historically complicated and nuanced situation is pretentious, and I'd hazard a guess that anyone taking this position likely has little familiarity with the war and why it's happening.
How to Make Neolithic Flatbread
Extending Rust's Effect System
There is a difference between running mail for yourself and running mail as an open provider for others.
Funny story time.

I was once part of an acquisition from a much larger corporate entity. The new parent company was in the middle of a huge cloud migration, and as part of our integration into their org, we were required to migrate our services to the cloud.

Our calculations said it would cost 3x as much to run our infra on the cloud.

We pushed back, and were greenlit on creating a hybrid architecture that allowed us to launch machines both on-prem and in the cloud (via a direct link to the cloud datacenter). This gave us the benefit of autoscaling our volatile services, while maintaining our predictable services on the cheap.

After I left, apparently my former team was strong-armed into migrating everything to the cloud.

A few years go by, and guess who reaches out on LinkedIn?

The parent org was curious how we built the hybrid infra, and wanted us to come back to do it again.

I didn't go back.
Yes, get a second one to put above it.
Don't worry, AI will wash all that away. Nothing says simplicity like an incomprehensible black box!
Wonderful game!

Feature request: please localize... I hardly know the bird names in my language. Learning the English names is not helping.
Potentially very dangerous for people and existing infrastructure but it makes me wonder if some of that excess energy can be put into productive use. Apparently lots of crypto operations have located in Iceland because energy is so inexpensive. That's not really my idea of productive use but other uses could be possible. More industrial capacity? Would it be worth the risk of getting destroyed by volcanic activity? Certainly is going to be interesting times for Iceland (and possibly the world if ash clouds become frequent).
Even if it's finding a needle in a haystack, it's still a way smaller haystack that cracking the key. Let's say you can force a decryption operation somewhere in one billion samples you only need to try decryption with, worst case, just under a billion keys as you shift your way through the sample stream until you get something with low entropy. That's literally nothing compared to the time complexity of AES.
Maybe Lightning Network will scale, maybe not. But VISA or Mastercard could build on top of Bitcoin and allow many more transactions than the base layer does. You would use the base layer for final settlements.

Already now you can get a VISA/Mastercard and use that to spend Bitcoin. But of course, every layer on top of Bitcoin presents its own set of trade-offs in terms of trust and security.

What constitutes waste is completely subjective.
If you ever end up with a bed partner a king size bed is more practical.

I love falling asleep alone on our king size bed. I put my head on the female side where it smells like my wife does (hormones etc). My legs then half sideways. But I also think the weight is better there given matras is 8 years old. Caveat is a queen size is easier to turn around than a king size (weird cringe terms TBH). And you need to do that every other week to preserve the matras.
> Using cert-manager to manage SSL certificates

> Very intuitive to configure and has worked well with no issues. Highly recommend using it to create your Let’s Encrypt certificates for Kubernetes.

> The only downside is we sometimes have ANCIENT (SaaS problems am I right?) tech stack customers that don’t trust Let’s Encrypt, and you need to go get a paid cert for those.

Cert-manager allows you to use any CA you like including paid ones without automation.
It looks interesting but the prescription option seems kinda useless. I have less then 0.5 on both eyes. But it doesn't ask for my eye distance or astigmatism. So it's useless for me?
>And then they leave and form better companies

As opposed to US employees - who are well known among the most loyal employees in the world?
> scripts are supposed to be small simple programs that run in sequence and terminate. I shouldn't need to deal with concurrency primitives at all in that particular situation.

I suppose bash pipes are a concurrency primitive, but I don't object to them. I think it's more about appropriate primitives.
> like four registers available for passing arguments and one available for returning a result, when the calling convention really should be symmetric

The symmetry implies the support for multiple return values.

If the language model has single return values, then continuations take one parameter. Lots of historic papers about continuations model them that way.

Multiple values are tricky. 100% symmetry is never achieved with those things. The problem is that in many contexts, an expression is expected to produce one value. We usually want (foo (bar) (baz)) to call foo with two arguments even if bar and baz return two or more values. There may be times when we want to inerpolate all the values, or some of them, into the argument space, so we need some syntax to distinguish those situations. But if (foo (bar) (baz)) just takes one value from each function, then that means that the primary value is more of a first class citizen than the additional values. There is something special about it.

We can also go the other way: declare that functions should not only return exactly one value, but only take exactly one argument. That is also symmetric! Then currying can be used to combine functions in order to simulate multiple arguments.
> How am I supposed to put a script written using this tool in $PATH?

Separate file that invokes sh or bash and calls the script file with zx and the path to the mjs file.

Should do it.

Though I agree with your objection. The requirement for specific extension while also suggesting a shebang, breaks conventions and expectations. From what I can tell from comments made, it's done that way because they prefer it. Which... is a bit silly. But to each their own.
It depends on size and ambition, and if you're able to continue to improve or add new feature sets ahead of competition - and if you can maintain price points to serve/convince enough of the market to keep using you vs. competition that can come in from all over the world - and be heavily subsidized by VCs.

Getting bought out or IPO'ing on stock market are generally best options, especially with the uncertainty of the next 10 years, which then allows you to be able to essentially stop working for a period of time.

Otherwise the game is you can fall behind developing features, where heavily funded startups simply copy everything you've spent years designing, catching up by cutting their time and effort down since feature sets have already been curated down to a model that works, and you either find a way to survive or competitors take your clients.

Those heavily funded startups who can always outcompete what a stable and long-term business will be willing or able to pay - subsidized by the VC industrial complex, as an additional way to kill competition - on the micro level but also on the macro level - making VC funded companies more likely to succeed overall; even if it's sucking talent away from good or more worthwhile efforts - and also at the expense of the general population, as the VC industrial complex also requires higher fees to be charged; it's inflammatory-inflationary.

There's also the acquihire model in regards to consolidation, which overall doesn't seem good for the consumer but can give a good payout.
> Rc values are moved by default

That could similarly work for Arc values to minimize the atomic bumping.
IIRC Vigo, in Galicia (Spain) struck me as a case of a decently dense city that used roundabouts at relatively compact intersections in the city center, along one street at least: https://maps.app.goo.gl/CwZYypxT5SjBr1QE7?g_st=ic
> "It seems that perfection is attained not when there is nothing more to add, but when there is nothing more to remove.”

Perfection/truth
Do you not see the causal connection between 2% and pages that runs only on Chrome? Those same incompetent devs would make it run on Firefox with a higher % without annoying you

There are also plenty of other direct-to-user benefits