- 121 Posts
- 512 Comments
floofloof@lemmy.caOPto Programming@programming.dev•LLMs helped perpetuate a path traversal bug from 20101·4 days agoYeah, and this particular vulnerability is pretty obvious for even a moderately experienced developer. You’d really have to be pasting without thinking to let this one slip by.
floofloof@lemmy.caOPto Programming@programming.dev•LLMs helped perpetuate a path traversal bug from 20105·4 days agoThat’s the point though: LLMs recycle junk information, including some potentially dangerous information, without any indication of the context. In a regular search of the web or of Stack Overflow, you’d probably see people commenting on how the code is vulnerable, but when you ask an LLM it doesn’t necessarily communicate that while still delivering the code.
Rust’s compiler is more picky than most, but is really impressive in how it explains the errors and advises on how to fix them. It’s a really good feature of Rust.
floofloof@lemmy.cato Dull Men's Club@lemmy.world•I've found the bathroom with good wifi at work2·8 days agoAt one job I worked, no one could get a usable wifi signal. I snuck into the server room and found the networking guy had put the wifi access point inside a Faraday cage with the servers. So I took it out. The wifi worked after that.
It usually works, but it takes a few minutes to reprocess the files if your project or solution is big.
In the JetBrains IDEs (which, relatively speaking, I like), I have to use “Invalidate caches and restart” several times a day just to get past all the incorrect error highlighting.
You should refer to Visual Studio by its full title: “Visual Studio (not responding)”.
floofloof@lemmy.cato Selfhosted@lemmy.world•Do you actually audit open source projects you download?English541·16 days agoFor personal use? I never do anything that would qualify as “auditing” the code. I might glance at it, but mostly out of curiosity. If I’m contributing then I’ll get to know the code as much as is needed for the thing I’m contributing, but still far from a proper audit. I think the idea that the open-source community is keeping a close eye on each other’s code is a bit of a myth. No one has the time, unless someone has the money to pay for an audit.
I don’t know whether corporations audit the open-source code they use, but in my experience it would be pretty hard to convince the typical executive that this is something worth investing in, like cybersecurity in general. They’d rather wait until disaster strikes then pay more.
floofloof@lemmy.cato Technology@beehaw.org•10 to 100 Times Faster than a Starlink Antenna, and Cheaper Than Fiber: Taara Unveils a Laser Internet That Could Shatter the Status Quo28·17 days agoThe company now operates in 12 countries and employs around 20 people.
That sounds like hard work.
You have to look for the unlocked version though. They usually sell for a little bit more but it’s worth paying the extra.
floofloof@lemmy.cato Selfhosted@lemmy.world•The last note taking app you'll ever needEnglish14·22 days agoObsidian’s only downside is that it’s closed source, but this is a big downside for some people.
floofloof@lemmy.cato Selfhosted@lemmy.world•The last note taking app you'll ever needEnglish1·22 days agoYes, Joplin achieves everything this proposal does and more.
floofloof@lemmy.cato Selfhosted@lemmy.world•The last note taking app you'll ever needEnglish13·22 days agoI think you accidentally dropped your mic.
floofloof@lemmy.cato linuxmemes@lemmy.world•Which distribution should I recommend to beginners to scare them?2·25 days agoYes, that’s why I’d like to run something as clean as NixOS. For now my compromise is OpenSUSE Tumbleweed’s btrfs snapshots.
floofloof@lemmy.cato linuxmemes@lemmy.world•Which distribution should I recommend to beginners to scare them?39·26 days agoI’ve been using Linux for nearly 30 years and I recently noped out of NixOS. It’s a great concept, but I’m old and I don’t want to spend the rest of my days configuring stuff just to get to where I would be in 30 minutes on a less rigorously designed distro.
That sounds good, but when you start thinking about how to implement this practically, it seems like it would either be unfeasible or would fail to really address the problem.
Maybe the rule would be: Unicode is allowed only in resource files. It would make code comments awkward for many non-English-speaking programmers. But suppose you did it, then since URLs can include Unicode, it would become normal to put URLs in resource files. If the VCS flagged up Unicode commits in source code, it would have to give resource files a pass. So in any case where you’re not hardcoding a URL it wouldn’t flag up Unicode URL abuses like the one illustrated here. You wouldn’t really have fixed the problem, just hidden it in a different way. You’d still need to flag up ambiguous Unicode characters in resource files.
floofloof@lemmy.cato Technology@beehaw.org•VPN firm says it didn’t know customers had lifetime subscriptions, cancels them5·1 month agoI just have the regular subscription. I wouldn’t pay for the lifetime one. I want to support them but I am not confident enough that they’ll be around for the long term since video hosting is a hard business to make money from.
floofloof@lemmy.cato Technology@beehaw.org•VPN firm says it didn’t know customers had lifetime subscriptions, cancels them51·1 month agoI have stopped buying lifetime subscriptions to cloud services unless they pay off within a year or two since you can’t guarantee that they’ll be honoured. Any longer and you stand to lose too much money.
floofloof@lemmy.cato Mechanical Keyboards@lemmy.ml•How can I find "crunchier" tactile switches for my new keyboard ?1·1 month agoI like the Epomaker Budgerigar switches. They have a pronounced tactile pop right at the top of the travel, then they descend smoothly. There’s nothing squishy or unclear about them. They’re not too expensive either.
I ran mine like this for years. Then a few weeks ago I installed Immich so we can browse photos directly from the NAS on our phone. That’s how it will stay. I don’t want it to turn into an application server.