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.

kbin.life

bionicjoey , to asklemmy in what's your favorite thing to put ketchup on that isn't fries?

Kraft Dinner 🇨🇦

sloppysol OP , to cooking in Fried chicken help?

I’m at the grocery store please

explodes ,

Canola oil works. Peanut oil tastes better but costs a bit more.

You’ll want flour for American style. Corn starch for Korean style.

explodes ,

Let me find some of my favorite recipes

explodes ,

American: www.bigoven.com/recipe/…/220278?utm_medium=yummly…This one looks close to the recipe I go with, except it has onions.

Korean: www.jocooks.com/recipes/korean-fried-chicken/?utm…Basically it’s fried chicken that gets covered in a delicious sauce. Buying the ingredients for the first time could add up, but once you have them you can make fried chicken at the drop of a hat

explodes ,

Note you can also filter the oil into a jar when you’re done so that you can reuse the oil.

Tips: write the type of protein you used the oil for, type of oil, first use date, and number of uses. Should be good for a couple weeks. Store in a cool dark room.

Magister , to programmerhumor in Popular Programming Book "Clean Code" is being rewritten
@Magister@lemmy.world avatar

I’m a programmer since the 80s, who is this guy?

eager_eagle ,
@eager_eagle@lemmy.world avatar

he’s a programmer since the 70s

Robert C. Martin

WanderingVentra ,

Wrote a couple famous books about Clean Code, Architecture, Test Driven Development, OOP, and Agile.

olafurp , (edited )

He wrote for example the books Clean Code and Clean Architecture which are IMO opinion really good books although I don’t agree with every point he makes.

Some really good points he makes are for example:

  • Functions that only do one job
  • Testing makes refactoring easier
  • The standard SOLID OOP stuff.
  • Tech debt is bad
  • Abstraction and encapsulation is good and allows developers to interact with the code on a higher level in terms of actions instead of writing verbose stuff. Essentially saying less code leads to less bugs
  • Insulate yourself from change
  • Duplication is bad
  • Two use cases that are very similar is not duplication and common code shouldn’t be factored out.
  • Don’t mix high level code with low level.
  • Build solid Entity classes to model the data and their interactions.
  • Don’t write multithreaded code if you don’t have to.
  • If you have to do your best to write it so they don’t share memory.

Those comes with examples. He’s a tad bit overly idealistic in my opinion. These books fail to mention a couple of things:

  • Refactoring is expensive and the cost is often not justified.
  • Premature abstraction is the absolute devil
  • You don’t need to insulate from things that are very unlikely to change (like going from SQL to Document DB)
  • Less changes also lead to less bugs.
  • Too much emphasis on functions being few lines of code instead of just being simple.

All in all though, very solid books. I read Clean Code in university and Clean Architecture in my first job and it really helped me wrap my head around different ways to solve the same problem. Excellent ideas but it’s not the holy truth. The only reason I remember all of these points is that I encountered all of them on the job and saw the benefit.

In my opinion new programmers should read it and take inspiration. Craftsman level developers should criticise and maybe pick up a few brain concepts to sort some concepts out in their brain. Experts will get little benefit though.

marlowe221 ,

I generally agree with the idea that code should be as simple as it can be to accomplish the goal of the code… I just haven’t been convinced that Clean Code is the way to get there, necessarily. The book does contain some good advice , to be sure, but I wouldn’t call it universal by any means.

I also think TDD is a very optimistic strategy that just doesn’t match up with reality terribly often.

Actually, I think that’s what confuses me the most about all of Uncle Bob’s books. I’ve read a couple of them and thought, “All this sounds great but real world development just doesn’t seem to work that way.” Like, all of his advice is for best case scenarios that I certainly haven’t encountered in my career.

I say confusing, because surely he’s been in the profession long enough to have seen the disconnect between what he’s preaching and real life, right???

Waldowal ,
@Waldowal@lemmy.world avatar

The consultancy I used to work for in the late 90s would have crucified any developer that didn’t write “a data abstraction layer that allows you to pop off the original db and substitute a different one later”.

How many times in my 25 year career have I swapped out the database (and been thankful for such an abstraction layer)? 0 times.

DarkCloud ,

There’s a multi-part talk on YouTube if you want to hear all about it.

watson387 , to asklemmy in what's your favorite thing to put on fries that isn't ketchup?
@watson387@sopuli.xyz avatar

Mayonnaise. Fight me.

Wxnzxn ,
@Wxnzxn@lemmy.ml avatar

Mayo + Ketchup combined, the classic “Rot-Weis”-combo in Germany.

That or, preferrably, mayo + a good chilli sauce

treadful , to nostupidquestions in Can you "change" the environment in your "local" area?
@treadful@lemmy.zip avatar

Most of that would have a cooling effect. Reducing the heat island effect of just concrete or even a grass field. Could change the humidity a bit with a pond and trees, but the effects will be minimal.

argentcorvid , to cooking in Fried chicken help?
@argentcorvid@midwest.social avatar

I just did some drumsticks last night.

before you start, make sure you have a tin can or glass jar for oil disposal.

soak your meat in buttermilk for several hours. shake with heavily seasoned flour. <- this is where your “recipe” will come in. Salt, pepper, whatever kind of herb mix you like. allow to rest for a while so the flour sticks. preheat oven to 350°F in a large frypan put in enough oil for about an inch of depth. don’t use olive oil. vegetable oil is fine, others will give a different taste. other common ones are peanut oil and crisco shortening. heat the oil over medium-high until it is around 375°F fry chicken in batches until brown. turning pieces after 3 or 4 minutes when the pieces are brown all over, put each on a rack over a sheet pan (or just a sheet pan with foil or parchment paper) bake chicken until done to 165°F, maybe 20 minutes

you can also do “oven-fried” which isn’t quite the same, but gives good results without the mess of the oil.

Shawdow194 , to asklemmy in what's your favorite thing to put ketchup on that isn't fries?
@Shawdow194@kbin.run avatar

Uh oh...

Goldfish

marcos , to nostupidquestions in Why do I need to update my graphics drivers?

My guess is that your OS changed.

But I wouldn’t put some GPU manufacturers breaking your hardware on purpose completely out of the picture.

HairyHarry , to nostupidquestions in Why do I need to update my graphics drivers?

OS updates can do this.

totallynotaspy ,
@totallynotaspy@fedia.io avatar

^This. I can tell every time my pc updates by the fact that nothing ever works correctly anymore.

Literally just downloaded video drivers yesterday due to this, and I have the vast majority of auto updates turned off for windows.... Every update moves me closer to switching Os entirely.

Hawke ,

Every update moves me closer to switching Os entirely.

Dooo eeeet.

Confused_Emus ,

One of us! One of us! Gooble gobble! Gooble gobble! One of us!

subignition ,
@subignition@fedia.io avatar

You can pause Windows update for a little over a month at a time so that you're not surprised by any automatic restarts, FYI

Tywele ,

In all my life I’ve never had a surprise restart in Windows.

subignition ,
@subignition@fedia.io avatar

Congratulations, maybe you're already using my trick then. Not sure what your comment was meant to add.

From Windows 10 on, the default is to automatically restart when you're not using it, which can be annoying if you've got a complex workspace going and then everything gets closed overnight

tunetardis , to nostupidquestions in Can you "change" the environment in your "local" area?

I think with 50 acres, you should be able to do a lot to combat the urban heat island effect. I say this based on my bike commute which alternates between suburban subdivisions and trails over conservation land. The trails always feel noticeably cooler, even where there are no trees casting shade. The coolest spots do tend to be where have trees and/or water nearby, but even open fields feel cooler.

Phenomephrene , to asklemmy in what's your favorite thing to put ketchup on that isn't fries?
@Phenomephrene@thebrainbin.org avatar

Corn dogs for sure. Fuckin' love me some corn dogs with ketchup.

SomeAmateur , to nostupidquestions in Can you "change" the environment in your "local" area?

I beats a parking lot that’s for sure. Micro climate would improve. It could bring more shade, better water retention and more types of bugs and wildlife than the places around you.

As for big picture, not so much but every bit counts. Like light pollution for example. If property owners turned off or shielded one outdoor light the night sky would be a lot cooler to a lot more people. It’s a collective effort and it needs to start somewhere

4lan , to showerthoughts in When Harris had to pick a VP, all media kinda agreed it should be a white male, to balance the fact that she is black and a woman. So Walz is the DEI hire.

there are no black people, or white people. just shades of brown from light brown to dark brown.

I can’t believe we still use that antiquated differentiator. there can be both “white” and “black” people in the same ethnic group so it’s means next to nothing

Moneo ,

Missing the forest for the trees or whatever. It’s not about skin colour but how society perceives and treats you. If Kamala isn’t black then why is she being called a DEI hire when Hilary Clinton never was?

piccolo ,

Only a certain group called her a DEI hire… and only because they cant say what they reallly mean without massive backlash…

Moneo ,

My point is that society perceives her as a black women. Saying shit like “there are no black people” is moronic in a society that values and scrutinizes race as much as ours does.

KillingTimeItself ,

because DEI literally didnt exist in 2016 to the same level it does now?

Lost_My_Mind ,

I don’t know about being called a DEI hire, but I DO remember Hillary being called the worst possible option. I DON’T recall anyone calling Harris the worst possible option. Oddly enough in 2024, that would be Biden.

ytg ,

Right, but it’s a social construct. In the US, “race” is really important, societally. In other parts of the world, it is nearly meaningless. Since I don’t live in a country which has me specify race on various forms, I don’t usually identify with any one…

nomous ,

That race is nearly meaningless in the rest of the world seems like a very sheltered and privileged viewpoint. There are riots in the UK regarding race and propaganda/misinformation. I’m guessing you live in a fairly homogeneous country if race/ethic background is never specified on various forms.

aniki , to cooking in Fried chicken help?

brine chicken breast in buttermilk,

bread with flour,

then beaten egg,

then panko,

put in 350f oil,

take out when brown,

if not at 165f, finish in the oven.

no recipe. needed fam.

If you’re using chicken breast, I recommend tenderizing it with a meat mallet so the breast isn’t thicker than a half inch. These cook stupid quick and always come out perfect. I make em now out of seitan but they taste close enough for me and i can fool people if its in a sandwich.

Nougat , to science_memes in penetration tests
GammaGames ,

😔

justme ,

So practically no integration with any human being?!

Nougat ,

You're goddamned right.

bitfucker ,

You mean interaction right? …right?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines