Random

fasterthanlime , Englisch
@fasterthanlime@hachyderm.io avatar

I'm reading up about C++ move semantics and I don't understand why anybody in the history of humankind has ever tried defending this language.

tuvok ,

@fasterthanlime why would it be a compile time error? The idea with moving is that you move out the resources from the handle, the move has to leave the moved-from object in a clean enough state (so that the destructor can succeed) - you are free to reuse the handle for other things after that, you only can't expect it to have any reasonable value just after the move, until you repopulate it with something.

raph ,
@raph@mastodon.online avatar

@fasterthanlime @cliffle Ok, I think I have an authoritative source for this: it's @graydon 's 2012 Rust slide deck (https://d22yoqkt46k26p.cloudfront.net/graydon/talks/rust-2012.pdf). It cites Clean, C++, Linear Lisp, Linear ML, and Mercury. Linear Lisp is from 1992, Henry Baker, quite an interesting read (https://dl.acm.org/doi/pdf/10.1145/142137.142162). In Clean, the "uniqueness type" was mostly to deal with side effects in an otherwise pure functional language, but could also support mutation in place.

fasterthanlime , (Bearbeitet ) Englisch
@fasterthanlime@hachyderm.io avatar

Well, I'm curious now — macOS users, are you a "developer" and do you have Finder set to "show hidden files"?

mudbrick , (Bearbeitet )
@mudbrick@hachyderm.io avatar

@fasterthanlime I used to enable this setting habitually, in the hope it'd facilitate some kind of "discovery". Once or twice it did, I suppose.

After a decade and a half in macOS-land and longer still in UNIX-esque settings I'm familiar enough with where things go, and enough of a terminal-dweller that it hasn't felt worth the (small) effort do to it in a few years.

(Edited for typo)

hirozed ,
@hirozed@fosstodon.org avatar

@fasterthanlime I don’t have it set by default in Finder, but I do in Terminal. If I need to see hidden files in Finder, for example to get to the .ssh dir to add a key to an FTP app that doesn’t show it by default, I’ll hit Cmd+Shift+. and it will display. Hit the command again to hide.

heiseonline ,
@heiseonline@social.heise.de avatar

Elon Musks X wächst – aber deutlicher langsamer als vor der Übernahme

Interne Zahlen der Plattform X verraten: Der Dienst gewinnt weiterhin aktive Nutzer dazu. Das Wachstum hat sich jedoch deutlich abgeschwächt.

https://www.heise.de/news/Elon-Musks-X-waechst-aber-deutlicher-langsamer-als-vor-der-Uebernahme-9798666.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

Simmer ,
@Simmer@norden.social avatar

@heiseonline
Der Zuwachs ist zu spüren. Überall Porno.😬

TheOneSwit ,
@TheOneSwit@det.social avatar

@heiseonline aktive Bots höchstens 😂

fasterthanlime , Englisch
@fasterthanlime@hachyderm.io avatar

nods

gooba42 ,
@gooba42@mastodon.social avatar

@fasterthanlime Somebody's had to deal with user support!

groxx ,
@groxx@hachyderm.io avatar

@fasterthanlime I've been having fun dealing with time travel in Go lately. It has monotonic time, but MANY things do not retain that monotonic guarantee through their processing :blobfoxcofe_w_:

tazgetroete ,
@tazgetroete@mastodon.social avatar

Abitur statt Abschiebung. 👉 https://taz.de/!6023136/

Fish0815 ,
@Fish0815@mastodon.social avatar

@tazgetroete Ein riesen Erfolg für Joel, aber auch seiner Unterstützer*innen. Aber wäre, wenn er sich entschieden hätte eine Ausbildung zu machen? Oder auf einer anderen Schule wäre? Oder in einer ander Stadt.....usw.
Was für ein krankes System ist es, in dem Menschen von ihren Familien getrennt werden und ihrer Zukunft beraubt werden, wenn sie nicht genug Unterstützer haben? Einer schafft es zu bleiben, hunderte werden entgegen jeder Vernunft und Menschlichkeit abgeschoben.

susannelilith ,
@susannelilith@rheinneckar.social avatar

@tazgetroete Das ganze hat aber einen bitteren Nachgeschmack. In einem Land leben und arbeiten, das einen beinahe abgeschoben hat.

tazgetroete ,
@tazgetroete@mastodon.social avatar

Die Bundeswehr wirbt mit einer TikTok-Kampagne um Nachwuchs. Dabei ist die App für Soldaten aus Datenschutzgründen verboten. Wie passt das zusammen? https://taz.de/!6022130

PC_Fluesterer ,
@PC_Fluesterer@social.tchncs.de avatar

@tazgetroete
Gar nicht. Nennt man kognitive Dissonanz. 😎

Monsterklatsch ,
@Monsterklatsch@norden.social avatar

@tazgetroete die Bundeswehr will ja auch nicht Soldaten der Bundeswehr mitder Kampagne erreichen sondern junge Menschen am Anfang ihres Berufslebens. Die erreicht mensch unter anderem auch (leider) über TicToc.

heiseonline ,
@heiseonline@social.heise.de avatar

Erstes digitales Stellwerk an ICE-Strecke in Betrieb

In Bayern werden Weichen und Signale erstmals in Deutschland an einer Hochgeschwindigkeitsstrecke digital gesteuert.

https://www.heise.de/news/Erstes-digitales-Stellwerk-an-ICE-Strecke-in-Betrieb-9797542.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

#DeutscheBahn #Verkehr #news

DC4DD ,
@DC4DD@mastodon.radio avatar

@heiseonline Sind die nicht immer digital gesteuert oder haben die mehr als zwei Zustände?

echopapa ,
@echopapa@social.tchncs.de avatar

@heiseonline

muß man eigentlich die doofen Pressetexte der Bahn einfach so weiterkopieren? Ganz am Ende kommt zwar die Klarstellung was hier mit digital gemeint ist (nämlich quasi die letzte Meile zum Signal, Weiche etc.) aber man kann beim Text den Eindruck gewinnen, daß es bei der Bahn bisher völlig vorsintflutlich analog mit Seilzug zugegangen ist, was ja nun wirklich nicht stimmt.

Ne Zuse Z3 war ja auch kein Analogrechner, nur weil sie mit Relais funktioniert hat.

fasterthanlime , Englisch
@fasterthanlime@hachyderm.io avatar

I know you all probably have questions, and I uhhhh runs away

gfaster ,
@gfaster@tilde.zone avatar

@fasterthanlime @Cyborus wow that's horrible why would you do that please tell me more

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@gfaster @Cyborus So I could build parts of my app independently as dynamic libraries. I don’t really want to ship and copies of Tokyo, but monomorphization is kind of forcing my hand here.

It’s that or having the entire crate graph when building tokio, which ruins the purpose of segmenting my app in completely separate crates like that.

heiseonline ,
@heiseonline@social.heise.de avatar

Bitkom: Deutsche Unternehmen zögern beim Einstieg ins Metaverse

Die Meinungen zum Metaverse sind ambivalent: Viele Unternehmen sehen keine Zukunft, zehn Prozent ihr Geschäftsmodell bedroht. Das geht aus einer Umfrage hervor.

https://www.heise.de/news/Bitkom-Deutsche-Unternehmen-zoegern-beim-Einstieg-ins-Metaverse-9797815.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

Stefan_S_from_H ,
@Stefan_S_from_H@mastodon.social avatar

@heiseonline Ich weiß nicht einmal wo dieses Metaverse sein soll, von dem die Leute sprechen.

ArcaneAlchemist ,
@ArcaneAlchemist@mastodon.social avatar
derpostillon ,
@derpostillon@mastodon.social avatar

Bilder des Tages – beeindruckende Fotos aus Deutschland und aller Welt https://www.der-postillon.com/p/bilder-des-tages-beeindruckende-fotos.html

18+ plabberpapp ,
@plabberpapp@social.tchncs.de avatar
llutz ,
@llutz@norden.social avatar

@derpostillon
Stück aus dem eisernen Thron heraus gebrochen?

fasterthanlime , Englisch
@fasterthanlime@hachyderm.io avatar

Rare Apple naming L

julia ,
@julia@mathstodon.xyz avatar
bjorn3 ,
@bjorn3@hachyderm.io avatar

@fasterthanlime The first screenshot is a binary plist (magic bytes "bplist"): https://en.m.wikipedia.org/wiki/Property_list and https://en.m.wikipedia.org/wiki/Webarchive

heiseonline ,
@heiseonline@social.heise.de avatar

Mysteriöser Tassenklau bei Tesla in Grünheide! 🕵️‍♂️☕

Zum Artikel: https://heise.de/-9797393?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege

Kaneda_runs ,
@Kaneda_runs@dresden.network avatar

@heiseonline
Ist das so ein deutsches Ding? :blobcatthink:
Bei uns wird auch geklaut was nicht niet- und nagelfest ist. Kaffeemaschinen, Wasserkocher, Druckluftnagler, Klopapier (war klar) und, und, und.

NeOigasho ,
@NeOigasho@hessen.social avatar

@heiseonline Wenn diese Meldung kein Fake ist, kann man mit Fug und Recht behaupten, Tesla hat nicht alle Tassen im Schrank 🤣.
Aber was ist den Trinkgefäßen so toll, das solche Fehlbestände entstehen. Oder hat man der Belegschaft nicht erklärt, das es sich nicht um Einweggeschirr handelt. Ist ja eine amerikanische Firma, gelle… 🤦🏻

thephd , Englisch
@thephd@pony.social avatar

... Oh. Uh. How badly would everyone hate me if I wrote a paper that allowed

T foo[2];
and
T[2] foo;

to mean the same thing as far as type declarations go in C?

thephd OP ,
@thephd@pony.social avatar

@karolherbst 2 arrays of type T, foo and bar

karolherbst ,
@karolherbst@chaos.social avatar

@thephd in that case you get an approval from me!

derpostillon ,
@derpostillon@mastodon.social avatar

Katholische Kirche bietet nun auch veganen Leib Christi an
https://www.der-postillon.com/2024/07/leib-christi.html

Revolat ,
@Revolat@sueden.social avatar

@derpostillon
Der ist schon immer vegan.
So modern diese katholische Kirche! Man muss nur 2000 Jahre warten und schon springen alle auf den Trend auf.

ewos1986 ,
@ewos1986@norden.social avatar

@derpostillon die Katholiken wieder: hecheln schon wieder Jahrzehnte hinter dem

fasterthanlime , Englisch
@fasterthanlime@hachyderm.io avatar

me: okay, no code in slides this time
also me:

kinnison ,
@kinnison@fosstodon.org avatar

@fasterthanlime I love the warning squiggles on only one of the label names :D

sheldonyoung ,

@fasterthanlime "No, alloc shim is unstable" or "No alloc shim is unstable"

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine