wow after further reading: dd is just not suitable for the job. partclone can only copy partitions but not entire disks.. How is there no tool for such a simple task? D:
I need some advice for versioning that allows for different tracks of stability. How do normal software people solve that? 😐 And I am talking about application software, not l...
My process to decide which framework, library, etc to use. 1. What does already exist? It doesn't make sense to pull in an entirely new framework if one already is in place. N...
Hey guys. I'm working on an IoT platform. We are using mariadb/mysql as our main database in a somewhat monolithical application. We are storing sensor data in a single table ...
Can you recommend a tool similar to mathjs to calculate simple equations? Like (a + b) I want to be able to store formulas and compute them with state.
Is there a way to discriminate unions throughout function calls? If I use the result of a function that handles one field, it removes the connected union type information for ...
These articles will be probably too high level, if you don't have that much experience, but maybe it helps either way? As software developer, you need to make a lot of decisi...
When do you have a situation where you manually set an array index? Use splice or push If you must be alter the array
what is FC?
Hey javascript.. I am trying to write a recursive groupBy function, that allows for not-existing keys. This is what I have so far using ramda: nest = R.curry((props, items) =>...
Do you include your parameter names in your function names? I am struggling to name a function that counts events keyed by their type for a specific device (by id). Suggestion...
I'm looking for a function that allows me to distribute numbers within an array. I am mostly looking to implement something like this: https://softwareengineering.stackexchang...
How do you layer 2d lights in general? Should be about the same in all kinds of 2d rendering engines. webgl, canvas 2d, opengl, etc. I just can't seem to find a good mechanism...
Anyways. If I have discriminated unions in TypeScript, how can I make them narrow down to a single type using function maps? Example: type States = { name: 'a', some...
ts playground: https://www.typescriptlang.org/play?jsx=0#code/PTAEGcHsFcCcGMCmAuUALALhgDuZIATAQwDcBLAjMgW2vADoBzMjNaAI3rMmG1kkawitMgDtGAWgA2RcdCKNE4YBgCe2JfFhlsGYACYADEeABGUwc...
Which well known high level software design methods exist out there that a group of people can follow "by the book"? I am not talking about concepts such as OOP or FP, but rat...
I need to wrap my head around the entire crypto topic. I have hundreds of devices I want to securely give remote commands via MQTT/pubsub. How can a (readonly) subscriber veri...
Hello there. I am trying to combine two C libraries, which both have their own Makefile and CMakeLists. I tried Visual Studio but I just can't merge both Makefiles into one. H...
type PathParams<Path extends string> = Path extends `:${infer Param}/${infer Rest}` ? Param | PathParams<Rest> : Path extends `:${infer Param}` ? Param : Path exte...
Is it possible to create a string union type from an array of objects? Something like the keyof type operator. maybe first I need to transform my array to an object? 🤔