skysight-inc/HackerNews huggingface dataset:
const is weird and I see no way of getting it right. Making const transitive in the way described in tha Dlang reference certainly sounds weird. It prevents totally valid use cases. Why wouldn't I have a const pointer to a mutable thing?

The real problem is that it's not defined what is an object, and where, in a web of memory-objects pointing to each other, a conceptual object begins and ends. It's arbitrary. Also, what is const from one standpoint is not const from another. It's fluid. Type systems generally don't play well with that. The weirdness of the original `strstr()` C API showcases that problem well.

The only thing that makes some sense here is to keep it simple -- any struct-like thing is an individual object. Embedded objects of course inherit const-ness, but pointed-to objects do not.

I think the C++ model is also somewhat right -- any class can define individually through which indirections const-ness follows through. But the C++ way causes lots and lots of boilerplate.

In any case, my solution is to use const very sparingly, it can hardly be gotten right in practice beyond basic use. Being more rigid of const may have prevents 2-3 bugs in my life, but cost sooo much more time and required many rewrites to make it fit somehow.

I use const mostly for

- static const data
- some string-slice datatypes (these are often initialized from static const data like string literals).
- read-only function parameters passed by reference (Foo const *thing).
Love this. I know that the view on vibe coding is pretty scattered online. Personally i got into this type of coding about 3-4 months ago. My background is 6 years in university becoming an engineer, where my master was aimed towards people in projects, organizational structures and management. I combined these studies with a couple of programming and DB courses. I feel that due to "vibe coding tools" i can adopt a project management approach to my fleet of coding agents. I draft plans, development phases and so much more. I can add that i am nowhere near a professional software engineer. I can say that where these tools are today, they require this type of management.

All these coders trying to tell the AIs what to do when they have the "design picture" already in their head's become frustrated cus the Agent can't read their minds and dig into their intuitive ideas developed from years of coding experience.

I don't say that this is "the way" but rather an approach to AI-coding that has worked for me. With little to no coding experience, i have managed my coding agents in a way that they have build a saleable and pretty complex solution for me, that will kickstart my business this summer. I have professional software engineer friends that have revied it and they are amazed of the quality of the code.
This is obviously a MUD and not really the same thing, but I can't help think of Citadel BBSes after reading the description.

https://en.wikipedia.org/wiki/Citadel_(software)

Funny this is maintained by folks at UW. The PNW had quite a robust BBS scene back in the 80s. Not exactly surprising that tech flourished with such inclement weather.
It probably all started with typewriters (and teleprinters).

Nope, it started with books where 500 years of typographic practice has taught us that anything above 80 characters a line quickly becomes unreadable.
Great collection!

Are there any very affordable DIY midi control surfaces with a few knobs, pads, keys (two octaves), and BT?
and how do I apply?
Many of extra bills are absolutely not going to get paid.
The first Veed video genuinely terrified me.
Feels like I got an inter-dimensional cable box from Rick&Morty
I have an IBM T42, but I have the supervisor password set that I have long forgotten. I know about ways to clear the password (if they indeed work) but I have not gotten around it. If anyone knows a solution that does work, feel free to share.

It is in a mint condition, not a single scratch, and I don't want to throw it out for sure. I have an old OpenBSD on it, it is perfect for some light C coding using mg. :)
Just read the dozens of links shared in these threads.

https://www.google.com/amp/s/www.cbsnews.com/amp/news/eligib...

https://youtu.be/rHFOwlMCdto?si=OjoxCfE1noxvw3Fz
You might enjoy your Chinese overlords more then. Time will tell.
Thanks for taking on this role tomhow! It's seriously appreciated and I'm also heaps happy that there's now someone in Oz that can moderate while dang gets some no doubt much-needed sleep! Champions! Thanks for making HN so bloody choice! Over of the best places on the 'net for damned sure!
Reminds of 'Drawing with circles' in 3b1b classic on Fourier series: https://www.youtube.com/watch?v=r6sGWTCMz2k

So if we remove the condition of 13, everything is in fact made of circles only!
Well they can always go back to child labor like Florida is planning to - https://www.cnn.com/2025/03/25/business/florida-child-labor-...
> EU never ending fines are essentially tariffs)

Comply with EU legislation for activity within the EU and there are no fines so it’s hardly a tariff
Both Svalbard and Jan Mayen are inhabited. Jan Mayen only by about 35 people, though. Svalbard has both Norwegian and Russian settlements, but of course entirely too small to have impact on US trade.
I've met a lot of people in St. Louis working various factory jobs. Making different kinds of specialized equipment, food products. I think they get paid $25+ an hour starting out. A fair amount seem like tedious jobs.

There's around 12.8 million people in the US working in manufacturing.
I have an X201 (15 years old) and X220 (14 years) that I regularly use, running different flavors of linux. they've both been repaired and upgraded a few times. I'm spoiled by having an M2 Macbook as a daily driver - they can't match it for speed - but I love the ruggedness and resilience and I always will.
We’re talking many 10s of billions in “fines” specifically levied against US tech firms where there is no EU competitor.

I don’t necessarily disagree with all of the laws themselves (some are incompetent EU risk aversion, some are good protections) but given the massive never ending fines being applied in bad faith and constantly moving goalposts it is indeed a defacto tariff on US tech firms.
If someone is under rubble and needs to signal anyone, if they have the use of their hands, best thing they can do is get something solid and tap the SOS morse code on something. I thought that's what they did during the Kursk submarine accident but apparently that wasn't correct.

Anyway, SOS morse code will carry pretty well through concrete or steel or whatever.
> They benefitted from it so hard they voted for the exact opposite with eyes wide open. Twice.

This conundrum, like so many others in public discourse, is downstream of the widespread but fundamentally incorrect belief in free will (which in turn is downstream of belief in supernatural powers, because free will sure as hell isn't explained by anything in nature).

Nothing is in anyone's control. There's no such thing as "eyes wide open". People's behaviors are 100% downstream of genetics and environment. Some people behave rationally some of the time, and to the extent they do so it is because the environment set them up to do that. There is absolutely no coherent reason to generalize that into the idea that most people vote (or do anything else) rationally.
You should look a little bit closer to actual circumstances of people over the country.

https://youtu.be/rHFOwlMCdto?si=OjoxCfE1noxvw3Fz
Eshkol, High-performance Lisp-like language
https://youtu.be/rHFOwlMCdto?si=OjoxCfE1noxvw3Fz
By the way, what I find most baffling in these discussions is that these calculations are always based only on physical goods, ignoring services, where the US usually has a positive balance - eg, with the EU, the US has a 109B positive balance. In our economies, which are more and more service based, why are services ignored?
The reason for my "optimism" is that it's just as easy for him to undo this as doing it in the first place. If he keeps them in place as constructed for more than say, 3 months, without shooting them through with loopholes, then he might have a real unfixable problem on his hands, as businesses start to seriously reorient themselves. However, if over the next 3 months or so, he starts tactically peeling them back or being very "generous" with exemptions, the net economic impact could be relatively small, and maybe even moderately positive (depending on the details).

Fwiw I'd prefer the republicans win again, so my optimism is actual (not that I don't have substantial criticisms of the current admin's policies). However, it is refreshing to have a content-focused exchange on the internet about politics, so h/t to you :)
If you're sane and rational and decided that you liked Trump's promises (with "rational" implying that you were actually listening to what he'd do, and not blindly accepting his nonsense about "I'll make everything perfect immediately!"), that leaves only the possibility that you're evil. Or a Russian operative, I suppose.

His promises on things he can actually do are exclusively for things that are wantonly destructive and incomprehensibly stupid (tariffs, mass layoffs), hateful and incomprehensibly evil (mass deportations without due process), or straight up treason (pardoning J6 insurrectionists, breaking alliances). If you voted for this person, you have to either be so stupid that you believe his obvious lies, or so evil that the things that aren't lies are things you like.
>If that is your goal, you couldn't be doing a worse job of it.

Well this comment of yours doesn't help either.

Genuinely curious if you've read the rest of what I wrote, and have any thoughts (objections? agreeing with anything?) regarding specific things that I said - or you just stopped at that first sentence to write this (content-free) response.

Please let me know.
> Then raise the wages.

Then no one will be able to afford the products the plant is going to build.
That's fair, thanks.
Flame looks promising for those needing an easy-to-use cluster management tool. I like the simplicity and focus on common tasks like managing users and software. The web UI is a nice touch. Curious to see how it evolves and compares to solutions like Cloudify and OpenStack in production.
I do not care much about Automapper. As for MediatrR I will spend a day or two to build my own message/event dispatching library, I don't need anything too fancy.
AoE2 is coming out on PS5 this year.
This article is this xkcd in article form:

https://xkcd.com/610/

When you say people are "tribal," while as a fact perhaps has some truth, you're essentially saying you don't believe in democracy--which is a common sentiment these days. It ironically is a thought terminating cliche evidentiary of a bias; it necessarily implies you can ignore people's political instincts and impulses which requires a particular disposition (bias) towards others around you.

I know what social scientists say about tribalism but interpretation of those kinds of research is not meant for individuals you know personally. Individuals are not distributions, they're people. That is, they have agency, with a right to their own opinions that ought to be engaged with seriously and sincerely. Some people may not think too deeply and just hone to a particular opinion just by fiat. In my life, that really isn't anywhere near "most" people I come in contact with or talk to as the article puts it. Most people in my life just don't think too deeply about these things, that's it. It's a lot less mundane than "people are sheeple" and more like "people don't care" or at least "people only really care about X" where X might be something like their own job or life.
Location: Seattle, WA.

Remote: Yes, open to hybrid/on-site also.

Willing to relocate: No.

Technologies: Go, React, JavaScript, TypeScript, Java, Python, SQL, PostgreSQL.

Résumé/CV: https://drive.google.com/file/d/1RNfFN4wAtpyJ67E-uyS4hGxtgbj...

Email: kennynguyenx[at]gmail.com

I’m Kenny, a full-stack software engineer looking for junior opportunities. I most recently worked in a UX-centric engineering role at a gaming company and also have prior experience at an early-stage start-up developing a biotech SaaS. I have a graduate-level education in information science from an R1 university alongside degrees and research experience in the health sciences.

To be very transparent, I’ve been unemployed for a while after operations for my previous company moved overseas and it's been tough trying to get back into the industry. I took time off to refine my computer science knowledge and get more confident in my engineering skills. I am really looking to break back into tech in a less design-focused role. Please send me a message if you know of any opportunities! Open to connecting on LinkedIn also. :) Thank you!
No it doesn't. Can you say a true statement that contradicts what I said?
I was using a W500 (same generation) until 2018 or so. Upgraded RAM, installed an SSD, and it was my daily driver until the end. But already back then it started to become unbearbly slow especially with background procesesses like file syncing to different machines.
People were always tribal. You just call out a group to be evil. And it takes just a little bit of propaganda and people will ignore any rational arguments and start harassing a group.

Witch-hunts (last conviction in Europe was 1944), jews, communists, americans, non-americans, all sorts of religious groups, ... history is full of that.

One thing that changed recently is that nowadays propaganda is very organized and well funded. I also think there was a pretty calm period for a few decades (but only in certain regions of the planet). In the cold war period the tribes were very fixed and the evil was always far away, so locally not much happened.
Location: Tølløse, Denmark

Remote: Yes

Willing to relocate: No

Technologies: Ruby on Rails, React, Tailwind, PostgreSQL, MySQL, TypeScript, Elasticsearch, Kafka, and more

CV: https://ohmbrix.dk/cv.pdf

Email: mads.ohm@gmail.com

Senior engineer with more than 10 years of experience with Ruby on Rails. I'm currently looking for a full-time contract, but am open to part-time for the right company.
The problem isn't NY or California, it's in swing states with a thin Republican majority that gerrymanders (and other dirty tricks) its hold on the state.
> What's the plan for that?

The answer to this is pretty simple, although American Exceptionalism makes it hard to see for many Americans. For every other country, most could see pretty clearly that they'll not plan on holding free elections going forward.
Yes, inflation is a big problem. You want the people who get to take your money to have a well-defined role that doesn't grow over time.
Techies can get into management, but they stop programming if they do. I've been told I could get into a higher pay scale if I took on managerial or administrative tasks that I'm bad at and have nothing to do with programming. I'd like to be appreciated for the stuff I'm good at, not for doing stuff I'm bad at.
> Politicians are just pretending to be dumb? Why?

To hide their motives, if you think they are just dumb then you will not look for the real reason they do it.

Not sure that is what happens here, but that is a very common reason to play dumb.
More likely the goal is for foreign companies to set up factories in the US for the domestic market. The US market is too big for most industries to ignore, and as they move manufacturing there, they skill up the US population.

Industries don't exist in isolation, and you need to be able to make simpler things in order to cultivate the know-how to make complex things. If China makes better phones, it won't be long until they make better drones. This is as much a strategic initiative as it is an economic one.

And BYD should be a wake up call that the US cannot compete in high value goods anymore.
It's worth remembering that Radio Garden is now gubbed for transatlantic listening from the UK due to music licencing issues. The same problem also impacts TuneIn.
I feel their Linux version is inferior to other OS versions :(
Nice, but... it's not actually minimal. But nice.

Also a bit of nitpicking. While it provides a visual placeholder for an image that's being fetched, it does not reflect its content. So, when it's loaded we can see a completely different color palette and shapes.
Well, if you went to Spain to the Castilles/Aragon, specially to the Serranía Celtibérica area, you would find the same rural emptiness of the US. And, in Asturias/Cantabria/Palencia, at "Picos de Europa", you woudn't believe that these spikey, rough mountains with hard winters belong to Spain.
Sadly, this doesn't say much. He was a terrible student by all accounts.
More Purple Links, Please
Really like this, nice work!

Something to note is that Color Theif (Quantize) is using median cut on RGB, it would be interesting to try and extract dominant color in OKLab instead.

I also love the idea of a genetic algorithm to find an ideal match for a given image; it should be possible to simulate radial gradients server & client side with webgpu, but probably overkill for such a simple task.

EDIT: Although it works for me in Chrome, it doesn't seem to work in Safari v16.1.
In the same way that Berlin is entire Germany.
Not retaliatory, reciprocal. Retaliatory tariffs are dumb. Reciprocal tariffs are the Nash equilibrium. Whether or not these particular tariffs are in fact reciprocal is something we could debate, though. At best they are a very crude approximation of reciprocal tariffs.
I wish this was true, but I have a strong feeling my nation (UK) will be right there along side any new military adventures.
That’s may be true. But why does Vietnam have such high tariffs? They should be competitive based on their lower costs right? So it’s simple: Vietnam can eliminate tariffs on imports and the U.S. would eliminate tariffs as well.
I like that Ploopy are designing and building open-source hardware. I have their Classic (1) trackball, which has been great. I recently got their new trackpad, which is better for me. Having multi-finger gestures (pinch to zoom, swipe back) is nice.
Provably false.

https://youtu.be/rHFOwlMCdto?si=OjoxCfE1noxvw3Fz

And you need to do paperwork, which means you have to pay and find time. How do people with 2 or 3 jobs do?
It's a brilliant game for sure. The randomness, the fact that it's not turned-based and the multiplayer also make it interesting compared to chess.
However Chess has 1000x simpler rules that never change, and you don't need high APM to play competitively.
Almost terrifying that the two length scales are only an order of magnitude apart…
I don't think a driver license is a valid voting id in the US, because you don't have to be a citizen to get one.
Not everyone has drivers licenses, especially poorer folks, especially minorities. The requirements for drivers IDs are now to get RealIDs and some of these folks don't have access to things like birth certificates and other requirements of getting a RealID.

There's also additional requirements of your gender matching your ID (which eliminates many transgender folks), your name matching on all documents (good luck if you're a married woman), etc.

Folks are rightly pointing out that these laws are engineered to suppress votes, and you seem to not be willing to listen to understand why.
(1) is you not liking it, not that it isn't the case. Whether it is authoritarian or not is besides the point. (2) I am not claiming that they can "outsmart" anyone, just that the objective and plan may not be publicly or explicitly stated, or even that what is publicly stated is not the real objective (this is not "4D chess" this is actually how things tend to be in practice from politics to business).
Gecho.io – Automatically reproduce production errors in your local browser
> Cars for example, US had tariff of 2.5%, EU 10%.

This is highly misleading:

Pickup trucks, which is a major share of the US car market, had an import tariff of 25% since 1964 (so it was pretty much the same average tariff level but with the EU doing less targetting).
The Q5 is made in Mexico.
Aha, thank you so much, I understand now.

I really should read the philosophical school of "me good, you bad" it sounds so convenient.
Impedance Mismatch: When Slow Tools Make You Hate the Work You Love
That doesn't explain why democrat run states like California can't have a sensible voter ID law that accepts such identifications?

If they just said "accept more IDs" instead of "stop voter ID requirements" people wouldn't think its a problem, but that isn't what democrats are saying.
Go to Rome. Sit down, anywhere you can, and watch the tourists flocking around the ruins, snapping selfies among the crumbling stones.

The future was never Republican.
There are secondary tariffs on those countries who buy from Russia and Venezuela or Iran. i.e. if you buy oil from Venezuela, then your export of clothing will invite 25% tarrifs.
> I suspect that machines to be programmed in our native tongues —be it Dutch, English, American, French, German, or Swahili— are as damned difficult to make as they would be to use.

Seeing as transformers are relatively simple to implement…

It stands to reason he was, in some sense, right. LLMs are damn easy to use.
>We've seen this before with IdentityServer

Doesn't really matter. For big, distributed apps at work I use Keycloak or something similar, maybe an own authorization service built on OPAL. For small apps I either use an authentication and authorization library I built myself or, if I don't need something too fancy I use Identity (the one MS provides).
Yeah, this is one of my biggest issues with this. There is no coherent plan.
Or anyone who worked as a switchboard operator. Nobody did anything to protect their jobs!
Alpha 27 of 0 A.D. has a notable performance regression for a subset of users, compared to earlier versions. Users not affected by this regression should see improved performance, thanks to improvements like the added Vulkan support.

The regression in performance seems to be caused by a change in Spidermonkey. For details check out https://gitea.wildfiregames.com/0ad/0ad/issues/7714

That said, even without this performance regression, 0 A.D. is prone to run slow in late game when lots of units are on the map. There are several reasons for that, but maybe the most intuitive one is that 0 A.D. is still largely single-threaded and therefore doesn't make use of the multi-core capabilities of modern CPUs. As you can imagine changing that is no easy feat and takes a lot of effort. As the number of volunteers to 0 A.D. is limited, nobody has picked up that topic yet.

If you enjoy 0 A.D. and want to improve it: it's Open Source and contributions are always welcome!
I see this devolving into a circular argument.

But you can rebrand tariffs as “fines” all you want.

When they’re applied wildly disproportionately to certain firms in a certain industry from a certain 3rd party country…it’s a defacto tariff.
You get all of it returned. 100% of the VAT you paid on things you as a company bought you'll get back from the tax office.

And when selling products, you'll send 100% of the VAT collected from consumers to the tax office.

VAT doesn't affect a company (besides the bookkeeping).
I.e. North American.
Malicious PyPI Package Targets WooCommerce Stores with Automated Carding Attacks
>Trump sees a war with china down the line

So is destroying diplomatic relations with all their allies and trying to force ceding of power in central Europe to a former enemy who is allied to China?

Go on with ya.

He's a prick saving himself from prison whilst being willingly used to establish an oligarchic fascist state from the former USA.