@dngrs@chaos.social titelbild
@dngrs@chaos.social avatar

dngrs

@dngrs@chaos.social

30 trillion cells in a trench coat

header picture: the words DONT THINK (a Chemical Brothers album cover)

profile picture: person in motorcycle gear riding a cheetah

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

foone , an Random Englisch
@foone@digipres.club avatar

I'm writing rust without fully understanding the language. Pray for me.

Actually I guess that's true of most language I program in? Like, I'm sure there's some obscure python syntax or behavior I can't remember, despite calling myself a python programmer and having done it professionally for many years.

but my point was more that I barely know any rust. there's entire parts of syntax I don't understand yet. but I'm coding anyway!

dngrs ,
@dngrs@chaos.social avatar

@foone if VSCode is too sluggish for you but you want a GUI, try Lapce. Builtin Rust support (though last time I used it it was somewhat unintuitive to turn on), extremely fast in comparison, open source.

https://lapce.dev/

dngrs ,
@dngrs@chaos.social avatar

@foone (unsolicited advice, though from someone who did give a lot of Rust trainings) learning Rust just from an existing codebase is going to be a lot rougher than other languages. The official book is a great intro, I especially like the interactive version that comes with quiz questions!

https://rust-book.cs.brown.edu/

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

One thing that is cool about LLM‘s right now is how there’s actual competition, the likes of which I haven’t seen in other fields lately.

I’ve been enjoying GPT-4o, now Claude Sonnet 3.5 is out and I can just switch to it with one line of config. Until next time.

dngrs ,
@dngrs@chaos.social avatar

@fasterthanlime the deterministic seed part from the prompt is missing I think? And I don't understand how this prompt led to testing with the wrong amount of ranges, clearing cache and retesting...
Either way, it's impressive indeed but also underwhelming at the same time, at least to me. I think LLMs can be good for exploratory work but I'd hesitate to commit anything generated

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

asking LLMs to do the lord's work:

it rewrote it to 1 << 24

dngrs ,
@dngrs@chaos.social avatar

@fasterthanlime version without copilot (less typing, too!):

2 << (16777216f32.log2()) as i32

dngrs ,
@dngrs@chaos.social avatar

@fasterthanlime I would not in earnest suggest my solution 😬

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

new canonical "serde" spelling just dropped

dngrs ,
@dngrs@chaos.social avatar

@fasterthanlime #[derive (Spelling)]

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

I have a MIDI keyboard and Ableton open and my cat and I are playing a game of "find what setting my paw toggled"

I'm losing, btw

dngrs ,
@dngrs@chaos.social avatar

@fasterthanlime broke: backup your Ableton project files regularly to prevent data loss

bespoke: backup your Ableton config files regularly to prevent data loss

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Ok gang, say you're stuck on a plane for 20 hours, what YouTube video do you take with you?

dngrs ,
@dngrs@chaos.social avatar
  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine