skysight-inc/HackerNews huggingface dataset:
> The skills required of managers are totally distinct from the skills required to design and implement computer systems

Some of them are, sure, but one of the skills necessary to effective management is understanding of the work being managed (especially the work at the immediate subordinate level and, if it exists, the next level down.) At the executive level, that probably doesn’t require more than very casual awareness of any of the line work, but at the level of first and second line managers it absolutely does, and its usually a lot easier to find a worker with the right talent to learn the additional skills of management than a “generic manager” who can OJT learn the domain.

I’ve spent most of my adult life in and around tech orgs, and the next even half-competent line- or second-level manager that didn’t start out as an IC I meet will be the first.
this is unimaginably callous, do you not see the worker attached to the visa is a human being. they cant even have the most basics of human need by the virtue of being on a visa? you guys basically want immigrants to be slaves & guess what that works for your employers but not you the populus. your anger & callousness towards immigrants is misdirected.

btw No H1B is just 6years, thats just paperwork, all employers know this & workers know this & us gov knows it too because you commonly file for a GC near the end of that term & use it to further your stay. the problem parent post is facing is that us immigration rules are unclear and adhoc in many cases & folks in the pipeline end up suffering for it mostly.
Correct, deques are abstract data types and you can implement them multiple ways, including using linked lists or growable arrays/vectors. So they aren't directly comparable to linked lists since under the hood they can be implemented with linked lists (or doubly linked lists at least). You could compare the performance of different deque implementations, though.
For sure.

I’ve had linode for a very long time.

Not leaving them because of how good their tech support is or was to help me early on in my career, but they can’t be a point of failure either.

I’ll just get to see how easily a hybrid cloud might be orchestrated like yours. Things are drastically easier to learn to setup and maintain like you have said compared to 5 or 10 years ago.

Docker is docker, and traefik is traefik.
Markup not of the lightweight kind.
I think people should be able to consume however they want. It seems easier to go RSS to email though.
So say we had code like this:

const safeSplice = (items, start, deleteCount, ...itemsToAdd) => {
const copy = [...items];
const deleted = copy.splice(start, deleteCount, ...itemsToAdd);
return {
deleted,
list: copy,
};
};

We could put this as a jsdoc-style typescript comment just before the `const safeSplice` line:

/** @type {<Item>(items: Array<Item>, start: number, deleteCount?: number, itemsToAdd?: Array<Item>) => { deleted: Array<Item>, list: Array<Item> }} */

or as a multi-line type declaration:

/** @type {<Item>(
* items: Array<Item>,
* start: number,
* deleteCount?: number,
* itemsToAdd?: Array<Item>
* ) => {
* deleted: Array<Item>,
* list: Array<Item>
* }}
*/

Alternatively, you could do something like this in place of the above:

/*
* @template Item
* @param {Array<Item>} items
* @param {number} start
* @param {number} [deleteCount]
* @param {Array<Item>} itemsToAdd
*/

I started out doing the former because I liked using the typescript notation, but I ended up doing the latter more often as I could leave the return type off the signature, which I prefer to do
Yeah, just learned that they are paid until Feb 2023 and RSUs vest.

Vacation time!
Much of the pre-2k internet worked this way. Anyone remember Hotline or Carracho and dyndns.org for redirecting your dynamic IP to a hostname?

The reason that approach ultimately lost was because it was federated and therefore Balkanized more or less. However, it was probably a better UX in many ways than putting everyone together in 1 room.

But it was limited and cells would divide and divide further with no great way of interacting on common grounds topics.

Maybe this is the way forward but I doubt it. I think we’ll see better approaches at centralization because that’s where the money is. We just need a way to digitize the norms you’d see from the same peoples interactions at a bar, church, DMV, sports venue, work, with friends, etc.
I'm going to call you out on this one, because it's a bold claim, and I'd love to see an explanation and some perf numbers.

For example, I'm wondering how the CPU knows what the next item in the list to prefetch it. Unlike the next item in an array, list items could be pointing anywhere in process memory.

Also, what counts as a modern CPU in this context? Are we talking latest generation desktop CPUs from Intel, or anything after Core 2 Duo? How about mobile devices with ARM CPUs? Would those just be ignored?

Is there a benchmark?
You're welcome to scroll thru https://twitter.com/whitehouse45 if you can stand it. Granted most of it is about every holiday, the decorations for that holiday, the holiday decoration preparations, and the occasional other redecorating courtesy of the First Decorator.

But you definitely can find BS things similar to the one from the social security topic.

"President @realDonaldTrump
has done more to lower medicine prices than any President in history!" (unsurprisingly it's hyperbolic and almost completely lacking any truth or evidence; the evidence points to an opposite result)

I'm not going to dig thru the pile to prove you wrong. But you're wrong.

Edit: Ok, I just have to add this gem.
"This Administration is "tackling longstanding problems that no other Administration had the guts to do," @SeemaCMS
says."

That period was just chock full of useless tweets or outright false tweets.
They bought Nuvia last year, an ARM chip startup with a bunch of ex-Apple ARM folks. We'll see how it turns out, but the acquisition suggests they are serious about improving performance.
People were saying this exact thing under the tweet. So that's probably why it was deleted.
Finally, this has been a long time coming.

I wonder what the botsters, fraudsters, and growth hackers will come up with next to evade or minimize the effectiveness of these measures.
The problem with your analysis is that you're using big-O notation. Big-O notation is based on an abstract machine that is pretty unrepresentative of real computers. In practice, the memcpy is always going to be faster (until you get to really big sizes). Put another way, linked list is O(1) with a massive constant, and memcpy is O(n) with a tiny constant.

And actually this logic extends to other algorithms too. My rule of thumb is that a linear search (despite being O(n)) will be faster up to around n=100 than binary search (which is O(log n)) just due to the way the CPU operates.
I'm way more in favor a of a system that employs the userbase to "fact check" than whatever busybody connected to a partisan "fact checker" at twitter doing it manually and adding their own particular bias.
Time and time again, Musk has shown that he does not understand the nuances of free speech and moderation, and has presented nothing to indicate that he has any new solutions to the problems he is claiming to want to solve.

You're applying good faith reasoning to someone with a proven track record of acting in bad faith. That's noble of you, but you shouldn't be surprised if others don't follow suit.
They are not write only. Ethereum is a VM. Smart contracts are not databases, they are objects, classes, methods, and applications. They can be thought of as in memory applications or long lived processes.
> This is the old "voters are actually stupid" idea.

I don't think that voters are necessarily stupid. They just happen to act stupidly because they treat politics as entertainment rather than their civic duty. If people dedicated their time trying to learn about policy instead of browse memes and articles that affirm their beliefs, we'd be much better off.
Are the Twitter terms of use different for employees than they are for other users?

Cause if they use the service under a personal agreement with Twitter that is separate from their employment, then removing the Tweet isn't really so actionable under their employment agreement.

I mean, I guess it probably isn't separate, but I'm also not sure why people are so eager to pat Twitter on the back for using their position to control the public communications of employees/former employees.
Compacting garbage collectors put linked lists into nearby memory.
Berkshire, Costco to a certain extent, many of the big Japanese and Korean conglomerates, Bosch, Dassault, traditional old money banks, etc...

Excluding external board members, by definition.
> Log out of Twitter if you have one, find an Elon tweet, and start reading the tens of thousands of comments.

That's like trying to figure out what society thinks of me by reading my birthday cards.
I found this example helpful.
Tonga volcano had highest plume ever recorded
Summary

Using images captured by satellites, researchers have confirmed that the January 2022 eruption of the Hunga Tonga-Hunga Ha'apai volcano produced the highest-ever recorded plume. The colossal eruption is also the first to have been directly observed to have broken through to the mesosphere layer of the atmosphere.
You’re kidding right? The rumors are Elon and co were responsible. So not on the chopping block.
Around the same time Sasha Baron Cohen started blasting Mark Zuckerberg, almost arbitrarily. I wonder what kind of war is going on in heaven.
Fair enough, thanks for the clarification. You are standing on the shoulders of a giant, then, and if your characterization is not yet correct, I'm sure it will be proven so within another 8 years.
Sigh, wanna go back to the 00s... when things didn't feel yet like outgrowths of a continuous mental health crisis -- notwithstanding that there simply seems to be a very sizable (and loud) population of unhinged individuals online now who are not formally mentally ill.
Unrelated to the posted link but relevant since it involves the author.
Author is one of the few who was terminated early Nov. [0] and now is part of lawsuit against Twitter for mass firing.[1][2]

[0]. https://ma.nu/blog/bye-twitter

[1]. https://storage.courtlistener.com/recap/gov.uscourts.cand.40...

[2]. https://www.theverge.com/2022/11/4/23440304/twitter-mass-fir...
Hypothetically, if I wanted to learn how to code by studying open source examples on GitHub, should I have to go ask permission of each rightsholder to learn from their code? I agree that, if Copilot is based on a model that overfits to output the exact same code it read, the lawsuit has merit (and Copilot is not really ML), but the idea of ML is that the model doesn’t memorize specific answers, it learns internal rules and higher-level representations that can output a valid result when given some input. Very much like me, the coder, would output valid code when given a use case description, after studying a lot of open source examples of that. Should most programmers just be paying rights to all publishers of code they have studied?
I don't know Rust but I would guess that an Option<NonNull<Node<T>>> would be a Node of type T, that cannot be set to null, but can be optional. This is a type I would want to return from a function that could either return nothing, or a pointer to a real thing.

As for the unsafety, I would assume the authors of collections know what they are doing and do that for performance.
Rick Scott, chair of the National Republican Senatorial Committee - is outside the GOP mainstream. Interesting context.
We are in a world were some employee can claim ownership of a the job in someone else company. Absurd
Saying the right things for the media and doing good are 2 different things.
I did intend to insult you slightly with that phrase, I apologize. I was hotheaded and in the wrong for that.

However, it is not an insult at cis people, but people who behave in a way that would get cis used in a conversation against them - which usually takes place in a circumstance where someone who is not trans is telling someone who is trans that they know more about their life than the person in question.

The reason cisness is relevant here is because much like I as a white person will never be able to _fully_ understand a black persons lived in experience, a non-trans person will never be able to _fully_ understand a trans persons experience, and it is _incredibly_ frustrating being told something that is objectively false, and having people who misunderstand the situation being in charge of your situation.
Well, he bought it anyway.

For context: https://ma.nu/blog/bye-twitter

> In Oct 2022, as Elon Musk was visiting the San Francisco office, I made a printed version of this cartoon with a short inscription and handed it to him:

https://ma.nu/blog/img/2022-11-01_bye_twitter/elon_note.jpg

> (He took the print and said “Well, I bought it anyway”, replying to the line in the cartoon).
Everything is so stingy and uptight now. Stories like this make me feel like I missed the golden era.

Yeah, there were genuinely malicious actors. But there was also just plain old fun.

So many Windows 2000 machines in my school and I didn't know what power was at my hands...
Uh, I indeed missed the posting date. Thanks for pointing this out.
Ehh, I assume he does when it comes to money. I might have a very low opinion of him but I'm holding out a tiny shred of good faith in him not being an actual lunatic. However unlikely that seems as time goes on.
Rick Scott, chair of the National Republican Senatorial Committee
Thanks I’ll revisit them. Had a lot of dedicated servers in my past and turned the self hosting part of my brain off

I have also heard iWeb is or was a good choice for value. Montreal data centres can be a well kept secret.
Searched but couldn't find anything that seemed contextually relevant, what is mass interpersonal violence? Seems like it must be a code word for something I'm not familiar with. All references I see for interpersonal violence seem to be synonymous with domestic violence.
It's definitely not a data structure that makes the borrow checker happy. Luckily it's also not a data structure that's required or desirable in 99% of cases, but the standard library still offers an implementation for those 1% so people don't try to write their own (turns out getting a doubly linked list correct isn't quite as trivial as it may seem).
I think his success has more to do with very skillfully promoting his work than with the quality of the work itself.
The people to whom the org is responsible are the (Greek) demos[1]. For governments, this is the people. For corporations, this is the shareholders. Corporations are somewhat democratic WRT their demos.

[1] https://en.wiktionary.org/wiki/demos
If you really do believe the election was stolen, then I have a bridge to sell ya.
Yes and no, it's important to have critical reporting, but imagine say that all reporting on medicine could only be critical, no articles about breakthroughs in cancer treatment or curing disease, all malpractice and ballooning costs. That wouldn't be wrong, but it'd be incomplete?
FWIW, I recently implemented a safe Rust crate around the Windows variant of intrusive linked lists [1] and spoke about it at EuroRust [2].

I did it only for compatibility and would still prefer vectors whenever I can use them. Nevertheless, I put some efforts into coming up with a useful and high-performing implementation. To give an example: My `append` function is O(1) and not a poor O(N) version that you rightfully criticized in your tweet.

[1] https://colinfinck.de/posts/nt-list-windows-linked-lists-in-...
[2] https://www.youtube.com/watch?v=IxhZIyXOIw8
That approach works only when the first node is included in the cycle. Other cycles are possible.
Just in case performance matters, there is a more efficient way: have the tortoise stay in place and advance the hare only one node at a time, and assign the hare to the tortoise every time a power of 2 number of steps have been made. This is known as Brent's algorithm, and it requires fewer advancements than the original tortoise and hare algorithm by Floyd.

Another notable advantage of Brent's algorithm is that it automatically finds the cycle length, rather than (in Floyd's case) any multiple of the cycle length.

https://en.wikipedia.org/wiki/Cycle_detection#Brent's_algori...
I'll be honest, I didn't read your expected value article. But did it take account the difference in power voters have based on number of electoral votes per state? For example, Wyoming has 3 electoral votes and only 580,000 people, while California has 55 votes and 40M people. Wyoming has more than three times the voting power per person than a resident of California.
I had been thinking how I’d put it, and I think:

- by “failure of algorithm”, the vocal minority actually mean “lack of algorithmic oppressions and treatments according to alignments of a speech with respect to academic methodologies and values”.

- average people are not “good”; many are collectivist with varying capacity of understanding individualism and logic. They cannot function normally where constant virtue signaling, prominent display of self established identities, said alignments above, are required, such as on Twitter. In such environments, people feels and expresses pain, and makes effort to recreate their default operating environments, overcoming systems if need be.

- introducing such normal but “incapable” people - in fact honest and naive and just not post-grad types - into social media had caused the current mess, described by the vocal minority as algorithm failures and echo chamber effects, and by the mainstream peoples as elitisms and sometimes conspiracies.

Algorithmically oppressing and brainwashing users to align with such values would be possible, I think(and sometimes I’d think about trying it for my interests; imagine a world where every pixel seems to have had 0x008000 subtracted - it’s my weird personal preference that I don’t like high saturations of green), but an important question of ethics has to be discussed before we’d push for it, especially with respect to political speeches, I also think.
LoC here meaning lines of code?
>Wait, how big does your screen physically need to be to even call 5K a win over 4K

As I mentioned with "productivity, not gaming", preferring 5K over 4K isn't about making picture prettier.

This is about having a 5K 27" screen with 177.8% of the work area of a 4K 27" screen. A 5K display (5120 x 2880) is 14,745,600 pixels, whereas a 4K display (3840 x 2160) is 8,294,400 pixels, yet a 27-inch panel is a 27-inch panel. It's about more stuff in the same area. It's why I've been using 1440p panels since 2010 instead of 1080p panels (and a 1920x1200 panel back in 2004). Just now everything on the screen can be crisper, since we use four pixels (2 x 2) to define the same logical area we used to define with a single pixel.

It's like having a 77.8% larger desk, except the desk is the same physical size as the "smaller one." This is about more of my work being visible at once.
I've been using Reddit daily for a couple of years and have never seen downtime or any weird bugs. I use the mobile app, not sure if that's what you were referring to.
All journalistic coverage of everything should be critical, or why does it exist?
SEEKING WORK | EMEA | Remote preferred | Software Engineer, Consultant | Full/Part Time | Accepting Crypto

Location: Vilnius, Lithuania, EU
Remote: Yes
Willing to relocate: No

Technologies: C/C++, Python, Rust, PostgreSQL, Embedded Linux, Qt, HMI, DevOpsSec and almost everything related with Open-Source Free Software

Résumé/CV: https://simar.win/
High-performance SPSC queues are always implemented with an array.

If you need hard O(1) insert you can usually just allocate an array much bigger than you will need. The combination of hard performance requirements and willingness to wait for an allocator all the time is unusual.
- Civilization V
Ask HN: For simple layouts, do I need CSS Flex or Grid?
For a simple one-dimensional blog layout (header -> navigation -> content -> footer), do I need to use these new CSS APIs? Will CSS's default behaviour continue to work in the future, or are all sites expected to use these new systems?
They claim this new system is independent of Musk taking over Twitter, but the timing is interesting.
> almost always

As any generalization this one too is, of course, incorrect.

Outside of the realm of academia, the need to keep data pieces in several containers at the same time, with no heap operations on insertion or removal and O(1) removal is very common, especially in the kernel space and embedded contexts. The only option that fits the bill - you guessed it - are the linked lists.
Why wouldn't they? They are more powerful than tech in being arbiters of truth, and the fact that they convinced everyone, even tech workers, about it proves that they are higher in the pecking order
If you're iterating, sure, use a vector. If you're pulling from a queue and doing a lot of processing, maybe an RPC -- does the ~70ns memory latency hit really matter that much? Probably not.
Agreed, but I don't understand the cost structure at all. Basic Starlink service in the US is $110 a month, and all these quotes are for service fees in Ukraine are on the order of $2500-$4500 a month. I totally get that deploying into another country (and a war zone at that) may have some structurally higher costs due to currency conversions and extra support, but 20-40x seems absurd.

I would love to have some explain to me why I am wrong, but this seems like war profiteering to me.
Agree, I don't think people need to realise the amount of $$$ for tech PR and there needs to be a counter to this.
Based on the note he posted from HR he was fired for cause and wasn’t “laid off” by the usual definition of same — he was told by HR that he had violated several company policies and his employment was being terminated immediately.

[1] https://ma.nu/blog/img/2022-11-01_bye_twitter/termination_em...
`NonNull` is actually a wrapper around the pointer type, with the added invariant that the pointer cannot be null. The compiler is made aware of this, which allows `Option<NonNull<T>>` to be just a plain pointer, where the `None` variant of the option corresponds to a null pointer and the `Some(ptr)` case corresponds to a non-null pointer.
> Where blockchain solutions fall short is none of them are really decentralized.

Of course they are. If this is a no true Scotsman argument please advise so I can move on to more productive discussions.

Filecoin or Arweave are essentially what you describe, but of course they don't achieve data center performance. That doesn't mean they aren't decentralized. There are trade-offs to decentralization.
> The only thing wrong here is that the AI is aiming at the wall instead of at the open space next to the wall where the enemy would be.

This is actually how well-practiced humans play, aiming instead where the enemies are likely to be (behind the wall) instead of trying to perfectly aim at the corner all the time.
Hetzner's dedicated servers are unbeatable in pricing.
Especially the ryzen 5 3600x version.
Ask HN: Are there alternative UIs for macOS?
The current MacOS desktop experience is visually stunning, but becomes stimulating and distracting. Is there an alternative UI for MacOS that would work like TWM, Rio, WindowMaker, or even classic Mac interface?
decentralization of X does not and cannot exist without decentralized funding of X.

An essential observation. It's easy to design some kind of decentralized utopia but the future can't run on a trickle of Patreon donations. Decentralized business models that don't rely on pump-and-dumps are very thin on the ground.

I wonder if we'll run out of volunteer Mastodon sysadmins at some point.
Opportunity cost is no less real than other kinds of costs. If not for the cost, their bank account would have a higher number in it.