If Mercurial were as popular as Git I would presume that it would be rewritten in C or Rust, but who can say.
- 0 posts
- 15 comments
- darkpanda@lemmy.catoProgramming@programming.dev•Linus Torvalds built Git in 10 days - and never imagined it would last 20 years1 year
- darkpanda@lemmy.catoProgramming@programming.dev•Linus Torvalds built Git in 10 days - and never imagined it would last 20 years1 year
Also Subsurface, a scuba diving log program, but that one is not quite as well known.
- darkpanda@lemmy.cato
Programmer Humor@programming.dev•muskrat's data eng expert's hard drive overheats while processing 60k rows
1 yearBuddy’s probably running code he got from GitHub Copilot that is used to do a visualization of a bubble sort for learning purposes.
- darkpanda@lemmy.cato
Programmer Humor@programming.dev•muskrat's data eng expert's hard drive overheats while processing 60k rows
1 yearWhat is this, a table for ants? Because that’s the average number of ants in an ant colony and it’s nowhere near an impressive amount of rows to be doing any sort of processing on. It wouldn’t be an impressive amount of rows if your rig was an i386DX-33 running off a 5” floppy.
- darkpanda@lemmy.catoWorld News@beehaw.org•Donald Trump tells Canada to become a state to avoid his tariffs1 year
First of all, our red is your blue and our blue is your red, but also our reds are bluer than your blues, but even our blues are bluer than your reds are, and we also have oranges that are bluer than our reds are, which also means they’re bluer than your blues are, and also we have like a navy blue that is particular to Quebec and it’s bluer than our reds are and also therefore bluer than your blues, and also we have a small group of greens, and they’re kinda bluer than our reds are, which also means they’re bluer than your blues are. Overall, we’re entirely bluer than even your bluest blues are, and even most of our blues are less red and more blue than most of your reds are, although it seems we’re on the verge of turning more red, but that gap seems to have narrowed since you guys got a red guy in there and we’re starting to see the results, even if its only been less than a week with your reds in charge.
I hope this clears things up.
- darkpanda@lemmy.catoProgramming@programming.dev•Capt. Grace Hopper on Future Possibilities: Data, Hardware, Software, and People (Part One, 1982)2 years
She was also part of the team that discovered and coined the term “bug” in relation to a computer defect. She didn’t invent the term herself directly, but she was part of the team that did.
The contacts inside are too big and sensitive and it results in phantom inputs. The DIY fix is to open up the controller and literally cover parts of the input contacts with tape.
- darkpanda@lemmy.cato
Programmer Humor@programming.dev•Like getting 9 women pregnant and expecting a baby in 1 month
2 years“What one programmer can do in one month, two programmers can do in two months.”
Learn to use
git bisect. If you have unit tests, which of course you should, it can save you so much time finding weird breakages.
- darkpanda@lemmy.catoProgramming@programming.dev•What are the craziest misconceptions you’ve heard about programming from people not familiar with it?2 years
Why wouldn’t you just create a GUI interface in Visual Basic to track their IP addresses tho?
The code in the image is C or C++ or similar. In those languages and languages derived from them, curly braces are optional but the parentheses are required. It should be the other way around to avoid logic errors like this:
if (some expression) doSomething() else if (some other expression) printf(“some debugging code that’s only here temporarily”); doSomethingElse();Based on the indentation you’d think that
doSomethingElsewas only meant to run if theelse ifcondition was true, but because of the lack of braces and theprintfit actually happens regardless of either of theifconditions. This can sometimes lead to logic errors and it doesn’t hold up to a principle of durability under edit — that is, inserting some code into theifstatement changes the outcome entirely because it changes the code path entirely, so the code is in a sense fragile to edits. If the curly braces were required instead of optional, this wouldn’t happen.I have all of my linters set up to flag a lack of curly braces in these languages as an error because of this. It’s a topic that sometimes causes some debate, ‘cause some people will vociferously defend their right to not have the braces there for one liners and more compact code, but I have found that in general having them be required consistently has led to fewer issues than having arguments about their absence, but to each their own. I know many big projects that have the opposite stance or have other guidelines, but I just make ‘em required on my own projects or projects that I’m in charge of and be done with it.
I also sometimes wish that the syntax in
ifstatements was inverted, where()was optional and{}was required.
- darkpanda@lemmy.catoGaming@beehaw.org•Lords of the fallen. Are you finding it very difficult or not? Let's try understand why3 years
I haven’t been 2hing much and haven’t tested much on those sorts of things yet. I did notice that I don’t think you can die on a perfect parry even if you have no health left, though, as I seemed to be in that position during a boss earlier today.
Started with a ranger who starts with an axe, went to a spear, then a halberd, most recently using a hammer. The spear was quite lungy which caused some issues around open air vertical areas with a lot of narrow paths, while the halberd was just too slow. Hammer is feeling good, and has a good set of running attacks.
- darkpanda@lemmy.catoGaming@beehaw.org•Lords of the fallen. Are you finding it very difficult or not? Let's try understand why3 years
Been playing these games since DeS on the PS3 when it first came in 2009.
Overall, I’m enjoying it. Multiplayer that doesn’t require consumables and rituals like placing signs or ringing bells is such a QOL improvement. After 14 years of putting down summon signs and ringing bells and gaining insight, I just want to get to it these days. A few thoughts:
- Bosses initially seem challenging until you get a grip on their movesets and then realize you can defeat them with just a few moves. I beat one boss using nothing more than a running R2 attack over and over again.
- Perfect parry windows seem huge.
- A few control decisions and whatnot are bizarre. Someone else mentioned filling the quick items with apparently random items when you deplete another for instance. Most of the time I don’t even equip any other quick use items, just my estus/healing plants/flasks/whatever.
- visuals generally are good on PS5. Am playing in performance mode for the FPS.
- umbral mechanics are pretty neat.
- short cuts and area connections feel good and natural, DS1-like.
- only been invaded once and haven’t tried an invasion yet. Battle went back and forth until my invader went in for the coup de grace and I dodged while they went sailing over the edge of a cliff. They probably would’ve had me had it not been for that cliff.
- dodging feels like a mix of Souls and Bloodborne. Stamina meter might be a bit too forgiving, as it feels like you can dodge over and over through pretty much anything.
- weapons feel like they have weight to them. Movement is a tiny bit floaty but generally the weapon movesets and decent and feel like they have impact
- inexplicable missing sound in some instances. Sliding down ladders for instance happens in dead silence.
- being able to watch the host continue playing while you’re dead is nice. Nothing worse than helping someone almost defeat a boss and then not being able to watch the end result if you happen to bag it near the end.
Anyways, a few thoughts. Hope they continue to support the game with patches for a while to come and fix up a few odds and ends. I’m not all that far into it, but this feels like it has legs.

Ironically
D:is probably the face they were making when they realized what happened.