one of their leaders saying “use AI to help with the trauma of job loss”
no way
one of their leaders saying “use AI to help with the trauma of job loss”
no way
men don't even like their babies for the first three months
That's a gross generalization and simply untrue.
My server rack is located in an uninsulated attic with two tiny windows. I haven't measured the ambient temperature but I think it's over 40°C. Yesterday one drive in my storage server reached 65°C - so for today I have shut it off until the rain comes. Fun times.
This reads like a headline from Plague Inc.
Haha, danke :D Mir ist gerade noch ein Fehler in meinem Pastebin aufgefallen: In Zeile 111 müsste config->flashPin = ...
stehen.
Gerne, freut mich :)
Great, now this might work with my neighbor, but how exactly do I smack mega corps and the state? Are we talking eco terrorism here or do you have some other idea that hasn't been tried in the last decades?
I mean, climate change isn't new but humanity still fucks up the planet and that does not seem to change. Why should we have to sweat at home while professionalized greed burns down everything around us? I will gladly take individual responsibility, but not alone.
Actually, a failing power grid here and there might act as a wake-up call and then we can start talking about solutions, not just symptomatic treatment.
our small impact is only felt when we band together
It is also offset immediately when unregulated corporations use the saved energy to sell us the next dumb thing.
Okay, also die folgenden Punkte sind mir aufgefallen:
config.exposureTime
machen.while
-Schleife bietet sich immer dann an, wenn du die Anzahl an Schleifendurchläufen nicht kennst - in deinem Code kennst du deine MAX_ROWS
aber schon, daher würde ich eher eine for
-Schleife nutzen (wobei ich gerade nicht weiß, wie sich das mit fscanf
verträgt...)initalizeVariables
ein Config Struct returned, anstatt globale Variablen zu füllen. Macht's wartbarer.fscanf
angesprochen.Ich habe mich mal hingesetzt und das zum Anlass genommen, meinen ersten (und wahrscheinlich auch einzigen) C-Code zu schreiben. Disclaimer: Das Ergebnis macht mich nicht besonders glücklich, aber ich hasse mein Leben nicht genug, um weitere Verbesserungsideen auszuprobieren. C scheint mir doch recht alt/limitiert und was bei anderen Sprachen Standardfeatures sind, sucht man bei C vergebens. Eine Map
wäre z.B. sehr praktisch gewesen, oder ein switch
Statement, welches mit Strings umgehen kann oder überhaupt ein String Datentyp statt Char-Arrays mit festen Längen... Uff ey.
Egal, hier mein (nicht besonders guter und brüchiger) Code: https://pastebin.com/hWCFSvQd
Cool, danke für den Code! Hast du Interesse an Feedback von einem Webentwickler, der in seinem Leben noch nicht eine Zeile C geschrieben hat?
Ich atmete hörbar aus.