May 222021
 

How many instructions do you need to successfully compile C code? Let’s see, you’d need some jump instructions, some arithmetic functions, and — of course — move instructions, right? Turns out you only need the move instruction, which — on x86, at least — is Turing complete.
While the effort is a bit tongue-in-cheek, we have to admit that if you were trying to create your own CPU, this would make for a simple architecture and might have power or complexity advantages, so maybe someone will find a practical use for it after all. If you wanted a C compiler for a simple CPU, this wouldn’t require much to emulate at a byte-code level, either.

How does it…

External feed Read More at the Source: https://hackaday.com/2021/05/21/one-instruction-to-rule-them-all-c-compiler-emits-only-mov/

 2021-05-22  Comments Off on Hackaday – One Instruction to Rule Them All: C Compiler Emits only MOV
May 222021
 

This week I have another exciting new UI element to present: KCommandBar! You might have gotten the impression by my fawning over KHamburgerMenu that we care more about casual or novice users today… not so! KCommandBar is an expert-focused UI element implementing a HUD-style popup that aggregates all of the actions in a KDE app’s full menu structure, so that you can quickly activate features at the speed of thought! It’s like a KRunner inside your apps. You can also use it as a search, if you think a feature may exist somewhere but you don’t know where.
Hmm, does kate have a Block Selection mode? How do I activate it?

Oh, like that!
Notice how it shows you…

External feed Read More at the Source: http://pointieststick.com/?p=8531

 2021-05-22  Comments Off on Planet KDE – This week in KDE: KCommandBar delivers ludicrous-mode productivity
May 222021
 

 
Emily Wilder, fired by AP after 16 days on the job. (photo: Angel Mendoza)
Emily Wilder had thought she’d hit it big. After interning at the Arizona Republic, she earned a newsroom assistant job at the Phoenix bureau of the Associated Press, starting May 3. It wouldn’t last long. 
Several right-wing organizations, including the Federalist (5/19/21) and Washington Free Beacon (5/18/21) outlets, attacked the news service over Wilder’s previous affiliation with Students for Justice in Palestine, when she was an undergraduate at Stanford University. AP, which recently had its office in Gaza destroyed by Israeli missile fire, bowed to the pressure (Washington Post, 5/20/21).
The News Media Guild, the union representing AP staff, said it was investigating Wilder’s firing…

External feed Read More at the Source: https://fair.org/home/ap-firing-shows-right-wing-hypocrisy-illusion-of-objectivity/

 2021-05-22  Comments Off on CounterSpin – AP Firing Shows Right-Wing Hypocrisy, Illusion of ‘Objectivity’
May 222021
 

CHICAGO—Excited about his final opportunity to make friends as an adult before surrendering to a life of solitude, local man Josh Kelly reported Friday that the adult kickball he joined would be a great way to meet other people who are entirely out of options. “It feels good to do something different and meet some…

Read more…

External feed Read More at the Source: https://www.theonion.com/adult-kickball-league-great-way-to-meet-other-people-wh-1846940382

 2021-05-22  Comments Off on The Onion – Adult Kickball League Great Way To Meet Other People Who Are Entirely Out Of Options