313
submitted 4 months ago by steventhedev@lemmy.world to c/news@lemmy.world
[-] steventhedev@lemmy.world 62 points 5 months ago

this could be better if it used subdomains to an evil extent - extract the main domain intended and use that:

google.com => google.phishy.pc-helper.xyz/whatever-bullshit-key-they-need

Bonus points if it works for any subdomain.

Extra bonus points for a subdomain that includes https and www (e.g. https.www.google.com.phishy.pc-helper.xyz)

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

According to starch cube theory, two pizzas stacked on top of each other is a cake, same as lasagna.

[-] steventhedev@lemmy.world 69 points 11 months ago

DOGE is not meant to cut spending. It is to systemically root out opposition within the executive branch and promote the business interests of Trump, Musk, and their cadre.

This is a distraction to keep you occupied while they do something far worse.

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

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

Unless ICANN get greedy and grant an exemption.

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

Sir, this is Lemmy.

Beans

168
17

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 1 year 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 1 year ago* (last edited 1 year 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.

121

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

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

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

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

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

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

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

[-] steventhedev@lemmy.world 63 points 2 years ago

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

[-] steventhedev@lemmy.world 120 points 2 years 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 2 years 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 134 points 2 years 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.

view more: next ›

steventhedev

0 post score
0 comment score
joined 2 years ago