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.

fibojoly , in JSON Query Language

The alternative is not super exciting though. My experience with NoSQL has been pretty shit so far. Might change this year as the company I’m at has a perfect case for migrating to NoSQL but I’ve been waiting for over a year for things to move forward…

Also, I had a few cases where storing JSON was super appropriate : we had a form and we wanted to store the answers. It made no sense to create tables and shit, since the form itself could change over time! Having JSON was an elegant way to store the answers. Being able to actually query the JSON via Oracle SQL was like dark magic, and my instincts were all screaming at the obvious trap, but I was rather impressed by the ability.

sip ,

as long as you have good practices like storing the form version and such.

lobut , in The team that pushed yesterday's Crowdstrike update has been identified.

I loved this movie. I’m not gonna change my mind!

I’m also not gonna watch it again any time soon …

MystikIncarnate ,

Yes you will.

FlashMobOfOne , in Googling
@FlashMobOfOne@lemmy.world avatar

Ask them if they know what udm=14 means.

can ,
MIDItheKID ,

Oh my fucking god. Thank you!

tyler , in Which one???

Switching to Fish was the best decision I ever made in my terminal. Besides using tmux.

devfuuu , (edited )

Yeah. Fish just simplifies life everywhere. No longer do I need to care about those silly files or other configurations for basic stuff like search history.

Best decision ever.

prettybunnys ,

The only thing I miss in fish is $?

I know $status exists but my fingers don’t.

UnpledgedCatnapTipper ,

Could you make an alias for it?

RecluseRamble ,

Isn’t the POSIX incompatibility a major roadblock when scripting?

Hack3900 ,

Not really, you can make .fish scripts or call “bash script.sh” when it’s more appropriate to be posix compliant

tyler ,

Not really. I hate writing bash scripts anyway so I usually script whatever I need in Ruby which is far better at scripting than any posix script ever will be, and even when I do need to run a bash script I still can or just shell down into bash or zsh if I really really need to. But that’s like once a year.

JackbyDev OP ,

I have sort of been eyeing fish on and off for years. I enjoy my oh my zsh setup and have it somewhat customized. I use a modified version of the funky theme. (I can share if interested.) When I’m at work I don’t try new things that might affect my productivity (like trying a new shell) and when I have motivation to do techy stuff in my free time I really need to utilize it to do what I want because my focus really meanders.

rooroo ,

That’s fair. But look at it this way, when you’re at work you’re being paid for it, and you might eventually improve your productivity.

Also, you can have a look at oh my fish, it’s an alternative to omz I used before switching to starship.

JackbyDev OP ,

I feel pretty productive with CLI stuff. Fish does look nifty though. I’ll give it a shot sometime. Oil has been intriguing too, I’ve enjoyed reading updates about it over the years back on r/programming. www.oilshell.org/cross-ref.html?tag=OSH#OSH

tyler ,

I was the person who used every kind of zsh package manager that existed. I even had performance tweaks for some because they were too slow for me. I didn’t even use oh my zsh because it was too slow, and I had hundreds of customizations and maybe 30 plugins.

I no longer needed any of the plugins except fzf and fzf-marks when I switched to fish. It really did simplify my life a whole lot. I don’t ever mess with configs anymore.

CodeBlooded ,
@CodeBlooded@programming.dev avatar

Alright stranger, let’s hear it. What is it about Fish that you love so much?

I’ve been generally happy with bash or zsh, pretty much whatever is installed by default (and I honestly don’t know the difference between the two I just mentioned 😬).

Cube6392 ,

Zsh has more features and customization options than bash. Fish has a ton of convenience features at the cost of POSIX compatibility (which many view as a good thing)

tyler ,

Once upon a time I was the person that was constantly messing with my shell. I would performance tune it, try out new plugins weekly, change my config often. It honestly became a huge waste of time. Since switching to fish I literally haven’t spent any time configuring it at all, besides adding in the fzf plugin and the fzf-marks plugin. It just works. And it has all of the same features that everyone adds to zsh with plugins straight out of the box.

If you’re happy with the default in bash or zsh then you will be even more happy with the default in fish, as it’s just much much more user friendly (which is why so many people add so many plugins to bash and zsh: to make it more user friendly). You can even configure it (even the colors) with a web interface! No mucking about in text files if you don’t want to.

YourPrivatHater , in Companies updating their websites

When they don’t update it, im legally allowed to go into the inspect elements and copy all the code.

mexicancartel ,

view-source:https://url for easy copying.

variants , in Someone escaped the Matrix
r00ty Admin , in Instructions were unclear:gotta be precise with that anotating tool
r00ty avatar

I think this really comes down to whether the employee was IT (and to an extent part of the network team). If so, I'd say there's a lot of questions to be answered here. If not, there's also a lot of questions to be answered but not from that employee :P

randompasta , in Life is hard

Meanwhile in France: Lunch time!

lockhart ,

can’t stop eating though

onion ,

Can’t stop eating dough

jaybone ,

Baguette du fromage

oce ,
@oce@jlai.lu avatar

For mage in pain:

Gork , in Happens all the time

WRONG, PRIVATE!

Now drop and give me int(ceil(19.9))!

uis , in What a time to be alive

CEOs(dumbasses who are constantly wrong): rush replacing everyone with AI before everyone replaces them with AI

JasonDJ ,

I don’t think any programmer would be dumb enough to take that bait.

They would be held personally liable for any business decision that costs the stockholders.

theredknight ,

Lol you haven’t met consultants

skuzz ,

Funny thing is, the CEOs are exactly the ones to be replaced with AI. Mediocre talent that is sometimes wrong. Perfect place for an AI, and the AI could come to the next decision much faster at a fraction of the cost.

Krauerking ,

So, I’d say there is some slight issue with replacing all decision makers with AI cause Walmart and Amazon does it for employee efficiency. It means the staff are micro managed and treated like machines the same way the computer is.

Walmart employees are moved around the floor like roombas to never interact with each other and no real availability for customers to get someone. Warehouse workers are overworked by bullshit ideas of efficiency.

Now I get that it could be fixed by having the AI systems designed to be more empathetic but who is choosing how they are programmed? The board still?

We just need good bosses who still interact with their employees on their level. We don’t need AI “replacing” anyone pretty much anywhere, but can be used as a helpful tool.

skuzz ,

Yeah, apologies, I was being a bit glib there. Honestly, I kinda subscribe to the Star Trek: Insurrection Ba’ku people’s philosophy. “We believe that when you create a machine to do the work of a man, you take something away from the man.”

While it makes sense to replace some tasks like dangerous mining or assembly line work away from humans, interaction roles and decision making roles both seem like they should remain very human.

In the same way that nuclear missile launches during the Cold War always had real humans as the last line before a missile would actually be fired.

I see AI as being something that becomes specialized tools for each job. You are repairing a lawn mower, you have an AI multimeter type device that you connect to some test points and you converse with in some fashion to troubleshoot. All offline, and very limited in capabilities. The tech bros, meanwhile, think they created digital Jesus, and they are desperate to figure out what Bible to jam him into. Meanwhile, corps across the planet are in a rush to get rid of their customer service roles en masse. Can you imagine 911 dispatch being replaced with AI? The human component is 100% needed there. (Albeit, an extreme comparison.)

mindbleach , in Not really sure whether S-expressions or Python indentation-based scoping get more hate...

Load-bearing whitespace is a mistake.

cybersandwich , in I still don't get buffers

I can’t tell if ops joke is “intentionally confusing buffers with registers” and everyone is playing along or if people aren’t making the distinction between the two in this thread.

Which is ironic and humorous…potentially by accident.

whats_all_this_then OP ,

I’m an idiot and I think I confused the two haha

My thought process based on when I setup my config: “yank copies to my main ‘buffer’, <leader> yank copies to system clipboard through that special ‘buffer’, and <leader> delete deletes without replacing what’s in my main ‘buffer’. I have multiple clipboards!”

Completely forgot they’re called registers and that buffers are just “where text is” (at least as far as I understand it)

konkonjoja ,

I kind of assumed that his comment was independent of the meme he posted and served more to underline a perceived power that vim has over other editors. In this case a power OP doesn’t even understand/use himself.

carpelbridgesyndrome , in STOP DOING DEPENDENCY INJECTION

Why yes, I would like my stack traces to make no ffing sense! I’m so glad you asked.

Kolanaki , in Demand ad companies take security seriously first and maybe we'll talk.
@Kolanaki@yiffit.net avatar

If I saw a popup tell me to disable my antivirus Id nope out of there even faster than the ones that demand I disable my ad blocker.

ptz OP ,
@ptz@dubvee.org avatar

Yep. I see popups asking to disable adblocker the same way as that.

Allero ,

Back in the days it was a regular feature of pirated software, and worst part is, in many cases it was legit as some antiviruses like Kaspersky seemingly went for full on crusade against piracy

Kolanaki ,
@Kolanaki@yiffit.net avatar

It’s still a regular feature of pirated software.

Allero ,

Oh jeez

Haven’t seen in a while

Kolanaki ,
@Kolanaki@yiffit.net avatar

Windows Defender hates keygens.

Schadrach ,

To take that a step further, it hates key server emulators for Microsoft products more. To the point that AutoKMS and the like are listed multiple times and periodically get relisted as something new so that even if you’ve flagged it as being allowed it will still eventually get re-blocked in the future.

milicent_bystandr , in It's time to mentally prepare yourselves for this

So, I read something on this a little while ago. It has to do with the moon’s weaker gravity making time progress at a different rate, so the lunar time zone gives a precise reference for sub-second (nanosecond I guess?) precision manoeuvres and such like.

Shampiss ,

The time dilation on the surface of the moon would cause a clock to be 20 milliseconds ahead of a clock on earth after one year

it might be easier just to synchronize the space station clock with earth once a month, but I guess NASA would go for nanosecond precision if they could

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