skysight-inc/HackerNews huggingface dataset:
Different browsers behave differently because the spec is flexible (good or bad). For example exactly what algo is used to draw a line is not specified AFAIK which allows a browser to use a faster algo if they have one rather than spell it out down to the pixel. For example if they fall back to software rendering maybe they don't antialias.

Of course that has pluses and minus. The plus is browsers can try to be more efficient. The minus is the issue you ran into which is frustrating.

Maybe someone (me?) should go update the MDN docs with a note :P
Protocol ping pong:

(｡･ω･)ρ┳┷┳ﾟσ(･ω･*)
I am more a proponent of some forms of hedonism. An emperor talking about indifference to pain or not seeking pleasure isn't someone I could follow philosophically.
I agree that some of radical pro-WFH people might seem entitled, but I think in reality they just too fed up with open-spaces and commute and see pandemic as their last chance to normalize WFH across the industry. Also, I honestly don't see why it is such a big deal to let every team decide how they want to work.
The WNBA is subsidized by the NBA. If you want to build a successful sports organization, don’t model yourself on the WNBA because whatever they’re doing isn’t working.
Weight change happens depending on whether calories consumed - calories burned is positive or negative.

Diet tends to be more effective for weight loss because it's a lot easier to cut excess empty calories than it is to burn them off with exercise.

Jogging a mile might burn 150 calories. Eating a Big Mac adds 600.
What are the different community softwares out there?
Does anyone know of the different community softwares that are on the market? They can be paid(saas) or free like facebook groups. Any that anyone knows of will be a great help!
Obviously the the reason that the CCP is able to do these things is because they HAVE control. Do you think the taxi app, mall app, or a chat app is a threat to their control? Their firewall is notorious.

I don't even get it why you bothered to mention Ant, I wouldn't feel sorry for comsumer loan companies in another lifetime. You claim it to have pushed economic growth, that's the same as saying the pre-2008 housing market in the US is a huge pillar of economic growth, and look at where that lead us.
“We welcome foreign investment and advanced techniques. Management is also a technique. Will they undermine our socialism? Not likely, because the socialist sector is the mainstay of our economy. Our socialist economic base is so huge that it can absorb tens and hundreds of billions of dollars’ worth of foreign funds without being shaken. Foreign investment will doubtless serve as a major supplement in the building of socialism in our country. And as things stand now, that supplement is indispensable. Naturally, some problems will arise in the wake of foreign investment. But its negative impact will be far less significant than the positive use we can make of it to accelerate our development. It may entail a slight risk, but not much.” — Deng Xiaoping

I’m sure you know better though.
So I suppose the question then is how hard is it to acquire the black powder and primer? I know when I was a teenager in the 90s, in rural Ohio, it was very easy for my friends and I to get our hands on the stuff. Is that still the case today?
Scientific studies would be better sources of information than articles. In any case, the evolutionary discussions are not an argument for modern diets, for obvious reasons. The only thing with any merit in the links you posted is about DHA. Your body CAN produce it from plant sources, but if you must insist on taking DHA, it comes from algae, and there are algal sources. Animal sources get it from algae as well. If you are suggesting nutricional deficiencies due to DHA you need to provide real references indicating that, and not general articles on the nutritional profiles of meat vs vegetables that make vague associations with health outcomes.
in which scenarios is it not good enough?
Interesting. For images with few colors, manually optimized PNG can work better than WebP.
"German blog reader Tobias has now had the unpleasant experience that this required activation no longer works – neither the online activation, nor a telephone activation"
Influence public opinion, destabilize the financial system
Thanks for linking this! I've wanted exactly this script, many times.
You're really better off selling it to a demon anyway. If you get nothing out of it then when you get to the afterlife you can convincingly claim that the demon reneged on the deal.
Let's not put Xi on a pedestal. His family is certainly corrupt as heck (like all the princeling families of Mao's companions that dominate Chinese politics), as the NYT investigated (and this led to it being banned by the Great Firewall) and his anti-corruption drive is highly selective.

He has also done tremendous institutional damage to the PRC by rolling back Deng's reforms and going back to the Mao model of, ahem, governance. That Xi himself is a relatively competent leader does not guarantee his successors will also be, and you have to consider how Mao killed more people than Hitler and Stalin combined through sheer incompetence to understand how dire the consequences could be.

It's interesting given his family history: his father was purged by Mao, rehabilitated by Deng, but eventually also fired by Deng. Xi Jinping had a very hard time after his father's fall from favor, and some have compared his adoption of Maoism as a form of Stockholm Syndrome.

Xi also overreached by challenging the US too soon rather than bide his time and wait another couple of decades by which point China could have weaned itself from dependence on the US for tech like semiconductor fabrication and been much less vulnerable.

Xi's model of governance is essentially the traditional Chinese model of an Emperor aided by a mandarinal bureaucracy, just with engineering substituting for study of the Confucian classics as training mode for the mandarins. Chinese politicians' advancement is conditional on them meeting GDP growth objectives (now also environmental indicators), essentially it's run just like Google with its OKRs.
JSON data is also a valid Prolog term, and the declarative programming language Prolog is ideally suited for handling tree-shaped data.

Using for example Scryer Prolog, we can conveniently relate the data to a flat list of items with Prolog's built-in grammar mechanism, definite clause grammars (DCGs):

flat_json(JSON) -->
{ JSON = {A,B,C,D,E,F,_:Cs} },
[{A,B,C,D,E,F}],
flat_items(Cs).

flat_items([]) --> [].
flat_items([I|Is]) -->
{ I = {(A,B,C,D,E,_:Cs)} },
[{A,B,C,D,E}],
flat_items(Cs),
flat_items(Is).

Sample query, using the example JSON data from the article:

?- JSON = {
"id": 27941108,
"created_at": "2021-07-24T14:15:05.000Z",
"type": "story",
"author": "edward",
"title": "Fun with Unix domain sockets",
"url": "https://simonwillison.net/2021/Jul/13/unix-domain-sockets/",
"children": [
{
"id": 27942287,
"created_at": "2021-07-24T16:31:18.000Z",
"type": "comment",
"author": "DesiLurker",
"text": "<p>one lesser known...",
"children": []
},
{
"id": 27944615,
"created_at": "2021-07-24T21:26:33.000Z",
"type": "comment",
"author": "galaxyLogic",
"text": "<p>I read this from Wikipedia...",
"children": [
{
"id": 27944746,
"created_at": "2021-07-24T21:49:07.000Z",
"type": "comment",
"author": "hughrr",
"text": "<p>Yes although I ...",
"children": []
}
]
}
]
},
phrase(flat_json(JSON), Cs),
maplist(portray_clause, Cs).

yielding the flat list of entries, as desired:

[{("id":27941108,"created_at":"2021-07-24T14:15:05.000Z","type":"story","author":"edward",...)},
{("id":27942287,"created_at":"2021-07-24T16:31:18.000Z","type":"comment",...)},
{("id":27944615,"created_at":"2021-07-24T21:26:33.000Z","type":"comment",...)},
{("id":27944746,"created_at":"2021-07-24T21:49:07.000Z","type":"comment",...)}]
> how little this society cares about those that need the most compassion.

Two college professors are walking along and chatting when they come across a man who has just been brutally beaten. He is bloody and groaning with pain. The professors look with horror upon the sight. Finally, one turns to his friend and exclaims, "We need to help the man who did this!"
When a researcher receives direct funding they will disclose the source. It gets interesting when the funding source is indirect, let's say the departmental chair is funded through the Mercatus Institute. Of course any new faculty member will not go against the prevailing departmental winds and they need not disclose where the department gets a good chunk of funding from.
Comments like this always remind me of the interview with some kids dumpster diving behind some grocery store that I read many years ago: “Look at all those suckers going into the store to buy stuff with money, when you can just pick it up for free behind the store. Idiots!”
> C++ incompatibly requires a name for all struct and class declarations

You're right about "enum class", but anonymous classes and structs are perfectly valid in C++:

https://godbolt.org/z/7MbcqhnoK
This is such a great article because it takes an existing genre (Lifestyle coach) and actually does what they're meant to be doing. There are all those people on social media who spend their entire time performatively having a good time in order to sell you material about how you too could live like a king whilst doing nothing (with the advice actually being worthless, because their true revenue stream is to sell you worthless advice and by definition, they can't advise you that you too should be selling worthless advice - what you really need is passive income).

At the end of the day, this seems like a great lifestyle for some people. But I'd soon miss my family, I'd soon be worried about which school I want to send my kids to etc. etc. Also, maybe I'm not in the same industry as this guy, but I would find it very difficult to pick back up if I went off traveling for months between gigs.

Oh also one thing I feel like I should always bring up - a really confounding problem to this advice is the pre-requisite is "actually be good at something". It's like when Gordon Ramsay walks in to a shit restaurant and tears them to peices about all the reasons it's failing, and you want the owners to turn around and say "Of course we're not as successful as you, we're not world-renowned multiple michelin starred chefs! We're not good at this!"
Let’s not forget all of the pollution that rush hour traffic entails. Even if you drive an EV, there’s still the prospect of pollution from tires.

Everyone likes to talk about supporting efforts for climate change until they are presented with an actionable choice that negatively affects their personal habits.
> Oh lord, being “forced” to provide work in order to receive the work of others

I didn't write the comment you responded to, but I don't think its author was advocating for the mythical "free lunch." I read their comment as a statement decrying the seemingly artificial constraints built into modern (American, I presume) society that force workers to make an essentially binary choice between a stable, secure life and one of, potentially, poverty and marginalization.

To be more explicit - most people can't simply provide (even valuable, in-demand) work on their own terms, so they're forced (by various intentional and unintentional social/economic/legal/etc. barriers) to work according to terms that may not make sense to a rational third-party. This is (probably) why the commenter you responded to mentions the binary distinction between financial stability and physical insecurity - there's hardly any middle ground between the two categories when it comes to most fields of employment. Although "tech" is probably the most flexible industry in this regard, it's still difficult to find positions that allow part-time employment with health insurance benefits (even at lower-than-average pay rates), for example.

In most industries, the prospect of being able to work to provide only enough "value" to comfortably sustain oneself, as opposed to "being forced" to fully commit to the lifestyle (i.e. 40+ hours/week, car for commuting, lodging within commuting distance, childcare, general cost of paying for convenience in food/housework/etc. due to having less free time, etc.) is laughable. I believe this is what the commenter you reference was referring to - having the freedom to live cheaply without becoming financially insecure or socially marginalized, not some desire to have others pay for their lives.
Give management a new role: ‘make the office worth going to’

e.g. no meetings in dusty conference rooms that could be done remote, instead, actual interactive events that are occasional but useful for relationship building and collaboration.

The future of going in 5 days a week is gone, the pandemic and the internet killed that. When you do get the team to go in, make it worth it.
Javis.jl – Julia Animations and Visualizations [video]
Stop Telling Devs What to Do
You said you were young, so let this old person give you some advice. If you think interacting with coworkers is opposed to being a productive employee, you’re gravely mistaken. Also if you think you need to optimally schedule every day to maximize work, you need to rethink your life.
Drive to charge packagers for recycling, but industry fights
I built a reddit clone which is MIT license.

https://github.com/profullstack/upvotocracy-ui-ssr

https://upvotocracy.com
WebP Compression Techniques straight from Google (both lossy and lossless)
It's called mercantilism, and is a well-worn strategy. The US used it against the UK, who had used it against the Dutch before them, and the Germans had also used it against the UK.
What if the mobile verification toolkit is Pegasus?
They couldn't do office work.
Nice, I've always thought Python could do better by adopting source transformation tools like babel. I implemented something similar using lib2to3, which preserves whitespace and comments more accurately (than the ast module): https://github.com/banga/prefactor
It's not just Europe. Many of the US academics and NGOs like the EFF are heavily subsidized by Google.
I think the comparison of carbon footprints between the average westerner and the global south seems to indicate these issues aren’t about the raw number of people and absolutely to do with lifestyle.
I have experienced remote work from my bed for 2 years now and I can confirm that I do prefer working from my bed in every circumstance.

But if push came to shove and these employers decided literally everyone must come back to the office (and not this bullshit where select politically alligned teams dont have to), then for $150,000 a year I can survive just fine in a cubicle.
I was thinking more of bacon when I wrote that, but yes, pork is more staple. It doesn't change my opinion about the balance of rights though.

As a sibling comment says, disadvantaged families could receive additional benefits to offset meat price rises.

You could subsidise welfare improvements but pushing costs up has the benefit of allowing more environmentally beneficial alternatives to break through on value for all consumers.
Except doing so is probably much more complicated than actually dealing with the CSS and HTML. Hell, it would probably take twice as much manpower to make this remote browser thing accessible than it took to make it work in the first place.
How does building a parallel dom help, given the point of this is to not execute code on the endpoint?

nm, see (your answer) https://news.ycombinator.com/item?id=28028892
I very much agree with you. I grew up without microwave oven or dishwasher. Neither of those are essential in any way, but claiming that those don’t provide great time savers for parents (single or not) with small children would be ridiculous.

I don’t remember where I saw the numbers, but in 1980 a microwave cost more than a months (average) salary. Today I can buy a good one for less than half a day’s earnings.
A man who should’ve lost the Battle of Hastings: The Saga of Swegen Godwinson
I completely agree. At work we still use SVN, so I'm used to TortoiseSVN which is OK imo. Now for GIT there's TortoiseGIT, but it was such a bad experience. The TortoiseSVN background made it even worse, because things seemed similar, but did totally different things.
So weirdly, for SVN I still use Tortoise, but for GIT, I prefer the CLI client.
One could try handicapping as is done in horse racing to even things out.

See https://www.britishhorseracing.com/about/handicapping/
"Around 60% of all of the races run in Britain each year are handicaps. These are races where the Handicappers try to give each horse an equal chance of winning by allocating them different weights.

The highest rated (or ‘best’) horse in the race is given the highest weight to carry; and then inferior horses will carry lower weights.

For most owners, handicaps offer their best chance of winning a race. Without them, the top horses would almost always win and there would be no point in owning anything other than a top horse."
Wall Street Prepares to Pounce on Post-Moratorium Housing Market
That assumes that the Japanese version of democracy works similar to the ones we live in. Which it doesn't, at all.
It's more of an authoritarian system with a friendly, democratic facade put in front when the US pressured Japan to modernize after WW2.
A very interesting topic, I've recommended this book on HN before: Karel Van Wolferen - "The Enigma of Japanese power". Basically what we think of the system of modern Japan in the West are carefully doctored fairy-tales and mythology.
Linux kernel is large project and clearly C is sufficient for it, given the fact that migrating to C++ would probably be very easy (not using all C++ features, but just selected ones), yet it did not happen.

I think that C++ is better than C, but C is not that bad, even for large projects.
Did changing GIT_EDITOR to something else not cross their minds? Or did they not even bother to check if it can be changed?
Imo this is not “perverse”. In my vector library I alias a vec3 as float x,y,z and float[3] using this technique.
It’d certainly be an interesting landmark to live in
It’s true, there are plenty of engineers who are capable of dealing with customers. PMs, however, did not come from an idea that engineers are antisocial, you’re making assumptions. PMs have long existed in other industries where the very same is true as software; the people building the product are often capable of talking to customers, but don’t.

The reason PMs exist is because it’s a full time job, just like most roles. Being an engineer and/or tech lead is also a full time job. In larger companies, we tend to split out full time jobs. Often in small startups, people have multiple roles. So in a small company you might see someone talking to customers and engineering. In a large company, it’s far more likely that the engineer and the PM are two different people.
There exist also registered shares[1] for wich each owner of a share is registered in a shareholder register.

[1] https://en.m.wikipedia.org/wiki/Registered_share
> Are screen readers capable of reading interfaces generated with QT or other desktop UI toolkits?

Qt is one of the very few UI toolkits that is more or less accessible. And even Qt's accessibility implementation isn't great. My advice for someone implementing a cross-platform desktop app would be to go with something based on the web platform. That doesn't have to be Electron; Tauri [1] looks promising, though I haven't tested it lately.

> As an addendum, I'm pretty hopeful that in this decade we'll get AI vision enabled screen readers so anything that's displayable to a sighted person can also be immediately used with some caveats by someone reliant on screen reader.

Sadly, that might be what it takes to get access to applications using the long tail of UI toolkits.

[1]: https://tauri.studio/en/
There are other areas where the Chinese government is cracking down on improductive activity that is harmful to the economy without challenging the CCP's power, like real estate, bitcoin miners or most recently EdTech.
I still do this remote.

I meet with my team once a day for 15-20 mins, and once a week for a full hour. I meet with each of the team leads once a week for a half hour. I meet with my boss once a week for an hour.

This is important for a few reasons:

1. Keeping coordinated with work. We get that out of the way first.

2. Replacing the work-type water cooler conversation. There’s a lot of problems, random thoughts and questions, etc that may never rise to the level of scheduling an actual meeting but are valuable to resolve. The meeting is already there and the time is already spent, so the barrier and cost to bringing these up are nil. This has led to a lot of improvements and moving things forward in a way they wouldn’t have been otherwise.

3. Personal connection. Once we’ve got the work sorted out, just hang out and chat for a few minutes about all the things you’ve mentioned.

I spend like 5-6 hours a week on meetings like this, just beginning/end of day so it’s not a interruption to anyone and everyone I’ve asked finds these meetings valuable.

We’ve had to onboard a lot of people since we went remote and I’ve developed good working and personal relationships with many of them. And I still get the chance to ramble about home repairs and kids.
Counterpoint: I have serious doubt that many people (even those religious) believe you can sell your soul using a contract from the legal system in this mortal world. Thus, almost everyone should see it as the joke/fun that it is, and not you actually valuing your soul at $10. "I sold my soul for $10" is a lot better icebreaker than I've ever used.
Yeah and the thing is... I'm not even a developer. I'm an IT Architect. It's just a really poor fit so they 'bend' all the development stuff to make it mean other things (like the epics). When you do need that you know the methodology is just a poor fit. But anyway... they want the entire Enterprise IT team to work off Jira because "we need to be agile". And because of the cool reports. So the director can sit at his desk and see the cool graphs and pretend they actually show him what's going on. Obviously they don't :) For example, some of the stuff we're not recording is how teams work together on inter-team stuff (like endpoint architects working to enable something for the network team). Everyone just makes up their own labels. It was a mess from day 1.

And yeah it's slow but not super slow. Pretty sure we have onprem though. Because I can only access it on VPN. Unless they fiddled with some port forwarder which I wouldn't put past them.
I sat next to a guy at the Bellagio who was obviously counting with a base bet of a couple black chips, but didn't go nuts with his betting when the count was hot. The pit boss was an older guy and clearly saw it. In fact he started counting out loud and teasing the player. They really don't care about some tourist who comes out twice a year counting. I assume they do get cross about teams though and maybe local grinders too.

Personally I don't see the appeal of counting, except maybe a simple Ace-5 count[1] since that requires basically no effort whatsoever and nudges the EV to near 1. I like to play to socialize and have that VIP experience the good casinos deliver so well. When I want to gamble for real money I trade options.

Edit: You can even ask for a courtesy shuffle on a cold count in a heads up game and I’ve never seen the pit boss deny it. Casual counters just aren’t a concern at the strip Casinos. It probably doesn’t hurt that I toke generously too.

[1] https://wizardofodds.com/games/blackjack/ace-five-count/