skysight-inc/HackerNews huggingface dataset:
I try to make sure I have the best equipment. (So a comfy ergonomic keyboard, and a good mouse.) When my hands started hurting with one mouse, I switched to a different one. (Basically, just using a different set of muscles for mouse clicks.)

But maybe that's the most important thing: paying attention to your body, and if it hurts, stop, and try to figure out what you're doing. (90% of the time it's a posture thing -- so I can solve it by not sitting in that particular posture.)

If you don't sleep well, you can end up slumping in a bad position which leads to arm pain. So: sleep well. Make sure you eat enough and have enough muscles built up to sustain a healthy posture. Things like that.
I don't see a lot of options how you should optimize that, besides using allocation free code. .NET (Core) did a lot of work into this direction for Kestrel HTTP server already (Span, ref structs). It's still a managed platform with a garbage collector, but I don't think games have such low-latency requirements, that can't be handled with the standard garbage collector. A few milliseconds are usually fine for games, even with 120Hz the time between two frames is still 8ms. And garbage collection can be suspended during critical phases.
I welcome authors who lay out their assumptions and definitions before they construct their argument. We see exactly the same in mathematics and we're obligated to generalize the same standard and flexibility to other sciences.

I can't count the number of times I've read a math paper which says to the effect, "If the axiom of choice is true then such and such follows." In some ways math has even greater liberty in terms of conjectures - statements assumed true until proven.

All I'm asking is for logical consistency where math and other sciences are held to the same standards regardless of what they are.
Be cautious about articles like this. The article does say that "trolling" describes a particularly wide range of behaviors, but then analyzes it only through a particularly negative and extreme worldview. I don't know if this author's definition of trolling is really the same as everybody else's.

In my opinion though, in countries without freedom of speech protections, politicians have been increasingly trying to use edicts against "harassment" or "cyberbullying" or "online trolling" to label many kinds of criticisms of them as illegal and to try and get social media networks or the law to shut them down.

Certainly, we should all acknowledge that trying to cyberbully some girl that was flirting with your boyfriend into suicide is an entirely different class of behavior than even the harshest repeated non-violent criticism of politicians. Does anybody disagree with that?
The lands were claimed for the Crown years earlier in the first grant to the Virginia Company, which gave them lands ranging 100 miles inland from the coast and from the 34th to 45th parallels. (http://www.let.rug.nl/usa/documents/1600-1650/the-first-virg...) It's why they made the Popham Colony. The first wave of Puritans to migrate weren't even living in England at the time, they had already moved to the Netherlands.
The PortableApps.com Platform's menu is written in Delphi. I'm the only one actively working on it at present. I've been debating transitioning it to Lazarus but have not had the time to test that out in a while.
As others have pointed out, if this is a blog post for a mathematical audience that understands basic concepts in complexity theory, why bother explaining "Big-O notation is a standard instrument for describing performance of algorithms, as it erases small differences which depend on a particular implementation of the algorithm."

Feels like the audience that this post is directed to is essentially "an earlier version of the author", which, to be fair, is a common mistake. I anticipate the average HN reader should be able to understand this blog post - I know what the boolean satisfiability problem is but have never seen it abbreviated as just "SAT".

Don't mean to be overly harsh toward the author, but a first step in good writing is to define who your audience is.
There are satellites that use this (highly elliptical orbits) to spend most of their time (near perihelion) over a target area.

One useful tool for thinking about orbits is that the swept area per time is constant so the farther out in orbit you are the lower the proportional angular velocity.
Covid-19 pandemic likely came from lab leak in China, says US energy department
The ultimate list of AI tools for creators
The research out of this lab didn't help develop the vaccine, so what were they doing in the first place? Weapons research, it's as simple as that. As soon as the virus started circulating through the public, that was their chance to shine! They could have released everything they knew and jump-started vaccine development.. but they didn't. They covered it up, because fighting bugs was never their interest in the first place.

Why should anybody believe otherwise? Principle of charity? Please.
> Is that why history and pop culture are filled with the heroism and benevolence of whites

Yes? It seems you're sarcastically referring to very recent history in which some people are like, you know, the actual legit dominance of white narrative in history and pop-culture could maybe be dialed back a bit and we could do a better job of representing the stories of all the people who are part of our shared experience instead of just the white ones?

Slavery and Indigenous American genocide only very recently happened, and there remains a lot of residual inequity, including modern-day slavery in the prison marketplace. The people you're complaining about are also in the country where those things happened, so obviously they'll be more prominently discussed in history than the Saharan slave trade. There's also a lot of discussion about banning teaching of these topics, so it needs to be discussed and defended; as far as I know, Florida isn't banning teaching the Saharan slave trade.
TTY is teletypewriter.
Looking at his website it seems like the attacker was a mental break looking for a place to happen. His entire about me was the embodiment of the "I am an atheist" meme.

Feel bad for the victim, couldn't imagine just going about my day and then getting stabbed out of nowhere.
The first thing I see is a big ad for a newsletter...

At least try to charm me with some good stuff and then ask for my mail...
Yeah, any history before git is lost aside from what you might find on archive.org.

And I started writing it ages ago, then shelved in it a half-done state. And then it got that probably well-deserved review.

But its former self is barely recognizable since it has been heavily rewritten and expanded over the past 3 years, so I hope the iso-9899.info folks give me a regrade at some point in the future.
it's an arm executable, so I've been wondering if it can be lifted over to run on Apple Silicon.
I know what you mean. The words do have (more or less) historically clear meanings.* If we clarify what we mean, we can still use them. It makes it harder, which I think is largely your point.

* Subsequent changes in meaning, as used by some people, can tell us a lot about those people.
Your mind's gonna get blown when you learn about Wittgenstein's language games and family resemblance.
Not disagreeing with you overall, but I just wanted to add a bit of nuance to things you've mentioned.

> Anecdotally, there are people who smoke weed every day and still sleep well at night.

First, as far as I know, smoking weed would only affect your sleep if you consumed it a couple of hours or so before sleep (exact numbers vary per person, but you get the idea). If someone consumed some weed during lunch, I would expect theit nighttime sleep to be pretty much unaffected.

Second, what do you mean by "sleep well"? They might fall asleep faster and stay asleep throughout the night. But how good was their sleep quality in reality? We are talking in terms of measuring REM cycle length and such.

From anecdotal experience, I also thought that my sleep shortly after consuming was "good", as I would fall asleep easier. However, I can confirm that it wasn't high quality sleep at all for me, my REM cycle was very short, and I definitely noticed extra groginess after waking up (along with the rest of the things mentioned in sibling comments, like lack of dreams and such). Doing some more A/B testing on my sleep in regards to consumption of weed pretty much made it clear that it makes my sleep quality worse, but makes it easier to fall asleep.
You're asserting that there exists a set of "non-safety related political [building] requirements" which are significant enough to substantiate your conclusions. This is in no way self-evident.
Britain’s biggest skills problem is that many firms don’t value them
Emacs’ main purpose to me is running Magit.
Or even oksofar = oksofar && do_something() to do away with the cumbersome ifs.
This feels like the guide for youngins that haven't experienced internet chat of any form for the past 30 years before this bit of enlightening investigative journalism. People enjoy each other's misery, duh, just look at reality television. Even sitting at a restaurant for dinner last night, others and I were watching on a wall ChiveTV, which is a constant loop of human failures in people crashing, biffing, wrecking, in general epically screwing up, and one can't help but laugh and be memorized by it just waiting for some poor sucker to fail miserably for my entertainment. Trolling comes from precipitating purposefully the same sort of trainwreck of human behavior for one's entertainment, particularly when good at it. Some otherwise call this politics.
From the article:

The Energy Department, which oversees a network of U.S. national laboratories, made its judgment with “low confidence,” the Wall Street Journal reported... Four other agencies and the National Intelligence Council assess with “low confidence” the pandemic was likely caused by natural transmission from an infected animal.

The other thing that gets me is the Energy Department said this back in 2021. There's since been a bunch of additional research done -- swabs in the market, cases traced back to points of origin -- that at least make the "market origin" more convincing than it was in 2021.
yes, for `scope(exit)`. Here's the assembler generated:

push RBP
mov RBP,RSP
sub RSP,020h
mov -020h[RBP],RBX
mov -018h[RBP],R12
mov -010h[RBP],R13
mov -8[RBP],EDI
mov EBX,-8[RBP]
mov EDI,EBX
call _D5test312do_somethingFiZi@PC32
test EAX,EAX
jne L2F
xor R13D,R13D
mov EBX,1
jmp short L79
L2F: mov EDI,EBX
call _D5test310init_stuffFiZi@PC32
test EAX,EAX
jne L4A
xor R13D,R13D
mov R12D,4
mov EBX,4
jmp short L68
L4A: mov -8[RBP],EBX
mov EDI,-8[RBP]
call _D5test312do_the_thingFiZPi@PC32
mov R13,RAX
mov R12D,7
mov EBX,7
call _D5test38cleanup3FZv@PC32
L68: call _D5test38cleanup2FZv@PC32
cmp R12D,4
je L79
cmp R12D,7
jne L8B
L79: call _D5test38cleanup1FZv@PC32
cmp EBX,1
je L8B
cmp EBX,4
je L8B
cmp EBX,7
L8B: mov RAX,R13
mov RBX,-020h[RBP]
mov R12,-018h[RBP]
mov R13,-010h[RBP]
mov RSP,RBP
pop RBP
ret
Assuming you are running a Linux distribution, you could install Debian or Ubuntu in its own folder using debootstrap:

https://help.ubuntu.com/community/DebootstrapChroot
> The textual file header wraps the file key for one or more recipients, so that it can be unwrapped by one of the corresponding identities

Isn't that what LUKS does as well? What's the novelty in this one?
My guess is, assuming to genetic predisposition, colorectal cancer is far more tied to diet than plastic (which is likely non-region specific). Things like complex fiber, the right micro biome, etc.
You can tell the difference by looking to see if any of their research helped in developing the vaccine (it did not.)
ChatGPT can help you
Sorry but this is incorrect! Mercury does not have one side that always faces the sun.
Making Holocaust video games isn't exactly non-extremist.
> “The joint inquiry will concentrate on TikTok’s privacy policies in relation to younger users, including whether the business acquired legitimate and meaningful consent from these users for the gathering, use, and disclosure of their personal information.”

How many people, let alone kids, read the privacy policy before clicking "I Agree"?

This is nothing more than political grandstanding IMO and I hate it. I also think it's a prelude to some kind of verified identity system and that's why the big tech companies are pushing their passwordless schemes.

My biggest concern is that eventually everything will require a verified identity from one of the big tech companies and Microsoft/Google/Apple/Facebook will become the gatekeepers of everything. I wouldn't be surprised if we hit 2030 and it's considered normal to get your kid a digital ID when they're born.

Instead of pushing things towards centralized ID schemes to "protect the children," we need an outright ban on tracking, profiling, etc.. We're going to end up in a world where big tech tracks every move you make and feeds that data into crappy, over-promised "AI" systems so they can sell that data to all of the institutions that we rely on.

How great is it going to be if your kid gets profiled by AI and flagged as having a predisposition to criminal activity?
Yeah, this seems like the correct term for what the paper is describing. Or heck, just 'bully' in general, since that's what it'd be referred to if offline.

As much as the meaning seems to have drifted, trolling and bullying are two different issues, not different names for the same one.
> The nested functions usually get inlined by the compiler, so there is no cost to them.

This kind of code typically gets written when ‘usually’ isn’t good enough (of course, once you use a compiler, in theory, there are no guarantees; the compiler could compile the inlined-function one with a goto or vice versa, but programmers typically are more concerned about what happens in practice)

The inlined functions also may increase code size and instruction cache pressure.

On the other hand, having a branch less may be beneficial.
This is absurd. Society can't function if knowing things about suspects is off limits. What are we children?

There's laws against crime of the sort you imply. We know the guy did something and that he exists. If people can't handle learning details about someone's background without doing something illegal, those people deserve to be behind bars too...not dictating information censorship for the rest of us.
I don't think game devs on average want to be closer to hardware. Game engine devs, sure; but the average game dev would like to use a higher level language that interfaces to the c/c++ stuff that game engine devs are pushing out.
Americans' insistence on living to their last possible machine-assisted breath makes healthcare very, very expensive. Something like a third to half of the healthcare costs of an individual are incurred in their last year. Americans are terrified of dying.

This is why I have a hard time taking cost comparisons seriously between the US and Europe - European healthcare systems will pull the plug a lot earlier, saving the money (and the indignity) involved in dying as slowly as possible.

Ironically, doctors in the US have some of the lowest end-of-life care costs, because they know their actual chances and don't seem to be so afraid of dying.
LLM Powered Assistants for Complex Interfaces
> Any less is censorship of the teacher, which, in my mind, is an unqualified evil.

I'm not sure if I agree. I understand the intent is that individuals should in turn be able reject those teachings in their context, but that feels disconnected from the reality of our society. Ultimately I think it comes down to whether you think policies should be made based on intent or outcomes. If, for example, WhatsApp knows that individuals "teaching" about the dangers posed by an ethnic minority, and that those teachings would result in genocide regardless of how much helper text / warning flags you place around the content, I think it would be a moral imperative for them to remove that content.

Of course, who gets to make that decision and how you measure outcomes (what is worse, and for whom?) is a whole can of worms, so I definitely have reservations, but ultimately I believe that a) some limits are necessary, b) there can be genuine disagreement on where that line should be drawn and c) there is no such thing as an unqualified evil or good.
Empirically, there is a high propensity of Anne Frank simulator fans to also stab their coworkers, which is usually discouraged.

I mean… I can see HN arguing how it’s a great free speech endeavor to turn a Holocaust victim into a „fun“ adventure game, and how doing so says absolutely nothing about the creator.

But here we have pretty good evidence that it DOES say something about the creator.
at $200,000 all in this is 25 people. It would take a lot more than 25 people to support these operations internally/build things in house
I agree. The Guide doesn't give many real-world examples (there are zillions of those already out in the real world). It's about how to swing a hammer and turn a screwdriver, not how to build a house.

That said, I try to make K&R-idiomatic examples when I can. They're just small-scale.
_o/ hi all, age author here!

The OP link is the spec, here's a few other things you might find interesting

- the Go reference implementation https://age-encryption.org

- the Go library docs https://pkg.go.dev/filippo.io/age

- the CLI man page https://filippo.io/age/age.1

- the large reusable test suite (which I should write about!) https://c2sp.org/CCTV/age

- an interoperable Rust implementation by @str4d https://github.com/str4d/rage

- a YubiKey plugin by @str4d https://github.com/str4d/age-plugin-yubikey

- the draft plugin protocol specification (which we should really merge) https://github.com/C2SP/C2SP/pull/5/files?short_path=07bf8cc...

- a Windows GUI by @spieglt https://github.com/spieglt/winage

- a discussion of the authentication properties of age https://words.filippo.io/dispatches/age-authentication/

- a discussion of a potential post-quantum plugin https://words.filippo.io/dispatches/post-quantum-age/

- a password-store fork that uses age instead of gpg https://github.com/FiloSottile/passage (see also: how I use it with a YubiKey https://words.filippo.io/dispatches/passage/)

(Yes I should make a website to collate all this.) Happy to answer any questions!
Also using Access as a front end on top of MSSQL server.
native frontend (Rust/druid), LSP support, tree sitter syntax highlighting, command pallette, vim key bindings, modal editing, plugins in any language with WASI target, remote development, community led, open source plugin registry, it checks a lot if boxes. https://lapce.dev
To my understanding, Yandex is nowadays based in the Netherlands.
Trump was a stopped clock on this. I don't think that's paren't point. The point, to me, is that the entire establishment treated the lab leak hypothesis as misinformation for no better reason than that Trump had endorsed it. That is, on no better evidence. And then aggressively censored it.
Personally, having an ergonomic workspace works the best for me. I used to get pain in my neck, shoulders, wrists, and even the joints in my hands. Everyone is different. Here is what I recommend and do myself.

* Get a good chair. I bought a secondhand Herman Miller Mirra chair from an office furniture liquidator.

* Buy a sit/stand desk. I have one and while I rarely use it in the standing configuration, the easy control over the hight of my desk is very useful.

* Go tenkeyless. Full-size keyboards require you to move your arm to reach the mouse and put force you to work in awkward positions. For me, getting a Kinesis Advantage2 LF keyboard was the most important improvement I made. I can never go back to any other kind of keyboard now. I also bought an external tenkey pad that keep on the left side of my keyboard to minimize arm movement.

* Use a trackpad instead of a mouse. This might not apply to everyone, but I tend to grip a mouse too firmly and it causes pain in my fingers and wrist. I tried a Logitec trackman, which is an improvement, but I get pain in my thumb. What works best for me is an Apple Magic trackpad.

* Do you work on on monitor and have it sitting directly in front of you. Make sure it is adjustable. Extra monitors mean you have to turn your head to use them. I use my laptop display as an extra monitor and only put things that I check infrequently and need to interact with little on that display while working.

* This one might be unpopular, but learn the VIM keybindings and use them in your IDE. This will reduce how often you need to use the mouse once you get the hang of it.

Last but not least, work from home. Every employer I have had, big and small, had sorry excuses for ergonomic office equipment. Getting something better always seems to involve some kind of political drama. I'm much happier with my personal equipment that suits my needs.
I assumed we're talking about external or third-party recruiters, who get paid a commission based on starting salary. Larger companies have their own internal recruiters on salary, and may also use external recruiters.

You're right that recruiters range from clueless to very valuable to have in your corner. When you find a competent recruiter with industry connections keep that relationship -- take the recruiter to lunch now and then. It's a low bar to entry career (like programming) so of course you get a lot of bad recruiters just throwing people at jobs and hoping for the best.

Some hiring managers go through a lot of candidates trying to pick the best one. Others (I will guess most) will hire the first candidate they like, so you may not get the interview because a good-enough candidate got there before you. Interviewing is tedious for hiring managers, as you mention -- I have never met anyone who really likes spending time conducting interviews.

You should ask the recruiter how many jobs the employer is trying to fill, so they can propose you for multiple openings or similar openings. Recruiters work from job orders they get from employers, but they also usually have access to other open job orders at the same employer.
I'm completely uninformed about lua, but why isn't it being used more to build games then? I know it's a popular scripting language for games, but are there any engines that mainly use lua (in the same way Unity uses C#)?
It's very clear he's looking for engagement. He submitted last back in December, too. The podcast has only been around a few months. Like dude, give it a rest. Allow stuff to build organically, too; word of mouth.
This is basically my career. I had a stable gig for my first handful+ of years after college and never much encountered the leetcode grind people talk about until recently. A lot of the O(X) stuff is self apparent when you're writing practical code: lotsa slow loops within loops == bad and should be avoided where possible.

When I started doing job interviews it was a little bewildering how much some companies focused on this. I ended up taking a job whose interviews focused on more practical skills and also stressed a good culture fit and understanding of development practices. It feels like a place I'll be happier.

I think you're right about the JIT aspect to this sort of thing--that's really what being an engineer is about in my experience. When you encounter a problem, figure out how to do it better. If my filter/sort/whatever is too slow for a specific application, I'll do some research and implement something more appropriate.
I interpret cyberbullying as more targeted harassment, where you single out someone specifically, likely someone known by the harasser, whereas trolling would be more untargeted harassment involving strangers.

It's like trolling for fish is just trying to catch some fish but not any specific fish a la Moby-Dick (which admittedly is not a fish but rather a mammal, of course).
Doesn't model air pressure, so no siphon :(
“hard” is not a word invented by the Optimization community. Lots of difficult topics get posted here that have nothing to do with NP completeness.