social.outsourcedmath.com


Dr_Bombay mastodon (AP)
This is insane! 😵‍💫🍸 #Cocktails

Torpedo juice: The legendary, illegal WWII liquor drunk in Alaska and around the world https://www.adn.com/alaska-life/2024/12/15/torpedo-juice-the-legendary-illegal-world-war-ii-liquor-drunk-in-alaska-and-across-the-world/

CanadaPlus lemmy (AP)

Is it better to start from scratch rather than refactoring?

Refactoring gets really bad reviews, but from where I'm sitting as a hobby programmer in relative ignorance it seems like it should be easier, because you could potentially reuse a lot of code. Can someone break it down for me?

I'm thinking of a situation where the code is ugly but still legible here. I completely understand that actual reverse engineering is harder than coding on a blank slate.
This entry was edited (1 month ago)
From a professional perspective I’d say: don’t rewrite if you’re unsure about it. Rewrite if there’s a particular problem you need to solve and a rewrite is the only way to do it.

For example, you need to make major changes in the tech stack. Like switching from PHP to NodeJS. This is difficult to do without a complete rewrite.

Rewrite for the sake of rewrite is usually a waste of time, and it’s not certain that the code will turn out better in the end. You might end up with a similarly convoluted system either way. And the worst part is: now you have two systems to maintain at the same time.

Likewise, refactor if there’s a particular problem you want to solve. Don’t refactor just for the sake of refactoring. If you don’t have a clear goal, then you’re just scrambling the code around.

From a hobbyist perspective: do whatever you feel like. A complete rewrite can be a good learning experience.
CanadaPlus lemmy (AP)
Yes, do nothing is an option too, of course. When this has come up on Lemmy, it's usually because there's an identifiable issue.

Personally, I'm not really in the market to refactor anything right now, this isn't a practical question. Honestly there's plenty of FOSS that hasn't been made the first time.

Helen Branswell mastodon (AP)
California reports 2 more human cases of #H5N1 #birdflu today, people with contact with infected dairy herds. That brings to 36 the confirmed infections in the state.
#USDA reported +9 infected dairy herds today, bringing CA's total to 659. https://www.cdph.ca.gov/Programs/CID/DCDC/Pages/Bird-Flu.aspx

As Musk forces a shutdown, the Trump presidency is already collapsing into chaos https://www.washingtonpost.com/opinions/2024/12/20/trump-musk-government-shutdown/

spaf mastodon (AP)
The coffee simply isn't working in this timeline. I am giving up on warp speed and switching to impulse.
Paul_IPv6 mastodon (AP)
i sense the impulse to nap here.
Lack of caffeine naturally forces dropping out of warp speed. I will attempt a Vulcan-style mental projection of an espresso to you!

It is a beautiful day today. I hope y’all have a great weekend, but remember to push that code to prod on your way out.
And remember…

…if it works in production, it would have worked fine in test too.
gary mastodon (AP)
"Building Suricata with NG DPI" means configuring and deploying the open-source network intrusion detection system (IDS) Suricata to utilize "Next Generation Deep Packet Inspection" (NG DPI), allowing it to analyze the content of network packets beyond just headers, enabling more comprehensive threat detection by identifying malicious patterns within application data and complex protocols, providing a deeper level of network visibility compared to standard packet inspection.


MooMoo the Cat mastodon (AP)
@_L1vY_ Have you seen this?
https://www.cnbc.com/2024/12/20/biden-forgives-4point28-billion-in-student-debt-for-54900-pslf-borrowers.html?__source=bluesky|main

taz mastodon (AP)
Der Rückschritt im Unions-Wahlprogramm schreit einen geradezu an. Trotzdem wollen es viele Menschen offenbar genau so. https://taz.de/!6052786
Carmen Zedler reshared this.

The literal worst parts of Snow Crash are coming true in slow motion.
Estarriol, WU Dragon mastodon (AP)
can I have the bike with sidecar?????
@Thebratdragon I figure that's gonna be one of Putin's kids.
Estarriol, WU Dragon reshared this.
Passenger mastodon (AP)
@Thebratdragon
Sidecars are sci-fi. Everyone knows they don't exist. You'll have to carry your nuclear weapons in a backpack.
Estarriol, WU Dragon mastodon (AP)
@passenger damn I was trying to avoid that.




Harry Göhde diaspora

Frosch Ikosidodekaeder / Frog Icosidodecahedron


Blender Animation #ArtAdventCalendar 18 Dezember 2024

Ein von innen beleuchteter, sich drehender Ikosidodekaeder dessen Dreiecke gelöscht sind und auf jedem der 12 Fünfecke ein Froschfoto zu sehen ist.
An internally illuminated, rotating icosidodecahedron whose triangles are erased and on each of the 12 pentagons a frog photo can be seen.

mastodon: Frosch Ikosidodekaeder / Frog Icosidodecahedron

#digital #animationen #tiere #frösche #natur #blender #3d #animation #video #animations #animals #frogs #nature #foto #fotografie #photo #photography #frogmas

Tom Grzybow diaspora

Pentagon Admits Number of US Troops in Syria Much Higher Than Previously Disclosed


https://www.commondreams.org/news/pentagon-2000-troops-syria

I ask: Why should we ever believe them?


Hands up if you’re already finished at work. Or are having till work right through Tuesday afternoon?
Clare mastodon (AP)
life hack for an early Christmas break: I’ve been sick since Tuesday.
Tilda Moose mastodon (AP)
Fortunately I'm a part time contractor on flexible hours due to illness & uncertain workload, and our section ended with a pretty empty job list this week, so got the option to go in on Mon or Tue and sharpen some biros, etc. But will probably opt for as much keeping still and quiet as possible.

Peace and joy to you and yours!


Lisa Stranger diaspora
I'd bet some GQP legislators are taking notes

Russian lawmakers approve new bill expanding the definition of high treason


The amendments approved by the lower house, the State Duma, in second and third readings expand the definition of high treason to include affiliation with any organization involved in “activities against security of the Russian Federation.”

The current legislation has a more narrow interpretation of “turning to the enemy side,” defining it as joining the enemy's armed forces.

https://www.yahoo.com/news/russian-lawmakers-approve-bill-expanding-153600600.html

Stefan Bohacek mastodon (AP)
Ah, not a comic book buff myself, but will celebrate that on this day in 1940, the first issue of Captain America Comics was published, with this iconic cover.

"When the first issue came out we got a lot of ... threatening letters and hate mail. Some people really opposed what Cap stood for."

https://en.wikipedia.org/wiki/Captain_America_Comics

#CaptainAmerica #CaptainAmericaComics #comics #marvel #nazis #PunchNazis #OnThisDay #OTD
A cover of the first Captain America comic book.

The title of the comics appears on top in large yellow angular letters. The scene depicts the titular hero punching Adolf Hitler.

Captain America is wearing a brightly colored superhero costume that consists of a blue shirt with a large start across the chest and vertical red and white stripes below it, and is also wearing red gloves, a blue mask covering the top half of his face, with little wings attached to the side of the mask. He is also holding a shield for protection.

Hitler is wearing a brown Nazi uniform, and looks visibly in pain. Good.

There is a small crowd of Nazi soldiers looking on helplessly. One of them is attempting to shoot at Captain America, but the bullet hits the shield he's carrying.
This entry was edited (1 month ago)

Europe Says mastodon (AP)
https://www.europesays.com/1703747/ We’re Burning More Coal Than Ever Thanks to China #Environment
We’re Burning More Coal Than Ever Thanks to China


Harry Göhde diaspora

Incredible Broadside Brass Bed Band

The Great Grizzly Bear Hunt


#IncredibleBroadsideBrassBedBand #rock #bluesrock #70s #music #frogmas

Bullfrog Blues


Lisa Stranger diaspora
oh wait—almost 2/3 of the party just slapped Jamie Raskin in the face

Tea-Partying these fuckers is starting to look like the way

AOC played the inside game - and insiders rejected it (for now)


The vote wasn’t even close, with Connolly winning 131 votes to Ocasio-Cortez’s 84 votes.

https://www.yahoo.com/news/aoc-played-inside-game-insiders-230038324.html
Lisa Stranger diaspora
Tim Burchett, the conservative Republican from Tennessee who struck up an unlikely friendship with Ocasio-Cortez, said Democrats made a mistake.

“I'm happy for us, because the Democrats don't realize that in their youth circle, she is a rock star,” he said.
Lisa Stranger diaspora
Older Democrats were quick to downplay Ocasio-Cortez’s loss. South Carolina’s James Clyburn, the former House majority whip who helped make Biden president, called the race between Ocasio-Cortez and Connolly “just a regular intramural contest,” adding that these fights were based on “personalities.” Debbie Dingell of Michigan said she has a “long future” ahead of her.

the gerontocracy telling her to wait her turn

I feel like I've seen this one before...
DP0 mastodon (AP)
I love that. It's surreal but also fascinating and entertaining. It's as if Lex Luthor and Max Shreck suddenly decide to attack one another ...

Andrew Zonenberg mastodon (AP)
Is there a name for the phenomenon where you put hot chocolate powder in hot water and the surface of the powder forms a sticky goo that encapsulates a blob of dry powder, inhibiting further dissolution?

it's similar at a high level to the Leidenfrost effect (surface behavior preventing the bulk material from interacting with the surrounding fluid) but completely different physics.
Joel Michael mastodon (AP)
I don’t know what it’s called but it definitely exists
Kit Bashir mastodon (AP)
@jpm well it’s the Zonenberg Effect, now.

Qasim Rashid, Esq. mastodon (AP)
South Carolina's proposed Bill H3537 would allow the state to execute women who get an abortion.

My article below has exceeded 100K reads—& it includes the direct numbers of the 6 MAGAs who co-sponsored the bill—so I'm hoping that means they've received thousands of calls already.

Please make it 200K reads, and call them & let them know how you feel about their barbaric legislation:
https://www.qasimrashid.com/p/s-carolina-intros-bill-to-execute
2 people reshared this
Noortje Van Leeuwen mastodon (AP)
so...let me...get this straight...the."pro life" cult...wants to murder women, who only as much as seek abortion?...

Bet they force her to.give birth first....
MsMerope mastodon (AP)
maybe we should start a go fund me so all the women in stupid carolina can afford to leave.

Europe Says mastodon (AP)
https://www.europesays.com/1703744/ ‘Fundamental constitutional right’: Why Montana’s Supreme Court upheld landmark climate ruling and agreed that state must provide a ‘clean and healthful’ environment for residents… #Climate
'Fundamental constitutional right': Why Montana's Supreme Court upheld landmark climate ruling and agreed that state must provide a 'clean and healthful' environment for residents...


CHM remembers Fellow Don Bitzer, a computer pioneer who co-invented the flat-panel plasma display and was called the "father of PLATO.” https://computerhistory.org/blog/in-memoriam-donald-bitzer-1934-2024/


Radio Free Trumpistan friendica (via Diaspora)
Library Kitteh sorts all ur book cards
Cat Every Hour - 2024-12-20 18:00:05 GMT
✨ c a t ✨ #Cats #MastoCats #catsofmastodon
9033123
Susan ✶✶✶✶ reshared this.



https://j-drawer.blogspot.com/2024/11/weekly-lock-jammin-knockout-111624-14.html

#lockjamminknockout #sfw

JoYo 🇺🇸 mastodon (AP)
I've got a stakeholder that is adamant that #rust is a mistake and I should just write better C.

does anyone have any articles that summarize the risks of sticking with C89? I have one but I want to make this exhaustive.
#rust

Tom Grzybow diaspora

Israeli Troops Tell of Indiscriminate Murder of Civilians in Gaza 'Kill Zone'


https://www.commondreams.org/news/haaretz-israel-war-crimes

Nicola Griffith mastodon (AP)
H5N1 is widespread in the animal world, infecting cows and poultry, killing cougars and cats, decimating terns and seals. It's human flu season. Reassortment is beginning to look less and less unavoidable.

http://nicolagriffith.com/2024/12/20/h5n1-dangerous-reassortment-growing-more-likely/

lee hometown (AP)
a flatworm captioned with let the soft animal of your body love what it loves is this anything
Leah Bobet mastodon (AP)
I confess I made this before today. >.>
Animal from the Muppet Show, behind his drum set, captioned with "No have to be good, no have to walk on your knees hundred miles through desert repenting."

Steve Fox mastodon (AP)
Louisiana forbids public health workers from promoting COVID, flu and mpox shots,

Next will be toothbrushes.

https://www.npr.org/sections/shots-health-news/2024/12/20/nx-s1-5223440/louisiana-ban-public-health-promoting-covid-flu-mpox-vaccines-landry-rfk-jr-anti-vaccine
This entry was edited (1 month ago)

emptywheel unkn (AP)
Really, this @mattglassman312.bsky.social piece is so useful. I described how 10 or so "terrorists" (*mostly* speaking metaphorically) in the House GOP means whoever has a gavel next month doesn't have a majority. This is more polite--w/PTA analogies!mattglassman.substack.com/p/welcome-to...
In practice, it could still be a total train wreck, and almost certainly will be at least a slog. For one, the margins are going to be so narrow in the House in January that even if you literally get 99% of the conference to fall in line no questions asked, any one asshole and his friend can still derail you. By April it will be one asshole and her two buddies. And in the House of Representatives—just like at the PTA meeting—there’s always at least one asshole.

One problem is everyone has gotten a taste in the 118th of how easy it is to wield the balance of power, at least if your goal is to blow shit up and pick fights with the leadership. The HFC crowd didn’t accomplish anything from a policy/substantive point of view; heck, the main policy result of their temper-tantrums was that a whole variety of bills moved to the left. But the reconciliation bills aren’t moving to the left, they’re either happening or they aren’t. And a lot of people might start wondering if blowing shit up could actually be a path to moving stuff their direction. And a fair amount of people in the House GOP have a basic political outlook that blowing shit up is good.

House Republicans to move forward with Plan C to fund the government


But several hurdles remain to avert a government shutdown ahead of a Friday midnight deadline.

#news #npr #publicradio #usa
posted by pod_feeder_v2
newer older

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.