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.
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.
“What one programmer can do in one month, two programmers can do in two months.”
Exit codes from processes are damage points that you take against your HP. When your HP runs out, the distro reformats itself to a clean state.
Just for the sake of comparison, Alphabet had $308 billion in revenue and $74 billion in profit in 2023 if I’m reading the numbers correctly. But they need cheaper labour.
Who’s ready to fly on a zipline?
In the recent Musk biography it was said that at some point after a meeting with NASA he changed his laptop password to “ilovenasa” so you’re not far off in terms of terrible password security if the story is accurate.
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.
Donald Knuth, author of The Art Of Computer Programming, basically our bible, famously doesn’t use email.
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 doSomethingElse
was only meant to run if the else if
condition was true, but because of the lack of braces and the printf
it actually happens regardless of either of the if
conditions. 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 the if
statement 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 if
statements was inverted, where ()
was optional and {}
was required.
Any idea how long such a run would take? This kill screen took around 40 minutes I think? I
’m not a Tetris community member but I’m interested in the whole ordeal as a gamer in general and programmer, and these sorts of things are interesting as an intersection of the two. I’ve also been playing Tetris since before it even came out on the NES or GameBoy and still play it in various instalments from time to time. I think I have to consider it to be the perfect video game in concept to this day, and seeing it get so much love after all these years is endearing to those of us who remember its beginnings.
There’s also one weird level that takes 800 lines to clear as opposed to the usual 10.
The trick to getting that high regardless will be making sure not to hit the conditions required for the kill screen to occur, like getting a single line on level 155 which didn’t happen here, and somehow making it past all of the potential kill screens to reach 255. I’m not knowledgable in the ways of NES Tetris to know if this is possible but I’m surely interested in finding out. I’ve read various analyses that say it’s theoretically possible and theoretically impossible so it would be nice to see something definitive.
Even with just one bit and a few switches this seems like the sort of thing Picard could use to send an encoded message to Riker and Data in the future should the need arise.
It’s also been a known thing ever since the demo occurred. This isn’t news, it’s been a known thing for basically the last 15 years.
Techstars is a start up accelerator. They’re pretty well known in their niche with accelerator/incubators all over the place.
How would that work? If X goes bankrupt, he’s still on the hook for buying it? He’s not the one going bankrupt, the business he bought would be. That would be like if I bought a car and crashed it and wrote it off. I still bought the car, I just drove it into a telephone pole. I still owe the money for the wreckage.
See Zed ‘Em?