skysight-inc/HackerNews huggingface dataset:
Some very late-to-the-thread game ideas, feel free to use them or laugh at them. If you do make mega millions from one of them, please remember me!

2 player local co-op. Shoot em up. Top down. One player drives a tank with a forward facing gun, controls gun and countermeasures too. Other player controls the turret, main gun, and missiles. You roam around and baddies drive/fly at you in random patterns and with random tactics. No fixed attack patterns!

Another one: side-on party co-op qwop fighting game. One pair of people per combatant. One person controls legs, the other controls arms.

And another: strategy game where combat is resolved by solving word and math problems. Can handicap one player by giving them harder puzzles, so a 10 year old could fight a 50 year old.

Another: top down space shooter. Co-op, players' ships are tethered together and can swing each other around, think Asteroid style boosts. Powerups can change tether attributes, players can combo together for more powerful attacks.

Not saying they're good ideas, just ideas!
For production use, presumably you’d use an optimized binary
Customer support management platform Assembled lands $51M
As others have said here, it just feels really un-Go-like (although I'm not a Go user so maybe I don't have the right intuition). Do you really need such a high-level, abstract mechanism just to be able to turn on trace logging? The clunky "big struct of options" approach seems much more idiomatic, and doesn't have any immediately obvious downsides. (That blog post you linked says it's "unsatisfactory"; I guess there's more detail on that elsewhere.)

For scoped logging, the obvious approach would just be to add a "setVerbosity" method to your object. You can try to do it in the most general way possible, sure; but that feels similar to building lots of generic data structures and other abstractions, which is something that Go intentionally resisted for a long time (on the basis of keeping things simple and concrete, rather than building ivory towers of abstractions).

Anyway, the "Functional Options Are Slow" article reads like a post-hoc justification written by somebody who never liked functional options in the first place anyway -- i.e., the stuff in the final section. The real argument is "I think functional options are a bad idea for style and usability, but if that doesn't convince you, you can also look at the raw performance numbers, and it turns out it's really expensive too." Which I think is a good argument!
The most relevant distinction between the two from the company's perspective, IMHO, is that the product manager is often seen as potential revenue generating agent, whereas the project manager is pure operational cost.

One would have to articulate a lot to make a point about a project manager being directly associated with sales/revenue etc. -- the top line. "Oh yeah, the project manager can increase customer satisfaction and then contribute to upselling, especially in companies focused on farming and not much on hunting customers!" -- I agree, but it's rare now.
> the steering council simply wants to to avoid being bitten by Zawinski's "CADT" model

They're being bitten by the bikeshedding model instead, actively encouraging the use of the language like it's 1998. You want to live in 2022? Fine, just type

use v5.36;

At the top of your program.
Wisconsin man celebrates eating McDonald's Big Mac every day for 50 years
You're looking an a macro economic indicator that only politicians seem to care about, Most other countries don't even bother to measure it.

Trade deficit is just as much an indicator for foreign sentiment to hold US cash, as it is to import non-US made stuff.

All that indicator says is that consumer behavior changes during a recession.

You can argue the same thing with private debt.

https://tradingeconomics.com/united-states/private-debt-to-g...

https://www.econlib.org/library/Columns/y2017/KleinBoudreaux...
For now only occasionally. But if there's large unrest about this us vs them mentality will kick in super quickly.
Building a Data Platform from Scratch at Collectors
> Workloads are moving from enterprise onsite datacenters to the cloud.

This is something that the HN crowd repeats as if it were an obvious axiom where no scrutiny is needed. While I'm sure it's true that there's a general movement towards cloud-based infrastructure, there is a very real and non-trivial part of the IT infrastructure of any country that will not move to the cloud in the coming decade, if it ever will. This general movement is not the same thing as "everything will eventually have moved".

The hypothesis that on-site virtualization somehow is an obviously dying technology assumes that it must be true that on-site hosting will stop existing, which I have a very hard time believing. If nothing else (and there are plenty of "elses"), strict data security and privacy concerns will keep on-site hosting moated for a long time.
> This idea has been obvious and in progress for a while now with lots of prior work.

Such as?
Yeah, compounding interest is part of the metaphor. As long as you grow faster than the compounding interests, you are good. If the options for a startup is the keep growing or die, then taking on technical debt is reasonable.

Of course it is different for a steady-state company or organization. You need to keep technical dept at a manageable level.
Given that this SQLite variant is WASM-based, how does this relate to Cloudflare recent D1 announcement where you can use Workers (WASM) to connect to an SQLite datastore?
I use the Reddit mobile app - find it pretty nice, honestly :)

I also like the desktop interface, and curate what groups I'm in
Wow, what incredible FUD to be reading. "Least safe"? Compared to what? Can you cite any objective sources to back up such extraordinary claims?
I wouldn't sue, that's up to legal. None of what he suggested would even work in my environment. You'd be fired for moving company information out of our controlled environment if you cloned the drive, tampering if you replaced it.

All they'd need to do is tell me, and I'd get them a laptop with an SSD.

I cannot have lone wolves like that hanging around. They have the potential to do far more damage than someone from the outside.
I am imagining they are aliens instead of Mormons, but they look exactly like humans. Maybe they moved here (secretely, of course) because some other mean aliens have taken over their planet. Since they are unfailingly nice, they just left their planet instead of fighting for it. Now they're here on earth and dealing with humanity's response to their niceness.
> • Universal background checks;

Break that one down.

Universal for everyone, or just those who want to buy a gun? If I buy a gun because I pass the background check, and then snap and shoot up my place of employ 4 years later, what good was the background check? Who pays for the background check? Who does the background check? What do they check? HIPPA laws would eliminate anything health/medical related. Do they comb all the discoverable social media accounts? Are we just checking criminal history? Should a background check be re-done every 2, 3, 5, n years?

I like the idea, but I've been chewing on this problem for the past few days and I don't think background checks would be as simple or effective as we would all like them to be. This is not an argument against background checks in that I think they're a bad idea. I don't think they would do much.
The Household Mystery: Part II
This is not a correct explanation of why there is not a global order of memory operations on modern CPUs.
It has nothing at all to do with the passage of time on different cores. Nothing.
As someone who uses web apps in my browser rather than Electron versions of the same application packaged with a slightly outdated Chromium engine: don't take away my notifications.

I'm glad browsers have decided to simply block notifications by default. The constant insistent notification prompts by terrible developers trying to get me to accidentally sign up to their stupid blog news feed annoyed the crap out of me. I already had notifications set to denied by default long before browsers started shipping the policy and I do the same for other permissions.

Notifications are extremely useful for actual web applications. Blogs and news sites should stay the hell away from my notification area.
For any country, ask yourself whose interest the government/military/media/etc exists to serve. I'll give you a hint. It's never 'the people'. In capitalist countries, it's to serve the interest of capital. In monarchies, it's to serve the interest of the monarch. In communist countries, it's the serve the interest of the party. God knows what north korea is. A communist monarchy?
This is good to know. Thanks.
Played it on my laptop just fine with a 2080 RTX
Hello there. That's eerily familiar. For me it was sports (although I was quite good at baseball and soccer) and Turbo Pascal. My parents, especially my Mom, put up a huge resistance to me programming. I had to promise to try out for the HS basketball team (easily my worst sport) to get a computer. I'd been cut the previous two years so of course I barely made the team that time.

My Mom was convinced I was sitting in the computer room playing games. When I told her: "No, I was programming", she asked what I was programming. Of course I told her I was writing a game, as all kids learning to program were. She responded: "See! Games!" as though she'd somehow proven her point.

But, like you, I've made my career from programming and it's treated me quite well for the most part.
Palaeospondylus: Long-standing mystery of vertebrate evolution solved with Xrays
Writing in code is the same as writing in your native language. You are NOT writing it for the machine - you are writing it for the others like you. You are telling a story, and yes, it's hard.
>*whereas mine runs on device*

$$$

This IS the killer feature.

Now make a face recog PI (as you stated you tried) -- or a cheap Android Phone which best serves HW(gpu) for your needs and you have solved some complex surveillance matters.
Getting the water out from the spongy material could pose a challenge in hot environments.

According to the paper, they use heating (60°C) to extract the water. In hot environments, however, ambient temperatures get quite close to that already (see India at the moment).

The answer to b) would be a no. The technique doesn't work in high humidity environments.
Dammit this looks interesting. Wish it was a free web based game (or at least had a freemium version to try it out before buying)
Heck, I'm playing it on an 8 gig card (2070 super) and it runs fine at 2k/60fps (occasional drops to 40), and is flawless at 1080p or dropping settings to medium (which looks good nonetheless).
TBF, that's basically how our entire economy runs, so
Almost certainly not, I'd hope he's too smart to see a link between FPS games and these events.
Hire one person less and you've already broken even. Applies just the same to to any managed service on the cloud, to Outlook365 instead of your own email server, etc.
https://twitter.com/alexjc/status/1347458546636619778?s=21&t...

> The blog post says 256 GPUs for 2 weeks, so:

> DALL·E would cost $131,604 to train on AWS, assuming a p3.16x-large at market rates. Could be as low as $40k if you already paid for reserved instances.
Show HN: Top links from HN, Reddit, Producthunt and Techmeme on one page
I created this tool for myself and have been using it every morning for more one year. The list is updated every 10 minutes and new links are added at the top. The links are chosen based on certain criteria like minimum votes and comments.
Don't optimize.

Work hard and build.

Start building.

Learn along the way.

Nobody will die if your code is crummy.

Nobody will even care.

But if you are really lucky, someone might care about what you built.

Good luck.
Correct. Gangland shootings of multiple individuals count as a mass shooting, and that constitutes most of them. If you control for those, Canada and the U.S. are very different. People don't flinch at the homicide rate, they care about innocent bystanders, especially children, being killed en masse.
This guy is a chud valley-bro. His opinions are worth less than dog shit.

Anyone who builds their entire identity SOLELY around being a "tech lead" at a FAANG is a fucking pathetic loser and an absolute dumbass. Turns out, as anyone who isn't a total fucking idiot knows, expertise in one area doesn't mean expertise in all areas. If "techchud" wasn't so blinded by his own egregious and malignant stupidity he might be able to see that, but... he is. Misogyny or any form bigotry, or superiority-complex, is the surest sign your brain is operating below capacity. I just can't believe anyone ever listened to someone so demonstrably stupid, it's not even "NP hard" to ignore his ass.
Probably “heuristics” is a better term to describe these.

“Mental models” refers to something quite different, which is the simplified representation we form in our minds of the world around us that helps us better comprehend and navigate it.
Ask HN: Database-driven web apps – is the database still a bottleneck?
I've read many times in comments here on HN that the speed of your database is the biggest bottleneck for your server-side web app. Therefore, the speed of your server-side programming language is not important (or less important).

I asked this question in 2019 (3 years ago) and many HN posters said the database was more likely to be a bottleneck than the server-side programming language. Does this still hold true in 2022?

(Here's the original discussion from 2019: https://news.ycombinator.com/item?id=20123659)
Did you have prior Go experience to the rewrite? My experiences line up with this quite closely, similar tasks are much better suited to Go, concurrency management is night and day vs Python. But Go can seem scary to folks without previous experience and that turns lots of folks off - even though the language and syntax don't feel _that_ different and there is a similar batteries included approach, though Go's batteries are generally better.
Hasn't sql.js (sqlite compiled to wasm/js with emscripten) been around for a long time (at least a couple of years)?

What makes this different other than coming from the actual sqlite team?
Yes, he deserves engineering prizes.

In one of his talks he shows the OpenSSH 6.5 changelog - a release in which they adopt both "his" 25519 curve and chacha20-poly1305 as new features.
This functionality was pretty broken, to be honest. Certainly it worked for some people, but it easily broke.
What should I do with this information?
I always found the "bad apples" argument very ironic. The whole expression is "a few bad apples spoil the bunch". We are now left with a spoiled bunch.
> I've always assumed that Tor was a top target for 3 letter agencies

Tor doesn't defend against a global adversary like a three-letter agency with capabilities to monitor network traffic and latency globally, panopticon-style. This is explained plainly in the Tor design spec.
It’s more like being a chef and paying another company to cut up your ingredients for you and cook them.

Companies these days just want to specialize in making cool menu designs and marketing and waiting on the three star Michelin review to roll in somehow.
Several of these are not exactly what I would consider mental models, more life hacks or bias training. For me a mental model is a framework or paradigm that you use to make sense of the world around you. It isn't always for making decisions, perhaps it's to avoid anxiety or even to figure out how to live at peace with your alt-right neighbor.

Some of mine are:

1. Never attribute to malice that which can be explained by incompetence. The modern world is an unbelievably complex network of individuals and incentives. Rarely can you trace a discernible pattern beyond two interactions. So if the level of complexity in your conspiracy theory requires more than two jumps it's likely unfounded. Cartels are unstable.

2. Human beings are hard wired to rationalize their worldview instead of picking a rational worldview. A trait of ours is that we're capable of making a logically consistent argument to validate anything and this is not a new phenomenon. The ancients were just as capable at this as we are today.
You are focused too much on Microsoft and the individual user. The concepts are applicable to any device from any manufacture. The book I linked is about the evolution and history of network spread malware such as bots. It discusses about how security was always an afterthought during the start of the millennium, and how at a certain point basically every device was running some malware. Then collectively the industry and the government finally started to understand the nature of the beast and introduced security hardening best practices.

This is continuing today, and the increased knowledge sharing has industries working together to fight the problem. Even the US government has learned from e.g. google and started to move to 0-trust network architecture: https://www.whitehouse.gov/briefing-room/presidential-action...

Automatic updates are one of the biggest enablers of stopping automatic spreading of malware. The Mirai botnet for example had a large capacity knocked out thanks to Deutsche Telekom responding and force updating their network devices which were vulnerable attack vectors. Unfortunately there are a lot of devices out there which are out of support or have no updates available (i.e. internet of shit), which remain a constant problem.

Automatic updates are the industry standard, because the days an patched or unpatched device is a threat to the internet is 0. This doesn't mean patching is futile. It still greatly reduces the available attack surface, and also helps protect other devices.

You should also be aware the when 0-day gets patched, they often happen silently. e.g. Linux will obfuscate it's commit message, because if they say 'e.g. fix really bad 0 day', then immediately that 0-day becomes public knowledge and will be exploited even more before the patch is live and propagated to the systems. Same in release notes, so people don't diff the binary to discover what the attack vector was. Just because it's not loudly announced, doesn't make it not real.

So please do your minimum part to practice network hygienic if you want to participate. It is not a 'dilemma', it is polite behavior for a greater goal.
You could start by looking at companies that comprise ESG ETFs. Granted many of the companies included in there could be semineutral or debatable as to actual benefit.
If you're right, then this looks like a great opportunity to outcompete these dumb, lazy companies that don't know how to run a business.
This codec needs to be implemented in Tesla Cars.

Full Stop.
I started playing RDR2 but stopped before I got too far in the game. It drove me absolutely nuts that speaking with an NPC that had a side-quest threw me immediately into that side-quest without any option to do it later. I guess I wasn't supposed to talk to them if I didn't want to do the side-quest, but how was I supposed to know if I wanted to do the side-quest or not without talking to them? I couldn't get past it.
Am addict. Social media is not addictive. It's... Really fun, but addiction is far too strong of a word.
I came here for this comment.
There's also org-roam[1] which bridges the gap

[1] https://www.orgroam.com/
> If guns weren't such a charged issue then more of us would advocate to directly outlaw private gun ownership.

Surely you're aware of the second amendment. I'm not sure how your proposition and said amendment can live in the paradigm.
That's an interesting point though. In Poland, you can own certain guns, right? A Polish friend of mine told me he owned various guns, including semi auto pistols.I know you can own these in other central European countries too, like the Czech Republic, Switzerland and probably others. These guns can generally fire at least 15 rounds as fast as you can pull the trigger, and you can reload in seconds. The Virginia Tech killer used 2 of these to kill 32 people.

Now I'm sure my friend had to go through more extensive vetting than they have in the US. But here's the strange part: many US mass shooters would pass these checks anyway. Not all, certainly. But many would. So when you say "they do not find a way to get the guns", you're suggesting that the potential mass murderers are out there, looking for a way, but failing to get the guns. But clearly they should be succeeding occasionally, the legal way. And yet we don't see it. Why not?

We need to know what else is different about the US. But why complicate things by comparing the US to vastly different countries? Why not compare it to a mostly similar country: itself from the recent past. The US has had essentially the same gun laws forever. There have been 2 major overhauls to US gun ownership: one in the 30s and one in the 60s. Other than that, basically no changes. But these mass killings are fairly new, having started in earnest in the late 90s. Why? It's not surprising that the body count has increased, since AR-15s are more deadly than the kind of guns Americans used to commonly own 30 years ago. They have become incredibly popular in recent years and are very cheap and accessible now. But as I pointed out earlier, there's nothing stopping anyone from racking up a huge number of victims using the kind of semi automatic pistol that has been around for over 100 years, and we do see this in the US.

This question weighs on my mind all the time. What is different about the US? I feel as though I know the answer, but it's ephemeral, hard to put words on it. Everything is more extreme here. Success, failure, happiness, misery, love, hate. So in a sense it's not that surprising that the crimes are more extreme too. But I know that's not a very useful observation. I just know that it's 100% possible for people to be able to own guns, and for this stuff to not happen. Hopefully it's possible in America too.
> Shyu worked at Google as a tech lead on the YouTube app

> "Coding is a brutal 24/7 job, mutually exclusive with motherhood," Shyu said, saying that mothers would come back "obsolete and outdated" after maternity leave.

???

I mean the YouTube app is fine. But it's hard to believe that working on the _YouTube App_ of all things is a brutal 24/7 hour job which is so cutting edge that taking leave for a few months would make someone unable to work on it.
Many times non-technical project managers were useless. Just overpaid glorified secretaries trying to take meeting notes, often losing valuable information in translation.

It made sense to rebrand to other job titles so as not to attract the same wrong people full of certifications which were irrelevant to software dev.

In the end I can see it being named project management again, but only after the wrong crowd is weeded out.
People are now starting careers as Office 365 "officers". From now until retirement, they will champion Office 365 and its successors in all situations, because in effect they will be championing their own CVs.

Just like people did with IBM, Oracle, J2EE, and so on.

If at one point Google Apps is superior to Office 365 makes no difference.

The insight is that the careerists are the effective insider salesmen of enterprise software. Not specs, benchmarks, stats or anything like that.
> Today I was running some errands in my car. The AC was too cold.

This literally never happens on any of my cars. I'd rather not have to be distracted with an uncomfortable car in the middle of driving and then have to feel around navigating a few different knobs and buttons to make my car comfortable, my car should just automatically be comfortable.

> There's enough distracted drivers on the road to watch out for

You were more distracted having to think about the climate, take your hand off the wheel, feel around for the knobs, and adjust them properly than someone using automatic climate control where they just never have to make that adjustment in the first place.