skysight-inc/HackerNews huggingface dataset:
@dang Please change the title to: How Bad Is Link Rot

The Brain Baking part is so confusing, it's just the name of the blog and provides no added info.
Ask HN: How to spot fake or low quality GitHub/public portfolios?
With public portfolio (github/own site etc) becoming more preferable for candidate assessment than plain old resumes, how can HRs without a good tech foundation can assess those wide variety of candidate portfolios and grade them relatively? How can the HRs spot fake and low quality work on the portfolios? Is it even a real problem faced by recruiters?

Or is it that all recruiting is now only through solid referrals and not via public job boards etc?
Now I really want to go to a "Sexuality, Gender and Hacking the RP2350" talk. Maybe next year?
Show HN: Space Trader (Ported from Palm OS to Vanilla JavaScript and HTML)
Hi HN! I brought my favorite game from Palm OS to the web as a hobby project. In Space Trader, you can trade goods, hunt bounties, amass a fortune, buy a moon and retire.

One of the parts of this project I enjoyed the most:

To aid debugging and unit testing, I use a deterministic random number generator called GameRand. In debug mode, I can capture the random seed and log of every action taken in the game. Then I can replay that to reproduce a bug or create a test.

I ended up creating nearly exhaustive test coverage this way.

A write-up with more technical details and links to source code:

https://memalign.github.io/p/spacetrader.html
Why is everyone—from the U.S. government to Elon Musk’s xAI—so excited about Rust? And why does it still intimidate so many developers? In this episode, we dive into the explosive rise of Rust, its growing importance in cloud-native and AI-driven ecosystems, and the AI tools like RustCoder that are breaking down its steep learning curve. Learn how RustCoder acts as a 'pair programmer' for developers, helps validate code, and even assists in tackling algorithmic challenges. This is the story of Rust, AI, and the future of coding.
Ask HN: Good ML Systems Repositories
What are some good repositories to learn about how to integrate ML systems in a web application or mobile application.

For example training personalised models like recommendation models using user interaction data
Our office printer (6 years) has much fewer pages. It works fine for single-sided printing. For double-sided printing the first 20 or so pages work fine. After that nearly every back page will end up in a paper jam, always same position, no visible reason. Until the next day (or maybe a shorter wait is enough, haven't really tried). Very annoying...
That’s non sense. TGV speed record is 320km/h by the way and 160km/h is a pedestrian daily occurrence on the French rail system. Meanwhile the US has somehow decided trains are for freight and as no decent rail system in place for travellers.

The discussion makes sense with China which is pushing forward quickly using new tech. The US is not even part of it.
Interesting, there might be a right price but 1M per person look far too low and buys personal property only.

If you own just a little land and you get $1M can be a good deal but if you own a lot, then you will expect premium on top of what its worth and $1M not going to cut it. If everyone gets accordingly to what they own, then those who will receive non-life changing amount wouldn't accept the deal.

So the true price would be something like $1M each + current value of their property + premium.

Then you can own all the private land on Greenland if someone stubborn doesn't refuse to sell. Then what do you do about the rest of the land? Pay Denmark? How much? Start a war with Denmark? Maybe some kind of other deals can be possible but $56B isn't going to cut it.
E&O (errors and omissions), and D&O (directors and officers) insurance yes.
I sold INTC and bought TSMC about five years ago. Everybody got nice Christmas presents this year because I sold some of my TSMC shares to rebalance my portfolio. It doubled this year and is 65% above its previous plateau.
The JEP has an appendix with code implementing a Java agent (code that intercepts the JVM whenever it tries to load any class; it may simply inspect the class, but can optionally transform it or even generate bytecode on the fly) that modifies classes to replace calls to System::exit() with exceptions: https://openjdk.org/jeps/486#Appendix. This could be generalised to create a sandbox.

That code (which I haven't read) uses some new system library to manipulate the bytecode, though the asm library would be my choice.

It will be some work. The main thing is to make sure you detect all the ways the methods can be called -- directly (this may be via the invokedynamic instruction, or not), or using reflection.

(Or maybe someone has already had this idea and implemented it!)
Because its 2024
When I started like 20ish years ago, you didn't have all that fancy IDE stuff thrown easy at you. For a matter of fact, I didn't even have access to a stable internet.
So I learned a lot and relied on my memory.

It had many drawback, it had some upsides like really having everything stuffed in my head and learning probably more promptly by searching/memorizing.
Raspberry Pi 500 Delivers Great Performance, Convenient Upgrade to the RPi 400
Perhaps it's important to point out that socialism != communism.

I think this is something the US really doesn't understand about Europe.

Socialism is about putting people first and making sure no one is left behind by society, which is the opposite of communism (and capitalism).

In fact, US capitalism is much closer to communism regarding societal outcomes (social injustice, power concentration) than European socialism. It is very much possible to be anti-capitalist and anti-communist at the same time .
https://en.m.wikipedia.org/wiki/Michael_Crichton#Gell-Mann_a...
Why not just invest in a company where the CEO and board take no salary to begin with?

They exist.
Are there any downloadable materials and lecture videos?
Night ferrys and night trains are my favourite way of travelling when on vacation.
The majority of the air travel time is spent in the airport, doing "administrative" things.

If air travel could be more streamlined (aka, no need for things like security, check-in, like how a train would be), then trains are absolutely uncompetitive on speed.

The only advantage of a train would be that you could more easily sleep in one - so an overnight trip is less tiring, and you save on cost of an extra night of hotel stay.
> Do you just remember every type and field in a codebase?

I remember the functions that are relevant in the current context, yeah. I don't design things that have a lot of properties in the first place; and I'm concerned with what objects can do, not with their types (and I use Python, which empowers me to write this way).

> What does your flow look like?

Generally I keep a terminal open as I write in an editor window; most of the time it's cd'd to the project root. (Hmm, maybe I should be using `pushd` and `popd` more....)

At about 200 lines of code in a file or 10 lines in a function, I start looking for ways to split it up or organize things better. At double those values I start panicking about it.

Every identifier name is an opportunity to explain something crucial about the process.

I rarely use inheritance any more, let alone multiple inheritance. Jack Diederich's "Stop Writing Classes" (https://www.youtube.com/watch?v=o9pEzgHorH0 - a clickbait name, but you know how it goes) is part of my mantra; `functools.partial` is very often a better tool for the job.

> What do you do if you need to look up the definition/implementation of some function which is in some other file?

I can tell where it is because the import statement tells me the package name, and I have a single file hierarchy for code in my project. But most of the time I can just trust myself that it works the way I expect it to, because I wrote it, and I followed conventions when I wrote it, and I made sure it fundamentally doesn't do very much or have a complex signature. (If it operates on complex data, I build that up - step by step - rather than passing all the pieces as separate arguments.)

If it's someone else's code, generally I'm going to look up the documentation anyway, not the code. If for some reason I have to figure out where the code is, I can do it easily enough, because I know where third-party libraries are relative to `sys.executable`, and I know where that is because I use venvs in a standard and predictable way. (Oh, but I could probably improve this with a one-liner Bash function, brb....)

But I do also have the option of checking things at the REPL. Python does a lot to help programmers feel like they don't need an IDE. (Avoiding boilerplate is also huge here.)
https://www.paulgraham.com/cornpone.html
Ants prove superior to humans in group problem-solving maze experiment
I myself coined a term "kitchenware principle" that I have applied to my codebase as well. You put forks and knives adjacent because they serve similar utility and common purpose. Same with plates, cups, weird gadgets in separate drawer.

You should organize your code similarly and with as little fanfare. They are just tools, dont get clever with them. Sometimes, you get too many forks in same holder so you have to divide them but again, common sense prevails.
Comfortable and comfortable. It's certainly much better than spending a night on a seat. But most people won't sleep well. It's noisy and either too hot or too cold. The bed is hard, narrow and often too short for tall people.

I have spent many nights on trains in various countries, seats, floor and berth. I will prefer a couchette or sleeper if the price is somewhat reasonable. But I won't live in the expectation to get something comfortable. Just less uncomfortable.
Wouldn’t be relevant here, as there are no CEOs anywhere who don’t take compensation.

If they’d been taking their compensation as stock grants then they’d want that back instead.
IDE features are meant to prevent mistakes, errors and done tasks quickly. Do not to use it as a guiding map all the time to find your lost treasure i.e. code part you wrote a few hours or a while ago.
http:// is not a typo for https://. There's still a fairly large amount of web servers that do not talk https, and you simply cannot assume that they do. That will leave you with a lot of dead links. Besides, most that accept both will auto-renegotiate to https.
Q: What do you get when you cross artificial "intelligence" with "dumb" animals?

A: I don't know. Further research required.
"I have to say I prefer the train if I have the time. Much more relaxed way of transportation."

Me too, but I worry a bit that it might change. A big part of the inconvenience of flying is the security checks[1].

I only see these ramped up for trains as well. Look at the EuroStar for a glimpse into the future. I am afraid it will only take one bigger attack and we will turn train stations into airports security-wise.

[1] The other big one is airports being far from centres.
I keep a few windows open, e.g. the module I'm editing, and whatever module I also want to be reading. If it's not my code, I just have the doc open [https://hackage.haskell.org/package/vector-0.13.2.0/docs/Dat...]

I use ag (silver searcher) to instantly match any usage across the project - frontend, backed, SQL strings, whatever! Also since it's CLI, I can pipe/grep to refine the results even better.

Or alternatively I just make the change I want, hit compile, and get a nice list of all the breakages.

The language is way more important to me than the "tooling". Especially when certain features can oppose each other:

Example 1: null detection. Your IDE prides itself on finding nulls, when really your language designer was the one that put them there. Most langs don't allow reading uninitialised data, so if you accidentally read a null, it's because someone deliberately wrote a null. Far easier to not have nulls, than to insert them and take them out later.

Example 2: IDE type-overlays. If I write 'User user', my IDE scolds me and tells me to write 'var user' instead. Then the IDE has the audacity to insert a small grey 'User' back into my text because it knows 'var' isn't helpful.
> Up/down arrows jump to the next post and page up/down isn't too helpful for reading.

I didn't experience this at all on Firefox, up/down and page up/down scrolled in the normal way.
> I understand that you're claiming to have witnessed it, but do you have some sources?

I have witnessed that and more like optimisation software being disabled to avoid cutting into overtime. Just go take a look at how drivers are paid and where their comp comes from. It’s all public knowledge. Take a look at the recurring reports from the court of auditors or talk with anyone working there.

We are talking about a company in which the two main unions are openly Trotskyist and which has a permanent strike warning by rotating between union to open one in defiance of French law.

This is not drum beating for privatisation by the way (even if all the formerly public French companies I had the misfortune to work for are fairly mismanaged but nothing as bad as SNCF thankfully). I am sure with enough reforms it could work while being public. I mean Singapore manages so it’s not impossible.

It’s just impossible to wonder why France is in such a sorry state after having working for anything publicly managed in France. The French state carves exception for itself in all the labour laws because they know their administration is so poor they can’t respect them.
Does this also apply to “supersparpreis” tickets? i occasionally use DB but I find the pricing options and rules confusing.
We need tools that process command line output and large files and create tables of contents dynamically based on rules of architecture or comments and allow efficient navigation. I need overlapping buckets or tags.

I've been thinking about it lately but what I've seen in IDEs is not what I want

I liked OpenGrok
Do you use a keyboard to browse the internet?

On unfamiliar codebases a mouse with back and forward buttons can be quite a fast and convenient way to get the "lie of the land".

I often do this inside GitHub's browser-based editor.
this is probably the best thing i've read this week :)
Thanks, I sent an e-mail titled "HackerNews / Reddit issues", with some more detail about what I remember. (e.g. How moderators could approve a comment and then it would be forcibly re-blocked by a mysterious force.)

I'll have to look into some kind of system that can multi-publish things I really care about in-between social-media sites and my own (woefully abandoned) blog.
I had very different expectations coming into this thread when the term “spreadsheets” was used.

The term “table” is already established for this domain, for example in RDBMS.

What you’re building is more inline with that verses the established definition of a spreadsheet.
Until we factor in the cost of a plane trip to the community into the ticket price (ie carbon tax), trains will not be able to compete with air travel for transeuropean trips.
There’s no alternative that would’ve prevented what happened here.
You might find the journey of Tinycorp's Tinybox interesting, it's a machine with 6 to 8 4090 GPUs and you should be able to track down a lot of their hardware choices including pictures on their Twitter and other info on George his livestreams.
Ironically I think this is the nail in the coffin.

Pushing the whole company towards 18A as soon as possible made a lot of sense. Arc made a lot of sense (as it becomes competitive when you get to 18A). We’re not there yet.

Sacking the CEO, throwing him under the bus, and then publicly demanding salary back just reflects really badly on Intel.

I don’t know the details of what’s happened behind the scenes and if there was any impropriety, that being said:

Intel under Pat was in a bad place, but it wasn’t a public clown show.
No, this isnt really economic activity inside NK so it wouldnt be in GDP.
Show HN: I Built My First Web App: Life on Track – A Gamified Habit Tracker
Hey HN,

I recently launched my first web app, Life on Track, and I wanted to share my experience building it, along with some lessons learned. The app is designed to help people track habits and routines in a more engaging way, inspired by the pixel tables often seen in bullet journals.

Why I Built Life on Track:
The idea came from my girlfriend's bullet journal. I loved the look of pixel tables for tracking habits but realized how tedious it was to create and update them manually. After seeing how many people enjoy this kind of tracking, I thought: What if this could be digitized and gamified?

What Makes It Different:
Unlike many habit trackers that focus on binary results (e.g., "Did you drink water today? Yes/No"), Life on Track offers:

Customizable Pixel Tables - Track habits with nuanced data. For instance, instead of Yes/No for water intake, you can track exactly how many glasses you drank each day.
Virtual Journaling - A customizable digital journal where you can decorate pages with stickers earned through achievements or daily streaks and share them with friends.
Tech Stack and Lessons Learned
I built Life on Track using:

Frontend: React, TypeScript, TailwindCSS
Backend: Express.js
Database: MongoDB
Key lessons from the process:

Web-first challenges: Building for the web involved dealing with cross-browser compatibility, CORS, and responsive design, which added complexity and slowed me down.
Feature creep: I underestimated how ideas would snowball during development. Next time, I’d focus on a minimal viable product (MVP) and add features later.
User feedback is gold: I wish I’d started engaging potential users earlier to validate the idea and iterate faster.
What’s Next
My priority is collecting feedback from early users to guide future development. A mobile app version is also in the works.

If you're into habit tracking, productivity tools, or just want to see the app in action, feel free to check it out: Life on Track. I’d love to hear your thoughts, feedback, or suggestions!
In optimal case, where trains don't get cancelled, or stop endless times in the middle of nowhere.
> ” This ∞-shaped curve is called a 'leminscate', and ϖ is called the 'lemniscate constant'. I'll show you the leminiscate in my next post.”

This got me confused, so I went to check. Apparently ”lemniscate” is the correct spelling.
Not even that.

- Just try reviewing a PR and see how comfortable or uncomfortable you are compared to when you have the code on your usual IDE or editor or whatever.

- Just try being in a Google Meet or something helping a coworker remotely, and see how effective you can communicate before you have to resort to giving them step-by-step instructions.

One thing is using a feature because it lets you do what you want, but more quickly; a very different thing is using that same feature because you literally get reduced to almost zero productivity without it, and start fumbling around (like in the two examples above). This also includes features like debuggers, tooling in general, or even tech stack (e.g. "why bother learn HTML when React is way more productive and it's mainstream").

It's not about dogmatically choosing one or another; it's about making your productivity floor higher, instead of focusing only on productivity ceiling.
I feel much the same way about how to write the code, but the idea of losing my sight is still horrific. I can't imagine having an easy time adapting to it and can very easily imagine giving up on coding.
Link: https://info.tokyo-digitaltwin.metro.tokyo.lg.jp/3dmodel/
This is remarkably polished for a hobby project. Kudos.
This thread is making me nostalgic for my 30k Perl files repo.
Yeah, but even there, if one were to use no LSP or other completions, Hindley Milner doesn't help while editing as you won't see the inferred types. It comes down back to good naming and the compiler at the end.
https://surplusenergyeconomics.wordpress.com/2024/12/06/294-...

>The critical marker for this process is the Energy Cost of Energy, a measure of the proportion of accessed energy which, being consumed in the energy access process, is not available for any other economic purpose.

Sounds suspiciously close to the classic definition of entropy, if you ask me :)

The Costanza strategy for economists is therefore to teach physicists something instead of just learning from the 19th century ones

[Looking at you,
https://en.wikipedia.org/wiki/Francis_Ysidro_Edgeworth
]
>Project Star Gate was used by the U.S. Government during the Cold War. Many of the psychic spies were at Ft. Meade, tasked with collecting intelligence, locating enemy agents and determining American vulnerabilities by using “remote viewing.” Remote viewing is mentally viewing a distant location they have never visited to gather insights on a person, site, or specific information. As outrageous as it sounds, the secret program was very successful and was in use until 1995

Checks calendar..... nowhere near April!

My understanding of "remote viewing" is it's actually about time travel, and recall of the future. In order for a "viewing" to work, it was found that there needed to be a report to the "viewer" at the end of a given "run", which included all the details were needed to make the mission successful.
Francis Ford Coppola: 'I Have Nothing Left to Lose'
That's exactly the problem: You don't know the code. You're relying on autocomplete to tell you what the signature of the function you're looking for is.

I rely less on documentation because I've got it all memorized due to not relying on autocomplete.
> I also noted how far-left and anti-capitalistic many talks/speaker are.

Why is this suprising? The hacker culture is rooted in anti-establishment philosophy, spun off from the hippy movement of the 1960s. This is not a regional thing.

It's more than a bit ironic that this site is called "hacker news", yet is hosted by a company that holds opposite ideals. :) The term "hacker" has largely lost its original meaning, most notably from being vilified by mainstream media.

Hack the planet! \m/
> Socialism is about putting people first and making sure no one is left behind by society

No, that's not what socialism is but I won't develop here because the definition is so available and well-known.
That’s actually not true, the majority of widescreen DVDs were mastered in Anamorphic format. The players themselves were then responsible for squishing down to letterboxed or doing an automated form of “pan and scan” which most people thought was terrible. If you were lucky though, you had a TV capable of doing the anamorphic adjustment and then you’d get the higher resolution as you stated.
There is affordable accomodation: nearby gymnasiums where you bring a "bed" and "duvet" and "towel+shampoo" and get by with like 5 bucks a night.
> There's still a fairly large amount of web servers that do not talk https, and you simply cannot assume that they do.

OTOH I'm browsing since years forcing HTTPS only and life goes on fine. If the absolute worse comes to worse, I can use archive.is or archive.org but it's very rare that I need that.

Basically: if a link is HTTP to me it's not worth opening.

The one exception would be Debian packages URLs: but these are signed and the signatures are verified.

User _apt is the only one allowed to emit HTTP traffic.

This prevents my ISP or anyone else injecting nasty stuff.
Definitive Evidence Something Concerning Is Going on (With Compilation)
Shakespeare often spelt the same word differently at different times. If it was good enough for Billy Shakespeare, it should be good enough for modern-day mathematicians, forsooth.
Thanks for the hint about `--files0-from`, BTW. I thought I needed `xargs` for this.
When the Biggest 90s Rave Artists Went to Russia
The people who claim we'll have sentient AI soon are the ones making the extraordinary claims. Let them furnish the extraordinary evidence.
How to Use Proxies from Multilogin and Why Are They Better Than Others?