skysight-inc/HackerNews huggingface dataset:
Wikipedia lists the author's "Theory of Enchantment Three Principled Practices" as:

- "Treat people like human beings, not political abstractions;"

- "Criticize to uplift and empower, never to tear down, never to destroy;" and

- "Root everything you do in love and compassion."

Which are right in line with other personalist (https://plato.stanford.edu/entries/personalism/) philosophies that all seem to make the most sense to me.

I have never been very convinced that shame is a good tool; after the past 18 months of pandemic and 4 years of utter bullshit at a federal political level, i'm absolutely convinced of it.
>If you can't operate within the law you can't operate

That's demonstrably untrue. Look at the rise of Uber. If I started running an unlicensed taxi, they'd come down on me very hard and very quickly, but Uber had the resources to tie up enforcement until public opinion about their VC-subsidized "taxis" prevented any action.
The "Japan is no different from any other country" trope is just as inaccurate as the "wacky Japan" trope and in my experience has actually overtaken the original in online discussions (though news articles clearly still focus on the original).

Making a generalized story from cherry-picked anecdotes is an incredibly common strategy for journalists writing about anything. Sometimes it might actually match more general trends and sometimes not; you can't say without real statistics, which in most cases don't exist or aren't accurate anyway.

No one's tracking it carefully, so who knows if bullying in Japan is actually worse or just picked up in the zeitgeist more. But it's ridiculous to pretend like Japanese school culture isn't drastically different from that of most western countries.
What if prices went down over time?
I mean, was this the same people dying from pneumonia who had covid in them?
Just yesterday I had the itch to watch through Trigun.

I was floored when I realized that it was $40 on Amazon Video (streaming), but $22 if I purchase the DVD.

Amazon's costs are __LESS__ for the streaming media than for the company/people selling the physical DVD. Ridiculous doesn't even begin to properly describe that behavior.

If companies are charging premiums for services that cost them less to run, I'm damned well going to be buying in person more often.
Type providers are novel.

It is a mechanism to provide type safe access to structured data and data services with almost no code. It feels like magic.

Like other ML-derived languages (F# is an OCaml dialect) it has algebraic data types and pattern matching to make code simple and complete without missing edge cases.

Also, it is arguably the best functional language on .NET, so it has a great platform with a large ecosystem to build on. And the tooling is great (Jetbrains, Microsoft IDEs).
On Android, Syncthing-fork is a bit nicer because it has a native app interface instead of the embedded web interface. However, on Android 11 the Play Store release doesn't work with folders other than /Android/media or the app's data folder or something like that—because of Google's continuous crusade against file access, effective for the newer API level that Syncthing-fork is targeting. But the F-Droid version doesn't have this problem.

Note that the mainstream Syncthing on Android works so far only because they're targeting an older API version. They will hit the same restriction if they migrate to the new API, unless they implement SAF or whatever.
Because developers of the JavaScript world wouldn’t find the performance of django or rails acceptable.
Crystal, the compiled-but-super-fast statically typed Ruby dialect.
Of course a full stop of social norms today would have consequences.

My point is it’s a social contract not a law of physics we cannot hope to bend.

Our embedded memory and experience need not be the one we pass on.
Yeah, those boundaries between beautiful domain type <-> DTO <-> database is also something my team and I struggle with. In the end we're happy with just writing it out, but there is this nagging feeling that it could be more ergonomic.

I'd be interested to hear about other approaches. You could in theory just dump (automatically generated) JSON to the database and evolve your types with tagged versions, but then you have to write some boilerplatey converters between TypeV1, TypeV2, TypeV3, ...

I guess that's the price for staying away from full-blown ORMs?

It reminds me a bit of how in Elm you just suck it up and write the JSON en-/decoders by hand. Annoying at first, but then you get super obvious and maintainable code out of it, which is quite a joy.
The song is the important stuff, if there is no song you should jump that release.
The Shorter Work Week Really Worked in Iceland. Here’s How
With reference to their housing and energy problems, and solutions, you might want to check in on current events!

With regards to faith in centrally planned interventions: China also had an overpopulation "problem," and they "acted" and now the population of women of child-bearing age is set to diminish by 20% over the next decade.

Outside of the largest megacities, urban populations are shrinking as birthrates have plummeted. China has enough empty housing to house 40 million people and yet real estate prices remain too high -- real estate was relied upon to fuel growth and so there has been massive speculation.

There aren't enough new families being formed to fill the housing.

As far as energy is concerned, China's problem is that the price of coal is going up, mainly because Europe requires more coal as they have reduced domestic capacity at the same time that Russia is reducing NG exports. China runs on coal, mainly.

I feel lucky that we didn't have so much "action" because it's only going to get uglier from here on out for China.
> it's refreshing to see a game author happy about his game being gutted, and put online to play.

The game author is typically not the copyright holder.
We've tried the banks' way since forever, and we have meltdowns every couple of years, with more money being poured to "save" the banks.

Maybe it's time we try a different approach and just let cryptocurrencies be adopted, to see how it goes
Which OS? For El Capitan for example, no updates were released by Apple.

I will be using those instructions instead to do it manually

https://apple.stackexchange.com/questions/428460/how-to-upda...
I think you'd be naive to expect that an increase in the price of butter would be related to increased animal welfare
Then it's time to change the design, no?
Amazon did not put local stores out of business, customers choosing the advantages of shopping on Amazon did.

Are you saying customers should've been denied this choice in order to subsidize those local store jobs?
My secret sauce is light chronic sleep deprivation to never wake up at 3am. Makes you sleep like a baby.
Yes, my experience as well. Clojure is more "lisp for java programmers" than "java for lisp programmers".

Most of introductory material I found was good in explaining functional concepts, lisp approach to solving problems etc, but I thought assumed a working knowledge of the JVM ecosystem.

For someone utterly unfamiliar to Java/JVM world would find clojure extremely baffling, cryptic error messages, needing to be familiar with the rather large java standard library, etc.
Yeah but now they'll be able to see everything you come across at 60fps
I always thought that the more you repress aggression and competition, specially in human males, the more it will end up being expressed anyway, but in bursts or in passive-aggressive ways.
Of course, this is just a personal hypothesis.
Well do you actually want to write? If you describe writing as a pain, maybe writing just isn't your jam.

Seems pretty common that people have a romanticized idea of writing, and like the idea of being a writer much more than they actually enjoy the writing process.
Twitter Is Down
For those of you that don't use twitter at all, now you know.

Any idea what caused it?

https://www.isitdownrightnow.com/twitter.com.html
Selling Lisp by the Pound
Same. F#, Clojure, Scala, & Kotlin have all been the same for me. Python's VM is written in C, but I have no reason to know C. In Clojure they have you call out to Java libraries a ton. Someone always tells me that this isn't true on here, but it was my experience as well. Having to learn so many tools like emacs or CIDRE or Leinegen was also a turn off.
Once again, this is rank false equivalence which elevates non-corrupt outsider acitivity with actual corruption by public officials elevated to high office corruptly.

I refuse to fall into the low-IQ cynicism of both-side-isms.

It's worse for a public servant, with actual influence and power, to be corrupt, than it is for a child of a politician to make money.

Yes, Hunter is irrelevant because he's not in our government.

NO, Ivanka was not irrelevant, because she was a member of our government elevated to have power in our country.

These differences fundamentally matter. And no amount of both-sides-ism or false equivalence will change the reality that public servants must be held to a higher standard than children of politicians.

It is not "partisan kool-aid" to hold public servants to a higher standard than private children, and to suggest otherwise is ignorant and immoral.
This doesn't solve the issue of somebody traveling and getting mugged. Then what? You're just locked out of everything? That seems very, very inconvenient.

There's a reason passwords haven't been usurped yet. It's because these fancy new ideas come with an entire new set of their own problems. These problems are worse than what we deal with for passwords.
Ok! I will google for you. "a doubling time of 49 years"

https://theconversation.com/7-5-billion-and-counting-how-man...

"You're incorrectly assuming that the greenhouse gas emissions scales linearly with the population size *even as the emissions per MWh approaches zero."

No it will not be linear. If you have a population that is exponential.
> we owe "current owners of U.S. Treasury bills."

Two ways:

1. The brutish way: legislate that all T-bills are now worth 1/10th of their nominal value. Potential risk: riots and capitols set on fire. In practice, this was done in history many times without much consequences.

2. The "boil the frog" way: let inflation run hard for a decade, until a 100$ T-bill buys you a nothing but couple of big macs. This has been happening for the better part of a century.
Toward an Information Operations Kill Chain (2019)
Show HN: An Easy Programming Language That Runs in the Browser via WebAssembly
It’s more statistically significant- check how Chinese names dominated CV conferences
Also free doesn’t not mean zero cost. Your time can be used to do other things that may make money.
SWC in NextJS is still in canary with experimental settings, but it took me 3 lines of code yesterday to make it work on a fairly large app ( https://labelflow.ai ). Hot reload times instantly went from 10s to 1s. Twitter discussion here https://twitter.com/vlecrubier/status/1448371633673187329?s=...

Overall I’m pretty bullish on Rust tooling and integration within the JS/ Wasm ecosystem !
> But if you play the game on a regular basis you will also notice the new feature or the thing they've improved. If you play FIFA 2015 and then play FIFA 2022 you'll notice a massive difference yet people will have been saying for years that they don't change anything. That is because every year they improve a single aspect of the game.

I think that's the point people are trying to make. If you're making a very small change,why are you charging people for the full price again? They could push an update for a small free each year. And resell the game for full price every 4 years.
It is, but it came of as criticism to me, because using the question mark this way is quite common here on HN and elsewhere.
... to be clear, Mono does not provide F#. Microsoft releases F# for Mono.
Are we coming to a time when "My voice is (not) my identity"?
I think of Angular as being closer to a “batteries included” approach. Google at least has an opinion about most things.

The only problem with Angular is everything else.
> 3. The most impressive part about esbuild development is not just that it's one guy writing it: it is the level of support and documentation he manages to provide alongside.

And the one guy writing it is Evan Wallace, co-founder and CTO of Figma. I don't know how he has the time!
Less Credit, Unfair Reviews. How Much Does Everyday Sexism at Work Matter?
Depending on the type of puzzle, it might be possible to work backwards. For example here, if you can compute reverse-transitions you could run one or two steps of that, and put all states from which the goal can be reached in two moves into a HashMap. Then you run the forward search and stop as soon as you hit anything in that HashMap. In theory, you can reduce the runtime to find an n-move solution from O(bf^n) to O(bf^{n/2}), at the cost of more memory use. This can also be combined with A*.

Low-level optimization can be worth it:

* You can try to pack the game state into integers and use bitwise operations. An 8×8 board can be stored as a 64 bit vector, so a `u64`. If you know the edges of the board are never occupied, then moving around can be as simple as a bit shift (probably not for this game).

* A smaller state representation also means that HashMap lookups will be faster.

* Instead of using a pair of integers to represent a position, use a single integer and save a multiplication for every lookup into a grid.

* Add a ring of impassible cells around the board, instead of checking for the edges of the board each time.
China is just really good at hiding the negative aspects of their system.

If the US could just disappear all the people that suffer under capitalism their system would probably look exceptional also.
>not sure why I'd get in trouble for asking.

Both of your comments can be construed as linguistic pedantry. Particularly, saying "it's confusing" rather than e.g. "I find it confusing" is pretty prescriptive - and it just sounds like you're doubling down on your first comment.

If you want to ask a question about a feature of language, it helps to add the context that you're unfamiliar with the language itself. Otherwise, most readers will assume that you're attempting to correct the user you're replying to. Commenting on people's use of language is considered quite rude in most internet communities - not least because of the number of ESL users.
Haha. Thank you. Not sure how I goofed that one up.
As a rule, I always check the four, three, and two star reviews since they have the least propensity for a scammer to create and waste time. 1 and 5 star reviews usually are an inane mix of "They're TERRIBLE" or "FANTASTIC" with no additional information, whereas the 2,3, and 4 star reviews will normally go into specifics that warranted the stars being removed. Not only that, but they are normally much fewer in number meaning that a sufficiently popular location with real reviewers will have enough 2, 3, and 4 star reviews to give me a relatively transparent view of the good and the bad that I can read quickly. Mixed into this analysis is to scan for made points rather than worry about the star rating.
In 2016, will Rails and Django be competitive against newer? (2013)
Troubleshooting promises and async/await in basic CRUD apps forced me to learn & understand so much more about programming and browsers than I ever intended to know.
Sure - C# is the best functional language, while Haskell has already been the best imperative language for a while now [0].

[0] https://stackoverflow.com/questions/6622524/why-is-haskell-s...
Linux systems are made by dozens of disparate teams, and it shows. Every command has a different syntax - just think about how "help" could be -h, --help, -help, -? etc

BSDs are very tightly integrated. The entire OS is very consistent and 'correct', down to the tiny and pedantic details like putting things under /usr that are usually installed in /bin, because that's the way it's supposed to be. (Ex. `/usr/local/bin/bash`)

Think of it like reading Wikipedia, no matter which page you read it seems like it was written by the same person. That's the kind of consistency that OpenBSD intends to create.
Let’s not devolve into thought ending reactionaries. I’m aware of the negotiated reality.

My point is it’s not a law of physics, but a social contract to be negotiated.

We owed pensions to people and took those away, so it’s not as if society has a very good track record of paying what it’s owed, so don’t get too hung up on those words meaning something forever.

You might take continuous iteration of our social contract as seriously as code; as we can see letting it accrue technical debt and bit rot is not so great.
I haven't done as much as I would like with them, but I feel like until someone tries type providers they don't get just how powerful they are. Being able to point to an example .csv file and have it generate the classes for you, and update them if you change said format, in a way that it ensures the types still work, is amazing. And you can do it for ANYTHING as long as you have a way to extract the data to feed it to the compiler.

I still need to learn how to write a type provider just so I can.
If I was talking to employees of the "Mexican drug cartel money laundering corporation", I too would be disappointed they don't give a shit.
No good intention is able to hold up for too long against the necessity to make money to simply survive if not to thrive
I think about it in terms of trading in time-frequency space. The total amount of time-frequency uncertainty is conserved: it's just like the Heisenberg uncertainty principle from physics, and is in fact deeply connected to it.

A classic Fourier spectrogram makes one choice about time uncertainty vs. frequency uncertainty and uses it for all frequencies. You can think of it as dividing time-frequency space into little squares that work okay for most quantities of interest.

Wavelets alter that tradeoff. At low frequencies, we often care about small differences in frequency (e.g., 4 vs 5 Hz), while the precise location of the peaks (e.g., 10 vs 10.1 s) matters less because the signal is changing slowly anyway. The situation is reversed at high frequencies: 1 kHz vs 1.001 kHz is often physically irrelevant, but the timing matters because they're so short). We therefore divide the time-frequency space up so that the windows are long in time, but narrow in frequency at low frequencies, square in the middle, and short in time but wide in frequency at higher ones.

On top of that, wavelets recognize that sine waves are a mathematically convenient basis, but may not reflect your data, so you can also swap in a "mother wavelet" that better matches whatever phenomena you're studying.
Buying exclusive rights to teams / leagues to cripple the competition is a fairly standard EA play. However it is important to note the exclusive contracts are between EA Sports and the teams / leagues, not FIFA.

The main things FIFA brings to the table for EA is the name, and the World Cup competition. EA clearly things they aren't worth as much as FIFA wants for them, hence the current wrangling.

If the deals falls through then "EA Sports FC" (or whatver it ends up being called) will still have all the teams / leagues locked up. So a theoretical FIFA game from someone else would presumably still have the same disadvantages as Pro Evo etc.
> <!-- template: blog -->

Many Markdown utilities support front matter, which is designed to solve exactly this problem.

---
template: blog
other-key: other-value
---
I always thought ExpressJS was the equivalent on the NodeJS side, but looking at the docs now it appears nigh abandoned (jokes on them, I built like 3 pieces of software on top of it in the past year!)
> Wall St: "hold my beer"

I'm probably breaking a bunch of HN rules here, but I haven't laughed that hard in a while.
Does your solution have protection against cross-site scripting attacks?
Esbuild is amazing, but it’s worth mentioning SWC, which is written in Rust, even faster than Esbuild, and integrated within Deno, NextJS and other leading tools. Overall I am pretty bullish on the Rust/Js/Wasm/Typescript ecosystem.
Bevy, while an ECS based library, can easily be used to program a game in a more traditional way (excuse my formatting):

struct Player {
health: Health,
}

// ECS style
fn update_player(query: Query<&mut Player>) {

}

// Traditional "OOP" style
impl Component for Player {
fn update() {

}
}
For generations the people of the artwork have been at war with the people of the song.
Improve Your Interaction Design
I've actually had use-cases where using `use` obfuscated a bug in some code I was using
I would have to respectfully disagree with you on the serializers part here. For me, after decades of fighting with “magic” stuff, simplicity is the key feature. So, everything that is a simple map function in disguise I tend to stick with functional languages and approaches.
My experience is different. I have many times reported a profile like this. Exactly as described above, a child can see it's a scam account. And then a couple of days later got message that after review the profile doesn't violate the community standards.
Proof of hack by dimden and his crew
> Does someone here have any experience with japanese school life?

No direct experience but heard stories of bullying of children of friends/colleagues living in Japan and that was scary enough.
Different fields always have different nationalities dominating though. You could easily say "look how Italians dominate astrophysics" but that doesn't necessarily mean anything.
Neighbour wins privacy row over smart doorbell and cameras
I worked on the systems used to implement various switches such as #4ESS and #5ESS and the goal was less than 2 hours downtime in 40 years which means you can't even reboot and have to upgrade software method by method on the fly. Needless to say 40 years later the average smartphone is about 1000x more powerful than those switches.
It's easy to get things done when you answer to no one.

> When they have a housing problem, they build more housing

Often forcing residents to sell their land (which for many is their livelihood) at cut throat rates, and sending gangsters in to 'persuade' them when they refuse. Several have resorted to self-immolation in protest over the years.[1]

> When they have an energy problem, they build hydroelectric dams

Which devastates the local environment and that of neighbouring countries, and increases the chance of earthquakes.[2]

[1] https://www.npr.org/sections/parallels/2013/10/23/239270737/...

[2] https://www.theguardian.com/environment/2013/nov/04/china-da...
Syncthing Fork has this feature, and others enhancements [0].

[0] https://github.com/Catfriend1/syncthing-android-fdroid
> I think in Asia generally there is a LOT of aggression online.

In Asia? You haven't seen Twitter yet in the US.
I think serializers would be better off as railways, allowing you to combine small serializers while also collecting the errors so you end up with a conclusive outcome. Haskell's parser combinators are quite fun for example.

Also I've only used node/elixir serverside, but aren't http servers just a huge pipeline? It fits quite well into functional programming.
Not without an ellipsis it's not.
No no. It's up again.
And they forgot to include authoritarian Angela Merkel, the German government and the mass media mouthpieces for the German state in the awards.

https://www.hrw.org/news/2021/06/24/germanys-new-surveillanc...
not everybody is in their audience, but I find they generally do a decent job of trying to explain the concepts and ideas they are planning to talk about or review in a video. It can often be a good primer for bringing someone up to speed before sending them off to find more info.