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.

4am , in Every Single Freaking Time

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

metarmask , in Every Single Freaking Time

I’ve changed this on all my terminals and I’m not ashamed of it.

AGuyAcrossTheInternet ,

True strength is bending the machine to appease your habits, not to bend your habits to appease the machine.

Storyteller ,

No. The flesh is weak. The machine is immortal.

Flesh is fallible but ritual honours the machine spirit.

All hail the Omnissiah.

cryomancer20x6 ,

Yes! You know what it is, don’t you boy? Shall I tell you? It’s the least I can do. Steel isn’t strong, boy, flesh is stronger! Look around you. There, on the rocks; a beautiful girl. Come to me, my child.

i.gifer.com/PzVN.gif

ShortFuse , (edited ) in Which side are you? Javascript or Typescript

I’ve been writing my own render framework and component library for about a year now.

One thing I enjoy most about it is that the types are automatically inferred. There’s a lot of Typescript wrangling going on, and it gets really deep into what TS is capable of and barely capable of (polymorphic this, dynamic return types based on input, Class type reconstruction, mixins that influence both static and instance properties, event listeners based on event name, typed property watchers based on property name).

It’s all written in JavaScript with “JSDocs”. It’s not really JSDocs because there’s a lot of recursion that’s not possible with regular JSDocs. It’s TS type information slipped into JSDoc comments.

Ridiculously complex core Class

But that is to setup the ability to tap into inferred types. The actual code that’s written (eg: components) is fully typed check with little or no type declaration.

Declarative-style component with almost no explicit typing

The reality is, no complex piece of code should be written without some form of type checking. TS isn’t perfect and if there were something better, I’d move. Alliances are stupid. There are problems with some things that have not been, and likely will never be, fixed. But what type-checkers should do best is infer types dynamically.

The result means all my code today just runs in the browser. I don’t have to wrangle builders or compilers (bye Webpack!). At most, I use just esbuild to minify, though it’s an optional step, not a mandatory one. If I want to mess around on Codepen with my library, I can refer to a git commit directly and load the file. I don’t need npm to package and release. (CodePen Sample)

KSPAtlas , in Which side are you? Javascript or Typescript
@KSPAtlas@sopuli.xyz avatar

“In own my lane”

Cold_Brew_Enema , in They tried

The second that popup about cookies shows up I immediately backout and not use the site.

MDFL OP ,

That’s like every site. How do you use the internet at all?

RegularGoose ,

It’s becoming a lot easier to use the internet a lot less. It’s been turned into such a user-hostile space so domineered by corporations and fascists that most of the internet doesn’t really hold much of an appeal anymore, at least for me.

If the internet died tomorrow and didn’t come back, I’d be annoyed about not being able to use it to order food, manage my bank account, or watch shows/movies, but the world would likely be an overall better place once logistics re-adapted to not having it.

The internet was cool for the first 10-15 years, but it’s been a rapidly worsening cesspit for a long time. Nothing the internet can offer us is worth also tolerating it as a tool for inescapable government and corporate surveillance, and as the most effective imagineable breeding ground for fascism and disinformation.

The internet makes our lives worse in so many more ways than it imporves them, and people are too fucking addicted to it to give a shit.

Honytawk ,

If you really don’t want to bother, you can use the consent-o-matic addon for Firefox that automatically declines every cookie possible.

EyalL , in Planning is for the weak

Weeks of coding can save you from hours of planning

cloudy1999 , in I finally created the perfect JavaScript runtime: No-JS

One cool thing is that the comments are self documenting. I read the program earlier and it’s quite clear what it does. Excellent accomplishment, dear colleague!

ActuallyRuben ,

Sweet! Now I don’t have to recursively write comments to explain the meaning of each comment

TheGreenGolem , in It's routine

Needs more jpeg!

NotYourSocialWorker , in Hallelujah

Yes but it can do “cd…”

WhiskyTangoFoxtrot , in Hallelujah

It’ll always be “Bad command or file name” to me.

sirdorius , in Hi Ricardo

“Come on Ricardo, we have to release in prod before the weekend starts”

zqwzzle , in How the internet actually works
jadegear , in Hours of work

Sounds like job security to me.

Godric , in How the internet actually works

OK, that’s better XD

JoYo , in Not Mine; Enjoy
@JoYo@lemmy.ml avatar

this is what I’ll post whenever I get that fucking stupid interview question.

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