skysight-inc/HackerNews huggingface dataset:
You know, we have a fair amount of older scripts written in various languages.

I don’t love Perl, but the fact the language failed to get to version 6 means that these old Perl scripts just keep working.
June 2024 Update: Beta Release of an Online Passport Renewal System
Robert is such a cool guy, glad to see this here in HN.
aren't have of those voting shareholders his cronies? or like literally his brother?
There should be a date, but thankfully the Internet Archive also offers a helpful tool for figuring out how old a web page is and whether its content has changed:

http://web.archive.org/web/20240000000000*/https://help.arch...
How many other posix functions take allocators?
I've been using Obsidian for months now. I couldn't justify the high sync cost even though the offering is nice. So I hacked a solution with the community plugin "remotely save", syncing to WebDAV. I thought it would be shoddy and after 2 days I would just go with the official solution. But no. Obsidian is a "too good to be true" kind of thing.

Also, the fact that it's just files allows me to shamelessly use Restic to back it up. No "intergrations" or "export workflows" - my data is my own (although it might be snooped by the app), I get to decide what to do with it, how and where to put it.

For me, this is the future. Imagine your data is yours. You get to enjoy all the possible ways of making value out of it, not just in some crippled ways that make other rich people richer.
> quick to reach for a description that includes people who want Jewish people dead

Never heard him being called Columbia University or Harvard student.
That seems like possibly the hardest kind of insomnia to treat.

Is there any treatment for this specific kind of insomnia?
I make a habit to always quote strings with "${a?}". That way a typo variable won't blindly go ahead and do the wrong thing.
Short-term I agree, but long-term things can happen.

The internet used to be cool for people like you and me, nerds who know how this stuff works.
It is as likely as the US doing anything to displease Google, Apple, etc.
Let me preface this by saying I like Go. I do. But as much respect as I have for Rob Pike (which, again, I do), he doesn't understand the systems programming space. Go was originally pitched as a systems programming language, a better C, like you said.

But it isn't. It is, however, a better Python (IMHO).

The reason it's not a better C is that it's a garbage-collected language and it has a runtime overhead. As such, Go doesn't really have predcitable performance. It's easy to blow up memory usage (as it is on any GC language) eg goroutines.

So Go just doesn't suit a typical systems or embedded application. Yes, you can use a subset of Go to avoid dynamic allocation and GC in general but really, what's the point in that?

Why it's a better Python (again, IMHO) is that Python has all the same negatives but has a few more, most notably that it is dynamically typed or, as I like to put it, you need to write unit tests for spelling mistakes. I've come to abhor dynamic typing as a truly horrendous false economy. Go doesn't have that problem. Go does need to be compiled but it's a simple language and that compilation is incredibly fast.

My one criticism is that I find Go's unbuffed channels to be a less elegant coordination mechanism to cooperative async/await in other langauges. But YMMV.

Some evidence to back this up is that, at least while I was still at Google, Go projects on google3 were cannibzlizing Python projects and nothing else really.
no he hasn't. like, he donates HEAVILY to anti-union causes and the GOP.
While I try to stick with cross platform utilities whenever possible, the list below contains both MacOS-only and cross platform tools I use daily and could not live without:

# GUI Tools

- Alacritty -- Cross platform, lightweight terminal emulator
- Rancher Desktop -- Better Docker desktop experience
- Alfred -- Replaces spotlight for me
- Amphetamine -- Keep laptop awake
- Rectangle -- Window snapping
- `notunes` -- Prevents iTunes from popping up (brew install notunes)

#CLI Tools

- Homebrew -- package manager
- `lazyvim` -- neovim with a lot of stuff pre-configured.
- `tmux` -- terminal multiplexer
- PagerDuty CLI - https://github.com/martindstone/pagerduty-cli
- Silver Searcher `ag` -- faster grep (brew intall the_silver_searcher)
- Github cli -- `gh` (brew install gh)
- `fzf` -- fuzzy finder (brew install fzf)
- `jq` and `yq` -- Parse json and yaml respectively (brew install jq yq)
We are the grey goo! Excellent idea.
> no more shenanigans with mail-in ballots

Ludicrous. Remember how T**** told supporters to not use mail-in ballots[0], then tried to stop the counting of mail-in ballots? [1] Or told people to vote twice? [2] Yes, one party is demonstrably more anti-democracy than the other.

As for your voter fraud FUD: https://en.wikipedia.org/wiki/Post-election_lawsuits_related...

[0] https://www.factcheck.org/2020/09/trumps-repeated-false-atta...

[1] https://www.c-span.org/video/?c4920640/user-clip-donald-trum...

[2] https://www.newsobserver.com/news/politics-government/articl...
The Core Technology Fee is so absurd. I couldn't help but notice that the Mac is conspicuously missing it. Perhaps the farce would have been too obvious to non-tech people if they had tried to impose it on the Mac.
Why have I heard only bad things on k8s? To the point where it’s a meme to understand k8s…
I get that Apple wants in on this hype, for the first time they felt they can't afford to come years later like usual. But still strange, afaik they never exposed a partnership / a third party company like this before for core functionality.
... It's formatted as APFS, but I believe I was using this approach back before APFS was released, and as such it would have been HFS+. The only non-standard thing I do with it, is that it's case-sensitive.

What symbolic link issues would you be expecting, exactly?
When I write an app, I usually don't want to distribute it outside my family. Ideally no party other than those I want (e.g. Apple) should even know it exists.
As an Android user iOS is kind of bizarre to me.

There are so many weird limitations compared to Android. E.g. I cannot choose a different default navigation app. When I attach a location to a calendar event in the Apple calendar app, I can only open it in Apple Maps. Android asks me which app I want to use.

Same with browser engines, NFC payment providers, etc. Everything is unchangeably linked to the Apple ecosystem. Every user has to jump through hoops to get their favorite apps/user cases connected with each other.
I am still rolling this out to other parts of the website, but here is the new 404 page format https://pillser.com/engineering/2024-06-10-website-without-4...

As described elsewhere, here is how the new logic will work:

- I will track which URLs are associated with which products

- If user hits 404, I will check if there was previously a product associated with that URL and redirect accordingly

- If it is a new 404, I will display a 404 page which lists products with similar names
Can you give an example of the missing semantic conventions?
> My main gripe with OpenTelemetry I don't fully understand what the exact difference is between (trace) events and log records.

This is my main gripe too. I don't understand why {traces, logs, metrics} are not just different abstractions built on top of "events" (blobs of data your application ships off to some set of central locations). I don't understand why the opentelemetry collector forces me to re-implement the same settings for all of them and import separate libraries that all seem to do the same thing by default. Besides sdks and processors, I don't understand the need for these abstractions to persist throughout the pipeline. I'm running one collector, so why do I need to specify where my collector endpoint is 3 different times? Why do I need to specify that I want my blobs batched 3 different times? What's the point of having opentelemetry be one project at all?

My guess is this is just because opentelemetry started as a tracing project, and then became a logs and metrics project later. If it had started as a logging project, things would probably make more sense.
To ensure employment either be a specialist (so you can do something others can't), or choose an older technology that used to be popular but isn't now. Most developers will have moved on, and now you can do the thing others don't want to learn anymore.

Is it glamorous? Does it pay top dollar? No and no, but it is a very secure income.

I'm not suggesting you start doing COBOL. Think more along the line of Java, which has an enormous installed base and nobody wants to have anything to do with it if they can help it. That's an opportunity for you to step in.

Same thing for Perl, there's a lot of existing code that needs maintenance. I'm sure you can think of a few other languages and technologies that fit this category.

Best of luck!
I only played with Zig for a weekend, so others will need to chime in, but a few points:

- Zig's comptime is extremely flexible, while Rust's generics are more constrained. It's not clear if Rust will ever get "specialization" for example, but Zig gets that sort of thing for free by making the whole language available at comptime.

- Zig is very explicit about memory allocation, and the standard library doesn't include types like Rust's Vec or String that implicitly talk to a global allocator. If you're writing an application that must not allocate in the render loop / control cycle / etc, that can be a feature.

- Zig doesn't have a borrow checker. If your application plans to use memory management strategies like "a bump allocator that frees everything at the end of a frame" or "a bump allocator that frees everything at the end of a query", it can be painful to express the lifetime restrictions of those allocations in Rust. Zig doesn't get in the way of those strategies, though that also means there's no such thing as "safe code" in the Rust sense.
Yeah, still wouldn't do that. A vulnerability with just that app is enough to get my data from all those other places, too risky for me
At least they don't hide their intentions anymore
I agree that people probably don't want to pay continuously, but i'm not convinced that people in general don't want automatic/ongoing product updates.
From the EU perspective, I dont believe the DMA definition for third party stores requires them to be an app on the device. In theory it should allow for exactly what you desire.
I only learned about OT after Prometheus announced some deeper integration with it. Reading OT docs about metrics feels like every little problem has a dedicated solution in the OT world, even if a more generalised one already covers it. Which is quite striking coming from the Prometheus world.
Nobody pays ang income tax on loans, it's not unique to Musk. And loans need to be returned, usually.
Sideloading is outrageously dangerous for the vast majority of people.

I'm a developer and the only time I'd want to do it myself is to avoid some silly Apple policy.

Third party app stores wrest control from a single entity and still have some vested interest in doing the security and quality control that most people aren't capable of.
We don't let private companies own nuclear weapons, yet somehow these razzle dazzle claims of OpenAI's nuclear capabilities are never followed by "so nationalize OpenAI".
The commentator seems to understand enough. The secure enclave is still secure no matter what is using it. That's the whole point of it.
According to this the Daintree Rainforest is older than the Amazon, but no mention. https://en.wikipedia.org/wiki/Daintree_Rainforest
This is only partially true. Their business model is based on business use, not personal use. They do allow free community based solutions. Like Notion - use it for free for personal stuff. But better UX and you get to take your notes home.
Affective Blindsight detection of snakes is real and supports that at least the primates have that; there's plenty other animals that freak out at snake like objects (cats, elephants, etc)
Madness. I tell you it is madness.
It's curious how corporations try to litigate business models that struggle to survive the Internet age, enabling places like Anna's Archive to pop-up and do more damage than simply leaving the IA alone.
The presentation may eventually be viewed by people who aren't in the room to hear you speak. In that instance, a title/intro slide makes perfect sense.
Sounds like a possible legal issue, as mkl said, talking to a lawyer is probably what you need to do.
Useless question. Has been asked in various forms here and answered many times.

TL;DR

A. nobody knows

B. nobody cares

(i.e. about what current new shiny thing is, only about your actual _engineering_ skill which is not easily broken down to a list of specific topics to learn per se)
Something I realized hiking the stairway to heaven is how much road traffic in a valley can be amplified by surrounding mountains.
Can't be good for nature.
I think both. It's likely only very impressive high school students got that much access to a computer in 1967.

It reminds me of an article I read about Jai alai years ago: the sport is long, long past its peak, and one of the people interviewed said the players nowadays are some of the best ever, because only people who are really, really good and really, really love the game still try to play professionally.
We are in an uncanny phase of history for sure
Or dangerous agricultural work like picking and processing tobacco.
Revenue is a representation of utility.

Utility hoarding has similar problems and solutions ad revenue hoarding.
What you're talking about here is disabling runtime assertions, which is a common practice in C/C++ (using #define macros). Runtime assertions are strictly inferior to Rust's compile-time assertions because Rust allows you to do a subset of what you can do in C/C++ but it verifies that the memory ownership is correct without a runtime cost, unsafe code notwithstanding).

There simply is no way you could do that in C/C++ (and, by extension, Zig) because of the legacy support.

I'm fine with having multiple languages. One language to rule them all just tends to mean something is mediocre at everything.
Unsure of how authoritative this is, but this article[0] seems to imply it's a matter of branding.

> The efficiency of executing threads in groups, which is known as warps in NVIDIA and wavefronts in AMD, is crucial for maximizing core utilization.

[0] https://www.xda-developers.com/how-does-a-graphics-card-actu...
If you are doing it primarily out of frustration, without reading the articles, and merely out of a desire to "put it in other people's faces", then yes.

Motivation matters. I may care deeply about the environment but if I act from a place of wanting to coerce others, I sow seeds of resistance to the very thing I am trying to achieve.
To be honest, because Cargo is good it makes me not want to leave it behind for something like Bazel.

If Cargo existed, people would not have developed interesting build systems like Meson and Ninja- and especially not Bazel which really leans in to fixing C++'s build issues.

In some cases, worse is better.
Sounds like my life too
I would say it's misleading when it's in a paragraph which is broadly implying that a high gross profit % is a sign of profiteering. See the actual paragraph where the article compares the gross margin of SaaS against the NET margin of Visa/Mastercard.

> Some SaaS companies achieve gross profit margins of 75 to 90 percent, rivaling Windows in its monopolistic heyday. Even the reigning credit-card duopoly of Visa and Mastercard wield a mere 51 percent net margin.

I don't see how anyone can say the above statement or comparison isn't a bit misleading, as the Gross Margin of Visa and Mastercard will be closer to 100% than to 50%.

In reality it's unsurprising that software looks really profitable when you remove all the costs of developing the software.
YouTube will stop ad blockers by merging ads into videos on the server-side
You can't install it on an iPhone and on Android it doesn't pass SafetyNet, IE. no more payments, no banking apps, no national ID apps, no drivers license app, etc.
Doing something not mentioned by the guidelines and hoping it gets through, I can understand. Doing something explicitly prohibited by the guidelines and hoping it gets through seems like an unwise use of resources.
Sounds utopian and inspiring. I hope it never gets enshitified.
A recent example of OTel confusion.

I could for the life of me not get the Python integration send traces to a collector. Same URL, same setup same API key as for Nodejs and Go.

Turns out the Python SDK expect a URL encoded header, e.g. “Bearer%20somekey” whereas all other SDKs just accept a string with a whitespace.

The whole split between HTTP, protobuf over HTTP and GRPC is also massively confusing.
AI will be a formidable weapon from surveillance, propaganda, indoctrination, information war within and outside USA. Of course the executive branch (which includes the white house, all institutions it controls and military) is going to use it, for domestic and foreign policy purposes, with no checks and balance, no accountability or restrain.
Surely the game must have hundreds of bugs like any other game.
Soft skills and deep knowledge of the fundamentals.

Also, this gets asked all the time, so be sure to use HN search.

https://hn.algolia.com/?dateRange=pastYear&page=0&prefix=tru...
A technical presentation still needs a story. This is standard storytelling technique -- you start with the inciting event, the hook that gets you interested.

How does The Matrix start? With Trinity about to get caught. Bambi? Mom gets shot. Star Wars? A tiny ship is getting chased by a huge ship with lasers.

A good tech presentation follows good storytelling: 1) Inciting event, build to a semi-climax, pull back a little, hit the climax, then conclusion.

If you want to be a great technical presenter, read some books on telling good stories. :)
Interoperability with C is amazing. You can literally include C headers in your Zig code and start using it without manually writing / generating any boilerplate. So I would imagine if you need to heavily interact with a lot of C libraries, it might be better for that use case.

https://ziglang.org/documentation/master/#C
I read somewhere about a similar tech a long long time ago.
It must have been this one:

https://www.researchgate.net/publication/224648269_Tongue_dr...
Though famous as the first lunar lander game, the impressive part was the specific numerical techniques used.
How long have you been writing Rust?
Even a gradual “manual” move would be pretty easy for most orgs. Most are probably only using issues and PRs.

Close/merge all your PRs, put in an edict that says “no new issues” in GitHub, eventually all existing tickets will be close or go stale.

Most organizations could probably use the house cleaning anyway.
I get what you're saying, but I don't think that contradicts the optimal strategy I outlined?

Rather than a large deviation from a suicide burn at the end of the burn, a small deviation at the beginning of the burn should be a cheaper way (w/r/t fuel burn) to "search" the buggy code for a possible soft landing solution.

Anyway, what a fun write-up! Thanks for posting it.
Instead of using AWS another approach involves self hosting the hardware as well. Even after factoring in energy, this does dramatically lower the price.

Assuming we want to mirror our setup in AWS, we’d need 4x NVidia Tesla T4s. You can buy them for about $700 on eBay.

Add in $1,000 to setup the rest of the rig and you have a final price of around:

$2,800 + $1,000 = $3,800

This whole exercise assumes that you're using the Llama 3 8b model. At full fp16 precision that will fit in one 3090 or 4090 GPU (the int8 version will too, and run faster, with very little degradation.) Especially if you're willing to buy GPU hardware from eBay, that will cost significantly less.

I have my home workstation with a 4090 exposed as a vLLM service to an AWS environment where I access it via reverse SSH tunnel.
I'd expect this once users see what can and cannot be version-controlled.
Okay, let's assume then all this thread is about being pedantic, and not because you're actually against child labor laws. My bad.

Still not sure how sending kids to work will increase their safety. You've mentioned evidence but I've never seen any evidence that supports it increases their safety. We've seen evidence it can decrease their safety since some are killed/injured, even if you dismissed it as not statistically relevant.

So in the end, this goes both ways: we don't have evidence that allowing kids to work improves their lives or society, making it a bad policy.

My guess these policies were based on greed, not "vibes". Clearly better, right?
I tried to find some research on repeated auctions, couldn't find any.
Well, it's been a good run. I sure will miss them, though.
I know the feeling, yet you did not earn shit. You were on the right side of lucky and we tell ourselves stories of justice.
I think its a bit different. In other scenarios like income, capital gains or even sales tax, its tied to the taxee gaining something. Its the price of doing business and an evaluation can be made by the taxee. Incentives are pitted against each other and chalked up to the price of doing business.

An LVT feels like pure downside to the taxee. There are no beneficial _direct_ effects. Its psychologically very different, especially for residential land.
There was an 16mm film presented at my elementary school. It was a Martian documentary on their observation of Earth, circa late 60's probably. Never found it online.

It marveled about the dominant lifeform there and all it created, consuming everything and expanding. It was highly diversified in size and color. It followed one lifeform to where it rested, and it disgorged "parasites", which from the fuzzy overhead view were humans and their dog staggering around in comparison to the elegant motion of the lifeform.

It was pretty deep for a fourth grader.
I like Zig a lot. It feels like C, it's easy to use C libraries in Zig, and it's more ergonomic and has fewer footguns. As soon as Zig's standard library stabilizes I'll be all over it.