skysight-inc/HackerNews huggingface dataset:
Casting is often necessary for parsing inbound data from certain mysql libraries or CSV or JSON depending on how it's written. I would guess that might be what the parent is talking about. That said, if you don't cast or parseFloat or whatever in JS you're going to have a lot of trouble. And if you're doing that, why not do it in Typescript where you'll know that the data you're accessing has been safely cast based on its type.
This highlights why I’m so far not on Mastodon: Decision fatigue.

How do I find a server that ‘matches’ me but doesn’t make me seem like an over-enthusiastic single-issue or single-hobby dedicant - and also isn’t run by someone whose (perhaps currently unespoused) views I’d find problematic?

Maybe I should just join what seems to be the default (because of its friendly domain?) of http://mastodon.social. But that seems defeat the purpose of decentralization - and (without evidence) I don’t really trust that mastodon.social is set up to handle the huge influx of users at the moment…
"We can't afford to treat our staff humanely because it's not in our business plan" may not be the argument it appears to be.
Have you seen this thread? No idea if it's legit, take it with a grain of salt.

"i used to work for tesla writing infotainment firmware and backend services - all of which runs in a single bottom tier Datacenter in a single location on the worst VMware deployment known to man."

https://forums.somethingawful.com/showthread.php?threadid=38...
ZEBRA Battery
If you don’t ascribe any sort of normal human behavior to him then it seems that you don’t understand humanity.
Or you can segment people into relevant groups and judge them within those groups?
At my job juniors dev write a lot more code than needed, having 12y of experience I know how implement same things with much less code.
So, from my point of view, LoC is really a stupid metric.
Not going to 4chan is the same thing as just ignoring them. It works perfect.
Tesla is not known to be a good employer to work for, and hence I imagine the tesla engineers are just not that good in average.

I have been working for a long time in the industry, and I have no former coworkers that are good that work there. Like 0.

In this case you have B players trying to decide who is a good engineer at Twitter, and predictably they are using the dumbest metric possible.
While I don't disagree that I should hate this society and its values, that does not mean I shouldn't have some disdain for folks like musk:

"hate the player, not the game" doesn't apply to folks who own the referees.
Some moderation is the nobody wants to see this - spam and the like - and some moderation is nobody needs to see this.

The first one you can pass off to a third party - the seconds one is trouble that you can't avoid.
> Whether the error occurs at runtime or compile time is besides the point. Compile time adds a bit of additional safety, but really if an error exists, it will usually trigger at some point anyways.

Well, if the error is at compile time, there's no chance that code makes it to production and affects customers.

If the error is at runtime, you need to have tested that edge case and if you haven't, there could be customer impact.

I mean, once you see a few TypeErrors in Python code with no type annotations, or a few NullPointerExceptions in Java where there's no compile time null checking by default, I think it becomes very clear that catching things at compile time is much better...
It's absolutely ridiculous that the firings were allegedly done using LOC. This is especially true when Twitter has certainly had performance reviews which could be used as much better firing criteria than freaking lines of code.

To all of you that think this is a fair way to fire engineers, please reconsider.
>Personal tech has changed. So must our coverage of it.

https://archive.ph/yt1xo
"better to test the legal system and ultimately waste a ton of money buying a failing company, because people on it are using it to call you names."

This is such a bad interpretation of what happened, its akin to functinoal illiteracy.

I am sure he'd be so devastated, he'd move it to the other trouser leg.
Has there been any work on nudging the allocator towards putting all the nodes on the linked list on the same page? Or close together in memory more generally (to leverage the L1 & L2 caches)
lmao, and what about teams that focus on, say, security, or privacy, or devops, or numerous other areas that require reading and auditing code/systems, as opposed to writing new code?
Look closer at the signs. The person above agreed USD * GBP was weird and wrong, but disputed that USD * USD was any better.
In 1 year, the world will be the same, except with more political turmoil and social agitation.

In 10 years, the world will be in deeper social disintegration due to clashing personality types, in addition to the fact that the dinosaurs holding onto the current economic system will be resisting transition to a more logical economic system.

In 100 years, humanity will have completely rebuilt the international social order due to climate change, and new technology in addition to thr rediscovery of old technology (e.g. nuclear) will be implemented to deal with the new agricultural and geographic realities caused by climate change. We'll also have mass migrants from Africa to more climate hospitable regions like Canada.

1,000 years into the future is very far. It could be possible that we're living in a world where AI is the dominant form of intelligent life, but I still don't think humanity will have left the solar system. Traveling extreme spatial distances is extremely difficult in this type of universe.

Any feedback?
I thought recycling sequesters microplastics?
Huh. Thanks, I will check that we explain that better.
> French experts and researchers have no say in the running of the top-level biosafety laboratory at the Wuhan Institute of Virology in China despite the fact that France helped build the facility and that Paris and Beijing signed an agreement on future cooperation and collaboration, a Mediapart investigation can reveal.

> have no say in the running of the top-level biosafety laboratory
> Beijing signed an agreement on future cooperation and collaboration

These are far from what was claimed by the OP
In fact, custom elements apparently must have a dash. From https://usefulangle.com/post/363/custom-element-valid-name:

• Name has to start with a lowercase ASCII character. It cannot have an uppercase ASCII character anywhere. UTF-8 characters, emojis, etc. are allowed as long as they are not the starting character

• Name must contain a dash ("-") character. This dash character helps the browser to distinguish custom elements from regular elements.
tbh I wouldn't be surprised an engineer with the technical scope, prowess, and responsibilities of John Carmack is bottom 50% of actual LOC. His behaviors would actually be in boosting the LOC of other developers through mentorship, code review, technical mtgs, and pair programming sessions!
Note that most such solutions break (or become much much much more complex) if you want anything more than simple arithmetic from them. For example, matrix multiplication with typed values (where each element of the matrix can have a different type/unit of measure) is extremely ugly code, and basically no such library supports it - even for matrices of fixed size (say, code that could multiply 3x3 matrices with 9 type parameters - which is not unrealistic in physical simulations).

This is a fundamental limitation of types - they tend to scale poorly to very complex non-uniform structures. That's not to say that they shouldn't be used when they do scale nicely, though!
>I'd guess that the €600 was not for the ambulance itself, but for a place where they put them to get sober afterwards.

No, it was for the ambulance ride. The socialized public insurance doesn't cover your drunk night out alcohol abuse.
Unless you're really going to use textareas with scrollbars for every string and store everything in unlimited length database fields, you probably do want to distinguish between single-line and multiline strings and have some limit on their lengths.
Most Indian defense systems are named in Sanskrit.

Agni, Vayu, Brahmos, Prithvi, etc.
Surely you understand exactly what is meant. Why play dumb? For example I’m not equal to Bobby Fischer as a chess player.
Sales pitches are needed -- everywhere.

The level of pride in being American that Democrats have by and large is still a kind of nationalism, albeit surely a more nuanced and conscientious one than the ones Republicans have (again by and large). Can't comment on which side is actually better for the country (that's politics), but my point is that Democrats (and allied liberals) are hypocritical in the sense that their pride is supposedly healthy patriotism while another's pride is 'nationalism'.

Ultimataly both Democrats and Republicans are sustained by extensive sales pitches of what America (TM) is all about. Democrats seem to think their politics represents the One Final Political Solution to End Misery Everywhere, but it is still based on aforementioned sales pitches all around ("We're on the Good side!").
Context to Twitter's 2023 advertisers issues
> No, if your idea of validating an email is more complicated than "should have an @ symbol", I guarantee you, there is counter example that will mess you pretty system up.

Requiring b2b users to use their @company.com email is common and some b2b customers actually expect to be able to configure that. Another simple case is stripping out any "+whatever" from gmail addresses and to flag that sort of thing for other eomains so support can verify it's not a case of someone creating 72 trial accounts. Yes, rejecting users due to naive and incorrect validation is bad, but treating emails as entirely opaque strings isn't always an option either.
If you can break RSA once using say a $34 billion machine that is a one-shot operation, is it really commercially relevant?
It doesn't affect anyone except people who want it to. It's literally some random person whispering into the wind on the internet. I'm uninterested in hearing how it actually affects you because it doesn't actually affect you, you just want to cry about something.

"You" in the proverbial sense of course, the way you used it above.
It also gives him the most motivation to find flaws with the competition.

The only important question here is whether the test in question is reproducible/accurate.
Hmm, that seems correct then. This is interesting, would you consider extending the explanation and posting it as an answer to this question? https://quantumcomputing.stackexchange.com/q/5459/4153
This is 100% why I haven't signed up yet. It's like walking into a blockbuster video and being told, "you can pick one movie from this store, but everyone will know which movie you pick, and the director of that movie will be able to control what other movies you get to see."

The analysis paralysis this induces is incredible.
If your company is losing $4 million a day, and you want to fire a ton of people, and if LOC is even 75% accurate…

In those circumstances, I do believe that it is a decent metric to consider. You got a better plan?
I once saw a cut out of a D-wave computer (not a "real" quantum computer but also cryogenic). The whole device is roughly the size of a old school mainframe - a few wardrobes. But it's mostly layers of insulation and cooling. The business bit inside fits in your hand. Or so I remember at least.

Actual cooling (stuff that pumps liquid nitrogen and helium) was external to all this.
rspec or minitest? ;-) Could rspecs 'expect change' idiom be the difference?

I find that reducing assertions per spec where I can a good guideline. E.g. combining expect(foo['a']).to eq(1) and expect(foo['b']).to eq(2) into expect(foo).to include('a' => 1, 'b' => 2)
yields better error messages.
The link is there, go try it and report back.
From the article: "The record breaking “useful” calculation for quantum computers is the prime-number factorization of 21. That’s the number, not the number of digits. Yes, the answer is 3 times 7, but if you do it on a quantum computer you can publish it in Nature. In case you are impressed by this achievement, please allow me to clarify that doing this calculation with the standard algorithm and error correction is way beyond the capacity of current quantum computers. They actually used a simplified algorithm that works for this number in particular."

Oh. I thought things were further along than that.
So the Chinese even stole the method of stealing, from USA!

They are indeed IP theft in their genetics!
For physical processes, you can sometimes lean on conservation laws. Financial, no-arbitrage "laws". Sometimes it can help to run two different models, or different numerical methods, and compare their results. More generally, it's very, very hard. I am fairly sure there are multiple published results in computational fluid dynamics that are subtly wrong.
I applaud you for being honest in a way that many commenters aren’t: you are just happy to see people you don’t like being punished.

People have been embarrassing themselves trying not to directly say this (“actually making engineers print out their code changes on paper is good management”, etc.)
> Sure, for small data sets, the vector will outperform the set, but it may not stay small forever.

In over 90% of SW applications written in C++, there is little to no uncertainty on the size of the data set. Most applications are written for a very specific purpose, with fairly well known needs.

If my data set is size N, and I can benchmark and show the vector outperforms the theoretical option up to, say, 20N, it's a safe choice to go with vector. Doing these analyses is engineering.

In any case, it's almost trivial to swap out the vector with other options when needed, if you plan for it.
> Getting back to real history, the Nazis were never notably popular. Their best result in anything like a fair election was in 1932 where they took 37% of the vote [1]

This seems misleading. The governmental system at the time was a parliamentary system, not a first-past-the-post like most American elections. In a parliamentary system, there are ~dozens of parties and it's vanishingly rare for any party to ever get a simple majority. Your own link lists 16 parties who had enough votes to get at least one seat in the Reichstag. Selecting the leaders to form an overall government normally involves political maneuvering to bring multiple smaller parties into an alliance to form an actual voting majority. Naturally if there's so much division that it's impossible to form a majority in favor of any particular government, weird stuff is gonna go down.
Just because you take something into consideration does not mean it becomes a criteria. But I think we can all agree that it would be a mistake in a mass layoff to accidentally fire the top 10 contributors to a given project if the 11th contributor only ever made 3 contributions all just updating comments right?

Well that sort of logic requires you review the logs. It doesn’t have to mean you set up some arbitrary “anyone under ckloc per week is fired”
> Demanding to provide data that is clearly not publicly available

You claimed to know such data. It's clear you haven't been debating in good faith from the point you made that claim.

> as it is beyond clear that this figure was above zero.

No it's not. I provided evidence that he may in fact drive away advertisers.

> So blocking him was against the commercial interests of the platform.

That's not how it works. Blocking someone who provides a small amount of advertising revenue but who drives away other users would be in the best interest of the platform. Blocking someone who the moderators believe will incite violence is in the best commercial interests of the platform.

> the success (or lack of it) of other platforms, like Truth social, is hardly relevant here

It's entirely relevant because Trump invested in that platform and spends most of his time there. If they can't make a profit it puts your claim about his ability to attract advertisers in doubt.

> Now, you may claim victory in this internet discussion, and celebrate it like your other imaginary victories.

I never claimed victory. I simply asked you to back up your claims and you got yourself into a panic over that and threatened to quit. Ok. Bye.
Hmm, gotta say I was imagining some sort of exo-triathlon, not... crab-walking? Spider-driving?
Funny, alcohol seemed like the year-round UK entertainment to may limited experience there.
Waste to energy is something that can easily be implemented worldwide because the resulting infrastructure has income to pay for itself. There are world wide infrastructure programs that build less useful things. It's much harder to get high quality landfills made and maintained because they don't have a source of profit.
> You are making it sound like Elon is the type of person who always pesters people and attempts to micromanage them to squeeze every ounce of "productivity" juice he can get out of the forcefully.

This is exactly what I hear 2nd hand. His workplaces are miserable to be in because of extreme micromanagement, and expectations of long hours despite the personal and health cost to his employees.

>> The most important thing that good leadership brings is clear direction and high standards.

>

> Isn't that exactly what he brings? And isn't that what's bringing him under fire in this HN thread? People acting all horrofied because he's actually enforcing the high standards that you say he should have.

Yes, but he mixes these good leadership qualities with pointlessly bad leadership qualities. He has high standards for the quality of the work (good), but he combines it with high standards for how unhappy you have to be while doing it (not good).

I'm not debating that Elon is successful and effective--it's obvious that he is. However, on top of being effective he just chooses to treat people like shit.
Did you make the arguments in good faith and in a manner inviting productive discourse, or did you mock and name-call?

I'm not saying that doing the former won't get you blocked too by rightists who basically just want their own echo chambers, but the latter seems to be the default level of discourse on Twitter when talking to the "other," so if that's what you defaulted to, I'm not too surprised you were shown the door.

Still others would rather just have a place to avoid politics altogether. My main account is on phpc.social which is supposed to be a hub for the PHP community, but recently there's been an uptick of people joining (or re-activating old accounts) and posting or reposting political nonsense. Quite annoying.
The way it works is that the NSF (and other groups) certifies labs then you can go to them. Mine had the results of two different labs. I’m sure they could be cheating in some way, but seemed legit enough
This is great. So sick of watching influencers tweet blatantly wrong information.
I don't think they have enough autonomy to even try actual decision making. In an environment of controlling authoritarian boss, you it is just not possible no matter when you private opinions would be.
The Communist Party in the USSR was a party with communist ideology, aiming to achieve communism. They were communists, but they did not claim that USSR's system was communist at any point. The system was designed to industrialize the USSR, increase literacy and life standards and work towards achieving communism. It wasnt communism itself.
I'm sure you can find her story elsewhere.
> The difficulty of adding qubits increases super-linearly with the number of qubits

Is that true? Hardware from the likes of IBM and IonQ has already gone from < 10 to >= 20 “algorithmic qubits” [1] in the space of a few year.

[1] https://ionq.com/quantum-systems/aria
Is DeleteReservationActuallyDeletes a good test name?
The premise of the article is a bit more simple: things we can imagine more clearly, have more meaning to us.

It's very simply articulated using concept of 'describing' vs. 'seeing' vs. 'doing'.

It's hard for us to empathize with soldiers fighting wars, or refugees fleeing them - but when someone shows us pictures, or better yet, tells us their authentic story, it becomes visceral, and therefore we give legitimacy to the situation.
Mastodon evokes feelings of "year of Linux desktop" in me. Yes, Linux is a great desktop but no, I don't think people are ready to just up and move.

Mastodon is probably great, but I don't think people are ready to move there.
The thing is, in my experience, the people who write a ton of LoC often need more effort to review, introduce instability, and slow down the rest of their team because their stuff needs bugfixing or is difficult to parse.
I think the bigger problem with #3 is not that nobody buys the equality claim, but that we accept the premise.

If all humans were equal, there would be only one human. That's how equality works

The underlying claim is actually that all humans are of equal value. Yet there's no clear way to map humanity onto the number line. No generally accepted evaluation function. Egalitarianism declares such a function and then leaves it lying around for oppressors to define.

This makes us weak against attacks where we're pitted against each other under the oversight of some master and we accept the deal because it makes our type of people more valuable than some boogeyman-type of person. This works because once we accept that there is an evaluation function, as you say, nobody buys that it maps us all to the same point.
Yeah, what I outlined above: performance reviews. One possibility: just fire those that have had performance below a certain rating threshold.
https://en.wikipedia.org/wiki/Jones_v._Hendrix

Alito:

Are you concerned that every federal prisoner who wants to bring a successive motion is going to claim that this falls within the traditional scope of habeas, and this would be an escape clause that would be invoked again and again and again, and all the district judges are going to have to analyze the traditional scope of habeas to see whether the claim actually falls within that?

Feigin responded that he was not concerned with overburdening the federal courts because, in his view, it is rare that a case would fall within the narrow parameters suggested by his position in Jones’ case. Feigin told Alito that Jones’ case constitutes “probably a category of one” in which “somebody is in prison for something that Congress never made a crime.” https://lawandcrime.com/supreme-court/justice-alito-concerne...
Totally agree, he's accomplished big things and has a ton of inspiring qualities, but once you get that powerful picking fights and trolling starts to feel like punching down and harms people's lives and doesn't seem like a reasonable way to behave regardless of politics.
Funnily enough, there are some applications for converting mechanics problems to analogous electricity problems to leverage circuit simulation software such as PSPICE to help solve things like transcendental equations.
Legitimate question: what do they do about immigration into those countries from countries without such laws?
> poking at the establishment in the wrong ways

Ummm, why’s that a bad thing?

The article reads like a pathetic cry baby rant honestly. Author seems to want someone to do certain things certain way and not do certain things because he thinks certain things are somehow more valuable for him than others.
MyRocks is MySQL backed by an LSM tree, and so it doesn't have fixed sized pages.
The career insights I’m bringing back to academia after a year at Google
The point isn't to compare those who wrote 10K vs 11K lines of code, it is to compare both of them with someone who wrote no code in the last 6 months.
Interesting! Do you have any more information on that? Never knew.
Security loophole allows to use WiFi to see through walls