skysight-inc/HackerNews huggingface dataset:
I have not studied Rust and find its syntax alien. It looks like a cross between a functional language and C++. Trying to read it is like forcing myself to read Italian. I don’t know Italian, but have studied Spanish and Latin. I can sort of figure things out if I put in effort, but there is always uncertainty when I do. That is the problem with reading Rust.

This could be addressed if I just learned Rust (much like my difficulty with Italian could be addressed by studying Italian). However, I already know at least 10 programming languages. I am unwilling to learn the latest fashionable language unless it can promise me that the language will not change and there will never be another fashionable language for me to learn. Given that Rust rejected the standardization process that C and C++ embraced, and Zig is expected to replace Rust one day, I doubt Rust can make such assurances.

As for Python, it is often used for teaching CS and everything except the assembly code is doable in it. Using low level assembly from Python would require using the FFI. Also, Python has nothing to do with LLVM.
Our team is constantly looking to use Tirreno technologies for good. Drop us a message at team[~]tirreno.com and we can see how we can help.
That’s the problem I had on the early ones. I learned a few tricks that let me output whole apps from GPT3.5 and GPT4 before they seemed to nerf them.

1. Stick with popular languages, libraries, etc with lots of blog articles and example code. The pre-training data is more likely to have patterns similar to what you’re building. OpenAI’s were best with Python. C++ was clearly taxing on it.

2. Separate design from coding. Have an AI output a step by step, high-level design for what you’re doing. Look at a few. This used to teach me about interesting libraries if nothing else.

3. Once a design is had, feed it into the model you want to code. I would hand-make the data structures with stub functions. I’d tell it to generate a single function. I made sure it knew what to take in and return. Repeat for each function.

4. For each block of code, ask it to tell you any mistakes in it and generate a correction. It used to hallucinate on this enough that I only did one or two rounds, make sure I hand-changed the code, and sometimes asked for specific classes of error.

5. Incremental changes. You give it the high-level description, a block of code, and ask it to make one change. Generate new code. Rinse repeat. Keep old versions since it will take you down dead ends at times but incremental is best.

I used the above to generate a number of utilities. I also made a replacement for the ChatGPT application that used the Davinci API. I also made a web proxy with bloat stripping and compression for browsing from low-bandwidth, mobile devices. Best use of incremental modification was semi-automatically making Python web apps async.

Another quick use for CompSci folks. I’d pull algorithm pseudocode out of papers which claimed to improve on existing methods. I’d ask GPT4 to generate a Python version of it. Then, I’d use the incremental change method to adapt it for a use case. One example, which I didn’t run, was porting a pauseless, concurrent GC.
Liars should be called out, necessarily. Intellectual dishonesty is cancer. I could be more aggressive if it were something that really mattered.
Don't worry, the governments are perfectly capable of coming up with excuses all on their own.
Agree. Maybe This is obvious for devs of OSes that are file (descriptor) centric like Linux and POSIX.
Also that pattern is a bit too sweet as it can be a nice way to create condition variables or queues, the problem being one is now paying syscall overhead.
It has to do with vast state subsidies allowing the supply chain in China to sell below materials cost.

They are in a pickle now because of the pull the rug the whole thing might collapse.
Romanians and Bulgarians Can Now Travel the EU by Land Passport-Free
https://archive.today/yGNMR
Of course. I never said that capitalism was always responsible for every trouble. Just that it's also a bad system, except of course for technological growth, in which case it's a great system. The common root is always technology.
I had not seen the use of constexpr. You are correct that those are in C++.
Yeah when I got to the point of trying to get my game working in love.js, all I got were webassembly errors. I was able to get a basic Hello World game working with the same setup, so it's something within my code that's not supported, but I don't really know how to pin down what the problem is.
One of the best sites, period!
> Zig is expected to replace Rust one day

That's a bold prediction considering that Zig is unsafe and Rust is safe.

If Zig's idioms make it safe, then modern C++ is safe too.
M/M/1/K Queue Performance Analysis
It is even more fundamental. People are focusing wrongly on the mention of exceptions here (most obvious) but what is crucial is to understand how Async callbacks registered with a Kernel work on all OSes. The limitations/caveats imposed on these routines (they are akin to interrupts) are given in their respective documentations and one has to be careful to understand and use them appropriately; eg. what is the stack used by these handlers? The article though detailed in the beginning sort of glosses over all this in the final paragraphs and hence we have to link the dots ourselves.
FWIW, there's considerable doubt that the initial LLaMA "leak" was accidental, based on Meta's subsequent reaction.

I mean, the comment with a direct download link in their GitHub repo stayed up even despite all the visibility (it had tons of upvotes).
A lot of dog play is rehearsing hunting-related behaviours. For example, playing tug-of-war over a toy is practising playing tug-of-war over the kill, which helps to break it up into manageable portions. I wonder if adult domestic dogs are more prone to play because they have limited opportunities to use these natural instincts for real? Maybe in a pack of wild dogs where they are constantly being used for real, they would be less likely to rehearse them
Here are a bunch of things I use LLMs for relating to code.

- Running micro-benchmarks (using Python in Code Interpreter) - if I have a question about which of two approaches is faster I often use this pattern: https://simonwillison.net/2023/Apr/12/code-interpreter/

- Building small ad-hoc one-off tools. Many of the examples in https://simonwillison.net/2024/Oct/21/claude-artifacts/ fit that bill, and I have a bunch more in my tools tag here: https://simonwillison.net/tags/tools/ - Geoffrey Litt wrote a great piece the other day about custom developer tools which matches how I think about this: https://www.geoffreylitt.com/2024/12/22/making-programming-m...

- Building front-end prototypes - I use Claude Artifacts for this all the time, if I have an idea for a UI I'll get Claude to spin up an almost instant demo so I can interact with it and see if it feels right. I'll often copy the code out and use it as the starting point for my production feature.

- DSLs like SQL, Bash scripts, jq, AppleScript, grep - I use these WAY more than I used to because 9/10 times Claude gives me exactly what I needed from a single prompt. I built a CLI tool for prompt-driven jq programs recently: https://simonwillison.net/2024/Oct/27/llm-jq/

- Ad-hoc sidequests. This is a pretty broad category, but it's effectively little coding projects which I shouldn't actually be working on at all but I'll let myself get distracted if an LLM can get me there in a few minutes: https://simonwillison.net/2024/Mar/22/claude-and-chatgpt-cas...

- Writing C extensions for SQLite while I'm walking my dog on the beach. I am not a C programmer but I find it extremely entertaining that ChatGPT Code Interpreter, prompted from my phone, can write, compile and test C extension for SQLite for me: https://simonwillison.net/2024/Mar/23/building-c-extensions-...

- That's actually a good example of a general pattern: I use this stuff for exploratory prototyping outside of my usual (Python+JavaScript) stack all the time. Usually this leads nowhere, but occasionally it might turn into a real project (like this AppleScript example: https://til.simonwillison.net/gpt3/chatgpt-applescript )

- Actually writing code. Here's a Python/Django app I wrote almost entirely with Claude: https://simonwillison.net/2024/Aug/8/django-http-debug/ - again, this was something of a side-project - not something worth spending a full day on but worthwhile if I could get it done in a couple of hours.

- Mucking around with APIs. Having a web UI for exploring an API is really useful, and Claude can often knock those out from a single prompt. https://simonwillison.net/2024/Dec/17/openai-webrtc/ is a good example of that.

There's a TON more, but this probably represents the majority of my usage.
And there's an implied risk that once you have added an API for customers to exfiltrate data or integrate with their own system (or, worse, IMHO: a competitor's tool) then they'll never return to your site again

I'm cognizant that if it truly is a make-or-break for the deal, there may not be any choice, but along with all the risks you cited is an underlying obsolescence one
Companies already pay for cyber insurance because they don't want to take on this risk themselves.

In principle the insurance company then dictates security requirements back to the company in order to keep the premiums manageable.

However, in practice the insurance company has no deep understanding of the company and so the security requirements are blunt and ineffective at preventing breaches. They are very effective at covering the asses of the decision makers though... "we tried: look we implemented all these policies and bought this security software and installed it on our machines! Nobody could possibly have prevented such an advanced attack that bypassed all these precautions!"

Another problem is that often the IT at large enterprises is functionally incompetent. Even when the individual people are smart and incentivised (which is no guarantee) the entire department is steeped in legacy ways of doing things and caught between petty power struggles of executives. You can't fix that with financial incentives because most of these companies would go bankrupt before figuring out how to change.

I don't see things improving unless someone spoon-feeds these companies solutions to these problems in a low risk (ie. nobody's going to get fired over implementing them) way.
The reason the United States pretends like it doesn't have plenty of rare Earth metals, is because of the insane anti-nuke cult that causes you to have to discard thorium as if it was a dangerous waste.
Thorium is usually co-deposited with rare earths. So nobody in the United States or Canada can afford to mine or process rare earths because they can't afford to dispose of bananas. Or Rather thorium which has the same radioactivity as a banana.
I got most of the way through making a toy game with it. I kind of liked it, but I'm using Love2D for the game I'm working on now that I'm planning to release on Steam and hopefully mobile.

Although I did like that I could use Typescript for Phaser, and that it was a lot easier to show off the game to other people through the web.
I think the little blurb at the beginning is there because not everyone watching it knows English.

Because the humour is so physical though, that blurb is mostly all you really need to enjoy it even if you only know German.
Me:

Learn x64 assembly, dynarec and implement a simple one. Maybe find some real work in OSS if possible.
> Then why do people keep pushing it for code related tasks?

They don't. You are likely experiencing selection bias. My guess is you work in SW, and so it makes sense that you're the target of those campaigns. The bulk of ChatGPT subscribers are not doing SW, and no one is bugging them to use it for code related tasks.
You should read David Bessis's Mathematica.
that’s what makes this clever.

they aren’t blocking them. they’re giving them different content instead.
If Cook was Jobs, and 2025 was 2035, it would have jacked into the nervous system. Why release semi-lame product when you can do the ultimate experience?
I used to work as a stock broker and it helped tremendously with my soft skills.
> Jemand hatte das Gemächt meines Wächters angefasst - und es war definitiv kein Freund.

That auto-translation is something else
The ACM for a time only accepted code examples in ALGOL because it was felt that there should be a standard language that everyone understood. ALGOL eventually gave way to C and others, but there is definite value in ensuring things are accessible to the largest possible audience.
I know what a dark room room is, I've used one in school. I don't know of the application Lightroom. Why would I take offense?
One dimension that is not explored is partitioning the queries in batches. The primary cost is doing lookups on the out-of-cache table, so if you have a sufficiently large amount of queries you can resolve a couple layers of the tree in one step while those layers are in cache, grouping them based on where they land deeper in the tree, and then resolving all those queries that touch the same deeper part of the tree in one batch as well.

In theory, with an infinitely large amount of input queries you will never have to do an out-of-cache lookup, it can be completely amortized away into linear scans.

That said, you now end up with a bunch of results that need to be put back into the correct output order, which likely makes it not worth it. But if the operation can be fused into a reduction (e.g. find the sum of the binary search results) or the output order does not matter in some other way then all of a sudden it might make sense.
I simply want minimal exposure of my personal data since I don't want to go through life thinking about risk models. Not only is it time consuming, but my creative juices simply don't flow when it comes down to exploiting people (nor do I want them to flow in that direction).
Why would you need an Ad framework and achievements? Isn't balatro a prime example of a game simply being a paid app? No ads, no bullshit. Just a game and a pricetag.
> The U.S. and U.K. are a dual world power.

Wait, how did the UK get in there? Especially in this post-brexit century...
Recursive Feedback Systems: A Universal Equation for Balance Across Domains
Stabilization and symmetry are at the core of everything—from physics and biology to AI and economics. I have been working on a system that models this universal principle using *Recursive Feedback Systems (RFS)*.

The concept is deceptively simple yet incredibly powerful:

1. *The Equation:*
At the heart of the system is this balancing formula:
$$
R_t(i) = \frac{w_{f,t} \cdot X(i) + w_{b,t} \cdot X'(i)}{w_{f,t} + w_{b,t}}
$$
- *Forward Input (\(X(i)\)):* Pushes the system forward (growth, supply, signal).
- *Backward Input (\(X'(i)\)):* Pulls it back (constraints, demand, noise).
- *Weights (\(w_{f,t}, w_{b,t}\)):* Adjust dynamically based on feedback to find balance.

2. *Why It Matters:*
The same principle applies to:
- *Physics:* Modeling time-reversible systems and wave dynamics.
- *AI:* Enhancing neural network training by balancing forward propagation and error correction.
- *Economics:* Stabilizing markets by dynamically balancing supply and demand.
- *Signal Processing:* Reducing noise while preserving information.

3. *What Makes It Unique:*
- Simple, universal formula with dynamic, recursive adjustments.
- Properties like *boundedness*, *convergence*, and *diversity preservation* ensure stability without rigidity.
- Scales seamlessly across domains, from 1D sequences to multi-dimensional systems.

4. *Dive Deeper:*
- *Code Examples:* [GitHub Repository](https://github.com/thatoldfarm/universal-stabilization)
- *Applications and Theory:* [Project Overview on Hive](https://peakd.com/stemsocial/@jacobpeacock/bidirectional-rec...)

I would love your thoughts and feedback. How do you see this approach impacting your domain or interest?
Or just compare it to S&P 500 performance.
I just know a lot of children will be introduced to orienteering by their parents due to this ;-)
> and a quick (or instant) feedback loop.

And yet Terraform/Tofu continues to poison people's brains. It boggles(!) the mind
“ I decided to port the project to Rust to learn more about the language and push the algorithm's performance further. We were nearing the limits of optimization in Python, and Rust's capabilities allow for even better performance and efficiency”

So there is an existing solution in Python, seems reasonable to flag why this is different up front.
Windows 2 can be run on modern hardware using DosBox[0]. If like me your old install media is deep in an attic somewhere, you can still get them from lovely archive.org[1].

[0]: https://www.dosbox.com/wiki/Software:Windows2x

[1]: https://archive.org/details/windows2x
crypto has real uses, most of them illegal

meanwhile "AI" is used to produce infinity+1 pictures of shrimp jesus and more spam than we've ever known before

and if we're really lucky, it will put us all out of work
There's not nearly enough public information to discern whether or not this had anything to do with stored PII or lawful interception. All we know is that they geolocated subscribers.

The SS7 protocol provides the ability to determine which RNC/MMC a phone is paired with at any given time: it's fundamental to the nature of the functioning of the network. A sufficiently sophisticated adversary, with sufficient access to telephony hardware, could simply issue those protocol instructions to determine the location.
Erm, the concepts that you're referring to are independent of the language being used. The author is free to use whatever language they want. The GP (I think) was merely trying to make a point about making the article accessible to a wider audience that is capable of appreciating the concepts involved.
You can download Common Crawl data for free using HTTPS with no credentials. If you don't store it (streamed processing or equivalent) and you have no cost for incoming data (which most clouds don't) you're good!

You can do so by adding `https://data.commoncrawl.org/` instead of `s3://commoncrawl/` before each of the WARC/WAT/WET paths.
I’ve done plenty of hiring and I definitely do look at personal profiles and websites. In fact it’s the first thing I look at after experience. I can also say that a personal project of mine was a huge factor in landing a previous job. Showing competency and interest in the industry you are applying for goes a long way.

Sorry your “open source” contributions didn’t get you far. I looked at your examples and it appears to be niche documentation for AWS services, so basically all in the service of amazon? Cool.
It's ultimately just a little event listener function that accepts a Request object and returns a Response object. I bundled the service worker by running a quick `npx esbuild --minify --bundle --outfile=sw.js sw.ts` command, and it produced an 18.6kb JS file in 10 milliseconds. That's not even half the size of libraries like HTMX, Alpine, and jQuery.

You can of course use the CacheStorage API directly as well (you're not obligated to use a mock server): https://developer.mozilla.org/en-US/docs/Web/API/CacheStorag...

I've certainly seen crazier things though. People routinely include entire copies of Ubuntu LTS in their Docker images to ship tiny HTTP servers.
You certainly want to update the software on your car if it contains critical bugs. Pretending there’s no software in your car doesn’t make it so.
Do you know the difference between a limit order and a market order?
City taxes are a never ending bitch.
Are your DSLs used by other people and do they share your opinion? In my experience DSLs are nice to work with for the creator, but it’s much more work in documentation, training, intelligible error handling, and so on, to make a DSL that’s easy for others to learn and use.

I do like DSLs, but the value proposition is often difficult, IMO.
Yeah, sites should ideally ask for a label at passkey creation with a decent autogenerated one.
>It's not really about killing maladapted.

I'm sure I did not misunderstand Robin Dunbar, He actually said homicides were common. If a bunch of people hated someone they ganged up and killed him/her, leading to humans being relatively more neotenistic than other primates.

(I used maladapted in a very loose way: especially being maladapted socially, we are not talking about being maladapted phicially and other ways)
Then why bother with a website at all?
Godspeed to any remaining/returning Bench staff who have to deal with a whole lot of righteously infuriated customers afterward. Ugh. That’s a degree of customer support I’d never want to have to handle.
Suck to be you, I guess? If you don’t care enough then you don’t care. You wouldn’t bitch when there’s an article written in Italian with good knowledge inside: “but Italian”. You either trying to read using translation tool or ignore it entirely.

I didn’t say python has anything to do with LLVM, it’s just a technique, read about it, or not.
Well i guess i just don’t know what the incentive would be to convert solar energy into oil. By the time thats super feasible, shouldn’t batteries be a better option?
The biggest AI flops of 2024
usaco explicitly nudges you towards C++ on the first page itself. problems are graded on running time, even with moderately large datasets, Python simply doesn’t make the cut. So most high schoolers end up using C++ for usaco, and Java for AP Comp Science.
Zig replacing Rust is not my prediction. It is what I am hearing from the Zig enthusiast I know. I have also seen others express the sentiment that the next fashionable language after Rust will be Zig. Regardless of whether it is Zig, there will be another. Rust is just one part of a never ending cycle of people trying to reinvent programming.
I agree.

>>>> I used to make custom WordPress websites for family and friends

Is any of them still active? Can you make a new one as sample to build a portfolio?

>>> The internet is full of open source projects, starving for motivated contributors - and they also make a great portfolio

My recomendaion is to contribute to projects you already use, so you understand the use case. It may be helpful to explain to a potential employer something like:

fake quote> In my previous job I used this library in WP but it has an anoying bug/typo. So I fixed it and it got merged in the main project.

Start with easy stuff like typos/bugs, and later try to add features once you are sure the mantainer will apreciate it.

Don't expect to get paid for working in the open source projects, take it as a hobby and as possible portfolio, not as a income source.

Also, there are three official post in HN about jobs. They will be posted automatically on thursday. Take a look in case you find something useful and you also may post in the correct thread. You can peek the last month edition in https://news.ycombinator.com/submitted?id=whoishiring but they are read only now.
I made a screensaver that solves mates in 5
It's OK, they have an HOA which prohibits short term rentals, renting to non-families, wooden fences, etc.

https://static1.squarespace.com/static/5aea220096e76febe0e35...
That's not so bad! :-D
How's it going now that you're 5+ years into this resolution? Why 2030 specifically?