skysight-inc/HackerNews huggingface dataset:
Is there an overview of a real world small project using zig vs rust vs cpp20?
Lots of good responses here, so I’ll give an example that blew my mind in a negative way:

Fortran IV code, thousands of lines, no functions, only GOTOs jumping everywhere randomly. Mostly one or two letter variables, lots of GOTOs that turned out to be loops, with lots more jumping into the middle of them and jumping out of them into other loops. No documentation, I was supposed to modularize it. Failed.

But it successfully calculated thermodynamic properties for engineering designs, so go figure.
I mean they only really have two choices. Stick with meta and hope mark gets distracted from the reality labs stuff or sell. Most seem to have chosen to sell.
I tend to stick to journal articles. You should checkout the review articles at the Berridge lab, https://sites.lsa.umich.edu/berridge-lab/publications/
Colorado has a version of this, and so you'll sometimes see listings that specifically say they won't take Colorado applicants for that reason. So long as there are no current employees in NYC I would think the same could apply to this law.
It's an incredibly useful frame if the question is "Should Meta admit the metaverse is a mistake?"
Silicon Valley is not a documentary but entertainment.
As a publicly traded company, there’s a fiduciary responsibility to shareholders.
AMD's hardware encoder can of course be used with OBS, and it is actually good as of OBS 28.
One of the biggest worries of teenagers is how to keep your performance at school good enough to prevent your parents from saying you have shamed them. Sadly, said performance is measured by grades more than by any other factors. Not being able to perform well academically, or simply not having enough interest in getting good grades has resulted in many problems for young teens throughout the years. All that could be made easier if there was a way to change the grades on your student portal. There are many ways to do that, but only a few ways to do it without being caught. We will discuss some of the methods that could help you change your grades on the student portal without getting noticed.
contact us at hackwizard999@gmail.com
IOCCC taught me that form is just as important as function, and often a lot more fun:

https://www.ioccc.org/
What to Do If You Find Yourself in a Crowd Crush
That may be so. Interesting observation.
But GDP might still be a flawed measure, for the reasons mentioned in the article.
> a) Publish full range of all possibilities - e.g. $60,000 -> $150,000? That's is true and accurate but it's not useful (and see human-psychology disclaimer below).

This is very useful. For example, anyone wanting more than a minimum of $60k can skip applying.

> b) Publish a specific smaller range, and miss out on good candidates on both sides of the range.

I do not see how this is possible, especially on the lower side. No one is going to skip past your job listing because the minimum pay is higher than they expect, and no one is limiting you on how high to set your max pay.
I don't have an aversion to if statements per se, but there's a logic to wanting to not over-use them or keep them out of code if possible: every code branch requires more work to unit test it. However, if you can restructure such that instead of using an `if`/branching you instead use whatever higher level structures the language provides then you only need to test the way it selects code to run is correct rather than multiple branches.
Elon Musk Planning Vine Reboot After Twitter Acquisition
I wish HN had a way to bubble up or highlight comments from particular people on an opt-in basis. Your comments are always insightful and high quality.
Isn’t that perfectly ok, since now you no longer need this post?
This. Spending a productive, rewarding half a day pair programming with a receptive junior engineer who isn't sure how to approach a complex task nets them 1+ commits and you 0 commits. Spending half a day chasing after a "loose cannon" engineer who hastily committed bad code nets them 3 commits (the original bad commit, a rollback commit, and the fixed commit) and you 0 commits.

How do the individual stats look at the end of the month/quarter/Musk Layoff Review Period when these kinds of days are relatively common?
You're saying western countries want metrics which show that they're doing well and GDP no longer fits the bill? My intuition is that the opposite is the case; people in countries which have high GDP per capita who still _feel_ that they're suffering want numbers that validate their problems as real and serious.

Americans are on top from the GDP perspective, in the top 10 for GDP per capita, but it doesn't make them live longer or healthier, doesn't make them happy or less stressed, doesn't give them good schools or stability or fulfilling work or optimism about the future or confidence in institutions. I want the leading metric to show that things are _bad_ so politicians stop pretending that they're good at governing just because of the success of an economy they have little to do with.
Which is why mark leaves the credible deniability of saying he believes reality labs is an investment that will pay off for shareholders. My reading of corporate fiduciary responsibility cases is that believing your actions are in the shareholders best interest is all that is required and proving that mark doesn’t seems impossible.
My favourite resolution is that "intelligence" is a concept created by humans that only humans and species evolutionarily close to humans have. It should be called "human intelligence".

The Fermi paradox doesn't work because we have roughly the same chance of finding a human-intelligent alien as we have to find a Swedish-speaking alien. For all I know the planet Neptune is actually alive and intelligent in a way we cannot comprehend.
Ok fine I rephrase :

If someone *falsely* yells FIRE without a real FIRE in a crowded town hall that causes a stampede resulting in death or injury - I guess it is ground for bringing criminal charges against the original yeller.

But my point is since it is clearly defined legally do we have to really over analyze it to the point of inducing paralysis?
messagepack implementations.

made me realize how much knobs are there in writing a data to bytes encoding function.. you get to pick a trade off between readability, ease of implementation (in other language), encoding speed, encoding output size, and more.
This may be true in the short term but eventually more of these decisions begin to accumulate and cause more dissatisfaction. Each one on its own has barely any impact on the bottom line, it's just one more cut among a hundred cuts. In the end you end up with a product that is overall annoying to use. And the whole time you could be going along, measuring each decision and thinking that you're doing okay and no mistakes are being made. But measuring today with yesterday is not the same as measuring today with 3 weeks ago + 13 decisions reversed, 5 decisions reversed, 1 decision reversed.
CPS comes to mind (Continuation passing style). Apparently continuations really do it for me. One of the many gains from picking up functional programming is stumbling upon little "pearls" like these that I wouldn't have otherwise.

https://en.wikibooks.org/wiki/Haskell/Continuation_passing_s...
Connections that really feel good can be extremely motivating, funding or no. If I had a hiring role for that organization I'd emphasize connection over exact job skill matches if it came down to it. I'd make sure every new hire felt really good to at least 2-3 leaders they'll work with, too, so the leadership could reach out to them comfortably to seal the connection.

Then I'd build on that in future hiring and interviews, and get other employees involved as a way of building the collection of motivated folks who can soak it in and enjoy our vibe.

This organization in a pre-funded state and wanting employees should have an amazing vibe, no excuses. But it doesn't have to be _everybody's_ amazing vibe. It has to be something positive, reasonably energetic, and then the other stuff can follow as suits the situation: Geeky, specialized, diverse in a particular way, and so on.

If I somehow ended up as a hiring candidate I'd be doing so much backgrounding on the organization that I'd have a full outline of everything I'd be getting from it every day I was there, and right through its implosion if needed. Really wish I had done this in the dot com era!

Repellent to me, to give an example, would be a cultural mismatch based on factors that weren't accessible to me before interviewing, but which should have been. For example if I arrive on site with no accessible context to mull over beforehand, and the environment is extremely particular in a given way, that's really awkward to have to work through and can indicate an important but missed connection already.

"Particular" could be: Most people here WFH except you, and it's a warehouse in a sketchy area; we are divided into two teams, and you'll be on the one that's more workaday and has to stand up much of the day; we have a warm-greetings environment and nobody is WFH because they all love being together, etc.

Anyway. Just some thoughts, hope they can be helpful.
Wait a minute, I recognize that GitHub handle! Are you John McFarlane? What a mind-blowing day to come across the creator of pandoc. You've saved many a student from pain. Thanks for everything.
The whole point of the sensor data is to construct an accurate representation of the actual environment, so yes, if you can do that, you don't need any sensors at all. ;-)

Yes, in machine learning, pruning down to higher signal data is important, but good models are absolutely amazing at extracting meaningful information from noisy and diffuse data; it's highly unusual to find that you want to dismiss a whole domain of sensor data. In the cases where one might do that, it tends to be only AFTER achieving a successful model that you can be confident that is the right choice.

Tesla's goal is self-driving that consumers can afford, and I think in that sense they may well be making the right trade-offs, because a full sensor package would substantially add to the costs of a car. Even if you get it working, most people wouldn't be able to afford it, which means they're no closer to their goal.

However, I think for the rest of the world, the priority is something that is deemed "safe enough", and in that sense, it seems very unlikely (more specifically, we're lacking the tell tale evidence you'd want) that we're at all close to the point where you wouldn't be safer if you had a better sensor package. That means, in effect, they're effective sacrificing lives (both in terms of risk and time) in order to cut costs. Generally when companies do that, it ends in law suits.
This reminds me of a study where purses would be dropped with < 20 usd equivalent in them at random places around the world and the sociologists, psychologists and economists couldn't understand why most of them were returned given their understanding of human nature and the answer that they didn't want to accept was that their understanding was wrong.

People don't work harder because their work is unfulfilling, their pay is underwhelming, and their hours are exhausting. Inflation just went through the roof and half of all price increases in domestic product are directly corperate profits and even the most uneducated among us are aware that every single part of this system is rigged.

and the Washington post claims "no one is sure why" but in reality they mean "nobody in a position of privilege that we would hire or talk to has an excuse that doesn't point out the obvious things we can't say about class struggle and income inequality"
You’re missing the distinction PP is pointing out, between “layoffs” and “for-cause firings.”
- Honesty about difficulties you're facing (repellent would be gushing hipsterism)

- Empowerment to get things done

- A pursuit of legitimate business opportunity (repellent would be craptocurrency, spamware)
Surely you mean S-expressions. They're great, but not as a markup language.

What I show here is in fact even simpler and more flexible than S-exps[0].

[0] For some details and polemic see this thread: https://news.ycombinator.com/item?id=33334789 | TL;DR: Jevko is well-defined, basically just unicode text + escapeable brackets for making trees; it doesn't treat whitespace as a separator/atmosphere (particularly important in markup); it takes advantage of natural name-value pairing tendencies (like tag-children); and it's closed under concatenation by design
Top colleges ranked by startup founders
> TANSTAAFL. (There Ain't No Such Thing As A Free Lunch.)

Maybe not, but the world isn't zero-sum. Some things really do raise or lower the overall average.

> I have even personally witnessed a situation where a company evaluated a legal change to increase employee protections, and decided to layoff almost everyone in a particular country before the new law took effect. (The company was Pictage, the country was Argentina, and this was a bit over a dozen years ago.)

What was the law change? And how long would it have been before those employees were laid off otherwise? That's an interesting datapoint to hear about, but "employee protections" can mean many different things.

> So I'll take the up front downsides of at will over the hidden downsides of employee protections.

Unfortunately you don't get to skip out on the hidden downsides of at will either.
still seems kind of pointless: https://news.ycombinator.com/item?id=33386342

I can’t bring myself to flag it but it’s still just a moronic hit piece. Give us clue why you posted it, maybe seed the discussion?
I saw "The Ashley Book of Knots" mentioned on another post, and it has some interesting history of knots. Especially that the introduction of books led to sailors spending more time not knotting.
One main word: Slower.

These days, if you strike a problem, you can get feedback from thousands of guys on the Web who have been there before you. Back then, you didn't have those guys and you had to gradually work out your own solution to the problem. Sometimes you didn't. And had to abort that project.
What Makes Us Lucid Dream?
WaPo. Probably one of the worst sources for anything relating to Musk.
Running doesn’t wreck your knees. It strengthens them
>Monarchies lasted for millennia, USA isn't nearly as old.

USA is actually doing pretty well at 246 years old. There are certainly monarchies that lived longer, but 246 is above average for regimes. For instance, the current french regime has only been around for 64 years[1]

[1] https://en.wikipedia.org/wiki/French_Fifth_Republic
> Meta should have went all in on wearable and other augmented reality stuff, hook that into people's Facebook etc.

Their new headset does grainy color AR passthrough and lots of the reports on how much they wasted on VR were actually on products like Portal and bringing AR filters onto their snapchat/tik tok clone attempts, they were in the same category on the earnings report without being broken out.
I like protobufs but I was also disappointed at the JS protobuf options. I disliked both the JS object representation and RPC transport.

grpc-web in particular requires an Envoy proxy which seems absurdly heavyweight. I ended up using Twirp because Buf connect wasn't yet released or planned.

I rolled my own JS representation. The major differences from Connect:

- Avoid undefined if the message is not present on the wire and use an empty instance of the object instead. For recursive types, find the minimal set of fields to initialize as undefined instead of empty.

- Transparently promote some protobuf types, like google.protobuf.Timestamp to a proper Instant type (from js-joda or similar library). This makes a surprisingly large difference on reducing the number of jumps from the UI to the API.
Into the Death Zone – Life and Death on Mt. Everest
I would argue for most people who are not exceptional, the important data is the minimum pay, which helps them identify employers to avoid or aspire to move on from.

Also, an increase in the minimum of the pay range can help people who were hired at lower pay rates know when new hires are getting paid more. Businesses love having this arbitrage opportunity, which is why the common advice is to change employers to maintain market rate pay.
Wow. Much needed context.
Remember when he said he would buy Twitter? What a lark!
> and trust the medical providers

$68 Billion in medical fraud in the US

> https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6139931/

Part of the opioid crisis caused by basically bribing doctors

Yes I’m well aware that when drug abuse was happening in the “inner cities” where the government looked the other way because it was more concerned with propping up countries during the Cold War, the same people who want to treat drug addiction like a “disease” when it’s happening in “rural America”, it blamed “single mothers” and “lack of morals”.
KDE dev here. From a developer perspective, something I really love with Plasma (the 'new' branding for KDE) is that it's really modular by design. Everything on the screen is pluggable with a very simple api and can theoricaly be be swapped out or experimented with. This includes the widgets but also the visual effects. For example, Marco (a prominent Plasma hacker) just worked on a new basic tilling extension and with a public api that allows other to build more advanced tilling scripts: https://notmart.org/blog/2022/10/kwin-and-tiling/

From an user point of view, I often try to not change too much default settings, but there are some really nice feature I enjoy. kde connect is particularly nice for the media player integration with my phone). Yakuake is a nice dropdown terminal. The wayland port is really smooth, there is a lot of features everywhere and I often make use of a big percentage.

Oblivious if you are fine with GNOME, this is also fine. We have some different vision on how a open source desktop should look and behave but we do share a dream to someday be a good replacement for Windows for a large part of the population (not nerds).
Pre-Push
Rodriguez Wells at the South Pole
He was probably lying.
the communication skills here are good IMHO -- essay-style writing with digestable parts, a decent graphic, basic page layout. I don't disagree with the content -- exactly.. from practical experience I believe that this is an oversimplification, but a useful one. The practical tips to Watch Out For are worth the time to read this.
Nothing is set on stone and to accommodate changing times and values there should be a reasonable pathway to change.
Rumor is Intel made an offer and were laughed out of the room.
>Next you're gonna tell me that Wayland will be usable in the next decade.

It's already usable today, so I don't see why you'd need to wait for a decade.
We also get complaints about those stories not being covered enough. The HN front page is suboptimal for nearly every individual user no matter what we do.

(This is not a criticism of the OP, nor a complaint - I just think it's interesting.)
> causality is so much harder to prove [...] The whole point of having measurable metrics and models is that they allow the use of the scientific method in policy making

A happiness index is hard to measure, agreed... but that's also not how GDP is used.

Policy-makers will say "our research shows lowering taxes will do X and increase GDP", or "our research shows raising taxes will do Y and increase GDP". That happens now. I don't think we usually actually manage to tie an actual law or policy, as implemented, back to a change in GDP pretty much ever. It's not really the scientific method.

What GDP gives us is a way to frame policy.

If our number were "National Happiness", policies would be framed in terms of that. "Increasing taxes lets us make this work better, and increases happiness" and "Decreasing taxes gives people more money, which increases happiness". The same policies, but framed differently, and with different arguments as a result.

That framing seems better to me, and how measurable and "scientific" it is seems like it would barely change.
> Things that really matter (banks, etc.) have well-established next-of-kin processes.

I would say that the exception might be for local/non-cloud things - for instance your phone, laptop, NAS, etc.

If you are the controller/admin of data that might be good for others to have (family photos/videos/etc) - then setting up some process for handing passwords over for that to Next of Kin would be good.

As for services, utilities, etc - having literally just been through this in the past few weeks, it's incredibly frustrating that so many businesses don't have well established and functional processes for dealing with accounts owned by the deceased.

The executor reached out to the services that needed to be terminated with sale of the house, and without fail they all screwed up in some dumb way. Most of them keep insisting on only being able to talk to the deceased person, even when you're the executor of the estate. (And they don't understand that, either).

We ended up having to send registered tracked letters to their formal mailing addresses for several because of how insistent they were on sticking to their "only the account holder can make changes" script. Despite them having copies of the death certificate, extracts from the will, etc.
QR codes mean there are no menus to clean off.
I don't know how this is measured:

Could the effect be caused by the US onshoring industries that have lower productivity?
The only people interested in Musk's disingenuous theory of "open" are the right wing industrial-scale disinformation peddlers and those enabled by them.

QElon's amplification of deranged right wing conspiracy theory wasn't mere trolling or stupidity; it was a declaration of intent.

Never forget he was partners with Peter Thiel, and the two of them together have minted a fascist-friendly grift into literal kleptocracy pipeline for themselves. You don't have to do more than peel back the sticker to learn Musk hasn't invented any of the companies he's associated with; and his success with them hinges on dishonesty and card tricks.
Not sure I trust this source. He seems to relay rumours based on second hand sources. At least from Blind, it seems like all reports of employees being fired so far is fake. Not even sure the weekend work story is true.
Context is important. He was responding to a dubious claim with a dubious claim.
How to Generate Random Numbers That Average to a Specific Value
At X.com
Connectors are not something that should ever get hot.

> Correct, that's why you can have a system to check if any connector is getting hot.

> Throwing thermistors all over a GPU to prevent it from catching on fire, is like putting bandaids in a box of cheerios so when the razor blades cut you, you can stop the bleeding. Cheerios should instead never have razors in them.

No, it's more like having a smoke detector in a house. Sure, household equipment shouldn't suddenly catch fire, but sometimes they do.
Thought this was a neat trick. Doesn't require any complicated math functions.
If you're using a compositor you're paying the cost. The rounded corners are antialiased, so blending happens regardless.
GP didn't use the word conspiring, I did. But to answer your question, conspiracy is an expression of intent. It can be merely speech but usually involves some action to back up the speech. Because, again, conspiracy is a question of establishing intent.

For example, three people discussing plans for a bank robbery are conspiring. Likewise, the same three people sharing only a knowing glance before splitting up and regrouping with masks, guns, a car and a map with the local bank circled have also conspired to rob a bank. One group only spoke and the other didn't speak, yet both conspired.
Have you written up why it didn't work out? Was it mostly the async-is-a-complexity-multiplier stuff you described in https://raphlinus.github.io/xi/2020/06/27/xi-retrospective.h...? Your mention of "modern UI" makes me think there's more to the story.
Very well articulated. Thanks for sharing.