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.

steltek , in single binary executable and dlls

No one seems to mention license considerations when talking about static linking. Even if your app is open source, your particular license may not be legally compatible with the GPL, for example. 3BSD, MIT, and Apache most likely don’t change in a single binary but it’s kind of a new thing that no one was really thinking of before when mixing licenses together.

I think this default okay assumption comes from most developers having a cloud-centric view where there’s technically no “distribution” to trigger copyright.

TechieDamien ,

Even in the cloud you need to consider licenses such as the AGPL. Personally I don’t get this almost apathetic approach many developers have towards licensing and abiding by licenses.

leviosa , in single binary executable and dlls
@leviosa@programming.dev avatar

Windows shared libs could do with having an rpath equivalent for the host app. I tried to get their manifest doohickeys working for relative locations but gave up and still just splat install them in the exe directory.

Aside from that shared libraries are great. Can selectively load/reload functions from them at runtime which is a fundamental building block of a lot of applications that have things like plugin systems or wrappers for different hardware etc. Good for easier LGPL compliance as well.

jarfil ,

Modern Windows does a lot of shenanigans with DLLs to avoid the “DLL hell” effect, like keeping multiple versions, hardlinking, and transparently redirecting the DLLs accessible to a program, even when they “seem” to be in the exe’s dir.

malloc , in Hours of work

In consulting, that’s called “after work”. Got to pump those billables

Honestly though, unless it’s a feature that is completely outside the domain of the application. If you have to re-write your entire app then your app was probably dog shit to begin with

Gonzako ,

Yeah, that wasn’t a SOLID piece of work

docAvid ,

To be fair, it said “an enormous amount of code”, not “your entire app”, but yes, the ability to add unexpected new features or make focused changes without touching more than a minimal amount of existing code is a very good smell metric of code quality. The problem is that for every dev who understands how to program like that, there are at least five, probably more like ten who don’t, which means most of us are working on teams that produce a blend of clean code and, as you say, dog shit, so the feature request that requires stirring up all that shit is out there waiting for us, like it or not. The best we can do, when it hits, is try to at least improve all the shit that we touch in the process. Maybe some of it can become compost, I dunno, the metaphor breaks there, gonna have to refactor the metaphor.

nixfreak , in single binary executable and dlls

Cause statically linked libs can be very large. I agree though , rather have statically linked then dynamic.

sznio , in single binary executable and dlls

Additionally, I can’t really understand why are dynamically linked libraries so popular and how on earth anyone who ever had a “.dll / .so not found” error thinks this is a good idea.

  1. You can load a DLL once and all programs can share it, saving memory. It also makes programs start faster since the DLL might be already loaded, so there’s less to load from disk. That mattered more back in the 90s
  2. You can update one file and have the patch apply to all programs
jarfil , (edited )
  1. Your program can also NOT load a DLL until it’s actually needed, making it definitely start much faster.
jadegear , in Hours of work

Sounds like job security to me.

Agent641 , in Oh yay new features

I have no X and I must tweet?

mekwall ,

You mean Xeet?

douglasg14b , in Hours of work
@douglasg14b@programming.dev avatar

If you do this enough you know how to design your solutions to be relatively flexible. At least for your backends.

Your frontend will always churn, that’s the nature of the job.

vivadanang ,

Your frontend will always churn, that’s the nature of the job.

Yep. The trick is to be gone before anyone finds the gross stuff needed to make it all work.

OsrsNeedsF2P ,

cries in open source frontend development

snor10 , in How the internet actually works
PipedLinkBot ,

Here is an alternative Piped link(s): piped.video/watch?v=_cZC67wXUTs

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I’m open-source, check me out at GitHub.

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

This meme took up a lot of vertical space on my feed, like this cat

https://lemmy.ml/pictrs/image/20e73eaf-d92b-454d-8732-ecfcb73794b2.webp

Godric , in How the internet actually works

OK, that’s better XD

Mugmoor , in How the internet actually works
@Mugmoor@lemmy.dbzer0.com avatar

I’m a simple man. I see PBF, I upvote.

Sigh_Bafanada , in Hours of work

We just need to change one field into an array, so that users can be linked to more than one location.

We estimate around 400 hours work.

vivadanang ,

We estimate around 400 hours work-

In order to analyze the problem, inform stakeholders and a allow for a brief period for outlining the next potential steps to be decided by the steering committee. Once there, we can talk about allocating developer hours to enabling the resolution and it’s required upgraded dependencies. See my previous estimate sent 2/7/2018.

jadegear ,

Oh the flashbacks… Do you work in healthcare or banking?

vivadanang ,

AR application development.

jadegear ,

Good lord it’s everywhere. Get the flamethrowers…

bappity , in How the internet actually works
@bappity@lemmy.world avatar

a series of rick rolls

zorb , in How the internet actually works

It’s NOT a big truck!

roguetrick ,

Ted "Bridge to Nowhere" Stevens made CSPAN worth rage watching.

BatmanAoD ,

Was this analogy actually wrong, though? The internet is more like tubes than like trucks. Tubes captures the concept of bandwidth, as well as infrastructure needing to be in place prior to sending anything.

roguetrick ,

It wasn't bad, he was a fucking idiot on so n many other things though. Then he got indicted.

reversebananimals ,

It makes me so happy this is still a known meme.

QuazarOmega ,

That is this referencing?

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