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.

db2 , in Bartender Qualifications

SELECT * FROM Customers WHERE glass=‘empty’;

astraeus ,
@astraeus@programming.dev avatar

glass_content === 0

kautau ,

Invalid type assertion to “Number.” Expects one of “Customer” Traits: CUSTOMER_IS_WASTED, CUSTOMER_NEEDS_MORE_BOOZE, CUSTOMER_IS_BIG_TIPPER, CUSTOMER_IS_STARTING_A_FIGHT, CUSTOMER_IS_KEANU_REEVES

hakunawazo ,

…AND behavior = ‘nice’?

For reference:
img.ifunny.co/…/84367d463ab592ae1781d52ac110aca72…

psud ,

For that to work, one must pronounce SQL as an acronym, not an initialism

Some people will be constitutionally unable to make that tune work

datelmd5sum ,

I would not fill my glass with string.

theneverfox ,
@theneverfox@pawb.social avatar

You forgot to order by perceived_wealth and attractiveness desc

chinstrap , in What could go wrong trying to solve AoC in Rust?
@chinstrap@lemmy.ml avatar

Java 2. World is full of wonders

crispy_kilt ,

Java 2 didn’t have streams nor iterator combinatorics, not sure what you mean?

chinstrap ,
@chinstrap@lemmy.ml avatar

i didn’t mean as a version. I meant as overuse of streams

crispy_kilt ,

How would you have preferred to solve it? Using for loops?

AVincentInSpace ,

Python style iterator comprehension

(wonder if someone has made that into a macro. if no one has I will)

crispy_kilt ,

I don’t think it would be readable. Too much going on. You’d need an outer iter over lines, an inner over words, a check for number and a conversion. And there would be zero error handling.

AVincentInSpace ,

No less readable than half the Python comprehensions I’ve written.

zero error handling.

Not necessarily. The macro could look for a ? at the end of the final expression (the bit that comes first in a comprehension) and return a Result.

crispy_kilt ,

Right, of course, I meant no error handling in the Python impl

stebo02 , in What we really mean
@stebo02@lemmy.dbzer0.com avatar

The best way I know to quit vi is by turning off your computer

Olap ,

Why would you quit vim?

master ,
@master@lem.serkozh.me avatar

you can also accomplish that by turning off city’s electrical grid

chahk , in Bartender Qualifications

Two software developers walk into a bar…

xmunk , in Bartender Qualifications

Wait… they want someone skilled in HTML/CSS, Javascript and SQL?!?

I hope to fuck they’re using a node backend otherwise… the client scripts running in the browser are assembling SQL?

joyjoy ,

<span style="color:#323232;">SELECT * FROM drinks WHERE alccontent > 0.15 AND type = "wine" AND vintageyear < 2010 LIMIT 1;
</span><span style="color:#323232;">DROP TABLE drinks;
</span>
dan ,
@dan@upvote.au avatar

The SQL knowledge might be for analytical (OLAP) rather than transactional queries in which case it’d be entirely separate to the website work. Maybe the design of the site would change based on how people are currently using it, and they want someone that can look at rhe data? I’m unsure.

Ascend910 ,

They want you to train their latest AI bartender

blindbunny , in Bartender Qualifications

This is why I deleted my indeed

Skullgrid ,
@Skullgrid@lemmy.world avatar

You guys are making profiles for job sites and not just applying to companies listing there?

blindbunny ,

I’m an uneducated pleb with a certain set of skills. But you are correct

tsonfeir ,
@tsonfeir@lemm.ee avatar

My current job came from tossing my profile up on indeed. My previous one from Dice, one before that from an agent who found me online.

I prefer they come to me.

xmunk , in Bartender Qualifications

Do you feel comfortable implementing pub-sub in our product?

odium , in Bartender Qualifications

Bartender for a bar with a bunch of these.

Though Python, C, or C++ prob fits better.

Psycobob , in My VSCode started to summon DEMONS😈, how do I stop it? I have checked PHP docs but got nothing. 😥

It looks like you tried to parse html using a regex.

For reference: stackoverflow.com/…/regex-match-open-tags-except-…

MinekPo1 ,
@MinekPo1@lemmygrad.ml avatar

I’m think the answer there does not apply to the PHP version of regex though I’m not entirely sure

MonkderZweite ,

It works better if you remove linebreaks beforehand tho.

Lmaydev , in 5/5 stars

As a side note, I love Winget. It took them long enough to add it but it id so handy.

Anti_Face_Weapon ,

Yes! Why did it take them so long?

allywilson ,

It was handy until I realised it installs to the user profile instead of system-wide. Reverted to chocolatey.

darkghosthunter , in 5/5 stars

What’s dissapointing about Dev Home is that it offers nothing of value to the average developer, let alone somebody start it.

Given the power of containerization and WSL2, you would expect it could create development environments for a given app, like creating a firmware for a microcontroller using Rust, or a backend using Typescript, and even bring common tools or toolchains. Instead, we get some widgets and that’s it.

LemmysMum ,

It’s not a dev tool, it’s designed to force you to stay with the Windows environment by trying to regularise users to a proprietary intermediary management system.

allywilson ,

regularise users to a proprietary intermediary management system.

I don’t understand what this means.

Cwilliams , (edited ) in Good&Evil is a classic altrock album by Tally Hall, and now, for something completely different, JSON

What’s the bold thing going on with your text?

Aatube OP ,
@Aatube@kbin.social avatar

Scroll down

AVincentInSpace ,
Aatube OP ,
@Aatube@kbin.social avatar

😭

Cwilliams ,

Thx bro

AVincentInSpace ,

Np

Gallardo994 , in 5/5 stars

Yeah dev home is pretty much useless at this point.

Back when it just launched, they marketed it as it would introduce cool stuff to developers like, what I’m waiting for the most, git repositories Explorer integration. But all we have is a constantly crashing app and two extra widgets for the widget panel.

Dev drives are also cool but they’re the part of Windows anyway, no dev home needed.

crispy_kilt ,

Dev drives

Mom, can we have fast i/o with many small files?

No, we have fast i/o with many small files at home.

Fast i/o with many small files at home:

Gallardo994 ,

Instead of io stuff I just use it as a current snapshot of my dev stuff including repos. Super-easy and super-fast to sync to my other devices just as a vhdx file over any wifi network. Yeah it’s not dev drive specific feature but still, I started doing so because of dev drive

crispy_kilt ,

I love learning about all the problems I’m not having

By the way I use Debian

Gallardo994 ,

What problems are you talking about?

crispy_kilt ,

For example, slow i/o with many small files

Gallardo994 ,

I don’t remember mentioning I have a problem with that lol

crispy_kilt ,

Can confirm, you did not mention it

Ironfacebuster OP ,

If the widgets page wasn’t almost useless and filled with news stories I would actually use dev home for its widgets lol

Gallardo994 ,

Newest release preview builds added an option to turn all the news off, just sayin’

Ironfacebuster OP ,

I haven’t downloaded it because I was tired of the weird bugs with file explorer, but even on stable there are weird bugs so it’s probably worth a try

Jallu , in What if we added a social component like "Stories" to this calculator app?

Stories of 80085, thanks.

DriftinGrifter , in ???

Isn’t this how everyone learns and does stuff? No one knows how to code since day one and no one tells people not to change files to executables without further inquiry I mean I get that its a meme but…

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