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.

Solari , in Easy peasy

Just load up a Terraform template and all that is abstracted away.

jelloeater85 ,
@jelloeater85@lemmy.world avatar

This guy fucks codes 😎

Solari ,

Accurate XD

catherine_fish , in Markdown everywhere

.md files on

simonced , in Ya gotta keep up with the times!

lol, MD5 is NOT a secure password algorithm…

SirQuackTheDuck ,

Exactly, real infosec engineers use crc32

fibojoly ,

Next thing, you gonna tell us SSLv3 isn’t military grade?!

sip ,

woosh

Muffi , in incoming

Sound like you need to practice with some Flexbox Defense

urda , in After 6 hours
@urda@lebowski.social avatar

Wait! US-EAST-1 is dead (Shia surprise)

onlinepersona , in incoming

Is this a new CSS attribute?

killeronthecorner , in Imagine
@killeronthecorner@lemmy.world avatar

npm is waaaay ahead of you

yokonzo , in Every Single Freaking Time

I literally just learned about Ctrl+c last week, I’ve been using terminal casually since I was 10, and always thought it was dumb that when a script was stuck hanging that I had to close the command window and redo my steps. I always thought it was weird that you had to right click to copy something and never thought why that might be the case, I have no excuses.

o11c , in Which side are you? Javascript or Typescript

I haven’t managed to break into the JS-adjacent ecosystem, but tooling around Typescript is definitely a major part of the problem:

  • following a basic tutorial somehow ended up spending multiple seconds just to transpile and run “Hello, World!”.
  • there are at least 3 different ways of specifying the files and settings you want to use, and some of them will cause others to be ignored entirely, even though it looks like they should be used.
  • embracing duck typing means many common type errors simply cannot be caught. Also that means dynamic type checks are impossible, even though JS itself supports them (admittedly with oddities, e.g. with string vs String).
  • there are at least 3 incompatible ways to define and use a “module”, and it’s not clear what’s actually useful or intended to be used, or what the outputs are supposed to be for different environments.

At this point I’m seriously considering writing my own sanelanguage-to-JS transpiler or using some other one (maybe Haxe? but I’m not sure its object model allows full performance tweaking), because I’ve written literally dozens of other languages without this kind of pain.

WASM has its own problems (we shouldn’t be quick to call asm.js obsolete … also, C’s object model is not what people think it is) but that’s another story.


At this point, I’d be happy with some basic code reuse. Have a “generalized fibonacci” module taking 3 inputs, and call it 3 ways: from a web browser on the client side, as a web browser request to server (which is running nodejs), or as a nodejs command-line program. Transpiling one of the callers should not force the others to be transpiled, but if multiple of the callers need to be transpiled at once, it should not typecheck the library internals multiple times. I should also be able to choose whether to produce a “dynamic” library (which can be recompiled later without recompiling the dependencies) or a “static” one (only output a single merged file), and whether to minify.

I’m not sure the TS ecosystem is competent enough to deal with this.

ebc ,

This last part sounds nice in theory, but it’s way outside the scope of what Typescript is intended to accomplish. I’ve been pursuing a similar goal on and off for 10+ years at this point, I even wrote an ORM for Backbone.js so I could use it on the server as well. Back then we called it Isomorphic Javascript, later on it got renamed to “universal javascript”, nowadays I’m not sure.

But yeah, the problem is similar with any code, really… What you’re often writing in software dev is just functions, but the infrastructure required to actually call said function is often not trivial. I agree it’d be nice to be able to have different “wrapper types” easily, but I’m afraid their usefulness would be limited beyond toy projects.

asyncrosaurus , in Which side are you? Javascript or Typescript

Javascript.

Because my exposure to Typescript is wading through over-engineered and bloated Angular front ends that could easily (and should) be thrown out and re-written in html/ js.

But also because I exclusively write simple shit that doesn’t have a build step for the front end, because 90% of the stuff I make gains no benefit from needlessly overly complex front ends.

hex ,

Modular front end design is convenient in the long run tho

sj_zero , in Which side are you? Javascript or Typescript

Segment 0xA000 gang

z500 ,
@z500@startrek.website avatar

I’ve been designing CPUs and writing machine code and assembly for the last month and it’s been a blast.

karmiclychee , in Which side are you? Javascript or Typescript

I’ve always felt it doesn’t solve the problem people think it’s solving.

fiveoar , in Planning is for the weak

Deployments and deployment frequency pretty squarely a developer’s responsibility…

Anticorp ,

Starting a project early enough to deploy on time is a management responsibility.

OsrsNeedsF2P ,

Best I can do is add 3 tickets during Monday’s scrum

("What do you mean your tickets slipped again?)

GarytheSnail ,
@GarytheSnail@programming.dev avatar

Yall aren’t being told to write your own tickets?

OsrsNeedsF2P ,

Nah we get given tickets.

The tickets only have an ambiguous title, then it’s our responsibility to figure out what it’s about and come up with the estimates.

After our weekly planning meeting

SpaceNoodle ,

Our mind reading powers can only go so far.

OsrsNeedsF2P ,

Give me a perfect spec and I’ll give a perfect timeline

DreadPotato ,
@DreadPotato@sopuli.xyz avatar

No you won’t, because even if everything is perfectly specced you’ll encounter unforeseen issues during implementation. So you’ll either overestimate or underestimate the time required.

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

Can you share the github link? I’m really eager to use it in one of my key projects where JS is a core component :D

ASK_ME_ABOUT_LOOM ,

This project is so popular that it’s preinstalled on every OS!

knF ,

Ah, is it the famous rm -rf / command?

TrustingZebra ,

GNOME-based distros use JS for extensions.

yum13241 , in This one goes out to the sysadmins in the crowd.

The second guy is the exact same type of person as my Dad.

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