The Official Status Thread
-
@Gribnit “I have proven this program correct but I have not actually run it” or something like that.
-
@Arantor well, if you run it with the I/O simulated you can even have run it. Once output starts you have no guarantees.
Still, right now someone somewhere is investigating as to the cause of a logged external socket closure.
-
@Gribnit I believe that was Knuth’s point.
-
@HardwareGeek said in The Official Status Thread:
@topspin said in The Official Status Thread:
And the code is completely deterministic.
I'm pretty sure even Hello World can be non-deterministic if it feels like it.
Only in HipsterScript.
-
status: an error trifecta!
-
@Tsaukpaetra Are your posts not right where you left them?
-
@hungrier said in The Official Status Thread:
@Tsaukpaetra Are your posts not right where you left them?
Considering it seems to have posted, I guess so!
-
Status: It went from "it's fricking hot today" to literally hailing real quick.
-
@Arantor and now it's mine, mine!
-
@topspin said in The Official Status Thread:
Status: It went from "it's fricking hot today" to literally hailing real quick.
I didn't realize you live in .
-
@Zenith said in The Official Status Thread:
@HardwareGeek said in The Official Status Thread:
@topspin said in The Official Status Thread:
And the code is completely deterministic.
I'm pretty sure even Hello World can be non-deterministic if it feels like it.
Only in HipsterScript.
Hi, I'm a HipsterScript dev. That's not a HipsterScript issue. You're probably using an operating system too old to deal well with our advanced abstraction layer.
-
@HardwareGeek I'd prefer the precipitation in liquid form, to wash the frickin pollen out of the air.
-
@Gribnit had to happen once that you make a point and it would be meaningful, right?
-
@Arantor said in The Official Status Thread:
had to happen once
Stopped clock. Actually, broken — a bit slow — right far less than once a day.
-
@Arantor said in The Official Status Thread:
@Gribnit had to happen once that you make a point and it would be meaningful, right?
Not in evidence, I did steal it.
-
Status: Batch files are monsters.
I had a file that I hooked into Visual Studio to do a backup of source on every successful build. Then I thought, what if I had a file to back up all of my projects. Then I thought, what if I had a file to back up all of my projects to the same archive.
So many pitfalls in that stupid
FOR
command...I passed in a list of projects like "C:/project1/|C:/project2/" and it just shit the bed. It doesn't like pipe characters and it seems to think references a file. Additionally, it seems to want each item on its own line before it'll act like an actual loop. Otherwise when it splits this string, half goes into %%A and half goes into %%B. That makes it difficult to, you know, have a variable length list.
Eventually I got it formatted as something it would accept as a list of strings ("C:/project1/" "C:/project2/") only for another problem to come up. The
FOR
command precalculates all variables when parsed. What that means is that you can't doFOR %%A IN ("something" "something" "dark" "side") DO ( SET ZENITH_X=%%A ECHO %ZENITH_X% )
and expect it to print anything. They give you two options, one is to set a global flag and use ! instead of % and the other is to wrap everything in
CALL
statements with double escaping. Combined with some of the ugly stuff you have to do to pass variables into and out of functions, that gets ugly quickly.Doesn't stop there though. The language sort of supports arrays. But with all of the caveats about passing and accessing variables, particularly indexes inside a
FOR
loop. Which you have to suffer through if you want the length of an array without tracking it as it's created.And then there was the issue where I absolutely could not find the date and time without Powershell. I thought that was a solved problem, until I tried it on a machine that somehow got two versions of PowerShell on it. If you don't specify a version, it'll just hang. From a command line or in the actual PowerShell environment. That was a real
Altogether it's quite possibly the biggest WTF that I've ever brought upon myself in some time.
-
-
@Zenith said in The Official Status Thread:
where I absolutely could not find the date and time without Powershell.
You don't know what the solution to that in the original command interpreter is...
But I find it hilarious that you tried mixing powershell with your script. Choose one or the other, dipshit! Leave that stupidity to me!
-
@Tsaukpaetra said in The Official Status Thread:
@Zenith said in The Official Status Thread:
where I absolutely could not find the date and time without Powershell.
You don't know what the solution to that in the original command interpreter is...
But I find it hilarious that you tried mixing powershell with your script. Choose one or the other, dipshit! Leave that stupidity to me!
I do know how to get the date and time but I don't feel like parsing it out.
-
This post is deleted!
-
Status: After a few hours of internet headaches, excessive consternation, reboots, config edits, restarting services and some bonus frustration, I have finally succeeded in moving a few files on my local drive, to elsewhere on my local drive!
they were in a VM and required Samba fuckery
-
Status: tried System.Text.Json. I think I'll stick to NewtonSoft.
I'd rather be able to read strings from numbers and vice-versa without having to implement custom converters, thank you very much.
-
Also, why do they always conflate serialization and deserialization?
It's possible to want to read JSON without wanting to write it, people.
-
@Zenith said in The Official Status Thread:
Batch files are monsters.
Whenever the pitfalls of bash make you cry in despair. Remember batch files are turing complete too.
-
@PleegWat Batch files are truly awful. I've coded menu systems in them, and I'm absolutely sure that that's not an experience that anyone ought to repeat. Bash is much nicer; it could be the spawn of Satan's belly button lint and that would still be true.
-
@dkf Bash is pretty decent as long as you stay on the happy path. If error handling or race condition are going to be a concern, look elsewhere.
-
@Tsaukpaetra said in The Official Status Thread:
@Zenith said in The Official Status Thread:
|
Ewww....
No pipeshaming!
-
Status: It's and I'm sitting with my stupid at work
-
@Applied-Mediocrity The thing about the gym of life is that it forces you to get your exercise, even if you don't want to.
Back when biking was an option for me, I kept a raincoat in my work bag.
-
@Applied-Mediocrity said in The Official Status Thread:
Status: It's and I'm sitting with my stupid at work
You're a cyclist now. The only thing that stops you should be a herd of hippos or a lorry.
Don't you have wet gear or that skintight gear and goggles? Yeah, it looks ridiculous, but it keeps the rain off your skin and eyes, and it's easy to slip out have when you get home.
-
@dkf About the only thing weirder I've seen is building menus in the Penultima Online scripting system.
Status: Sometimes it's annoying trying to find the name of a movie you only remember bits and pieces of. There was this post-apocalyptic movie I saw on TV in the late 80s or early 90s. This guy was being chased by druids in brown robes. They reminded me of the ghosts that took people to Hell in the movie Ghost in that they were able to get to people and drag them away. Anyway, the guy met up with this other guy that explained the world was destroyed because bacteria/viruses mutated faster than they could keep up with antibodies/antibiotics. The druids were part of some cult or something trying to destroy or hoard knowledge but that's about all I remember. It probably aired on the same channel where I watched the 70s version of The Time Machine. Obviously, Google can't find shit with that sort of rambling.
-
@Zenith the internet can help, e.g. https://movies.meta.stackexchange.com/questions/4129/how-can-i-find-the-title-of-a-movie-from-just-a-description-or-image lists some resources for this.
-
@dkf said in The Official Status Thread:
Batch files are truly awful. I've coded menu systems in them, and I'm absolutely sure that that's not an experience that anyone ought to repeat.
I've coded VCR-like scheduling and control programs in it, complete with box art.
Good times...
-
@DogsB said in The Official Status Thread:
Don't you have wet gear or that skintight gear and goggles?
The gimp suit? Hell no!
Status: Wet like a bitch
-
@PleegWat said in The Official Status Thread:
If error handling or race condition are going to be a concern, look elsewhere.
Error handling isn't too bad (assuming the programs you're calling cooperate), but you can't do shit about race conditions in bash. It's too high-level for that.
-
@Zenith There's a subreddit for that: https://www.reddit.com/r/tipofmytongue/ (if you don't mind using reddit)
-
@dkf Error handling turns small concise bash scripts into large unwieldy ones.
A former colleague of mine loved adding code to solve (often imaginary) race conditions. Including in bash. In my experience, race conditions are rarely solved by merely adding code.
-
@PleegWat said in The Official Status Thread:
Error handling turns small concise bash scripts into large unwieldy ones.
Error handling turns small concise bits of code into large unwieldy ones. It's a general feature, because suddenly you're dealing with complicated branching (and even looping) control structures instead of simple linear ones.
-
@dkf said in The Official Status Thread:
@PleegWat said in The Official Status Thread:
Error handling turns small concise bash scripts into large unwieldy ones.
Error handling turns small concise bits of code into large unwieldy ones. It's a general feature, because suddenly you're dealing with complicated branching (and even looping) control structures instead of simple linear ones.
Run all the code and let Chthulu sort it out!
-
@dkf True. But it always feels worse to me in bash than elsewhere.
-
@PleegWat said in The Official Status Thread:
@dkf True. But it always feels worse to me in bash than elsewhere.
You may be among
ksh
s few chosen. Every other*sh
is less sane thanbash
.Try
csh
for a disturbing time. It will be worse, unless you are into that sort of thing, who am I to judge...
-
@izzion said in The Official Status Thread:
@dkf said in The Official Status Thread:
@PleegWat said in The Official Status Thread:
Error handling turns small concise bash scripts into large unwieldy ones.
Error handling turns small concise bits of code into large unwieldy ones. It's a general feature, because suddenly you're dealing with complicated branching (and even looping) control structures instead of simple linear ones.
Run all the code and let Chthulu sort it out!
Why stop there? We could also run trivial mutations of allthecode!
-
@Gribnit said in The Official Status Thread:
@PleegWat said in The Official Status Thread:
@dkf True. But it always feels worse to me in bash than elsewhere.
You may be among
ksh
s few chosen. Every other*sh
is less sane thanbash
.Try
csh
for a disturbing time. It will be worse, unless you are into that sort of thing, who am I to judge...At my first job, I had to work in tcsh.
Tcsh is an enhanced version of the csh. It behaves exactly like csh but includes some additional utilities such as command line editing and filename/command completion. Tcsh is a great shell for those who are slow typists and/or have trouble remembering Unix commands.
-
@Tsaukpaetra said in The Official Status Thread:
@dkf said in The Official Status Thread:
Batch files are truly awful. I've coded menu systems in them, and I'm absolutely sure that that's not an experience that anyone ought to repeat.
I've coded VCR-like scheduling and control programs in it, complete with box art.
Good times...
Please publish.
-
Status: having ideas again. This time for a thing that could be a point 'n' click adventure, or could be a text adventure.
Choices, choices.
-
Status: I think this CMOS battery is nearly dead. It keeps the RTC running, but apparently doesn't keep the BIOS settings.
Either that, or this fucking POS board likes resetting the UEFI setting to Legacy mode for shits and giggles just because it was unplugged for more than 20 seconds...
-
@Tsaukpaetra arguably that's good UX. Once a machine is unplugged it's pretty safe to assume it's legacy.
-
Status: Drunk af. Got the name of the guy I wanted to take home, but that’s about it. Will walk home once I have any idea where TF I am right now.
Crap load of police everywhere because of the football game, I’ll just tumble along until I hopefully reach some place close to home.
-
@topspin said in The Official Status Thread:
I’ll just tumble along until I hopefully reach some place close to home.
-
status: this server has a fan that is exhibiting a failing bearing. It randomly vibrates fiercely, and then stops, or goes back to spinning properly.
I should replace it tomorrow,..