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

cranakis , to science_memes in Well fancy that

That’s that hypothosizzle.

mercano , to asklemmy in what's your favorite thing to put on fries that isn't ketchup?
@mercano@lemmy.world avatar

Barbecue sauce

tilefan OP ,
@tilefan@lemm.ee avatar

Sweet Baby Ray’s in combination with ketchup is mint

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

Not really, no. Like, you arent going to realistically be able to counteract the pollution going on in your area if the pollution is not already very low. You’re not going to be able to change the weather other than slightly lowering temperatures in the shade. But depending on the climate of the area you might also massively increase water usage which can damage the environment. Importing non-native species can lead to invasive takeovers and damage the environment, etc.

You can make it look different and maybe lower the temperature of the floor by adding grass or in the shade by adding trees, but whatever you do is likely going to be mostly cosmetic only, and depending on what you do could potentially end up creating more damage than doing nothing.

Wilzax , to science_memes in dopamine detox

Detoxify your habits by removing the highly dopaminergic and unproductive ones

zqwzzle , to science_memes in pixar bod

Does this also explain the Pixar mom body?

The_Che_Banana ,

ever seen a baboons ass?

SanndyTheManndy ,

Boobs evolved to mimic ass. Pixar can’t do boobs, hence they devolved back to ass.

ZILtoid1991 ,

Likely some higher exec was more concerned about breasts being sexual than butts, thus we got all the “Pixar dumpster moms”.

drail , to science_memes in LaTeX Master Race
@drail@fedia.io avatar

I did all my Quantum Field Theory homework in Latex, the professor required it. My classmates would write everything out by hand and then transcribe it, meanwhile my officemate and I could think/write/math in Latex, so we only had to write our homework once. The prof lifted the requirement halfway through the semester after everyone else complained, but I never looked back.

The only thing that prevented a 100% Latex-only semester was the goddam section where we had to draw Wick diagrams. There just wasn't a reliable way to draw them on my computer, as the Feynman diagram tools stuggled with the nuances of Wick diagrams. I still included the hand-drawn versions as figures in Latex, but it felt like cheating.

I did figure out how to write the Wick's theorem bracket notation in Latex though (not that I'll ever need to again), so that made up for it a bit. I wager that I spent more time researching obscure Latex packages than actually solving the problems that semester.

I love Latex so much, I even made a template for generating profesional looking DND item cards for my table that I submitted to overleaf:
https://www.overleaf.com/latex/templates/d-and-d-item-card-template/ndfdspmmxnrn

Fredselfish , to cooking in Fried chicken help?
@Fredselfish@lemmy.world avatar

Commenting to see what answers you get. I tried many times to make fried chicken. Only thing I can do so with success is drumsticks. Every recipe and YouTube video I followed not worked. Breast, theighs I get either crispy outside but under cook inside. To get it cooked to eatable temp always burns the breading. Don’t know what to do myself to cook perfect fried chicken but love to know.

sloppysol OP ,

Please, we need help

aniki ,

Never be afraid to finish wings in the oven, mate. The outside will hardly cook much more and you can take your time bringing the middle to temp.

solidgrue ,
@solidgrue@lemmy.world avatar

Cook to chicken through at a lower temp, then when everything is done, raise heat and flash-fry the breading to finish. I posted the technique in another top level

Electricarrot , (edited )

I let my raw chicken sit out of the fridge to come up a bit in temp. That and I’m a fan of double frying

wesker , to science_memes in hail satan
@wesker@lemmy.sdf.org avatar

He looks misunderstood.

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

theguardian.com/…/wildlife-boosted-by-englands-na…

Haven’t had a chance to read it yet, but this popped up on Lemmy recently.

You might not change the weather, but you can increase biodiversity which is still good. And you can also lower the temperature by introducing trees

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

We live in the area between the city and suburbs. Like the city is 3 or 4 blocks away but we have a yard. A few years ago we tore out our front lawn, planted just native plants, put in a lot of beds in the back yard, and way more native plants. We have ducks, bees, and now goats. I’m not sure if we’ve changed our local climate, but he have 2 families of rabbits living in our yard and more fireflies than anyone else in our immediate area.

random_character_a , to asklemmy in what's your favorite thing to put ketchup on that isn't fries?
@random_character_a@lemmy.world avatar

Macaroni casserole and hot dog

cradac , to memes in Beep-beep ba-beep, banana bus!
@cradac@feddit.org avatar

That’s some 2014 youtube meme

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.

shalafi ,

Or freeze it. And you’re spot on. Mom saved bacon grease for cooking and kept it rotated. Good tip!

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???

olafurp ,

Yeah, I 100% agree. For small projects most of the principles don’t matter as much because the complexity is just not there. For big projects you actually need to take a big ass tech debt loan to actually get things done on time and on budget.

The testing aspect I’m not as sold on either. I enjoy tests sometimes but they also come with increased development and maintenance cost. He emphasises unit tests but I’ve found that a few integration tests that use API calls to simulate a use case gets you most of the way there.

That being said I’ve seen raw HTML email string with hardcoded values in a 2000 line method that relies heavily on if statements. That one method probably breaks around 10 of his rules and I absolutely hate it. Very hard to add features to if you can imagine and incredibly noisy and hard to debug. Shouldn’t be like that but it is. I wouldn’t apply all of Bob’s rules but I would refactor it into a service with clear boundaries so I don’t have to deal with the function having “local globals” if you know what I’m getting at.

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.

prof ,
@prof@infosec.pub avatar

While he advocates for it, that’s also a point that Martin brings up multiple times when he talks about his project “fitnesse”.

Basically saying that they left it open how stuff can be saved, but the need has never arisen to actually pivot to a different system.

evatronic ,

I am literally in the middle of swapping DynamoDB for a RDBMS.

The idea that you can abstract away such fundamentally different data stores is silly. While I hate doing it now, reworking the code to use relational models properly makes for a better product later.

Tja ,

It’s literally what an orm does, and it’s good enough for 80% of apps out there. Using it for the wrong purpose is what’s silly.

evatronic , (edited )

I see. It seems like you may be one of the people that try to coerce relational models into nosql stores like Dynamo.

Or course it’s possible. They even trick you into thinking it’s a good pattern by naming things “tables”.

But if you’re using Dynamo to its fullest an ORM is not going to be able to replicate that into a relational store without some fundamental changes.

Tja ,

Hence 80%.

Most apps out there are a CRUD with a thin layer of logic.

If you are in the 20% that needs real performance, an ORM is not gonna cut it, no matter what DB you have.

olafurp ,

I’m going to suggest not using an ORM. I used three so far and it really likes to tell you what you can and can’t do when query builders can do the same thing by creating the SQL string for you. SQL is also very nice and easy (just parameterise all inputs to avoid the SQL injection)

Tja ,

In my 15 year career? Dozens. Maybe low hundreds. Depends what you work on. Oracle is not making any friends lately and a ton of companies a whole-sale migrating to Postgres, MongoDB, DynamoDB or some of the NewSQL contenders. It’s like 50% of the projects I’m involved in. Results are generally positive, with some spectacular wins (x3000 acceleration or x1000 lower costs) and a few losses.

DarkCloud ,

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

lolrightythen ,

Your long lost son, perhaps

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