bitfucker

joined 3 months ago
[–] bitfucker@programming.dev 4 points 4 hours ago

Make CScript, an interpreted, duck-typed language

[–] bitfucker@programming.dev 2 points 6 hours ago (1 children)

Oh, thanks. Yeah, I know what it is. And I'll keep it to myself as I understand your stance on not revealing yourself!

[–] bitfucker@programming.dev 5 points 7 hours ago (3 children)

I'm gonna take a guess, either it is BlackMagicProbe OR Bus Pirate. Both are amazing tools to have!

[–] bitfucker@programming.dev 1 points 1 day ago

It would be weird for say, a 12V-2A PSU to not be able to source and sink 2A. The current direction didn't change from the PSU perspective, only from the load. If you have multi-rail power supply, then yeah it may have different source-sink capabilities for different rail

[–] bitfucker@programming.dev 6 points 1 day ago

I also noticed significantly less activity than usual so you are not alone. Judging by the other commenter, it's likely some federation issue.

[–] bitfucker@programming.dev 2 points 3 days ago (1 children)

Ahh, then the modification must be done on the AST level not the in-memory representation since anyway you do it, you must retain the original.

[–] bitfucker@programming.dev 2 points 3 days ago (3 children)

Hmm, maybe I am missing the point. What exactly do you mean by handling automatic updates in place? Like, the program that requires and parses the config file is watching for changes to the config file?

[–] bitfucker@programming.dev 1 points 3 days ago (5 children)
[–] bitfucker@programming.dev 1 points 3 days ago

Until someone cannot tell the difference between tab and space when configuring or you miss one indentation. Seriously, whoever thinks indentation should have semantic meaning for computers should burn in hell. Indentation is for us, humans, not computers. You can write a JSON with or without indentation if you want. Also, use JSON5 to have comments and other good stuff for a config file.

[–] bitfucker@programming.dev 4 points 3 days ago (1 children)

Yep. Much like we don't treat phone numbers like a number. The rule of thumb is that if you don't do any arithmetic with it, it is not a "number" but numeric.

[–] bitfucker@programming.dev 5 points 3 days ago

I can already imagine the log generated will be a hint. We usually automate those anyway as it is closer to (D)DoS too.

[–] bitfucker@programming.dev 2 points 3 days ago

Yeah, nevermind, I didn't know what I wrote either. I need my sleep lol.

view more: next ›