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.

feddit.uk

ReakDuck , to programmerhumor in open source in progress...

Yeah, thats the positive thing.

I don’t want a single application that just works for a few cases but doesn’t work for tons of other cases. With such a world we would have a Windows OS where you need to use Face-ID for everything you want to use and sometimes just crashes and restricts the usage of something simple stupid because you don’t have the magical Windows Battlepass or smth.

petenu , to casualuk in What's your favourite Fruit Pastille colour?

Fuck Nestlé.

coffeemonster , to android in Chipolo postpones Chipolo Point due to Android Find My Device update delays

I ordered the peblebee version as it has a replaceable battery. Gonna reach out to them tommorow and ask them what’s up.

Metalbird , to android in Chipolo postpones Chipolo Point due to Android Find My Device update delays

Yup received the same email. My app already has the new look in Germany, so I wonder what the rollout looks like.

App screenshot

debeluhar ,

I also have the same new look in Slovenia. Since Chipolo is Slovenian company, I will just drive to Chipolo company to get it and then wait for Android Find My Devicu update 😝 just kidding

ODuffer , to childfree in Handy guide to places not to eat in the UK over the summer...
@ODuffer@lemmy.world avatar

Nice. I made the mistake of popping into KFC for a rice box yesterday. There was a kid screaming at the top of it’s lungs. Fortunately I had my IEMs with me!

skomposzczet , to programmer_humor in Too close to home

I think that’s the only thing I dislike about rust. Not having to use * to dereference but later having to use is tad confusing. I know it’s still clever solution but in this case I prefer c++'s straightforward consistency.

Using ampersand never was problematic for me.

Pfosten ,

C++ does have the problem that references are not objects, which introduces many subtle issues. For example, you cannot use a type like std::vector<int&>, so that templated code will often have to invoke std::remove_reference<T> and so on. Rust opts for a more consistent data model, but then introduces auto-deref (and the Deref trait) to get about the same usability C++ has with references and operator->. Note that C++ will implicitly chain operator-> calls until a plain pointer is reached, whereas Rust will stop dereferencing once a type with a matching method/field is found. Having deep knowledge of both languages, I’m not convinced that C++ features “straightforward consistency” here…

raubarno , to programmer_humor in Too close to home

So… now the rustc borrow checker is the new video game boss that is nearly impossible to beat for newcomers, right?

SubArcticTundra , to programmer_humor in Too close to home
@SubArcticTundra@lemmy.ml avatar

Hahaha yes tfw Rust forces you to put your shit in a Rc<Cell<Option<>>>

nothacking ,

New your program deadlocks instead of crashing, peak safety.

tatterdemalion ,
@tatterdemalion@programming.dev avatar

EVERYBODY STOP. Nobody make a move or the memory dies. We have a Mexican Memory Standoff.

pulaskiwasright , to programmer_humor in Too close to home

I thought it was randomly adding Send and Sync traits to function signatures until rustc is happy.

theory OP ,
@theory@feddit.uk avatar

That too

charolastra ,

Randomly wrapping things in Arc::new()

Blackthorn , to programmer_humor in Too close to home

Follow up of: “Mmm… should I put lifecycle annotation in these 10 structs or just use and Rc and call it a day?”. Rc and Box FTW.

Guilvareux , to programmer_humor in Too close to home

Oh and .clone()

nautilus , to programmer_humor in Too close to home

Replace that with golang and now we’re talking

BravoVictor ,
@BravoVictor@programming.dev avatar

Yeah, popped in the comments to say the same.

I dont know what my damage is with pointers…

nautilus ,

honestly with Go in general I’m in a perpetual cycle of being annoyed with it and then immediately being amazed when I find some little trick for efficiency - with stringer interfaces and the like

danwardvs , to programmer_humor in Too close to home

This was me in courses that used C. Keep adding and removing * and & until the IDE was happy and it usually worked.

philm ,

Ah the good old times with C, when things were much more simple (but unsafe…)

rikudou ,

(void*) flashbacks intensify.

philm ,

The “best” way to program dynamically typed…

nothacking , to programmer_humor in Too close to home

Same for C, & yields a pointer to a value, and * allows you to access the data. (For rust people, a pointer is like a reference with looser type checking)

aloso ,

We have pointers in Rust, too :) see documentation

nothacking ,

I doubt many people have ever use that or any of the other low level memory API. The main appeal of rust is not having to do that.

mvee , to programmer_humor in Too close to home

I’m gonna have to borrow this book

HeavyRust ,
@HeavyRust@lemm.ee avatar

Me too. I also want to make some changes to it at the same time.

mvee ,

Better apply for a mutable library card now before someone else does

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines