skysight-inc/HackerNews huggingface dataset:
> If we capitulate outright, the worst thing that happens is paying taxes to somewhere else, and the set of faces on TV news will change to a different set of faces. Anyway, please go and die to prevent that from happening, while the people who have the most at stake hide in safety

Is that actual truth? It seems to me that in quite a lot of wars, there is a lot more in stake then just where you pay taxes or who is on TV. This is not a good faith communication - this is flat out lie.

And also, civilian casualties in wars outnumber military ones. Soldiers do die a lot ... but causalities and suffering in wars are not limited to them.
This is not true. Most credible military analysts say that Russia's Achilles heel in this war is the lack of trained personnel in sufficient numbers.
Oh no, you definitively can't. Not when you're the one invading.

People always bring up WW2, but in WW2 USSR was being invaded, and had a lot of material support from the west. They could keep "throwing more bodies on it" because

1. Those bodies were still very motivated, since they were being invaded and,

2. They had useful equipment for those bodies, in significant part from western support (lend/lease etc.

Ukraine is more like WW1 for Russia. That didn't end so well for the Russian leadership.
Fortunately regulatory capture mandates EV certificates, to ensure snakeoil still finds it's market
Thanks for pointing that out. I meant 500 million annual revenue and 100 million annual cash flow.

The 26 years back-of-the-envelope calculation was correct though: 2.6 billion / 100 million = 26 years.
Yes, incredible what years of Java Enterprise can inflict to the brain :-). It reminds me of the whole dependency injection circus where in the end it's just the equivalent of passing a function constructing an instance to another function in FP.
How the West tells itself fairytales about Asia – and believes they are real
I've seen one which is a single text box with grey placeholder text that has hyphens ("12-34-56") yet does not accept hyphens, so you need to type in the format "123456"...
Can't even take seriously a comment which refers to elected leaders as "elites" and that's against my very harsh criticism of the voting restrictions and average voter apathy here.
$11B to completely tunnel under Germany and Austria would be quite cheap.

Although a tunnel across the whole alps is still quite impressive.
> Hitler pulled Germany from an economic downturn post-WW2 and the showy militaristic theming really got people excited

You probably meant WWI, but afaik, historians dispute that one. He was not that good in economy.

I t
The ones listed are also meta search engines built off non-privacy respecting search engines. Would have been nice if they listed independent ones.
Greenwald (and Tulsi Gabbard) quoted Nuland directly, who admitted that there were biological research labs.

Greenwald had previously worked on the Anthrax story of 2001, where a couple of high profile people got sent a sophisticated Anthrax variant in the mail.

It was supposed to be foreign terrorism at first, later it was found that the strain came from a U.S. research facility.

Biological weapons aren't allowed by treaty. Research how to combat biological weapons however is allowed. So many countries produce strains in biological research facilities under the guise of defense.

That is precisely Greenwald's point, he has never claimed that bioweapons are manufactured in Ukraine. He has claimed that dangerous biological agents might be present, like they were in the U.S. in 2001.

It takes a lot of history and reading to understand Greenwald. The man is a walking encyclopedia, very careful in his statements and touches issues of great complexity. One can rarely refute him in a one liner.
What if these aren't retreat plans? I assume the plan is now to fully take Mariupol, destroy the army that Ukraine has on Donbass (and which is also very tired and without munitions) and by that, sort-of achieve the military objectives.

I don't know what's the plan of converting a local military victory to a political success, though. The idea was to make Ukraine recognize the loss of territory - don't see that happening.

I'm not writing to you directly so please only respond if you have anything constructive.
NASA Liquid Lens Space Telescope Could Be 100 Times the Size of Webb
Yahoo released Vespa as open source: https://vespa.ai/

It has everything you need at a platform level to build a production recommendation system given that it’s the engine that powered a lot of yahoo product’s search and recommendation capabilities. I have been experimenting with it, the number of capabilities are immense. It’s really an untapped resource.

Take a look at the features: https://vespa.ai/features and the ranking syntax: https://docs.vespa.ai/en/ranking.html

Really cool stuff, I haven’t even scratched the surface of what it can do.
Private Click Measurement: Fraud Prevention and Tracking Pixel Replacement
Chumsky: A Tutorial
I just visited their web page and I had to laugh at the fact that preact is faster than React in their benchmarks... I used preact for hobby projects to avoid the horror of JS build systems. I didn't know that this is going to get me more performance.
Spinning can be prevented (by attaching event handlers), and the spinner buttons can be hidden.

The disadvantage of the proposed solution is the lack of (automatic) feedback. Browsers tell you when the a number input exceeds the min/max range, in the browser's default language. If you want to validate a text input field and tell the user the number is too low or too high, you'll need to provide your own translated text.
It's the same with any system. Private ownership requires the use of force against people who aren't complaint with the idea that they shouldn't own things instead, so it requires violence.

Also, by definition, anarchist collectivism has no strong central authority. People who aren't compliant probably shouldn't be living in an anarchist collective in the first place, but choice of social/economic system is sadly not granted as an option. In so much of the world today, people are forced to live under capitalism, like it or not. And people claim that this is "freedom"
> No other smart watch had that feature, and (almost) no other smart watch has it today in 2022.

That's not really true, unless your definition of a smartwatch is limited to Apple/Android devices with LED displays. I use Garmin Fenix with a transflective display which lasts about 2 weeks on a single charge. However, like with Pebble, there are some tradeoffs: the display is not as bright (but clearly visible in the sun), it has less colors, and the screen resolution is lower.
How to Build User Interface for Random Forest in Jupyter Notebook
> Who the hell wanted either trump or biden

Let's just dismiss the millions of votes cast in 2020, then?
I'd also hazard that throwing in an if statement in place of a temporary variable is a bad idea.
> I know I will never be able to buy a house. That is why I rent.

It really depends on your local market, but for my specific case (France, Paris area), it's cheaper to buy if you stay there for ~5 years than to rent. I had some extra help from government programmes encouraging homeownership, town redevelopment and new constructions through lower taxes/cheaper loans, IIRC the generic advice for my area is ~6-7 years. Also it's technically not a mortgage because the place itself isn't collateral and it won't be immediately repossessed if I stop paying the bank, but that's just how things work here. Loan rates being what they are, there's very little incentive to save upfront for decades to be able to buy outright.
> MO the strict aliasing rule is a mistake, people know how the code should behave, so it should behave as expected.

The strict aliasing rule exists because without it a C compiler has to second guess every load and store, which would have been horribly slow in the 80s and would be even worse now. It still ends up doing that for distinct pointers with the same type, which is why you can explicitly restrict them in newer language versions so the compiler can assume that those pointers wont alias.
There's also reactionaries who want to run the clock back - traditionally these would take the form of loyalists after a monarchy was already deposed, like the Bonapartists in France.
I meant as much as we know ours now, not at age 4. I don't recall what or whether I thought about gender at all at that age. But I don't remember ever really thinking about my gender except in the context of conversations around gender topics like this one. Presumably for cisgender folks there's not normally any motivation to do so, any more than you'd spend time specifically thinking about other aspects of your person. But I can see how one would be much more likely to think about it if the gender they experience doesn't match their physical body and how others perceive them. And I've spoken to enough people with very similar experiences that I have no reason to doubt them.

And I guess that's what I don't understand about those who find transgender kids implausible. From what I can tell, the vast majority of transgender people will tell you they became aware of it in early childhood. Why would they lie? I can't come up with a speculation that doesn't sound like an absurd straw man.
RMIT’s Answer to Revitalising the Melbourne CBD Is a DAO
> For whatever reason, the Java tools have had these from the beginning.

The double hyphen thing was standardised by the GNU project.

James Gosling didn't like GNU (I think based on something that happened in the Lisp days?).
While I can get behind hexagonal architecture quite well, the more I use DDD the less I like it. It feels like doing DDD correctly is immensely difficulty, time consuming, makes code harder to read, etc... .

While everyone seems to want to do DDD, I've seen so many different approaches to it that always seem to slow down the projects as time moves on, because it becomes a constant struggle with the architecture. And for what? Benefits like a clear domain language that can be shared with the business does not require DDD. Most (if any) projects feel like they are ill fit for DDD.

"Ah, but that means you're doing DDD wrong!", I can already imagine a few people say. But I'd like to see one agreed upon approach to DDD that works when things start to get complex, rather than another super simple example that's supposed to sell you on the idea.
> If your model is, "banks want easy money, and will lend to low-credit risk people" then it is surprising, because the same risk should get the same rate.

Well, yes, banks _do_ want easy money. And lending to someone with 10 years consistent employment history is much easier than lending to someone with a complex self-employment situation; the former is likely largely a case of looking up risk tables, whereas the latter likely involves significant work by a human specialist.

Like, maybe the person in the tweet _does_ have the same risk as, say, the average person earning the same average income, but there's no way for the bank, or the tweet reader, to know that without substantial work.

Even in countries which doesn't have a Fannie Mae equivalent, self-employed mortgage lending is generally treated specially.

They should be going to a specialised lender.
Write a tinder-simulator so guys in their early 20s can practice chatting with women in vitro using sentiment analysis. Had the idea yesterday, but lack the spare time to actually make it happen :D
> My position is trivially superior

That is just your unsupported claim. I don't agree.
I once spent more than 40 minutes in a Parisian train station trying to find a platform; had to ask for help multiple times, all the signs pointed to a general direction across a hall.

A couple weeks later I was in the London underground, felt like I could not get lost there if I tried.
I disagree, the company I work for is big but not massive and yet even using this kind of approach on a single product in our suite has been really beneficial. Its not as complicated as you may think, its just about keeping the code clean. Its allowed us to refactor technical implementations with much less risk and makes the code easier for people to follow. Sure it maybe a bit of a mental shift, but its not like you wont find benefits in it. (And I disagree with the insinuation that its more complex or slowing down development, I actually find the opposite is true).
Because America has a right-wing party and a far-right party.
I loved my Pebble. Had the first edition in Black with a watchface that you could only read if you knew how, used it until it broke years down the line. (The little plastic on the sides revealed the electronics, closed it with bluetac, but at some point water got in and ruined the internals) Got the Garmin Instinct Solar Tactical now, and am very happy with it. 1 month of battery life is just mindblowing to me. It also looks sleek as hell (I've got a techwearish style irl)
That's an old trick that, IMHO, makes no practical sense at all.
Unless you are in tight long running loop that needs to swaps several pair of values, the advantage of the trick is rather tiny with the extra disadvantage of portability and readability.

Watch your steps! The swap with floats relies on sizeof( float ) == sizeof( int ) which could not always be the case.
Yes, you can create a set of macros and conditional compilation stanzas to cope with that and cover also char, short, long, long long, double and long double.

Finally, the explanation on why it works would be a great supplement to the article.
OpenLaw
Bill Clinton did not give Republicans the idea to ignore blue collar workers. He got it from them.
Did the FBI Steal $500M from Treasure Hunters?
> admitted that there were biological research labs

Which is fairly normal thing to have in a developed country. And is much different thing the bioweapons lab.

This muddying things does not make Greenwald's sound better. It makes him exactly what he is - someone building conspiracy theory.
We decided to move 90% of our workload from the cloud to on-prem infrastructure
In my experience this is more a European thing, I don’t have the same issues elsewhere, and then in the case of Europeans, they have said, you’re not like I expected an American to be, so they recognize their bias.
CGA 16 colour was only 160×100 (it was 80×100* text mode pretending to be graphics [1]). Much more commonly used was 320×200 4 colour.

* Font height changed to 2 pixels, so 100 lines of "text" instead of 25 (640×200 actual pixels).

[1] https://www.cs.mcgill.ca/~rwest/wikispeedia/wpcd/wp/c/Color_...
For me many macos things are weird.

One of the latest ones: to create new window for safari you have to press Cmnd+N. But if safari is maximized, you have to press Cmnd+Alt+N. Why? No idea.

And the fact that I have to manually adjust safari window width to make it full screen without hiding other interface elements is even more weird. Some apps support alt+maximize, some do not. Safari is latter. Definitely no technical reason.
Typo in the title (should be "Compiler" and not "Complier")
The most surprising thing to me about DDD is how bounded contexts (BCs) is a linguistic boundary, and how we talk about things is dependent on where we are in the system. It feels very human, which intrigues me greatly.

To craft a metaphor; the software system is a like Europe and each BC is a country like Spain, France, Italy, and Germany. Each country can be said to have its own culture and language. During trade or tourism, the countries interface in a more limited common language/interaction. But when in Rome, do as the Romans do.

The most thrilling thing for me is seeing how one tests in hexagonal architectures. I am attracted to testing and I really love seeing how folks approach testing. The core (domain) remains the same, but observable side effects come from what you plug in. Want to send an email given some scenario? Plug in the production code. Want to test it? Plug in a module to create test assertions.
Messes are obviously bad but I dont think these patterns are the answer. They typically balloon the amount of code in exchange for nothing more than a bit of consistency and the ability to write some fairly hollow unit tests.

Hexagonal works where you have a big solid core of complex stateless business logic but thr fact that it's very common to NOT have this and hexagonal presents itself almost as a panacaea makes me hate it a little bit.
> That demographic advantage was twenty years ago. Today China has a terrible demographic structure—more old people than young people and a fertility rate well below replacement level.

Indeed, and because it has waned and the supply of young people dried up, companies are already moving to Vietnam, India and probably, once China fixes up the infrastructure as part of the New Belt Road program, Africa.
I always had difficulties in school and have always suffered from being a daydreamer, had trouble remembering stuff that does not interest me, emotional deregulation, periods of hyper-focus but also complete lack of focus, etc. Because of that I had trouble finishing high school, never finished college and would jump around jobs every couple of years…
After suffering from this for years (I’m in my late 30s) and after seeing some Youtube videos about ADHD by chance, I decided to get diagnosed. Booked an appointment with a doctor that is an expert on ADHD and focus specifically on treating undiagnosed adults.

The results after multiple tests (my doctor even asked to talk with my wife) came back positive.

For the past few months I have been trying different medication and dosage and the improvement in life quality has been massive. I’m super productive at work, my mood swings are gone, I can recall stuff much more easily and I’ve been doing things I’ve been postponing for years: learning new technologies, reading a ton of new books, doing side-projects, etc.

My recommendation is to get properly diagnosed and if things come back positive discuss starting on medication. I know that in the USA (I’m in Western Europe) ADHD and medication for it have a lot of stigmas and misconceptions associated and some doctors are reluctant to put people on meds (especially adults from I’ve read) but doing nothing and just trying to live with this condition without any help is hell…

Good luck!
Submitted because these posts are part of the onboarding guide for my new workplace, and I found these posts hugely clearer and easier to follow than the official docs!
Reminds me of Knuth's paper 'The errors of TeX'. He had logged all bugs he made while programming TeX and classified them. Paper is online here:

https://yurichev.com/mirrors/knuth1989.pdf
That last part is only true if you completely ignore the Querdenker movement, which has overlaps (or at least "strategic alliances") with the far-right and QAnon.

What Germany is lacking in social media it makes up for in WhatsApp status updates and Telegram groups. The landscape is less homogeneous in Germany with only a minute fraction of people using Twitter, Snapchat or TikTok for example, but you're extremely underselling the overall magnitude.

There's a ouroboros of sharepics and clips spreading between Facebook/Instagram and WhatsApp/Telegram and vice versa dragging in additional people in every rotation. Instagram sharepics being shared in Telegram groups, TikTok clips showing up in WhatsApp status updates, and so on, often with direct links back to the source so people can jump right into the funnel.

I've seen it with the anti-mask and anti-vax protesters, now I'm seeing it with pro-Russian propaganda. Meanwhile the Querdenker movement seems to be slowly rebranding as a "peace movement", but always with the same broad strokes messaging to distrust the government and to be critical of every party other than the AfD. Whether it's anti-queer, anti-vax or "anti-war", the ideology is fungible and arbitrary, but the underlying message remains the same.
Well, yes, but I never disputed any of that. I wrote, "A cat is not a rigid body and is absolutely accelerating towards Earth, experiencing the physical effects of gravity." Are you saying that is wrong?
There are a few services that seem almost deliberately bad though.

Tax Free Childcare is a scheme that allows you to pay for daycare and get a 20% discount applied via the government.

It works quite well, but I'm convinced there is a deliberate attempt to frustrate people and stop them using it to save money.

For example, you cannot bookmark the sign-in page, you have to search for it from the gov.uk homepage each time and go through several intro pages. And then you have username + password + 2FA + 3 security questions.

And you have to login every 3 months to re-declare your eligibility.
They reportedly cost between US$87,000 and US$120,000
A similar old trick that both swaps x with y and negates y:

x -= y // x-y, y
y += x // x-y, x
x -= y // -y, x

If (x, y) represents a 2d vector this operation rotates the vector counterclockwise 90°.
Not a direct answer to your question, but at least in English there isn’t that much stuff on how TikTok’s recommendation system works internally. This is the best breakdown I have found on TikTok’s recommendation system internals: https://leehanchung.github.io/2020-02-18-Tik-Tok-Algorithm/

There’s a more technical recent paper from bytedance as well: https://arxiv.org/pdf/2007.07203.pdf

And another recent one on bytedance user profile system, this paper gives the deepest understanding of their recommendation system: https://www.cs.princeton.edu/courses/archive/spring21/cos598...

There’s a good breakdown of the recent nytimes article on TikTok’s internals here: https://read.deeplearning.ai/the-batch/issue-122/

If anyone has found anything better let me know.

If you try searching yourself you will want to try switching between the keywords “douyin” “toutiao” “bytedance” and “tiktok.”
Russia ‘using weapons smuggled by Iran from Iraq against Ukraine’
This is so fun! Thank you for sharing it.
I usually use the this extension: https://marketplace.visualstudio.com/items?itemName=Kelvin.v...

Which doesn't starts up any server on the remote server.
Apple Watch isn't really a competition - AFAIK Pebble never worked that well with iOS anyway (because of the usual iOS issues with third party hardware and software).
This is not protection. People will get it from letsencrypt or any other CA.
Recap of the funding experiment (2019)
This comment displays a lot of ignorance and prejudice.

"JS people" have not been reinventing much at all. Operating Systems aren't even close to offering what "JS people" needs at the granularity they would benefit from. By that measure, the same complaint can be made about the Java or .NET virtual machine, for example.

If anything, what the "JS people" of today is trying is to fix are all those "dangerous parts" that were added there with abandon by browser makers and OS people and will probably never be fixed in our lifetime.

> I am also not really looking forward to when javascript realizes the need for persistent services

It might surprise you, but Node.js works in the backend from day zero, and Service Workers have been working in the frontend for several years now. You're more than a decade behind the times.
You can double click on the top bar to maximize it. Far from discoverable, though.
Related: my feeble attempt at adding -h and --help to go subcommands: https://gist.github.com/MawKKe/485ad4ce21223309d2e90713f3b9b...

(might be really buggy, let me know)
Amazon’s cloudy desktops creep towards cloudy workstations
Never do find in files or run package managers?

JetBrains never works on sshfs as it parses files for dependencies.