Searching We.Love.Privacy.Club

Twts matching #c
Sort by: Newest, Oldest, Most Relevant

GNU C Library Adds Linux “mseal” Function For Memory Sealing
Introduced last year in the Linux 6.10 kernel was the mseal system call for memory sealing to protect the memory mapping against modifications to seal non-writable memory segments or better protecting sensitive data structures. The GNU C Library has finally introduced its mseal function making use of this modern Linux kernel functionality… ⌘ Read more

⤋ Read More

GCC Compiler Developers Begin Considering C++20 Default
Compiler engineer Marek Polacek of Red Hat recently proposed making the C++20 language specification (or rather the GNU++20 dialect) the default C++ version when not otherwise specified… ⌘ Read more

⤋ Read More

Supreme Court rejects call to overturn its decision legalizing same-sex marriage nationwide
MARK SHERMAN,  Supreme Court Reporter  -  Associated Press

_Stephan: The Epstein Trump pedophilia story has taken over the media, so I want to focus on some other major stories getting very little media attention. This is some good news, surprising in a way, given the MAGAt majority that dominates the Supreme Court. The good news is that the C … ⌘ Read more

⤋ Read More

Trump Quietly Dishes Out More Tax Breaks to Rich Investors While Slashing Food Aid for Millions
Jake Johnson,  Senior Editor  -  Common Dreams

_Stephan: While American children are facing food shortages, elderly and low income Americans are losing healthcare, and on and on, “king” Trump is giving further tax cuts to his oligarch supporters. It is just another step in the trend that is converting America from a dominantly middle-c … ⌘ Read more

⤋ Read More

The Linux Kernel Looks To ‘Bite the Bullet’ In Enabling Microsoft C Extensions
Linux kernel developers are moving toward enabling Microsoft C Extensions (-fms-extensions) by default in Linux 6.19, with Linus Torvalds signaling no objection. While some dislike relying on Microsoft-style behavior, the patches in kbuild-next suggest the project is ready to “bite the bullet” and adopt the extensi … ⌘ Read more

⤋ Read More

PDF Will Support JPEG XL Format As ‘Preferred Solution’
The PDF Association is adding JPEG XL (JXL) support to the PDF specification, giving the advanced image format a new path to relevance despite Google’s decision to declare it obsolete and remove it from Chromium. The Register reports: Peter Wyatt, CTO of the PDF Association, said: “We need to adopt a new image [format] that can support HDR [High Dynamic Range] c … ⌘ Read more

⤋ Read More

‘Not gonna happen!’ Trump official says Thanksgiving travel about to ‘slow to a trickle’
Alexander Willis,  Staff Writer  -  Raw Story

_Stephan: I have been thinking about what is coming in Thanksgiving, unless major good news changes occur in the next few days. Families will not be able to gather together because air travel, as described in this article, declines “to a trickle.” And what where will millions of Americans get the food for a c … ⌘ Read more

⤋ Read More

The Linux Kernel Looks To “Bite The Bullet” In Enabling Microsoft C Extensions
Two patches queued into the Linux kernel’s build system development tree, kbuild-next, would enable the -fms-extensions compiler argument everywhere for allowing GCC and LLVM/Clang to use the Microsoft C Extensions when compiling the Linux kernel. Being in kbuild-next these patches will likely be submitted for the Linux 6.19 kernel merge window next month but remains to be seen if there will be any last minute objections to this c … ⌘ Read more

⤋ Read More

Lenovo IdeaPad Linux Driver Adding Support For Rapid Charge Mode
Queued into the platform-drivers-x86 “for-next” Git branch ahead of the Linux 6.19 merge window is introducing the handling for the “Rapid Charge” USB-C charging mode to the Lenovo IdeaPad laptop driver… ⌘ Read more

⤋ Read More

James D. Watson, Co-Discoverer of the Structure of DNA, Is Dead At 97
ole_timer shares a report from the New York Times: James D. Watson, who entered the pantheon of science at age 25 when he joined in the discovery of the structure of DNA, one of the most momentous breakthroughs in the history of science, died on Thursday in East Northport, N.Y., on Long Island. He was 97. His death, in a hospice, was c … ⌘ Read more

⤋ Read More

Intel’s Rewrite Of Linux MM CID Code Showing Some Nice Gains For AMD
Posted last month were new Linux kernel scheduler-related patches rewriting the MM CID management code. The main takeaway for end-users from this set of 19 Linux kernel patches from an Intel engineer was seeing 14~18% improvement in a PostgreSQL database benchmark but that more benchmarks were needed. Curiosity got the best of me and I recently tested these patches on an AMD EPYC server to seeing some very enticing results for this in-development c … ⌘ Read more

⤋ Read More

Intel’s Rewrite Of Linux MM CID Code Showing Some Nice Gains For AMD
Posted last month were new Linux kernel scheduler-related patches rewriting the MM CID management code. The main takeaway for end-users from this set of 19 Linux kernel patches from an Intel engineer was seeing 14~18% improvement in a PostgreSQL database benchmark but that more benchmarks were needed. Curiosity got the best of me and I recently tested these patches on an AMD EPYC server to seeing some very enticing results for this in-development c … ⌘ Read more

⤋ Read More
In-reply-to » There are no really good GUI toolkits for Linux, are there?

@movq@www.uninformativ.de Yeah, give it a shot. At worst you know that you have to continue your quest. :-)

Fun fact, during a semester break I was actually a little bored, so I just started reading the Qt documentation. I didn’t plan on using Qt for anything, though. I only looked at the docs because they were on my bucket list for some reason. Qt was probably recommended to me and coming from KDE myself, that was motivation enough to look at the docs just for fun.

The more I read, the more hooked I got. The documentation was extremely well written, something I’ve never seen before. The structure was very well thought out and I got the impression that I understood what the people thought when they actually designed Qt.

A few days in I decided to actually give it a real try. Having never done anything in C++ before, I quickly realized that this endeavor won’t succeed. I simply couldn’t get it going. But I found the Qt bindings for Python, so that was a new boost. And quickly after, I discovered that there were even KDE bindings for Python in my package manager, so I immediately switched to them as that integrated into my KDE desktop even nicer.

I used the Python KDE bindings for one larger project, a planning software for a summer camp that we used several years. It’s main feature was to see who is available to do an activity. In the past, that was done on a large sheet of paper, but people got assigned two activities at the same time or weren’t assigned at all. So, by showing people in yellow (free), green (one activity assigned) and red (overbooked), this sped up and improved the planning process.

Another core feature was to generate personalized time tables (just like back in school) and a dedicated view for the morning meeting on site.

It was extended over the years with all sorts of stuff. E.g. I then implemented a warning if all the custodians of an activitiy with kids were underage to satisfy new the guidelines that there should be somebody of age.

Just before the pandemic I started to even add support for personalized live views on phones or tablets during the planning process (with web sockets, though). This way, people could see their own schedule or independently check at which day an activity takes place etc. For these side quests, they don’t have to check the large matrix on the projector. But the project died there.

Here’s a screenshot from one of the main views: https://lyse.isobeef.org/tmp/k3man.png

This Python+Qt rewrite replaced and improved the Java+Swing predecessor.

⤋ Read More
In-reply-to » There are no really good GUI toolkits for Linux, are there?

@movq@www.uninformativ.de Don’t you worry, this was meant as a joke. :-D

There was a time when I thought that Swing was actually really good. But having done some Qt/KDE later, I realized how much better that was. That were the late KDE 3 and early KDE 4 days, though. Not sure how it is today. But back then it felt Trolltech and the KDE folks put a hell lot more thought into their stuff. I was pleasantly surprised how natural it appeared and all the bits played together. Sure, there were the odd ends, but the overall design was a lot better in my opinion.

To be fair, I never used it from C++, always the Python bindings, which were considerably more comfortable (just alone the possibility to specify most attributes right away as kwargs in the constructor instead of calling tons of setters). And QtJambi, the Java binding, was also relatively nice. I never did a real project though, just played around with the latter.

⤋ Read More

Not so proud to be American — ‘fed up’ expats renounce citizenship
Steve Hendrix,    -  msn

_Stephan: Today, I got the third email I have received since August from an SR reader living overseas telling me they are giving up their American citizenship.  I have known many Americans living overseas, but until recently, I couldn’t remember any of them telling me they were giving up their American citizenship. However, as this article describes, renouncing American c … ⌘ Read more

⤋ Read More

The Linux boot process: from power button to kernel
You press the power button. A second later a wall of text scrolls by, or a logo fades in, and eventually Linux appears. What happens in between is not magic. It is a careful handshake between tiny programs and a very literal CPU. This part follows that handshake until the very first line of C code inside the Linux kernel runs. ↫ 0xkato’s blog Exactly what it says on the tin. ⌘ Read more

⤋ Read More
In-reply-to » That was a very non-fun day at work.

@movq@www.uninformativ.de Yeah, this is similar to my 2025 GWM Cannon Ute (truck) that we recently bought. It has this app called the “GWM App” that lets you view various health/stats of the vehicle, open/close the door, locks, control the A/C etc, all from your Mobile Phone. – But… Guess what?! :D It has a goddamn fucking SIM card in the head unit (dash) somewhere that once you “consent” and agree it signs up to some god knows what local cellular service and all that wonderul functionality is controlled by, guess what… A fucking goddamn CLOUD service! da actual flying fuck is wrong with these people?! – Are we some of the only people in the world that realize how fucking dumb all this Internet-connect shit™ really is?

⤋ Read More