skysight-inc/HackerNews huggingface dataset:
If you want to actually learn how to code well (i.e not driven by a business need or a time table), here is how I would do it. All of these steps would be assisted by LLMS of course.

1. Learn basic assembly. This is to basically get used to thinking in terms of computer memory, operations, and so on.

2. Learn the Linux OS in depth. You should be comfortable in the terminal and with basic OS operations done in the terminal on. how to manage processes, how to search for files, move files, delete files, how to write to files, read from files, pass data to programs, analyze network traffic and open ports, see running services, how to use crontab, user management, and so on.

3. Learn C code, and how it compiles to assembly. Along the lines, learn how the linker works, how elf format works, how dynamic loading works. A good exercize is to compile hello world without #including anything and compiling with -nostdlib and -nostartfiles option. Another good exersize is learning how to modify an elf file to make it use a different dynamic library. Using Ghidra to look at binaries is also useful as well.

3. Learn networking in depth. Ideally, you should be comfortable writing a pure ethernet (i.e Layer 2/Link Layer) communication server, so 2 computers on the home network can talk directly without using IP protocol. However realistically, you should be comfortable at Transport layer, ie TCP/UDP and writing handlers to talk on sockets, and application layer stuff with writing http servers. Do this stuff in C.

4. Learn supplementary low level stuff. Namely you want to explore threading, compiler optimizations (along with undefined behavior), analysis tools like valgrind, as well as some linux interface stuff, like for example how to change the process to run as root.

Once you have this basics down, its very easy to really pick up anything. Python will feel enjoyable to code in, but fundamentally you understand how it works under the hood, so its very easy to get up and running with it.
I haven't laughed so hard at a story headline in a long time. Kudos and thanks for that!
Fair, I think of this as advanced logic, and those concepts (and that notation) as prerequisite.
And if you turn it back on you are now at the point with no safety margin.
I'm having a hard time taking this seriously: "only 1.75 trillion"

What a ludicrous statement. I mean, I know inflation has been bad but not THAT bad. One or two trillion dollars is an absolutely enormous amount of money.
Funnily enough, I tend to think the arrows should be in the other direction. Philosophy birthed Math, which was necessary for Physics, ... etc.

That's not to say Philosophy has outlived its usefulness, but... it was probably more consequential 2000, 400 or 200 years ago, in practice.

(EDIT: I should add... there is also a lot of absolute dogwank in Philosophy too... but I think that's universal for any field, tbf.)
If you haven't read "A Canticle for Leibowitz" I highly recommend it for a perspective of technology after a nuclear holocaust.
Kaiser was an option when I was making 130k a year.
I'm not sure we can use such definitive language about the definitions of new words.
The crash in the article happened when Python called C's getenv. Rust could very well throw away libc, but then it would also be throwing away its great C interop story. Rust can't force Python to use its own stdlib instead of libc.
Modal Sandboxes are generally available
Judging Code
The version I recall has "upon their knees to bite 'em". Maybe my juvenile brain made up that internal rhyme the better to remember it.
Even if C stdlib maintainers are resistant against making setenv multi-thread safe, at a minimum there should be a new alternative thread-safe API defined, whether within POSIX or defining a defacto standard and forcing POSIX to adopt it over time. If instead of explaining why nothing could be done was spent fixing this problem, a new thread-safe API could have replaced the old setenv which could have been deprecated and removed from many software projects.

I'm also not convinced by Musl's maintainer that it can't be fixed within Musl considering glibc is making changes to make this a non-issue.
I am not qualified to make any assumptions but I do wonder if a massive investment into computing infrastructure serves national security purposes beyond AI. Like building subway stations that also happen to serve as bomb shelters.

Are there computing and cryptography problems that the infrastructure could be (publicly or quietly) reallocated to address if the United States found itself in a conflict? Any cryptographers here have a thought on whether hundreds of thousands of GPUs turned on a single cryptographic key would yield any value?
looks like it's planned: https://github.com/oven-sh/bun/pulls?q=is%3Apr+is%3Aopen+mus...
Cross platform refers to the application itself, not the files that it produces. TextEdit is a poor substitute, a much better alternative would be Sublime.
I reported a vulnerability to Amazon last year. I got initial response within 24 hours. And follow up emails every week until it was patched. Was kind of well handled.

They don't do bug bounties though
Couldn't we have a better pattern for this?

if (__environ == NULL || name[0] == '\0')
return NULL;
Agree that this isn’t my best comment but respectfully disagree that this is a personal attack. I’m giving honest feedback regarding cynical attitudes. There’s a big difference between healthy skepticism and cynicism. Judging by the responses, some of which I’ve heard almost word for word in RL, it seems folks have a hard time distinguishing between the 2.

Cynicism is widely known to be a problem in organizations as well as problematic for individuals. I’m not asserting anything that is not well documented.

See for example:
https://hbr.org/podcast/2022/08/is-cynicism-ruining-your-org...

As far as the 2nd comment goes, it’s a bit of a stretch to call that a pattern and threaten to ban me.
Engineering Impacts of Anonymous Author Code Review: A Field Experiment [pdf]
Signals intelligence is an interesting topic, doubly so from orbit. The article covers some Cold War hardware, meanwhile today the largest antennas deployed that we know of are from the Orion satellites, with an estimated 100m diameter primary dish, nearly as long as a football field, and its predecessor Magnum with one of approximately 77m, both with a very unique "unfurling" mechanism given their size.

https://en.wikipedia.org/wiki/Orion_(satellite)

https://www.globalsecurity.org/space/systems/magnum.htm
The proof being supposed confession screenshots from some youtuber with 2.9k subs who "had a chat with elon". Now busy monetizing this to the moon and beyond.

Come on. Even QZ writes: "That revelation came in DMs he seemingly exchanged with ..."

(I also believe he probably cheated somehow, but this is not the evidence.)
My point is: when looking for the "root cause" of these problems, people shouldn't stop asking when they get to the rent being high, that's a symptom.

Additionally, if people care about helping younger generations, it's within reach to jump in and help shape the communities they'll be living in. E.g. If an issue is zoning, go to zoning meetings.
Long form reading is dying.

We have a multitude of immediate distractions now.

Books build richer worlds & ideas. But without learning to love books very early in life, which takes a lot of uninterrupted time, they don’t come naturally to most.

I used to read a few books a week, virtually every week. Sometimes two or three in a long day and some night. I still read a lot daily, interesting and useful things in short form. But finding time to read books seems to have become more difficult.
Nit: that's not what negative reinforcement means. Negative reinforcement is about removing a negative stimulus, like inducing someone to go to a desirable website by improving their initially bad text contrast whenever they go there.

In this case, jumpscaring yourself would just be considered punishment (or "positive punishment").
I don't care about the topic in general.

I do find the "everyone does it" claim interesting in the sense that studies have shown that people who really do defraud, lie, cheat, steal GREATLY over estimate how many people do it.
The universe, you mean.
The biggest proponents of TDD I’ve seen are only capable of writing code that one cannot trust in the absence of tests. Writing tests is good, striving for 100% coverage contorts code in ways that are detrimental to robustness and correctness.
I absolutely am in those conversations and see the time and energy, and some of it is mine, across a sizable organization. I am absolutely not saying that industry is a friction-free meritocracy, and of course there are politics everywhere.

What is unique to academia is the static supply of jobs. When people don't leave, new people face a huge uphill battle to join, and that battle is largely against their competition, not the institution that they seek to join.
It uses Falco libs[1] underneath, which supports capture using eBPF or a kmod. I work with the Falco libs team and they go to great lengths to minimize overhead.

[1]https://github.com/falcosecurity/libs/
If the description and reporting is accurate, this person did everything right and was cleared medically (initially), yet sadly still passed away. Unlucky? Bad helmet design? Incompetent concussion assesssment?
Wine 10.0 released, adding Linux compatibility for Arm Windows apps
Have you heard of people who need to have a very clear structure to their lives in order to live a good life? Does that make you lose faith in existence?

Well some commenters here are about a hair-width away from declaring losing faith in humanity. Anyway.
That's effectively "make clean" just slightly more automated. Btw, what happens if you change CFLAGS? Does anything get compiled if no files have changed?
I do IT support for a 911 center. We get about one of these per month coming from landlines on the ILEC's old copper cable plant.

On one serendipitous occasion the fault came from a school district I also support. The fault came from a contingency landline kept around in case the VoIP phone system lost digital PSTN connectivity. I was able to plug-in to the line w/ a butt set and hear clicky, buzzy, nightmarishly bad PSTN sounds thru it.

We turned it over to the ILEC and they "fixed" it. Given the number of "roadkill" splice pedestals I see in my area I feel pretty confident the ILEC isn't doing any maintenance of the copper cable plant at all. (It makes me pretty irritated, considering the favorable tax subsidies they received to build it.)
It is only what a few thousand per citizen? That is pocket money for FAANG engineers so not a big deal...
It's an indirect attempt of tackling any first order problem. So is all software engineering.
Sad waste of money that will go in Oracle licenses...
The lost liberties of the American people is just a small feat... beside the point
How exactly would that help in this situation?

If both Rust and C have independent standard libraries loaded into the same process, each would have an independent set of environment variables. So setting a variable from Rust wouldn't make it visible to the C code, which would break the article's usecase of configuring OpenSSL.

The only real solution is to have the operating system provide a thread-safe way of managing environment variables. Windows does so; but in Linux that's the job of libc, which refuses to provide thread-safety.
I posted sources at salary.com where you can filter by city and is more applicable to most developers than levels.fyi. I also mentioned what non tech companies are paying like Coke, Delta, Home Depot , etc in non tech hubs.

Median is not “best case”. I’m also well aware of the bi modal distribution of comp in the industry where a “senior” enterprise dev tops out at around what an entry level developer makes at BigTech.

Before the current shit show of the last couple of years in the industry, as a senior enterprise CRUD developer, I could throw my resume in the air and get a “full stack developer” job in Atlanta making $150k within a couple of weeks. This was the norm in Atlanta.

I’ve moved on since then. But the last time I was looking last year, my old recruiters were still saying if I lived in Atlanta I could make around that as just a C# developer. None of those jobs required any more than 5-7 years of experience.

“Enterprise CRUD developer” was my plan B.

I’m probably one of the few people commenting here who has been in both worlds recently and now purposefully on the tip top end of “enterprise” dev and still on the low end of BigTech.

Making $140K to $170k as a senior CRUD/franework enterprise “full stack developer” is the norm. I’ve moved to strategic cloud consulting now making more.
How can you expect people to take you seriously as a CEO if you're going to attack someone for a mistake like that?

And that's to say nothing of the fact that such an innocuous typo doesn't change the actual crux.

A little, "Hey, dunno if you know or not, but it's 'Andreessen'," goes a long way.
apparently around 100 exaflops if the 100 billions dollars datacenter is made only of nvidia H100. I am guessing the fact that (most?) personal computers and smartphones do not have a big gpu makes the above scenario difficult.
Hey HN,
Over the past 2 years, I tried almost all fitness / gym / workout tracking app. And ended up building my own with AI first features.

Would love to know your feedback on this.
Reach out to me directly pranshu@hitt.ai
Thanks!
Not only that, but even if you could put $7K every year into an IRA, and even if the investment returned a steady 7% per year risk free (HAHA!), in 30 years, it's grown to ~$660K, which, sure, is a nice chunk of change, but at a 3% draw down rate, you'll need to live on less than $20K/year. You'll need to be really frugal. Move to a super low cost of living area and go back to eating ramen. And don't get seriously sick or injured. And don't have dependents to house, feed, and educate...
Rust literally bakes data race safety into the language. While it does not resolve general race conditions, thread safety issues which cause memory unsafety (which an UAF or dangling pointer would be) are very much within its remit.
can you name some use-case it actually would greaty simplify as you say?

Because neither TFA nor this thread has yet proposed anything that isnt better served by later introduced (say TS 3~4.x+) language features or even external libraries if you actually do want to use them for their generated runtime library (enums) and not just their type-aspects.

I have only seen them complicate things.

You could use it to make typescript prevent forking and code-duplication within a codebase of engineers you dont trust, I guess. But it doesn't seem like a great use either.

Consider https://news.ycombinator.com/item?id=42772924
> A non-reentrant function cannot be thread safe.

Actually, a non-reentrant function can be thread-safe. A common example of such a function in libc being malloc().
It's a fucking baby wheel man!!

(https://www.youtube.com/watch?v=r0IQCLQDfKw)
The "one or two wrong words" line of thought was one of the things that made me step away from religion. If there's no provenance then text, then what hope does anyone have.

I feel like the way around this is hermenutics and exegesis and that's where things differ substantially between the bible and llms. The bible has both whereas LLMs are arguably approached hermenutically, but have no exegesis to speak of.
Thats not how it works or what happened.

You can only be given a sentence for the crime you have been convicted of, otherwise you could easily appeal.

> Is this reasonable? Should we be satisfied with how this works and not want to change anything about it?

It doesn't work like that, and I wouldn't be satisfied by a court system that does work like that. It'd fucking disastrous. If anyone convinces you that it does work like that, they are either a scammer, or want to make the law system _very_ scary.

https://en.wikipedia.org/wiki/Habeas_corpus_in_the_United_St... which have been there for _many_ years. Its a common law principle that at least twice as old as the USA.
The animation on the home page does a great job giving you all you want to know.

Granted it's a simple app but I wish other apps were as easy to understand.
In the same way that Yersinia pestis moved the world into the Renaissance?
> 100% agree. Market economies really do seem like the only way to prosperity in the modern era.

From a submission about a left-wing subculture to declaring victory for the “decentralization” of capitalism. What else to expect.
PitDeck: A Motorsport Exploration and Collectible App
I'm Marceli, and I've been working on PitDeck, a motorsport-themed mobile app designed for fans who love racing and real-world exploration.

PitDeck combines location-based gameplay, collectible cards, AR interactions, and social features to create a unique experience for motorsport enthusiasts.

Here's what makes PitDeck special:

Collect Motorsport Cards: Discover and collect cards of legendary drivers, iconic cars, teams, and historical race moments by exploring real-world locations.

Augmented Reality (AR) Interactions: View your collected cards in AR, showcase them to friends, and even snap photos in your environment.
Weekly Challenges: Participate in location-based challenges to unlock exclusive collectibles.

Social Features: Share your collections on social media (we're focusing on TikTok for now), compete on leaderboards, and connect with other fans.

Gamification: Earn rewards for exploring motorsport landmarks and attending real-world racing events.

Why I Built This:

As a racing fan myself, I wanted to create something that merges the thrill of motorsport with exploration and creativity. Think of it as Pokémon GO for motorsport enthusiasts, but with a focus on deeper fan engagement, history, and social interactions.

Current Progress:

We're building PitDeck in Flutter to support both Android and iOS. The app is still in development, and we're refining the mechanics, AR features, and challenges to make it truly engaging.

Feedback Needed:

We're gearing up for an initial release, and I'd love to hear your thoughts!

What features would you love to see in an app like this?

Are there any motorsport-specific ideas or interactions you'd recommend?

Any feedback on the concept, tech stack, or marketing approach would be super helpful!

You can follow our progress or sign up for updates here: https://pitdeck.app/waitlist

Thanks, and happy racing!
Written by de Morgan of de Morgan's Laws!

https://en.wikipedia.org/wiki/Siphonaptera_(poem)

But he lifted the genius part of it from Jonathan Swift.
Apathy is the only fair policy?
> That's not possible because jaywalking has a maximum penalty, and the judge can't exceed that maximum penalty.

That's part of the point. The maximum penalty for many nonviolent offenses is absurd.

> One of the reasons we have so many felonies these days is because sentencing someone to jail for a single day on a misdemeanor offense for stealing a pack of gum for the 20th time can require a jury trial just as onerous as a felony offense with a 20 year sentence.

But why is this a problem? The purpose of the trial is to deter the other million people who would have committed petty crimes if they weren't prosecuted. It doesn't matter if the trial costs ten thousand times more than the value of the stolen goods. Moreover, if the sentence would actually be one day then guilty people would just plead guilty without coercive plea bargaining because it's less trouble to serve one day in jail than to waste two weeks of your life going through a trial and then serve one day in jail anyway.

Whereas if you're innocent you may very well be willing to spend two weeks at trial to clear your name, vs. the status quo where if you try to do that you'll be charged with a dozen vague offenses that everyone commits in the course of an ordinary day but are only charged against people who demand their day in court instead of accepting a plea for some other offense the prosecution isn't sure they can prove, all of which have coercively onerous penalties.
But we can’t get those people elected because they either A get over spent in campaign by corporations donation to their opponent or B they defect and take the donations themselves.
There is an international docking standard

https://en.wikipedia.org/wiki/International_Docking_System_Standard

But if ever (hopefully) colonize space, would there be a single government to legislate standards? I'm less optimistic here: a feudal model seems more likely with widely spread, isolated communities.
Does sysdig (and stratoshark by extension) still require custom out-of-tree kernel module to function?
ChatGPT started replacing Google and StackExchange sites for me. Sometimes when GPT gets confused by some math questions I ask Claude and vice versa.
Useful to know. If a given problem is possible to encode as a function of three bits (eight states), then there's an efficient instruction to process it.

The naming is unfortunate, though, since TERNLOG implies ternary logic - an operation working on trits, with possible values being -1, 0, 1, instead of just 0 and 1. Instead, it's ternary in the same vein where C's

foo ? bar : baz

takes three operands, and is therefore ternary, and it performs logical operations - hence TERN-LOG.

> In a reduction, each application of the binary operator decrements the number of values by 2−1=1, but each application of the ternary operator decrements it by 3−1=2!

Ha, there's an exclamation mark there! It's not 2, it's actually 2 factorial, which i... Oh.
Look further back. The "one knob" concept was a reaction to tuned radiofrequency receivers of the 1920s and 1930s.[1]
Those required the user to perform simultaneous, coordinated adjustment of three tuning knobs.
The big advantage of superheterodyne receivers was that tuning only required One Knob.
All they needed was a tuning knob and a volume control/on-off switch.
That technology replaced TRF receivers, and radios became a mass-market product anyone could use.

[1] https://en.wikipedia.org/wiki/Tuned_radio_frequency_receiver
I'm not sure if this helps further the analogy or not, but I would use an AI if it could help with the annoying first part of the puzzle where you just have to spread out the pieces and flip them all over.
There's also Allen Carr's books about treating addiction, and they don't use negative reinforcement, at least the ones I've read

Rather it helps you learn to recognize the fallacies behind the addictive cravings themselves, and to thus resolve the core of why you turn to that in the first place

Still have to make the decision to recall those in the moment, but when you do you do neutralize the cravings

His first book was Easy Way to Stop Smoking

For digital addiction there's Smart Phone, Dumb Phone

For internet porn there's easypeasymethod.org (based on EasyWay to Stop Smoking)
I'd say many of these university bros are actually parents to K12 and Pre-K and having parents not terribly in debt could help them focus more on being there for their kids and encouraging education.
Does Doom Scrolling apply to resources like GoodReads or IMDB? I think of it as endemic to feed-based social media, where you have an endless stream of algorithmically selected content. Maybe there's a way to engage with those sites like that, and I just haven't discovered it myself. Anyway, it's his project, I'm not saying he can't do whatever he wants, but for me, that'd be throwing out the baby with the bathwater.
> When I hear about performance gains I always wonder in what scenario(s) would I maybe SEE these gains?

you typically notice these gains under load; if you have no load, you're not going to feel a 4x improvement between 4ms and 1ms, but you'll definitely feel it with 400ms vs 100ms.

i'm writing an efficient CSV parser in JS, and it currently uses 50% less RAM and executes 50-70% faster under Bun vs Node. that's a massive improvement considering that we're comparing state-of-the-art V8 vs state-of-the-art JSC.
https://www.reddit.com/r/RealTwitterAccounts/comments/zrfhdg...