8,423 karma · joined Feb 13, 2013 (13y ago) · 2,051 submissions
comment 2d ago · link · parent
Firstly the obvious, LLMs aren't perfect yet, they still make mistakes.
But even if they could achieve safe C by asking them to "Write Safe C, Make no mistakes", there would still be a significant benefit to achieving safety by using Rust or a memory safe language.
LLMs work best when they have a combination of clear objective functions and guardrails. In this case, the compiler acts as a guardrail to keep it safe while trying to solve the problem that needs solving.
Having a compiler step prevents the LLM taking a "shortcut". Despite models improving, they will still take shortcuts, sometimes absurd ones, to meet some definition of a "job done".
The other massive benefit is cost and speed. Having an LLM analyze and reason about the safety is expensive and wasteful. Having this done at compile time is cheaper and quicker. The earlier in the feedback loop, the cheaper it will be.
Save your tokens for "real" work, not stuff you can check at compile time.
comment 2d ago · link · parent
If you'd said another memory safe language I might have been on board, but C? We've seen a complete collapse in the ability of software to go un-hacked and un-exploited. Not all of that is down to poor memory safety of course, but it's a category of vulnerability that is massively increased in both surface and risk by choosing to write C.
Choosing Rust alone might be virtue signalling, but choosing a memory safe language is just pragmatic.
comment 4d ago · link · parent
You know you're in a messed up state when 39 year olds are described as "Young travellers".
Many Millennials are over 40 too, lumping them in as "young travellers" and pretending it's an achievement to get 22% of your clientele from that demographic just demonstrates how aged the cruising demographic really is.
comment 4d ago · link · parent
A big question that I think will increasingly be asked as this sort of thing becomes more widespread: Did these customers really give informed consent to their data being passed to these "third party vendors" that are getting breached?
Even with regulation such as CCPA and GDPR in Europe, a lack of meaningful consequences has meant a complete abdication of treating customer data as a liability.
Maybe companies will be more careful with handing out data to third parties if they can no-longer trust those third parties to keep the data secure and it becomes a reputational risk.
Of course that remains to be seen, this one will likely fade into noise and have little to no effect long term, but I am hopeful that meaningful attitude change to data will happen as an effect of the continuing vuln-pocalypse.
An alternate technical point of view: there's also an argument for the need for a better way than emails or SMS for being contacted by companies with which we do business. If a contact grant was handled in a more privacy-preserving manner, then you could authorise companies to send you messages without giving up a form of identification, and this authority could then even be also appropriately delegated in a more secure way.
comment 5d ago · link · parent
That doesn't strictly require a central server, but a central server certainly makes any kind of sync orders of magnitude easier for everyone. That becomes a central weakness whether the client software is deployed via javascript in a web browser or packaged as a desktop app.
Running a proprietary service might buy you a small amount of time compared to web-scanners, but it doesn't change the risk model. In fact, given that the browser is still a fairly effective sandbox, moving to published desktop app probably increases the risk for clients by increasing the blast radius of any issues there.
Consider the kind of viruses we used to deal with: https://en.wikipedia.org/wiki/Melissa_(computer_virus)
comment 5d ago · link · parent
Because, otherwise, even if you went crazy and did the most naive implementation:
Storing for every User
User -> List <User Contacts>
And the reverse:
User -> List<Users who have you as contact>And even then if you go full quadratic and have literally everyone have everyone else as a contact, and store and update the online status for each pair, and do that for each direction, you still shouldn't have scaling issues at 50k users, as that just isn't that much data?
By 500k Users you might be starting to feel it with a naive approach, but 50k? It shouldn't be a bottleneck unless status updates are causing cascade effects into other systems.
And that's just an analysis of the most naive design I could think of!
comment 1w ago · link · parent
That's a ridiculous statement. Outlook down for a day is not a weekly event. FAA Ground Stops aren't a weekly event.
They are things that almost never happen.
While it might be a pattern of rushed upgrades, it's still a pattern that something isn't quite right. That might just be rushed upgrades due to fear of vulnerabilities getting exploited left and right, but it's still clearly a big difference from even 6 months ago.
comment 1w ago · link · parent
https://beready.campaign.gov.uk/
It's nowhere near the kind of readiness and preparedness campaigns of the cold-war of course, but it's a step up in alertness that's higher than anything I can remember.
comment 1w ago · link · parent
Edit: I misread, we are at the same step then, I should use a real entropy check on this then.
Edit2: You were right, this isn't random enough to be a hash or key, but it also seems to be a dead end. Something to sleep on!
comment 2w ago · link · parent
Subscriptions are often done via "direct debit" ( since 1970 ), which is safer than letting anyone take money if they have your details, so that's been a solved problem here for a while too.
The downside is the first-movers problem, where the UK having been ahead a couple of decades ago will now likely be behind for a while, because there isn't so much incentive.
Hopefully not as long as the USA has been behind though!
comment 2w ago · link · parent
So I limit myself to at most 2 or 3 things at once, and if all of those are in long running sessions, well so be it, I know I'll be deep back in it soon.
But it's tempting to start "just one more session", especially something like getting it to better profile and improve performance. That feels super productive, but is often just to stop me feeling "idle".
comment 2w ago · link · parent
Update: It was hard to find because it was titled, "I accidentally became PureGym’s unofficial Apple Wallet developer"