skysight-inc/HackerNews huggingface dataset:
I think Puppet hits the sweet spot in this area. It's default is a series of idempotent "here's how this should be configured" statements, but it can be used as a full programming language in its more advanced capacity, and it's reasonably extensible (in Puppet-lang and Ruby) to support specific custom applications.

I also think that the facts/manifest/apply separation is conducive to nicely testable infra code, and useful dry-run output.

I'm always surprised that Puppet isn't still more popular. My theory is that it's passed over because of its age/cruftiness/bad vibes in some cases, and that a couple of technical flaws mess it up for some key userbases:

For folks who just want a quick-to-start management tool for a small set of config, Puppet's ugly and clunky client/server model and the hyper-YAML-ification of its best practices (which is pursued to a fault by the community, and not helped by the Hiera pitch that the Puppet stack can also be sort of an asset tracking/catalog system) make small-scale usage and prototyping hard. Puppet doesn't have to be used that way (it can be used just like pyinfra/Ansible with a local-apply or via Bolt, hitting a nice sweet spot between ad-hoc/non-idempotent commands and nice declarative/idempotent Puppet code), but I think the puppetmaster/hiera-all-the-things legacy in the community does Puppet and potential new users a disservice.

From the other side, I think a lot of more cloud-oriented users looking for a "better Terraform for server state" end up annoyed by the quality of modules on the Puppet forge and Puppet's lack of a statefile equivalent (meaning that it doesn't support deletes or infrastructure state snapshots in the same way TF does).
I've never worked anywhere on master directly. Always in feature branches that then get merged to master (ideally with my strategy). So basically master always moves forward and it's history is never rewritten.

Master is always locked down anyway by "something" - no idea what the technical term for Github/Gitlab/Bitbucket is. Stopping people from force pushing to master prevents the sort of stuff that happened to you. Even if you don't have any "idiots", you really don't want a poor intern accidentally slightly pissing off everyone.

> I'd prefer to merge to head early. Merge to head often. Merge from head often. Don't have long-running shared branches. This does take some other forms of discipline though.

I agree with everything there, except I rebase instead of merge. So when I merge my branch to master, it's a nice neat little package that sits on top of master. It doesn't have the history of 10 merges I did while I was developing because I don't see the value in those merges.

But hey, to each their own. When I was younger, I used to get into heated debates about why I was right, now I don't really care. I'm either in a branch of my own and can do whatever I want, or working with someone and then I'll just copy whatever they do to not confuse them.
I think about these problems quite a bit myself as I try and choose what technology my kids (3yo and 6yo) get to use with supervision vs “own” and use as their own.

For example, I would like for my kids to own both a music player and video game system at some point.

But, do I just give them a phone? No, I don’t want to manage or supervise an internet connected device. And besides how do they buy and load the music on the phone?

Do I get them a Nintendo Switch and they use cartridges? That would make a lot of sense and they can check cartridges out from the library but a Switch is HUGE for a 7yo compared to a gameboy pocket.

At 7 or 8 I had a cassette player and a Gameboy. But, the analogs to today’s technology are less clear.
I don't think I've ever known how growth valuations work.

Sometimes I feel like the person watching the parade and wondering why nobody else is confused by the emperor's choice of attire.
I’d agree there’s plenty of future promises for Tesla software especially around FSD, but the examples you all listed are just not true on a Tesla today.

There’s a slider on the screen to let you pick forward or backward. No need to let software guess if you don’t want to. High beam flashing is a button on the steering wheel. And wiper control can be mapped to one of the scroll wheels, if you want manual control.

There’s no real reason to turn off headlights in a quick manner, though. I don’t think that’s possible from the steering wheel… but using the screen to disable it while you’re parked seems not particularly onerous.
That seems to be the trajectory haha
Also, today npe superseded ape.
Digitized therapy notes just seems like a really bad idea.
Odd, this looks like it was posted 6 months ago but is back?
GO:

Easy to learn: you can be productive in go in a day or two.

Strong standard library.

Complies to binary. (you dont need to drag a run time around) And this is fast!

Easy dependency management.

Linting is built in. (No arguing over tabs vs spaces)

First class testing. (and its fast)

"good enough" coding is very fast. You can mostly ignore performance and pick it up when and where you need it.

-----------------------

Go users tend to say "Idiomatic" a lot. Your not getting rails, there is no java like framework, and you really should NOT do the node js thing and stack tools to the sky. Minimalism, brutalism.

As an example: Most languages have tooling for dependency injection. Most go projects have dependency injection but dont use a library or framework or tooling to do it. Its just a bit of code (100 ish lines) that you end up writing as part of your bootstrapping, config or testing (depending on the project)....
Incompetent censorship is the worst of both worlds. Filtering out unambiguous spam and low quality algorithmic content and viruses, I don't think that's been a generally controversial idea. Some people may think they want Google to index everything, but it's like saying there should be zero law enforcement, it's transparently impractical.

I'd rather Google simply index the content without using AI to funnel us all into our personal content bubbles. (While using the same data to profile us for countless avenues of profit.)
People are definitely doing business in NYC
C++ used to compile to C.
“The boss of Vastaamo, Ville Tapio, was also convicted of failing to protect his customers' sensitive data.
Investigations found that the databases were vulnerable and open to the internet without proper protections.

He was given a suspended three-month prison sentence last year.

The company which was once a highly regarded and successful business in Finland collapsed after the hack.”
Correct Elixir runs on the BEAN.
I don't understand why anyone would see dropping RISC-V support as a move against China. Chinese companies have their fingers in a lot of pies.

They're mainly invested in the ARM ecosystem, companies such as Allwinner, HiSilicon, Rockchip and UNISOC are very successful in this market. They also make x86 CPUs (Zhaoxin) and have developed their own domestic MIPS-derived architecture (LoongArch).
You ever try cloud-init?

You can specify your config in user-data when launching pretty generic AMIs.
https://cloudinit.readthedocs.io/en/latest/index.html
This isn’t even long term though. Every GE bulb I have purchased (8 bulbs of different styles from different stores) has failed in less than a year. I will never buy another GE lighting product again for the rest of my life.
Generally, yes, but there are some exceptions like different breakers on a shared neutral, which may be tied so that both circuits break.
I've been banging this drum for a while now but everything has become a Market For Lemons.
Be still my heart. I would use this so fast at work where we currently use Go.

But introducing a new language is a scary thing.
CoffeeScript was pretty popular about 10 years ago and did this.
Show HN: I built a Plant Identification Tool Powered GPT4 Vision
Not exactly correct, it does have "core erlang" as a compilation step, but they both have that as a compilation step ultimately compiling to beam bytecode.
Real humans misspell things, don’t be a dick
Congratulations and best wishes for your project. I have hoped for a Go+Rust lang for a long time now.
Respectfully, I think you're trying to do the humble thing by taking a neutral position, which I think is laudable, but your position in this thread has not actually been neutral. Your position has been (and my interpretation of this latest comment is that it still is) that this decision is more likely to actually be a good one, because it was made by Musk. But that's not a "humble" position any more than mine is. The humble position might be something like "beats me! what do I know?". I think your position is more like "deferential".

Sorry if this turned out to just be a semantic point about word choice. I originally thought that maybe it wasn't, that maybe there's something real here about what it means to have a humble view, but now I think maybe you just did mean something more like "deferential", in which case this was a pointless comment and I apologize :).
They made a Typescript for go. Coffeescript was dynamic.
Seems like a time and a place for it.

As an example, Harbor freight has been selling cheap junk from china for many years. It has its place, if you know how to use it. Often times even cheaper than just renting a tool without any of the hassle involved with returning it, etc.
For the reddit and fashion newbs, I'll add r/malefashionadvice too... I mean, even if you never buy any of the expensive stuff on there, it's good just to browse the outfits people put together to get ideas about the types of things you can buy, colors, materials, accessories and how they can go together.
It doesn't make sense that that is the reason. Surely C++ has way more packages. So Go would be a bad choice if package availability was a very important concern.
Upbound everywhere: An automated Crossplane experience for platform engineers
> It is a configuration management tool, like Ansible?

Yes

> Is it meant for running one-off commands across the infrastructure, like Salt?

Also yes.

> It says it integrates with Terraform, so it's not a provisioning tool...

The TF integration is specifically to use TF as an inventory source - ie TF to create resources and pyinfra to then configure them.

> What does it do different (and presumably better) than other tools?

The homepage covers the highlights, I originally created pyinfra because debugging Ansible was complicated (no plain stderr as not "just" commands on the remote side) and slow, but things have evolved significantly since then.

> The Getting Started guide doesn't cover this. The FAQ doesn't cover this, and the Docs doesn't have an Introductory section to cover this.

Hugely appreciate this feedback, this is super helpful and something I will attempt to make clearer.

---

Quick attempt at a better explanation: You write Python code that defines operations (either state "this apt package should be installed" or stateless "run this command"), provide an inventory of targets (SSH, local machine) and pyinfra executes it.

Roughly sits where Ansible does for configuring servers, but also solves the case of "how do I run this command across my server fleet" (which I believe Ansible can also do).
Tangentially related to RISC-V current events: just a few weeks ago came some news[0], that the RISC-V community doesn't consider the support of Yocto project to be too important, and they don't want to support it anymore... (which was quite interesting, considering that RISC-V supposed to be big wannabe embedded competitor).

[0]: https://lists.yoctoproject.org/g/yocto/message/62906
I mean, I hear you in that python is Turing complete so all things are possible through another level of indirection, but I didn't see one shred of amazon.aws.autoscaling_group anywhere in their docs so .. what, I write my own? If I was going to go through the trouble of writing custom shit for Yet Another Awesome Cloud Thingy I'd fire me
Amazon Q Developer: your assistant for the entire software development lifecycle
I think developer experience was bad all round "back in the day". Eg PHP didn't have stack traces, query parameters were automatically set as variables (and quotes escaped with backslashes... Depending on your sysadmin's config...) Compilers would produce broken binaries instead of erroring. By comparison, most people learning JS since Web 2.0 have experience with friendlier languages.
Agreed, as I said it seems like around a 10% improvement, which considering it's fairly easy to ensure the circuits are on different phases, is worth doing IMHO.
Good point,, in school the undergrad lab machines where very locked down and secure. In grad school, every prof had their own few machines in the lab that where shared, limited sudo access to me, I'm sure some shared the machines more openly.

At work though, our lab machines that are not cloud based are shared across the team, everyone has sudo. They get broken all the time whenever someone decides they need a different cuda version. I've brought it up as an issue but nobody really cares haha.
> In fact, Go doesn’t make you deal with your errors

Your right, it does not. I will _ =: an error in a throw away script all the time.

I see that in a code review, in production code... Big red flag. This is a departure from an exception, that might be thrown in one place and handled far far away from the code you're looking at.
Dupe of https://news.ycombinator.com/item?id=40210873
thats always been a concern for me.

if my past passwords can be examined for comparison with a current one, i cant shake the idea that no password is secret under such a regime
This [1] says there were 340,386 truck movements from the Port of LA. Assume all 340,386 trucks need a full charge for each delivery, and have the battery of a Tesla Semi (900kWh). That's 306347400kWh = 306GWh.

Spread over the month, that's 9.87GWh per day, or 411MW. California produces around 500GWh each day, so we need a 2% increase. (Or, equivalently, a 2% decrease elsewhere.)

[1] https://kentico.portoflosangeles.org/getmedia/452bad8c-4e16-...
Wow, this is everything I want from a new Go!

Having worked on multiple very large Go codebases with many engineers, the lack of actual enums and a built-in optional type instead of nil drive me crazy.

I think I'm in love.

Edit:
Looks like last commit was 7 months ago. Was this abandoned, or considered feature complete? I hope it's not abandoned!
Did you mean to duplicate this submission? You posted your own article about it[0](2 points) and this ask HN on the same topic.

[0]: https://news.ycombinator.com/item?id=40211754
It's those tiny little trucks that move loads around the freight depot. They're like the forklifts of the truck world.
I wonder in actual business scenarios isn't the SQL fully known before an app goes into production? So couldn't it make sense to compile it all the way down?

There are situations where the analyst enters SQL into the computer interactively. But in those cases the overhead of compiling does not really matter since this is infrequently done, and there is only a single user asking for the operation of running the SQL.
Suppose for the sake of argument I managed to secure some sort of annuity that pays just enough to subsist on, starting now.

Knowing that I'm guaranteed enough income to stay minimally solvent does not mean I have no reason to care about losing additional income streams that enable me to have things like vacations and dinners at nice restaurants and digital watches.

Similarly, the relative security of the ~1/3 of Boeing's revenue that comes from government contracts is probably small consolation to its shareholders. They do that business more-or-less at cost; essentially 100% of their profits come from other sources.
I see what you mean but how is it academically useful to identify transpilers something of their own? It's still compiling (lowering) from one notation to another.
Complete guide to identity federation with Google IDP [video]
> "spiders aren't bugs"

This one is particularly egregious, because they literally are.

https://www.merriam-webster.com/dictionary/bug

They may not be insects, but non-insect arthropods are included in the definition of "bug".
> As an example: Most languages have tooling for dependency injection. Most go projects have dependency injection but dont use a library or framework or tooling to do it.

I actually see this as a negative and we've been looking at Uber/Fx for more support. DI frameworks don't do anything you can't do without it, but it takes significantly more experience and technological/organizational maturity that I find the average developer doesn't have to do it without framework support.

In the current zeitgeist of being towards the "micro" scale of the spectrum, that "average developer" support is necessary. If you have more modular monoliths or many high quality examples, maybe its better.
I just opened the composer.json file for a complex PHP application, it has 20 imports, total.

I just opened the package.json for a react frontend, it has 80 imports.

I just opened the Gemfile for a complex rails application, it has 150+ imports.

But sure, I'm just trolling I guess.
> A subtle wealth transfer from OpenAI/Microsoft to Reddit (and tbh other VC backed flailing companies) would totally make sense.

That's the confusing part -- the person I responded to posited that they didn't pay reddit and thus couldn't use the data which is the only scenario that doesn't make sense to me.
You'd need to create the EC2 instance outside of pyinfra (ie in Terraform). This could be done as part of the inventory itself, but wouldn't self-delete afterwards. If using Terraform there's a connector that allows you to plug Terraform output as a pyinfra inventory: https://docs.pyinfra.com/en/2.x/connectors/terraform.html
> Then first class constructs like HttpClient are async, so devs are forced to either do the wrong thing or use an older, far less commonly used class to achieve the same thing.

That's not what "forced" means. That's a choice.

> "Viral" features than can't be introduced incrementally in a code base should be a non-starter.

This is the "forced" case. No choice.
Razer made to pay $1.2M over 'N95' face mask that wasn't
They used an OCR program though, which probably has a bias toward attempting to close parentheses.
Crunchy Bridge for Analytics: Your Data Lake in PostgreSQL
C++ is for sure gonna be the biggest example. I think Objective-C too.

There's other successful but not "mainstream" languages that might count or semi-count, like Clojure targeting the JVM (though not Java) and being able to use Java packages, or ClojureScript targeting JavaScript.
My favorite insomnia features and shortcuts
This is a dup: https://news.ycombinator.com/item?id=40210873

Also, according to this comment (https://news.ycombinator.com/item?id=40211782): he's HN's own https://news.ycombinator.com/user?id=ryanlol.
I took a spill with my kids over a bridge that had black ice. Luckily everyone was ok.

We all wear helmets, we almost exclusively use bike/walk infrastructure, and we take it slow.

The biggest risk in my mind is interacting in any way with cars. And so I avoid cars on our routes as much as possible. And I regularly “break the law” by riding on sidewalks because paint on the road is not bike infrastructure and my life is more valuable to me than some ticket for a ridiculous law.
When I was at Retool (Hi Kyle), we wanted to create a way for users to write arbitrary code that got executed against their data in our cloud, e.g. using the MongoDB Node SDK to write Mongo queries in JS instead of only being able to use the pre-defined functions and form fields we had. Engineering researched it for a while, tried out Lambda and a few other things, but we never got there. This would have been sick
Why is it that people just don't care? I expected reddit to go under after the whole IPO debacle and protest but it just sticks around and now props itself up with recycled content. Why won't people leave for somewhere else?
A lot of you are not taking about the biggest reason to avoid GitHub. Having the rug pulled from you.

Terraform? Remember that? VMWare? Redis? What happens when a company stops providing a good deal? With GitHub you have lock in to the way they do things. So many of you complained about CentOS and then go lock yourselves in to far worse when you have CentOS Stream which was mostly good enough.

You have a perfectly good option: GitLab. Yes, parts of it are closed source, but most of you will be perfectly fine with the open source stuff. You can move your repos over to a self hosted option for your independence with ease. Most of you do not care about that because you want to seem like you have a lot of activity on your GitHub.

I do not blame you. I literally had an employer reach out to interview me directly because of my GitHub activity. His job offer was absolutely terrible but it was nice for them to do that this time.

But most of you also want to entertain the idea of moving up in the world from a simple coder. A tech lead, a tech business owner, vc startup, run a nonprofit, etc. Then you care about the rug being pulled from you, either because it means less money for what you want to do or it is a massive hassle to move, and this is an excellent way to prevent that.
My first thought from the headline was “What’s Windows 1.0?” Then I clicked and realized it’s Arc Browser 1.0 for Windows.
That sentence is definitely light given his history
> E.g. you can scan function tables, remap pages r/w, and interpose functions.

Your code doesn't start doing those things without notice due to external interference.

But a linker will add them, on your behalf, without raising any flags.
They explicitly swept all the differences between different NP-complete problems under the rug as "some polynomial-time complexity", so I don't think he's worried about the translation between decision problems and others. He's trying to explain the broad significance of P vs NP for non-computer-scientists, so I'd agree that level of "subtlety" isn't necessary. Someone who cares and puts in the effort won't have a problem taking that in stride if they want to learn the full version later.
Rust does not enforce error checking either.

You can ignore errors in Rust.
Elon Musk's Political Outbursts Have Turned Off Tesla's Core Buyers
It is their guess at what is happening without proof. That is the definition of a theory. It is about two entities secretly working together to do something harmful. That's a conspiracy.

So... I mean... yeah. The comment is a perfect example a conspiracy theory. Both in literal textbook definition and the broader cultural understanding of the term.
Rust is not as complicated as the opening graphic indicates. I usually see this meme from less experienced people but I'm frankly surprised to see it from somebody that's capable of writing a compiler in rust.
“After his attempt to extort the company failed, he emailed patients directly, threatening to reveal what they had told their therapists.
At least one suicide has been linked to the case, which has shocked the country.“

—black mirror type stuff
For all the airline actually cares you should be able to just board a plane as long as you paid for the ticket ... everything else is what they are made to do or do because of (dis) incentives.
And, where, pray, does that liquid come from ... in space? It also seems like a terrible idea to leave little ice particles flying around at hundreds of km/h...
I think the research supports what you're saying.

My professor though was essentially saying "stay out of the sun". It was a bit of a charged lecture since his daughter developed skin cancer.

But, my take is sun exposure is perfectly worth the risk. A life without being outside/being in the sun doesn't sound very enjoyable, though of course moderation is important.
More sunlight, especially UV = fewer symptoms
Nobody needs to adopt the changes. Everybody did because it's better than the alternatives. There are still systemd-less distros if you like it.