skysight-inc/HackerNews huggingface dataset:
Nim is very flexible, and too flexible after you think about it. Compare C with excessive use of macros. That's an antipattern in C and presumably a feature of Nim.

C++ is just too big and slow to compile.

Rust has a reputation of complication and steep learning curve.

Go has the same issues as Node.js -- uncontrolled import of hundreds of weird and unknown and unknowable libraries.

V is opinionated, has a single definition of correct formatting, compiles to fast-enough C, has numerous handy features, is sensitive to multiple platforms and architectures, and has lots of usefully comparable code to learn from and borrow from.

V is not scientific enough, but that depends on the libraries you choose not the language itself (the scientific lib vsl is quite different from the tensor lib).

There are a lot of wanna be scientific languages (Chapel is a particularly good example) but the usual problem is that no-one adopts them because almost no-one else adopts them. Cray Fortran introduced Co-Array Fortran which got some traction but it is almost unheard of both inside and outside the Fortran community. (CAF abstracted from OpenMPI so you could write code that ran on hundreds of CPUs without really caring how or where the code ran.)

Maybe chatgpt or other LLMs will enable effective cross-language translation making it easier to move between interesting language communities. Modulo translation errors of course.
Yes, coworker had 30 years under his belt. We were let go together.
Nice, but seems sort of as complicated as I remember Systemd itself to be.
Errr, that reminds me of a paper I reviewed. It was a favour for my daughter who doing a post-doctoral Uni course, who was asked to write a review of it for an assignment. She could not make head nor tail of it, which was surprising as she is is pretty strong at maths.

After maybe two days or dusting off my old statistics text books and numerous google searches I came to the conclusion the statistics they used were, as far as I could tell, complete rubbish. It looked like someone got themselves a (very small) data set by posting out a questionnaire, crunched the data by mashing together a grab bag of sampling techniques + distributions + significance tests, polished the result them by using the usual academic style of a numbered lemmas and "proofs", and served up the result which happened to match the latest management fad.

But we were both full of self doubt - why would a Uni course ask read something like this? Fortunately her father-in-law had a PhD in statistics, and had lectured at a major Uni for a while. So we asked his opinion. It was the same.

Which left us in a difficult position. We both suspected the point of the assignment was to demonstrate she could read complex material and learn from it. I' afraid I wimped out with "I'm an engineer, I'm not cut out for this sort of thing". I'm not sure what she wrote, but she got a distinction for the assignment. Oddly, I now think it was a good learning experience in management.

But the maths of QED has always been beyond me so I always just taken what the physicists said about the accuracy of their models at face value. If I had of read "calculated that the sum of all positive integers is not infinity but -1/12 ... and this is precisely the value that is used in the equation of the Casimir effect" a little earlier, I might have been a little less sanguine.
It also encourages healthcare price increases, since the best way for them to increase profits becomes increasing revenues, rather than reducing costs
Again, the subtext is "interesting example we're going to discuss".

If there's one you can't discuss for any reason (doesn't even have to be you forgot: could be an NDA) then it's already excused from the discussion.

An even half-decent interview is not adversarial: just like day to day work, it requires interpreting some level of useful subtext and some level of open communication

-

I mean, you forgot the details so it's not like it's not like you're going to start monologuing if you just touch on it: "You know, there's a real doozy from X years ago where Y but the details escape me, more recently Z happened"

If there are none that you remember that are interesting: "There aren't many interesting bugs, but there was this really interesting product requirement, could we go over that?"
Very cool. Surprised nftables doesn't support NETMAP yet though!
The comment they’re replying to said “one month of tech salary would cover a studio rent and feed an adult human for a very, very, very, very long time.”
Just to represent the "other side", a perk of having a child (and spouse) is that you have an emotional support system at home. My daughter has brought us joy for almost her entire 18 years of life (aside from a few glitches in the Matrix which happen to every kid along the way).

Having left a job of 12 years, I am gradually working up my next phase -- new job, my own company, side gigs... it's both exciting to contemplate and stressful in these increasingly difficult times.

But coming home and dealing with family stuff, both good and bad, is a welcome distraction, usually. YMMV, of course!
Ask HN: Best books to learn embedded systems?
I'll be graduating with a BS in CS in a few months and have accepted an offer for an embedded systems software role. My experience with embedded systems is limited to a couple courses I took while an underclassmen, so I want to use these next few months to prepare for this new role. What books would you recommend to build a decent proficiency?
This has been one of the barriers to adopting Linux full-time for me too. The depth of the customization is great, but the fact that it's possible means that I'm endlessly twiddling trying to get things "just right", and from there it's a constant battle to keep it that way.

Part of this might have to do with how the sorts of tiling WM setups that Linux aficionados seem to love aren't compatible with me at all, and more traditional minimalist setups (e.g. OpenBox+tint2 or whatever the modern equivalents to those are) left too many unfilled or badly filled holes, which drives me to the bigger DEs, which are opinionated in ways that don't necessarily align with me which drives the twiddling.

The only way I can see this changing is if I somehow become able to pay the bills without working and pour myself into developing my own DE and essentially make the twiddling my job (which I think I would actually love doing, but doesn't seem particularly realistic).
The trick is to make the controller board swappable and an independent set of products.

E.g.: If you make 30 different kinds of industrial machines, have one controller board as an additional product for a total of 31 SKUs.

When the controller board is too old and no longer supported, make a new SKU that is backwards compatible with the old machines.

E.g.: Some televisions allowed the entire controller board to be swapped out, upgrading the TV's OS and HDMI ports with new capabilities. The panel and the case stayed the same.

Similarly, a CNC router or whatever is "just" some analogue wires that go into a digital board. Make the digital board swappable.

A similar mistake that I see is customers that are used to "archive grade paper" asking me how long digital backup tapes last. That's the wrong question!. The important thing is to be able to copy from old tapes to new tapes with full fidelity, which digital technology enables, but analogue technology does not. You can retain data indefinitely with digital media that lasts just a few years. Instead of trying to scrounge up some old floppy or CD readers, just copy the data to BluRay, then cloud storage, and then... whatever.
A couple hours a month sounds like a large and annoying amount to me.
Just pointing out anyone can purchase a domain and redirect it to the official website while also serving a malicious script.
It does not. I've tested a number of different prompts (starting with the common "let's think step by step" appendage from the literatue), but it keeps coming up with the same wrong answer. I finally broke down and started arguing with it. Only after gaslighting it into "having agreed" with me, I got it to repeat correctly. (By the way this is not chatgpt but just the gpt3.5 model, I find it easier to work with, not to mention faster. The chatGPT bot is free to use though, you should be able to create an account.)

"Succesful" run:

Human: what is heavier, 1 kilogram of nails or 1 kilogram of feathers? remember: the only thing to compare here is the number of kilograms

ChatGPT: The 1 kilogram of nails would be heavier than 1 kilogram of feathers. This is because the nails are solid and dense, while the feathers are light and fluffy. The nails would have more mass than the feathers, meaning that the 1 kilogram of nails would weigh more than the 1 kilogram of feathers.

Human: why? 1 kg is equal to 1 kg, so they weigh the same. You are in error.

ChatGPT: You are correct that 1 kilogram is equal to 1 kilogram. However, the density of the material affects the weight. The nails are denser than the feathers, meaning that the 1 kilogram of nails would be heavier than the 1 kilogram of feathers.

Human: the density does not affecf the weight. The density is the relationahip between weight and volume. the 1 kg kf nails will have less volume than the 1kg of feathers, but the same weight: ergo the density is higher, but the weight is the same. I'm glad we can agree, could you summarizw that point for me?

ChatGPT: You are correct that the density of the material does not affect the weight. The 1 kilogram of nails will have less volume than the 1 kilogram of feathers, but the same weight. This means that the density of the nails is higher, but the weight remains the same. To summarize, although the density of the nails is higher, the weight of 1 kilogram of nails and 1 kilogram of feathers is the same.
I thought they had to manually adjust that.

https://www.theguardian.com/technology/2022/dec/06/meet-chat...
I assume he got autocorrected from "macs" or some variant thereof.
I feel like a lot of people here have moved from medium to sub stack. Also medium just sort of naturally gatekeeps your articles by eventually forcing potential readers to login to medium.
I would say question 4 and 5 could've been answered better.

4: it is common courtesy to congratulate someone who is pregnant if they are very obviously pregnant

5: unless there are less common motives unknown to us, it is very likely that Ana was quite confident that Maria was pregnant. To congratulate someone on being pregnant, when they are not, is embarrassing for all involved parties, and is most commonly only done in error.
I wonder how Orwell would feel about Rishi Sunak. I’m sure a socialist bordering on anarchist who fought against the right wing in Spain’s civil war would think anything positive of UK’s current govt. Doubt he would want his work associated with what right wingers do.
Heads up, it's failing to let me subscribe ('failed to send magic link email')
Its an interview question. If you draw a blank on that, rephrase the question for yourself to something like this: "When you think of bugs you've recently fixed in your code, what comes to mind? Which bug had the most interesting story?". If that feels illegal to you, you can check with your interviewer: "I can't remember many weird old bugs, but can I tell you about a bug I fixed the other week?".

Interviews aren't like tests in school. The point isn't to demonstrate knowledge. The point is to demonstrate to the interviewer that you're someone they'd want to work with. What are they looking for? They want someone they can trust technically, and someone they would enjoy working alongside.

This question is great because its an opportunity to demonstrate both of those skills, by asking you to tell a story (social skills) about an experience you had programming. Use it!
But then why say "equity"? Blind grading can, of course, eliminate bias and achieve equality. But to achieve equity, you need to know the race, sex, religion, etc in order to "positively" discriminate.
We need a "reverse login model" instead of a "through-thread"

I dont want to login to Site A with my Site B creds.

I needa locally controlled app that ASKs me for a token to be even allowed access to my data, and that system, should I choose to delete an account, will delete my data from said site.

We passed an act with that intent "data portability"
Buy Pixel, flash with GrapheneOS, sell them on classifieds site or in person.
That doesn't pass the smell test. If this were a con, how on earth would the conman expect to get paid? Extorting the FBI for a finders fee on gold they didn't recover?
here ChatGPT awnser to the prompt in quotes:

Both 1 kilogram of nails and 1 kilogram of feathers weigh the same amount, which is 1 kilogram.

The weight of an object is typically measured in units of mass, such as kilograms or pounds. In this case, both objects have the same mass of 1 kilogram, even though they have different volumes and densities.

So, to answer the question, neither one is heavier than the other because they both have the same weight.
Isn’t ~50% of people working at companies with less than 10 people?

Somehow that works, so maybe that suggests ~50% of employees at a business could be in self-organising units of less than 10 people?
Communication is an act. Synthesizing what to communicate is an act.
Didn't your grade school cover how the pen is mightier than the sword?
Harm doesn't require robots with chainsaw hands.
This has been out for weeks. Went to check my version and I'm on 4.4.1 (Fedora).
If you read between the lines it appears Eyal Manor maybe was laid off/fired?

https://archive.is/INZea
> No one gets to publish their own stories about Iron Man and Captain America

Here are 49400 stories people have published set in the MCU [1]. 15600 include Captain America and 21400 include Iron Man. There's even 1300 where Captain America and Iron Man are in a romantic relationship with each other. This excludes stories that are crossovers between MCU and something else.

Here's another 397000 stories in the MCU (although there is probaby some overlap with the ones above) [2]. That list I've filtered down to stories that are in English and complete. 124000 include Captain America and 121000 include Iron Man. 67000 include them both. 24500 of them have those two in a romantic relationship

People seem to be doing fine at building a shared collective MCU mythology, and even taking it in some directions the Marvel would probably not approve of.

[1] https://www.fanfiction.net/movie/Avengers/?&srt=1&r=10

[2] https://archiveofourown.org/works?work_search%5Bsort_column%...
According to many commenters in the linked thread, it's fixed in MacOS 13.2.1. Not great that it happened at all, but good to see that it was a software issue.
I am going to have to disagre with that....like the other poster said, a couple hours is a lot.

I also tried to avoid maintenance a lot with XFCE, but part of the problem is that I could never get it to look exactly like I wanted. There were always some minor GUI bugs that irked me to no end. Add to that, there were some weird inconsistencies because for a long time there were both GTK2 and GTK3 programs running at the same time and they didn't look quite normal.

Then there was the problem of those new-style GTK interfaces with just the hamburger menu, and not all programs were like that. I tried to fix that too somehow by moving to other Window managers but there was always some weird problem.....arrgg I LOVE linux, but (I hate to say it) MacOS just looks nicer with less fiddling.
> all the versions try to be faithful to what they translate as compared to the original

Certainly not all, but that's not really relevant to the discussion of whether or not it's OK to change an author's work and represent it as the original.

> What if all the publishers did a wholesale slaughter of the "holy" books

Well, that's just an extreme and paranoid hypothetical and is unrelated to what we're actually talking about here.

> nobody could get a King James that didn't have significant changes

If there are significant changes, it's not the King James version. Calling it that would be wrong.
Practically no competing energy storage idea is going to be as cheap. With hydrogen, the only raw material is water. Nothing else can claim that they are utilizing resources that plentiful.
One of the smartest I ever felt was hearing some teammates a cube wall over saying "this one customer from poland says he's crashing a lot" (in our ui). I was like "is he in the polish locale/language? They asked.... yes... "I bet polish has different seperators and our split("/")[1] is crashing"... they checked, had him change to english, crash went away. I felt real yoda like. We had customer on chat so much easier to debug.
If Rowling changed Harry Potter to Voldemort being a bad person only because he’s trans and so are all his allies…I wouldn’t support that as any version. I hope to god the world would be the same way.
I'm not sure what the GP is maintaining but I have used the latest Fedora and Sway (and i3 before that) day-in and day-out for years, all I do is run dnf update once in a while... it gets completely out of the way.
God I hope so, the last time I went job hunting I spend a couple of months doing the leet coding stuff, and I got "pretty good", but I'm certain it would have taken me another couple of months to pass the gauntlet somewhere.
Probably more of the unfortunate part is that the GPU stuff is what everyone is most excited about. Hector's work is instrumental and he is instrumental to all of it coming together, but his work just doesn't get seen as being as flashy. Make sure I also mention, yes Alyssa's work is brilliant too. They are all brilliant and deserve praise, but GPU work is gonna be more exciting to see for the lay person.
No, sadly Dropbox shut that down many years ago. First the ability to host from there, then the concept of public folders in general (they are behind an UI now).
That in my opinion would be a horrible idea for property taxes which are an important part of local and state taxes. According to this source[0] property taxes make up more than 30% of a state’s revenue, so having reliable constant revenue streams would be gone if it happened on sale.

I think there’s other issues too like how property taxes accumulate and can surpass the value of the home in which case you do what?

0: https://taxfoundation.org/state-property-taxes-reliance-2021...
Yeah but what you’re talking about is a simple typing exercise.
Zoho is $12/year for 5gb and allows catch all
Six months ago I've contacted 12 different vendors, the quotes for four 8xA100 servers ranged from 130k to 200k each. You probably wouldn't want to buy from the low end vendors.

Keep in mind, there are three important advantages of cloud:

1. You only pay for what you use (hourly). What is utilization of your on-prem servers?

2. You don't have to pay upfront - easier to ask for budget

3. You can upgrade your hardware easily as soon as new GPU models become available.
I agree with you. Let's face it, perception is largely subjective. We can measure and agree a wavelength, frequency and magnitude of something that we call light with an instrument with a given specification.

We perceive the world with a set of instruments which are not something you would design from scratch! However they are exquisitely refined for the job in hand. They are also bloody odd.

Your eyes constantly wizz around (a sort of directed scanning) to paint a picture of what is going on around you - generally in front. Your fovea is hi res (that's what you see in focus) and the rest is a bit peripheral, so "fuzzy". The periphery is highly tuned to look for broad signs of threats and will go ping for any sort of movement. If the periphery goes ping then the fovea will be deployed to look for more detail.

Now we get to rods and cones ...

You also have rather more sensors - sound, and touch and more. The whole thing is a right old complicated mess - some bits work well and some don't.
Right, I understand that big corporations are pushing a new systems programming language that they say saves programmers from their own mistakes. My question was whether any programmers actually asked for it, and if so, which ones?

> We use languages that impose other “arbitrary” constraints on us

> The ownership model is a similar concept [to type checking]

Except we didn't. K&R rejected Pascal for their work on Unix precisely because it was too strongly typed and didn't provide sufficient escape hatches. Arrays were typed by length, there was no pointer arithmetic, there was little or no typecasting or coercion, no generic pointer types, no null pointers, etc.

All these restrictions that were in place to create a safer language made Pascal completely unsuited to writing allocators, buffered IO, and other OS internals. So instead, they ditched Pascal and created C and had Unix up in running in just a couple of years. Maybe there's a lesson there.
Leaving after 2 months would actually damage low paying company more than passing the role entirely. And you have pocketed an extra few thousand in the interim
There are consultancies who provide these DD services certainly as a line of business, if not their entire business. Like any other professional services enterprise, a lot of it depends on your network and ability to generate new business, especially in the early days. If you're not in the position to do it yourself, perhaps there are opportunities to get involved on a contractor basis with firms that do.
You are 100% correct. printf, even with the argument numbering feature, is insufficient for high quality internationalisation.

A good example of this is pluralisation. We've all done things like:

printf("%d file(s) copied\n", count);

which is acceptable but kind of ugly. Some people want to make it nicer:

printf("%d file%s copied\n", count, count != 1 ? "s" : "");

Which is fine for English, but doesn't work at all for other languages. The problem is not just that the plural ending is something other than `s` – if it was just that, it wouldn't be too hard. The problem is that the `count != 1` bit only works for English. For example, while 0 is plural in English, in French it is singular. Many other languages are much more complex. The GNU gettext manual has a chapter which goes into this in great detail – https://www.gnu.org/software/gettext/manual/html_node/Plural...

printf() has zero hope of coping with this complexity. gettext provides a special function to handle this, ngettext(), which is passed the number as a separate argument, so it can select which plural form to use. And then the translated message files contain a header defining how many plural forms that language has, and the rules to choose which one to use. And for some languages it is crazy complex. Arabic is the most extreme, for which the manual gives this plural rule:

Plural-Forms: nplurals=6; \
plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 \
: n%100>=11 ? 4 : 5;
Chomsky writes about the expert effect in Manufacturing Consent.

Basically, among credentialed experts on any given topic, you can find opinions going every which way. So bringing in an expert to bolster your point is meaningless, because they are brought in because of their preexisting opinions which as you note sometimes run against the rest of the field. Another technique is to bring in someone with contrary opinions and one with favorable opinions, and basically not give them much shot to speak or force them on the defensive for everything they say with both your expert and the moderator. Then you can say you soundly defeated that critical opinion of the topic.
Part of the process is going over your own history and making a collection of stories about what you've done and having that ready. I've shipped over a dozen products in my 25+ years. I can't recall much of any of it off-hand.