Website | Codeberg | GitHub | Altes Profil | Noch älteres Profil
Verantwortlich für @kaenguru@feddit.org & @titelregel@feddit.org.
- 2 Posts
- 13 Comments
Priapism isn’t a good thing.
Exactly. I bought it to experiment with postmarketOS.
This is the story of my OnePlus 6T…
d_k_bo@feddit.orgto
Programmer Humor@programming.dev•The only way one should code C btw.
7·4 months agoJust use the regular letter instead of the Umlaut
But that’s just wrong.
ühas a different meaning and pronunciation thanu.If umlauts aren’t available, the correct way to write umlauts is with an additional
e:zurueck.Über-Mensch -> Uber-Mensch
Please be aware that this term can be problematic, since it can be seen as a foundation for fascist ideas. https://en.wikipedia.org/wiki/Übermensch#Use_by_the_Nazis
d_k_bo@feddit.orgto
Programmer Humor@programming.dev•The only way one should code C btw.
4·4 months ago*
zurückDo C compilers support non-ascii characters?
Python too.
thisis commonly used with a similar meaning toselfin cases whereselfcan’t be used because it is a reserved keyword.Example:
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<St1::Item>> { let this = self.project(); this.inner.poll_next(cx) }https://github.com/rust-lang/futures-rs/blob/master/futures-util/src/stream/select.rs#L113-L116
I do run into them even though I use Rust for ~3 years now, but only in non-obvious cases, e. g. when all references to the borrowed data are dropped before the end of the function.
Rust would be some borrow checker compile error like
borrowed data escapes outside of associated functionargument requires that `'1` must outlive `'static`
d_k_bo@feddit.orgto
Programmer Humor@programming.dev•Python needs an actual default function
7·8 months agoFree standing functions in Java?! This can’t be true.
d_k_bo@feddit.orgto
Programmer Humor@programming.dev•Python needs an actual default function
304·8 months agoStill better than having to create a new class just to implement
public static void main(String[] args) {}Relevant Fireship video: https://youtu.be/m4-HM_sCvtQ
d_k_bo@feddit.orgto
Forgejo@programming.dev•[Answered] Organic maps archived their forgejo repositoryEnglish
1·9 months agoWait, organic is a forprofit publicly traded company?
As far as I can tell from the open letter, it is legally a for-profit company, but it has only 2 (maybe 3) shareholders and isn’t publicly traded.

I doubt that it runs a full OS