The Official Status Thread
-
you can just handle it
Except in this language/framework, there's no way to handle an exception like that, so app crash with a stack trace that points to where the method is called on the null object. The developer's boss relented, sort of, and told him to "fix" it so that it basically logs an error message andabort()
s. Despite the fact that the case where no name can be found is not only valid, but must be tested. (Embedded CPU can write/read addresses where no hardware register exists. Write should be NOP; read should return 0x00000000. Test framework crashes if you try to test this, because it can't map the hardware address to a valid register name.)
-
Unsorted array. Linear search.
Dear god. Couldn't it at least be a sorted array (you can easily sort at compile time or before if the set of things is not dynamic) and a binary search? That's nearly as fast as a hash table. Might even be faster; they're close enough that it depends on what the content is.
Medium-verbosity logging reports every single failed match, in array of several thousand names. (But not the successful match, when (if) it eventually happened.)
Doing It Wrong™!
-
Doing It Wrong™!
I wholeheartedly agree. Unfortunately, I didn't control that part of the code.
-
Status: It's pouring with rain this morning, and has been all night. My commute is gonna suck…
-
Status: considering making a "surrealist monty hall problem ideas thread". For example:
@dhromed said:
A game show with three doors: one has a bitcoin miner, the other have a PC with installation of Outlook that beeps when you switch doors. You must switch three times.
@mikeTheLiar said:
There's three doors in front of you, two of which contain copies of Windows 8. The other door contains a ghoti. Should you switch to Windows 3.1?
-
-
Status: The explain plan on a query has, so far, taken over a minute. I think this query might need improving.
edit: No, Oracle's just sulking.
-
My commute is gonna suck…
Aaaand I was wrong. It stopped raining before the section where I have to walk.
-
Challenge yourself to walk, swim, dance or wheel your way to 10,000 steps a day in September
Ummm...
-
This post is deleted!
-
.... Why do the mounties need a train? Nevermind a WAR TRAIN.
Snowpiercer was a documentary.
-
Status: Telly broke down yesternight, so now I've bought a new one. Once it arrives, I'll take the old one apart and discover it was just a faulty capacitor in the PSU.
Sorry, @NeighborhoodButcher, I bought one of yours. I figured it can't be that bad. If it starts emitting spanking noises I'll let you know.
With Tizen? Does it serve ads in literally half the screen, or wasn't that version released yet?
-
Don't know yet. It only arrived today, and I haven't had time to open the box yet. It's an UE48J5505AKXXE if it helps...
-
It's the system version that counts. Well, we'll see. I am actually wondering how will users react to having half of the screen in ads. Or maybe someone will come to their senses and turn it off, before issuing an OS update.
-
No milk for my Cinnamon Toast Crunch so I used beer instead.
-
Status****strong text I've been back from vacation for two days now. In that time, I've only written one line of code, and it was a comment.
-
I've only written one line of code, and it was a comment.
What was the other?
Filed under: Zero-index jokes are the number 0 cause of death amongst nerds
-
Status: fighting to get a laravel 5 project on CI.
This boilerplate provides a fully working build.xml file, with build scripts in the build directory.
My ass. you don't even tested it
-
STATUS: I love camping but always forget just how much stuff I need to take until I'm getting it all together.
-
There's a GIANT ROACH IN MY BEDROOM and oh God I hate insects someone please help
-
Status: I am pretty sure that I just played 3 Card Monte with my 4 year old. He started it, and he won because he is a cheating bastard.
He will be a CEO one day.
-
My ass. you don't even tested it
Status****strong text: Jarry wants someone to test his ass.
-
-
you forgot to put a
i think i should have phrased that in another way.
Filed under: also jokes about strong black text
-
Status: Steam asked me for my phone number because it will help secure my account. I gave them my phone number. They said Phone number is invalid.
Fun fact: this post contains no information about me that my avatar doesn't already give away.
-
The +1's already in the dropdown, so you don't put it in the text box.
Or so I assume.
-
Status: Amused that yesterday's Girl Genius comic referenced an event from page 4 of the comic... published 15 years earlier back when it was still a print comic.
-
Status: Amused that yesterday's Girl Genius comic referenced an event from page 4 of the comic... published 15 years earlier back when it was still a print comic.
Oh man, I caught that but didn't realize the reference was that far back--I was thinking it was the busted muse clank at the caravan, or possibly the the warrior clank at the bottom of the castle.
8-bit theater did a reverse of that: page 1 or 2 gave away the ending, although nobody knew it at the time.
-
It's not actually part of the text area. I didn't type any spaces.
-
It's not actually part of the text area. I didn't type any spaces.
Well, maybe the problem was that you should have done that.
-
-
Status: Amused that yesterday's Girl Genius comic referenced an event from page 4 of the comic... published 15 years earlier back when it was still a print comic.
Well something was bound to - it's not the kind of event you can just shove into a story without ever expanding on the story behind it.
On the other hand, I can't wait until we switch viewpoint back to castle Wulfenbach and get introduced to a couple more quirky characters that will never be mentioned again.
-
25k?
-
Status: the problem with computers is that they're a terrible way of solving problems, but everything else we've tried was worse.
-
Status: Registering our company's .sex domains.
-
Status: Registering our company's .sex domains.
Adult services in some division or protective registration?
-
Protective registration. I should have made that clear, given my username.
-
Heh, that just shows how much of a scam these new TLDs are. I wonder what the percentage of legitimate sites there is to 'hell no, we're not having anyone else make a sensiblewidgets.sex!'
-
I'd imagine a few companies are registering .sucks to avoid having stuff like Microsoft.sucks too.
-
Someone somewhere is making some money; we've already got our .porn and .xxx domains. It's a bit odd because we don't own our .com domain, just the .co.uk and .ie.
-
StatusStrong Text*: Relieved. Called home, wife confirms house has not burnt down.
Could not for the life of me recall turning off the stove under the coffee pot...
If I start hanging more belt onions I'll have to buy a Smart-Coffee-Maker. If I remember.
BonusStrong Text:* local TV is showing Matlock...
-
is wrong with these people?
I can just see the dumb hicks grilling the poor boy (this is regarding the "broader explanation" brainfart)
Officer: "So, what does this thing do?"
Ahmed: "It's a clock?"
Officer: "But what does it do?"I mean, at that point I'd also be hard pressed to offer a "broader explanation".
-
Fun fact: this post contains no information about me that my avatar doesn't already give away.
-
Aside from the obvious fact that he's a muslim, that I'm sure had no influence whatsoever in the whole event (yes, sarcasm)...
There's a certain kind of people that doesn't understand the idea of new or different things, as if they didn't have the ability to understand abstract concepts. Anything must fit into an existing category. A clock? This can't be a clock, it doesn't look like one! It looks more like the bomb I saw on [tv series of choice], so it must be one!
-
Status: I just understood the idea that "cats are assholes". The moment you need them to do something they'll suddenly decide to do something completely different.
Some background: I'm living in a shared apartment with 2 other people and 3 cats. One of the cats is a young kitten, and extremely playful. She chases everything that moves, and if there's nothing that moves she'll chase things that don't move. She will chase lights, shadows, strings, cables, bottle caps, fingers, dust, paint stains, everything.
Today, a disgusting cockroach went into my room and hid there. After 30 minutes of looking, I finally found it hidden behind a drawer. Now, those things are fast. If you get distracted, they'll hide somewhere else.
So I thought, "hey, my cat loves to hunt stuff. This is a moving animal that has to be hunted. Cats are supposed to keep plagues away. Why not let nature take its course?".
So I bet you can guess what happened... SHE IGNORED IT COMPLETELY. SHE STOOD THERE SMELLING A PLASTIC BAG AND DIDN'T EVEN LOOK AT THE MOVING INSECT.
-
ROFL. When I was in high school I brought a touch-tone keypad liberated from a desk phone into school and carried it around for two days for no particular reason, and when anyone asked me what it was I told them it was a bomb. Since this was before Boston turned into a bunch of bedwetting pantywaists, nobody took me seriously, although I was named "person most likely to sell a bomb to Libyans[1]" in my yearbook.
[1] this was around the time Back to the Future came out, so....
-
I mean, at that point I'd also be hard pressed to offer a "broader explanation".
BTW, this is funny: "Police say they may yet charge him with making a hoax bomb — though they acknowledge he told everyone who would listen that it’s a clock."
No they won't. Or if they do, they will immediately drop the charges and apologize approximately three seconds after he says he's going to hire a lawyer.
-
Good thing he didn't try to get fancy and make one of those stupid Fibonacci clocks. No one would have believed him.
-
Whaaa!
Are you suggesting Steam might have a bad user interface?! You crazy, dog!
-
STATUS:
var data = { a: "a", b: "b" }; setImmediate(clearA); setTimeout(print, 0); setImmediate(clearB); function clearA() { delete data["a"]; } function clearB() { delete data["b"]; } function print() { if (data.a) { console.log(data.a); } if (data.b) { console.log(data.b); } }
What's the output?
TRICK QUESTION! It's undetermined!