

auf ihre eigenen Leute schießen ist zwar sehr dumm, aber diplomatisch unbedenklich.
Ich atmete hörbar aus.
auf ihre eigenen Leute schießen ist zwar sehr dumm, aber diplomatisch unbedenklich.
Ich atmete hörbar aus.
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.
Well, that makes the recalls easier to manage.
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.
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?
Wie hast du’s letztendlich gemacht? Ich habe inzwischen deinen vorherigen Post gelesen und gesehen, dass deine Konfigurationsdatei im Grunde eine vereinfachte .ini ist - pro Zeile ein Key-Value Paar, getrennt durch ein "=”.
Mein naivster Ansatz wäre, die Datei einzulesen, an allen EOLs zu splitten, um alle Key-Value Paare zu bekommen und dann wiederrum am = zu splitten?
Was tut ein lexikalischer Analysator?
Looks like the front fell off.
No, it’s released.
The question you’re asking is too broad. Every tool somehow differs from the others, but listing all differences requires in-depth knowledge of each tool and a lot of time.
At the end of the day, every tool somehow backs up your data. CLI interfaces, encryption algorithms, deduplication logic, supported backends, underlying programming languages and a lot more may differ. Identify what’s most important to you, test different solutions and then use the tool that works best for your use-case.