@PedanticCurmudgeon said:
Did anyone else guess from the title that this would be another blakeyrant?
*raises hand*
@PedanticCurmudgeon said:
Did anyone else guess from the title that this would be another blakeyrant?
*raises hand*
@ubersoldat said:
You only need to remove the ?region=us param and it works fine
I know. But can we agree that a company's support form should allow entering the actual URLs which that company use?
So McAfee detects one of our applications as a virus (apparently as the only vendor). So I try to report the problem at their dispute submission form (https://secure.mcafee.com/apps/mcafee-labs/dispute-form.aspx?region=us).
Guess what, doesn't work, just gives a cryptic error message: "Problem in submitting this form".
So I go to their web site feedback form (http://www.mcafee.com/us/about/website-feedback.aspx) and try to report the dispute form (which is linked from THAT VERY PAGE) - but the contact form has this gem of javascript:
ARControl_RegularProblemURL.validationexpression = "^((http|https)://)?([\\w-]+\\.)+[\\w]+(/[\\w- ./?]*)?$";
so it does not allow entering the correct URL.
@zelmak said:
@Speakerphone Dude said:
@dhromed said:@Speakerphone Dude said:
This is even more high-tech than that episode in Bones where the dude hacked the Jeffersonian mainframe by hand-carving fractals on a bone that he knew would be scanned in the lab.You are obliged to provide a link to video material for this because I am intensely curious how they played that one in the show.
Can't put up a video clip (copyright and all that) but here is the relevant part of the summary on tvrage: "Back at the lab it’s discovered that a computer virus written in a bone of the victim caused a system overload when it was scanned by Angela, resulting in the lab fire; a fractal pattern in the bone was used; it turns out that the killer wanted to send out the message that he doesn’t need a computer to do his job."
That is even worse than in X-Files when Scully calls Internet to get the phone numbers of all subscribers who used a specific website.
Reminds me of Snow Crash.
Reminds me of Digital Fortress (which is a horrible piece of crap, like everything else Dan Brown has ever written).
@TGV said:
@da Doctah said:
The one who's famous on the interweb spells it Sundgaard.
Is that the Son of Gaard? You know, those outdated Scandinavians can't seem to latch on to the modern way of Napoleonic naming.
No, that would be Gaardson (or Gaardsson) in Scandinavian.
@Speakerphone Dude said:
@morbiuswilters said:The epoch is a goddam date. The timestamp is a goddamn interval.This is basically the opposite, and Wikipedia agrees with me:
- Timestamp: a sequence of characters or encoded information identifying when a certain event occurred, usually giving date and time of day, sometimes accurate to a small fraction of a second.
- epoch: the number of seconds elapsed since midnight Coordinated Universal Time (UTC), January 1, 1970, not counting leap seconds. [...] It is neither a linear representation of time nor a true representation of UTC
Nope. Try this link instead: Epoch
He's so right. Quote: "PHP is a community of amateurs" - for a good example, I give you http://sourceforge.net/projects/ldapauthmod/files/. From the installation instructions:
## Installation Level: moderate
## Installation Time: 30-45 Minutes
##
## Files To Edit: (17)
## common.php
## login.php
## search.php
## admin/admin_users.php
## admin/admin_board.php
## admin/admin_groups.php
## includes/functions_selects.php
## includes/page_header.php
## includes/usercp_sendpasswd.php
## includes/usercp_register.php
## language/lang_english/lang_admin.php
## language/lang_english/lang_main.php
## templates/subSilver/overall_header.tpl
## templates/subSilver/profile_add_body.tpl
## templates/subSilver/admin/group_edit_body.tpl
## template/subSilver/admin/user_edit_body.tpl
## templates/subSilver/admin/board_config_body.tpl[stuff omitted]
#
#-----[ OPEN ]-------------------------------------------
#
common.php
#
#-----[ FIND ]-------------------------------------------
#
include($phpbb_root_path . 'includes/db.'.$phpEx);
#
#-----[ AFTER, ADD ]-------------------------------------
#
include($phpbb_root_path . 'includes/functions_ldap_groups.'.$phpEx);
include($phpbb_root_path . 'includes/functions_ldap.'.$phpEx);
This madness continues for 1100 more lines.
I once worked together with some German developers. They used Hungarian notation: g = global, u = unsigned, mmi= related to the MMI part of the code. This resulted in a global variable named gummiLautsprecher - which in German means "rubber loudspeaker".
@frits said:
@blakeyrat said:
The question is, "if Git is so important to you, why didn't you just install it yourself?"
This user guide to installing Git on Windows might give you some insight into why they don't automatically install it: http://help.github.com/win-set-up-git/
Note the combination of setup wizard, SSH key generation, and terminal jokeying.
Sorry, that's bogus. Installing Git only requires running the installer. The two other steps make git able to use the account you (may) have set up at github. Presumably Aptana Studio does not require a github account for working.
@dtobias said:
I've always felt like "HDMI" ought to be pronounced to rhyme with "sodomy".
Nonsense, it is clearly pronounced 'hujdimmi'[1].
[1] http://notalwaysright.com/because-oosbs-just-dont-cut-it-any-more/10808
@Daid said:
@ochrist said:We build traffic lights. Are you sure you want to call us "IT"?On a side note: Why do you and others refer to the maintenance group as 'IT'?
All people working with IT (as in computers) should 'belong to IT', whether they are developers, project managers, testers, system architects, supporters etc.
[link]http://www.youtube.com/watch?v=GbPovgCP5BU[/link]
@Weng said:
Personally, I wish more installers would ask about redistribuables - I'm getting quite tired of everything on the planet "installing" MSVC '08 (actually, waiting for the redistributable to (sometimes) download, unpack and determine it should just exit).
Absolutely no need to ask the user - it is simple to detect if a particular version of the runtime is already installed.
@joe.edwards said:
.blue_222 { /* background: blue; width: 222px; */ background: green; width: 350px; /* 2011-06-20: redesign */ }
Ah, the good old 'revision control by comments' antipattern.
@tdb said:
When it comes to C++ widget frameworks on Linux though, Gtkmm is my favorite. Not that I write traditional 2D UIs too often, as most of my programs utilize 3D graphics.
May I suggest that you try Qt (which is now dual-licensed under either a commercial license, or LGPL).
@blakeyrat said:
It makes less sense for something like a SQL database, since those are pretty interchangeableI can tell you haven't used a lot of databases.
@Heron said:
@Rootbeer said:OSX, so far at least, doesn't really have a "maximize" -- the equivalent is more or less "resize window to the ideal size," but the guidelines aren't detailed anough about what that means, so every app behaves differently, and often not even the same way twice.
Even Safari is completely inconsistent. You'd think Apple could get their own applications to behave themselves.
But it's consistently inconsistent!
@hallo.amt said:
What about having that in the batter Module which knows its batter much Beter than the Power supply ?The batter module - that's the one for making pancakes, right?
@Thief^ said:
Seems they were after this:
ls $SOME_DIR >> foo.txt
Did they think ">>" only works with echo?
Probably. Similar to how some people always do
cd \
cd some\other\dir
@kraagenskul said:
Many if-else statements can simply be modified to use the ternary operator, but many programmers are either unfamiliar with it or unwilling to use it. I try to use it where ever possible and I find you can guage a coder's skill based on their using it. But that measurement went out the window the other day:
x = (logic statement) ? true : false;
Multiple times throughout their code, and the occasional:
x = (logic statement) ? false : true;
I can do better:
(x > max) ? (max = x) : (max = max);
Found in production code.
@dtech said:
Didn't you read the project manual for your latest project? quote: "Keep your routines short, 30 linux max."
Yeah, you don't want too many of those nasty linux.
@dhromed said:
Pretty filthy shit in IKEA's portfolio as well, still.
The classic example of this was a storage box named Knep (not sure they still carry it). In Swedish, knep means 'trick' - but in Denmark, where the same name was used, the word means 'fuck'.
@tgape said:
I am pretty sure that is not the case for LEDs. Running them at too high a temperature does reduce the lifetime, though.Now, admittedly, I understand that turning these things on and off shortens their life expectancy
@pbean said:
Subroutines are for reusability. If you have a part of code of 300 lines, or even of 10,000 lines, which is only used in once place, you should not put in its own subroutine, it will degrade performance. Unless your language has support for inline, of course, but that's a work-around for this.
Hell yeah, who cares about readability? If putting your 10K lines into a function increases the runtime by a femtosecond, then it is clearly not worth doing it just to make the code easier to maintain.
Not.
@DaveK said:
Jeeze, yeh, how dumb must he be to have missed that? What a maroon, eh?
That's pretty racist, isn't it? Maroon
@PSWorx said:
No, the real WTF is calling a web framework - or anything for that matter - "pocket rocket".
"Is that a rocket in your pocket, or are you just happy to see me?"
On a related note, I recently found this during a code review:
CPPUNIT_ASSERT(0 <= percentage <= 1);
@Mole said:
@bstorer said:
In the context it was in, they both do exactly the same, so I prefer to use var++.@Mole said:
Its the same as you can do var=var+1, but why bother when you can just do var++And why bother doing var++ when you should be doing ++var?
It has always puzzled me why people tend to think that post-increment is more 'natural'. IMNSHO,'++var' reads naturally as 'increment var', whereas 'var++' looks sort-of RPN to me.
@morbiuswilters said:
I'm usually very well-educated on penises, but somehow this one slipped out of my grasp.
We don't want to hear about penises slipping out of your grasp.
This page states (translated from Danish):
To search using Google (requires Internet Explorer), click here: [Google link]
@dev3 said:
@morbiuswilters said:
You know, you might want to put up a <font size="7" color="#cc0000">NSFW</font>if you're going to post stuff like this.
Now I'm tempted to visit that link.
My work here is done.
Considering that the site in question is named "I Fuck Up Beyond All Recognition", I am not surprised.
unsigned int NumProperties() const { return static_cast<unsigned int=""><unsigned int>(m_propList.size()); }</unsigned>
There, fixed it for you.
@pinkduck said:
I also like the unnecessary break on the last case block.
Haven't done much programming, have you?
This is not a WTF. This is a ten-year-old joke.
@Devi said:
I'm a C++ coder, and I'd do something like this:
// I have no idea if this would work in C# =)
const char *GetFilename(const char *pPath)
{
[snip]
No, you're not. You're a C coder who happens to use a C++ compiler.
This has also been covered on Bad Science.
@sylvan said:
It's a template class so that's why it's all in
one header (I couldn't get it to work with the definitions in a .cpp
file - if I understand correctly you're supposed to write something
like "export template" and then it should work, but it didn't. I use
VS2003)
After asking a vendor (who shall remain nameless) about details of
their encryption scheme, this gem was offered (company and product
names have been anonymized):
Sorry but it's not Initech policy to inform any one [sic] of our encryption
methods. If we did it wouldn't be a secure encryption method.
All I can say is that I've been at Initech for several years and in all
the time that we've been selling the Widget I haven't had a single
customer saying they've cracked the encryption.