skysight-inc/HackerNews huggingface dataset:
Sure, it reduces costs quite dramatically to be able to do stuff like this:

upgrade_check_ssh = ->(vmh) do
p [vmh.ubid, vmh.created_at, vmh.sshable.host]
vmh.sshable.cmd(<<BASH)
set -xeuo pipefail
sudo apt-get update -qq && sudo apt -qq -y satisfy 'openssh-server (>= 1:8.9p1-3ubuntu0.10)' && sudo systemctl restart ssh.service
BASH
vmh.sshable.cmd(<<VERIFY)
set -xeuo pipefail
dpkg-query --showformat='${Version}\n' --show openssh-server
ssh_pid="$(systemctl show -p MainPID ssh.service | cut -d= -f2)"
(set +e && sudo grep -F deleted "/proc/$ssh_pid/maps" ; [ $? -eq 1 ])
VERIFY
end

cohort_draining = VmHost.where(allocation_state: 'draining').order_by(:created_at)

cohort_draining.map { upgrade_check_ssh.call(_1).tap { sleep 3 } }

This is me upgrading OpenSSH on July 1st to account for the RCEs reported at that time on some low impact servers.

I then wrote many minor variants, to change the cohort (eventually targeting all servers), as well as a verification pass. The methodology and output is recorded, along with the time, in Slack. That's how I'm able to roll the tape for you now with precision, almost two months later, in late August. This kind of precision in recall and methodology is important for efficient operations...especially when things go wrong. A common thing we do, upon seeing, say, a broken VM Host, is paste its identifier into slack, to see if it's something of a troublemaker. From people's other code-and-output pastes, we can see what they ascertained, and how, and what was done.

I would not consider a language without a robust REPL for this kind of work. It is connected with an integrated develop-operate model, where the people writing the programs in these symbols every day are also assaying the problems. This unification is key.

And, somewhat related to that, I have not seen JVM nor BEAM libraries as high quality as Sequel, Roda, and Rodauth in their respective functions, and roughly in that order of importance, descending. These dependencies are invasive to how my code is written: above, you see some Sequel. We rely on other libraries being high quality (e.g. the pg driver gem, or net-ssh), but they are less invasive in this crucial way.

I did, at various points, consider applying this methodology to Python (the grammer's whitespace sensitivity is a serious problem, consider "cpaste"), TypeScript, Elixir, Scala, Julia, and even Swift. Although these rather conspicuously have REPLs, none have a Sequel.

I think people could make other REPL-enabled choices that work for them. But in my evaluation, some of the features of these runtimes did not overcome the consideration of a handful of key libraries.
Yup, even in the cloud. Apple doesn't care about developers.
The Hitchhikers Guide to the Galaxy

Surrounded by Idiots

Meditations
Having worked in general insurance for a number of years a decade or so ago, it is no surprise to me that this is happening and while California being a canary may relate to their own particular regulatory regime, the underlying fact is that localised impacts of climate change across the world has been and will continue to drive insurance premium increases. If you really want to peek through a window into the future when it comes to risk, just look at what insurance industry actuaries are predicting.
An app may or may not succeed despite your best efforts. Your physical goals will show positive rewards, and I do recommend some "positive definite" activities to keep you from the anxiety and depression.

I am retired now, but things like photography and piano always rewarded my efforts. So did raising a wonderful daughter. She got an honors psych degree and always recommends a therapist. I tell her that I'm too old to fix!

Your programming efforts are the means, but also an end. You'll grow from them, and even if your app is not a "killer" app, your work will find a use. I had a wild variety of jobs and always had to learn new things for the next one. In the process, I found that "good homework always pays off" eventually.

I hope that your efforts bring forth your desired result, but be prepared to be surprised if you succeed in unexpected ways.

Health is wealth, too.
It seems the issue with this open-source driver is supporting some of the highest-performance modes of HDMI (like 4K @ 120Hz). Would that even work in a DisplayPort-to-HDMI adapter?
Sure, except:

- those fonts will have different sizes (not guaranteed to be metrically compatible), which would make working with UI harder
- sometimes the built in fonts look pretty unpleasant (Courier New, anyone?)
- it will look different on every OS, which in most cases will also complicate testing and hurt branding (in actual projects)

I think the world would be a better place instead, if all of the OS makers got together and were like: "Okay, everyone needs fonts, let's just take the 20 most popular serif, sans serif and monospaced fonts with open licenses and include them in our OS default font stack, so they can be used in all the sites, without costing humanity PB of data transfer because we couldn't be bothered to include like 100 MB of additional content in our OSes."

Instead, nobody cares and the only options we have are to either use the crappy web safe fonts, or waste bandwidth to make websites look better. Luckily, if you prefer the former approach, then you can untick "Allow pages to choose their own fonts, instead of your selections above" in Firefox options or the equivalent in other browsers.
Even if they were to do that, it wouldn't really be a long term fix. Who would maintain this "unofficial" GPU driver? AMD themselves can't.
This is such a bad faith character assassination. The “child-beating” is an accusation from his partner after he stopped paying 150,000 euros a month in child support [1].

Of course, some weird accusations suddenly come out in such situations, coincidentally not when the money was flowing. The Swiss government hasn’t charged him with anything, so he’s innocent before the law in that case.

The issue here is between Durov and the French government. HN won’t care if he was indicted for domestic violence or something else not related to his app.

Thanks for falling easy to outrage rumors though.

1- https://archive.is/TTwFf
Controversial take: reading books to get better at software is like reading books to get better at swimming. Like people don't get better at math by reading books about math... So you should go read code. But reading code is boring if you're not also writing code (same goes for math) so my real recommendation is to go find a big OSS project in an area you're interested in and start contributing. If you don't know how to start doing that, pick one with a GitHub and go look through the issues. Any serious project will have a label like `easy` or `first PR`, respond to one of those and tag one of the contributors asking something like "can you give me a code pointer so I can get started". And off you go - guaranteed to make you better at software if you do it for long enough.
Not a manual, handbook, or guide per se - but I've learned an awful lot from reading

Coders at Work: Reflections on the Craft of Programming
>Of course not. It's just protectionism and rent-seeking.

Don't know why you're being downvoted but it's true. Especially when you see that the HDMI standard was developed by the cartel of TV manufacturers and major movie studios[1] when DVI and Display Port already existed but those didn't generate royalties or have DRM.

Despicable standard. There wasn't even a standards "war" like in VHS vs Betamax, or SD vs MemoryStick, or USB vs Fire Wire, to say that HDMI won over DisplayPort, it was simply shoved down consumers' throats since every TV, media player and games console only shipped with that port alone as they were manufactured by the same cartel that developed the HDMI standard.

So much for the so called "free market".

[1] https://en.wikipedia.org/wiki/HDMI#History
Yelp is a thoroughly nasty company.
I don’t know what you mean by “synchronized propaganda”. There’s a lot to dislike about Telegram. They are in the middle of pretty much every kind of illegal activity you can think of. So it’s not true to say that only intelligence agencies could have an interest in taking them down.

You are likely being downvoted because your argument contains a hidden but incorrect premise that the only reason a platform CEO would be arrested is for national security reasons. From that (false) premise it would follow that since he isn’t being arrested for national security reasons, his arrest was unjust.
I have a Wechat I shit post on regularly without any interference yet - My channel has reach of 50k+ views per post. I know, small numbers for China in the grand scheme of things.
This syntax looks a lot like PRQL. ClickHouse supports writing queries in PRQL dialect. Moreover, ClickHouse also supports Kusto dialect too.

https://clickhouse.com/docs/en/guides/developer/alternative-...
OpenAI actually lets users to upload content to the chat input.
Ahh I see, thank you for the details. Your product looks tempting even just for beach shoes ie walking on rocks, coral. I’ve faced problems with existing products that they either have holes in them that small rocks can get in or they’re not tight enough and can easily fall off when swimming.
So be specific: Which disinformation in your opinion should have been censored at which government's request and wasn't?
I've got one of these systems too. Mine hasn't died yet, touch wood, but I was concerned enough about the possibility that I went as far as documenting the comms protocol and starting to design a pi hat to talk to the main control board.

I should really write that up at some point too.
I disagree. If there are orders (orders with an 's', meaning more than one order) of magnitude more easy targets, why would any lawyer go after a rarer and harder target? That makes no logical/financial sense.
Ask HN: Hackers, how do you handle the dread and still love computers?
Whether it's getting your first job in the market, or having to do Leetcode for switching from a toxic, stressful job, how do people handle the dread without breaking down?

More importantly, what makes you still love computing amidst all this? Sometimes one feels the dread when being underpaid, other times the dread is because you're paid fine but you're doing essentially nothing that you feel good about. Can the hacker lifestyle of the 80s-90s still be revived without breaking down? Can we still have fun with computers and be creative instead of being stuck on chasing whatever new surge happens to the market?
This is brilliant. Great write-up. I'm glad it's already on archive.org since this is nice and detailed. Much appreciated, man. I learned so much here:

1. PoE to USB

2. Smali debugging

Funnily, I thought it was serial over CAT5 because we have a couple of old network switches that are configured like that.
This looks super interesting, congrats on reaching 1.0! If you do a lot of customization on the Android side, do merge conflicts become a headache? Also, does the Skip plugin assume that you're using Xcode's built-in git?
I’m not sure why anyone would want to handle field repairs where a rocket can blow up your entire operation at any time. Or maybe have some other type of repair in mind. In for a penny, in for a pound, bros.
Agreed - I used CSS to lay out a book a couple of years ago and it wasn't too bad, but the things that have poor support/don't work at all (like page numbers) are a pain to hack around.
No, I think he has a point. There's more than one person saying stuff like "these are awful", which is unnecessarily harsh. Sycophancy isn't good, but neither is just ripping on someone's work. You can give constructive criticism and still be nice about it.
The norm is enforced, it's just that it is not the needed norm.

I see it more as missing a sound authority stopping the fight of siblings.

I'm surprised noone is seeing an analogy at work. I switched teams recently, from an engineering team to a software engineering team, and it was obvious that they applied the SO attitude at work: bullying, berating questions, avoid facing the truth etc...
> An ideally trained network could, in principle, learn the data-generating program

No disagreement

> I might have a NN that naively looks like it takes up GBs of space, but it might actually be parameterizing a much simpler function (hence our ability to prune/compress the weights without performance loss - most of the capacity wasn't being used for any interesting computation).

Also no disagreement.

I suggested that this probably isn't the case here since they tried distillation and saw no effect. While this isn't proof that this particular model can't be compressed more it does suggest that it is non-trivial. This is especially true given the huge difference in size. I mean we're talking about 700x...

Where I think our disagreement is in that I read the OP as saying __this__ network. If we're talking about a theoretical network, well... nothing I said anywhere is in any disagreement with that. I even said in the post I linked to that the difference shows that there's still a long way to go but that this is still cool. Why did I assume OP was talking about __this__ network? Well because we're in a thread talking about a paper and well... yes, we're talking about compression machines so theoretically (well not actually supported by any math theory) this is true for so many things and that is a bit elementary. So makes more sense (imo) that we're talking about this network. And I wanted to make it clear that this network is nowhere near compression. Can further research later result in something that is better than the source code? Who knows? For all the reasons we've both mentioned. We know they are universal approximators (which are not universal mimicers and have limits) but we have no guarantee of global convergence (let alone proof such a thing exists in many problems).

And I'm not sure why you're trying to explain the basic concepts to me. I mentioned I was an ML researcher. I see you're a PhD at Oxford. I'm sure you would be annoyed if I was doing the same to you. We can talk at a different level.
If it has that much interest, someone will put it on GitHub and maintain it. Of course, it'd be unofficial, but so was support for MP3s in Linux distros for many years: you had to download software from outside the US to make it work.
Nah, instead you’d have them invoke that Donald Knuth quote saying you should never attempt any optimization ever.
what a big loss, what will we do without the bots and memes?
Is there a research paper is this?

Seriously, I find the most interesting works self-published in people’s personal blogs and I often wonder if there’s a paper in there and why it didn’t make it into a paper.

Maybe there’s a paper in finding the largest repeating sequence in Pi. There have certainly been more niche papers than that.
I work on my own projects. I never did like working a 9-5 job
Am I understanding correctly that they are proposing to add Rust to only userspace packages, not the kernel like in Linux? I guess the real limitation then is that the base system is built in tandem with the kernel, unlike in Linux.
Precedence-aware pretty printing
We installed Daikin AC in our house two years ago. Luckily, those units can be controlled locally (no cloud) via Daikin app (which says is unsupported and I should update to another app, but that one requires creating an account so screw that) and, more importantly, via HomeAssistant. What makes me really sad is that of all the "smart home" appliances we have, the AC is the only one doesn't go through cloud.
Not really trees, are they?
Same here! But a friend just texted me they can see it. Internet routing snafu right now, maybe?

UPDATE: yep, works if I turn on a vpn. And works over cellular. But my ISP can't route to it at all. Either DNS is returning a bad IP in some cases, or there's some regional routing problem.
While there are no fundamental reasons for any video mode to not work, most of the DisplayPort to HDMI adapters that are currently on the market do not support the latest standard versions of DisplayPort and/or HDMI, so when a very high performance mode is desired, it might not work.

However, the main use of adapters is when you travel and you find in your temporary office an HDMI-only monitor, or when you must use a meeting room projector. Such monitors or projectors seldom support high performance video modes.
Good questions. I don't have an answer.
There's an even bigger hack: use photoshop to modify the prescription. My wife has been doing it for years. This is helpful since sometimes the prescription is over-specific and points to contacts you don't like.
It is totally okay to not use Rust in the base system, as phk reasonably objected. But many arguments against Rust would not necessarily translate to other languages that may reasonably replace C and don't (yet) come with a large ecosystem. (Zig would be a good example here.) In fact, a more productive path forward will be finding such language and funding its evolution so that it remains usable without a large ecosystem to be eventually built!
> Multi-cloud is simple, just don't use anything that's unique to a particular provider.

Using provider-specific services is fine. You only need to be mindful of what it will take to migrate that functionality out of that specific cloud provider,and what work will be required to replace it.

Everything is a tradeoff. The time and cost required to roll out a feature is balanced by the cost of avoiding a tie-in. It makes no sense to spend ages and tons of cash writing a cloud-agnostic implementation when a one-liner of a cloud-specific service does the same job.
Ask HN: Which songs make the ultimate deployment playlist?
We all know the moment, you've been slaving away for ages and it's finally time to push up that major release.

Remembering back to my early coding days, in the Melbourne web dev scene in the early 2010's (shout out to inspire9 folk).

We had a special play list that went on anytime someone was ready to push live a big release.

So HN, I want to know, what are your key recommendations for the ulimate deployment play list. Any special thoughts on the song order?

Respond with a comment, a list of songs, one epic song and why or even a link to your existing playlist.

May the deployment (rock) gods shine over your future releases
Network topology mapping of chemical compounds space
But it has been explained many times from many angles.

* SELECT first makes autocomplete hard

* SELECT first is the only out of order clause in the SQL statement when you look at it from execution perspective

* you cannot use aliases defined in SELECT in following clauses

* in some places SELECT is pointless but it is still required (to keep things consistent?)

Probably many more.
I have fewer display port devices now than 8 years ago.
https://archive.is/wDlpb

I found it a little low on detail, though.
Because of the hassle of configuring Firefox, I've been using Floorp for quite some time. But it is also not perfect.. This is definitely interesting. If Mozilla can also sync userChrome between machines it will be perfect...
> First AI-enabled TOUGHBOOK PC

Human: Toughbook AI, write me a draft report for this arrest.

Toughbook AI: Nice try! I ain't your secretary, wiseguy!
It's probably useful to un-read Clean Code, though I don't really have a recommendation for a good replacement. The replacement is something like "Make a lot of mistakes and develop good taste based on your experience."

If you're interested in performance, you can read https://algorithmica.org/ and https://people.freebsd.org/~lstewart/articles/cpumemory.pdf
I recently stumbled upon this (and it sounded great!), but was already too far in the development cycle of a medium sized Swift UI iOS app. Instead I used ChatGPT & Claude to convert the SwiftUI Code to Kotlin & Jetpack Compose & Material3. This worked crazy well. The generated code worked almost instantly and basically just needed small modifications for the styling /theming. I think the similarities in SwiftUI and Jetpack Compose make this a great match for LLMs
http://archive.today/IcidM
Great write up. Australia has pretty good consumer protection laws.. I feel like the warranty period offered by the manufacturer could/should be superseded by the Consumers Guarantee Act – it seems reasonable to expect an AC unit to operate and work for more than a few years.

There is no specific time when the consumer guarantees no longer apply to products. They may apply even after the manufacturer's warranty period has past.

https://business.gov.au/legal/fair-trading/australian-consum...
I'm so glad my appliances are made in Japan.

Still, I didn't think appliance failure out-of-warranty was covered by homeowners' insurance.
I agree with the gist of your comment but I think people can benefit from books about maths. A classic example that comes to mind is Polya's "How to Solve It". It's about the meta of doing maths (or the tacit knowledge of a great mathematician), not about specific fields or theorems.
If there are 8 blue beads and 2 red beads in a jar, and I ask the computer to draw a bead out of the jar and its a blue one that it has drawn, did it really think about giving me the bead?
How would you describe a path to learn this kind of things ? (Even just dropping a link would be appreciated).

Indeed typical education is about algos and programing paradigm (like procedural, functional, OO, etc) and context (system, native apps, web, data), but I don't remember/understand much about what you describe (but definitely faced it on toy projects and reacted like the "junior way" you describe). Heck we even did some deep stuff like language grammar / compiler design / and this thing with the petri boxes but it's a lot less practical and actionable I find.
I keep seeing this online. Why? Clean Code was instrumental in my improvement as an engineer.

Is there a reason why this is the opinion nowadays?
Not even 1%.

It would be interesting if someone already in AC repair made it part of their business though. That's when you'd see the teeth come out.
The exact context [1] is more nuanced:

> Only because this stuff all evolved from C code. Smart pointers would certainly work.

> [In a following reply:] Actually, TBH it's because I'm not real great with C++. It's a difficult language, and after 2016 I stopped even trying to improve my C++ skills. Instead, I've been focusing on Rust. Even when I wrote these tests in 2019, I strongly considered using Rust instead of C++. In the end, the only thing that forced me to use C++ is because I wanted them to live in the base system, rather than in ports.

So he surely knows about smart pointers but intentionally didn't use them.

[1] https://lists.freebsd.org/archives/dev-commits-src-main/2024...
You can't really choose any union, it has to be something that supports your type of work. But you don't have to join the union, and the union have very different functions. What americans call Unions isn't really what we mean when we talk about Unions. This is why american companies tries to fight unions in europe so hard. When they finaly realize the difference they accept the unions of europe. Some just take a bit longer to come to understanding.
This post was unflagged few moments ago, also received 20 likes (from 7 to 27) for last hour.
"Deming Factor Deploy Mix"

https://open.spotify.com/playlist/3fsGpmEXHfqitoQlLjyFTq?si=...

1. Push It (Salt-N-Pepa)

2. The Final Countdown (Europe)

3. Under Pressure (Queen, Bowie)

4. Pressure Down (John Farnam)

5. In Motion "Coding Facebook song" (The Social Network)

6. Pocket Calculator - 2009 remaster (Computer World)

7. Livin' on a Prayer (Bon Jovi)

8. We built this city (Starship)

9. We are the champions (Queen)

Push It is such a banger and gets everyone in the mood, and following a confident first few songs I love that around 30 mins in, if your still going, that Living On a Prayer plays with the line "oooh, we're half way there..".

We Built this city is the follow up, bringing back the confidence.