skysight-inc/HackerNews huggingface dataset:
I'm convinced, at this point, that Zig is that language, with comptime. Caveats: the system is not mature, Zig isn't 1.0 yet, there are some arbitrary limitations, the comptime type system is somewhat all-or-nothing, TL;DR it isn't done. All of this is immaturity, rather than an essential limitation of the design.

The breakthrough with C++ templates, was to provide a macro system which creates an AST for a static language, at compile time, using (surprise!) a template of the desired code. Contrast with the C preprocessor, which works on the token stream (there's more to it if you're curious, but in a way that makes it worse, not better).

Of course, a macro system operating on the AST is an older idea than C, this is one of the essential features of Lisp. But Lisps have always been dynamic languages. In some other timeline, there was an s-expression language for writing static programs, which used Lisp-style macros, and thereby avoided the problems with C++ templates. But we don't live in that timeline, it's a road not taken.

This template system enabled C++ programmers to write code which was generic over not just types, but features of types, and much else, it's all rather complex.

The problem, in essence, is that it was thought that template-expansion could be a decidable process implemented using a sub-Turing-complete language. So it was built using a second syntax, which was intended to be restrictive but flexible. Uh-oh!

C++ templates are Turing complete, as it turns out. So what C++ has is a second language. You could write your entire program in that language, and execute it at compile time. For everything you can do in C++, there's a second way to do it in templates, with its own syntax and semantics. Invariably, this language is much more verbose, and just... weird, in big and small ways. The sum of this is a system which is difficult to understand, and which generates notoriously terrible errors. This isn't intended as a complete summary of C++ template's shortcomings and weird features. That would take longer.

Zig just lets you run Zig at compile time. It's much, much better. Instead of trying and failing to make the problem decidable, Zig brute-forces the question by providing a branch quota: this is similar to gas in the EVM, or what Piccolo, a Rust implementation of Lua, calls "fuel". Comptime comes with a complexity limit, after which it quits, and which can be boosted for operations where the quota is insufficient.

So there aren't two languages to learn, just the one: Zig. That glosses over some things, like loop and switch constructs have inline equivalents for comptime, but the general premise holds.

There are other things which C++ makes easy which are less easy in Zig, like runtime polymorphism. But comptime is just a massive improvement over templates.
An Anonymous-Messaging App Upended This High School
The trend towards embracing it was already starting when I was a kid in the late 00's and early 10's, but it really picked up with the class of ~2016. The rise of the computer programmer as the highest ROI degree in this generation made a huge difference in perception of the word "nerd".

By the time I was helping with a local youth group in 2017 (14 year olds) the very extroverted ringleader of the group was a proud "nerd", by which he meant that he and his friends loved to play video games like Fortnite and had an aversion to sports.

Take a look at the highest voted entries in Urban Dictionary [0]. Obviously this isn't a scientific measurement, but it shows a strong subculture of self-identified nerds who embrace the label to some degree.

Edit: here's another source [1] that you may find more credible, from 2012:

> And the appropriation of the word "nerd" was a "battle that got won", says [Neil] Gaiman. "It's like many terms that were originally intended to offend, the team that was offended took it as its own as a badge of honour.

> "It's part of a cycle, that terms of abuse are turned around - in this case it has been socially turned around."

[0] https://www.urbandictionary.com/define.php?term=Nerd

[1] https://www.bbc.com/news/magazine-20325517
I did a write-up of setting up nixos with git deploys here: https://mccd.space/posts/git-to-deploy/.

As far as the nixos config is concerned, there is nothing crazy in it. It is just a regular nix config with nginx (https://nixos.wiki/wiki/Nginx). You can see there that adding nginx is just four lines of code, ~eight with ssl. Use it to proxy to your applications that are setup as systemd services (https://wiki.nixos.org/wiki/Systemd/User_Services).

Edit: btw I'm a big fan of asciinema! ty for making it. :)
weird nerds depend on a kind of nobility and magnanimity from the people they work with that is perhaps a bit much to expect in academia, or anywhere that isn't a high-growth environment where participants can afford the risks of eccentricity. middling people indexed on in-group status aren't equipped to handle exceptional people who don't reciprocate what is essentially corruption, and so they force them out.
Not as secure as VMs but GPU passthrough with Docker/Podman is much easier to set up, and you can even use the GPU on the host machine at the same time.
Show HN: LeetPrep – Curated Big Tech Interview Preparation Collection
Hi HN!

I built out a handy chrome extension to help prepare for Big Tech interviews. It includes resources that were previously scattered all over the place and I was accessing them often.

I consolidated all the core preparation resources into an extension for one click access.

It has been open-sourced on Github. Feel free to contribute or send new feature requests.

Please try it out and share any feedback!

TL;DR: LeetPrep is a free and open source chrome extension to access handy big tech interview preparation resources (java/python documentation, big-o, LC patterns, Blind 75) with a single click
I am noticing that Sam Altman has one skill - positioning himself near tons of money via connections he has accumulated by winning the birth lottery, be it the Orb crypto scam, the relentless hype pyramid that is AI and, hey, watch this space - looks like cold fusion will be the next big thing.
The prompt isn't relevant to this question though. The quality of output can be improved with better input but in this case, I am curious about the underlying mechanics in the model that leads to such behavior.
Your Driving, Tracked
> Weird Nerds should not be forced into people management positions

Let's forget the Weird Nerds for a minute and look at the following situation: a person W is technically savvy enough to have accomplished a big chunk of project X. Say, 90%. And then there is a 10% left which takes as much work. So management hires people from a consultancy to pick up the 10%. Except that these guys don't write much code. They are adept at finding their way into technical management at light speed and want to push what should be their work back to W, while doing the bare minimum otherwise. Now W has more work than before, because he has been pushed into politics. At the very least, he will need to communicate to his colleagues that they need to pick up the slack for real. With some luck, W will find a nice way to do that, but that's the kind of problem he is ill-equipped to handle.

There is something in this article which is overlooked in these comments: people like Katalin Karikó are often under a lot of pressure to perform. They can have crippling debts, or be supporting an elderly parent or relative. Or fear something as life-wrecking as a deportation. They don't get the luxury of being "average", because there are more desirable "average" candidates than them: people who speaks with the right accent or in the right cultural code.
Attention in transformers, visually explained | Chapter 6, Deep Learning - 3Blue1Brown: https://www.youtube.com/watch?v=eMlx5fFNoYc&t=
check out https://spider.cloud - llm-friendly markdown support, crawl dozens of urls in secs, proxy and headless chrome etc
I don't think I believe that. Look at the top scientists of previous decades. They weren't incompetent idiot savants or man-children.
> mov eax, ebx ; (1) load one dword from the EBX register and store it in the EAX register

This is a mov instruction, not a ld instruction.

There is no loading going on. The value in EBX is already loaded. Otherwise it wouldn't be in a register.

It's hard for me to take someone seriously who doesn't understand the difference between a load and a move but feels as if they have the right to an opinion about assembly.
> [...] everyone has problems

They certainly do. And I don't think we can make meaningful comparisons between individuals in terms of their problems, how they struggle or suffer, etc. For me personally, I don't assume to have it any worse than anyone else, and I always assume that others have deep challenges that I won't ever know about.

> Is anyone truly normal or neurotypical?

Again, these concepts become strained when applied to individuals. It's like the family who has 1.5 children: they don't exist. These are ever-changing labels that we make use of within an extremely nebulous social process. I try to apply them only in well-defined contexts and then throw up my hands in the general case.

> Why do some people's problems get the validation of the medical system and others don't?

I have no idea; in my mind this question is trying to peer closely into the nebula.
Being too cool for school is cool though. I'm personally very glad that information is no longer monopolized by institutions and that any self starter can learn anything they like without permission or expense. I'm too cool for school and I love it. Debt free for one thing, adn free to pursue whatever catches my interest at any time.
I think because it's always in the same place and always first. That definitely emphasises it.

Personally I think assembly should just have a little more syntax. If we wrote

dst = mv src

or

dst <- add src

it would just be obvious.
Sure, they raised the price, but I wouldn't call that artificial inflation. Isn't it more like, the launch price was artificially low, and the scalpers brought the price to the true market price?
An RV with all the amenities, if it's routinely hooked up to utilities, should feel like a home, perhaps even safer than a regular home as it can be moved away from adverse weather.

Granted, it's not a proposed solution for everyone, but it can be a good number of people who don't need much, especially if they don't have kids and are self-dependent. It also may not work in very crowded urban settings if there is no parking space or a connection to utilities.
My tin foil hat is telling me that no publicity is bad publicity and LLMs are great at spinning dramatic yarns.
I tapped a number, then an operator and was told it wasn't valid. Wordle and other games let you tap each tile to build up your answer.
Just like an npm install
I don’t see this stuff on YouTube, I see it in the real world in the course of my everyday life.
How are they creating artificial scarcity? Wouldn't that only be if they lowered the total number of Cybertrucks, or the total number of seats available at the concert?
> 5. Determine latency either using the same IP:port as the game server will have because the route might differ from another port (citation needed imo.

No citation, but here's some things to think about.

You can easily have two servers in the same facility, in the same rack, with very different ip addresses. Most of the time you'll get the same general route for all destinations within a /24 (v4) or /48 (v6), but not always. Two /24s at the same facility might get different routes, especially if there are capacity issues on the better route at any point.

From same IP to same IP, anywhere there's a redundant link, which link to use is generally selected with a hash on the 5-tuple {protocol, destination ip, sender ip, destination port, sender port} (sometimes on a smaller tuple). If traffic is unbalanced or if one link is lossy, you can get drastically different experiences with a change in port number.

If you've done traceroutes and seen multiple similar ips at a given hop number, it's probably the second effect; this is pretty common. Typical traceroute sends udp packets to the destination and modulates the sending port number. Sometimes, rarely, you can see drastically different routes within a traceroute. It's easier to do traffic engineering on a /24 level though.

Traffic on redundant links is balanced by hashing flows rather than on a per packet basis so that packets within a flow tend to arrive in order; out of order arrival is very expensive for endpoints, so it's better to ocassionaly have unbalanced usage than to regularly have out of order arrival.
> I’ve had to answer to a Weird Nerd when I was starting out in my field, it was the worst fucking experience of my life, and I’ve spent the years since warning people away from that person, their career and their contributions to their field have stagnated due to all the people like me that they burned.

And in what way is Katalin Karikó responsible for your mistreatment? I doubt you would have said something similar about a black or gay former manager, attributing your mistreatment to their race or sexual orientation. But for some reason it’s perfectly acceptable to attribute it to a Weird Nerd personality.
Ton is an incredible person and Blender truly would’ve died in a box had it not have been for his perseverance and focus. That’s not to say there haven’t been many many more people who’ve contributed massively to the success of Blender, but had it not been for Ton they wouldn’t have had anything to build on and improve.

I was very vocal against the fundraising to purchase and free the blender source code back in the day, and had very harsh criticism for Ton, saying things like Ton ran NaN into the ground, why should we trust him to deliver on freeing Blender etc. etc. It was a divisive time, and people in the community said stuff like if you don’t like it, leave – and I did. I remember one guy saying “don’t let the door hit you on the way out.” :o)

I was very wrong in doubting Ton and the community, and I’m very happy to admit it. Blender is an amazing piece of software, and it’s wholly and completely free. It never would’ve been without Ton.

So Ton if your read this – thank you so very much for proving me (and many others) very wrong!
I'd agree that there is no strong inherent benefit to either ordering, except that it would be good not to needlessly violate expectations about mathematical operations. AT&T also permutes the order of operands of comparisons, which is just bizarre: https://gcc.godbolt.org/z/h6EcP5Yv9

"Compare A and B and do X if result is 'less than'" should never mean "do X if B is less than A".

Anyway, the most important consideration for me is that standard documentation uses Intel operand order. Intel's manuals are hard enough to read, I wouldn't want to additionally permute operands in my head.
Hi! Original author of libdmusic here -- kudos for the effort, I feel like I'm one of the very few people who know the struggle of getting useable audio out of original DirectMusic files :)
That's an interesting angle to see it from, it's not "look at what I was able to accomplish" anymore so much as "look at this expensive jewelry I was able to afford."
Seems to me like enabling further segregating people would be a negative thing. Eventually groups become so isolated that conflict is inevitable
... and to add, this is an egregious violation of the equal protection clause of the 14th amendment.
You get what you pay for. Non-revenue generating services are setup and maintained as cheaply as possible. They're not going to buy extra IT labor to test IPv6. In fact they go in the opposite direction by locking down ports to just ports 53, 80, and 443. Other ports are blocked because non-web traffic includes bandwidth hogs like BitTorrent & Zoom, spam over port 25, and copyright infringement letter generating activities. The most annoying networks even force DNS and HTTP through a proxy leaving TCP 443 as the sole pinhole to the Internet.
It’s my (very simplistic and layperson) understanding that the size of an organism’s genome is more correlated to how long it has been evolving, rather than any specific complexity of the organism. Since ferns are one of the oldest organisms known to science, it makes sense that their genome would be relatively large.

I don’t remember when/where I heard this, it may very well be BS.
Some resources both 3rd & 1st party..

https://www.timestored.com/kdb-guides/

https://learninghub.kx.com/forums/forum/kdb/

https://dataintellect.com/thoughts/?_sft_category=blog

https://groups.google.com/g/personal-kdbplus?pli=1

https://k4.topicbox.com/groups/k4?subscription_form=e1ca20f8...

https://code.kx.com/q/kb/faq-listbox/
It needs updating to include you.com, perplexity, etc. Most of those are google reskins/emulators but they are there non the less
Everyone doesn't need to be a Monet, they just have to be able to paint their name on a poster without embarrassing themselves and putting down others.
Bingo. The obsession with quantification is a crutch that allows uncreative people to delegate their decision making to a mechanical analysis of raw data, rather than a first-principles understanding of their problem space.
So you're saying that scientists with the "correct" opinion don't have an agenda? Why?

The problem with blind faith and political correctness is that questioning established truths is how you actually do science.
There isn't necessarily just one. A rectangle-ish form could have 4.
Sounds exactly like the United States actually.
>Do they get a reward for being "right" in the eyes of the survey company or something? They are being asked how the economy is doing and they are saying fuck this. I'm guessing people have a basic sense that when they answer a media survey they're contributing to the narrative that the media will use, and they want the narrative to be this sucks. It's really not that deep.

They don't, but like I said earlier it's fair to question the veracity of their statements if they can't get objective questions right. Moreover, if it's really the case as you claim that they don't care about the object level question and only care about "the narrative", what makes you think that the "the narrative" stops at the economy and not at some high level like "the political system" or "society"? In other words what makes you think they actually think the economy is doing bad, and they're not answering dishonestly because they're disaffected about the government/politics/society as a whole?

>As for "sentiment and opinion" it's the basis for democracy. Of course we should give unlimited credence to it when deciding how to organize society, what's the other approach?

Again, you're conflating "how people feel about the economy" and "how the economy is actually doing". Moreover, "sentiment and opinion" might be "the basis for democracy", but it doesn't follow that when it comes to factual and objective questions it should get unlimited credence.
They think they are building the next atomic bomb, eh? Settle down, Sam Altman is no Oppenheimer: https://nymag.com/intelligencer/article/sam-altman-artificia...

That said, the technology is very likely to make the world a shittier place, and it's not due the technology, it's due to the people and grifters around it.
Also, most of the signers in that letter probably still have OpenAI equity. They are incentivized to pump it. I'm not saying that they are doing this in bad faith. I'm just saying that the incentive is perverse in this case.
People tried that (I forget the actual language now), and it just turns into a mess because now you have all these special cases (+, -, =, etc) and special syntaxes that don't transfer well to non-mathematical or multi-parameter instructions.

This really is where AT&T fell over: Their syntax evolution feels bolted on for the most part, and not well thought out. The result can be quite confusing in a lot of cases.
I let it scroll through about 30 and didn't see either of these. I saw a couple small church services, some random snippets of people walking throughout various areas, what seemed to be an interview for someone's school project and some videos of pets.
Mate, sometimes your starting point is so wrong that it is impossible to formulate an answer to the question inherent in your response.
Interestingly enough, I once read that no one over the age of 60 has ever _retained_ perfect pitch
the only Norge jokes I heard (in California) were about the cowardice of Swedes in battle.. nothing about being dumb.. that was well before the year 2000, admit
They agreed, but we have a similar viewpoint on the overall technical excellence of the org, so that part is unsurprising.

I am definitely biased, but whether I am blinded to real innovation or progress is something I think about all the time.

I think I would not be opposed to the self-promotion, marketing, and branding were it in support of some significant achievement or accomplishment. Unfortunately we have a culture that seems to think showering and getting dressed in the morning is a noteworthy event.

To use a more concrete example, I ran a project to upgrade a significant piece of software in our environment that had been neglected for some time. The project went well and I moved on to more interesting work. I had multiple people tell me that we should promote it, give talks about how it was done, pound our chest about how hard of a project it was, etc. I refused. In my mind it was a normal upgrade of a system we were responsible for and frankly was disgraceful that it was in such a bad state of deferred maintenance. There was no way I would be comfortable “taking credit” for doing what should have been done years ago.

Fast forward a few years and another team responsible for doing a similar project is giving multiple presentations all around the org and all the way up to the 2nd in command of the company. I’m like wow, maybe we should have taken the opportunity when we had it to pretend like we are superheroes for doing the bare minimum of our job and not having a vendor drop our support contract.
Except they do. That is the problem.

See for example:

https://m.murciatoday.com/almost_half_a_million_vacant_new_b...

https://www.investigate-europe.eu/en/posts/the-empty-house-a...

It isn't a particularly Spanish problem either: following article about the American version of it

https://www.cbsnews.com/news/empty-office-buildings-doom-loo...
Except (young?) people are idiots and mistakenly think the bad behavior is the source of the genius rather than just hitching a ride.
The best argument for Intel syntax is subtraction and division.

Intel syntax's

sub rax, rbx

is equivalent to AT&T syntax's

subq %rbx, %rax

...and it computes (rax - rbx), not (rbx - rax)!

I suppose you could justify the AT&T syntax as meaning "subtract rbx from rax". But it seems incredibly counterintuitive to me.

Edit: As another comment pointed out, this issue also applies to comparisons and is even worse there. Intel's

cmp rax, rbx
jg foo

is equivalent to AT&T syntax's

cmp %rbx, %rax
jg foo

and it means "compare rax to rbx; if it's 'g'reater, then 'j'ump to foo". There's no good way to write that in English where rbx comes first. At best you could say: "compare rbx to rax; if rax is greater"…
OP was dismissive.
> middling people indexed on in-group status aren't equipped to handle exceptional people who don't reciprocate what is essentially corruption, and so they force them out.

I think you hit the head of the nail there.
Certainly, I'm not defending AT&T in any way, shape, or form. I think it's ugly and confusing as hell.

My only point is that argument ordering is not something to worry about, and every argument I've heard one way or the other has been weak at best.
We're actually located in southern Mexico, a couple hours from Belize (our maestros dieted and trained with a maestro near Iquitos, and operate in that lineage). But we do have starlink here and it's miles better than what we previously had. I don't have numbers handy, it does vary a bit throughout the day (but is very reliable nonetheless).