steventhedev

joined 1 year ago
[–] [email protected] -3 points 5 days ago (1 children)

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

[–] [email protected] 3 points 1 week ago

That guy? He was horrible at AA. Did something to the water cooler and now everyone is falling off the wagon

[–] [email protected] 3 points 1 week ago
shopt -s cdspell
[–] [email protected] 2 points 1 week ago

I mean, it is shit posting

[–] [email protected] 5 points 1 week ago (3 children)

I think we finally figure out how to not poop for three days

[–] [email protected] 0 points 1 week ago (1 children)

You think it's out of hand now?

Just wait until 9am Moscow Standard Time on monday morning. It'll take a little bit of time for them to drink their coffee and have the morning meeting to figure out their talking points. The smarter ones will wait until 9am eastern before they start posting.

 

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

[–] [email protected] 18 points 2 weeks ago (2 children)

Those young machine spirits need their rest

[–] [email protected] 21 points 3 weeks ago

One upvote is not enough.

I once wrote a commit message the length of a full blog post comparing 10 different alternatives for micro optimization, with benchmarks and more. The diff itself was ten lines. Shaved around 4% off the hot path (based on a sampling profiler that ran over the weekend).

[–] [email protected] 67 points 3 weeks ago (13 children)

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.

[–] [email protected] 0 points 4 weeks ago (6 children)

Yes. I'll read the content, but I try to avoid interacting.

Mind you, db0 himself is a tankie, although he doesn't seem to insist on imposing that on the users or communities on his instance.

[–] [email protected] 4 points 4 weeks ago

Gotcha. So all horses are purple?

[–] [email protected] 2 points 1 month ago (1 children)

I hope you're wrong about both Israeli territorial ambitions and the unwillingness of Hamas to release hostages.

How are the Egyptian media covering the news?

 

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.

 

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.

 

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.

 

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.

 

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.

 

a picture of the full cake with 6 candles and a fondant rainbow decoration

Two 8" layers, following Sugarologie's cakeulator

The edges came out a little overdone, but not bad for my first homemade cake

 

This talk is sort of a sequel to “Dancing Links”, the Christmas Lecture of 2018, because there have been surprising new developments since then—stimulated by the work of Christine Solnon at INSA de Lyon.

When a computer program explores a large space of possibilities, it needs good data structures that are able to undo every tentative decision that has been made, thereby allowing new decisions to take their place.

The dancing links idea is a simple modification of a 60-year-old method (doubly linked lists), which is particularly suited to undoing. As a result, algorithms based on dancing links have become the method of choice for exploring the set of solutions to a huge variety of combinatorial problems.

The dancing cells idea, similarly, is a simple modification of a 30-year-old method (sparse-set representation), and it provides efficient support for that same wide class of applications. Indeed, programs based on dancing cells often turn out to be significantly faster than the analogous programs based on dancing links. And again, there is exquisite choreography!

view more: next ›