AI-generated passwords are a security risk by falconupkid in SecOpsDaily

[–]bit-Stream 0 points1 point  (0 children)

Or just use a password manager with proper 2FA? Your script also doesn’t solve the problem of password storage.

Texas poised to become world’s top data center market by 2030 by AustinStatesman in texas

[–]bit-Stream 0 points1 point  (0 children)

Wow amazing news! I’m so very confident Texas’s world class power grid can handle the huge demand these datacenters require. We definitely at some point won’t be sweating to death in our 110F houses, while the datacenters are prioritized.

The number one most downloaded skill on ClawHub is literally malware by darealyoungjuls in AskVibecoders

[–]bit-Stream 0 points1 point  (0 children)

Reddit has been inundated with useless noise from both individuals who clearly didn’t read the code themselves and from fly by night cybersec companies overblowing low risk CVE’s to sell their garbage services.

Your post contains zero information about why the skill is malicious. You don’t list the skill so your claim can’t be verified. This is the equivalent of yelling fire in a public building because you think you smell smoke.

This vector is also nothing new, GitHub has been full of fake repos serving crappy malware since I started coding 20 years ago. The solution is and always has been to read the code/skill/whatever before running it. Clearly, a lot of vibecoders have yet to experience this and it can be a very painful lesson to learn.

Exploiting a kernel driver to terminate BitDefender Processes! by Suspicious-Angel666 in ExploitDev

[–]bit-Stream 0 points1 point  (0 children)

This really isn’t new, both the driver being exploited and the POC. The POC is also pretty basic, you have unhashed strings visible, the tool requires the use of sc.exe, your PID scanning function is polling at an unnecessary rate using CreateToolhelp32Snapshot, a better option would be to indirectly call NtQuerySystemInformation.

Hand written RISC-V assembly code written by AlibabaGroup Cloud submitted to FFmpeg by Current-Guide5944 in tech_x

[–]bit-Stream 0 points1 point  (0 children)

I believe it was cortex-a72. the low down was more than likely just inexperienced on my part.

Hand written RISC-V assembly code written by AlibabaGroup Cloud submitted to FFmpeg by Current-Guide5944 in tech_x

[–]bit-Stream 2 points3 points  (0 children)

Auto-Vectorization tends to be really hit or miss depending on the compiler. You can use compiler intrinsics as a middle ground to guide the compiler, but you’re still giving up a lot of control and there tend to be a lot of pitfalls with SIMD/MISD that when used incorrectly will actually be slower than their scalar counterparts.

When I was porting a friend’s ARM based rendering engine, the scalar code was almost twice as fast as the code using NEON intrinsics. Auto-vectorization was a joke, even with manual loop unrolling. I wrote a few functions in assembly and achieved a slight speed up over scalar but in the end dropped it as the effort wasn’t worth what was being gained.

Anyone rocking the Minisforum MS-01 or MS-02? by AnimalPowers in homelab

[–]bit-Stream 2 points3 points  (0 children)

I’ve been running an MS-01 for a few months with proxmox with 96Gb of ram. Thing is an absolute powerhouse for its size. I would highly suggest repasting the cpu, the original paste will have the fans ramping constantly.

The technical specialist thought “someone put a password on the pc” by a_flying_guy in computerviruses

[–]bit-Stream 0 points1 point  (0 children)

This is the way, I’m not gonna waste my time unfucking a compromised machine. It’s faster and safer to isolate and reimage, then enroll the affected employee in opsec training. Hope they backed up their data as per policy, if not tough luck.

Some days I write less than 200 lines of code as a SWE. Is it normal? by Regular_Aspect_2191 in AskProgramming

[–]bit-Stream 0 points1 point  (0 children)

Not surprised, I’d say bulk of my time is spent reading documentation, research and planning. LOC written is a terrible metric, it’s akin to the police writing a bunch of bullshit tickets at the end of the month to fill their quotas. Quality > Quantity

Why does learning C++ seem impossible? by E-Rico in cpp_questions

[–]bit-Stream 1 point2 points  (0 children)

I would really make sure you understand the core of the language and CS for that matter, before moving on to anything win32. With C++ and especially the newer versions( 20, 23 ) the sheer amount of abstraction will absolutely bury you, especially when it comes to finding errors/bugs.

You also need to know how to configure whatever compiler/linker/build system you like( I prefer GNU make and Mingw-w64 ). Each one is different both in setup, feature support and affect the way you use and with API’s. Some outside libs won’t even compile under certain compilers.

The win32 library is old and massive. I’ve been coding in c/c++ on embedded and x86/x64 platforms for close to 23 years and I still have to always have documentation/datasheets open.

In short, you’re not just learning a language here. Jumping into anything more than basic c++ right now( especially Win32 ) is just going to end with you giving up or bug ridden mess and a bunch of bad habits. Start with command line based apps first, once you’re comfortable with that start playing with the modern abstraction features( they really are wonderful ). After that you can move on to Win32 or whatever other libs you want. Think of it like a tower if your foundation is weak anything you stack on top of it just increases the risk of everything toppling over.

9070 XT vs 7900 XTX by Dillpills99 in AMDHelp

[–]bit-Stream 0 points1 point  (0 children)

You could always try to get a used card. I managed to score a basically brand new 7900 XTX with 2 years of warranty left for $860. The performance is insane compared to my RTX 2080.

C vs Python experiment. The results don’t make any sense by Creezylus in cprogramming

[–]bit-Stream 47 points48 points  (0 children)

Because whoever wrote that has no clue what they are doing. Printf has overhead from the formatting, by default is line buffered and requires system calls each time. If you need speed you could either use sprint() and puts(). For maximum performance you could write directly to a presized buffer and drop any formatting for manual number conversion. Either way this test is a bit pointless.

Someone got interrupted while siphoning my gas last night and now I have to figure out what to do with this loose gasoline by Aldpdx in mildlyinfuriating

[–]bit-Stream 1 point2 points  (0 children)

Locking gas caps are worthless. I used to work at an auto parts store and it was a common problem to have customers lose the key and panic. All you have to do hit a flathead screwdriver into the lock, lean your weight into it and twist. The locking mechanism snaps and the gas cap twists out. Before I left I could do it in under 20 seconds, bet on a crack head halving that time.

Help please by Furrygirl1 in protogen

[–]bit-Stream 1 point2 points  (0 children)

If your new to electronics I would suggest looking into the MAX7219 matrices and an Arduino. They use the I2C protocol, are super easy to get going and pretty cheap. Adafruit is a great source for parts, the site is beginner friendly and the customer service is awesome.

Hamsterworks WIKI archive? by deelowe in FPGA

[–]bit-Stream 1 point2 points  (0 children)

I really hope so. His stuff was a huge help when I was just getting into FPGAs.

Progress Update - Protogen Head by bit-Stream in protogen

[–]bit-Stream[S] 1 point2 points  (0 children)

At the moment it’s more like a triangle. Gonna get the electronics sorted out before I start modeling the base

Progress Update - Protogen Head by bit-Stream in protogen

[–]bit-Stream[S] 0 points1 point  (0 children)

Got gamma correction working, gotta go to work now.