superheitmann

joined 2 years ago
[–] [email protected] 8 points 1 month ago

I had an intern who was writing his report and was doing calculations that were obviously wrong. I asked him how he got there and what his sources were for the formula.

He told me to hang on, he's going to re-check the section. A couple of hours later he gets back to me and says, the formula is in fact right. Again I ask for sources and he shows his chat with ChatGPT. It was just his very broken maths formula with the followup question: Is this right? Eager to please ChatGPT was confirming that ...

Wonder where he's at now ...

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

A Boolean is a true/false value. It can only be those two values and there be represented by a single bit (1 or 0).

In most languages a Boolean variable occupies the space of a full byte (8 bit) even though only a single of those bits is needed for representing the Boolean.

That's mostly because computers can't load a bit. They can only load bytes. Your memory is a single space where each byte has a numeric address. Starting from 0 and going to whatever amount of memory you have available. This is not really true because on most operating systems each process gets a virtual memory space but its true for many microcontrollers. You can load and address each f these bytes but it will always be a byte. That's why booleans are stored as bytes because youd have to pack them with other data on the same address other wise and that's getting complicated.

Talking about getting complicated, in C++ a std::vector is specialized as a bit field. Each of the values in that vector only occupy a single bit and you can get a vector of size 8 in a single byte. This becomes problematic when you want to store references or pointers to one of the elements or when you're working with them in a loop because the elements are not of type bool but some bool-reference type.

[–] [email protected] 1 points 10 months ago (1 children)

Does anyone have a Thin client setup using Linux? I did have a virtual Manjaro KDE on my Proxmox until an update borked it. Yesterday, I setup a Gnome VM because they have native RDP support. It's still suboptimal. Content is still lagging and there's tearing. Additionally, I would like a way to use the webcam+headset attached locally to my thin client as if they were connected to the virtual machine.

Previously, I have been Scripting around with USB IP but only with half success.

I just wanted to know your experiences

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

Oh, das ist spannend. Das schlage ich mal nach

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

Das erinnert mich an LTT und sein 5km WLAN Projekt. Vielleicht schaue ich nochmal, was er dafür benutzt hat 😂

[–] [email protected] 2 points 2 years ago

Habe ich auch gehört. Ich will es zumindest mal probieren. Haben noch ein altes Set bei den Schwiegereltern

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

Bin nicht so der Handwerker, aber lernen kann man ja alles 😄 Ich probiere es einfach Mal. Danke

[–] [email protected] 3 points 2 years ago

Das werde ich vermutlich probieren. Schwiegereltern haben ein Set von Devolo ungenutzt rumliegen. Damit kann ich es testen ohne den großen Initialaufwand als Risiko zu haben

[–] [email protected] 8 points 2 years ago (4 children)

Offen gesagt, reicht das WLAN vermutlich auch. Aber gerade in großen Mehrparteienhäusern kann es auch mal überlastet sein. Ich möchte schauen, ob ich etwas stabiles und weniger fehleranfälliges hinkriege mit geringstem Aufwand.

[–] [email protected] 2 points 2 years ago

Das war natürlich auch mein erster Gedanke, aber da ist eine psychologische Hürde, die ich beim Vermieter und meiner Frau überwinden muss. Eigentlich macht es ja auch keinen Unterschied ob ich ein kurzes Loch für den Hängeschrank oder ein langes fürs Kabel setze.

 

Ich lebe in einer Mietwohnung und ziehe demnächst um. Mein alter Vermieter war sehr hilfsbereit und hat mir vom Internetanschluss im Wohnzimmer durch die Wand und unter Tür- und Fußleisten durch ein Netzwerkkabel zu meinem Schreibtisch verlegt.

Mein neuer Vermieter wird das sicher nicht machen. Ich habe jetzt einen extra Raum und hatte gehofft, dort einen Heimserver aufzusetzen. So mit Server Rack und allem. Das Problem ist aber, dass ich weder dort noch an meinem PC einen Netzwerkanschluss habe. Ich müsste das Kabel irgendwie vom Wohnzimmer aus in die zwei benachbarten Räume kriegen oder auf WLAN umsteigen. Löcher in die Wand bohren gefällt vermutlich weder dem neuen Vermieter noch meiner Frau.

Wie macht ihr das? Bohrt ihr Löcher in die Wand? Verlegt ihr Kabel unter Fußleisten oder hat jemand beim Bau eures Hauses mitgedacht und sowieso schon Kabel in der Wand verlegt?