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.

Limeey , in Typescript

If compiled languages bother you, then you’re gonna love assembly.

Xabis ,

Asm is compiled too.

Gotta bust out the hex editor.

Shareni ,

Nah, just get butterflies

bruhduh ,
@bruhduh@lemmy.world avatar
frezik , (edited )

An assembler doesn’t have any of the interesting parts of a compiler.

Anyway, the problem with Typescript is that it tends to obscure what’s going on one layer below it in ways that don’t happen in traditional compiled languages. We’ve had decades of development on tools that can work together with traditional compilers. Javascript has not, and there are frequent problems getting different tools at different layers of abstraction to march the same direction.

30p87 ,

I’d rather read ASM than … that random crap.

SpaceCowboy , in remember, if your gf isn't open source and running locally, you don't own her
@SpaceCowboy@lemmy.ca avatar

Don’t worry, followed the proper traditions. I had dinner with Richard Stallman to got his approval to court my AI girlfriend.

NaoPb ,

Well, I had dinner with Bill Gates. And he told me “who are you” and “how did you get in here”.

0x2d , in remember, if your gf isn't open source and running locally, you don't own her

what the fuck is an ai girlfriend

npz , (edited )

https://lemm.ee/pictrs/image/519c49fe-2ce4-4b71-9be9-bf3ad15552fb.png

(for demonstration purposes only, please don’t think I’m like this)

Molten_Moron ,

Too late! That was too good to be your first go.

ikidd ,
@ikidd@lemmy.world avatar

Wtf is up with the W’s?

webghost0101 ,

Its part of this en.m.wikipedia.org/wiki/Uwu

Now you can follow the rabbithole further but that is a choice you have to make.

ikidd ,
@ikidd@lemmy.world avatar

I get uwu, its ancient. But all the w’s instead of R’s?

veloxization ,
@veloxization@yiffit.net avatar
Frigid ,

I envy you never heard any morons talking like a toddler trying to be cute. Sadly, that day has come for you too now.

mods_are_assholes ,

babytalk infantilism fetishized by the furry community.

AVincentInSpace ,

“Fetishized” is a very strong word, and I’d also hesitate to call a speech impediment “baby talk” – I’ve met grown adults who talk that way simply because they don’t know better

WldFyre ,

Aren’t you from a furry instance lol

LainTrain ,

Says the furry :)

AVincentInSpace , (edited )

Yunno, I really thought that in the two and a half decades since the advent of SomethingAwful, internet culture would have progressed to the point where people were willing to live and let live, instead of pointing and making fun of anyone who was “cringe”

EDIT: aaaand down vote and walk away. It’s like Reddit all over again. Well, good luck out there. Hope you find peace.

LainTrain ,

I up voted you. I was kind of tongue in cheek I don’t have anything against furries or whatever.

mods_are_assholes ,

You cannot comprehend how much I hate the fact that ‘UwU’ entered the public lexicon and I block the FUCK out of any degenerate that uses it.

BuryMyHorse ,

Block me harder daddy :3

RootBeerGuy ,
@RootBeerGuy@discuss.tchncs.de avatar

Fuck, I need to go stab my eyes.

nxdefiant ,

I read the waifu parts in Michael Duncan Clarke’s voice and it made it bearable.

CptEnder ,

I shall reference this post for the reason I commit terrorism

SuddenDownpour ,

What I got from this is that you’re the bottom in this relationship.

Vast_Emptiness , in Typescript

Idk man. I use python ;)

PapstJL4U , in Can someone explain why authors do this?
@PapstJL4U@lemmy.world avatar

A,B,C,D - A talks to B, C listens to A,…

Alice, Bob, Charlie,…

For this reason the first persona in my software is always Alice Litte, [email protected]. Easier than “asfgg afshd”

muhanga , in It's that time of year again

There is no love if you dont constructor it. Then you would need to initialize it or use existing instance to borrow. You can even extend from Respect or Humor as a starting point, there is no need to implement Love from scratch.

Keepitpushin , in Elon Musk Certified Genius*

This mofo. If only he would’ve stuck with Tesla and Space X and stfu he legit could’ve been on the better side of what billionaires can offer but intead he’s… this.

d3c4f ,

there are no good billionaires, my friend

Keepitpushin ,

That why i didn’t say good i said better

QuazarOmega , in rule

Her ass is NOT concatenating files either

dependencyinjection ,

Silly. This is how the ‘cat file name’ command work. You type it and the cat spits out the contents.

nyan ,

I will have to remember not to use that command anymore. 'Scuse me while I clean up the hairball . . .

Hamartiogonic ,
@Hamartiogonic@sopuli.xyz avatar

Oh, it’s just like the historical origin of words like “bug” or “patch”.

frezik , in Sometimes I want to call malloc, just as a treat

Years ago, older C programmers told me you don’t know C unless you use dynamic memory management. I ended up rarely writing any C, but when I do, it’s usually on microcontrollers where dynamic memory management isn’t even supported out of the box.

Jokes on you, greybeards!

sping ,

Though as a non-embedded dev who has interviewed embedded candidates I like to ask them to talk about the issues around C vs C++ for embedded and the first point 8 out of 10 of them make is C++ is bad because dynamic allocation is bad. And while they could expand to almost sort of make their point make sense, they generally can’t and stumble when I point out it’s just as optional in each.

Scrath ,

Can you give some examples of what you consider to be the issues?

My professor said that C++ embedded compilers used to be very buggy but have matured quite a lot as of ~10 years ago while C was stable a lot longer.

Another thing I could think of is the language complexity causing higher resource usage, e.g. by including large libraries though I’m not sure about that since most of the unused stuff should theoretically get optimized out.

I guess if you don’t know roughly how the internals of some C++ data types work it could cause you to accidentally use dynamic memory allocation when using strings or vectors.

On the other side, C++ style casts provide more safety as compared to C style casts and allows for usage of references instead of raw pointers to make the code generally safer.

owenfromcanada ,
@owenfromcanada@lemmy.world avatar

Yeah, I get where they’re coming from–in typical use cases, C is often used with static allocation (correlated with minimal/embedded devices) while C++ is often used with dynamic allocation (correlated with enterprise/GUI applications).

Of course you can use either for either purpose, but that pattern seems more common. That being said, I’d be concerned with applicants who don’t understand that.

itsnotits ,

Joke’s* on you

EatATaco , in Sometimes I want to call malloc, just as a treat

I was an embedded developer for years for critical applications that could not go down. While I preferred avoiding dynamically allocating memory, as it was much less risky, there were certainly times it just made sense or was the only way.

One was when we were reprogramming the device, which was connected to an fpga which would also require reprogramming. You couldn’t store both the fpga binary and the new binary for the device in memory at once, but there was plenty of space to hold each one individually. So allocate the space for the fpga, program it, free and allocate space the new processor code, verify and flash.

What am I missing? Have things changed?

verysuchaccount OP ,

You said it yourself:

While I preferred avoiding dynamically allocating memory, as it was much less risky, there were certainly times it just made sense or was the only way.

This is not a common attitude to have outside of embedded and similar areas. Most programmers dynamically allocate memory without a second thought and not as a last resort. Python is one of the most popular programming languages, but how often do you see Python code that is capable of running without allocating memory at runtime?

EatATaco ,

I guess I’m taking the meme too literally here and that people would be disgusted by it. While I think it’s a common practice, but obviously to be used very judiciously.

owenfromcanada ,
@owenfromcanada@lemmy.world avatar

I’d effectively gain the advantage of dynamic allocation by using a union (or just a generic unsigned char buffer[16384] and use it twice). Mostly the same thing as a malloc.

moosetwin , in Typescript
RacoonVegetable , in rule

Netapp 🤮

ripcord ,
@ripcord@lemmy.world avatar

:)

who do you prefer?

demesisx , in Typescript
@demesisx@infosec.pub avatar

I vastly prefer Purescript despite it being the road less traveled. Typescript is just a fake-ish type system on top of JavaScript. But Purescript goes MUCH further in the mission of purity and code safety.

lightnegative ,

Purescript is like a modern Haskell. Completely different programming paradigm, much less accessible to your average JS developer just wanting to tighten up their code without having to learn category theory

demesisx , (edited )
@demesisx@infosec.pub avatar

I’m no white beard, I don’t know much or really any deep category theory (which is, by the way, just some fancy names for stuff we do CONSTANTLY as software engineers), and I use it every single day. Suit yourself, though.

aubeynarf ,

Have you tried Scala.js ?

demesisx ,
@demesisx@infosec.pub avatar

I have. Edit; I haven’t 🤣 didn’t see the .js at the end of that word so some of the following is probably irrelevant, though I’ll leave it because it took me a while to type it out. Haha

I’d probably be more interested in it if I were being forced by my day job to work in the JVM. I happen to be in a situation where I am my own boss working on projects completely alone and the tech I pick comes from months of wasting time making perfect the enemy of good. I know that raises quite a few red flags but I can’t help the way that they made me. Haha 🥴

From what I’ve gathered from Joseph Gordon Bell at the (IMO best software engineering podcast ever) Co-Recursive podcast, Scala sacrifices some of the purity and safety by its dependence on the the Java cargo cult. Partly, this is also a drawback of Purescript for me (since it’s intended to compile to JavaScript) but Purescript is starting to be able to escape that fate. Also, I’m a HUGE fan of Haskell syntax.

From your perspective, what pros and cons do you see if I were comparing Scala to Purescript?

Ps. The one that is actually really making me take notice lately is OCaml for the browser.

ursakhiin , in rule

I see nothing wrong, here.

My furry ass isn’t sysadmin certified and I sit it on the switch without a wristband, keyboard, and laptop daily.

inclementimmigrant , (edited ) in remember, if your gf isn't open source and running locally, you don't own her

Saying you should be able to clone and own your AI girlfriend still sounds very wrong.

morrowind OP ,
@morrowind@lemmy.ml avatar

yeah that’s part of the joke

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