skysight-inc/HackerNews huggingface dataset:
> The #1 reason to upgrade is Microsoft is demanding it for Windows 11.

Isn't that also the #1 reason not to upgrade? In other words, is Windows 11 compelling yet? As of now, mostly I just hear complaints, and ocassionally tidbits about better scheduling for newer chips with multiple core types (which is compelling, but only if you upgraded)
I have no idea where this comes from. I've been working for a company that primarily puts me on long-term consulting contracts, which has me working for many different customers. Obviously, this needs to largely be remote, as I'm not going to move to a different city every year to accommodate some new customer's headquarters, but thanks to the last few years, most of these teams have been fully-remote teams anyway, and they have all been partially remote if not fully.

Other than the initial intro meeting, not only do I never have my camera on, but neither does anyone else usually. Meetings typically have three flavors. One, a periodic "standup" type meeting that involves going over an issue board. Two, an engineering peer review of some sort, that will involve going over a diagram or piece of code or a functionality demo. Three, some sort of swarm or pair programming type thing where you're either collaborating on creating something or troubleshooting an issue. In all of those cases, in order to actually do what you're trying to accomplish with the meeting, somebody needs to be screensharing.

But if there's a screen we should all be focusing on anyway, what would be the point of also adding N superfluous video streams to get distracted by?

Add to that the fact that, at least early in the pandemic, my ISP seemed to throttle me if I went over some unwritten weekly data usage cap I was a lot more likely to hit if I was adding in 8-15 HD video streams instead of just one.

This is different for very small free-form discussion meetings where a limited group of people is trying to reach a decision without having something to present. Maybe in that case seeing each other is warranted and helpful, but that is a very small subset of meetings. I don't see how it can possibly ever be justified to require cameras on all the time in all meetings.
Always avoid throwing custom exceptions. Example: ResponseStatusException in the spring framework.

You can at any point throw ResponseStatusException + http status code + optional message, for example

throw new ResponseStatusException(BAD_REQUEST, "resource must be in status EDITABLE, but is in status " + status);

You can also define an error handler for this exception type to convert it in whatever error response format you desire.

Writing custom exceptions for everything is the definition of overengineering, falls into the YAGNI trap and means kicking KISS with your feet.
Binance's books are a black box, filings show, as it tries to rally confidence
Imagine if he had a boss breathing down his neck and daily standups lol. I don't think people realize how much our society saps our humanity and kills our creative energies and our desires to build things.
I already forgot that feature.

vscode or msword.. doesn't really matter in a way, any keyboard heavy application could give users the history of keypressed, it's natural and often useful

tiny side note, word used to have inline macro tags (dos version 6 IIRC), so one could type

{ if YEAR > 1987 }
text
{ end if }

it was straighforward, and now replaced by GUI heavy systems, user interaction has regressed in a way
Absolutely, it's not like she has been championing consumer, employee, and shareholder protections against corporate maleficence since the 1990's. It's not like Musk and his entities are highly reliant on government funding and regularly have been proven to violate existing laws and ethical guidelines to the detriment of their employees, consumers, and shareholders.
Exactly. The average person is dying to pay to have the privilege of an extra job moderating and administrating their own social feed! This is a bulletproof plan that really understands consumer behavior.
The eyes never lie. Neither does body language; posture, tone of voice, conversational flow. All of those things change for the better when a person is genuinely content and secure with who and what they are.
[Wing team member here]
We also believe that creating good, non-leaky abstractions is hard, but we feel that the cloud has matured to a point where the basic services have enough in common with each other to allow us to successfully abstract their _functional_ parts. We do not abstract away the non-functional ones.

It is true that you would get more benefits from Wing as you write more of your code in it and give the compiler more visibility into your code.
But you are not required to write everything in Wing, and there is interop to other languages. Since the language compiles to TF and JS at the moment, you can import JS libraries to use in your code and take advantage of the huge JS ecosystem.

The cloud simulator is not meant to simulate the cloud, including its non-functional concerns - you have local stack for that indeed. The idea of the simulator is to give you the most light weight and fastest way to test the functional aspects of your code while you develop it. You definitely need to further test it with local stack and/or the cloud.
They've screwed up and spread to thin, such a pain as a user.

Prime Video used to be better but now their're siloing super hard too.
If the wrap around does not work anyway, you can do the following and have it also work for all zeros and all ones. At least I think so, this is a bit ad hoc without putting too much thought into it.

edges = x & (x ^ (x >> 1))
edge = edges & -edges
mask = edge | (edge << 1)

x ^= mask

If you are willing to accept a conditional expression, this will make the wrap around work, I currently have no good idea how to make it work without a condition.

x = (mask == 0) ? x <<< popcount(x) : x ^ mask

The idea is as follows. To increase the number, you have to toggle some bit from zero to one, and to make the increase as small as possible, it should be as far to the right as possible. But to keep the number of ones the same, you also have to toggle one bit from one to zero. This one must not be to the left of the bit you toggle from zero to one or the number would decrease, otherwise it should be as far to the left as possible to make the number as small as possible. In essence this means that you have to find the rightmost occurrence of 01 and turn it into 10.

x ^ (x >> 1) finds all the 01 and 10 edges, edges = x & (x ^ (x >> 1)) finds only the 01 edges. edge = edges & -edges clears all but the rightmost set bit - the two's complement first inverts all bits, then adding one turns all the ones on the right into zeros until reaching the rightmost zero which gets turned into a one - leaving use with one set bit indicating the rightmost 01 edge. mask = edge | (edge << 1) duplicates that bit and this is then used to flip the corresponding two bits with x ^= mask.

Eventually all set bits will end up on the left and there will be no 01 edge leaving x stuck in this state.
Have you read the stories about ill people being pressured to get it because their care is too expensive? Maybe that isn't an accident.
First off - thank you for reaching out - great step!

Yes, absolutely. I’m 44 and starting to thrive. You can too.

For me, going to therapy was key. Cognitive Behavioral Therapy and Dialectic Behavioral Therapy are both effective and relatively short (< 6 months). These will train new skills for you to regulating the strong emotions and helping you with anxiety etc.

Be patient and kind to yourself, we didn’t have a lot of these skills taught to our generation. 1980s was not a time known for kindness and acceptance, for others or ourselves.
I have iTunes Match, but 1) it isn't free, 2) it doesn't seem to do what I want - and often mis-matches, and 3) it doesn't seem to play well with Apple Music songs. There doesn't seem to be an easy way to maintain a hybrid library that includes your (owned/library) songs as well as Apple Music (rented/streamed) songs and lets them coexist peacefully and easily sync and stream across devices.

I don't understand the part about why my suggestion wouldn't be a better system for cloud syncing and streaming a local Music (formerly iTunes) library, if you have one, across devices, which is the original context of this discussion. It would seem to solve the OP and PP issues. Pure streaming is clearly a different use case, as users only need to sync playlists and metadata and won't run into those problems in the first place.

The part I do understand is that Apple doesn't seem to care as much about local music libraries anymore, probably because they don't create recurring subscription revenue. And because Steve Jobs turned out to be wrong about people wanting to own rather than rent/stream music and video: renting/streaming is just too darned convenient, and manual curation is such a pain that most people don't want to deal with it - while automatic curation is buggy and often doesn't do what you want.
Every bit in a bitfield represents a "thing". The bitfield represents a collection of distinct things. If bit "i" is 1, then the corresponding thing "i" is in the collection.
That goes against the "Beating the average" lesson [0] but I guess this thing is already 20 years old, I wonder if it's still relevant now

[0] http://www.paulgraham.com/avg.html
In America, the anti-Romani and anti-immigration stances of many "left" European parties would be considered right wing.

It's almost like not all issues fit neatly on a single left/right dimension.

Also the Democrats created Obamacare which is similar to the Swiss system of mandated insurance, so they obviously do care about healthcare.

And in many states, Democrats have passed gun control at the state level.
There's probably an element of selection bias here. Let's say, hypothetically, the media, writ large, decides "okay, these 20 politicians look dodgy, let's investigate them" in 2021.

It's plausible that something like this happens:

- For 10 of them, the dodginess doesn't ultimately check out.

- Five of them become aware that the media is onto them; either they give up, or their party cuts them loose. They don't run.

- Of those who run, one or two have their dodginess revealed _before_ the election. They lose (er, probably, maybe not, who knows, see Donald Trump!)

- Of the remainder, the media's been slow in digging up the dodginess, but one or two lose the election anyway.

- One actually wins, before the paper is ready to publish. (This guy)

Like, arguably, if the media was doing a perfect job here, you'd probably never hear about it at all; the dodgy politicians would never run, and "someone who _might_ have run for office but didn't is a fraud" is just not an interesting story; even if they bother to publish it won't get much circulation.

(There is another factor; when someone wins election that may prompt people to come forward with tales of their dodginess, too)
Thinking less binary and more in terms of tensions, shades of gray.

Related: the ability to radically change one’s mind on things you believe strongly.
I don't think anyone specifically knows. If you ask the physics, they will point to changes (like pulse shape or component sizes) they made due to their increased understanding of the physics. If you ask the target design people, they will point to decrease fill-tube size and number of defects in the capsule. If you ask the facility, they will say their ability increase both power and control power delivery. Likely, it is a combination of everything.

The other point that has been mentioned to me is when you in the self heating regime, there are exponential returns on increasing "quality" of a shot.
It’s not a mystery. Attention is moving on from TV to phones. I personally spend more minutes on Instagram Reels than watching actual TV content. Most of TV shows are boring and filled with uneventful minutes. I’m in my mid 30s. Probably much worse for younger folks.
A little info on (my) theory of swelling:

When a part of the body is injured, stressed, or just requiring extra nutrition, it swells up. Swelling is a cure. But swelling is also painful and can lead to other problems. The most important thing to do is to make sure the area that is swelling is also getting good circulation. So a simple "pumping" approach of the muscles surrounding the swelled area should cause good flow. And swelling will be reduced.

For example: You walk a long distance with inappropriate footwear. I am talking about 20,000 steps. And this is not something you are used to. So When resting, the body floods the foot with a whole lot of nutrients. But the blood just stays there, because it will slowly and eventually flow out with movement. But the body is not moving, so it swells. Massage pumping the calves will pump the blood out and new blood will flow in. This will reduce the swelling.
I think a pretty big component of it is protein? Mine only comes off with the special cleaner, or powdered detergent (not the liquid kind which is missing some anti enzyme cleaners) (or lots of scrubbing)
I think this is just the wrong way to go about learning things.

There are 3 things to learn at any given time:

1. That which never changes i.e. humans, yourself and others

2. What you need to know to succeed right now i.e. deeper in your current tools and systems, or those you'll need to use next month

3. Whatever intrigues you. Maybe this is what you're asking: what's new to be intrigued by?

To the latter, I would say to start learning machine learning if you haven't already.
A log curve, rather than linear, would make the bars in the center taller and not give the same appearance of a massive change in the measurement. Not for me to say, but I'm guessing that, as is, it doesn't represent the work put into the effort as well as possible.
> What in your mind is a specific example of a concrete system with an emergent property, then?

Not sure if you're joking, but the brain (and consciousness/mind as an emergent phenomenon) is the classic example. Even better, it is what's causing the fundamental problems in this very conversation, due to the inconsistent manner in which it translates terms into meaning (ie: "emergent", "is"), typically not realizing[1] that meaning and reality are similar to the speed of light in that their appearances[2] vary depending upon the frame of reference of the observer.

I am fairly optimistic that AI is going to "force humanity's cultural hands" such that we will eventually have to grapple with this long known but rarely discussed phenomenon. Though, I anticipate censorship, propaganda, and consciousness will play heavy roles in such discussions and screw everything up, as is usually the case with fundamentally important ideas.

[1] During realtime cognition, regardless of whether substantial abstract knowledge is in the person's possession.

[2] And maybe even the things themselves, depending on how (or from where) you look at it - I am still undecided on this.
Going by the linked article, they did care about neighboring property (whose owner paid the fee in advance), so they controlled the spread.
Discourse, War and Propaganda
Probably both IMO. Since melpa there's been an increase in contributions (it helps not having to be license compatible like core emacs extensions I guess), and even then there was heavy work like native-comp that landed very very rapidly.
Reminds me of chain marriages in The Moon is a Harsh Mistress
Recognizing and being willing to admit to others that you have an issue is a big barrier to mental healthcare though. People who won't do that don't see a psychiatrist. So OP has taken an important first step that is really difficult for some, and maybe was for him. Certainly he should keep the momentum going though.
How many people does that pay for?

I could probably buy those people a lifelong holiday in a nice resort for that kind of money...
It's cheap from China ^^
If this is the same story I read a long time ago, one of the reasons the firefighters didn't intervene is because their health insurance wouldn't cover any injuries, due to the house not being part of their unit's responsibilities.

Universal health care might have changed the firefighters' minds. On the other hand, perhaps other liabilities would not have been covered too, so maybe not.
The whole DomainError thing only makes sense if you expect someone to handle this error (and by handle, I mean doing something other than logging and aborting some operation), or if you are writing a very generic library. Otherwise, it is wasted time and extra complexity that makes the code harder to read.
Wish I had known that this wouldn't include line breaks in some places.
3 keywords is serious. 4 is a joke
If you are doing mainstream frontend work and haven't yet moved to TypeScript, that would be my first recommendation.
My first computer! I bought it used in 1977/78. I paid $800 for the 32k upgraded one. I learned to program on this, but actually learned PDP-11 assembly from a book before I purchased it. Of course, not applicable to PET Basic! I loved the graphics on the PET's keys. I wrote a horse racing program (parents were into the ponies!). I stayed with Commodores - A Vic-20, Commodore 128, and then the Amiga 1000. I kept it until 1988 and let my cousin John use it. He sold it years later when I was overseas. I was bummed, but more so now. I would have loved to have had it until now for the nostalgia trip. Talk about constraints in programming. I get some of that now with PICO-8 and other toys, but nothing beats hitting PLAY to load a program!
Related to your very last statement, something I'm trying to avoid as much as possible as a parent is, "because I said so."

That line means, "this is a dictatorship and I do not feel like explaining myself."

I say "avoid" because young children can be irrational or have limited capacity for big picture logic, so there is a need for a (benevolent) dictatorship for safety and growth. Sometimes we cannot always stop to have the conversation, but I feel we need to try. So I've changed it to forms of, "because I said so, but I owe you an explanation when there's time for one."

The follies of a dictatorship are, in my opinion, equally perilous at the large scale as they are at the small scale: it becomes too easy to dominate your subjects and never be wrong. I sense a level of empowerment and agency for my children in the occasional time we review a situation and the conclusion is, "I was wrong, you should have been able to take that to school. I'm sorry." Followed-up with a chat about how I got it wrong and how I try to get it right next time.
I've tried telling people before that the Fediverse doesn't scale, that decentralized solutions where nobody is paying for anything only work for flashcrowds (i.e. torrents), and ultimately this is going nowhere... but nobody wants to hear it. Everyone is sure that "torrents work, so this will work", neverminding the fact that the entire peer-to-peer ecosystem only works as long as there are people to seed, seeding costs money, and there's plenty of content out there with zero seeders. You'd think that would clue people in that this isn't going to work, but there it is. Hell, you'd think the history of Usenet and FidoNet would've given people a clue, but nobody wants to hear that either.

If you're not willing to pay for the services you require... you're going to have a bad time. That is the ultimate lesson of the Fediverse.
[Wing team member here]
Wing compiles to JS + Terraform, so all your downstream tools function as they did before
You’re not wrong about it being an easy fine to pay. But the meat of this is in the rest of the consent decree; Epic is under a 20 year order to maintain good privacy policies, report on them regularly, use a third party auditor (approved by the FTC), and so on. This is not trivial work and from experience the FTC takes these seriously.

It’s corrective justice, not punitive. The FTC is prioritizing prevention of future incidents above making Epic feel pain.
Video codec in 100 lines of Rust
There is no free rider problem.
> When the IPO market is hot and it is easy to list, that may be a bad time for retail investors to buy IPOs when they start trading.

Yes, it's a known phenomenon that IPO's that list during periods of high activity perform worse over time. See https://onlinelibrary.wiley.com/doi/10.1111/j.1540-6261.1991...
My parents' method: you have to earn screen time by doing something productive. In my case, practising a musical instrument. 30 mins of music practice = 60 mins of screen time earned for that day.

I hated it but I quickly became one of the best musicians in our school band.
If it wasn't a gov agency, something could have been worked out on the spot. Ask them if they want to pay the full price, what is it $10k, $20k?.

If you don't pay, you'd have the lowest priority. But there is no reason other than bureaucracy that they couldn't have handled it.
It seems like a lot of folks have responded to conspiracy idiocy by going all-out anti-learning in favor of blind deferral to experts. Even if I thought that was wise, telling people not to research their injuries is like telling the tide not to come in. Better to focus on identifying trustworthy information.
Minor nit: free trade isn't right or left wing in the traditional sense, it's isolationist vs globalist. Marx was generally in favor of free trade because he thought at the time protectionism bred more industrialists:

>The question of Free Trade or Protection moves entirely within the bounds of the present system of capitalist production, and has, therefore, no direct interest for us socialists who want to do away with that system.

>Indirectly, however, it interests us inasmuch as we must desire as the present system of production to develop and expand as freely and as quickly as possible: because along with it will develop also those economic phenomena which are its necessary consequences, and which must destroy the whole system: misery of the great mass of the people, in consequence of overproduction. This overproduction engendering either periodical gluts and revulsions, accompanied by panic, or else a chronic stagnation of trade; division of society into a small class of large capitalist, and a large one of practically hereditary wage-slaves, proletarians, who, while their numbers increase constantly, are at the same time constantly being superseded by new labor-saving machinery; in short, society brought to a deadlock, out of which there is no escaping but by a complete remodeling of the economic structure which forms it basis.

From this point of view, 40 years ago Marx pronounced, in principle, in favor of Free Trade as the more progressive plan, and therefore the plan which would soonest bring capitalist society to that deadlock. But if Marx declared in favor of Free Trade on that ground, is that not a reason for every supporter of the present order of society to declare against Free Trade? If Free Trade is stated to be revolutionary, must not all good citizens vote for Protection as a conservative plan?

>If a country nowadays accepts Free Trade, it will certainly not do so to please the socialists. It will do so because Free trade has become a necessity for the industrial capitalists. But if it should reject Free Trade and stick to Protection, in order to cheat the socialists out of the expected social catastrophe, that will not hurt the prospects of socialism in the least. Protection is a plan for artificially manufacturing manufacturers, and therefore also a plan for artificially manufacturing wage laborers. You cannot breed the one without breeding the other.

https://www.marxists.org/archive/marx/works/1888/free-trade/
> They don't even support having a healthcare system

That doesn't sound right.

> or banning guns.

In which other western country or part of Europe are guns banned?
The proposal fits my intuition. When the return value is an error code, truthy values are an error.

int rc = func();
if( rc ) { /*handle error*/ }

examples from the stdlib: connect(), stat(), etc. Hell, even main is defined to return 0 on success, nonzero on error.