HNHacker News
TopNewBestAskShowJobs

ralegh

104 karma · joined June 4, 2023

submissionscomments
ralegh··on Borgo is a statically typed language that compiles to Go
I do like JavaScript but it strikes a weird balance for me where it's a bit too easy to write and a bit too verbose so I tend to end up with hard to maintain code. Feels good at the start of a project but rarely a few weeks in. Also not a fan of the node ecosystem, I try to use deno where I can (maybe that would be bun these days).
ralegh··on Borgo is a statically typed language that compiles to Go
I agree it's a bit of a pipe dream. I'm more thinking of performance here, e.g. web services using Django. You could start off in dynamic/interpreted land and have a seamless transition to performant compiled land. Also lets you avoid premature optimisation since you can only optimise the hot paths.

Also types are self documenting to an extent. Could be helpful for a shared codebase. Again Python just now getting round to adding type definitions.

At the end of the day good tooling/ecosystem and sheer developer hours is more important than what I'm suggesting but it would be nice anyway. I dream about cool programming languages but I stick to boring for work.

ralegh··on Borgo is a statically typed language that compiles to Go
Great! Something I've always wanted.

I'd love to be able to use a bit more type-y Go such as Borgo, and have a Pythonesque dynamic scripting language that latches onto it effortlessly.

Dynamic typing is great for exploratory work, whether that's ML research or developing new features for a web app. But it would be great to be able to morph it over time into a more specified strongly typed language without having to refactor loads of stuff.

Like building out of clay and firing the parts you are happy with.

Could even have a three step - Python-esque -> Go/Java-esque -> Rust/C++esque.

ralegh··on Scale of the Universe
Wow totally forgot that… but wouldn’t it be (10^23)^3 = 10^69!?
ralegh··on Scale of the Universe
For a second I thought we'd seen a lot of the universe, the HDF being 1/5th the radius away and on googling Earandel is 2/3rds the radius... of the known universe.

"According to the theory of cosmic inflation initially introduced by Alan Guth and D. Kazanas, if it is assumed that inflation began about 10−37 seconds after the Big Bang and that the pre-inflation size of the universe was approximately equal to the speed of light times its age, that would suggest that at present the entire universe's size is at least 1.5×1034 light-years—at least 3×10^23 times the radius of the observable universe."

So, if true, all those metrics of atoms, stars, planets in the known universe are multiplied by 10^23.

Even if intelligent life were rare enough to only appear once per knowable universe, there could be 10^23 different intelligent species - single planet to galaxy spanning empires - that would probably never meet another intelligent species (except those with the same ancestors).

ralegh··on Humane AI – Pico Laser Projection – AI Twist on an Old Scam (2023)
Ironic that this has been downvoted a bunch
ralegh··on Show HN: Truncate, a word-based strategy game
Huge potential, it's annoying in a way that gets me to keep playing but maybe slightly too annoying- I have a couple suggestions that would change the gameplay a lot so feel free to ignore:

Attacks that lose when they are exactly 1 letter longer- if winning by 1 was too powerful, these could draw/stalemate, letting you fortify your position and potentially attack a turn later (giving your opponent a chance to fortify their position). It feels a bit cheap to not be able to spell out a word because the opponent blocks with a shorter word.

I also find myself trying to plan words but never getting the right letters - maybe you could add a view of the next 3/5 incoming letters to reduce the rng-ness and allow more planning.

Again, great job, I look forward to see how it progresses!

ralegh··on Don't mock machine learning models in unit tests
Yeah I'd agree, we learn addition/multiplication/etc as processes of smaller problems. If you gave an LLM a prompting framework to do addition I'm sure the results would be better (add the units, add the tens,

Food for thought- would a savant use the same process? Or have they somehow recruited more of their brain to where they can memorize much larger problems.

ralegh··on Sharpscript: Lisp for Scripting
GPT?
ralegh··on Hexa Lift: Single person drone
I'd assume it's more about redundancy - 1/18 failed motors vs 1/4 would be much safer to land. Also means the replacement motors would be cheaper (individually). Like the starship booster.
← PreviousPage 2 of 2