Programming thread

  • 🔧 Chat is under maintenance.
    🧊 New server is in an office waiting on a mexican.
  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
This is kindof naive, the sheer tangled roody-poo hell AIs can code up where the end product may be fun for a period of time while already being fatally flawed and basically doomed due to how bad it is under the hood

a) Lots of fun games have shit code
b) I would bet you money that you couldn't tell a refactor PR from me or a frontier
Have you ever seen the state of some indie projects under the hood? Spaghetti code with mountains of technical debt. None of that is exclusive to AI. The point is that someone still has to take ownership of the project, understand what they're building, review the code and actually give a shit about maintainability.

Yeah this is why I have a build chain in my basement and test automation 🤯🤯🤯🤯

And I actually do real code reviews!! And check the best way to work with the object model of game maker!!!

(Also you can target the browser which means it's pretty trivial to have a test room and script out test playing!!!!!!!!!!!!!!!!!!!!!)

1794239371353.png
 
I've told my LLMs to stop trying to write bash from time to time, it's shitty at getting all the quoting right so I just tell it "it's ok, you can do it in python" and then it only takes 6 more tries instead of 30. The one time it was trying to get JSON output from shell was funny but ultimately solved much faster in python. Since I told it make us a "process.sh" for this pipeline it took me literally.

Bash has possibly the worst syntax I've ever seen. One should avoid writing bash scripts on general principles.
 
Last edited:
Bash has possibly the worst syntax I've ever seen. One should avoid writing bash scripts on general principles.
Every time I begrudgingly write a sh program, I keep all of the data in pipelines. Variables, if necessary, contain only values I define from a small set. Programming this way makes sh a data-flow language, to me reminiscent of John Backus' FP, and I liken it to such an environment, but designed by idiots.
 
Every time I begrudgingly write a sh program, I keep all of the data in pipelines. Variables, if necessary, contain only values I define from a small set. Programming this way makes sh a data-flow language, to me reminiscent of John Backus' FP, and I liken it to such an environment, but designed by idiots.
I suppose that's how one uses the command line anyway. Personally I think most programming languages have gross syntax and I count bash among the worst.
 
It would be nice if we could stop going back and forth on this so frequently. I note that KF does have a vibe coding thread. Perhaps those who like such things can go there and leave this thread to those of us who like programming, not just creating programs.
 
is it? why would they end in even numbers then? shouldnt CA keys be prime?
Not for P-384. One of the advantages of elliptic curve cryptography is that your secret key is usually just a random number with no further constraints beyond the most significant bit being one.
 
Is it just me or are there so many vibecoded projects that people are getting sick of them? Every time I go somewhere related to tech there is always someone talking about an app they just made and are trying to get users for. Makes my own vibecoded apps get completely ignored.
 
What sucks is a fast AI is one of the best ways to actually learn why certain architectures work better than others and even to see the cost of re-work in near real time instead of other months to years with real human devs.

Architect something wrong, tell an AI to add things, see what happens.
Fix the architecture with the AI, see how long it takes and the challenges it has.
Architect something right from scratch, tell an AI to add features, etc.

The inability to distinguish quick and dirty and good from AI or not is what it is but, well, whatever.
 
Deeper report

There is no reason why their private keys would even need to be exportable from their HSM - why are they even fucking around with them with scripts in the first place if this is to be believed? Vendor migration is apparently the reason..OK.

The funniest part is that their CRLs were failing to validate with invalid signatures - because they had been signed with the actual unfucked key presumably. Surely they could have pieced together then something was not right.

So the current story is that this signing mismatch didn't trigger any audit of key objects involved in the signing process. To me there are two schools of thought but ultimately one conclusion:

1. Emuhdra were aware internally early on of their weak keys but decided to bodge the right key object to work and sign the CRLs (begs the question why didn't they investigate aliasing key objects) the incentive here is that the process of revoking the certificates is an operational disaster and cross certs would need careful consideration.

2. Emuhdra were NOT aware internally of their weak keys but just bodged random shit together until it worked.

Either way why the fuck would anyone trust them as a CA after this?
 
Jokes aside - this is not a particulary good argument. If someone is getting paid for doing something, it does not mean that that someone does a good job. It doesn't even mean that they have the expertise.
 
Back
Top Bottom