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.

FizzyOrange , in What are variables and semicolons for actually?

Neat FP style. Pretty verbose though. Someone should invent a terser syntax so you don’t need to write do_two_things everywhere. It’s a common operation so maybe it could even be a single character.

jendrik ,

Like a semicolon? No, too boring. What about >>=

TadoTheRustacean OP ,

If you know about rust you know it’s a programmable programming language, meaning that you can make macros. There could be a macro that would do that but 1. Macros is rust code to write rust code so they have the complexity of rust squared 2. I said to myself the only macros I will allow myself to use in this challenge is println and allow

tatterdemalion ,
@tatterdemalion@programming.dev avatar

; is just a monad after all

tatterdemalion , in What are variables and semicolons for actually?
@tatterdemalion@programming.dev avatar

Well you have a variable foo being mutated. Maybe that’s what they’re for?

unionagainstdhmo , in Microsoft 365?
@unionagainstdhmo@aussie.zone avatar

Gave up on office a couple of years ago when I discovered bastet:

For people who enjoy swearing at their computer, Bastet (short for Bastard Tetris) is an attractive alternative to Microsoft Word.

github.com/fph/bastet/

Kolanaki , in No matter how smart you're, end user is smarter than you
@Kolanaki@yiffit.net avatar

no matter how smart you’re

I don’t know how the fuck you managed to use the right you’re yet also still used it wrong. I like it and hate it simultaneously.

meathorse , in Has this ever happened to you?

My dumb arse used to do this to win 98/me when I was a student. “Optimising” everything and deleting anything I would never use, trying to squeeze every mb out of my limited 2gb disk space but the damn thing was so unreliable I was constantly reinstalling windows.

After one reload, I finished late at night and just left it alone, forgetting to perform all my “power user customisation” until I remembered a week later when it suddenly dawned on me that it was running fast AND stable - I hadn’t had a single crash that week. As a final test, I applied all my “optimisations” again and “oh, look! It’s crashing constantly again”. I was a slow learner and turns out I don’t know better than the people that built the system!

I always think of this when I see threads about win7 - 11 being unstable, because it just isn’t. As you dig through the thread, the op reveals more - they’ve chopped out all sorts of system components with registry hacks and third party tools or blocked updates and then bitch about windows being garbage - don’t get me wrong, they simultaneously make it better and worse with every release so I sympathize why people try chopping out edge, copilot etc - but just don’t.

Disabling services and uninstalling functions the non-hacky way ‘should’ be fine (and likely reversable) but if someone wants to bare-bone their OS or be data gathering-free, they’d be better off learning Linux.

WormFood ,

the biggest causes of bsods and other crashes on windows up to xp were drivers. after xp, Microsoft required drivers for windows to go through their signing and verification program, which was controversial but it did solve the problem

modern windows rarely crashes outright but in my experience it does break in small ways over time, without the user doing anything

in terms of disabling windows components, it’s true that this can break your system, but I would argue this is still Microsoft’s problem. there are many windows competents that are deeply coupled together when they have no reason to be

meathorse ,

That’s right! I remember those signed drivers where also why early XP (pre SP2) had a bad rep. Not as bad as ME but users were swearing on the graves of dead relatives they would never give up W98 or W2k. Without new or signed drivers, a lot of hardware struggled but by the time SP2 rolled out, hardware vendors had mostly caught up and the OS had matured.

Vista had similar issues (so, so many issues with Vista) with it’s security changes which made life difficult for badly written/insecure software (wanting admin rights to run or write access to system folders/reg keys). Those changes in Vista paved the way for Win7 to be so much better at launch since most software had caught up by then.

I think the issue with disabling components is 90% how users remove them. Pulling them out via “official” methods hasn’t ever caused me issues - DISM is really handy - particularly for permanently removing the default apps. Those deeply connected functions can be a pain!

SpaceXplorer_8042 ,
@SpaceXplorer_8042@lemmy.zip avatar

I have only used DISM (I think) for chkdsk. What else can you really do with it? I don’t even know what to search tbh, so pardon me if it’s just a quick search away

meathorse ,

Quite a few things - mostly used it for capturing images, loading drivers and updates into images but can also be used to pull apps out of the image too.

For a live windows install there are PowerShell commands to do this

…microsoft.com/…/add-or-remove-packages-offline-u…

Kindness ,

or blocked updates

This in particular. Windows intentionally destabilises itself if you prevent it from updating or powering off when it realises there is an update available.

This could be non-malicious, such as refusing to collect spyware reports from a potentially infected box, and the box needs to connect to MS to function properly, It could be a tool to force people to “reboot to solve your issues”. Hard to tell without running afoul of the Computer Misuse Act.

meathorse ,

I’m not sure about this one - it’s definately not my experience but yours could be very different.

The system definitely reports data back to MS but I’ve never seen a box have issues because we denied it the ability to dial home or update. Unless the PC is online and the user is actively trying to prevent the updates installing? I’ve seen users pull the plug on a PC that started/midway though updates hoping to stop them and it would often make a mess of things.

We had a small handful of XP then Win7 boxes that were completely off the grid/standalone as SCADA access points/controllers? for several years without issues.

Likewise, we had one box where the vendor did not allow any updates despite it being networked and online. They had disabled win updates completely without our input. It ran just fine for a few years until it was picked up in a security audit. We didn’t understand why updates were disabled at that time so we switched them back on and updated. The PC ran just fine until it’s eventual retirement.

Kindness ,

Ah, forgive me. I’m referring to the latest and most miserable versions. 10 will noticeably prevent results in the search area, if the machine doesn’t power off and is not updated for too long. Among other things. It takes around a week of ignoring an update.

It’s likely much the same with 11.

Wirlocke ,

If you want barebones Windows I’d suggest you cough cough obtain Windows 10 LTSC.

It’s got most the bloatware cut out, you just have to reenable the old style picture viewer.

Though when I eventually make a new PC, I’m probably just gonna use Linux Mint because I hear running Windows games/software isn’t nearly as bad nowadays, thanks Steam.

LemmyRefugee ,

I don’t know why I thought about that but for younger people, Windows ME was Windows Millenium Edition.

floofloof ,

Windows 11 is pretty unreliable on my 3 machines. I don’t see many blue screens but the Start menu, Explorer, Task Manager, search and other basic bits frequently become unresponsive. I haven’t changed or removed anything. My Linux machines don’t do this. I think Windows 11 just isn’t that stable.

0Xero0 , in Three monitors, and i feel insulted
@0Xero0@lemmy.world avatar

They don’t get it, RGB equals performance!

el_bhm ,

No it does not.

Red is for performance. Green energy saving. Blue is not important for this argument.
And if it goes 16 bazzilion colors it is even more BS and nothing.

Goes magenta and you start going Bi. Next on? Pink - full gay mode. And as soon as you go white - back to straight again.

It might cause brain damage in the long term. Wear your socks guys.

ImGonnaTryScience ,

Blue makes it run cooler. smh people these days don’t know anything about computer

smeg ,

This comment thread was written by Orkz

el_bhm ,

How a cool computor is relevant for sexual cycling?

FilterItOut ,

Jesus, my friend cycles between mechanical efficiency and sexual orientations like a clown in a stripper juggling show. Now I know why!

makingStuffForFun , in No matter how smart you're, end user is smarter than you
@makingStuffForFun@lemmy.ml avatar

I get the feeling the meme creator is a senior dev. Putting themselves right up there. At the top.

FlaminGoku ,

Head in the clouds, no idea what’s going on?

makingStuffForFun ,
@makingStuffForFun@lemmy.ml avatar

Ahhh now I get it. Nice.

JATtho , in Rebase Supremacy

To produce 1 commit, I end up rebasing the damm thing at least 3 times. If there is an problem, it’s at least 2³ times.

Kowowow , in When everyone became paranoid

It would be more of a fair trade if bad actors at least needed to make sure their code was way better than most

yeppgnu , in Microsoft 365?

Any question?

photonic_sorcerer , in Teenagers.
@photonic_sorcerer@lemmy.dbzer0.com avatar

Okay so this place being coded by dumbasses is a security issue, right?

onlinepersona ,

Hey at least you’re not hosting it! And alternatives are being worked on like PyFed (PieFed?), another thing in Java, Mbin, and probably others.

Anti Commercial AI thingyCC BY-NC-SA 4.0

Batman ,

We hooked up chatgpt to do code reviews so this is no longer a problem. The Children yearn for the stack

marcos , in What are variables and semicolons for actually?

Rust’s semicolon means something like “There’s nothing to see here! Move along! Move along!”, so yeah, you don’t actually need any.

DumbAceDragon , in What are variables and semicolons for actually?
@DumbAceDragon@sh.itjust.works avatar

Finally, pure functional rust.

Ucinorn , in You know who you are

Not just OSX: anyone using WSL on windows is an offender too

But as a WSL user, dockerised Dev environments are pretty incredible to have running on a windows machine.

Does it required 64 gig of ram to run all my projects? Yes. Was it worth it? Also yes

qwop ,

My experience using docker on windows has been pretty awful, it would randomly become completely unresponsive, sometimes taking 100% CPU in the process. Couldn’t stop it without restarting my computer. Tried reinstalling and various things, still no help. Only found a GitHub issue with hundreds of comments but no working workarounds/solutions.

When it does work it still manages to feel… fragile, although maybe that’s just because of my experience with it breaking.

desmaraisp ,

You can cap the amount of cpu/memory docker is allowed to use. That helps a lot for those issues in my experience, although it still takes somewhat beefy machines to run docker in wsl

Mermitian ,

I’m even worse, I have used wsl in a windows vm on my mac before haha

sudo , in Teenagers.

Manic episode, part 3

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