22
submitted 1 year ago by [email protected] to c/[email protected]

If you use a compiled language, you should periodically look at Godbolt and see what your code is doing and what changes to your code will do in the compiled output.

In this case a positively insane way of calculating squares and cubes generates 311 lines of ARM assembler output that will swallow your memory. With even something as simple as -O1 on the command line it's replaced by one or two multiplications respectively. With -fwhole-program it removes the functions entirely and interlaces them into the loop in main().

Know your tools. It makes huge differences!

15
DEBUNKING STARLINK (www.youtube.com)
submitted 1 year ago by [email protected] to c/[email protected]

You know, for a lauded "genius", Apartheid Edgelord seems to have a problem with basic arithmetic.

1
submitted 1 year ago by [email protected] to c/[email protected]

cross-posted from: https://mander.xyz/post/7593930

This is the most comprehensive analysis of the Threads situation that I have seen to far. I recommend giving it a read.

11
submitted 1 year ago by [email protected] to c/[email protected]
32
submitted 1 year ago by [email protected] to c/[email protected]
39
submitted 1 year ago by [email protected] to c/[email protected]
106
submitted 1 year ago by [email protected] to c/[email protected]
[-] [email protected] 97 points 1 year ago

As a coda: Tesla Drivers Upset That Government Wants Their Cars to Be Safer

“Got to love government always making things less enjoyable,” tweeted a disappointed customer on Wednesday.

Apparently driving on misplaced faith that kills people is enjoyable. Tesla is a cult, not a car company.

176
submitted 1 year ago by [email protected] to c/[email protected]

It's so frustrating that something anybody even only peripherally aware of attempts to automate driving knew for years is only slowly coming out while the Apartheid Edgelord gets richer and richer from his lethal lies.

5
submitted 1 year ago by [email protected] to c/[email protected]

TL;DR: If you use Meta products you are a quisling supporting war criminals. It's that stark and that blunt. Meta are war criminals.

903
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

... and you feel nothing

0
submitted 2 years ago by [email protected] to c/[email protected]

When western countries start using language in their laws and policies that reads like it comes straight out of Chinese law books, the world is going to shit. It's unbelievable that this is coming so close to actually being enacted in a "democratic" nation.

[-] [email protected] 44 points 2 years ago

Musk says X advertiser backlash is "going to kill the company."

GOOD! Just fucking die already!

26
submitted 2 years ago by [email protected] to c/[email protected]

cross-posted from: https://lemmy.ca/post/9471383

“That’s how you end up with a 4th quarter profit of $529 million, available to common shareholders,” Weston Jr. emphasized. “People don’t like dying.”

Steal food. It's the moral thing to do.

(Yes, I know this is satire, but it is, like all great satire, cutting so perilously close to reality it's frightening.)

[-] [email protected] 40 points 2 years ago

Don't stop with Europe, Dilbert Stark! Get out of Africa, Asia, South America, Oceania, and eventually North America as well!

[-] [email protected] 39 points 2 years ago

This group is against the pro-Musk spam.

[-] [email protected] 50 points 2 years ago

By stopping asking how to make it more popular and starting making it a place that could become popular.

[-] [email protected] 49 points 2 years ago

Every once in a while I find myself looking at the Internet without ad blockers. Like, newly-installing a browser on a newly-installed OS, or trialing a new browser on my phone or whatnot. And when it happens it's a massive shock to me just how unusable the modern Internet is without an ad blocker.

If I were forced somehow to not use an ad blocker, I would probably stop using the WWW portion of the Internet and likely grossly cut down on other facets of the Internet.

[-] [email protected] 43 points 2 years ago

It's always hilarious introducing stories (in general, not just SF) from another culture to people outside that culture. You hardly ever get someone who pauses to think about how weird their own stories may seem to outsiders. And nobody ever seems to grok that other nations' people might have pride in their own nation. So to American eyes, American patriotism is natural and normal but Chinese patriotism is obviously the product of propaganda, or as in the story mentioned at the beginning of this article, that a North Korean writer may actually want to write good things about their own country, even if the patriotism is aspirational, say, instead of saying what it is now.

[-] [email protected] 56 points 2 years ago

Speaking one language that is mildly gendered (English), two that are strongly (and in the case of the second bizarrely!) gendered (French, German) and one that is almost entirely ungendered (Mandarin), I have not found any utility whatsoever in grammatical gender.

I suspect that grammatical gender is just an ur-form of grammatical classifiers that has stuck around for non-useful amounts of time. I suspect this because one of the grammatical "gender" divisions that's in use in many languages isn't masculine/feminine(/neuter) but rather animate/inanimate. So I suspect that grammatical gender was a classification mechanism whose system and utility was distorted into uselessness over the thousands of years of spread and development.

So why do we have classification mechanisms? Well, in Mandarin there's classifier words. (In English too: "a sheet of paper", not "a paper", but it's waaaaaaaaaaaaay stricter in Mandarin.) The classifiers in Mandarin, given the sheer amount of punning potential in oral language, are likely a redundant piece of information to help nail down which specific word you mean in contexts where it might be unclear. For example in a noisy environment, or if someone is speaking unclearly, "paper" (纸张[zhǐ zhāng]) might be confused with "spider" (蜘蛛 [zhī zhū]). But if I say 一只蜘蛛 [yī zhī zhī zhū]—a spider—it's harder to confuse that with 一张纸张 [yī zhāng zhǐ zhāng]—a piece of paper.

So I'm positing that perhaps at some point grammatical gender was used as a primitive form of classification for disambiguation that some languages just never grew out of. Which is why in German men are masculine, women are feminine, boys are masculine, and girls are neuter. It has nothing to do with actual physical gender and is just a weird, atrophied, and somewhat useless remnant of language.

[-] [email protected] 51 points 2 years ago

I'm down with that. I have been since I first figured out that my boss values office furniture more than he does people. He was bemoaning the lack of loyalty when I quit. I told him that loyalty flows both ways or doesn't flow at all. Since he'd stopped the downward flow, I stopped the upward flow.

This scales nicely to society.

[-] [email protected] 98 points 2 years ago

What you say: It's easy!

What you (hopefully) mean: Don't be intimidated! You can do it!

What they hear: You must be stupid if you can't do this.


What you say: It's so simple even a child can figure it out!

What you (hopefully) mean: Calm down and work through it. You've got this.

What they hear: Even a child is smarter than you!


Keep in mind that if you're dealing with someone who is struggling it is self-evidently not easy for them. Claiming that it is invalidates their experience and makes them feel small and stupid. Don't do that.

What you should say: I get it. This can be pretty intimidating. Let's work through this together.

It really is that simple.

[-] [email protected] 69 points 2 years ago

Ah. The Google+ approach to signing up "users".

[-] [email protected] 42 points 2 years ago

A non-technical end-user once had a problem with Windows. A technical friend said "SWITCH TO LINUX". Now they have thousands of problems.

I've been a non-stop user of Linux as my primary OS since before Ubuntu was a thing. I do not recommend Linux systems to my non-technical friends.

view more: next ›

ttmrichter

0 post score
0 comment score
joined 2 years ago