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.

programmerhumor

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

inspxtr , in Developer compass

I’m confused, and maybe naive. How are CSS/HTML and JS frameworks web stuff on the “Doesn’t give a shit about open source” axis?

kosama ,
@kosama@socel.net avatar

@garfaagel @inspxtr I think he’s saying that if you use open standards on closed source/“if it ain’t broke” systems? Kinda like how Apple mostly takes from Open Source with little give back to the communities it benefits from??

EmasXP ,

Was thinking the same about PHP :D Maybe because the license allows it to be used in proprietary software?

tiny_electron , in Developer compass

Top right is pure evil

SkyNTP ,

What’s wrong with notepad.exe?

tiny_electron ,

It is not as good an IDE as PowerPoint imo, hard to be productive with the mere notepad. Not even mentionning the lack of comic sans ms /s

jmsw22 , in Maybe one day I'll learn how to use Vim

I have about 30 years of my career left. That’s not enough time for the return on investment of learning VIM to payout.

taj ,

Eh. I know the basics. I can open, do some very basic editng, save and close. That’s about as much as is really needed, right?

MoreIronOre ,

You can close VIM? Fucking legend.

schrodinger , in Minor miscalculation

This is the first one to actually hurt me.

RagingNerdoholic , in Holy variable!

CONSTANTS: oh yes daddy, don’t stop

ElmiHalt , in The only way

Well, I prefer not to put a “\n” in dates but you do you mate

Scrappy , in Holy variable!

Google scoped variables

SwellowTheSun ,

holy hell

Celsiuss , in The only way

int time = 1686650138000;

Rega , in JavaScript Pro Tip!

I had to check if that’s actually true. And yep, this is real.

datendefekt , in Maybe one day I'll learn how to use Vim
@datendefekt@lemmy.ml avatar
pete , in Maybe one day I'll learn how to use Vim

If you are actually interested in learning, it’s not too hard, you’ll be slow for a little bit but it pays off in the end.

First, understanding there are actions and objects and quantifiers. Actions are what you do to objects, so when you want to (d) delete, that is the action, then you’d want to specify a object. ($) being the end of the line, (^) start, (w) is word, (j), (g) is top of file and so on, these are already the words you’ll use to move along as well.

Then, for many of these we can add quantifiers, i.e. repeat x number of times.

So 3dw is delete three words and 3dj is three lines down and so on. If you want to select, it’s just swap v for d and off to the races.

Once you learn the basic concept, you really only need a few actions and a few objects to be functional.

Print/find/make a cheat sheet and put it up by your monitor or keyboard and give yourself a week.

Also, checkout the vimtudor or vim golf and play the game for a few minutes.

lwhjp , in Literally 1970
@lwhjp@lemmy.sdf.org avatar

*Um, actually…*A signed 32-bit counter would loop back to December 1901, so the calendar is presumably 31-bit unsigned. (Sorry)

HoornseBakfiets , in JavaScript Pro Tip!

Omg it even works for “NaN”

zekiz ,

NaN is actually a number in JavaScript

darcy ,
@darcy@sh.itjust.works avatar

tbf its the floating point standards fault

pcouy , in "Looks good to me" *merges own pull request*

Reminds me of the time used a private gitlab repo for a freelance contract where I was working alone. I used it to keep track of tasks in issues. Some issues in this repo really turned into me talking to myself

LovelyCupcake , in JavaScript Pro Tip!
lemme ,

Take my angry upvote!

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