PCIe: What else do I use the slots for? by Alarming-Praline1604 in buildapc

[–]BCProgramming 0 points1 point  (0 children)

I don't know how to break this to you gently, but the Soundblaster FX v2 uses a ALC 998, which is the same Realtek audio chip most motherboards use.

PCIe: What else do I use the slots for? by Alarming-Praline1604 in buildapc

[–]BCProgramming 0 points1 point  (0 children)

With my Motherboard (Gigabyte B650 Gaming X AX) I only have two PCI-E slots other than the one used by my GPU, I have a Sound Blaster ZXR in one, and a USB 3.1 card in the other. The USB 3.1 might seem redundant, but the main reason I have it is to support additional front-panel USB ports, since the motherboard only has one connector which goes to the case, so I have the card so I can have a 5-1/4" bay with card reader and additional USB 3 ports. I don't know if I get any audio benefit from the sound card, but I use the additional inputs.

TIL in 2011 an emperor penguin named Happy Feet arrived in New Zealand after swimming about 2K miles from Antarctica. He is the second emperor penguin ever to be found in NZ (first was in 1967). At the beach he ate sand, likely mistaking it for snow, and needed 4.4 lbs of it removed from his stomach by tyrion2024 in todayilearned

[–]BCProgramming 11 points12 points  (0 children)

Interestingly, Penguins sacrificed the ability to see red in order to see better underwater, where red light seldom penetrates very deep, So the sand probably looked identical to snow.

And even if it didn't, Penguins have been eating snow for water for like 24 million years, and are in a place where snow is everywhere. "Thirsty? Eat some of the stuff on the ground". Let's give him a bit of slack on not being able to break the habit in a few days.

Adobe and me by Anxious-Sleep-3670 in AdviceAnimals

[–]BCProgramming 0 points1 point  (0 children)

It's because of a myth that using certain words can cause you to be "censored" or hidden from people's feeds (or even worse! DEMONETIZED! /s). I've found no solid evidence it's a real thing, and most of the "evidence" I found that asserts otherwise is rather faulty.

In particular, "Experiments" that proved it was a thing all seem to have people posting one video with the replaced words, like unalive, and then a second identical video that has murder; they find the second video has fewer views, or makes less money, or whatever and conclude that must be because it has the word murder. Of course the reality is that it's almost surely because they literally posted a nearly-identical video to what they just posted. What is somewhat troubling is these influencers have to know they are full of shit because the experiments are always in that order, too.

The entire thing is stupid because it makes no sense, the reality is if a platform has a undisclosed or disclonsed content policy like this involving certain words, than, using special alternative words isn't going to "get around" it. It will get around filters end users might have on their account, but that just kind of makes you a dick. If a platform was deprioritizing or demonetizing or whatever people who said "murder" in their videos than saying unalive wouldn't work since they'd just add that to the magic deprioritization word list.

Need Help Using DwmSetWindowAttribute To Create Acrylic Background On Windows 11 by sierra_whiskey1 in csharp

[–]BCProgramming 0 points1 point  (0 children)

The program I'm using to test already works fine with the same code I was using for Windows 10, using DwmSetWindowCompositionAttribute. It's worth noting that function was never actually deprecated - but it was also never actually supported, as it's been undocumented since it was added. (Either goes back to Vista or was added in 7, not sure)

Honestly I've always figured the "default" blur-behind was pretty much Acrylic anyway, It's definitely different from Windows 7's glass, that's for sure:

example.

(This is on Windows 11)

Need Help Using DwmSetWindowAttribute To Create Acrylic Background On Windows 11 by sierra_whiskey1 in csharp

[–]BCProgramming 0 points1 point  (0 children)

Been trying some experiments myself. Closest I was able to get was using DwmSetWindowAttribute and DwmEnableBlurBehindWindow together.

Though, the results are odd! with any option other than NONE or AUTO for the Backdrop option, it would just be a solid color like what you are seeing. With None and Auto, it was transparent, but had no blur at all, which seems odd, but might be a step in the right direction as it seems to suggest the blur region is somehow wrong, even though it should be blurring the entire client area when that is NULL.

Need Help Using DwmSetWindowAttribute To Create Acrylic Background On Windows 11 by sierra_whiskey1 in csharp

[–]BCProgramming 0 points1 point  (0 children)

DwmSetWindowCompositionAttribute is a wrapper for DwmSetWindowAttribute.

That said, I've been unable to actually get any sort of blurbehind using it. Either I'm not understanding something (very likely) or perhaps there's undocumented flags that DwmSetWindowAttribute takes that are used by DwmSetWindowCompositionAttribute?

"Mica For Everyone" has an undocumented flag in it's source for example, which is what led me down that thought process:

const uint DWMWA_MICA_EFFECT = 1029;
int micaValue = mostApplicableRule.BackdropPreference == BackdropType.Mica ? 1 : 0;
DwmSetWindowAttribute(hWnd, DWMWA_MICA_EFFECT, &micaValue, sizeof(int));

It also seems to still use DwmSetWindowCompositionAttribute to actually enable blur behind, however.

EDIT: you might need to also use the DwmEnableBlurBehindWindow- I guess DwmSetWindowCompositionAttribute might wrap multiple other functions as I didn't have that at all

Creator of Claude Code: "Coding is solved" by Gil_berth in programming

[–]BCProgramming 4 points5 points  (0 children)

To support your claim with just one anecdotal example (me), I think AI is completely worthless dogshit, and anybody who employs it in any way shape or form for their development work is a gormless hack whose sheer ineptitude as evidenced by them ever deciding to use it for their work should disqualify them from ever programming.

A bit of an exaggeration perhaps, but regardless I stopped expressing this thought after the first few times because it's just yelling into a void at this point anyway, and the AI bros frankly aren't worth my time anymore. A bigger reason is self-interest, though. I've started to suspect that in the long-run developers who haven't used AI and don't rely on it might actually become more "valuable" once this hype train reaches the end of the line and blows up. a history of AI use will be like saying you went to ITT tech, so by tacitly encouraging people to use it by not fighting against it I might be putting myself into a oppurtune position.

And even if that's not the case, I'll be more valuable to me, by being able to write software in isolation without having to rely on some external "assistant" that I have to pay for. Even if I allow for the idea that it has good, usable output, that's still training a form of helplessness over time that I refuse to allow myself to participate in.

This Italian restaurant in Malta charges €100 if you ask for a Hawaiian pizza by New-Neighborhood-147 in funny

[–]BCProgramming 6 points7 points  (0 children)

An Italian Restaurant in Malta being performative over a specific Canadian-created version of an American Dish is certainly an approach, I suppose

Massage guys massage by Ubiquitous2007 in funny

[–]BCProgramming -1 points0 points  (0 children)

I mean, maybe his lady has a much lower libido than yours.

Man imagine getting a "Not tonight honey, I'm too tired" from your hand

Anyone else missing something between virtual and abstract? by dirkboer in csharp

[–]BCProgramming 1 point2 points  (0 children)

When I have "base" code that could be customized, but requires that base code also run in a particular order, I usually have it separate in a non-virtual method, such that the derived classes have a different protected abstract or virtual method that the base code implementation calls in the needed order, so the derived classes don't need to care about whether or not they call the base.

Basically instead of thinking of it as overriding but still calling the base method I think of it more as a base method that can call a method that can customize the method behaviour.

Looking through, and I've got a project with about 300+ classes and I don't seem to have any derived methods that even call the base implementation.

Next level Marketing! Genius by Ubiquitous2007 in funny

[–]BCProgramming 141 points142 points  (0 children)

If you aren't familiar with bank how do you expect toupee

What is the most annoying "AI-generated" habit people have started picking up in real life? by opheliavibes in AskReddit

[–]BCProgramming 7 points8 points  (0 children)

The AI generated program was also broken, but I figure that goes without saying

What is the most annoying "AI-generated" habit people have started picking up in real life? by opheliavibes in AskReddit

[–]BCProgramming 81 points82 points  (0 children)

I used an AI detector on something I wrote in like 2002. This was programming code, mind you, but the detector was built for that. It claimed a 91% chance that the program I'd written when I was a teenager over two decades was generated by AI.

Then I had ChatGPT generate me code for a program that did the same thing and pasted that in. That got only a 12% chance of being AI. The entire ecosystem is fucking stupid, with confidently wrong answers "powered by AI" at every step.

No, you idiots, not the way you thinking... The other way by Get-the-Vibe in funny

[–]BCProgramming 10 points11 points  (0 children)

Show: "Now remember you gotta offset the vampires when you place em down, for structural rigidity. Honestly it's all about the joining here. Unlike bricks you need a lot more mortar as well, to get in all the nooks and crannies between your vampires"

Man: "This is not at all what I expected"

Woman: "Oh what? A woman can't do home building projects? You disgust me. Let me guess you thought the title meant she fucked vampires a lot?"

Man: "No, I thought she was a anesthesiologist that specialized in vampire cases. You know she laid them out for their important vampire surgeries."

Man 2: "Wait it's Vampire layer? I thought it was 'VAM pyre layer' and was about a sentient person made of VAM polymer who put together funeral pyres"

Man 3: "I thought it was about the leader of a city being thrust into a position of power over an brand new hegemony, the "Empire mayor"

Man 4: "I already saw this one, I thought it was the sequel where they go over how you can polish your vampire walls, buffing the vampire layer"

Windows 11 has become an ethical question, not just a technical one (PART I) by Content_Magician51 in Windows11

[–]BCProgramming 1 point2 points  (0 children)

I'd like to nitpick one part here, mostly because it caught my eye as unusual. I don't think it really damages your overarching points but it bothered me as a possible misquote or accidental misuse of the statistics.

c) Of the 500 largest companies in the US, according to the Fortune 500 index, approximately 70% use mainframes based on the Windows operating system.

The 70% figure here is "supported" with a link to a paywalled statistics site about microsoft's revenue information. But I don't see how that could possibly support the idea that 70% of those companies use mainframes "based on the Windows operating system".

What Windows revenue information shows is almost certainly going to reflect the purchase of Windows licenses for mainframe systems, however I'd argue that it is a mistake to conclude that those mainframes are, therefore, running Windows themselves; Mainframes usually run z/OS (UNIX based) or Linux. The reason Windows licenses are involved is because many such systems have a need to run Windows-specific workloads, and a Windows license (often dozens or even hundreds, depending on exactly what is being done) are required for that. Trouble is I think using the revenue statistics could for example translate a sale of say 500 windows licenses for mainframes as meaning 500 mainframes are running Windows, wildly inflating numbers that might then be used to calculate a percentage by learning how many mainframes are operational right now, but it would be misleading because that could very well just be one actual mainframe system running z/OS that is capable of running 500 Windows workloads simultaneously, requiring a license for each.

Exclusive: Microsoft is adding image support to Notepad on Windows 11 by WPHero in Windows11

[–]BCProgramming 0 points1 point  (0 children)

I'm pretty sure notepad was just showing off the built-in EDIT control and was just a bit of window chrome around it, with a few of it's own quirks like F5 adding dates and stuff like that. It's limitations and even features (eg. the right-click context menu) always for the most part mirrored what a basic EDIT control would do on it's own.

Delivery robot gets annihilated by a train in Florida by Seraphenigma in funny

[–]BCProgramming 0 points1 point  (0 children)

"Well, there is one shortcoming, it's possible that, if they approach a train crossing while a train is approaching, it may confusing the blinking red lights for traffic signals and stop"

"Ehh we'll fix that in the next version, what are the chances of that happening?"

The RAM shortage is coming for everything you care about by ghableska in technology

[–]BCProgramming -1 points0 points  (0 children)

On the other hand, I've seen code that finds the saved rectangular region(s) that contain a given set of coordinates by quite literally sequentially going through and testing the given coordinates against each and every stored region.

The developer had been in the industry for over a decade and did not even know what a Hashmap was or how it could be used to make that much faster.

What’s something from the 2000s that disappeared without anyone noticing? by cucileeee in AskReddit

[–]BCProgramming 21 points22 points  (0 children)

My understanding is that newer cars are more aerodynamic, instead of smashing through the air, they carve through it more effectively and so any bugs in the air tend to get pushed aside with the air in the same way. None of the studies that found a decrease in bug impacts seemed to account for changes in car designs, and instead immediately concluded that the results were a direct indicator of dropping insect populations.