@burnmp3s said:
The Real WTF<font face="verdana, arial" size="2">™ is your weird capitalization system.
</font>
Talk about weird capitalization... "The Secretive Hidden InterNet Censors"
@burnmp3s said:
The Real WTF<font face="verdana, arial" size="2">™ is your weird capitalization system.
</font>
Talk about weird capitalization... "The Secretive Hidden InterNet Censors"
@SQLDave said:
C'mon, c'mon...don't keep us in suspense. What is Step 2?!?!?!?
Step 2: "add a noodle and JAM IT!" (I'd expect)
@Ancient_Hacker said:
This is triply silly. If the Guru had read just a teensy bit of linked list literature, surely he would have seen Nick Wirths way to link both ways with just one pointer.
It's only been around since, like 1972
??? Link please....
@stinch said:
Unfortunately I think he is talking about literally videoing a book. Pointing a camera at a book and turning the pages. One way to get the information in your library into your computer I guess.
Wooden table v2.0! Now with moving images.
That's right after the startup, not when trying to add a new module.
Just run into this one when starting up IDEA 10:
Module 'core' already exists in the project.
Would you like to remove module 'core' from the project?
Remove which one? The one already open, or the one it's trying to open? How did it save 2 modules under the same name in the first place?
Can't you `%macro data_aggregation_procedure 1` `%macro some_other_procedure 2` and then `%prog data_aggregation_procedure`?
(or something like that)
That said... I just imagined what could happen if someone decided to add local symbols to C macros (just expand them to "__mlocal_"+sha1(filename+macro_name)) So much space for new WTFs... Also IOCCC contestants would have new possibilities.
@blakeyrat said:
@Lingerance said:Oh, and more specifically ISA 2003's (IIRC, number is probably off) MMC has like 150x100 pixels of actual working area (when used with a 800x600 resolution [which is the reso I got to work with])I don't know what ISA 2003 is.
@blakeyrat said:
Filed under: ), English has no concept of parenthesis inside parenthesis-- stop it
Oh... is blakeyrat out of his comfort zone? (he probably is by now (since he's annoyed by nested parentheses (which are perfectly ok (and actually make me feel like I'm writing lisp))))
(Actually), (((to avoid) misunderstandings), ((we could) ((properly chunk) (the sentences)))). (Easier), (isn't it?)
@blakeyrat said:
As if any Linux program related to power management has ever worked in the history of ever. 10 years after every other OS on Earth has managed it, Linux still can't put a freakin' laptop in sleep mode
A data point: I had 3 laptops. Of those, 3 could sleep under linux without problems and 2 could hibernate correctly. Under XP (it was before vista time) one of them could sleep and hibernate, another (Vista this time) could hibernate only, the last one couldn't do either (Vista too). I had way more power-management issues under Windows, so it's not that clear cut.
@blakeyrat said:
It bothers me, I have a friend like you who's big into Linux (well, OS X, but same shit) and spends all his time just doing stupid shit. "Hey look I wrote a decompiler for shared libraries!" "Why?" "IT'S FUN!!!" Not only is it not fun, but he spends hours and hours on these dumb projects and they're all completely useless...
Seriously? What do you care. If it's fun for him, it's fun for him. Some people write decompilers, some collect pebbles. Who are you to say what is fun and what isn't? I have crazy fun writing utilities I might not need in the future, but which give me some interesting lessons.
Understanding shared libraries gives you insight into low-level information which might be useful for you one day when doing an actual project. Messing about with stuff is the best way to learn. Guess who are you going to ask for help the next time you have some crazy dependency / linking problem in a large project...
@blakeyrat said:
It's always been nicer to use than Linux.
... LOL (yeah, I guess it depends on what you do, but for my work, Windows is a toy)
@Enterprise Architect said:
@smxlong said:In blatant disregard of blakeyrat, I have a rewrite, unfortunately more in C++ style than Java, but whatever, you Java freaks have arrays, right?That's way too simple to be valid C++. Let's throw a template in there for good measure:
This still seems too simple though…template <typename T> class Mapper { private: typedef std::map<T, T> map_t; map_t mapping; public: void addMapping(T x, T y) { mapping[x] = y; } T operator() (T x) const { typename map_t::const_iterator entry = mapping.end(); for (typename map_t::const_iterator i = mapping.begin(); i != mapping.end(); ++i) { if (i->first >= x) break; entry = i; } return entry == mapping.end() ? 0 : entry->second; } };// ...
Mapper<int> mapper;
mapper.addMapping(145, 1);
mapper.addMapping(117, 2);
mapper.addMapping(68, 3);
mapper.addMapping(51, 4);
mapper.addMapping(22, 5);
mapper.addMapping(10, 6);
Runing swig over the resulting object and adding a webservice server in perl that wraps the functionality should help...
@TarquinWJ said:
Sounds like the most useless waste of time ever. Clearly nobody cares what anybody on that site thinks. Not worth wasting your time by using it.
More like someone saw http://getsatisfaction.com/ and thought - cool, I'll just copy what they do.
Similar BT story from one guy at work: he lives in a house previously owned by his parents. The phone line was attached to his parent's account of course. One day he decided to upgrade the line, but to do that he needed to register the line on his own account. WTFs in order or appearance:
@Rhamphoryncus said:
You have legions of disgruntled fans. Give them clear goals and put them to work. A quick googling for "community server export" shows some promise, and I'm sure that, for whatever platform you decide to switch too, you'll find someone experienced enough to help you import to it.
You can simply convert all of the exported data to XML. I heard that it's a superior new format - it could be very useful here! And it has "namespaces", so you can even embed the link to your site at the top and put your own name before the tags - pretty cool, eh?
@Faxmachinen said:
@viraptor said:
Debugging any application with this kind of introspection is hell (re.pl / Dumper's outputs):
[snipped]I'm not sure what you're trying to say with that. ...
That if I can't figure out a type of some value by printing it out, there is no hope for proper debugging of something. Sure there's "in context X" output... but that doesn't help me in any way, does it? I don't know any other language that would do this and it's certainly not an improvement (makes both writing and debugging harder) - so what else can I say - it looks broken to me. You're free to show me one use case where presenting a hash, list and array in the same way are an improvement over presenting them as what they actually are.
@b-redeker said:
So basicaly what you're trying to do is use Perl as if it was Java. Which is cool, only then I understand you hate it.
I'd write Java differently. I'm trying to use perl in such way that it is easy to debug and maintain, which is a completely different thing. I don't see any value in using lists. Ever. Please show a case when it's more useful than an array if you think such case exists. Or in using variable number of parameters (you can always pass options in {key=>val} as the last parameter when "options" are needed)
@toth said:
Perhaps TRWTF is that you're using $_ as a standard variable, rather than a special variable and using it where it's meant to be used.
I do not choose the code I work with. If it includes $_ I get crazy scoping rules. If it didn't include crazy scoping for special variables, I wouldn't complain - again - what's the usecase when this is an improvement? (no - `chomp` without arguments is silly, not an example here)
@dhromed said:
I'm going to have a look at python soonishlike. I hear it's awesome, even though I still don't think formatting should affect execution to that degree.
The only people who actually have a problem with this are ones who don't indent code properly... If you keep it consistent (don't you always?) it's pretty much a nonissue. This is trivial to get used to.