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.

Ephera , (edited ) in PlePuProPro: The Pledge to Put Prolog in Production

I once considered implementing a CI/CD configuration management tool in Prolog (in my free time).

Cause, you know, you’ve got certain conditions that you want to be met, so from an API perspective, it’s actually kind of reasonable.

Problem is, at some point you need to actually do things on the target machine. And you can’t really tell it to run a few instructions in order. Not as reasonable for that part…

marcos OP ,

Ouch.

I’ve once decided that “hey, software interaction is logic, so prolog should be the best for complex protocols and UIs!”

Quite soon I understood that no, “complex protocols and UIs” are a problem all by themselves, enabling them makes them worse, and enabling them with prolog makes them even worse.

Up to this day I’m stuck trying to make data quering more “programming-like” than the restrictive thing we have with SQL. I’ve backtracked a few times already after noticing that I just designed prolog again.

But fear not, at some point one of us will finally find that problem domain for what prolog is really suitable. I know of an entire company betting on using it for describing access control rules, maybe they are up to something!

mcmodknower , in PlePuProPro: The Pledge to Put Prolog in Production

As someone who used Prolog in an academic circumstance for more than just logic, i fully agree with that article.

But i still think C++ has more footguns than Prolog.

marcos OP ,

But i still think C++ has more footguns than Prolog.

They are different kinds of footguns. The C++ ones keep security, ops, management, suppliers, customers, and the public up at night; the prolog ones keep you up at night.

chottomatte , in Activate Linux
@chottomatte@lemdro.id avatar

When I was testing Linux distributions on DistroSea it was pretty funny to me to see " Activate Windows " lines on the screen while testing a Linux distro

Shifty , in Activate Linux

Git Repo, it works on Windows too, just in case you’ve activated it and the bottom corner of your screen feels lonely. You can also set the text to whatever you want

arandomthought ,

Love the Cave Johnson quote in the readme that just preempts any of those pesky “why” questions.

OsrsNeedsF2P ,

MacOS (Horrific)

Based readme

Stupidmanager , in Activate Linux

I remember when someone did this for Mac. this just ticks those boxes of someone who should be doing work, but doesn’t want to do work and feels like coding something to make you laugh. Heh

Lifter , in `"☹️".reverse() == "🙂"`

“A”.reverse() === “A”

hydroptic OP ,

“A”.reverse() == “∀”

Where is your god now?!

Brahvim , in `"☹️".reverse() == "🙂"`
@Brahvim@lemmy.kde.social avatar

What’s with the lines of both equals symbols being combined together haha?

hydroptic OP , (edited )

That’s known as a ligature and they’re pretty common in many programming-oriented fonts, which usually have stylistic sets with different ligatures for different programming languages that you can optionally enable in your editor’s configuration. For example, here’s the stylistic sets the Monaspace font offers:

https://sopuli.xyz/pictrs/image/9081bd41-85a0-404b-baa8-886f69ee4adf.webp

Personally I’m not too fond of ligatures so I never enable any, but many folks do like them.

Edit: and just as a side note, ligatures are super common in many fonts, you just might not notice them. Here’s some classic examples from the DejaVu Serif font, with and without a ligature:

https://sopuli.xyz/pictrs/image/c3c53e73-e71a-42ce-9ecb-f4be46551c16.webp

vk6flab , in There are many similarities between programming and parenting
@vk6flab@lemmy.radio avatar

All I’ll say is that I’m glad that I’m neither your child, nor a member of your software development team…

abbadon420 OP ,

I don’t get it, why make it personal?

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

They lost their firstborn son in The War to untracked artillery because neither -i, -n, nor -f were given.

abbadon420 OP ,

Oh I’m sorry man, I didn’t know. Thank you for your service.

something_random_tho ,

You’re telling me no -f’s were given?

zero_spelled_with_an_ecks ,

Your bedroom and your code sound dirty. No dessert until there are no more dirty clothes on the floor and all your merge conflicts are resolved.

mods_mum ,

jeez, you must be fun to be around. I’d say it’s the OP who dodged the bullet with you in their team lol

gnutrino , (edited ) in There are many similarities between programming and parenting

One mistake and you have to maintain it for 18 years…

F04118F , in Evil

Unlike most houses, in mine the Fox won’t change the default browser.

Kolanaki ,
@Kolanaki@yiffit.net avatar

The Fox is the default browser.

bruhduh ,
@bruhduh@lemmy.world avatar

Librewolf

tux0r , in Evil
@tux0r@feddit.org avatar

Friends don’t let friends use a dark mode.

Jesus_666 ,

Depends. On Linux or older macOS where light mode typically means a comfortable light gray? Light mode is the way to go. On Windows where light mode means an eye-searing onslaught of ? Dark mode is the only sensible choice.

slazer2au ,

Real friends let’s their friends do what they want and don’t gatekeep themes.

imPastaSyndrome ,

Whaaaat

snooggums ,
@snooggums@midwest.social avatar

Calm down Satan.

cheddar ,
@cheddar@programming.dev avatar

I’m glad we aren’t friends.

Aggravationstation , in Evil

It’s the perfect crime, I’ll be unable to post about it on Lemmy.

Ephera , in Evil

I wish, light mode worked better in terminals. Every so often, it’ll throw some yellow text at me, and it’s just like, cool, I literally cannot read that.

tun ,

IMHO it depends on the theme you use.

try well maintained themes and you will not have that kind of problem. Like gruvbox light.

github.com/mbadolato/iTerm2-Color-Schemes/

has lot of color themes. If your terminal of choice can use ANSI colors you can use tinted-shell.

narc0tic_bird ,

Catppuccin Latte works well too!

Kojichan ,
@Kojichan@lemmy.world avatar

Was gonna suggest this theme. I love it in my light daily driver.

Ephera ,

Hmm, good idea.

I’ve been using the “Black on White” theme in Konsole, because that’s the only real light theme it has, apart from Solarized.
Well, and apparently for some reason it uses brighter colors for what should be intense colors. Just setting the yellow to a normal yellow already improves it quite a bit.

I guess, my point still kind of stands, like why is there no better light theme included out of the box, but yeah, I should probably look into theming a bit more…

MonkderVierte ,

I wish light/dark mode switching would work in editors/IDEs at all. Kate/Kwrite apparently has that but it doesn’t work with Kvantum or i don’t understand the configuration enough. They should just have a “alternative editor theme” and switch to it on signal and be done. Light editor theme on dark desktop switch after 20 o clock burns my eyes.

3H3x36tBElshOa ,
@3H3x36tBElshOa@feddit.nl avatar

It does work, it’s just complicated to setup.

https://feddit.nl/pictrs/image/e48d0938-2c33-4b50-a467-2c0ebd4688f8.png

In that picture, I’m using KDE applications that are flatpaks for Cosmic Desktop on PopOS with a Kvantum theme. I made a longer post here when I was searching for instructions for how to complete this recently.

After my experience, I don’t really know what the best solution is for setting it up. I guess it would be nice if the major platform applications for like KDE were supported for dark mode by default on the DE. I don’t know, it really bothered me though.

MonkderVierte ,

Thanks! I take a look.

explodicle ,

Select it

ulterno ,
@ulterno@lemmy.kde.social avatar

oooo but you set the selected text setting to exchange FG/BG colour and noww you have white on yellow ooooo

Ephera ,

Yep, that is precisely what my terminal does out of the box…

ulterno ,
@ulterno@lemmy.kde.social avatar

oooooooo <insert sad face Frieren gif here>

cuerdo , in Evil

DID YOU ACTIVATE MY GOOGLE ASSISTANT???

MeatPilot , in Evil
@MeatPilot@lemmy.world avatar
kamen ,

Limmy pls.

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