skysight-inc/HackerNews huggingface dataset:
The crux of the classic Spolsky piece about avoiding rewrites is that you’re probably not “smarter” than the original team. True enough.

But, sometimes you are. As a well known example, someone rewrote http/urllib in Python as requests and urllib3. Better on perhaps every single metric, often substantially.
Ban rewrites and it wouldn’t exist.

My own example, a recent modernization of an ETL project. Original code was a rickety, amateurish, impenetrable mess written in Java transcribed into Python. Loops over loops over loops ten layers deep—would often get lost tracing a bug. Author didn’t understand argparse or logging but used them everywhere. Author didn’t understand absolute paths so there were a dozen and a half custom path join functions sprinkled around the codebase because std path.join didn’t work with relative paths starting with a slash.

For new feeds, over two years I built a brand new streamlined (half the code), dare I say elegant replacement, with tons of quality of life and efficiency features. Like shell completion, syntax highlighting for interactive logs, and conditional download (304) handling. Headline feature, encapsulation of the entire model update process with a single manager method that does almost everything that took bespoke code written forty separate times in the old classes.

As the old feeds are going away all the crap is inching towards /dev/null. Can’t wait for the celebration. Gonna crank Kool and the Gang, I tell ya. :-D
the problem with this conversation is that it risks never landing anywhere; or landing differently depending on who is having the conversation. In order to be sure that Someone is accountable, we need an agreed framework for ascribing accountability. I think the way this might work is that the landfill is accountable, and the cost of accountability is passed on to users; that China is accountable for pollution from its manufacturing, and the cost of that accountability is passed on to consumers. The consumer only has a binary choice, (with cost a factor in that choice) whereas the producer can be incentivised to implement efficiency measures, alternative technologies, etc.
U.S. to reportedly announce billions of dollars in subsidies for advanced chips
Looks like the author likes C but would like a few of the features of C++ and wants to have some fun. There’s noting wrong with that, but it ain’t for me.

The stuff he considers complex is mostly complex because it handles a lot of corner cases, or else it has back compatibility constraints he will be dealing with as well.

Good luck to him though. Doing stuff for fun is the best!
It has a statistically significant effect on cognitive test scores, although many opine that the effect is not clinically meaningful.
Somehow voting reveals this government-is-godlike thinking that a magic superpower is going to bestow greatness upon humanity and achieve all of its hopes and dreams. When we look for a single example of this in all of history, the result is a null set, and in most cases the saviors are monstrous. Nonetheless, somehow this hope persists. See it every time in the votes here.
I’d expect it would be a better time to organize/unionize when employees have the relative power. That was 2010-2021. Right now, the few employers who are hiring have the relative power.

I’m not pro-union by any means, but I do believe that repairing your roof is best done when it’s not raining.
Agree. I think if I had chargers everywhere it would be better.
Here, this sums it all. I wonder what is the state today, 3 years later?

https://0pointer.net/blog/authenticated-boot-and-disk-encryp...
Welp, company did stupid thing, time to let the OS company have 100% control and profit over the entire computer.

A bit of an outsized response, no?

To be clear, I disagree with Zoom's rationale (avoiding a single confirmation click when the zoom website launches zoom), and I agree with Apple automatically disabling that server for it's customers. That doesn't mean I think we should throw the baby out with the bathwater.
LOL, I meant this : https://d2lang.com/
Its the very reason C++ is still alive. Its unopinionated on how u code and coding enviroment. Plenty of other language are far more restricted in their ecosystem
I use fountain pens to write and (very occasionally) dip pens to do drawing/inking, but I haven't used quills so I can't speak to them.

There's a continuum between ink just spilling out and ink needing to be pressed onto the page. To me, the feel and flow of writing/ink from a graphite pencil (where I need to literally rub a mark onto the page with friction) to a rollerball pen (where I'm dragging around a ball bearing) to a fountain pen where the ink (ideally) goes onto the page with zero pressure or friction just through gravity and capillary action -- I feel like it results in very different writing experiences.

A fountain pen isn't at risk of just spilling ink onto the page; especially with a thin nib you can do very controlled small strokes, the extra precision there is part of what makes fountain pens nice to use. But it feels optimized for continuous, longer strokes. It's "wetter"; every time you lift the pen you're cutting off the flow of ink, as opposed to a rollerball where as soon as you stop moving the ink stops flowing because the ink is only flowing through the motion of the ball bearing. You can write in block letters with a fountain pen, it's fine. You can do very beautiful writing and scripts that way. But imo when using a fountain pen writing in cursive feels better than writing in block letters in a way that does not translate to graphite pencils or cheaper pens.

I can only speak for myself, but for me cursive with a fountain pen is also just much, much faster than with other writing instruments, because when you need to apply pressure to write on the page that lends itself to short controlled strokes, but when you don't need any pressure at all to write on the page then everything is just about the motion and you can do that motion very quickly with very little exertion.

I don't know the history, but it would not surprise me that cursive would at least be somewhat correlated with writing instruments that use gravity and capillary action to write as opposed to friction. It's not something I would make a strong claim about, but... yeah, I could see it, that matches my experience. I write almost universally in cursive unless for some reason I'm forced to use a pencil: and then I switch back to block lettering.

But :shrug: people do write cursive with pencils, so maybe that's just subjective.
Yeah, I've used that to good effect. My main quibble with copilot vs chatGPT is that chatgpt will remind me of side effect changes I need to make elsewhere in the file, which I haven't figured out how to make copilot do.
This same bs was the end of the world back wgen photoshopping heads was a thing 20 yeara ago. The same thing.
Some words on how relatively older he is. No words on the technical side aside from “simple good” and some unfounded or not jabs about complexity being “for fun” or something.

Yeah you’re not gonna get any old age wisdom points from me when the technical argumentation is so thin. But I guess intuition is also a form of wisdom.
Artists seem to agree that Spotify's rates are particularly bad.

> Spotify faced the music on Monday (March 15) as creators around the globe gathered to protest the streaming giant’s royalties model.

On Monday, the U.S.-based Union of Musicians and Allied Workers took a more hands-on approach when it led a worldwide demonstration on the doorsteps of Spotify offices.

https://www.billboard.com/pro/international-creators-gather-...
As someone who doesn't write C++, why does almost everyone seem to insist on ignoring the STL and writing everything themselves? Both C++ and C# take a "bags included" approach to the standard library, but no one is writing their own `List<T>` for C#.[a] Yet, everyone seems to have their own opinion about `std::vector<T>`.

[a]: Obviously, people still write their own collections/containers in C#, but they tend to only do so for very specific/performance-sensitive circumstances.
As usual, Bukele attributes everything to George Soros[1]. Every single time evidence emerges, he shifts the blame to Soros. Does anyone understand why dictators often seem to blame Soros?

[1]https://twitter.com/nayibbukele/status/1751365034477752782
The simpler solution is to just eat your pasta with a spoon, which will allow you to scoop up more sauce per mouthful.

But if you want to over-engineer it, you could write software to create the optimal pasta shape which would maximize surface area and ensure even thickness for consistent al dente mouthfeel. I'm guessing the optimal shape will look fractal-like.
My parents have a General Electric fridge from the 1970s!

Still works like a charm but the latch broke sometime in the 90s, so we have a pulpo to hold it closed.

It will outlive me, I’m sure of it.
It is a genocide regardless of public opinion.
That's the usual idea of "mix some animal features and make it bigger". It's as down to earth as it gets with monsters.
I'd be surprised if 6502-based computers really ran OK at 100MHz: surely you'd run into EMI or timing issues when using the same motherboard at 100 times the original clock speed?
"The statement that P=NP is [...]" (true or false)

The article uses the concept of irony and the word "because" as examples of fairly sophisticated next-word predictors. You can imagine others that require even more understanding.
A story in two charts:

https://ourworldindata.org/grapher/children-per-woman-un

https://ourworldindata.org/grapher/co-emissions-per-capita
There's no source since this is a made up number.
It massively overstates his income.
It makes it wrong for places where a wet collar won't freeze.

Generalising from your experience to the entire globe can be unhelpful sometimes.
Put it on a drone instead and now we're talking!
Why does a country that is apparently doing nothing wrong have the most advanced PR and propaganda machine in the world?
I believe the canonical spec for HTML 2.0 is actually RFC 1866: <https://www.rfc-editor.org/rfc/rfc1866#section-8.1.3>
Shoah (1985) by Claude Lanzmann.
So maybe like a 85% decline instead of 90%
macintosh in these days were niche devices for wealthy professionals with a narrow set of requirements. There’s a reason the company almost died, windows was far cheaper and had better performance with vastly more software for the majority of users. The rest, as they say, is history.
How frequently the randomisation happens is configurable but the expectation is it should be ~daily. The thing you’re looking for is the SLAAC Privacy Extensions [1]

1: https://www.internetsociety.org/resources/deploy360/2014/pri...
Hindu cosmology maybe? https://en.wikipedia.org/wiki/Hindu_cosmology I'd love to see a better example as well.
I've got no horse in the race, but I recall this being an enlightening read https://apenwarr.ca/log/20170810
As a sibling noted, messages on the receivers end are time-stamped with the receive time, not the send time.

To your specific suggestion, how do you identify if the messages arrived late because of a server-side issue, rather than a client-side, network disconnect, or some other non-infra issue?

Anyway, while I'm sure there's myriad ways that the authors of this app could have engineered it to be more resilient, self-reporting, etc - it's clear that they did not.
Many of the principles here align with my tastes, such as focusing on fast compile times and supporting allocation failure. On the other hand:

> Unplanned Features:

> SharedPtr

> UniquePtr

> In Principles there is a rule that discourages allocations of large number of tiny objects and also creating systems with unclear or shared memory ownership. For this reason this library is missing Smart Pointers.

I don’t like that at all. I take the common view that all heap objects should at least be allocated via smart pointers. Doing so is safer and easier and usually zero-overhead. After allocation, it may be necessary to pass those objects via raw pointers/references, but smart pointers should be used where appropriate.

So while I agree that it’s undesirable to allocate “large numbers of tiny objects”, I would want smart pointers as long as there’s any dynamic allocation at all.
The closest thing I can think of is KISS Launcher.
It slows down to access the bus when needed. Memory access runs at full speed all the time as the memory is inside the FPGA.
IPv6 host can change its address as much as it wants. In fact, it can have as many addresses as it wants. It could use a different address for every outgoing connection. Nothing goes that far.

Most modern OSes change IPv6 every hour to once per day. The result is that any tracker can't tell if two IPv6 addresses in the same subnet are two hosts or one that changed its address.
Find and Choose the Perfect Productivity Apps and Software
You understand that's not exactly actionable or helpful advice, right?
more like an extra month or two of lucidity
Yes, but you usually have to choose hardware that's a couple generations behind, in order to run OpenWrt.
People use the word "war" to describe this, but it is a stretch in this case. The outcome is predetermined. Israel will kill as many people as it chooses and destroy as much infrastructure as it chooses. They will stop when they decide to stop. There is no threat that in this "war," Israel will lose. People in Israel right now are living their best lives (for the most part) while Palestinians are digging their kids out of the rubble and eating dog food to stay alive.
This doesn’t do that. It runs an FPGA-built 6502 with 64kB of RAM at 100MHz. The FPGA knows which memory addresses it has to read and write to the actual memory of the system it’s plugged in, and, when needed, accesses that at the speed the system expects.
Which parts are outdated? It mostly looks like an explanation of IPv6 networking fundamentals, such as how DHCPv6 works. I wouldn't expect those to change substantially based on OS version.
Love your page. Especially your careers page - never seen one posted as a git repo before.

You really know your audience.
you get a randomized address for the network, but then also temporary addresses that are cycled on reboot / netstack restarts for outgoing connections
> Châteauneuf-du-Pape

That reads more like "[The] Pope's New Castle" https://en.wikipedia.org/wiki/Ch%C3%A2teauneuf-du-Pape_AOC

In fact, Avignon was the site of the Apostolic See and indeed, seven canonically-accepted Popes resided there, plus two antipopes. https://www.catholic.com/encyclopedia/avignon

This period also featured Italian antipopes! It was dramatic! https://www.catholic.com/encyclopedia/western-schism
That's why regulation is better than leaving everything to the market in many cases.
How much is an extra month or two of lucidity worth to someone?

Much more when it is your last month or two of lucidity.
> Wheels work so that from the point of view of the wheel the asphalt is still

In order to create a longitudinal force, the tire must have non-zero slippage. It’s not large (for typical mild driving), but it’s not zero if you’re using the tire to accelerate or decelerate the car.

Max acceleration forces are found around 10% slip ratio.

http://www.insideracingtechnology.com/Resources/bhvrdrvbrksl...
Great accomplishment!
We already have a method for reducing birth rates that has worked 100% of the time - end extreme poverty, send girls to school and provide basic healthcare.

https://ourworldindata.org/fertility-rate
This is what ChatGPT has to say about the difference. Does it capture your view of the matter?

Penne liscie and penne rigate are both types of penne pasta, but they differ in their surface texture:

1. *Penne Liscie*: This type of penne has a smooth surface. The word "liscie" in Italian means "smooth." Due to its smooth texture, it generally holds lighter sauces better, as the surface doesn't trap as much sauce.

2. *Penne Rigate*: In contrast, penne rigate has a ridged surface. "Rigate" means "ridged" or "grooved" in Italian. These ridges or grooves are excellent for holding onto thicker, heartier sauces, as they provide more surface area for the sauce to adhere to.

The choice between the two usually depends on the type of sauce being used and personal preference. Penne rigate's ability to hold more sauce makes it a popular choice for many robust and creamy sauces.
> you always inevitably need some kind of control flow that isn't stack based (for instance the pair "[" and "]")

FWIW (I don't think this answers your main complaint, but I do think it's fascinating), factor makes a lot of use of the pair "[" and "]" for control flow, but they're totally stack-based:

https://docs.factorcode.org/content/word-[,syntax.html

https://docs.factorcode.org/content/word-%5D%2Csyntax.html
The article mentions the bank-switching issues and that the FPGA only has 64K, which limits emulation of higher memory configs - it’d not emulate a //e with 80-column display (which requires 128K).
Nit picks from former vestibular researcher :

> the liquid in your cochlea sloshes around

The vestibules are not the cochlea. The cochlea is responsible for sound. The vestibules are just about the sensation of movement, the structures are called Semicircular canals. You have one is each axis of rotation, more or less (x-y-z)

> feel the liquid as it passes by them

The hair cells are embedded in a crystal matrix, the otolith. The inertia of the 'heavy' crystal pulls the hair cells (which only look like hair and are not actually hair) and that sends a signal to the brain. Not the liquid. The Spins from drunkenness are due to the change in the density of the liquid in the vestibules (from the additional alcohol) causing a different buoyancy of the otoliths and thereby making the hair cells change resting position.

> build an image of your position and acceleration

Only the acceleration, not the position. You can only feel, via these organs, the 2nd derivative of position (0th derivative - position, 1st derivative - velocity, 2nd derivative - acceleration)

> When your inner-ear accelerometer signal fails to cohere with your overall computed sense of motion, you get the feverish-dizzy, lacking-air, mentally-induced-nausea feeling of carsickness.

This feeling is very unique to people and their lived experiences. Seasickness will subside for most people, and sailors/figure skaters/ballerinas/skateboarders/etc generally have a higher tolerance to motion sickness.

Overall, very good overview! Thank you!
the reason is less knowing our audience and more "it was just easier [than setting up a careers page]" :D
A tiny little piece of Django design that I'm pleased to have participated in is this:

emails = request.POST.getlist("email")

Django doesn't mix lists and single string values, because I'd been burned by that problem in PHP.
how does it compare to https://abseil.io/
It's still going to run down the battery if you are using the sport tracking modes, where it enables satellite tracking and also increases the sampling and recording rates.

From what I've seen in written reviews and user forums, the solar can reduce the rate of discharge but isn't realistically going to charge up the watch. It could be enough to offset daily basic smartwatch use if you spend time with it exposed to bright conditions while you wear it.

Setting it out in bright sun is likely to just overheat it and then it won't charge. On your arm, you act as a heat sink compared to if it is left on a sunny surface.
That’s so sad.
The Blitz-64 Computer System
Man has had heavier-than-air flight for over a century now. You'd think that the two notions of airspeed and groundspeed and how they can be completely different would be well-known by now.
I recommend those two also
https://en.m.wikipedia.org/wiki/Up_(film_series)
https://en.m.wikipedia.org/wiki/The_Act_of_Killing
> 1. Midjourney v6 is absolutely fantastic for creating editorial images and brand images.

And I believe they're all currently uncopyrightable.

I'm unsure if that means they're automatically public-domain, but I guess if you see something you like that someone else has generated, you can use it yourself!
Never heard before this was possible. Do you have some example which carrier allows to bring your own SIM? Ideally, if you have some support page handy that’d explain the process.

Honestly, with normal SIM cards this shouldn’t be possible, as you cannot program the keys into the card. There are some eSIM-on-SIM-cards that you could use if your phone isn’t eSIM capable. But again, would be nice to check.
But if we use the numbers above, that person is also saving $800 per year in a typical year. So even with the emergency liquidation, I'm not convinced they're worse off when we measure them across 5 or 10 years.
It's a great feature that's been supported by browsers for decades. <select multiple> uses it. You can use it for checkboxes to select multiple items too.

If you changed it now you would break a whole lot of stuff.

I use it extensively in my own Datasette application, eg here: https://datasette.io/content/plugins?_facet=owner&_facet=is_...
Because people tend to write c++ for performance reasons and the perf profiles of std::vector are not always sufficient
There isn't time in life to become expert on every last thing, nor is it economically efficient for people to do so. Maybe we would have less regulatory capture if a large chunk of our polity weren't dedicated to the proposition that government is bad and that they should be in charge of it (to show you how bad it is of course, not to line their pockets or anything ha ha why would you even think that).

Zero-trust societies are neither desirable nor sustainable. Paranoia is not hte basis of a healthy polity.
The list is empty if you haven't read what I originally posted and linked. Obviously you haven't. Politics is neither chemistry nor physics, it is what is referred to as the art of the impossible. Many nasty situations in the past seemed impossible to solve diplomatically, but it was made possible. No matter how bleak it might have looked. Again, refer to the link I posted that kicked off this discussion.
I don't have to imagine that scenario, that's how it worked for most of my life and how it still works on some of my travel.

Also, there'd be nothing to stop you from saying "Hey Siri, call so and so." Only the screen would be disabled.
Ask HN: Resources for getting back to web dev?
Hi HN!

I was wondering if you have any good resource to recommend for getting back to web dev? Or even to share the frameworks that cool kids use these days?

To give you an idea of what I am after, a few years ago (well, it has now been >10), I took the the Startup Engineering online course [1] that was taught by (the now fairly famous) @balajis[2]. It was a super useful course as it was very hands on and introduced students to tools and frameworks that were state of the art back then and used in production. It wasn't very comprehensive, but enough for someone to build a simple prototype and then use this as a starting point to explore technologies in more detail.

I tinkered with web dev back then for a few years, but then gave up and focused on my studies and later my day job (C++ and a bit of python, but all for embedded systems). I now want to get back to web dev for fun side projects, and I was wondering if you have any recommendations for resources that are similar to that course? I want to get my hands dirty building things rather than reading long tutorials. Any suggestions on (full) stacks to explore are also more than welcomed.

Thanks HN!

[1]: https://www.classcentral.com/course/startup-626
[2]: https://twitter.com/balajis
I'm not willing to believe any intelligent life is coming here because the timescale and physics are basically insurmountable.

until demonstrated otherwise, it's indistinguishable from magic or religion.