HackerTrans
TopNewTrendsCommentsPastAskShowJobs

adampwells

no profile record

Submissions

Gemini's brutal assessment of a vibe coding session

17 points·by adampwells·11 miesięcy temu·3 comments

SpaceX Starship Lost

smh.com.au
11 points·by adampwells·w zeszłym roku·1 comments

comments

adampwells
·11 miesięcy temu·discuss
I have had very good results using Claude to write Rust. My prompting is often something like

'I have a database table Foo, here is the DDL: <sql>, create CRUD end points at /v0/foo; and use the same coding conventions used for Bar.'

I find it copies existing code style pretty well.
adampwells
·12 miesięcy temu·discuss
I find that Claude writes boilerplate SQL very well, and is effectively an 'ORM' for me - I just get plain SQL for CRUD.

Complex queries I write myself anyway, so Claude fills the 'ORM' gap for me, leaving an easily understood project.
adampwells
·w zeszłym roku·discuss
https://www.science.org/content/article/dragon-man-skull-bel...
adampwells
·w zeszłym roku·discuss
I have been writing software for about 20 years (following on from OChem PhD and research for a few years). I am 'senior' and get paid plenty in Oz...

I have aphantasia - I can't visualise/picture things in my mind, so I use pen and paper or whiteboards A LOT!

I create various ERDs, mind maps, sequence diagrams etc. I use a ReMarkable which makes it a bit easier to move stuff around and makes it more effective.

I get that some people might think it is 'pure romanticism', but pen and paper has been crucial for my success.
adampwells
·w zeszłym roku·discuss
> However the novelty of what can be solved is very surprising.

I've read that the 'surprise' factor is much reduced when you actually see just how much data these things are trained on - far more than a human mind can possibly hold and (almost) endlessly varied. I.e. there is 'probably' something in the training set close to what 'surprised' you.
adampwells
·w zeszłym roku·discuss
"The purpose of economics is to make astrology look respectable!"
adampwells
·w zeszłym roku·discuss
I program Rust using the Axum framework and Sqlx.

Github copilot is so good at writing CRUD db queries that it feels as easy as an ORM, but without the baggage, complexity, and the n+1 performance issues.
adampwells
·w zeszłym roku·discuss
I got a PhD in Organic Chemistry in 1994. I was a researcher for a few years and converted to software in 2000.

The degree turned out to have a lot of transferable skills - especially in researching and solving problems.

Just 25 years later I am a Principal Engineer in the Oz Telco industry writing Rust!

I don't regret the degree for a moment - although when I went through the degree was free, even at a top tier Australian university.
adampwells
·2 lata temu·discuss
Check out the fingers on the AI generated images!
adampwells
·2 lata temu·discuss
My journey has been from JVM (Java, Scala, Kotlin) -> Go -> Rust, writing web backends, APIs, integrations etc.

I don't write 'clever' code, just sticking stuff into Postgres/PostGIS/Neo4J/Clickhouse, some basic business logic and math, returning JSON etc.

I have found Rust to be super-productive and a joy to use compared with Go. I don't use the complex parts of Rust; no messing with lifetimes, a little cloning and using Arc<> to share things across threads/tasks.

GitHub Copilot in Jetbrains RustRover is very effective at generating accurate Rust CRUD code, handler methods etc. I don't bother with an ORM because it is so fast to write the SQL queries. Having said that, Copilot sucks at anything even slightly complicated and you take a risk asking it to generate code you can't validate quickly.

The whole of Rust might be a beast, but I have had a very productive couple of years just using the 'boring' bits and it took a week or two for me to be more productive than in Go writing bog-standard web backend code.
adampwells
·2 lata temu·discuss
wow, sounds like someone is taking the back story of Snow Crash a bit too seriously!