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.

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?

Overtheveloper , in python < shell (for scripts)

Obligatory relevant xkcd xkcd.com/1205/

elbarto777 , in web development

I’d switch them.

8ender ,

Yeah front end is a wasteland

Von_Broheim ,

In culinary terms a back end is usually a pasta bake that’s undercooked in the middle but burnt on the edges. Front end is usually a pasta bake smoothie in a nice looking cup with an umbrella.

taiyang , in Just a dad helping out

My dad does this, and I made a few bucks thanks to WordPress. Really, more thanks to Elementor because you can make a pretty snazzy website for cheap and the layman has no it took 2 hours to put together with templates. Lol

captain_aggravated , in The team that pushed yesterday's Crowdstrike update has been identified.
@captain_aggravated@sh.itjust.works avatar

There’s a spiritual successor to Hackers that I’d like to see, and here’s the way you generate the script for it:

It’s a parody of a heist film. It has to be built like a comedy because the protagonists are going to be employees of a penetration testing company who are hired to do a physical security exercise on a big bank or a tech firm or something. There’s no stakes because if they get caught they’re just going to say “Yeah you caught me, here’s my letter, call this manager and we’ll go from there” so it’s got to be kind of farcical. To fill out the details of the script, get Deviant Ollam and Jayson Street together over whiskey and hire a stenographer to take notes.

xthexder ,
@xthexder@l.sw0.com avatar

It can start out a little like Office Space, doing all the standard tricks like walking in the front door with your arms full and in a hurry. And it always works. Until they hit the final boss: an IT security worker who has built an impenetrable fortress inside the company. Then it turns into Mission Impossible.

captain_aggravated ,
@captain_aggravated@sh.itjust.works avatar

I’m thinking of a story Deviant Ollam told where he was outside in the parking lot doing tricks distracting security while his team wrecked ass inside.

Zier , in The team that pushed yesterday's Crowdstrike update has been identified.
@Zier@fedia.io avatar

"Its in that place where I put that thing that time."

FryHyde ,

This is the first line I think of whenever anyone mentions this movie.

Zier ,
@Zier@fedia.io avatar

Agreed!

Solemarc , in Malware As A Service

Maybe this is a case of hindsight being 20/20 but wouldn’t they have caught this if they tried pushing the file to a test machine first?

tabularasa ,

It’s not hindsight, it’s common sense. It’s gross negligence on CS’s part 100%

JackbyDev ,

Well, it is hindsight 20/20… But also, it’s a lesson many people have already learned. There’s a reason people use canary deployments lol. Learning from other people’s failures is important. So I agree, they should’ve seen the possibility.

Gsus4 ,
@Gsus4@programming.dev avatar

I saw one rumor where they uploaded a gibberish file for some reason. In another, there was a Windows update that shipped just before they uploaded their well-tested update. The first is easy to avoid with a checksum. The second…I’m not sure…maybe only allow the installation if the windows update versions match (checksum again) :D

dariusj18 ,

Windows has beta channels for their updates

undu ,

It’s a sequence of problems that lead to this:

  • The kernel driver should have parsed the update, or at a minimum it should have validated a signature, before trying to load it.
  • There should not have been a mechanism to bypass Microsoft’s certification.
  • Microsoft should never have certified and signed a kernel driver that loads code without any kind signature verification, probably not at all.

Many people say Microsoft are not at fault here, but I believe they share the blame, they are responsible when they actually certify the kernel drivers that get shipped to customers.

bleistift2 , in Read only friday

I had two deployments today and then left for an early weekend.

Readonly friday is for pussies.

quicksand ,

I hope this reference never dies

big_slap , in Read only friday

the pain today is real for my IT buddies

lurch , in OneDrive deleted my files!

wth are you windows people doing? isn’t this just supposed to be some cloud storage?

Hawke ,

It’s roaming profiles plus folder redirection plus offline files.

Among the three it’s guaranteed to be 100% fucked.

JackbyDev OP ,

This might be more of a norm that I realized. It seems like Mac does this too with iCloud but hides it better. cd ~/Desktop on Mac doesn’t give a big error despite it actually being stored somewhere else. (Also it seems to have more sensible “on demand” settings, or at least explains them better.) I was expecting something more like right click some folders or add them in a menu and they begin getting synced (similar to DropBox).

muntedcrocodile , in Implementing RFC 3339 shouldn't really be that hard...
@muntedcrocodile@lemm.ee avatar

Unix timestamp or death.

carrylex OP ,
@carrylex@lemmy.world avatar

Well if it’s a 32bit timestamp you’re screwed after 19 January 2038 (at 03:14:07 UTC)

el_abuelo ,

Maybe they’re planning on dying before then? In which case they’re fine.

PlexSheep ,

I don’t think modern systems use 32bit stamps anymore, the ones that do are built to fail

vox ,
@vox@sopuli.xyz avatar

i don’t think json is guaranteed to parse 64 ints by spec tho, unless you store them as strings

MonkderVierte , in Average CSS
Peter_Arbeitsloser ,

Isn’t cascading styles the whole point of Cascading Style Sheets?

_stranger_ ,

You absolute fool. You must never utter its full name, lest you summon its wrath!

wizzor ,

I don’t get it, isn’t this a pretty normal way of using media queries. Granted you’re more likely to see the widths defined in px.

ByteOnBikes ,

Shhh… The poster doesn’t understand CSS and we shouldn’t embarrass them in a community with memes

wizzor ,

My imposter syndrome kicked in full swing. I was ready to learn a CSS best practice and feel uncomfortable about it for the rest off the day.

MonkderVierte ,

Nowadays we do responsive webdesign instead of micromanaging widths.

usernamefactory ,

This is technically responsive, but I think you have a fair criticism. A single rule like this would be much more maintainable:


<span style="color:#323232;">#content .grid-container {
</span><span style="color:#323232;">	width: 90vw;
</span><span style="color:#323232;">	min-width: 12rem;
</span><span style="color:#323232;">	max-width: 75rem;
</span><span style="color:#323232;">	padding: 2rem 0 1rem;
</span><span style="color:#323232;">}
</span>

Obviously, media rules have their place, but not for something that’s consistantly a full width container like this seems to be.

aeronmelon , in Average CSS

“Some coders just want to watch the word burn get colored white and/or lime.”

And if you delete one or the other, or condense the code into a single command, the whole site breaks.

snaggen , in How programmers comment their code
@snaggen@programming.dev avatar

Comment about image

Fargeol ,

answer: the answer

const ,
@const@sh.itjust.works avatar

Reply about comment about image

jaybone , in "Working with Gen AI" by Dandytoon

It’s almost like working with shitty engineers.

Knock_Knock_Lemmy_In ,

Shitty engineers that can do grunt work, don’t complain, don’t get distracted and are great at doing 90% of the documentation.

But yes. Still shitty engineers.

Great management consultants though.

Anticorp ,

I give instructions to AI like I would to a brand new junior programmer, and it gives me back code that’s usually better than a brand new junior programmer. It still needs tweaking, but it saves me a lot of time. The drawback is that coding knowledge atrophy occurs pretty rapidly, and I’m worried that I’m going to forget how to write code without the AI. I guess that I don’t really need to worry about that, since I doubt AI is going anywhere anytime soon.

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