HackerTrans
TopNewTrendsCommentsPastAskShowJobs

adampwells

no profile record

Submissions

Gemini's brutal assessment of a vibe coding session

17 points·by adampwells·11 ay önce·3 comments

SpaceX Starship Lost

smh.com.au
11 points·by adampwells·geçen yıl·1 comments

comments

adampwells
·11 ay önce·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 ay önce·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
·geçen yıl·discuss
https://www.science.org/content/article/dragon-man-skull-bel...
adampwells
·geçen yıl·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
·geçen yıl·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
·geçen yıl·discuss
"The purpose of economics is to make astrology look respectable!"
adampwells
·geçen yıl·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
·geçen yıl·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 yıl önce·discuss
Check out the fingers on the AI generated images!
adampwells
·2 yıl önce·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 yıl önce·discuss
wow, sounds like someone is taking the back story of Snow Crash a bit too seriously!
adampwells
·2 yıl önce·discuss
I work at an ISP that offers fixed wireless Internet.

For marketing purposes I generate viewsheds around each of our ~500 towers, so we can get an idea which suburbs to market to.

At the time of sale, my system will calculate the line of site from the access point on the tower to the customer rooftop to determine the height of the pole (is any) needed to get service.

Like the OP, we re-sampled (gdalwarp, raster2pgsql) some of the 15cm lidar data to ~1m to get it down to a manageable size (7TB) and run it on a single bare-metal PostgGIS instance (500GB ram, 64 cores)

Radio waves at 5GHz are quite 'fat' so we need to allow for that on LOS calculations as per [0].

The GIS magic mostly sits in PostGIS and we use a number of data sets to solve problems: * Shuttle Radar Topography Mission - Digital Elevation Model and Digital Surface Model, 30m grid [1] * Building footprints for all of Australia [2] * National Roads [3] * property boundaries (cadastre) [4] * All Australian addresses [5] * Australian suburbs [6]

For the front end we use a VueJS app (quasar.dev) using DeckGL on Google Maps to visualise the LOS path. Back end is Rust (axum/sqlx).

GIS is a very interesting are to work in - if I had more fun they might start charging me admission to come to work!

[0] https://s.campbellsci.com/documents/au/technical-papers/line... [1] https://ecat.ga.gov.au/geonetwork/srv/eng/catalog.search#/me... [2] https://github.com/microsoft/AustraliaBuildingFootprints [3] https://ecat.ga.gov.au/geonetwork/srv/eng/catalog.search#/me... [4] https://www.data.qld.gov.au/dataset/cadastral-data-queenslan... [5] https://www.industry.gov.au/publications/geocoded-national-a... [6] https://www.abs.gov.au/statistics/standards/australian-stati...