skysight-inc/HackerNews huggingface dataset:
The Nine Ways: On the Enneagram
Rendering Path of Exile 2 [video]
> Horrific.

I think you're whining about something that doesn't pose any problem to anyone with any passing experience in software development.

The examples in the blog post boil down to far-fetched cases devised to trigger corner-cases of a feature where a programming language in exceptional cases auto-generates specific functions when programmers somehow explicitly decided not to do it themselves. The blogger then proceeds to explore edge conditions that lead these exceptional cases to either be enabled or disabled.

In the meantime, be mindful of the fact that this is about a language with a clear design goal of paying only for what you use,and also the widely established rule of 3/rule of 5, which is C++101 and states that when anyone defines one of these special member functions, they should define them all. Why? Because it's C++101 that these special member functions are only generated by the compiler in specific corner cases, and given their exceptional nature the compiler will not generate them automatically if any of the requirements is not met.

Therefore, any programmer who goes through the faintest introduction knows that they have to set the constructors they will use. Is this outlandish?

Also, does it catches anyone by surprise that you need to initialize instances when you instantiate them? Is this too much of a gotcha to justify being called "horrific"?

I think people like you just feel the need to have something to complain about. In the meantime, everyone in the real world happily does real work with them without any fuss.
I am feeling a different end of the Perl elephant. To me Perl becoming unpopular and not "improving" has meant that code I wrote in 2003 still runs today in 2024. And nearly all the code I write now will run on that perl interpreter from 2003. That kind of multi-decade stability is exactly what a system management (or personal codebase) language needs. It's an amazing boon for people who want things to just work and keep working.

It isn't hamstrung; it's a language that has stayed itself. If you want to run a perl script you just use your system perl (and it doesn't matter how old or new the OS is). If you want to run a python script you have to set up a container then use a package manager to setup an entire dedicated python and libs just for that script. Python may have acquired many nice features and refactorings but it stopped being a dependable shell language.

It traded run time complexity for write time ease; it's that way with all popular languages eventually. Not being popular after the Perl 6/Raku debacle is the best thing that could've happened.
I believe the best answer may be to read the original text. Given the style of the text and the mentioned incredibly contextual structure of Classical Chinese, its very difficult to believe a single definitive reading was intended, or even possible.
I would have loved that, especially with a language like Fennel to write Pico animations in Lisp.

https://fennel-lang.org/
I'm not sure why, but every time I hear someone use that term, I cringe. The word just feels... off... to me for some reason. Like it's an abomination.
While I understand that this is an emotional topic for you and others, your comment does not really add anything.

Care to explain why you think it’s bad or share a better alternative?
The solid mass inside the building, the walls and floors heat the air and the AC is working harder to keep up. Also exposed glass to direct sunshine that creates a greenhouse effect.
It's the ihih guy! Thanks for being one of the few C bloggers out there.
That’s why I’m vegan
Maybe the energy demand of AI will finally get us to invest in nuclear at the scale it deserves?
Heat wave intensifies in California, with 150M under alerts nationwide
Could work, or could end up like snowpiercer
Pixi: A portable package manager based upon conda package ecosystem
> cherry picked some fictional example

What an incredibly rude and dismissive accusation. Here's my table: https://github.com/arp242/goatcounter/blob/master/db/schema.... – number of IDs is actually 7, not 6.

I can give a lot more details and context on all of that and why it works the way it works and the savings are certainly not insignificant and theoretical, but save me real money in server costs every month. But I have little interest in talking to you further since you're just going to insult everyone who tries to inject the slightest nuance into "always use bigserial"-extremism. So good day to you.
> Edit: this response is a bit dismissive but honestly my main beef with this article is that its conclusion is just straight up wrong.

That's my take as well. The blogger clearly went way out of his way to find something to whine about while purposely ignoring a few of the most basic principles and guidelines.

In the meantime, everyone who ever went through a basic tutorial just casually steps over these artificial scenarios.
Because otherwise visitors can be redirected / etc.

e.g. http://sand.scroll.pub/xss
In 1999, those would have been rather different solar panels and batteries ( https://en.wikipedia.org/wiki/Timeline_of_solar_cells#1980–1... ).

The purpose isn't to add to the solar capacity but rather offset the power needed to cool the campus.

https://stanfordmag.org/contents/what-you-don-t-know-about-t...

> By creating ice when electrical rates are low and then “burning” it during the hottest part of the day, the Ice Plant saves Stanford roughly $500,000 per year and decreases Stanford’s peak electrical demand by 8 megawatts.

That's the goal and it is to reduce the impact of https://en.wikipedia.org/wiki/2000–2001_California_electrici...

That's 8 MW ... you say 22 MW today, but in 1999 that 8 MW offset looks more like Solar Two ( https://www.nrel.gov/docs/legosti/fy97/22835.pdf ) which produced 10 MW and cost 58 million on 126 acres of space.

---

And yes, it has changed since then.

https://sesi.stanford.edu/be-empowered/our-story

> In 2015, as part of the Stanford Energy Systems Innovations (SESI) program, a new Central Energy Facility (CEF) was built, and the cogeneration plant and ice plant were retired. SESI transformed the university energy supply from a 100% fossil-fuel-based combined heat and power plant to grid-sourced electricity and a more efficient electric heat recovery system, helping Stanford achieve 100% renewable electricity.
Not the hallmark of a resilient design.
Example - "I made an app" is considered more signal than developing the underlying tools and libraries that app needed to exist. Making everything "easy" backfires because those doing the hard work doing realize it's a rigged game.
will Japanese people approve of becoming a minority in their cities if you put it up for a vote?
The Story of LiveJournal (2002)
That seems like an arbitrary distinction. Plenty of software gets built that doesn't meet the minimal standards -- and you know what happens? It doesn't get deployed. How is that different from the bridge that doesn't get built or falls over?

All the same factors are at play: poor planning, insufficient resources, bad management, inexperienced workers, insufficient funding, lack of testing.

Plenty of construction projects have corners cut. Just like with software, it is someone's job to patch it later.
> I big improvement would be making default initialization explicit

Actually initializing your instances, which is what's expected of every single instantiation, is enough to not experience any problem. This also means that if you want to call a constructor, you need to define it.

This is a case of people trying to be too clever for their own sake, and complaining that that's too much cleverness for them to handle.
Cheap, safe to drink bottled water was my reason for making the daily pilgrimage while backpacking through Thailand.
A static site generator tailored for my own need.

A python package to code up reusable TeX expressions, which is used in the said site generator.

A python library for trip planning which let my wife make plans using Google MyMaps and Excels and then my library syncing them up and also shows some visualization in Jupyter Notebooks.
Andrej Karpathy's video is probably much better than this:

https://youtu.be/l8pRSuU81PU
HTML5 was the last time it had a marketing version number. Henceforth, it was agreed to be just HTML. Now, it is like people saying Web 5, Industry 7, or something like that. It is no longer “the way” and is more of a cringe. Saying Web 2.0 was kind of like more of a big upgrade signifying a leap and a lot less about versioning.

I’ve fond memories of the term “HTML5”. I sold the domain html5.in to an agent who was buying for Microsoft. The Microsoft part was discovered later after I sold it for single digit thousand dollars.
Increase (Given Name)
Curl native support for –aws-sigv4 (2023)
This is helpful for calling AWS Gateway API with AWS_IAM authorization.

Or for calling AWS APIs in containers, etc. without installing heavyweight AWS CLI.
Why this over poetry or all the others in the space?
Clearly they did not plan ahead.

If they really worry about these issues they can simply move or turn to the private sector. If the private sector can’t help them, that’s clearly due to the jackboot of unelected bureaucrats — congress needs to juice the supply side by cutting taxes on the job creators.

(BTW there’s an earthquake fault running right down Water St in lower Manhattan!)
> https://github.com/arp242/goatcounter/blob/master/db/schema.... - number of IDs is actually 7, not 6.

the point is that some/many of those ids are not timezone and country, and potentially can grow high in cardinality.
> largely due to our non-proportional electoral system.

There are a few exceptions, but the majority of ridings are of roughly the same size. For all intents and purposes the electoral system is about as proportional as is reasonably possible. People move around so it can never be perfect. But it really is close enough.

Perhaps you are referring to to the fact that the constituents seem to prefer to hire based on the MP/MPP/MLA's labour union affiliation instead of whom will actually represent them, with the representative often being more likely to work for the union instead of the employer, leaving discorporate favour in government towards the unions instead of the employer? That's definitely a thing, but that is not really the electoral system's fault. That's just abject stupidity on the electorate's behalf. They could vote for non-union members who are actually willing to work for the employer, restoring proportionality. There is nothing about the electoral system that stops them. They simply choose not to...

...I expect because they like the union party scapegoat. It allows a place to defer blame. The Westminster system places a lot of onus on the public at large to be involved and the public at large doesn't like that. The public at large doesn't want to be involved at all. Let's face it, the majority don't want to think about it to any degree, while a smaller segment are willing to pick a dictatorial ruler every four years, but nobody wants to embrace the Westminster system as it is meant to be, which leads to all kinds of weirdness – Yet, interestingly, nobody ever suggests getting rid of the Westminster system despite not wanting to use it. It is always only wanting to change how the representatives are chosen, which doesn't actually fix the problem of the Westminster system expecting people to be involved where the people don't want to be.
You should put it in capsules and sell them through Whole Foods.
I’m pretty sure stripe and any other payment processor worth their fees handles all of this for you.
I am feeling a different end of the Perl elephant

You mean camel? PHP is the elephant. ;-)
Generate Spatial Audio from Image/Video
Reminds me of the applesauce project for Apple ][ disks; https://overcast.fm/+BRm0EGSWs
Sheesh, there is probably no hope for humanity.

I vote for the rationalist robots.
I really like the API design of libjudy for general hash table like interfaces. It prevents you from having to hash a key twice just to do "check if key is not present, then set value, otherwise leave original value in hash." The pattern also meshes better with the way iterators naturally work.

Also, in terms of this table, if you add the computed key hash value to the stored hash entry, you can check that the value of the hashes match before you do the full strcmp. If you have a weak hash you might also get a benefit from checking that the first characters match before calling the full strcmp.

It would also make rehashing easier since you already have the full key available to you and don't have to use your internal set function to move entries into the new table. In the posted implementation the big-O semantics of a rehash are worst case.

Anyways.. "man hsearch.3" if you want something cheap and easy.
This is one of those articles that you read and realize that that was a waste of time. Concludes that the prime villain of this supposed crisis is abstraction and provides a simple solution - "... solution ... a constraint on the number of layers of abstractions we are allowed to apply.

Uh-huh, all hail to the coming of the layer police.

Ends - "Things can be better. I'll show you how." - @author - Maybe it would have been better to under promise and over deliver instead?

----

But that got me asking whether there might indeed be a software crisis and yes, I think there is a crises of sorts on the personal level. Maybe for others too. It's not one that is structural as the author proposes. It's that the software landscape is so vast and chaotic. There's so much going on that it's almost impossible to know where to focus. FOMO I suppose, too much to do and not enough time.

So many clever people, so much energy, doing all kinds of amazing things. For many different reasons, some good, some not. A lot of it looks, to coin a phrase, like fractal duplication, e.g. yet another JS framework, yet another game engine, yet another bullshit SAAS, just because. Seems inherent redundancy is built in to the systems.

Good times, I suppose.
> harvesting 8.66 L (2.3 gal) per day per kg of material, but these tests were conducted at 70% humidity
As usual, it's a module when it should be a language feature. Too much useless talk and not enough stuff getting done.
Its sole purpose is to research how fusions interacts with the surroindings and how to mitigate that. Its not an project where you can use an file to make a change or observe it. Fusion isn't observable in the nature for us, so ITER and the others provide is with the first data we can rely on to prove theories and materials.
From the same book, the "it is our suffering that brings us together" passage has burned itself into my mind and has often been a comfort in dark times. I can't imagine finding it impersonal or robotic. Frank and unadorned, perhaps. And both of these quotes are spoken by a person who is specifically noted to have a very blunt, concrete way of speaking. She could be more poetical when she chose to be.
Ask HN: Isolated virtualized networking learning env?
In order to do some detailed hands-on learning of networking, I'm considering putting together the following type of environment. I'm seeking feedback about whether such things exist, whether this is a good idea, or perhaps if others know betters ways about this. I'd also appreciate pointers about how to do it - like maybe websites that explain which software runs at every step, what the common choices are, etc.

Specifically: the goal would be to model a small "internet" that would fit in as many isolated small VMs as could fit on a single 64GB ubuntu box (say, 30-ish hosts maybe at <2GB/host). The model would start with a single machine running a browser + mail-client on a small home network, the border router, the link to the ISP, the backbone, and all the way to a cloud operator running a web server. If space permits, model another home network, to see what one would ordinarily observe when VPN-ing home from another site. Include all the major server types (dhcp at home, firewalls, dns, ntp, vpn, mail, web/socks proxies, load balancers, etc). The idea would be to have a "god view" of this little internet and be able to observe packet flow and understand where traffic originates, where it goes, what paths it follows, where it's blocked, how it's routed, etc. The learning objective would be to understand all the basic tools like tcpdump, wireshark, nmap, traceroute, kernel networking settings, kernel networking-related modules, etc without the accidental complexities and access limitations of a real network.

I would build this up incrementally, starting from one host talking to its local dhcp, and adding hosts little by little. I imagine this can be done in a reasonably straightforward way with a bunch of qemu command-lines, apt installs and configuration of the various servers in the path.

PS: I can see that there are systems like mininet and gns3 out there, but it seems like they introduce a layer above all the actual systems beneath. Maybe that's worthwhile, it's hard for me to tell.
> Any claims originating from this source should be treated with a healthy amount of skepticism, due to the possibility of scams.

From a zero rep user too…

If ShinyHunters reposts it then I will take it serious.
More like 20. And pel6 is now a different language, raku, as they abandoned all hope to unify them. Even the community has splintered between perl and raku.
What is the software used to design the engraving and the holder ?
That’s a beautiful essay, thank you very much.
Replicating D3 Charts with Swift Charts
How spies should use technology
Potentially it's items that move very very low volume but provide significant value by being available? For example, 7/11 in Japan sells underwear and shirts, with a bit of a selection even. No one is buying these except in an emergency, but having it there is a lifesaver. I also wouldn't be surprised if the average 7/11 location moved less than 1 unit a month of some of the whiskies they have available.

However surely this is a small fraction of all the products they sell.
I’ve just taken to writing things like: 201X or 20XX. This is non-standard but I don’t care anymore, referencing events from 20 years ago is just too annoying otherwise.

In spoken conversation, I dunno, it doesn’t seem to come up all that often. And you can always just say “20 years ago” because conversations don’t stick around like writing, so the dates can be relative.
You need at least an location where the legal entity is in. That and the name are needed in case the IRS decided to check if you for example violated money laundering laws.
https://archive.ph/yEkFG
now browsers implement specific functionality as they choose.

Make that "browser", as in singular, and replace "they" with "Google", the same ones who came up with the oxymoron "living standard".
Thank you for the search terms and context!
i mean, you might care if the investors you’re trying to woo for that bridge round figure out your churn is a lot higher than you’re willing to admit… or worse, your traction is terrible.
As Amazon turns 30, three factors will define its next decade
AI industry needs to earn $600B per year to pay for hardware spend
https://archive.ph/Wu5RP
Ask HN: Dealing with Missed Opportunities in Life?
Out of topic,may remove if not allowed.

I miss my university time not because of nostalgia, but because I didn't study properly to the extent I wish to. I didn't study at all tbh.Most of the times, I was spending on building websites using wordpress, writing content, promoting in reddit and what not.

Nowadays, I am regularly studying for 20 hrs per week along with job(I also study at job as my job is relaxed and low paying).

But when I look at the folks still in university, who're studying their ass off, it makes me feel weaker. I feel I've lost the race. It doesn't affect my day to day life at all. But I want to learn if there is anything I can do that can help me even further?
Re: lack of US exports - export control laws and ITAR make a variety of high tech goods difficult to export
We just need a new word to mean “0-indexed count of centuries”.

Not sure what a good word for this would be, but maybe just use what we already say — “hundreds”.

So, in the late 17th hundreds, …
I am emotionally invested in having been born in "the twentieth century" instead of "the 1900s."
People who commit crimes are often wearing medical masks these days.

Before covid, there was the stereotype of criminals wearing ski masks. It would make sense if you were doing a serious crime and expected to be caught on camera. It did require you to commit to looking like a criminal. Now, you can just wear a medical mask, walk down the street, you can’t be identified, you aren’t blatantly criminal-looking, but you can opportunistically do a smash and grab or whatever without worrying about your face being seen.
> The only supported distribution is Arch Linux™. Other shitty systems like Debian, Ubuntu, Manjaro, Fedora, openSUSE, etc. are NOT supported and NEVER WILL BE.

I neither disagree nor agree but wow, what a hostile tone for a readme.
> Then the next day the product ships, and you go home satisfied with how you did your job?

Yes.

Programming is typically a blue collar job in Japan. Making a device means design it, build it, validate it, and ship it. The factory doesn’t change anything. You don’t revisit it; if the company wants a new version you design the new device and yes, in the process grab some stuff from prior versions if you want.

Obviously not every company works this way (e.g. programmers have more status at places like SCEI or Nintendo; some car companies do step parts of their designs) but if you look at most industry you’ll find it’s pretty much as I describe.
Turns out that although the author is born in Toronto, he lives in Southeast Asia now, and just kept the AntsCanada name since he had already registered the domain.

The tropical vivarium videos make a lot more sense now!
I've found Poe's assistant to be much better at gamedeving.
Your entire post is based on Ruzzian fake news. I am doing my job to ensure no other HNers falls for such bullshit.
Rule of 5/3/0 is about destructors, move and copy constructors. Apart from the last example, the article mainly talks about quirks with the standard constructor, if you can call it that.
Private firms and open sources are giving spies a run for their money
Also integral to this kind of design was the spacer gif. A 1x1 transparent gif that you’d give different width and height values to in the img tag, in order to create spacing in the page.

https://en.wikipedia.org/wiki/Spacer_GIF
I have a feeling that Le Guin didn't speak or read Chinese when creating her version, I think she outlines the process in the preface. That might explain the similarities you've noticed?
I played around with C++ when I was at university. Then never touched it again. So, with a grin I stumble over things like

"void* ht_get(...)"

Wait. What? A void pointer? Interesting... I have no clue.

I like articles like these. For someone not familiar with C it's a perfect level. In terms of explanation and the code itself.
https://archive.ph/Uu8Hu
Every VPN advertised in China takes DPI in account and there is a very huge community around how to circumvent GFW. The previously popular protocol was Shadowsocks (until GFW blocked fully random traffic) and now I use Hysteria2 (which masquerades itself as QUIC) and it has not been blocked yet.

In case your favorite VPN provider does not provide these protocols you can buy a VPS and deploy one of these protocols by yourself.