skysight-inc/HackerNews huggingface dataset:
Everything.

- A Highfleet ship optimizer (Highfleet is a fun game where you build ships to wage a pirate / rogue state coup de etat)

- Hypothesis testing tools for my Hunt Showdown matches to determine optimal loadouts https://github.com/jodavaho/kda-tools

- A portable, private, roam-enabled dynamic dns service.

And tons of other stuff at https://aenac.dev
OOP is not bad. Also the entire discussion is pointless. Problems require solutions. You do the solution in OOP or not, nobody's gonna care, just that the solution solves the problem. Rest is just whispers in the wind.
See this follow-up post http://filmicworlds.com/blog/how-to-split-specular-and-diffu...
I've been making a proper survival strategy game. I made a few games before but they were only about a week's worth of work each, so I don't count them as "proper".

This time I wanted to make a full-on project with professionally-done models, art, music etc. It's a reverse of the 4X formula - rather than starting as a small country and becoming a vast empire over the course of the game you start off heading a vast empire that's on the brink of collapse and you've got to try and prevent that from happening as long as you can.

I've never run a project with this kind of scope - I've been on them but when you're actually making the decisions it's a real change in perspective.

https://store.steampowered.com/app/1830290/Fall_of_an_Empire...
The IntelliJ / RubyMine / PyCharm Local History feature is amazing!

You can time-travel any folder or file in a project to the way it looked each time it was saved/changed and pick changes or whole files out from the historical entries.

Right-click on a file or folder in the project explorer and choose Local History->Show History. I have been shocked when other devs didn't know about it, so maybe this will help someone.
Julia is quite hot right now.
> I like the idea of automatic proposed changes triggered by external events, but I'm not sure a monolithic tool with plugins is the best way of going about it. The Unix way to solve this problem would be to decompose your program into a couple of different programs that just do one thing, with flexible inputs and outputs.

Waow, thanks a lot for you feedback, especially to take the time to write this down.
I'll do my best to answer as you cover different topics which have been scratching my head since the beginning of the project.
But first keep in mind that I had a strong constrain which was my spare time :).

It's definitely something which I am planning to improve.

Currently everything is done at build time and rely on Golang interface.
So a resource kind need to match a golang package. A package needs to implement the correct function for it to work.
for example for a "source" you need to implement the "source" function as in the following example.

```
func (m *Maven) Source(workingDir string) (string, error) {
// Implement whatever you need and return the source value
return "the source value", "an error if needed"
}
```
Like in this package https://github.com/updatecli/updatecli/tree/main/pkg/plugins...

And the matching between a package and a resource kind is done here
https://github.com/updatecli/updatecli/blob/main/pkg/core/pi...

Ideally I would like it to be done at runtime similar to Terraform.

If needed you can still use the "shell" target but then you put a strong dependency on the tool used within your script.
Let say that your script call a python tool, then you need to be sure that both your local and ci environment have the same
python version.
I personally consider it as a fallback when I don't have the time to implement something better.

Ideally I would like to be able to use resources which are very specific to environment and therefor not suitable for everybody.
Sounds like a whole new market opened up for the EU.
Posting the m1 graph after they changed the definition is incredibly bad faith.
So essentially it’s a marketing play?
Yes, I am well aware of what I wrote. Let me clarify.

Your section is titled:

"Decreasing sleep by 1-2 hours a night in the long-term has no negative health effects".

You make two points below to support that claim:

- "A single-point mutation can decrease the amount of required sleep by 2 hours, with no negative side-effects."

- "A brain surgery can decrease the amount of sleep required by 3 hours, with no negative-side effects."

Those points do not support your claim, and I am pointing that out. I have no issue with the other 3 points, nor did I say anything about them.
LinkeDOM: A Jsdom Alternative (2021)
well, with nuclear you're (and in this case, we're) still dependent on uranium mines and all the equipment that's require to build and maintain those power plants, some of which might not be manufactured in the countries
> Every time I try a tiling WM again the cognitive load of memorizing new key bindings and trying to get various apps to cooperate with this exotic scheme pushes me away again.

Some tiling WMs are really into the whole "a keyboard should be all you ever use" thing and I don't personally like that. One of the reasons I like i3wm in particular is it's not extremely mouse-hostile and the number of key bindings I have to keep track of is pretty low and most of them make intuitive sense (mostly variants of <modifier-set>-<direction>.
With enough uninhabited desert to fit France in it, Australia is ideally suited for solar. It's great that they're pioneering solar, but I guess the numbers may look different for France.
"People who have debt" is dominated, surprisingly enough, by people with debt. There are a lot more people with mortgages than people making leveraged trades.

For the rich loss of an opportunity to cheaply leverage their wealth is the gain of opportunities to lend their wealth at usurious rates instead, or to profit at the expense of the productive from simply selling off their assets and doing nothing with their cash but wait for the price to fall so they can buy stuff back for less.

For ordinary people whose net worth is mostly tied up in a property that's falling in value but not in mortgage repayments and whose wages are about to be reduced, the opportunities are less exciting. (Sucks for the rich trying to run companies rather than just letting their investment manager allocate their wealth to whatever grows it best in the current climate too)
I used "view source" on the pre-NYT version and got a blob of minified javascript that I was able to run through a prettifier and I guess it is decipherable, but was there an earlier, un-minified version? Like every other hacker who has played it, I'm trying to write a personal clone.
Note that the only times in the last few decades (and possibly throughout modern history) that wealth inequality decreased were during economic recessions [0]. Sometimes, you just need to let the market reallocate capital. Short term versus long term thinking. Governments should be primarily in the business of long term thinking, because they are the only organizations positioned to do so.

[0] https://fred.stlouisfed.org/series/WFRBST01134
The same Would have happened with communism or any other economic system, unless we were kept at a pre-industrial level of tech. Collectivist systems don't particularly take better care of their environment.
What is your distinction between "huge" and "large"? The Linux kernel is over 30 million SLOC now (though a lot of that is drivers). That's "just" large?
I have a small game that I made to experiment with some tech.

https://donotplaythisgame.click/

In short, you accrue points while you aren't playing it, but you have to log into actually get the points (similar to "the game", which you just lost). You get your global ranking only after logging in though.
The apple spoils, you selfishly demand another apple. The apple orchard must keep growing forever to compensate for the spoiled apples.

If the coupon spoiled via negative interest rates then the person who holds the coupon and is responsible for the storage costs is paying for the privilege of not worrying how to store an apple that is spoiling.

Barter says you buy you sell. Money says you buy and buy or you sell and sell. Quite absurd isn't it?

Replace apples with workers and the orchard with the economy.
Nope, Apple can't tell you where an AirTag is nor can they tell you what iOS device relayed the location.
Will This Revolutionize Biology?
Note I said "the most effective".

The guy who taught my accounting class was a former used car salesman. We were talking once, and I asked him how to tell an honest dealership from a scam one. He said it's easy, the honest ones have been in business for more than 5 years. In 5 years, one runs out of suckers, and goes bust. An honest dealership makes bank by selling again and again to the same people.

These days, with Yelp and such, it's even harder to get by by defrauding your customers.
https://usdc.cool - I wanted to track the supply of the stablecoin USDC, and check against their audits. Another benefit was trying to see what happens to the USDC supply during certain crypto events, like crashes or pumps.

Turns out it's quite interesting. When crypto goes down, many folks sell into USDC, which causes more USDC buying by the exchanges. But when crypto goes up, people often get in with USDC.

So basically: USDC goes up. And since this money is sitting in Circle's bank accounts, imagine what happens when the Feds raise interest rates. $CND is the SPAC supposedly taking Circle public, if it ever goes through.
Esperanto doesn't have accents that emphasise stress the same way other langauges do. The little markers over the characters indicate that it's a completely different letter with a completely different vowel/consonant sound (and they have their own entries in the alphabet).

For example, "Co" would be pronounced like "Tso", whereas "Ĉo" would be pronounced like "Cho".

Pronunciation is completely standardised, with stress (almost?) always placed on the penultimate syllable.
I live in Shanghai. This isn’t true. Lots of people over 50 in Zhejiang, one of the richest provinces in China, are functionally illiterate, knowing maybe 1,000 characters. In poorer provinces people who are younger than that will be illiterate. In Western China there are tons of villages where no one speaks Mandarin so they sure as hell aren’t going to be literate in it. A very large majority of people under 30 are literate because in the Han core areas most people finished primary school but there are lots of illiterate people.
Japanese has a couple syllabary to fall back on. If you don't know the Kanji for a word you can use the hiragana/katakana version which is pretty much 1:1 with how it sounds. If you use too much hiragana can become a bit unpleasant to read though.
https://en.wikipedia.org/wiki/Julia_(programming_language)
Is your feedback that if I see something incendiary the worst possible thing I can do is counter it, but instead I should downvote, flag, or simply ignore?

It wasn’t obvious to me my comment was furthering a flame war, but if the above heuristic is a good one I will try for that.

I get frustrated when I leave 500 good comments only to get dinged for an outlier.
Few people are organized and use encapsulation to store things where they are easily retrieved. Most people are messy and encapsulate to hide junk under the couch.

It's the code monkeys, stupid. Given a powerful enough machinery most code will look like junk. That's why some "beautiful" languages today tie your hands and dumb everything down so you aren't free to do as you like, whereas assembly was just fine 40 years ago.
What do you mean by "too Postgres-specific"? Will you be supporting other DBs behind the EdgeDB interface in the future?
The quantum and#39;boomerang&#39; effect has been seen for the first time
I was looking for it for ages. Please make a British version as well! This is neat!
> With virtual desktops you just have 2 opened windows at most per workspace.

My first experiences with overlapped windows was actually probably Turbo C for DOS. :P Windows 3.0 and Macintosh System.. 6? after that. I've been through a lot of them.

I find nearly all overlapped windowing system's concepts of virtual desktops nearly unusable and incomprehensible, and I have used many. I'm a daily polyglot with operating systems, I use macs and linux for work, windows for play, and linux for everything else.

The only version of virtual desktops that's ever actually worked for me is i3's, because it's simple and easy to use.
I’ve always found your work to be done with high integrity and I don’t consider your posts to be spammy at all.

Please continue posting and I hope that HN would consider some type of moderation that allows your content.
Facts don't matter in politics. All that matters is the opposing politicians pointing to the change in crop subsidies and saying "how dare they"
Yep. Exactly. Thanks.
> Fukushima would have survived if they followed Europe's lead and improved the plant's design. In short, had Tepco and the nuclear safety agency followed international standards and best practice, the Fukushima accident would have been prevented.

https://www.nytimes.com/2012/03/10/opinion/fukushima-could-h...
Yea, that aphorism lasts as long as the new york millisecond between the light changing and the car behind beeping its horn. The hatred against men-men sex will be latent in this union of interests. Thiel and the church want to cement the GOP but once cemented in, Thiel wants different outcomes. They'll be at each others throats.

Thiel apparently only dislikes the popular culture of homosexuality, he wants the entirely reasonable right to be private about what he does. The churches want what he does to be anathema for many roles in public. Neither of them want to wear leather out-wear, fine. Some of the churches want the right to burn Thiel at the stake later on, assuming they can bend the constitution back their way to permit it.

Normally I stand against invokation of Godwin's law, what he was doing was to invent a meme and see how far it flew. The problem in any political discussion of church, right-wing politics and sexuality is there really is only one big prior case to talk about, and you walk directly into Godwin if you mention Röhm
> How is this any different from groups that sell hacking tools?

You can use a hammer to break into a house. Still legal to buy and sell hammers.
My band: Free Tequila. instagram.com/freetequila

Real musicians don't really make dance music anymore so we figured we would get weird and build a "Dia de Muertos Disco Punk Band". It's a blast. People dress up and come to our shows. We drink, party, dance, and hang out with musicians. Though we get paid, we have to cover the horns and the makeup which are both more money than we make typically. Its still a cool project.

Unfortunately, Covid messed everything up for live music. I have high hopes for this year coming up
How do you protect against user input that produces a psychopathic volume of indexes?
You can’t separate out immutability because without immutability it’s not functional code, it’s just procedural code.

To the question of consistency though, OOP gets you very little because consistency rarely maps directly to objects. So if you end in a situation where object A is inconsistent with the object B, you still have to trace out all the locations where object A and object B might have been mutated and figure out what combination of code causes the issue.

At least in the global state system you can get runtime consistency by running consistency checks on each attempted transaction.
Imagine this scenario.

People can easily make a whole game panel of these word guesses, then post a screen shot on social media. Then cancel culture mob takes over.
Housing debt is mainly held by the wealthier half of society. Credit card interest rates, as well as other unsecured consumer lines of credit, are so incredibly high that inflation is far from reducing the value of those debts, it merely slightly slows their rate of growth.

If you think inflation's impact on debt favours the poor, you have to look at the interest rates available for borrowing. Poor people get loans without collateral, so their interest rates price in inflation and then some. Wealthy people get collateralized loans at interest rates below inflation -- for an extreme example, look at how billionaires borrow against their stock holdings rather than sell stocks for cash.
Indeed: https://en.wikipedia.org/wiki/1975_Australian_constitutional...
AdAway on a rooted phone is amazing for system-wide hosts-file-based ad blocking. YouTube Vanced blocks YouTube ads.
Disney Will Overtake
I’ll defend LTT here: it’s supposed to be a fun video. Entertainment value is core to their videos, that’s what their audience comes for in the first place.

If you’re rather looking for short, to-the-point videos, you’ll be better served by Linus Media Group’s other channel, Techquickie.
Feels like home: Opendoor live in the SF Bay Area
What I have done, and will continue to recommend, is to not have all identical SSDs in a RAID - they should be a mix of part number or age.
Yes, but fixed mortgage rates aren't affected much by the fed funds rate, compared to treasury yields.
https://www.politico.com/2020-election/candidates-views-on-t...

Is that center right?
So does the ~/.cache and ~/. thumbnails directory on Linux, but at least all the thumbnails are kept away from the main body of data.
There are also studies suggesting that getting in shape prior to chemo makes your body better able to tolerate the chemo, and makes the chemo more effective due to the better immune condition.

It seems exercise plays a large, often neglected, role in our immune systems.
I was SO CLOSE to finishing the tale about the Officer Spider who ended up free his former employee of his biggest constraint, TIME, but... then it crashed. I really want to finish that story!
The commercial heavy vehicle market is wildly different from consumer automobiles.

As far as parts availability, I see just as many trucks on the road as ever. If it were widespread that it took months to fix trucks, there would be a huge impact. There’s not.

Do you have actual proof of what you’re talking about?
Weren’t games already written with entity component systems?
For real? MDN's documentation is some of the best I've ever seen... Complete, frequently-updated documentation of all Web APIs including comprehensive examples of typical usages with clearly-worded explanations! It also links directly to the actual ECMAScript specs that define what the documentation is describing. I mean, how could it get any better?
I am not sure why this person feels compelled to use btrfs raid1 when mdadm raid1 exists and works just fine at the block device level.
I have a few questions I can't find after skimming the documentation..

Can someone use Postgres extensions with EdgeDB, like TimescaleDB, PostGIS, Zombodb and Postgres_fdw?

How are sum types (called enums in Rust) modelled in EdgeDB? (like Rust's Result). Do I need to define it with inheritance, where each variant inherits from it? What about adding specific syntax for sum types?

edit: also, I see there's a WIP custom #[derive] for Rust in https://github.com/edgedb/edgedb-rust - can it store Rust types on EdgeDB? Something like http://diesel.rs/ or even https://lib.rs/crates/turbosql
Dude, Where’s My Hydrogen-Powered Car?
Damn! Sorry about that. I’m upping the servers right now. Can’t wait to hear the end of this inspirational tale :)
That may be a problem in the long term, but there's not some spigot of gas you can turn off and cause an immediate problem.
I noticed this as well. I assumed they were redoing the post as it had a typo in the URL but nothing as of yet.
It feels like you're twisting my words.

I never said Apple should unlock it more, I said they should discontinue it, and their executives displayed poor judgment in approving the product.

I never argued that AirTags were nerfed into uselessness, I responded to your argument that they were nerfed into becoming useless for stalking, which I don't think is true.

> Ironically, so did Tile for the last 8 years, and Samsung's own Galaxy trackers for Android, but there is no outcry about them

Plenty of people have iPads catching dust in drawers, who would never have bought Android tablets (or any tablet) if the iPad had never existed. It's the power of Apple's marketing. Anytime I argue against AirTags, I argue that availability is a game-changer, and nobody actually tried to address this argument convincingly.

- Someone at a club or rave might impulsively or drunkenly decide to remove the AirTag they use for their keyring, and slip it into someone's pocket. They might never have bought a tracker if Apple didn't have one.

- Again, the iPad-catching-dust-in-a-drawer argument. Plenty of people buy Apple products on a whim who would never have considered that product category if the Apple product didn't exist. iPads popularized tablets, Apple Watches popularized smartwatches (at least among US teens), AirPods popularized bluetooth earphones). Apple's marketing doesn't just increase sales for their products, it promotes the entire product category. People hear about iPad, are interested, and might buy an iPad or a cheaper competitor; when they would never have bought a tablet if the iPad hadn't created a "halo effect". You can argue the effect is less for AirTags, but don't tell me it's nonexistent!

- The copycat effect is strong among criminals. Ransomware attacks were almost nonexistent, and became common very rapidly, as awareness spread among criminals, as they rushed to take advantage of the opportunity before the crypto, legal, or antivirus ecosystems catch up and make it less rewarding. In 2009 around 1 in 13 stalkers used trackers of any kind; that number's surely gone up between 2009 and 2021 (AirTag release), but you really think that number won't go over the next few years, partly because of increased popular awareness of trackers?

> It is foolish to underestimate stalkers and stereotype it as just a crime of opportunity.

I said often a crime of opportunity, not always (or even mostly), and that those for whom it was a crime of opportunity, weren't sophisticated. The average bank robber might have done a good deal of research on bank security systems and circumvention. The average stalker might not think of using GPS tracking unless he's reminded of their existence, since there are so many other methods (likely, most stalking is online nowadays). Hence my "availability" argument.
I always preferred to look at morals as survival strategies for societies. From this point of view they do not have to be universal to work - its enough that they skew the probablity a bit towards survival of given group and the rest is just some version of Darwins Game of Life.