â€đź™… THE BAD IDEAS THREAD
-
Error: Whoops :(User: Stupid application
Error: General fault in subsystem in_88435: 0x94538599User: I BROKE TEH INTERWEBZ!
-
Does that say... HAL INITIALIZATION FAILED ?
Windows 8 has error messages that can be read by humans? Apocalypse is upon us!
-
Wait, Windows 8 is the incarnation of HAL? FUUUUUUUUUUUUU...
-
No, that's Hardware Abstraction Lay...
I just ruined the joke, didn't I?
-
-
Or just displaying the error that was thrown instead of sanitizing it for the end user. The users get so damn scared by those screens.
We do have that, but that's run of the mill. What I described is a larger WTF. We had one process failing a few weeks ago, had no idea until the client told us. Nearly walked out that day.
void Application_Error(object sender, EventArgs e) { // Code that runs when an unhandled error occurs // lol, what's this? }
-
Windows 8 has error messages that
can be read by humans?treat humans as idiots and are condescending to the point of silliness? Apocalypse is upon us!FTFY
Filed under: aww, the computer did a boo-boo?, search online, because there's no way you could possibly know what HAL is
-
I did. Not that it helps, no idea how to fix it on Linux where I might be able to, even less on Windows. But at least it's something.
Filed under: Because 0x08C00FA63 was much better to search for
-
Because 0x08C00FA63 was much better to search for
Previous Windows bluescreens also gave you a string identifier. And additional hex codes on the bluescreen itself for precise troubleshooting, instead of "just taking it to be repaired on warranty, or buying a new one".
The point is, it's worded horribly, suggesting that it's a minor problem, it'll pass, and that you're obviously a luser who is unqualified to deal with it. And it looks horrible, too - bluescreens don't appear too often, and when they do, it means something really, really bad is going on. They should be scary.
Text mode, no silly emoticons, and if I was designing it, I'd make it white-on-red and add a high-pitched squeal to boot.
-
Klaxons. It needs klaxons.
-
The point is, it's worded horribly, suggesting that it's a minor problem, it'll pass, and that you're obviously a luser who is unqualified to deal with it. And it looks horrible, too - bluescreens don't appear too often, and when they do, it means something really, really bad is going on. They should be scary.
Agreed on that. Just saying that the messages improved IMHO. You could infer at least something from them if they are verbose enough. Having the sample of one I can't claim it 100%, but that's the hope at least.
And I do remember strings being next to damn useless before. Or maybe I just got the useless ones personally (with my luck, possible).
-
Interpreting a network failure as "There is no content to show"
-
Interpreting a network failure as "There is no content to show"
<img src='/uploads/default/4618/acb477551537ef84.png'>
We could fill an entire Bad Ideas thread just with Discourse shenanigans.
-
There's an entire category for that.
-
There's an entire category for that.
To be fair, not every bug is the result of a Bad Idea. Just most of them.
-
Just saying that the messages improved IMHO. You could infer at least something from them if they are verbose enough.
How is "you have a problem, we're restarting" verbose? Compare the WinXP bluescreen:
It actually has more troubleshooting steps written up (even if they're mostly useless, but hey, maybe back when you could disable shadow RAM...), it has some status words (which, OTOH, are sometimes at least a little useful - usually when you get the more generic errors), and even sometimes a filename for the faulty driver.
And zero silly emoticons.
-
This is what a blue-screen should be.
-
-
I was thinking more along the lines of this:
-
Previous Windows bluescreens also gave you a string identifier. And additional hex codes on the bluescreen itself for precise troubleshooting
In the few times I've seen a blue-screen recently (Win 7), I couldn't tell you whether the information is useful or not, because the screen blanks and the computer starts rebooting so fast I couldn't read a single word of the screen. That is not useful.
-
-
Isn't that how HTTP + Ajax works?
-
Only if you're doing it to CDCK standards.
-
Usually, but when the callback method creates a server side exception, and you swallow it/only show the client, it's not exactly best practices.
-
The point is, it's worded horribly, suggesting that it's a minor problem, it'll pass, and that you're obviously a luser who is unqualified to deal with it. And it looks horrible, too - bluescreens don't appear too often, and when they do, it means something really, really bad is going on. They should be scary.
Text mode, no silly emoticons, and if I was designing it, I'd make it white-on-red and add a high-pitched squeal
toon re-boot.FTFY
-
-
Giving your child a toy that can talk
https://www.youtube.com/watch?v=ebv51QNm2Bk
Filed under: Oh shit! Oh shit! Oh shit!
-
Taking "
+
for string concatenation" a step further:## Division `string / delimiter`
This will split the string string into an array of strings, using occurrences of the string delimiter as places to cut.
"abcdfoofoo x" / "foo"
gives the result({ "abcd", "", " x" })
An alternative is to divide with an integer, which will split the string into strings of the length given by that integer. Extra characters are thrown away:
"abcdfoofoo x" / 5
gives the result({ "abcdf", "oofoo" }).
If you divide with the same integer, converted to a floating-point number, the extra characters will not be thrown away:
"abcdfoofoo x" / 5.0
gives the result({ "abcdf", "oofoo", " x" }).
Modulo
string % integer
This gives the extra characters that would be ignored in the division operation
string / integer
:"abcdfoofoo x" % 5
gives the result" x"
.Multiplication
array * delimiter
This will create a new string by concatenating all the strings in the array array, with the string delimiter between them:
({ "7", "1", "foo" }) * ":"
gives the result"7:1:foo"
.
-
That's actually awesome.
-
Taking "
+
for string concatenation" a step further:The fuck? I find it piss irritating having to use + just for concatenation in shitty languages.
Even PHP gets that one fucking right, with
+
for addition and.
for concatenation. PHP FFS. Of all the holy bastard languages that could get that wrong, PHP doesn't.
-
Not as bad as VB.NET, though!
You get+
and&
.
Of which&
always does what it should do and+
sometimes tries to convert strings into numeric types and add them.
-
"abcdfoofoo x" / "foo"
vs
"abcdfoofoo x" / 5
vs
"abcdfoofoo x" / 5.0
I should probably mention that Pike supports mixed-type variables:
Yes, those are both valid syntax. Yes, including the second line as is.mixed delim1; float|int|string delim2;
-
[code]
mixed delim1
float|int|string delim2;
[/code]
It's a Number...It's a String...It's delim2!
-
The fuck? I find it piss irritating having to use + just for concatenation in shitty languages.
Even PHP gets that one fucking right, with + for addition and . for concatenation. PHP FFS. Of all the holy bastard languages that could get that wrong, PHP doesn't.
This.
Also, +1
-
I've thought of some other great overloads:
Remove the last character from x:
x--Remove the first character from x:
--xRemove the first occurrence of the string y from x:
x - yRemove all occurrences of the string y from x:
x - [y]
-
I'm not averse to having the functionality be on offer, I'm just averse to overloading behaviour onto operators that means the code becomes that much harder to read especially in type juggling environments.
PHP is notorious for its shambolic behaviour re type juggling on the sly and this would simply make it so much worse.
-
Since it's now a thing, I'm pretty sure that they mostly do it on purpose.
Gotta put those Master of Fine Arts degrees to use somehow.
-
In the few times I've seen a blue-screen recently (Win 7), I couldn't tell you whether the information is useful or not, because the screen blanks and the computer starts rebooting so fast I couldn't read a single word of the screen. That is not useful.
Aren't you supposed to use the unusable system log viewer to track this information down? I'm sure there's an old blakeyrant about this somewhere in the bowels of CS.
-
Aren't you supposed to use the unusable system log viewer to track this information down? I'm sure there's an old blakeyrant about this somewhere in the bowels of soon to be coming to Discourse.
DTFY
-
unusable system log viewer
Fucking this. Output from
/var/log/messages
is easier to find shit in. And that's an abomination in and of itself.
-
-
Out of likes. That thread. Imagine you just got one.
-
-
Fucking this. Output from /var/log/messages is easier to find shit in. And that's an abomination in and of itself.
...which is why I use metalog, and filter logs to a bunch of subfolders, which makes it much easier to deal with them.
-
Installing a new lock on the Software Development Director's door, closing said door, locking it, and failing to give him the keys. Yes, that just happened.
-
-
He's a director ... not like he has real work to do ...
That's how strange my company is. He actually does a lot for us.
-
That's how strange my company is. He actually does a lot for us.
This is so not WTF it's almost WTF.
-
My local news station just reported that radio waves infect water with cancer and you'll get cancer if you drink water infected with radio waves.
This is the same news station that reported on the story about the mother wanting to remove links to her daughter's youtube video from a third party website and was surprised when Google didn't respond.
And no, it's not the Fox News channel. That's the next channel up.
-
My local news station just reported that radio waves infect water with cancer and you'll get cancer if you drink water infected with radio waves.
Well, I assume they should stop creating these dangerous radio waves if they really cared about the population!