22

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)

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

1
submitted 9 months ago by ttmrichter@lemmy.world to c/aiop@lemmy.world

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 9 months ago by ttmrichter@lemmy.world to c/aiop@lemmy.world
32
39
107
[-] ttmrichter@lemmy.world 96 points 9 months 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.

175

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 9 months ago by ttmrichter@lemmy.world to c/aiop@lemmy.world

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.

910
submitted 10 months ago* (last edited 10 months ago) by ttmrichter@lemmy.world to c/enoughmuskspam@lemmy.world

... and you feel nothing

5
submitted 10 months ago by ttmrichter@lemmy.world to c/metal@lemmy.world

The title translates roughly to "eat brains".

2
submitted 10 months ago by ttmrichter@lemmy.world to c/aiop@lemmy.world

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.

[-] ttmrichter@lemmy.world 44 points 10 months ago

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

GOOD! Just fucking die already!

[-] ttmrichter@lemmy.world 40 points 11 months ago

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

[-] ttmrichter@lemmy.world 50 points 1 year ago

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

[-] ttmrichter@lemmy.world 49 points 1 year 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.

[-] ttmrichter@lemmy.world 43 points 1 year 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.

[-] ttmrichter@lemmy.world 56 points 1 year 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.

[-] ttmrichter@lemmy.world 41 points 1 year ago

In many, many, many cuisines it is common to leave even the large spice elements in whole. Partially for the aesthetic and partially as proof of ingredients.

[-] ttmrichter@lemmy.world 51 points 1 year 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.

[-] ttmrichter@lemmy.world 98 points 1 year 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.

[-] ttmrichter@lemmy.world 68 points 1 year ago

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

[-] ttmrichter@lemmy.world 41 points 1 year 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

joined 1 year ago