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.

Driftking , in Order

Doesn’t actually matter

LostXOR ,

Encrypted data compresses much worse than non-encrypted data, so it does matter in terms of size.

CanadaPlus ,

It really does. Apparently-random data can’t be compressed at all, by the pigeonhole principle.

I mean, you could run it through whatever algorithm for fun, but it won’t accomplish anything.

linuxgator , in It always gets me

More like Ctrl-WHYYYY?

Poppa_Mo , in Linux Best Practices

I am saving this thread. I am new to Linux and you guys have all sorts of helpful tips!

ryannathans , in Linux Best Practices
  1. Don’t run any command you don’t understand
upturned8393 ,

That’s why you run this one though because you don’t understand French. After you run this you’ll understand every command afterwards.

ryannathans ,

You’ll certainly understand french after running it

jetsetdorito ,

blindly copy and pastes top stack overflow answer

lord_ryvan ,

Yeah, seriously don’t do that!

state_electrician ,

What about downloading a shell script and piping it directly into a shell?

Rinox ,

Well, I understand it removes the french language, right? /s

ryannathans , in Linux Best Practices

I wonder if you could still restore a zfs snapshot after this, or if you’d need to boot into recovery

AKADAP , in Linux Best Practices
@AKADAP@lemmy.ml avatar

The evil thing about this is that it will be at minimum hours, possibly days, before someone who did this can come back to complain.

rektangel ,

Respond on the phone?

MrMamiya , in It worked on my system

Ok I’ll do it. I’m here from hot, I’ll admit it. Can you explain this to me in language I’ll understand? I have just a little understanding of programming but decent comprehension skills.

Vamanos ,

Docker containers in programming are reusable environments. Basically instead of manually setting up an operating system environment from scratch - you give your program this extra layer where you specify each and every thing that will be on the environment.

If your program was always tested on windows 10 instead of windows 9 - you basically have a way to guarantee it always has windows 10. If your program always used x version of Linux a boom, guaranteed. It adds some complexity but reduces and removes randomness from the concept of deploying applications you’ve created.

MrMamiya ,

Very nice, added info on how it affects deployment. Thanks!

greenteadrinker ,

LK-99 is a room temperature superconductor. It’s a big deal, because it means that energy can be transferred with 0 loss and it doesn’t require loads of cooling to maintain that property (unlike “traditional superconductors” that need liquid nitrogen and other cooling to have that property). An analogy would be like if you got paid all of your paycheck all the time instead of having taxes taken out. The money you get paid is energy and the loss is taxes

There’s controversy that LK-99 can’t be replicated

Going over to the programming side, sometimes you’ll work on a feature and when others go test it, it doesn’t work. A common excuse heard is “well, it works on my machine”. Docker containers solve that problem by essentially (but not really) making a copy of “my machine” and letting people run the program/feature on that copy

So the joke is, if the korean researchers were able to create it in their lab environment (their machine), why don’t they just make a copy of their lab and let others use it

this is a very gross oversimplification, so feel free to suggest any corrections

eestileib ,

LK-99 is allegedly a room temp superconductor.

I think it’s a mistake that got amplified by fraud at other locations.

newIdentity ,

And not everyone was on board of publishing that paper yet (even tough the research has been going on since 1999 - theirfor LK-99)

ultimate_question ,

Science x Capitalism

ImpossibleRubiksCube ,

I don’t really see what capitalism has to do with this.

WhiskyTangoFoxtrot ,

Don’t you know? Greed was invented in the 18th century.

ImpossibleRubiksCube ,

You’ve totally lost me.

lambda ,
@lambda@programming.dev avatar

Is Korea capitalist?

CurlyChopz ,

Ever heard of “Samsung”

Axium ,

South Korea is capitalist, North Korea is socialist. People often refer to SK as just Korea either as a statement on the legitimacy of the DPRK or simply because South Korea is far more globally relevant.

MrMamiya ,

Excellent, thank you for nailing it!

cipherpunk ,

If you know what a virtual machine is, a docker container is like a virtual machine that has a curated environment for running a specific program.

To get more technical, they are distinct from VMs in that they share the host machine’s kernel, so they are not as isolated as a VM. Docker (the program used to build or deploy Docker containers) has an internal network it manages, mostly automatically, which contributes to the ease of deploying containers and having the curated environment that makes containers work out of the box on whatever host they’re deployed.

So let’s say you wanted to run a Wordle clone website. You could find a “docker-compose” file online, change the configuration parameters to your liking, tell Docker to boot it, and the application and all its dependencies will be downloaded and built into a ready-made server with Wordle, the same as it works on every other machine with Docker.

MrMamiya ,

Thanks this is great and I understand it.

clueless_stoner , in Bartan Bank Revolution: An Innovative Step Towards a Green India
@clueless_stoner@lemmy.world avatar

SPAM

mister_monster , in It always gets me

My text editor uses u and U

lrabbt ,
@lrabbt@lemmy.world avatar

Helix?

ChickenAndRice ,

vim

philm ,

Hmm pretty sure, it’s not vim, as that would be u and C-r

sip ,

idk my vim uses u U in visual.

mister_monster ,

You know it.

nothacking , in Gourmet Programmer

More like microwaving eggs with how buggy (and badly commented) chatGPT’s code is.

blastofffox , in Linux Best Practices

Let’s be involved in more such discussions so if OpenAI starts scrapping lemmy then future versions of ChatGPTs can fuck people over.

seliaste , in Linux Best Practices
@seliaste@lemmy.blahaj.zone avatar

rm -fr -nocap -slay

Reliant1087 , in It worked on my system

Ooof. I was so excited when I first saw the paper and realised how easy it was to make.

TheKarion , in Linux Best Practices

the_cleaner.sh

LOLjoeWTF , in Who is this "Jenkins" and what now has broken him?

Ah, good 'ol Jenkins. It’s on my list of software I never want to use again, twice.

One feature was really sweet though: being able to edit the Jenkinsfile script inline and run it. On the other hand, that encouraged the wild cowboy lands. Contrasted to GitHub Actions, you get to see how many commits it took to get right 🙃

countsickness ,

Nobody will see me force push to "bugfix/gitlabCI" the 10th time today...

astral_avocado ,
@astral_avocado@programming.dev avatar

What’s wrong with Jenkins? Works pretty great for automated scripts that need to run on a schedule, but I imagine you and this post specifically mean in reference to CI/CD

xedrak ,
@xedrak@kbin.social avatar

I work for a very large company which uses Jenkins for CI/CD and it’s an absolute nightmare. Granted, some of these issues may be related to how my company has it setup. I’m not in DevOps so I wouldn’t know. But these are my complaints:

  • Can have incredibly long queue times in some cases. It takes forever to spin up additional build agents to meet demand. In one case we actually had to abort a deploy because Jenkins wasn’t spinning up more build agents, and our queue times were going to put us outside of our 3 HOUR maintenance window.
  • Non-standard format for pipeline configuration files. It could just be JSON or YAML, but noooo, I have to learn something completely different that won’t transfer to other products.
  • Dated and overly complicated UI with multiple UX issues. I can view the logs in a modal from the build page, but I can’t copy from them? Fuck off Jenkins.

I’m actively pushing my team to transition to GitHub actions, because it’s just better in every single way.

astral_avocado ,
@astral_avocado@programming.dev avatar

Ah man, yeah I use it for a much more constrained and very narrow use case. We only use GitHub actions for CI/CD, it can be clunky itself in some aspects but otherwise works great.

zlatko ,

And if you have a large company and many teams, you think actions will help? (Aside from the UI issues you mention). Rebuilding the Jenkins from scratch now would probably get rid of most of your problems, but in a year is gonna be a mess. It’s similar to how it’s going to go with and CI.

Also, a good DevOps person or team will keep the Devs happy (or at least, not very unhappy) with any tool, a bad one will suck anyhow.

At least that’s my experience.

ieatpillowtags ,

The poorly documented pipeline scripting was always a nightmare for me, plus there’s two different types (declarative vs scripted) and so you have to be extra careful pulling examples from the Internet.

The build agent issue is 100% on your company not providing enough agents though. These days you can spin up agents as containers on k8s as needed.

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