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.

unreachable , in What came first, the programmer or the code?
@unreachable@lemmy.world avatar

corporates: “what plagiarism?”

quicken ,

Talk to the lawyers

phorq , in How do I install anti-virus on my shoes?

Just tie them correctly and you don’t need to worry about mal-wear.

Pons_Aelius ,

The long term problem they will face is these will need to be rebooted on a regular basis.

physcx , in Easy peasy

If a basic Wordpress on aws (no load balancers or auto scaling) is all you need… it is super easy to run on aws. Like a few clicks easy. https://aws.amazon.com/lightsail/projects/wordpress/

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

But then, why use AWS?

slazer2au ,

Because how else do you tick off Cloud presence in your business bingo?

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

A fair point.

ikidd ,
@ikidd@lemmy.world avatar

You might have too much money and wish to give a large portion of it to Jeff Bezos?

jcg ,

~ ~ scale ~ ~

Anticorp ,

Installing WordPress through a traditional Apache server shared hosting account only requires one click, and you can host as many sites as you want for like $9 per month.

cupcakezealot , in Needs consent
@cupcakezealot@lemmy.blahaj.zone avatar

sudo touch women

Good morning, Mr. Senator

MattTheProgrammer ,
@MattTheProgrammer@kbin.social avatar

Stop. Danny Masterson was not a senator :P

Potatos_are_not_friends , in Which side are you? Javascript or Typescript

I learned typescript because so many authors are using it.

I think it’s like jQuery. Learn it because you’ll have to debug someone’s code one day.

DanielCF , in The birth of JS

You just have to look at the problem from a different angle.

NegativeLookBehind , in Zero to Hero in 1 hour
@NegativeLookBehind@kbin.social avatar

Ok so just learn Kubernetes. And then realize that for it to be useful in a production environment, it needs like 10 other third party things, which you’ll also have to learn, and you’re done!

u_tamtam ,
@u_tamtam@programming.dev avatar

Rule of thumb for kubernetes, if you are learning it “for fun” or on your own, you are not gonna need it :)

alphacyberranger OP ,
@alphacyberranger@sh.itjust.works avatar

Thanks for saying that…I thought I was the only one who thought like that.

CanadaPlus ,

I just want to understand in detail what it is and how it works. Advice?

ramius345 ,
CanadaPlus ,

Thanks. So TL;DR it allows you to set up a little cloud computing service on your own physical machines, minus load balancing which you have to add on?

ramius345 ,

It can be used to scale cloud computing services as much as you want. It’s a scalable container runtime at its core. It provides a means for scaling an overlay network with service discovery and uniform ingress configuration.

u_tamtam ,
@u_tamtam@programming.dev avatar

I’ve found it best explained in some stackoverflow answer mentioning the pet vs cattle analogy. In short, if you know how many servers you have from the tip of your tongue, and what they do more or less, then they are akin to pets: you treat them well and keep an eye on each of them.
Kubernetes is meant for when you have so many of them, that come and go without you even noticing or caring, bearing a number for the sake of production/cost control, this is cattle. Needless to say that this is not your typical app/company running at such a scale, and that there is a 24/7 team of “ranchers” keeping an eye on the herd.

smik ,
@smik@discuss.tchncs.de avatar

10 is a bit exaggerating. What do you really need?

ExternalDNS is nice so you don’t have to config your DNS manually. You might need to install your own Ingress controller. If you want to automatically add and renew certificates cert-manager is great. Security is important! Speaking of, you should add some kind of secret management (something like sealed-secrets, vault or Secrets Store CSI Driver).

A really important thing is monitoring so you know your pods and the cluster itself is healthy. Prometheus is still king in that regard in my opinion. PromQL isn’t that hard. Of course some kind of alerting like AlertManager is a must for prod environments. Be aware that the front ends of those tools are not behind a login so something like oauth2-proxy and dex is vital! You might want to have some visualisation too so Grafana is a nice addition. If you add Loki too you got your OPs covered.

Keeping track of all of your stuff is the hard part so some GitOps is highly recommended. ArgoCD or FluxCD are popular for a reason!

I think that should cover the basic setup so you may scale your CRUD app without worries!

KIM_JONG ,

I think you covered at least 10 things.

ryan , in Hi Ricardo

Ricardo's just out here doing his best. Good job, Ricardo. Your notification test was successful.

jet , in Not Mine; Enjoy

What is internet layer?

rockSlayer , (edited )

It’s been a few years since my networking course, but I believe it refers to DNS it refers to stuff like IP addresses. DNS is related to the Internet layer, but it’s not correct to call it the Internet layer

PoolloverNathan ,

It’s the Internet Protocol packets that hold the TCP segments and UDP packets.

rockSlayer ,

Yep now I remember. You’re right, it’s the IP addresses. DNS just maps those addresses to URLs

Aceticon ,

DNS is an application layer on top of the Internet layer that lets you have host names (i.e. “www.google.com”) towards the user side instead of IP addresses (i.e. 127.0.0.1).

However the internet layer only understands IP addresses so any application that is using hostnames internally and for displaying to the user has to translate them into IP addresses (using DNS) as it has to use those for the internet layer to know which hosts it wants to talk to.

URLs are yet something else: they’re a text format for encoding protocol, host if applicable (in name or in IP address), IP port if applicable and protocol specific stuff (i.e. the page address on a website) to form an application level “address”, which is more than just the host address (as that’s only a machine on the network, not a service hanging from an IP port on that machine waiting for requests).

People are so used to web URLs that they often don’t know URLs can encode more than just pages in what they think as “normal” web addresses (such as www.google.com and www.google.com) and can actually support the same protocol in a different port (www.google.com:8080 - note that this one probably doesn’t work because google just uses the default port for HTTP which is 80 and doesn’t have an HTTP server running in 8080), host identification by IP address instead of hostname (i.e. 127.0.0.1) and even different protocols (i.e. ftp://127.0.0.1).

thisisnotgoingwell ,

This meme is kind of wrong though, because it’s mixing the OSI model with the TCP/IP model, which are different representations of the same thing, but in either model the “link layer”, ie layer 2 switching would never hand over to the “internet” layer without going through network first. So if you’re confused, it’s because it’s wrong.

Application, transport, session, transport, network, data, physical (OSI) Application, transport, internet, network (TCP/IP)

rockSlayer ,

Appreciate it! Yea something seemed off about the meme in general, but I couldn’t put my finger on it

Grabthar ,

First mention of Transport should be Presentation for OSI. All People Seem To Need DP. Dr. Pepper? Data Processing? Remember it as you will.

rtxn ,

The internet layer of the TCP/IP network stack is where the packets are routed between hosts. It operates between devices that have their own logical (IP) addresses, such as computers, routers, modems, or network bridges. It is the layer where the packet finds its way from the sender to the destination. Its most common protocols are IPv4, IPv6, and ICMP.

igorlogius , in using gpu with linux experience
@igorlogius@lemmy.world avatar
UnshavedYak ,

Might be true, honestly. I'm on NixOS using the proprietary drivers for my 3080 and 4090. No issues, took one line of configuration. I do have to stay on X11 unfortunately until Wayland supports the real drivers at least (though i hear that's being worked on, maybe already working?).

For all of NixOS' pain, it really does make some things awesome and simple.

igorlogius ,
@igorlogius@lemmy.world avatar

totally agree

saltdream , in The legend

Somewhere underneath all of those cables is a rack running business critical infrastructure!

smashboy ,

The box that holds the internet!

MagicShel ,

Pictured: an elder of the internet.

MajorHavoc ,

“The Elders of the Internet…?!

Know my name?!”

dattas ,

Actually he was helping decommission that datacenter as the company was consolidating in another location. This was near the end of the decommission. My buddy worked as a datacenter tech under this guy with one other on the team and all 3 of them got pictures with this. This is the only one that went viral as far as I’ve seen though.

Blamemeta , in Pick a side Javascript

Simple. Malformed data from.a bad actor. Always sanity check your shit.

synae , in Who is this "Jenkins" and what now has broken him?
@synae@lemmy.sdf.org avatar

Allow me to blow your mind: my Jenkins build calls build.sh because I’m not a fuckin idiot

koper , in Order

The real question is do you encrypt-and-sign or sign-and-encrypt?

Eufalconimorph ,

Encrypt then sign. Always authenticate before any other operations like decryption. Don’t violate the cryptographic doom principle.

tvbusy ,

Encrypt then sign. Verification is often much faster than (or at worst as fast as) decryption. Signature can also be verified without decryption key, making it possible to verify the data along the way.

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

rm -rf * stands for read mail really fast, and the * addresses all mails.

Untitled_Pribor ,

Remember to cd / before you use the command to address all of the emails

Sal ,
@Sal@mander.xyz avatar

I wiped all my data from a supercomputer by trying to ‘cd’ into a folder but making a typo and then running rm -rvf * from my home directory.

At least they kept backups… The system administrators were probably amused about who gets access

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