[-] steventhedev@lemmy.world 46 points 3 months ago

Bottom rack retail workers distributing replica weaponry is hardly a good basis for a system of government

[-] steventhedev@lemmy.world 66 points 3 months ago

Once the treaty is signed, the .io cctld will phase out over 5 years.

Unless ICANN get greedy and grant an exemption.

7
[-] steventhedev@lemmy.world 67 points 5 months 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 5 months ago* (last edited 5 months 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
submitted 6 months ago by steventhedev@lemmy.world to c/news@lemmy.world

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.

121
submitted 7 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 7 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 7 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 7 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 7 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 7 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 7 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 8 months ago* (last edited 8 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 8 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 11 months ago

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

[-] steventhedev@lemmy.world 120 points 1 year 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 85 points 1 year 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 47 points 1 year ago* (last edited 1 year 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 134 points 1 year ago

Performance Improvement Plan. Basically HR collecting evidence so you can't sue after they fire you.

[-] steventhedev@lemmy.world 91 points 2 years 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 48 points 2 years 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 2 years ago