d_k_bo

joined 9 months ago
MODERATOR OF
[–] [email protected] 7 points 1 week ago (1 children)

One way to do this is to use reference-counting pointers such as std::rc::Rc or std::sync:Arc. The parent node can hold a strong reference to each child node and each child node has a Weak reference to its parent.

[–] [email protected] 4 points 2 weeks ago (1 children)

As others mentioned, running a minecraft server by itself is pretty easy. If you want additional features like a Web UI, multiple servers at the same time etc. you might take a look at Crafty Controller.

 

The BLE Manager app for Android simplifies managing your device’s characteristics. No additional libraries are required to use the app with your device. Annotate each characteristic with a descriptor specifying the data type, graphical component, and optional properties like minimum and maximum values. That’s all! Once connected, the app automatically displays the described characteristics, enabling you to read and modify their values. All components fully support notifications and indications from your device for seamless interaction.

As someone who likes to tinker with microcontrollers, this looks exactly like something I was looking for a while ago. I ended up using phyphox which offers support for custom BLE devices with custom “experiments”. I will consider using this app for future projects.

[–] [email protected] 4 points 2 weeks ago (1 children)

I couldn't resolve that link on my instance, here is a URL that should from other instances: https://lemmy.dbzer0.com/comment/17092047

[–] [email protected] 66 points 4 weeks ago (2 children)

Just one more line bro. One more line will fix it.

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

I just think they don't understand how copyright and licenses work. If you create a work, you own the copyright. If you license it to someone (even when using a restrictive CC license) you are granting them rights that they hadn't before. It doesn't get more restrictive than just not licensing your comment.

[–] [email protected] 7 points 1 month ago

There are some local differences in math notation, e.g. . vs. , as a decimal separator, vs. × for multiplication, : vs ÷ for division et cetera.

[–] [email protected] 66 points 1 month ago (12 children)

https://github.com/michidk/rost

Aren't you müde from writing Rust programs in English? Do you like saying "scheiße" a lot? Would you like to try something different, in an exotic and funny-sounding language? Would you want to bring some German touch to your programs?

rost (German for Rust) is here to save your day, as it allows you to write Rust programs in German, using German keywords, German function names, German idioms.

[–] [email protected] 13 points 1 month ago (2 children)

This, but Forgejo instead of Gitea.

[–] [email protected] 3 points 1 month ago (2 children)

While I think there is always something that can be improved, I don't like that we are getting a third major date time library alongside time and chrono.

https://xkcd.com/927/

[–] [email protected] 4 points 1 month ago (3 children)

Jiff is a datetime library for Rust that encourages you to jump into the pit of success. The focus of this library is providing high level datetime primitives that are difficult to misuse and have reasonable performance. Jiff supports automatic and seamless integration with the Time Zone Database, DST aware arithmetic and rounding, formatting and parsing zone aware datetimes losslessly, opt-in Serde support and a whole lot more.

Jiff takes enormous inspiration from Temporal, which is a TC39 proposal to improve datetime handling in JavaScript.

[–] [email protected] 9 points 1 month ago

FIY, this appeared as a post on [email protected]. I assume that this wasn't your intention. Maybe this happened because you mentionend lemmy.world/c/linuxmemes?

See https://lemmy.world/post/24972437

 

Zu Gast im Studio: Virologe Christian Drosten. Von 2007 bis 2017 war er Professor an der Universität Bonn. Seit 2017 ist er Professor, Lehrstuhlinhaber und Institutsdirektor an der Charité in Berlin. Einer seiner Forschungsschwerpunkte sind neu auftretende Viren. Einer breiten Öffentlichkeit wurde Drosten im Zuge der COVID-19-Pandemie bekannt, unter anderem mit dem NDR-Podcast Coronavirus-Update und als wissenschaftlicher Berater der Bundes- und Landesregierungen. In der Berichterstattung zur Pandemie gehört er zu den in Deutschland am häufigsten erwähnten Wissenschaftlern.

Ein Gespräch über Christians Job als Virologe, sein ursprünglichen Plan Anästhesist zu werden, seinen NDR-Podcast, Wirkung auf die Allgemeinheit, Podcasts von anderen Virologen, Egos und Geltungssucht, das Ausfahren von Ellenbogen, die Lehren aus der Corona-Pandemie, Polarisierung der deutschen Gesellschaft, die Bilanz der Wirksamkeit der Corona-Maßnahmen, Kontaktbeschränkungen, Christians Rolle als Politikberater, das Schließen von Schulen und Kitas, die politische Nachsicht für das Wirtschaftsleben, die Diskussion um den Ursprung des Corona-Virus aus einem Labor in Wuhan oder einem Markt, das Präventionsparadox, Masken, Christians Biografie, Werdegang und seine Jugend, seine Dissertation über PCR-Tests, die Entdeckung des Corona-Virus 2003, seine "Gain of Function"-Forschung, Förderung von der Bill & Melinda Gates Foundation, Entwicklung von Impfstoffen und das Patentrecht, die RKI-Protokolle und Verschwörungsmythen und vieles mehr + eure Fragen via Hans

Auch als Video auf https://youtu.be/av2Hax3Bg1U

 
 
1
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

Während die einen „Deutschland den Deutschen“ oder „Ausländer raus“ grölen, spricht die Neue Rechte von „Remigration“ und „Ethnopluralismus“. Die Neue Rechte will sich vom historischen Nationalsozialismus absetzen und gibt den alten Ideen auf diese Art einen intellektuellen Anstrich, gemeint ist aber dasselbe. Über die AfD, sowie deren Akteuren wie beispielsweise Björn Höcke und Maximilian Krah gelangen zentrale Ideen in Länderparlamente und in den Bundestag. Welche Folgen das hat, bespreche ich mit dem Philosophen und Podcaster Sebastian Schnelle. Welche Ziele hat die Neue Rechte und mit welchen Strategien wollen sie diese erreichen?

 

Gemeinsam mit Adam Angst (‪@grandhotelvancleef‬) schreien wir in "Kruppstahl, Baby" all den Menschen, die offene & tolerante Gesellschaftstrukturen im Wandel blockieren, eine klare Kampfansage entgegen.
Ihr werdet zwar jeden Tag lauter, doch wir werden jeden Tag mehr.
Keiner von euch hält uns auf! 🔥

1
ich📜iel (i.imgflip.com)
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 
 

Nach einer längeren Pause beschäftigt sich das Pandemie-Team wieder einmal mit dem Affenpockenvirus. Der Erreger ging 2022 um die Welt und verursacht noch immer Kranke und Tote. Nun bereitet eine andere Variante des Virus in der Demokratischen Republik Kongo den Forschern Sorgen: Auch hier scheint das Virus nun von Mensch zu Mensch und über sexuelle Kontakte übertragen zu werden. Darüber sprechen Kai und Laura mit dem Virologen Placide Mbala, mit dem Spezialisten für Infektionskrankheiten Laurens Liesenborghs und mit der Epidemiologin Anne Rimoin. Felipe Rojas Lopez von Ärzte ohne Grenzen erzählt, warum die Behandlung von Patienten vor Ort eine Herausforderung ist. Und natürlich gibt es auch eine Mikrobe des Monats. Bacillus subtilis könnte uns helfen, unsere Plastikmüllberge zu kompostieren.

 

Ich habe heute Televido Version 0.4.0 veröffentlicht. Televido bietet Zugang zu Livestreams und Mediatheken der öffentlich-rechtlichen Rundfunksender. Ermöglicht wird das ganze durch APIs des MediathekView-Projekts.

Version 0.4.0 bietet die Möglichkeit, die Auswahl der Live-Sender zu berbeiten und die Mediathek-Suche nutzt nun die erweiterte Such-Syntax von MediathekViewWeb.

view more: next ›