Demolishun said So I have been setting goals for my interaction with people on devrant. I had the goal of getting someone to spray liquid out of their mouth in response to something I posted. I believe I had one person self report on this (maybe two). My next goal was getting someone to shit their pants in response to a post. I figured with @b2plane here my chances were a lot higher. As of Nov, 2024 nobody has reported on this. That goal still stands.
Maybe some new goals for this next upcoming year should be:
1. get someone to rage quit (not sure this in a good goal)
2. get someone to "dad splain" to me
3. triggered downvotes (I have had some in the past, so this is a recurring goal)
4. inspire anti-posts (some of you are natural inspirers it seems, respect)
5. actually create funny memes (maybe not possible, shitposting will continue though)
Does anyone have ideas for some good edge lording goals?,Staring at computer trying to figure out why I can't read a float from modbus. I swapped the bytes correctly for my platform. I also ensured the endianess of the words matched my platform (byte endianess is not the sames as word endianess, fml). Was driving home thinking about what could be wrong. My mind saw this code:
uint32_t newint;
for(int count=0; count<2; count++){
newint |= words[count] << count;
}
Then I am fuck! It should be:
newint |= words[count] << (count*16);
This was later turned into float. I kept getting values in the 1e-40 or some shit. Now it makes sense. The upper word was not set.
This is such newb shit. Fuck you newb shit I should just know!
Reading more I realized that the endianess of words can vary between devices even though the spec calls for big endian words. Fuck you non-compliant vendors! So I gotta add a flag for fucked up devices. Fine. The pay off is a generic way to add modbus to our opcua server. I want this easily editable in the field. For now it is readonly. So that makes it nicer.
Just a little torqued that I solved this driving home instead of at work. Too close to the code. I think tomorrow I will have my boss review it to tell me of other logical crap I missed.,How much trouble am I asking for in allowing for very large strings in attributes of json data?
I went and looked at the maximums for the string in json strings. I cannot see any real limitations. I did see if sending json data to a browser that it should not be more than 40MB. That seems excessive. I also checked my internal data types. The string can hold 2GB. Then there is a the server it will be served from in OPCUA. Which I saw discussion of strings in the 77KB range.
We are using a json file to configure what points to read from a modbus device. I am adding fields for name and notes. I could limit these fields, but part of me wants to see if some customer tries to make the world burn. For the most part we will be editing this file. But the customer may want to as well.,So this just happened and I am mystified as to how. When I talk on the phone with my cell phone in my left pant pocket I get a sensation of being poked with a hot pin in my leg about 1 to 2 inches above the phone. It almost feels like the sensation of a bee sting. It happened the other day as well. I did not have this sensation with my 4G phone I just retired. My new phone is 5G. Its the most random thing and I would not have believed it. So I search a bit and some dude has been experiencing some weird phone related pain for like 20 years. Of course, none of the replies are constructive. Just assholes poking fun at someone who is trying to understand what they are experiencing.
I checked all of my clothing and there is nothing like a pin or anything stuck in my clothes. The temperature outside is about 32 degrees. So nothing actually stung me. I am going to be pissed if its actually my phone. Going to try putting it in another pocket to see what happens. My hope is its my clothing pulling on a damn hair or something. But it didn't do this at all when walking around the building without my phone. Just when I walked outside.
I can still feel the pain lingering in my leg with my phone on the desk. I checked and the spot where I scratched at it is red. Just another weird thing to deal with I guess.
I always thought electrosensitives were nutjobs. Now I am not so sure.,Anytime I see a reference to Elder Scrolls VI on reddit I do a "RemindMe! 5 years".
I also am predicting it will be absolute shit.,To anyone I offended this year:
Work on yourself so I don't gotta do it again in 2025.,This is too perfect...,Frustrated that my build system wasn't recognizing a file change I added to my code. It kept telling me that a function didn't exist in the linked object (linker error). I checked everything and stared at this shit for about 15 minutes or more. The signature matched, the function existed, the relevant source files existed. I was starting to imagine impossible scenarios. I cleaned the project and recompiled. No errors, everything linked just fine. Fuck you? I guess...
So I decided to needed to walk around so I went into my bosses office.
me: I don't want to program anymore.
boss: What do you want to do?
me: Shovel shit.
boss: They are the same thing.
me: True...
TLDR: Tool and possibly skill issue results in frustration and humor.,The memes just write themselves sometimes...,Why do we post here? Is this just an outlet for our intrusive thoughts? A therapy session for things we can't articulate in meetings? Being able to say controversial things we are not allowed to say other places?
It feels like this place exists outside of time and reality. It really is refreshing, sometimes frustrating, and sometimes really offensive. Things that exist here that would not be tolerated elsewhere:
1. alternate ideas of software, sometimes politics, theories of existence, people liking javascript
2. ostream (I love you man)
3. bullying
4. saying what you really feel
5. telling people to fuck off
What would we do without this place?
Meanwhile my intrusive thoughts:,I installed VSCode in Linux. I keep finding thing about Linux that make me think its kinda shit. Maybe its just Gnome, but I don't know.
So I startup VSCode. Blank screen. I do a search and find its gpu shit. I start it up with argument to disable gpu accel. Then I go into settings and turn of gpu accel. It now works. Cool that it has these options.
What made me install VSCode. I installed VSCode because I wanted a decent json editor. I search for Linux json editors and I am bombarded by online editors being pushed by Linux websites. Who the fuck in their right mind is going to use a fucking website editor for json data?
I "had" a decent json editor by running notepad++ under wine. But since I turned on GPU in Linux Wine shit just doesn't work correctly anymore. Which is the whole reason I went looking for an editor.
How can a platform like Linux take itself seriously when turning on GPU accelerated drivers breaks every fucking thing in the OS?
Why did I enable GPU accel drivers in Linux? Because updating to 22.04 caused all my java apps to draw incorrectly. Enabling GPU fixes this shit. So I enable GPU to fix one thing and then it breaks a bunch of other shit.
This shit right here is why I have trust issues with Linux.,Dude1: What is up with Thomas E. Kurtz?
Dude2: Basically? He is dead.
Dude1: Dude...
RIP,LOL, all the PDF enthusiasts are going to BlueSky!
Buahahahahaha!,I don't know if AI makes people dumber. But it lends me to believe that people who swear by it might be dumber.
Time will tell how useful the code generators are.
I should go play with chatgpt today...,Used to think I was a hot shit programmer. Self taught (mostly) and could make all sorts of shit happen. Then I started reading other people's codebases. I got a huge dose of humility. Learned a lot from other codebases in the process. Eventually after a lot of languages and lot of practice I got a programming only job. Started reading through the codebase. Holy shit there are way worse programmers than me. There is some really good code in there too, but 20 year old wtf code too. I assume my perspective comes from seeing what good code can be. I still have a lot to learn though. That is the fun part. You can spend a week on a minute detail of one language or one concept.
So here are a few fun questions:
1. What is the worst code, codebase, or programmer you ever met?
2. What it the best code, codebase, or programmer you ever met?
I have seen a few codebases on github that just told me to walk away. Some of the best code I have found has been in game engines. Probably because I look at a lot of game engine code (sampling bias).
The coolest library I have used has been Construct (Python lib). It is a reversible protocol library. It can deconstruct or construct a data stream.
Leaving the off by 1 or more error in my post.,Took week off work. Didn't do shit on my projects. Just played Skyrim and became and ultra wealthy merchant than raises people from the dead. Found a mod that let me manage up to 512 corpses so they won't despawn. Placed a bunch of dead people in Dragons Reach to traumatize Balgruf's children. I put a fucking dead mammoth and giants in there! lol. Now I want to make some plugins for Skyrim written in C++. Been wanting a generic networking plugin. Guess I should have done that last week. I keep thinking of things I want to do in Skyrim I cannot do. Helps me make my list of features for my own games.
I avoided devrant all last week. I lurked a couple of times, but didn't really participate. Hung out with family and killed stuff in game.
Last night I air fried some leftover turkey using onion dip, fried onions, and a little bit of flour. Turned out really well.
I feel pretty good after just doing mindless shit for a week and hanging with family. Got another week coming up in December. Need to work on side projects though. I actually want to program stuff now. Was getting so I didn't want to look at code before.
What do I see when I get back? @retoor is a new user and has an alt that is a bot too. Did anybody die? Did anyone come back to life? What the fuck is wrong with you people? (retoorical question I know).,"Microsoft Visual Studios 2022 Community Edition"
Also, one last thing: FUCK YOU!!!,So I am doing some learning of C#. I wrote an https server in Python for a specific task. Now I want to convert it to C#. However, I do want it run as a server, but want some limited controls on it as a window. So I am looking at C# solutions for desktop applications. It seems to be a cluster of unsupported and bug ridden. I don't know if I should do: WinForms, WPA, or Maui.
I don't want to spend a lot of time learning a new gui system. I want stupid easy shit controls. I don't want to html anything.
So I guess I want something for C# that is stupid easy gui builder that barely runs. After reading reviews I just don't know what fits this bill yet.
At least my python server is running...,It is 2024 and C# doesn't seem to have a simple way to parse json data into dynamic objects. It wants some husk classes to read into. I will have to find a good third party library for this. I was thinking C# would have this, but no. I see there is something from asp stuff, but I have no clue what I have to import to get that.,What I learned about C# this weekend:
1. I am shit at C#
2. There is a nice selection of libraries both from Microsoft and third party.
3. I like a lot of the design decisions to not make foot guns. Like you can't use an int as a bool. You must be explicit so you don't have hidden type conversions.
4. WPF isn't terrible, but it took me a bit to figure out how to make sure the front end can see changes by triggering events when a property changes. I knew this was a thing, but it took forever to figure out how. The new terminology for things is tripping me up.
5. I am shit at C#.
So what do I get out of 1.5 days of banging my head against the wall? An https server that simulates a hardware device and exchanges json messages back and forth. It does what my python code is doing now.
I found a nice library for https:
https://github.com/chronoxor/...
I learned quite a bit reading the code from this library.```