skysight-inc/HackerNews huggingface dataset:
I'm wondering when copying becomes just following industry best practices...

Twitter, Threads, Mastodon, Blusky all look the same. Project management apps all reuse the same UI patterns. The "AI" logo looked pretty much the same for all companies for a while. Video sharing websites all use YouTube's layout. Forums like Reddit and HN share quite a lot in their looks.

If you want to display website analytics, you will want to show the most important metrics at a glance, you'll need graphs showing visitors over time, top sources and pages... There is only so much you can do to display those and have users understand what's going on on your website.
ever since i started working for an insurance company, i realized that understanding the insurance industry is far more difficult than understanding the codebases. if the codebase is acting weird, at least i can step through it with a debugger!
I’m old enough to remember the white pages, where essentially everyone’s name, phone number, and address were published and distributed.

But it’s hard to have a conversation about appropriate calibration of what is private, and what are reasonable expectations, when extremists from both pro-privacy and scorched-earth commerce are so strident.
Valid point, but I will also amend your nitpick: Schwarz is also a name of a lot of people :) Both refer to hair colour, I think. "Schwartz" was a valid spelling for the colour many centuries ago (see, e.g., item 15 in [1]), which makes sense since both spellings are pronounced the same way. Surnames don't follow spelling changes, so that's the only situation in which both variants coexist now. In maths, you have the Cauchy-Schwarz inequality and Schwartz's theory of distributions.

[1] https://woerterbuchnetz.de/?sigle=DWB&lemid=S04549
I've explicitly written things down at work, starting with the sentence: "A note for future archeologists".
For very specific tasks, yeah it's good. For my usual coding tasks...no way.
Come to think of google docs spreadsheet thing does this too, and also F5. It also often fails to render correctly so I need to refresh the page.
What kind of mechanism is there in place to prevent any compiler from just replacing your main() function with formatting /dev/sda?

That's nothing to do with the language, that's always on the compiler. Nothing stops the compiler from taking even correctly-specified code and doing whatever it wants.
Unless they fit the criteria, we're not supposed to talk about incompetent people in positions of power.
Yeah, that part reminds me of the flatteringly named "Call to Action" buttons. There was a nice blog article named something like "Button presses You" which i can't seem to find. Essentially, it goes on the trajectory of the purpose of any application telling you what and how to do instead of you, the user, deciding what the programm should do.
Not a fan of the liberal party but I agree that it's one of the front where they did actually change things and they should get credit for it.

Same goes for phone bills which are going down across Canada. We are still paying too much but it's much better than ~4-5 years ago by a big margin.

And for anyone who wants to looks at the fundamentals, all large telecom companies (Bell, Telus, Rogers) in Canada have lost >20% of their valuation over the last 2 years. Pretty sure that if they "owned" the government they would have found a way to buoy themselves.
Equilibrium is near.
Yes sry i was not precise but k8s is declaritive and in that particular case, i find it very fitting. I dont love it, but its direct.

What i like with that declaritive setup: The other side, the executer, can be actually something reasonable to build and be reused. This strategy or architecture, feels a lot better than the classical approach especially because its so so often always the same thing.
And 1% by dubious statistics?
But nobody can do that. OVH doesn't let you be a large net negative.

What happens is roughly that:

- You are costing 1$ (bandwidth, etc.). You make OVH 4$. They are happy. Nobody offers you a cheaper alternative so you are stuck paying 5$ anyway.

- You are costing 4$ (bandwidth, etc.). You make OVH 1$. They are happy as marginal costs are low anyway.

- You are costing more than 5$. OVH severely rate limit your bandwidth to cut their costs and wait for you to leave because the service is now useless to you.
Except if you don't actually know what to do, or even what concepts to apply. This is where I see many start ups fall down.
LED lights can be exactly as bright or dim as you want them to be, and they exist in many colours. Some are customizable on the spot.
Everything is an ABI issue. Dunno what the point or alternative is here.
Yea but theres a difference in showing scrollbars and making the whole website accessible.
Why does one ever have to do a drowned rat study?

And before you ask, no not everyone has to eat meat, but, there is at least the reason that an all plant diet is intractable to some people for the sheer amount of carbohydrates, and for others due to the mental load of making sure they get the nutrients that are hard to get in plants but easy to get in meat.
Big companys should just have a basic department handling this without much overhead.
We are lucky that Alibaba, Meta and Mistral sees some strategic value in public releases. If we it was just one of them, it would be a fragile situation for downstream startups. And they’re even situated in three different countries.
If you try hard enough, it's possible to fuck with almost any aspect of normal web UI. Trying to prevent existing ways of doing it will lead to worse ways being used by people who think they know better.
I think it is more acquire-Hire rather than anything else. Their products are so good, rather than risking losing them due to potentially some buy-out Apple will just bring them in-house.
Which is a way to use Go, while not using Go.

Hence better invest into ecosytems that value language design PhDs....
If you don't have the cash to afford a new EV, you don't have the cash to afford a new gasoline vehicle.
No? Not every struct is exposed to clients who can't change their code.
I don’t think it’s fair to blame the problems on “trends in UX design.” It’s more the lack of UX design.
That's only part of it. My main point was that simplistic phrases like "Reality is mere Illusion" are wrong.
Because when implemented properly it is a better user experience.
And here I was wondering what the odd title meant, but with your hint it totally makes sense. From the page:

<!-- from http://wrttn.in/04af1a -->
<title>wrttn:04af1a</title>

and of course if one visits https://landley.net/history/ you can see that Rob has archived some things he found interesting:

I'm writing a book on computer history. You can look at my mirror of stuff I found elsewhere on the web, or the scans of stuff I found at garage sales and such.

...which links to https://landley.net/history/mirror/index.html

Apologies for those who lose hours if not days to the rabbit hole therein.
Is Alibaba's LLM the "Chinese LLM"?

It would appear to have been a U.S.-only game until now. As Eric Schmidt said in the YouTube lecture (that keeps getting pulled down), LLM's have been a rich-companies game.
You are reading too much into it. I am simply unwilling to listen anymore to the commentariat (roughly those working at newspapers, think tanks and/or having degrees in political science, media, communications, or sociology) attacking tech. It has become a tribal issue where political hay is being made and politics drags all debates down to mudslinging.

In short: Talk is cheap, I want to see that they have also done the legwork. That the issues is based on actual facts, and that it comes from a genuine desire to know and solve a problem.
You don't actually tolerate high seller margins. Hosting is a competitive market.

If there was significant gains to be made by being more aggressive on the low end of the market, providers would already be doing it (and they are - OVH 5$ offer is quite aggressive). There is a reason nobody actually offers a better deal.
Immediately upon loading the homepage:

> Application error: a client-side exception has occurred (see the browser console for more information).
What disrespectful marketing. We don’t care that you use Merkle trees because that’s irrelevant. I guess I can add Fireproof to my big list of sketchy products to avoid. It’s embarrassing.
Pro tip! If that is how you feel, don't have children. Wanting to outsource your childs upbringing to the government because it is "annoying" or "hard work" indicates that you are not ready to have a child.
Russia has gained territory slowly using meat waves. It has possibly taken 500,000 casualties gaining only 18 miles of front in the last year.

During the war Ukraine has regained territory in fast maneuvers and large amounts when Russia's defenses falter.

Ukraine has utterly defeated Russia's Navy, its has neutralized its armor, fights on peer or better with the air force.

What is necessary for Ukraine to achieve near total victory is to neutralize Russia's artillery and disrupt supply lines and staging inside Russia, which the NATO rules of engagement only just allowed.

It's my general opinion that while all of the Donbas region may not be reclaimed which isn't of great value except as a buffer zone, it is still possible for Ukraine to recapture Crimea, which is inevitable if the Ukrainians defeat the Russians across the Dnieper because of Russia's functional loss of its navy.
It's on my list, really looking forward to reading it.

I actually ran into it a few weeks before that article, then again when the article came out.
The pool of replicators can prune itself in many ways (indeed, it must), but that doesn't mean that those prunings are having any effect on the pool of genes. The relative frequency of fertility-relevant alleles is just as likely to remain stable. It's called Hardy Weinberg equilibrium and it's the default state for large populations that are not experiencing predation or expanding into new niches.
To be fair if we were the best at it, we would probably have less obvious / more easily deniable methods of getting our way.

> As for Putin being upset with the West helping Ukraine: they can stop it at any moment. It's enough they stop attacking Ukraine and go home, as simple as that.

The way I see it, staying in the war to force a treatise is Putin’s only option to preserve his regime, as well as his intention from the start, not anticipating the US prolonging the conflict.
Thanks. That's actually really helpful. Of course every transaction is a credit or debit depending on your point of view.

That's probably not the way I would have designed it. I'd probably have designed it from the point of view of the account, so that we'd all agree on what addition and subtraction mean. But that's my programmery point of view. I imagine that they're more concerned with the flows -- not just the numbers, but especially the actual materials being bought and sold.
Though there's a weirder life lesson here : a lot (most / all ?) of successes come from founders not having enough experience to know just how difficult their enterprise is.

More experienced founders would take a look at it and immediately nope out of it, and so not achieve success (after a grueling amount of work).
Fair enough. I wouldn’t say a program is acting with a will of its own just because it’s trained to respond to questions in a human like way. That doesn't even say anything about its capacity to have a will. Language is a tool that can convey internal state, not the thing itself.
Also I would like to see other scifi matrix project like P2P, surely it would be useful like in case of emergency. https://web.archive.org/web/20241128152504/https://ugx17w.dm...
It is great that the URL for this website is:

https://landley.net/history/mirror/institutional_memory.html

In other words, it is in the "history/mirror/" sub-directory, being preserved for future corporate archeologists.
> In “The Gospel of Relaxation,” James applies psychological insights to everyday concerns. Limit introspection: don’t become a prisoner of morbid feelings. To feel brave, act brave. To become cheerful, smile and laugh.

Today known as "fake it till you make it"

Or my personal version: "Action creates motivation, not the other way around"
Harder than you'd think, given a couple of requirements, but there are off the shelf products like AWS's QLDB (and self hosted alternatives). They: Merkle hash every entry with its predecessors; normalize entries so they can be consistently hashed and searched; store everything in an append-only log; then keep a searchable index on the log. So you can do bit-accurate audits going back to the first ledger entry if you want. No crypto, just common sense.

Oddly enough, I worked at a well known fintech where I advocated for this product. We were already all-in on AWS so another service was no biggie. The entrenched opinion was "just keep using Postgres" and that audits and immutability were not requirements. In fact, editing ledger entries (!?!?!?) to fix mistakes was desirable.
First, any technical discussion here is irrelevant. Those organizations do not ask for it because they understand it, but because someone else told them, and that's where the definition of safety is located. In other words, if you are applying for a contract, what you think doesn't matter. Having said that:

> People consider Rust memory safe, but there are a few cases where it is not

The chance that you will encounter memory safety issues in Rust is very, very low (comparing to other popular languages). We are talking about bugs in stdlib (very unlikely) and usage of unsafe in your code and dependencies. If you happen to use unsafe directly in your app, I'd say it is a spectrum and you can be in a danger zone. Otherwise, it is a small enough issue to focus on other problems. For 99.9% of people, "using Rust" is enough of a guarantee to be safe.

> Are languages without GC memory safe?

In theory, not having a GC in itself tells nothing about safety. Commonly used languages without GC are mostly C/C++, so in practical terms, they are unsafe.

> Is idiomatic Zig memory safe?

Zig itself is not memory safe. Even if idiomatic Zig was, how do you verify that some code is idiomatic? In practical terms, I don't think there is enough examples of Zig code to make determination, so I count it as no.

> Is idiomatic modern C++ memory safe?

"Idiomatic modern C++" very likely will have non-idiomatic or non-modern dependencies. There are many examples of safety issues in modern C++ codebases, so definitely not.

In my opinion, any definition of safety that relies on developer skills or usage of extra tooling means it is unsafe.
Are there any examples of sites using this for real? I assume the example is made especially bad to make a point.

I hadn't even considered this existing. From the title, I assumed it was about those pages set up to stay fixed on one page and then change entirely to the next one when you've scrolled down far enough.
I really hope they don't go this way. The only software that I can think of that Apple offers as subscription is Filemaker (Claris is an apple company). I believe the subscription model has harmed FileMaker, as more Filemaker developers are shifting to frameworks for building web apps due to the unreasonable per-user pricing.
Highlights so far this year are:

- Some Desperate Glory by Emily Tesch -- really phenomenal pacing and psychological terror in a sci-fi action novel.

- The Golem of Brooklyn by Adam Mansbach -- good portrait of different strains of American Judaism in a book structured around a quest

- Detransition, Baby by Torrey Peters -- great characters and structured revelation. This was sitting unread on my shelf for years because I thought it would be preachy, but it wasn't.

- The Bright Sword by Lev Grossman -- tales from Camelot in the aftermath of Arthur's defeat at Camlann. Excellent mixing of round table legends from different points in history.
You are either confused about something, or you're simply refusing to engage with reality.

> Any nefarious thing a browser-based app can do, a local program can do, too, [or worse!]
Don't do that either.
> Pragmatism is central tenet of Buddhism. Has been thus since Gothama. Do not "believe"; learn, try, experience and then understand.

Uh? AFAIK buddhism is full of "belief" such as reincarnation, karma etc.
I have found postcards to be a great way to send encouragement, sympathy notes, or thank-you notes.

The small space on the post card for writing means you can usually only fit a few sentences in (keeping the time investment short) and you don't even need to fold up the letter into an envelope. You can start with a few post cards bought from a gift shop, and if you like the habit, you can get themed boxes of 100 postcards from an online retailer for $20. (e.g. birds, or cats, or Disney Princesses).
Deepmind is in the UK and Mistral is in France?

Alibaba has been pumping out a bunch of useful models for a long time.
I haven’t been super impressed with it, and haven’t encountered any practical tasks I wanted to solve with an LLM where o1 worked any better than prompting 4o or Sonnet to use more extensive CoT.

There might be some narrow band of practical problems in between what other LLMs can do and what o1 can’t, but I don’t think that really matters for most use cases, especially given how much slower it is.

Day to day, you just don’t really want to prompt a model near the limits of its capabilities, because success quickly becomes a coin flip. So if a model needs five times as long to work, it needs to dramatically expand the range of problems that can be solved reliably.
That might be cool, although those colours might clash with the orange sun. You should try it.

I did another image, this time I took a section near the edge, flattened it to make an horizon, changed colours & contrast until it resembles ocean waves. https://imgur.com/a/5wnJUiN
I find it so frustrating when software and web pages don’t default to using the locale info I’ve set in my system settings. Add an app-specific option if you must, but I’d love if these things just worked by default.
Is the implication that anything that is more complicated is necessarily less secure? Because I think that turns security on its head. A deadbolt is more complicated than a door with no lock.

We can argue about whether there is sufficient user demand and benefit to make secure boot easier for lay people. But that is completely orthogonal to whether it increases or decreases security of the system.
There is a community that thinks UNIX is the be all, end all of developer tools, and then they miss the trees from the forest.

I know UNIX pretty well, since being introduced to Xenix in 1993, used plenty of variants, and yet my main use of WSL is to run Linux docker containers and nothing else.
> Do you see gas stations closing en-masse yet? I haven't.

The National Association of Convenience Stores is paying attention and watching Norway to be ahead of the game:

https://www.nacsmagazine.com/Issues/October-2024/The-Latest-...

> Unfortunately, this also means that many locations that are good as gas locations today in Norway will lose their relevance in the future. Even with the high EV penetration in Norway, few gas stations have been closed so far. Although some of the players aim to be “the last man standing,” there is little doubt that many sites will be closed in the years to come. This may be unfortunate for smaller communities that rely on having one or two gas stations.
I've had LED bulbs that lasted for well over a decade. Most seem to be pretty indestructible. But I've got one rail-mounted system using GU-5.3 leds that all seem to die pretty quickly. Not sure what's going on there.
You should read Chomsky’s “Manufacturing Consent” to understand how state censorship works.
Show HN: Understand How Matplotlib Works
I've been using Matplotlib for years and even created python-graph-gallery.com to help people quickly build charts with Python.

However, I’ve always struggled to grasp the "big picture" of how everything fits together.

That's why I'm now working on a new project called Matplotlib Journey, and I’d love to get your feedback! My goal is to explain everything from scratch, so anyone can gain a true understanding of how this essential library works.
> they're means to communicate ideas to other programmers

This is somewhat of an anthropocentric point of view. (In particular, assembler is as far as it gets from this.)
bst i can do 40 seconds take it or leave it
I’m a software engineer and a CPA, so I’ve got the domain knowledge. However, I’m not sure how to find a gig where I can apply that. It seems everywhere I look vastly prefers someone with twice my experience as a software engineer and zero domain knowledge over my years of experience in accounting and fewer years of experience as a software engineer. Any insight on how to utilize it effectively?
As far as standard ISO C goes, nothing. That's just how UB can work in theory, though in practice compiler (ab)use of UB is somewhat more indirect (optimizing under the assumption that UB is not present in the program, rather than observing UB and making decisions based on that).

Beyond that, I believe Linux and other kernels technically use a slight variant of C by taking advantage of compiler extensions/flags to better fit their use cases. For example, Linux compiles (compiled?) with -fno-strict-aliasing and -fwrapv and uses a GCC extensions that allows type punning via unions [0], so that they can compile what the standard calls "incorrect" C code without worry.

I'm not sure whether recent versions of C have changed their stance on this particular UB, but since it'll probably be a while until they're adopted (if ever) kernels will be making do with their workarounds for a while longer.

[0]: https://lkml.org/lkml/2018/6/5/769
I have never encountered a website that did something like that. Are there any examples?
The mercenary mind has no receptors for that, it only registers $$$.
It wouldn’t help the kernel case here, but I’ve long thought that the socket TCP and UDP APIs were bad in the general use case. Having to build and shuffle around the sockaddr structure is too low level for the majority use case. I think most programmers would prefer something like:

int inet_connect(AF_TYPE, destination, port, options, &error);

Also:

int inet_listen(AF_TYPE, port, options, &error);

So for example:

int sock;
inet_err err = NULL;
sock = inet_connect(SOCK_STREAM, “google.com”, 443, NULL, &err);
if ( sock < 0 )
{
printf(“Failed to connect: %s\n”, err->message);
return -1;
}

Basically one level more abstraction in the API. The old API could stick around for people who are doing something weird, but this would cover most use cases I think. Added bonus: programs using this API are trivial to add support for IPv6, it is just a recompile.