skysight-inc/HackerNews huggingface dataset:
You are right, heap sort doesn't need recursion, and is more efficient than shell sort for large arrays. But if you compare the code size, it is hard to beat shell sort. This is a Java version:

static <T>void shellSort(T[] a, Comparator<T> c) {
int n = a.length;
int h = 16, g = 1;
while (n > g) {
h = h + h + h / 4 + 16;
g = (h + 15) / 16;
}
do {
h = (h - 16) * 4 / 9;
g = (h + 15) / 16;
for (int i = g; i < n; i++) {
T t = a[i];
int j = i;
for (; j >= g && c.compare(a[j - g], t) > 0; j -= g) {
a[j] = a[j - g];
}
a[j] = t;
}
} while (g > 1);
}

I was wondering, is there anything as simple as that, and similarly efficient? I doubt it.
Your need to mention Trump, racism, use of the term "asshole" proved exactly what I was talking about. Enjoy continuing to be wrong, I'm not going to waste any more time giving you my perspective.
I use the Google ecosystem heavily. I don't even have to take my phone out of my pocket to add something to a list in Keep or set a reminder.

Most non-voice systems have too much overhead, and things like adding something to shopping lists while cooking before you forget are a hassle that disrupts what I'm doing.
Yahoo, Oracle, Microsoft, Amazon, Meta, Apple
You didn't read the article. Latana's Democracy Perception Index for 2022 shows that the Chinese believe their country is democratic.

Stats do show at least 120 million Chinese have travelled outside the country every year (except, of course, during the pandemic years). This is not speculation requiring optimism.
It varies. I was at MSFT during the 2008 layoffs.

My division fired a few percent of people.

A friend's group had a "We're firing everyone in Redmond who works on this team and consolidating in Hyderabad."
I think people over focus on poor performers when in reality layoffs are a great chance to get rid of teams and departments that don't make economic sense anymore.
> Most languages that pretend to be strongly + statically typed aren't, by a fairly large margin (I'm looking at you, C++, Objective C or Dart).

What about Dart doesn't feel sufficiently typed for you?
The Impact and Future of ChatGPT
Does China allow Instagram and Facebook in the country?
Experiences can vary a lot. For example, we're bootstrapping a CS research group at SLAC; our goal is to do fundamental CS research. Depending on where you land, that may or may not be typical of your experience. A lot of labs are science-focused (which they should be, but sometimes it comes at the cost of awareness of the CS side).

(We're hiring by the way; a bit stale but [1] is still relevant.)

[1]: https://news.ycombinator.com/item?id=33424570
Twitter has been objectively worse since the layoffs. I get tons of sex-bot accounts liking my posts that never existed before, the app constantly refreshes itself, there’s a few second loading message every time I view my timeline that didn’t exist beforehand, and my timeline is much worse than before (instead of seeing mostly tech stuff in the area of my interest, 60% has become fluff akin to my instagram story rec’s).
Why is old media consistently calling for new media figures to be jailed and accusing them of reputation destroying crimes?
Of note on this point, eduroam service standards require that VPN access be permitted [1, page 32], in part, because VPNs are often part of university infrastructure. Technically, the service definition only requires this for roaming visitors, but it would seem unusual to make a distinction in service on that point.

[1]: https://eduroam.org/wp-content/uploads/2020/02/GN3-12-192_ed...
I work for the federal government and we were "reminded" a couple of months ago that "telework" and "remote work" are not the same. If you telework, then you have a desk at the office, even if you are sharing it and you are usually expected in the office X days per pay period. Remote work is done from home 100% of the time and you do not have a desk at the work agency's office.

I was disabled 15 months ago and HR would not consider a remote work situation; but, they did approve a request for 100% telework. My cubicle sits there, the monitor and keyboard gathering dust. (I've actually been in the office, twice, for a couple of hours.)
Is there an "edge" in the sense that, if you lived there and looked in your telescope in one direction, you see galaxies, but if you turned it around, you'd see nothing?
It seems likely he gets less bang for his buck. The Secret Service is a much larger organization so they can take advantage of economies of scale. On the other hand, government agencies can be very inefficient when permitted to be, so who really knows.
Data harvesting to China is what these people care about
On the other hand, they made it a WebUSB process instead of a standalone firmware, so when they take this update server down, any further controllers found at a garage-sale or whatever can't be updated.

A cookie for whoever's the first to snarf the firmware in-flight and whip up a standalone updater.
> Not because sales staff were laid off.

There's plenty of advertisers who have blogged about "My emails to Twitter stopped getting answered" around the time of the 75% layoffs. This is well documented.

What do you want the advertisers to do? To just keep giving money to Twitter even when all their contacts have disappeared? There's some pretty basic behaviors that have nothing to do with politics here that Twitter is failing at.
Here are some interesting ideas. Scratch seems to come out on top.
Good luck.

start here:
https://www.lifewire.com/kids-programming-languages-4125938

https://childhood101.com/free-coding-kids/

https://www.create-learn.us/blog/coding-for-12-year-olds/

extensive:
https://www.codewizardshq.com/coding-for-kids-free/#github.

might be a bit advanced:
https://www.wikihow.com/Start-Learning-Computer-Programming
It's Great (Fire) Walled
Control over Taiwan means far more than just semiconductors.

US naval strategy is based on Taiwan. With Taiwan in the fold, China's trade can be effectively blockaded should the situation deteriorate to war. It's a last ditch measure, for sure, but a valuable card to hold nonetheless. China is building more pipeline and rail to de-risk this, but ultimately they want full access to the Pacific. Taiwan and South China Sea militarization give them this.

Taiwan going to China turns the tides of Western influence in Asia. Many nations friendly to the West would "switch sides", including close Western allies like Japan and South Korea. This would have tremendous impact to the West's economy, jobs, cost of goods, cost of energy, etc.

Taiwan is perhaps one of the most important subjects that will define this century. There's a reason all eyes are on it.
That's not a "single target". That's four targets and is equivalent to:

FORCE:
a: FORCE
run-a && run-b && run-c && run-d
b: FORCE
run-a && run-b && run-c && run-d
c: FORCE
run-a && run-b && run-c && run-d
d: FORCE
run-a && run-b && run-c && run-d
The elephant in the room have a press release
> So advertisers know that there's no hope for these issues to be fixed anymore, and are now leaving the platform.

Having worked in adtech for a while the more likely scenario is that lots of companies have turned off their ad spend. That isn’t “leaving”, ad spend is volatile coming and going with many motivations is not uncommon. Pausing your campaigns because the ad publisher is a bit broken isn’t permanent.

And whatever is “said” isn’t to be trusted, you won’t get real numbers from a private company and rumors. No doubt there was a big dip around the takeover, but the only thing I’ve heard is a few people complaining about the increased number of ads.

Probably some advertiser tools were broken and the people who’d been talking to those advertisers had been fired, but those are all temporary. Advertisers aren’t going to take some great moral stand unless there’s a clear reason that can be traced back to customers, disliking elon isn’t one of those things.
"I refuse to provide even a single piece of evidence because it is too abundant". This is frightening mental gymnastics. This is, like, cult-level thinking. Whatever virus your brain has caught is really a dangerous thing.
From what I have read Unity doesn't have an in-house physics engine, they use PhysX for 3d and Box2D for 2d .
Shoot you are right, they are port limited on the fourth display. (as the M1 Max has double the hardware from the M1 Pro so one can assume it can support quad 5K, but it has only three Thunderbolt 4.)
I’m no drug historian, but isn’t it safe to say that alcohol consumption is far more universal than hallucinogenic consumption, across time and space?
no hiring process hits 100%. a healthy company deals with that reality incrementally. since many companies have adopted a policy of just generally not firing anyone for performance reasons, they just accrete these people, and when the opportunity arises (i.e. merger), they vent them en masse. I guess its easier to deal with the emotional/morale issues? probably legal too.
Hey, I learned a lot about cybersecurity working around restrictions on the computers in high school! First it's your school, next it's your government, it's important that kids learn these skills so they have the basics of getting around authoritarian bullshit.
It seems you have identified the second commonest cause of high blood pressure.
Have a lot to say, it was an emotional journey with highest highs and lowest lows of my life.

But can't type it all out. Happy to answer any particular question.

In short: I saved up enough not to quit rat race forever, but to see what life was like without the obligation to work for an open ended amount of time. I did whatever the hell I wanted at any moment. Which was euphoric, but it's really really hard to accomplish larger efforts or really meaningful things with that attitude, because those things necessarily come with struggle. With no obligation, you don't need a tolerance to pain. You just quit building your side project when it gets frustrating. I only had staying power doing the things I enjoyed the process of.

After 2.5y (the last 1.5y spent doing 20h/wk contract work, and trying to build a startup) I crashed and burned hard psychologically. Freedom means nothing to me intrinsically, I need a reason to appreciate the freedom or make productive use of it. The appreciation wore off, mountains wore off, I don't actually want to code on my own time. Everyone else in life is busy doing meaningful things to them.
I broke down and got a job again, but with a much different relationship with work.
We all remember PlaysForSure™.
For something to be expanding right now to be true then it must also be true that it began expanding at some point and the center of that expansion (or many centers) a point of reference for the expansion now. If time is linear with a begining at least.

If you aim at a direction in the sky and teleport past the last object or energy in that direction, you yourself becoming an edge of the universe, where will you go if you expand in the direction of the expansion of the object behind you? My answer: into nothing, your very progression has updated the boundary of reality. If you were a dot in a two dimensional window,your arrival at pixel 0x0 and attempt to move past it simply updates where 0x0 is relative to all other points.
Truth.

That said, the use case for flatbuffers and capnproto isn't really about data size, it's about avoiding unnecessary copies in the processing pipeline. "Zero copy" really does pay dividends where performance is a concern if you write your code the right way.

Most people working on typical "web stack" type applications won't hit these concerns. But there are classes of applications where what flatbuffers (and other zerocopy payload formats) offer is important.

The difference in computation time between operating on something sitting in L1 cache vs not-in-cache is orders of magnitude. And memory bandwidth is a bottleneck in some applications and on some machines (particularly embedded.)
Mats3: Message-Oriented Async Remote Procedure Calls
That logic suggests that blue-collar workers have contempt for anyone that isn't a blue-collar worker. Is there any evidence to support that?
Weirdly enough, a lot of the latency doesn't seem to be all network related, but rather encoder/decoder and pacing related. I can't play games on the same LAN over Moonlight/Parsec without noticing the severe drop in responsiveness, but I can barely notice when using GeForce Now. Shadow and Xbox Cloud Streaming are basically unplayable again though.
Microsoft, Apple and Alphabet are sitting on extremely profitable businesses and huge piles of cash. (Other megacaps like NVDA, Meta, NFLX, maybe less so.)

So far we have not seen much in the way of the highly-anticipated earnings decline, and the current projection for Q4 GDP is around 4% growth, which suggests to me that Q4 earnings should be better than anticipated by the pessimists out there.

I would see this as a relatively painless opportunity to cut out low performers. Sure it sucks for those who are being cut, but my experience working at a FAANG tells me there are a lot more than 10% who contribute very little.
Oh yeah, ofc. Thank you for the correction! :)
> Since optional typing, dynamically typed languages got the guarantees of type checking

Optional typing, at least in TypeScript, will not give you the guarantees of type checking. It finds many of your type errors, but not all of them because the type system is deliberately unsound.
I should have stayed logged into Vultr. I believe they like all the others have bandwidth charts that show usage per VM and per account. Not all of them pool the allotted bandwidth. The same systems that build those graphs are the ones controlling bw over-usage. Their graphs should line up with network interface statistics and iptables counters minus their internal management traffic.

In my opinion if they are doing something shady with the bandwidth graphs that should be brought to the attention of the internet ASAP and I would expect their behavior to improve unless their goal is to file chapter 11. This should apply to all VPS providers. Have you seen evidence of Vultr or any other VPS providers fudging the bandwidth graphs?

If you suspect this is happening the easiest thing to do is create a daily cron job that grabs all the interface statistics and iptables counters to a text file daily and then rsync those to a centralized system. Or if you prefer having your own graphs some people use Munin [1] or any of the alternative options [2].

[1] - https://munin-monitoring.org/

[2] - https://alternativeto.net/software/munin/
Political capital, both in the form of publicity and donations.
She had time to do something?
Cool! How do I get CMake with `Unix Makefiles` generator to use `--shuffle` flag? Then I can use this same feature to find dependency issues in my CMakeLists.txt files...
>ick-inducing ads

I guess I'm getting old and grouchy.
It's disappointing that the house republicans don't have a better legislative agenda to spend their political capital on. So far they seem to be prioritizing bills that won't make it into law (like this bill, and the irs related bill), fixing problems that seem to only exist in the minds of their riled up base.
I don't think this is an "external solution" thing. Some random gender-neutral ideas for becoming more interesting to others and being more interested in them:

- Read widely, both fiction and nonfiction. Become interested in and even familiar with experiences outside your own comfort zone.

- Work on empathy and tolerance. Be ready to hear and even validate things you don't fully agree with, whether it's politically or epistemologically. Learn to respect others and see them as people with full life experiences, rather than merely as potential partners or friends to enhance your life experience.

- Get life experience that is interesting. Note that this doesn't mean traveling widely or having an "interesting" job. In fact sometimes those things make you seem boring and are anyways often inaccessible. There are more accessible things to do, like volunteering with people who have different experiences than you, working on a local cause that is important to you, or learning to make art that represents your feelings.

- Make yourself go outside. The world is outside. Learn about the history of your local area and visit the important places in it.

- Pay a little bit of attention to things like hygiene, grooming, clothes. You don't have to go crazy, just shower thoroughly every day, get regular haircuts, and wear clothes that roughly match your age.

- As others have mentioned, find somewhere with a stable group of people and show up consistently.

- Get therapy, even if you think you don't need it. Most people need it.

- Avoid toxic X. Masculinity, femininity, whatever. Being lonely can make you feel like you need a rubric to follow. Don't buy it. Don't even take what I'm saying above as a rubric.

Ultimately the goal isn't to find an app that matches you with the perfect person or group of people, but to become someone who is interesting to and interested in more people overall. I empathize with the fact that people are sometimes hard to like, but almost everyone has something to recommend them if you are willing to listen, and so do you if you're willing to explore and expand yourself and share that with others.
> Taiwan is an ex military dictatorship born as a puppet state for the USA to counter communist China.

It is immaterial what Taiwan was born as. It is a self-governing, free country, and the only thing that matters should be the wishes of the people who live there. And that overwhelmingly is to not be a part of communist China.
This is the most graceful shutdown of a Google product that I've seen in quite a while. Full, automatic refunds for game and hardware purchases, downloads for savegames, and software updates to remove hardware dependence on external servers before they shutdown.

I can't think of much else they could have done to make things smoother for customers, short of not shutting it down at all of course. (And undoubtedly, the fact that they are killing yet another product is inescapable, and doesn't help their reputation for doing that.)
That is true but framing it as technical budget means there is no business benefit. This is false. Long term maintainability and increased innovation speed are clearly business benefits that you hide behind ambiguous terms if you use wording such as technical debt. Just be specific. Technical debt isn't specific.
> But it's not simple to implement. You have to write a schema then turn that schema into source files in your target language. There's an impressive array of target languages but it's a custom executable and that adds complexity to any build. Then the generated API is difficult to use

Worth noting that all these things are true for protobuf as well.
> Twitter has functioned fine after massive layoffs, and feature velocity has only accelerated

Feature velocity for users. Not customers. Also, the deprecation of APIs strongly intimates Twitter Blue was a failure.
So this is just URL or bookmark with a screenshot as a thumbnail.
In that specific case? You're a fan of the essential core series, that's how.

But as a general rule? You can be a fan of any part of a series and your fandom is completely legitimate. If you know all the details of three movies that puts you head and shoulders over someone who watches everything both uncritically and superficially.

I mean, you like what you like -and I'd say it's a question of depth of "liking" (knowing the lore, etc) rather than being comprehensive (liking anything that has 'star wars' written on the label).
Did you read the actual deposition? The linked article is not clear on the exact details, I don't think it's possible to come to any conclusions from the article alone.

The iPhone example is an interesting one. I would say that was still a 100% legit demo, because Jobs was demonstrating the actual working features (rather than say bring up screenshots of a web browser and claim to be surfing the web.)

I can't tell for sure whether the Telsa video is closer to the iPhone demo or the Nikola semi demo (which was obviously way worse.)
Back then I liked the Magsafe, but the my new Macbook's Magsafe cable is still in the box. With 12+ hours of battery life I barely charge it when I use it and when I'm it is usually at my desk connected to my monitor via USB-C.

When I'm on the go I only want to bring one charger and cable for backup for every device, which is USB-C. (I don't own an iPhone)
Fwiw, the controller already worked like a controller if you hooked it up through a USB cable.

The Bluetooth functionality is nice, though. I've gone through the process and for what it was (putting a controller into flash mode, then flashing a new bootloader(?), then flashing Bluetooth firmware) it was a very smooth process.

Especially for a browser-based process. I may not like the direction WebUSB is taking browsers, but the process was quite smooth and will work on pretty much any device with a USB port (except for platforms like iOS that limit browser availability).
msft is a business..not charity.

my experience at two big tech companies said this extremely overdue.

especially since about 2012.. lots of added head count. managers and sr. managers and directors #1 priority on increasing head count to grow empires and get promotions. it elephant in the room supported by easy US fed policy. uncomfortable truth these people dont want to admit.

what is vision for these new teams? if stock price is $100/share does director X’ org contribute $.50 or $1 or $10? many teams are negative contributors to this equation.

actually much of $ attribution and downstream impact was gamed. the founders and their protege slowly left and replaced with professional managers. no vision. no obsession with features. little thought to value. instead they see prestigious job. “i have 150 people report to me.” that kind of discourse mainstream. indirect way of bragging “look how important i am.”

maybe 15% of employees at both companies providing actual value building new things that bring revenue. another 15-20% just support legacy cruft with software patches. no feature work. no innovation. large teams of engineers and managers resting and vesting.

it is honestly entitlement and horrible joke. why these people entitled to $200-500k+ salaries??? its like this country built fake economic class of worker. little to no economic output.
I think EV owners would need to find some level of compensation for the additional cycles they would incur. Electric vehicles are expensive because of the battery so deteriorating the life of one of the most costly parts of the car doesn't feel like a great solution.
It amazes me that people argue in favour of having a population that is less informed.
True, but didn't the amount of stock he took versus cash actually increase?

Could be wrong, probably am, but I thought I saw that his base pay dropped significantly but his stock options and grants were virtually untouched if not raised.
Bingo. Federal employees are part of the 'deep state' at worst, and bureaucratic bloat at best. They are part of the 'other' to the republican base.

My experience in flyover republican country is that anything that makes a government agency worse, or makes a government worker less happy is good, because it can help bolster the private industry alternative (but complaining about the private alternatives, or wait times at government buildings is perfectly okay).
That sounds like the similar, but opposite case of tail recursion optimization. Some languages/compilers don't do it because devs want stack traces. But allow TCO in and now the code that gets written is quite different than the code that would not do tail calls because TCO doesn't exist.

Also a surprising amount of undefined behavior gets relied on in code. I don't use Rust, but the idea that they could potentially change the future behavior on overflow seems... risky?
There are quite a few on eBay
No. The USA doesn't own Japan to begin with so it can't lose it.

China would never succeed in invading Japan.