There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

CannotSleep420 , in dotnet developer

I use .NET for my job. My team shifted to a lot of frontend work with react for about a year when the lastest .NET was .NET 5. Barely a year later after not touching it the latest version was .NET 7. Ridiculous.

Brussels5728 , in california how to get id

Good video interaction, unfortunately seems to be a bot farm that posted it to YT.

devfuuu , in I don't believe Auto Save feature in any software

Intellij being a good guy amd autosaving every few seconds. No more worrying about crtl+s.

McArthur , in I don't believe Auto Save feature in any software

I was never really aware I did this until I had to program something with hot reloading (I don’t remember what) and it was so insufferable…

And now my pain is with rustfmt. Just because I saved before filling in the struct fields does not mean I want you to format the struct accordingly!!!

Lmaydev , in I don't believe Auto Save feature in any software

I just do a full rebuild. Saves all files.

pkill , in I don't believe Auto Save feature in any software

autosave is no good if you have live reload imo

po_tay_toes , in I don't believe Auto Save feature in any software
@po_tay_toes@lemmy.sambands.net avatar

Auto-saving is the insurance against manually saving failing, which is the insurance against the computer or program failing.

It’s insurances all the way down, yet I’m still let down when versioning overwrites my changes.

GeniusIsme , in What could go wrong trying to solve AoC in Rust?

Show the alternative, I’ll have a good laugh.

janAkali , (edited )

It’s Nim, but I have no idea why you can’t do this in Rust:


<span style="color:#323232;">var seeds = lines[0].split(": ")[1].splitWhitespace().mapIt(it.parseInt)
</span>

Full solution: codeberg.org/Archargelod/…/solution.nim

GeniusIsme ,

Ahh, it is the same thing. Rust example surely has some cruft, but mostly for the better. I’m sure not all of it is needed.

chinstrap , in What could go wrong trying to solve AoC in Rust?
@chinstrap@lemmy.ml avatar

Java 2. World is full of wonders

crispy_kilt ,

Java 2 didn’t have streams nor iterator combinatorics, not sure what you mean?

chinstrap ,
@chinstrap@lemmy.ml avatar

i didn’t mean as a version. I meant as overuse of streams

crispy_kilt ,

How would you have preferred to solve it? Using for loops?

AVincentInSpace ,

Python style iterator comprehension

(wonder if someone has made that into a macro. if no one has I will)

crispy_kilt ,

I don’t think it would be readable. Too much going on. You’d need an outer iter over lines, an inner over words, a check for number and a conversion. And there would be zero error handling.

AVincentInSpace ,

No less readable than half the Python comprehensions I’ve written.

zero error handling.

Not necessarily. The macro could look for a ? at the end of the final expression (the bit that comes first in a comprehension) and return a Result.

crispy_kilt ,

Right, of course, I meant no error handling in the Python impl

Maeve , in dereferencing movies

He’s still your daddy!

mindbleach , in dereferencing movies

The Goncharov is a segfault.

meliodas_100 , in Happened to me multiple times

That’s such a hell yeah let’s go experience.

Bronco1676 , in Sleep() at home

I just measured it, and this takes 0.17 seconds. And it’s really reliable, I added another zero to that number and it was 1.7 seconds

massive_bereavement , in Happened to me multiple times
@massive_bereavement@kbin.social avatar

GitHub > insights> network

pkill ,

yeah though if there are many forks, can’t do without using some scripting. Hence I believe you should hard fork if you feel really serious about carrying on a project and/or at least link it in an issue on the original repo

jwt , in You may call me a monster but I know I'm not the only one
  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines