skysight-inc/HackerNews huggingface dataset:
Who is "we" who are afraid to educate our kids on this stuff? Adults are former children, raised by parents who are also former children. Basically there's no reason for you to focus your sight like a laser pointer on the parents, because it's all a big system in a closed loop, and picking out superficial criteria like age and parenthood as sole indicators about who the blame should go to is primitive. Sex is easy, and therefore making children is easy. And thank God because if it was hard we wouldn't exist in the first place.

Piling on responsibility on parents for the world they grew up in and are raising their children is one step away from saying "if you can't be a good parent, don't have children" which is one step away from "just don't have children" and that's why "developed" societies are in a deepening demographic collapse.

Also living in a global world is not just about your trinkets being made in China. Internet is a global network and it connects us globally. This "parents have most influence on a child" thing was I'd say valid maybe a century ago. But now parents are much more busy working, and children are engaging much more with society and the world at large, at much earlier age. This is not a choice a family makes. It's imposed top-down from society and its rulers, because the alternative is to not survive. And therefore it's society's responsibility as a whole to get things as straight as possible, before we can attack parents.

Again. Those parents are just products of their own parents and so on. And humans in general have absolutely no clue how this works. We go by vibes and superstition and events like the World Wars, depressions, recessions, cultural revolutions have completely disrupted and wiped out centuries of knowledge on what it means to raise a child, and everyone has to keep rediscovering this for themselves, which means they look out and copy what society gives them. We have no other way to operate. We copy, transform and emit.

But our ability as individuals to transform is limited. This is why you yourself are speaking the languages you speak, have the beliefs you do, you're just an amalgamation of things you saw and heard, and adopted them as your own. Including the belief we should blame the parents. That came from the society you live in. The irony.
From what I understand, how it works in Win32 is that it is throttled based on how fast the app is reading the event loop. That is, if you get 3 or 4 mouse events while processing another mouse event, they will be "coalesced" as much as possible. And at least for the newer WM_POINTER APIs, it's possible for an app that cares enough, e.g. a digital painting app, to query for the events that have been coalesced, too. This seems OK to me and seems to cover the bases well enough.

I don't think any compositor does this, but at least in theory it seems like you could do this using Wayland too, by just silently coalescing events when the client is behind on reading them. There's already a frame ID for input events, so in theory adding a protocol to go back and grab coalesced events using the frame ID seems like something you could do. I wouldn't be surprised if there's already some kind of solution like this somewhere, but at least it doesn't seem too hard to do if not.

The one thing I will say is that Windows also had the concept of events having priority in addition.
> just want you to either do what I asked you to do or fail gracefully

And most of the time, this is EXACTLY what happens. In fact most libraries that do use panics, recover them internally and return errors to the callers.

Again: panics are not errors, panics are not exceptions. A library should never panic in a way that it's caller notices, UNLESS it met a condition that simply is not recoverable, not by the library itself, and not by it's caller.

Yes, this requires care by the libraries authors not to overuse panics. Yes, there are libraries that do overuse them. No, this doesn't change anything about what I wrote. If a library I use would do that, I would either fix the library, or find a better one.

> Uh, no. If a piece of the road is missing

Okay, let me try again with a better analogy:

If a cars engine breaks down, the car will stop. It doesn't matter if the driver wants the car to go for another 100 kilometers. It stops. Period. Not because anyone or anything "wants" the car to stop, but because its engine "package" met a condition, under which the further running of whatever context it is used in (in this case, the car), is no longer feasible and/or possible.

That is exactly what panicking in a way that hits the runtime communicates: Oh noes, the engine just broke down, and now the machine can no longer run.
I agree with Piketty that inequality is a political choice.

Keep in mind pre-communist China rulers often would flip the “capitalism” switch and redistribute wealth whenever they felt inequality was too high.

See: https://en.m.wikipedia.org/wiki/The_Story_of_Civilization

BUT…

Piketty is only one opinion ANd he also very much believes there’s wealth and income inequality.

Additionally many economist disagree with his point of view.

https://www.chicagobooth.edu/review/how-piketty-is-wrong-and...
FB Purity is a dedicated extension for that: https://www.fbpurity.com/
Self-managing teams: less about control, more about trust
Same issue here, very annoying to try and view the page when it’s jerking up and down randomly. iOS safari.
You still need to own the original game to play it. To keep the rights holder happy we check if you have a DK version installed or on CD.

The big change is that the game does not use the functions from the original game to run anymore. All previous versions used a dll made from the original game as a crutch, so players would have the full experience on a partly made remake. This made the game fully playable from day 1, but it also meant we were limited in a big way in what kind of changes we could make.
For example if Dungeon Keeper believed there were only 32 types of creatures, KeeperFX could not push anything related to a 33th creature type to the original DLL which meant we just had 32 creature types too. Now the number of creatures types comes from a user editable config file.

tldr: KeeperFX is there to make DK better, it does not make free.
I understand where you're coming from, but it's just not tenable.

First of all, a lot of these creative works are ultimately unfinished. Are you really supposed to release the superhero movie without half the CGI, with some of the scenes in front of green screens? Without a soundtrack? What's the point?

And secondly, even when they are finished, what about when they're just bad? If something simply doesn't work creatively, despite everyone's best efforts, why force them to expose their failure to the world? There are well-known cases where directors and screenwriters have demanded that their names be taken off a finished movie because they don't want to be associated with the final product, because they think it's just bad.

The idea that bad work is forced to be released, if you want to count the effort on them as business expenses, seems like it would be a net negative for artists. Isn't part of artistic control deciding what you do and don't want the world to see?
B12 deficiency doesn't permanently destroy it either. It's just the body cannot produce myelin, and if that happens for a long enough period of time, the nervous system is exposed to damage that is permanent, even after the body can regenerate the myelin
This. I'm giving feedback, it's because I care about the person and this community. It could be considered mean by some but I genuinely do my best to deliver it in good faith. I also understand that "my best" could be not good enough though!
"Programming: Principles and Practice Using C++" by Bjarne Stroustrup, the creator of C++.

I learned programming first time from this book and I think I'm so lucky that I've done it. The book is about philosophy and the mindset of programming more than introducing some tools or techniques, so we can consider it as "timeless".
See also:

A correlation observed between chocolate consumption and the number of Nobel laureates has recently led to the suggestion that consuming more chocolate would increase the number of laureates. . . .

https://pubmed.ncbi.nlm.nih.gov/23616517/
Done! We added the ability to use it as a fixture. Documented here: https://github.com/zerostep-ai/zerostep#playwright-fixture
It's just the more businessy sites that are fucked like this. The first page of google and such.

There's still a vast ecosystem of casual sites that are quite nice.

You just gotta avoid the hell-gaze of Mammon.
Reading about Von Neuman is pretty crazy and shows how wide the gap is between people who are only highly intelligent and geniuses like he that made contributions to so many fields.
Rest assured 6-digit salaries are quite common in areas like Munich, and if you work for US companies like Google or Microsoft they can be double or triple that, or even more, through stocks. The sad truth as well is that there are not enough successful and large tech companies in Germany that you would see those there as well.
Generally agreed, but there does seem to be a small population of drivers behind the wheel of 1980s-ish-era Japanese cars that drive very aggressively. I suspect they watched too much Initial D.
Not really. A big change on this release was 'fully rewritten', so I put that there to stop people asking if they would still need to buy it. Because yes, you do need to still buy DK1.
https://www.bloomberg.com/company/press/bloomberggpt-50-bill... lol

You are picking out a specific use-case as an invalidation of a wide idea and concept. “This is thos _one thing_ an LLM cannot do for us so all of it is useless.
Facelens AI – high quality face swaps
'Expert C Programming: Deep C Secrets' by Peter van der Linden
They cite that the data in the study was from 2011-2015. Cars have changed significantly in that time so it is worth remembering that the common stability and traction control, and safety systems on cars sold today are significantly improved from those when this study was performed.

A performance automobile or sports car can certainly perform at levels that raise risks. That said I would rather be in an automobile that spends most of its time operating far below its capacity with sufficient performance reserve to handle emergency situations despite being significantly handicapped by a less than perfect human driver.
People's internal monologue is actually caused by a virus, it's not actually them.

If you meditate you can remove it entirely.

It's easy to see for yourself as well, just pay attention to where your words are coming from, and suppress your inner voice.
IT people are terrible communicators if they have to speak to someone outside their domain. I’ve seen plenty of miscommunications because people don’t try to grasp whether the other person gets what they’re saying. You can have network, storage, os, and developers talking and using the same words and not conveying anything useful to each other because the words mean something specific to each party, but not the same thing. I don’t know if they’re to deep in their own bubble or if it’s just arrogance and they do not want anyone knowing what they’re doing.
There you go proving that it’s not just that many Linux users have a bad design sensibility, but worse, they will defend bad design as good design.

Not only do you defend it, even your defense proves that Comic Sans is a bad design, because matching the needs of what it’s used for (in this case a business setting, where fun fonts are not allowed) is one of the highest factors in good design.

And you display another behavior which is common among Linux users that the parent hasn’t mentioned. Finally resorting to complaining that the Users are wrong.

Here’s the usual 3 step that prevents a lot of progress in the Linux world.

1. Have bad design ideas.
2. Defend those bad design ideas.
3. Insist users and the people who want better design are wrong.
So true.

I only have 4 years of "experience" but I realised early on I should never use the D-word no matter whatever the situation. It's the only thing that has kept my marriage.

Now we are on a better path and more understanding of each other.
The Social/Communications Map (2013)
I don’t know about any actual data, but out on the road, in the wild, my wife and I comment on “BMW” drivers for their driving styles.

We comment on the pony cars for their loud exhausts, but for lane changes, darting through traffic, blowing stop signs, “Yup, it’s a BMW”.

And it’s funny because we have a cat (a couple actually), and cats are notorious for getting under feet.

We were walking to the bedroom, with one of our cats, and things were getting crowded in the corner when our orange cat raced up. You could see him stop, paw at the other cat to move aside, dove into the gap to rush in front of us at which point he came to a dead stop.

Both my wife and I watched the whole thing. I turned to her, pointed at the cat, and said “look, a BMW driver”.
> the vast majority of Linux users are blind to aesthetics and design

Yes, my god is KDE ugly, but just because they don't prioritize aesthetics doesn't mean they don't know better.

Linux users (and developers) prioritize functionality above all else. Meanwhile the entire discipline of visual design is just not very consistent. There are far too many subjective little rules and exceptions to maintain and they change all the time. Who cares?

Deliberate oversimplification of how things are displayed from the perspective of the implementer rather than the designer is its own aesthetic. It's the choice of reason and a rejection of the imperfections of human perception. It's rebellious and edgy. It's not a mere rationalization of laziness or ignorance, but a middle finger to business types and their marketing henchmen with their annoying design guidelines and requirements that just get in the way of the actual product. KDE was not made by people getting paid to smile and nod while staying quiet in their cubicles (at least not during the hours they worked on it). Very rock and roll. I'm all for it.
Time's too valuable to make that worthwhile, especially when a large amount of them boil down to: Wayland is not X and tools designed for interfacing with X-specific details will not work on Wayland without modification.
> I felt like using Amazon Web Services for the first time in 2006!

Literally I say that manufacturing is like using AWS in 2006…
I’m not impressed by this design choice.

When order of declaration matters, it ceases to be declarative. “Let there be a function” is instead “make me a function”.

It’s entirely unnecessary, and even JavaScript can let you run a function that gets declared later.

The advantage when order does not matter inside the module is that you can list big things at the top of the file and the smaller things it’s made of below, rather than opposite.

The advantage when order does not matter outside the module system is that you can have mutually recursive modules.
Not Irish or a lawyer but I would expect their DPP to have very similar powers to their English friends allowing takeover of private prosecutions.
With the caveat that Irish private prosecutions are a much less well-trodden path.

Edit- not that it matters here, since it’s a regular criminal complaint to the garda and not a private prosecutions at all.
i would say cleancode is a counter example as most devs that read and like it just go through a phase of being unbearable and confused before figuring out their error and giving up. my absolute mind changer book was joe Armstrong's programming for a concurrent world, even without wanting to go into beam development this will change the perspective of devs in a profound and fruitful way.
I'm usually seeing 50ms rtt from Hamburg, Germany to Denver, CO, a few more to my 'cabin in the woods' near there, and vice versa. Via fiber. It depends on the technology and peerings the involved ISPs use, and how overbooked they are, or not.

I'm not seeing how starlink will change that in a big way. Except where there is no fiber at all, or no choice of good ISPs. And as backup. That's convenient, of course.
60% of people would run over a homeless guy instead of a pair of animals
I created a bunch of dilemmas on trolleyproblem.io, several thousand people have tried them over the past few months, and I was quite surprised by some of the results, it turned out that 60% of people would kill a homeless guy instead of a dog with a cat. What would you choose?
K&R C has to be my pick. I love it because it not only teaches you C and how to implement some of the standard functions but also there's enough pearls of wisdom in there to really help you improve as a programmer.
I wrote a tool to do that about 12 years ago. You still need to modify it a bit but you get a big bang for your buck

https://github.com/kristopolous/_inject

You can basically wander around any function context at any arbitrary time and see what happened. It exploits the reference counter to keep the contexts from being destroyed. It was really great back when I did a lot of client side js

The killer app version of this would be to open a repl at any context. As it stands it requires a good bit of competency to do it well.
You are dumbfoundingly incorrect. Tesla is just so much ahead everyone else it is a bit ridiculous. I wouldn't wonder if many have already given up and are just waiting for Tesla to front the R&D then willing to license their tech. No one else has even close to Teslas NN chips, Dojo, custom simulators, the FLEET, willing free QA people, endless data sources as all cars have the hardware ... You also have no idea how time works throwing around something like 20 years. In AI age that just leads me to believe you are at least 10 years late in your thinking. 20 year guess for software is something no one can make.

You do not even understand what field Tesla operates in if you're comparing it to Waymo. Waymo operates on HD maps and remote human operators who can take over every 5 minutes if needed. Those cars are not real "cars", you can't own them, they can't drive outside the city. They compete with electric scooters like Tier, Bolt, Lime, not Tesla. They have zero ability to grow, it's like comparing a hardcoded nature language engine to ChatGPT.

(Also note that the gain in value Tesla has gotten after Autonomy Day hasn't actually even been lost. Long-term investors aren't gonna miss this one)
I've been using Wayland as default since 5.22 came out, and don't really have any desire to go back
A multimodal GPT. After telling it age, gender, ethnicity as well as the location, time and event, it will first look up the correct weather, then, it will use GPT4 Turbo to decide and list an appropriate outfit, then it will switch to Dalle.3 to visualise that outfit for you.
Yes, we delete the image...then we make a copy of the recycle bin....there, deleted as promised...legal tell me we have complied!
Sum types are amazing! Once I got introduced to them in Rust, it was hard to go back to languages like Java where the enum type is pitiful in comparison.
The practical benefit here is not to make DK1 free, but to make DK1 better. It's a Fan eXpansion, and while we needed to be propped up by the original game code there was only so much we could do.

Say, maps where limited to 85x85 slabs up until now, but in KeeperFX we allow maps up to 170x170 slabs in size.
No, he said that the App Store provides marketing value.
Tell HN: Thank You, US Veterans
Interesting. So 'chiral' is another word for 'handedness' - your hands are chiral, in that you can't rotate your left hand in such a way that it looks like your right hand (yes I know what the Greek word for 'hand' is).

So I assumed that these would be gold atoms with a chiral molecule around them - the ligand, that is. However, from a quick search it appears that there are these gold nanoparticles that are chiral shapes. In other words, the structure of the particle is chiral, not the molecule itself.

In any case, I doubt you can get them over the counter any time soon, but who knows.

edit: Here is a nice looking review that is free to read : https://www.nature.com/articles/s44222-022-00014-4

Seems like there are a variety of different techniques but Figure 2d in that review shows an image referencing - 'Lee, H.-E. et al. Amino-acid- and peptide-directed synthesis of chiral plasmonic gold nanoparticles. Nature 556, 360–365 (2018)'
Not upgrading a machine affects quality of service. If they don’t trust that that’ll happen until they can feel the problem themselves, what do they have an IT team for?
The Benefits of Walking Backwards
Yes, "usually", but not always. That's why Go has a mechanism to handle a panic with the `recover` function. The issue is more on the inability of handling a panic in a "foreign" goroutine.
I used to spend $100+ on super-chats a month, of which Google made $30+.

But they needed to double-dip, insisting on showing ads or giving them an extra $10.

So I stopped super-chatting on YouTube.
As a matter of business, yes. Few can rely on celebrity for income, and self-important people aren't generally popular to work with.

Not every product ships or is a commercial success, and not every effort makes the final cut. While it's nice when we have external validation for our contributions, that doesn't diminish the quality, aplomb, or professionalism of the work that went into it. Plus, it still goes on your CV, and you get a story to tell.
Right... but what I mean is - a video game a piece of entertainment, whereas a guitar is tool for making pieces of entertainment, so it would surely not be surprising that the latter could provide quantitatively more enjoyment, as it offers more opportunities than a single game? To make the comparison a bit more obvious, what's the difference between playing a level for X hours to beat the boss, vs spending X hours learning how to create video games? It seems fairly obvious to me that if you enjoy the process and/or the result, the latter will deliver more longevity.
Telling people not to engage in risky behaviour isn't discriminatory or bigoted, bud. Do stupid things, win stupid prizes.
>As a side note, it frustrates me that a Subaru is the only way to get a wagon without buying a luxury car

Are you sure? Ford still makes a Focus wagon, and VW makes a Jetta wagon. Those are just off the top of my head.
> Cars have changed significantly in that time

Too bad the drivers haven’t. I get the point that the cars are safer for risky driving but risky driving still doesn’t belong on public roads.
The browser does not know the path. Also, if the function (or one of its parents) is in a closure, there may not even be a path to the function from window.

If you're sure the function is reachable from window you can search for it recursively:

(function () {
function search(prefix, obj, fn, seen = null) {
if (!seen) seen = new Set();

// Prevent cycles.
if (seen.has(obj)) return false;
seen.add(obj);

console.log('Looking in ' + prefix);

for (let key of Object.keys(obj)) {
let child = obj[key];

if (child === null || child === undefined) {
} else if (child === fn) {
console.log('Found it! ' + prefix + '.' + key);
return prefix + '.' + key;
} else if (typeof child === 'object') {
// Search this child.
let res = search(prefix + '.' + key, child, fn, seen);
if (res) {
return res;
}
}
}

return false;
}

// For example:
let fn = function() { alert('hi'); }
window.a = {};
window.a.b = {};
window.a.b.c = {};
window.a.b.c.f = fn;
return search('window', window, fn);
})();
I looked into making a source generator over using reflection and quickly gave up on it. I swear it's easier to directly generate function implementations at runtime by emitting IL than to process the syntax tree.
Might want to make it extra clear that you’re looking strictly for land borders? Today’s country, Denmark, has a bridge that connects it to its neighbor, Sweden. But Sweden was not what Neighborle was looking for as a valid answer.
Agreed, mythical man month should be on all software book lists.

I would also include:
Design Patterns: Elements of Reusable Object-Oriented Software