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.

astarob , in Order

Don’t know about gz but zip files can be encrypted using passwords

astarob , in Who did this one

In the PayPal success screen, there is an escaped backslash as well

sebi , in Console Logs : Hello from the other side
@sebi@lemmy.world avatar

This is a professional debug techique, what are you talking about? But I rather use ‘Hii’ with various (but not ascending) amounts of i’s.

andrew ,
@andrew@lemmy.stuart.fun avatar

Sometimes I use various swears. Depends on how long I’ve had to debug. Also depends on whose work I’m debugging and whether they’re in earshot. Usually it’s just my own sketchy code though.

alphacyberranger OP ,
@alphacyberranger@lemmy.world avatar

Been there, done that

dbilitated ,
@dbilitated@aussie.zone avatar

I’ve used a regex to add a console log to the top of every method with the method name before.

the things you do when you’re desperate.

HairHeel , in OC: Me since Bun 1.0.0
@HairHeel@programming.dev avatar

My favorite pastime is arguing about which JavaScript runtime is faster while I wait for my app to finish running O(n^n) table scans of my database.

fbmac , in Some people just wake up and choose violence
@fbmac@lemmy.fbmac.net avatar

are browsers and libs good enough to do front end without a build step yet?

adrian783 ,

you’re perfectly welcome to throw hand rolled html/css/js on an ftp server

kuneho ,
@kuneho@lemmy.world avatar

I feel that’s something frontend devs deliberately left behind to make them feel like big dogs do /s

JDtheGeek ,

Watching Bun 1.0 release closely, as seems to be helping move web development much closer to that goal. Fingers crossed.

o11c , in Every Single Freaking Time

I don’t remember the last time I used ctrl-C. It’s always select or "+y.

bellsDoSing ,

I additionally mapped that latter one to F2, because being able to repeatedly copy from VIM and paste into another application without having to move your hand between mouse and keyboard is nice.

Of course, that’s VIM. If you meant “vim mode” in shell, then that’s a different story.

fl42v ,

And I just set clipboard unnamedplus

cupcakezealot , in Needs consent
@cupcakezealot@lemmy.blahaj.zone avatar

sudo touch women

Good morning, Mr. Senator

MattTheProgrammer ,
@MattTheProgrammer@kbin.social avatar

Stop. Danny Masterson was not a senator :P

TheHolyT , in Some people just wake up and choose violence

Ts is shit, just use js they even want to add types to vanilla js

sveske_juice ,

There is a reason types exists…

JakenVeina ,

So, they want to incorporate TypeScript into vanilla JS?

FooBarrington ,

No. They want to add syntax which allows browsers to parse typed code, but it would just be ignored - the type checking would still have to be done by e.g. Typescript.

cupcakezealot , in Some people just wake up and choose violence
@cupcakezealot@lemmy.blahaj.zone avatar

is correct

kamen , in Every Single Freaking Time

I’ve almost gotten into the habit of hitting Ctrl+Shift+C when I want to copy something because of that.

vpklotar ,

I do that all the time. Opens up developer tools on firefox if you do it.

fernandu00 ,

I open developer tools every day doing that!

rinze ,
@rinze@infosec.pub avatar

Yes. And on Microsoft Teams that triggers a chat call.

scottywh ,

😂

KyuubiNoKitsune ,

Burn it with fire!

phoenixz ,

That solution ish the worst. Ctrl-shift-c does a shitload of different things in different programs, and in browsers it does different things per page.

Ctrl-ins, shift-ins, shift-del for the win bit THEN some programs simply refuse to support that.

I have like 4 different copy paste short cuts because of this and it sucks

kamen ,

I’m not saying it’s great, but at least in my use I haven’t seen it being destructive/disruptive like Ctrl+C is.

phoenixz ,

Ctrl-c for copying is a windows thing and it’s annoying.

millie ,

Do you at least have 4 clipboards to go with them? Because I don’t think I could ever go back to a single clipboard.

phoenixz ,

I use standard Linux dual clipboard (Ctrl ins and just select, middle click) but most extra clipboards I’ve seen require a lot of extra clicking to get the work done. I want something simple stupid fast.

millie ,

I’m running windows for my daily, but I’ve got Ditto and it works great. I have like 3 clipboards set up, could set up more. It just needs a different hotkey combination. It’s really simple.

KingThrillgore , in Some people just wake up and choose violence
@KingThrillgore@lemmy.ml avatar

When I saw “dhh” on the post about this turbo decision that said it all really. Dhh is a tool.

colonial ,
@colonial@lemmy.world avatar

Care to clue me in? I spend my time far, far away from the web dev sphere :p

KingThrillgore ,
@KingThrillgore@lemmy.ml avatar

He became a patron saint because he developed Rails, and he huffed too many of his own farts. His track record can be boiled down to thinking he knows what’s best and the evidence is damning

See also: en.wikipedia.org/…/Narcissistic_personality_disor…

Cqrd , in OC: Me since Bun 1.0.0

The owner of bun is a dick hole, I hope it fades as fast as deno did

dmrzl ,

Can you provide some context? Googled oven/Jarred Sumner a bit but only got the usual startup VC trash communication and lackluster interviews…

Cqrd ,

They deleted their tweet (or I can’t find it because I refuse to sign into Twitter on my phone) but when oven first started hiring they were extremely condescending towards the idea of work life balance. It’s a startup perpetuating the idea that startup employees need to cut themselves off from their lives and focus on work for minimal benefits - you know, until it “takes off”.

It caused quite a stir when it was posted, I’m surprised it’s so forgotten now.

elbarto777 ,

Oh I will never forget.

dmrzl ,

Thanks. Much appreciated.

b_van_b ,

Why did deno fade?

Cqrd , (edited )

Deno is still around and is even actively used, you have to use it if you want to write a Supabase edge function, for example. But it’s not used in mainstream development from what I can tell, it just never took off because it’s a very large idea shift from Node that requires a decent sized learning curve to figure out. The benefits are also not enough that it’s worth re-learning how to write server-side JavaScript. If you wanna write server-side JavaScript, Node is good enough that it’s not worth re-learning.

Still though, Deno is fairly obscure from a mainstream development perspective, and that’s what I wish on Bun.

lorty ,
@lorty@lemmygrad.ml avatar

Didn’t deno endup having to incorporate many if the things Node has that they were initially against?

bellsDoSing ,

To add, edge functions (powered by deno) are one of the bigger pain points of supabase. At least that’s my own practical experience and the experience of quite a few others on their github (discussions and issues).

In my current project, I started of optimistically (“Should be doable, they say you feel right at home coming from nodejs!”), tried rewriting some existing nodejs code and use edge functions just like your average nodejs powered serverless functions.

But in the end, things just didn’t work out:

  • deno’s crypto module just wasn’t up to scratch yet re nodejs compatibility (for my rather humble needs)
  • supabase uses –no-npm flag re its use of “deno deploy runtime”, which means node: specifiers for imports aren’t supported
  • the fact that unlike for serverless functions, which update their runtime only once you yourself trigger a new deployment (e.g. nodejs on vercel), “deno deploy runtime” is continously being updated to latest version, which to me still feels pretty strange for production use, considering how serverless functions handle runtime updates.

In the end I changed my architecture yet again, moved most of the code to an expressjs backend and only use edge functions as a kind of “tender” proxy layer with minimal dependencies (mostly just deno and some esm.sh imports; e.g. supabase-js).

Don’t get me wrong, supabase overall is a great thing and they do many things well! I’m still using them going forward. But edge functions just have the potential for being such a pain point in a project and many have already wished for also having the option for “classic” serverless functions.

Cqrd ,

Yeah, I really wish they’d gone a different way, it’s rough. I think they went the way they did because of the control they have over the run time environment, the ability to disable so much like writing to disk through flags makes it really easy for them to “trust” the edge functions, but man deno is rough.

TheWoozy , in Needs consent

This is why mandatory access control is so important.

fidodo , in Which side are you? Javascript or Typescript

To be perfectly frank, I’ve only seen the drama on social media platforms. Outside of this one library Ive hardly seen anyone trying to fight typescript in the professional community.

4am , in Every Single Freaking Time

Running a long command and didn’t ctrl-D it…

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