There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

victorz , in My wife was unimpressed by Vim

Would’ve loved to see which community they posted to. RelationshipAdvice?

Aggravationstation , (edited ) in Has this ever happened to you?

Used to do service desk for a large company. During covid most people insisted on remoting to their desktops. If they shut down the machine rather than logged out, we couldn’t turn it back on remotely and obviously we couldn’t send people out. Had fun explaining that to a lot of people who wouldn’t believe it.

Some of the desktops had recently been switched from Windows 7 to Windows 10. The shutdown and log out buttons are in a different order on 7 and 10. Had two separate people ask me to move the order. Couldn’t get over to them that we couldn’t do that.

Bytemeister , (edited )

Had to go into the office twice just to turn on a computer. 3rd time I went to each machine and enabled wake-on-lan.

Also set backup devices to automatically turn on at 2 in the morning, so if they crashed, I could just wait until the next day, if the machines didn’t boot themselves then I had a real problem.

dan ,
@dan@upvote.au avatar

we couldn’t turn it back on remotely

You didn’t have something like vPro / Intel Management Engine where you could remotely boot the PCs?

Aggravationstation ,

We had a tool that had WOL as an option amongst others but it never worked.

AusatKeyboardPremi , (edited ) in there is no need

For me, desktop UI peaked at Windows 98.

Installing the 95/98 GTK theme by B00merang is one of the first things I do after a fresh installation of Linux Mint.

I do try other themes once in a blue moon. But I soon realise it is a downgrade and revert back. The last theme I tried was the Arc theme back in mid-late 2010s.

cosmicrookie ,
@cosmicrookie@lemmy.world avatar

My biggest hurtle is why i can’t see files as thumbnails when picking a file to open or save. It works for file library but the file picker won’t show images as thumbnails. Only a list view with tiny thumbnails that sra too small to see the actual image

AusatKeyboardPremi ,

I never found that to be a problem. In fact, I find the thumbnails distracting. But I can see it being a problem for others.

The rare occasion I work with image files, I just open it to identify, if I haven’t already named it properly.

It also helps that most of my workflows are not image-heavy.

cosmicrookie ,
@cosmicrookie@lemmy.world avatar

Yeah the thumbnail part becomes quite handy when picking pictures to edit or upload, especially when it is from a folder that mostly contains images

lhamil64 , in Daylight saving creator left the chat....

But if time travel is a thing, imagine the whole new time nightmares! Oh you went back a year with your phone? Now all your TLS root certs are invalid because you’re before the start date. Or you have files/emails/whatever that are dated in the future. I guess you can get to that state by just setting your clock forward but I imagine some stuff would break.

ObsidianNebula ,

I worked on a project that had a few spots where we compare a saved timestamp to the current time. During testing, the client would randomly change their device time a few days forward or backward and complain that things weren’t working as expected. I had to explain to them multiple times that they were basically time traveling, and the program was actually handling it fairly well all things considered.

KillingTimeItself ,

well thats the funny thing, it’s technically not time travel, it’s just time dilation if you squint hard enough. So technically, it doesn’t matter.

spidertrolled , in I just ask my problem bro...chill....
@spidertrolled@lemmy.blahaj.zone avatar

Stack Overflow isn’t a tutor site. It’s a wiki. Its usefulness would plummet if duplicate questions are allowed, since that would scatter all the answers.

bruhduh , (edited )
@bruhduh@lemmy.world avatar

Then it should allow to connect duplicates as sub questions to main question which they keep as original, Wikipedia allow additions to articles after all, i mean if you comment your question under main question, who gonna look at that?

ripcord ,
@ripcord@lemmy.world avatar

People do look at that eventually, but not as fast as some people want.

ripcord ,
@ripcord@lemmy.world avatar

It’s also weird to me that people seem to primarily use it to ask questions (and get butthurt about getting duplicates). It’s really rare that I ever don’t find an answer there (which often is buried in responses, but still). Like I’ve virtually never been motivated to post there.

xmunk , in Aaargh....my eyes......my eyes......

Obviously, we can’t allow code like that - PascalCase is heresy… camelCase that shit.

TrippaSnippa ,

snake_case gang represent

hardkorebob , in Aaargh....my eyes......my eyes......
MicrowavedTea ,

I’d ask what I’m looking at here but feel I might regret it

hardkorebob , (edited )

In Oct’23 a basic Text widget with Subprocess to run shell commands allowed me to take my command line fu into a different arena because Tkinter gave me special tricks. This tool (shell functions) allows me to type up GUI apps or any Python script with less effort, for my fingers and brain.

wc newide; ksh newide | wc

513 1671 11018 newide in pnk

604 1987 29867 newide in python

The blocks of color are capital letters colored using tkinter methods (tag_add & tag_configure) with a bg and fg of the same color to make it look like a lego block, it’s all ASCII. On the right, an idle clicker game/toy made with pnk.lang, also just ASCII/UTF-8. The IDE you see in the pic also was coded using functional shell language I call pnk.lang and the original first iteration of this specification is in the legacy folder in the repo below. Just me learning how to code faster in Python but in shell but in neither at this point.

github.com/dislux-hapfyl/pynksh

www.reddit.com/r/pnk/

Don’t be put off by Ksh because Bash can also interpret it, since it’s just shell functions that print Python code. But I have plans to use an Xbox controller so I can move away from building with the keyboard at piecemeal rates. I will do this by abstracting away identifiers and all data we use as engineers into “dictionaries” to then transform it into a spatial system. I already done this first step! Using a basic grid with a maximum of 10 rows x 3 cols, indexing row[0-9] col[0-2], as you see there on the left side, and by using a letter I then categorize the functions of pnk(shell+python) so I can have 30 x 26[a-z] available slots; a00 b11 k22 and so on…by making it a visual shortcut that reduces cognitive load and typing for me.

Take a closer look at my repo without dismissing it too quickly. It could seem unnecessary but maybe someone else can see what I have made as useful and how we gonna take it to higher levels of abstraction and create a new realm for making computer applications in an abstract game/IDE of art and code. Perhaps it’s that creator effect that happens when you make something for the first time that makes me see its future utility and appeal. All this was made incrementally using my own software I built from scratch. I do have a great vision and would love to speak to anyone who is interested. I also demonstrate the utility of this small tool on youtube[link in repo]. Thanks.

MicrowavedTea ,

Ok I don’t completely get the use case but that’s…impressive. Thanks for the detailed explanation and good luck moving it forward

hardkorebob ,

Thanks a lot! ;) … maybe also see my reply above.

kralk ,

I’m somehow more confused

hardkorebob , (edited )

I write python in shell. Literally. I made a shell function file (pnk.lang) that prints correct python code. The capital letters in the shell function’s name, my Tkinter IDE turns into color as you see above. So I let the color (capital letter) abstract away indentation for my brain. The second letter is for category of python code according to me. Again using color to allow me to think. I dont like Python syntax. I looks ugly to me. So I made this tool to make coding colorful, succint and fun for me. It reduces my eye strain among many other personal benefits.

S=self

E=echo

#Z=“” #0

Y=" " #3

X=“$Y$Y " #7

W=”$Y$X "

V=“$Y$W "

U=”$Y$V "

YDfd() {


<span style="color:#323232;">typeset z="$1"
</span><span style="color:#323232;">
</span><span style="color:#323232;">    typeset nn="$2"
</span><span style="color:#323232;">
</span><span style="color:#323232;">typeset cc="$3" 
</span><span style="color:#323232;">
</span><span style="color:#323232;">if [[ $z == z ]]; 
</span><span style="color:#323232;">
</span><span style="color:#323232;">then
</span><span style="color:#323232;">
</span><span style="color:#323232;">	$E "$Y def $nn(${S}$cc):"
</span><span style="color:#323232;">
</span><span style="color:#323232;">else
</span><span style="color:#323232;">
</span><span style="color:#323232;">	$E "$Y def $nn($cc):"
</span><span style="color:#323232;">
</span><span style="color:#323232;">fi
</span>

}

YDdefe() {


<span style="color:#323232;">typeset fn="$1"
</span><span style="color:#323232;">
</span><span style="color:#323232;">YDfd z $fn ,e=None
</span>

}

YDdefe addNew

XIcv $ap Pnk

XFpk $ap 1 both

XFfc zz pw.add $ap

turns into


<span style="color:#323232;">def addNew(self,e=None):
</span><span style="color:#323232;">    self.appinstance = Pnk(self,)
</span><span style="color:#323232;">    self.appinstance.pack(expand=1,fill="both",padx=2,pady=2,)
</span><span style="color:#323232;">    self.pw.add(self.appinstance)
</span>
humorlessrepost , in Variable Declaration

I don’t understand?

Notepad likes my html, and filezilla doesn’t complain when I upload it to production. It even passes validation for 4.01 transitional

Venator , in Variable Declaration

Sometimes I think it could be easier to just use the variable before its declared and then let the IDE auto fix create it, but I never remember to try it 😂

Hobbes_Dent , in You can certainly change it. But should you?

Just spin the pipe wrench open and slide it up then you can switch it back real quick.

Thank you for watching this OHSA message on bad lockout procedure, now back to your regularly scheduled programming.

XEAL , in You can certainly change it. But should you?

What is the context of the original image?

isVeryLoud ,

Could be simply a way to make sure the button never moves again. I would have simply taken out the knob, personally.

octobob ,

I work on industrial controls. Very likely that the switch is momentary, meaning it’ll go back when released.

Sometimes there’s a little piece of plastic in them to remove the momentary setting, but this works too lol. Fuck it, it’s maintenance.

isVeryLoud ,

That actually makes sense, thank you for the tidbit!

Still kind of an overkill solution haha

hstde ,

It could be about sending a message.

A missing knob is easy to fix. Bolting a wrench to the housing holding the knob in place is very explicit. It screams “don’t touch”

isVeryLoud ,

Idk to me it screams “solve this puzzle and win a free wrench” /s

I like the creativity of it, and it does solve the problem in a way that’s user-safe. I thought of removing the knob because that’s what I do with my barbecue as I store items on the grill when not in use. Remove knobs, put on grill, close barbecue, cover.

Omega_Haxors ,

Idk to me it screams “solve this puzzle and win a free wrench” /s

What too many video games does to a mfer 😄

Fubarberry ,
@Fubarberry@sopuli.xyz avatar

I’m sure they just needed a way to lock the selector knob to the primary position, and didn’t want to rewire it.

octobob ,

Drills and taps two holes, adds a metal strap, and sacrifices a tool to save a 5 minute fix of jumping over the contact with a 2" piece of wire lmfao

Fubarberry , (edited )
@Fubarberry@sopuli.xyz avatar

A lot of people won’t touch electrical, and the problem with modifying the wiring is you need to be able to clearly document or show what was changed in case it needs to be reversed later.

This is ugly, but it’s immediately obvious how to reverse it to anyone who looks at it. And that pipe wrench probably wasn’t being used anymore anyways. I doubt they tapped the holes, those are probably just self-tap screws that both drilled the hole and cut the thread as they screwed in. No one will call this an elegant solution, but if it works it works.

octobob ,

“documenting the change” is a pipe dream.

If you’ve ever worked in maintenance, active production, etc, you’ll be lucky to even have schematics. And trust me, there are a lot of hacks of people fucking with controls for 30+ years straight that soooo much of it is full of “fixes” like this, whether it’s something pushing a button in, or pieces of metal instead of fuses, or wires jumping over what’s “in the way” like whole safety systems and e-stops, contactors forced to run, etc etc etc.

neutron , in After all, Why shouldn't i use Excel as my database?

This is why I dread working with anything ‘too consumer friendly’.

Wasn’t it a few years ago that scientists working on human genes renamed something because excel was chaging it every time?

zagaberoo ,
makingStuffForFun , in Touch a file in Linux
@makingStuffForFun@lemmy.ml avatar

As a Linux user, that is truly magical, and beautiful.

nelly_man , in As someone not in tech, I have no idea how to refer to my tech friends' jobs

I prefer Software Engineer, mostly because I studied at an engineering school and have a degree in Software Engineering. My actual titles have varied throughout my career, but I overall consider myself a software engineer.

DAMunzy ,

I’m curious if you’ve looked up whether you’re allowed to call yourself an engineer in some states (US centric of course)? I read years ago that some states really frown on calling yourself an engineer if you aren’t a certain small range of engineers that they have codified (pun intended) in law.

Sweetpeaches69 ,

I think that’s only a civil engineering thing.

Source: work in the industry, and “Civil Engineer” and “Professional Engineer” are legally protected titles. Other than that, it’s fair game. Like, there are “Design Engineers” in the civil sector that don’t have their Professional Engineer certification.

emberwit ,

In Germany the title engineer is protected by law but with a computer science degree you may call yourself an engineer.

Sweetpeaches69 ,

Oh, wow, TIL.

AA5B ,

Same. My current role is most accurately DeOps or DevSecOps - my education actually predates “Software Engineer” but it was a Software degree from an Engineering school, and with a more technical focus than the similar degree from Arts and Sciences. But yes, every time I due process improvement, standards and practices, etc, that makes it “Software Engineer”. And every time I have to explain to developers how their stuff works, yes, I’m “The Engineer”, capitalized

prime_number_314159 , in As someone not in tech, I have no idea how to refer to my tech friends' jobs

I’m a Senior Computer Software Developer Programming Engineer, or SCSDPE (which is pronounced Skuzz-Deep), and I will be irreparably miffed if you get it wrong.

For your convenience, I also accept “that guy that sits weirdly close to the water fountain”, “hey”, and “paid keyboard user”.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines