[-] steventhedev@lemmy.world -4 points 4 days ago

The anti-Israel crowd are basically the MTG and Boeberts of the Democratic party. Right on down to outlandish claims about crisis actors

15

The last post that was federated to LW is from three days ago, and I can't see the community at all via https://programming.dev/c/programmer_humor

[-] steventhedev@lemmy.world 67 points 3 weeks ago

Ew no.

Abusing language features like this (boolean expression short circuit) just makes it harder for other people to come and maintain your code.

The function does have opportunity for improvement by checking one thing at a time. This flattens the ifs and changes them into proper sentry clauses. It also opens the door to encapsulating their logic and refactoring this function into a proper validator that can return all the reasons a user is invalid.

Good code is not "elegant" code. It's code that is simple and unsurprising and can be easily understood by a hungover fresh graduate new hire.

17
submitted 4 weeks ago* (last edited 4 weeks ago) by steventhedev@lemmy.world to c/news@lemmy.world

The Israeli military said on Thursday that it is investigating the possibility that it has killed Hamas leader Yahya Sinwar, one of the masterminds of the devastating Oct. 7, 2023 attack on Israel that triggered the Gaza war.

At this stage, his identity cannot be confirmed, said the military.

Hamas has not commented on the fate of Sinwar, who was recently elevated to paramount leader of the Palestinian militant group.

110

Hezbollah’s deputy leader Naim Kassem said Sunday that his group is now in an open-ended battle with Israel and he threatened more displacement for people in Israel’s north.

[-] steventhedev@lemmy.world 43 points 1 month ago

I have either written or gotten a variant of every single one of these comments 🫠:

Please include the JIRA task in the commit title.

Did you run any manual testing?

Where's the PRD link in the commit message?

Can you please split this into multiple smaller commits?

Can you combine these two commits?

Did you email Jon about this because he's working on that project with Sarah and you might be duplicating efforts.

This should be named BarFoo instead of FooBar.

Why aren't you using CorporateInternalLib16 that does 90% of this?

Why aren't you using ThirdPartyPaidLibByExEmployee?

Why aren't you using StandardLib thing you forgot existed?

All our I/O should be async.

All our hot loop code needs to be sync.

This will increase latency of NonCoreBusinessFlow by 0.01%. can you shave some time off so we can push in feature B also?

Please add a feature flag so we can do gradual rollout.

What operational levers does this have?

Lgtm - just address those comments

121
submitted 2 months ago by steventhedev@lemmy.world to c/news@lemmy.world

The family of Israeli-American hostage Hersh Goldberg-Polin announced the young man’s death early Sunday, ending a relentless campaign by his parents to rescue him that included meetings with world leaders and an address to the Democratic convention last month.

Goldberg-Polin, 23, was seized by militants at a music festival in southern Israel on Oct. 7. The native of Berkeley, California, lost part of his left arm to a grenade in the attack. In April, a Hamas-issued video showed him, his left hand missing and clearly speaking under duress, sparking new protests in Israel urging the government to do more to secure his and others’ freedom.

-6
submitted 2 months ago by steventhedev@lemmy.world to c/world@lemmy.world

103 of the 251 hostages abducted by Hamas on October 7 remain in Gaza, including the bodies of 33 confirmed dead by the IDF.

Hamas is also holding two Israeli civilians who entered the Strip in 2014 and 2015, as well as the bodies of two IDF soldiers who were killed in 2014.

53
submitted 2 months ago by steventhedev@lemmy.world to c/news@lemmy.world

The game was first suspended due to weather on June 26th, and Danny Jansen was traded back in July. The game resumed on August 26th - with him now playing for the other team.

20
submitted 2 months ago by steventhedev@lemmy.world to c/world@lemmy.world

The 52-year-old is from Israel’s Arab Bedouin minority and was working as a guard at a packing factory in Kibbutz Magen, one of several farming communities that were attacked on Oct. 7.

52
submitted 2 months ago by steventhedev@lemmy.world to c/world@lemmy.world

Hezbollah has launched 320 rockets at Israel in the last two hours, alongside at least dozens of drones, but no exact number on the drones. Those numbers are based on a single source, so please take the number with a grain of salt - this source is generally correct, but it is a single source publishing those numbers.

2 injured so far, and extensive damage to civilian homes and infrastructure.

50
submitted 2 months ago by steventhedev@lemmy.world to c/news@lemmy.world

The same Iranian hacking group believed to have targeted both the Democratic and Republican presidential campaigns tried to go after the WhatsApp accounts of staffers in the administrations of President Joe Biden and former President Donald Trump, Meta Platforms said Friday.

68
submitted 2 months ago by steventhedev@lemmy.world to c/world@lemmy.world

Yagev Buchshtab, Alexander Dancyg, Avraham Munder, Yoram Metzger, Nadav Popplewell and Haim Perry

128
submitted 3 months ago* (last edited 3 months ago) by steventhedev@lemmy.world to c/world@lemmy.world

From the photos on twitter, it looks like it hit the only soccer field in town, landing between the field and the playground next to it. Hezbollah first claimed the attack, but now that there are 10 kids dead, and another several dozen kids injured they've backpedaled on it.

archive link

UPDATE: 10 dead, 6 in critical, 3 moderate, 4 light, and several dozen unadmitted injured people

52
submitted 3 months ago by steventhedev@lemmy.world to c/world@lemmy.world

“A short while ago, IDF fighter jets struck military targets of the Houthi terrorist regime in the area of the Al Hudaydah (Hodeidah) Port in Yemen in response to the hundreds of attacks carried out against the state of Israel in recent months,” the Israel Defence Forces (IDF) said in a statement.

The strikes on Hodeidah came a day after a drone attack in Tel Aviv killed one man and injured at least 10 others.

archive link

[-] steventhedev@lemmy.world 63 points 6 months ago

Red circles are deprecated in favor of teal because of accessibility requirement WIP.DOnotUSE.14.g.2025.v0.

[-] steventhedev@lemmy.world 44 points 6 months ago

Whoosh

Seriously though, spring configurations are written in XML and you create variables, call functions, and have control flow. Effectively turning XML into a horrible twisted shadow of a programming language.

All in the name of "configurability" through dependency injection.

[-] steventhedev@lemmy.world 120 points 8 months ago

And here I was thinking that adding timezones for mars was going to be the biggest timezone headache in the next 5 years.

[-] steventhedev@lemmy.world 84 points 9 months ago

Dwarf Fortress almost made me fail a few courses in undergrad.

That is a game that redefines the concept of fun.

[-] steventhedev@lemmy.world 44 points 10 months ago* (last edited 10 months ago)

Whatever you do, make sure that you learn legally and avoid those horrible sites that steal the hard work of researchers and prevent publishers from properly incentivizing academic research by allowing just anyone to download research for free. You know, horrible sites like LibGen, SciHub, or Anna's archive.

Totally disgusting sites that you should definitely avoid.

[-] steventhedev@lemmy.world 44 points 1 year ago

The headline is misleading. From the article:

Dror Eydar, Israel’s former ambassador to Italy ... who is also a columnist with the Israeli daily newspaper Israel Hayom...

He is no longer in public service and does not represent Israeli interests in any official capacity.

...former Knesset member Moshe Feiglin...

He has not held public office since 2015.

Their statements are incredibly racist and dehumanizing, and have been condemned by the majority of the world. But they do not represent Israel in any official capacity. They are simply not newsworthy outside of documenting their existence on the off chance they reenter public life in the future.

I won't stoop to the New Arab's level of trawling for extremist wannabe politicians. I'll just look for a current Qatari public figure who are currently holding public office. That didn't take long.

[-] steventhedev@lemmy.world 88 points 1 year ago

It is indeed one and the same. This is the post that triggered this article (warning: it's long and not well organized): https://blog.cr.yp.to/20231003-countcorrectly.html

Credit where credit is due, DJB is usually correct even if he could communicate it better.

[-] steventhedev@lemmy.world 44 points 1 year ago

I'll try to stick to facts and not mix my opinions in:

  • The area north of Wadi Gaza contains most of Gaza City, and several outlying neighborhoods.
  • Best I can tell, the furthest point in the strip is 15km away from that line. Meaning this is requesting civilians to relocate by 5-20km within 24 hours.
  • Hamas has built an extensive tunnel network underneath Gaza. These tunnels are constructed with reinforced concrete and are used to house both munitions and operational infrastructure.
  • The US has transferred advanced munitions to Israel.

Now for my personal speculation:

  • The advanced munitions are bunker busters.
  • There is a significant risk of buildings collapsing due to the tunnels underneath being destroyed.
  • The intent is to minimize civilian casualties both from the immediate airstrikes and from potential building collapse.
view more: next ›

steventhedev

joined 1 year ago