I am Geek
-
Yeah, I know. I would really like to bond with someone about the pitfalls of VB6 while visiting our aunt. J/K.
Back in the blog beatch! http://CraptasticNation.blogspot.com/[^]
Or when your aunt is visiting? I would not want to be anywhere near that.
-
Or when your aunt is visiting? I would not want to be anywhere near that.
-
So who else would rather spend 30 mins perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog than spend the 30 seconds it would take to do it manually. We need a 'flexing skinny, white geek muscles' emoticon
cheers, Chris Maunder
CodeProject.com : C++ MVP
Well I spent an hour yesterday making an application that dumps my hardcoded constants into my local database and another that dumps my local database values to an INSERT script for the official test server database. sad. I could have just copied and pasted it into the VS2008 Edit table view and keep an extra excel copy but where's the fun in that?.
-
So who else would rather spend 30 mins perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog than spend the 30 seconds it would take to do it manually. We need a 'flexing skinny, white geek muscles' emoticon
cheers, Chris Maunder
CodeProject.com : C++ MVP
- hear me belch. Anyway love Reg Ex, nice bloke, but he can be a bit obscure when he's had a skinful (or I have). Actually in my experience Geeks come in three shapes: 1. Skinny, shy of the sun complexion, 2. Obtuse and sweaty, and the much rarer, 3. Fit as anything, sometimes suave, and embarrasing to the rest of us.
I just love Koalas - they go great with Bacon.
-
So who else would rather spend 30 mins perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog than spend the 30 seconds it would take to do it manually. We need a 'flexing skinny, white geek muscles' emoticon
cheers, Chris Maunder
CodeProject.com : C++ MVP
Chris Maunder wrote:
We need a 'flexing skinny, white geek muscles' emoticon
You are McLovin!
- S 50 cups of coffee and you know it's on! A post a day, keeps the white coats away!
-
Who will spend 10 minutes to use his iPhone order a pizza on Pizzahut web site rather than making a simple 2 minute call to the Pizzahut.
You have an iPhone. You are not geek. Geeks understand that the iPhone is technologically impressive to those who don't know technology. MMS anyone?
XML is not a development language
-
So who else would rather spend 30 mins perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog than spend the 30 seconds it would take to do it manually. We need a 'flexing skinny, white geek muscles' emoticon
cheers, Chris Maunder
CodeProject.com : C++ MVP
Chris Maunder wrote:
perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog
Find/Replace dialog? - pah! - real geeks would be using
grep
andsed
! ;P -
Hear me roar? (err, squeak?)
-------------------------------------------------------- Knowledge is knowing that the tomato is a fruit. Wisdom is not putting it in fruit salad!!
-
So who else would rather spend 30 mins perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog than spend the 30 seconds it would take to do it manually. We need a 'flexing skinny, white geek muscles' emoticon
cheers, Chris Maunder
CodeProject.com : C++ MVP
I avoid regex whenever possible. In fact, I have exactly one instance of using it, and that's to verify email address formats.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
So who else would rather spend 30 mins perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog than spend the 30 seconds it would take to do it manually. We need a 'flexing skinny, white geek muscles' emoticon
cheers, Chris Maunder
CodeProject.com : C++ MVP
Who else would rather spend days memorizing Pi with thousands of decimals, instead of just using Pi stored to a sufficient accuracy in your calculator? http://bigparadox.wordpress.com/[^] And I am not planning to calculate the circumference of the observable universe down to the planck length or something like that. And even if I would, I wouldn't need more than perhaps 50 decimals. Magnus
-
So who else would rather spend 30 mins perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog than spend the 30 seconds it would take to do it manually. We need a 'flexing skinny, white geek muscles' emoticon
cheers, Chris Maunder
CodeProject.com : C++ MVP
Who would get more excited when you receive a software engineering book at home rather than a hooker inside a cake?
-
So who else would rather spend 30 mins perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog than spend the 30 seconds it would take to do it manually. We need a 'flexing skinny, white geek muscles' emoticon
cheers, Chris Maunder
CodeProject.com : C++ MVP
I would. Because if I can get the regular expression find/replace thing working properly, I can put it in a macro and use it again. For example: I have a macro that uses two regex find/replace operations to line up the columns in resource.h for my native Win32 apps. Visual Studio screws up the columns if your resource ID's have long names, and I've got some that are 70 characters or more.
Chris Maunder wrote:
We need a 'flexing skinny, white geek muscles' emoticon
Given that CP is an international site, how about one of Bob in a 'most muscular' bodybuilding pose :-D?
Software Zen:
delete this;
-
So who else would rather spend 30 mins perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog than spend the 30 seconds it would take to do it manually. We need a 'flexing skinny, white geek muscles' emoticon
cheers, Chris Maunder
CodeProject.com : C++ MVP
Yeah I'm down with that .. I'd spend the 30 minutes doing that (but only if I could spend the 30 seconds posting on here to show you how clever I am) :)
The only thing unpredictable about me is just how predictable I'm going to be.
-
Who else would rather spend days memorizing Pi with thousands of decimals, instead of just using Pi stored to a sufficient accuracy in your calculator? http://bigparadox.wordpress.com/[^] And I am not planning to calculate the circumference of the observable universe down to the planck length or something like that. And even if I would, I wouldn't need more than perhaps 50 decimals. Magnus
-
Yeah I'm down with that .. I'd spend the 30 minutes doing that (but only if I could spend the 30 seconds posting on here to show you how clever I am) :)
The only thing unpredictable about me is just how predictable I'm going to be.
Often, investing the time to automate something up front instead of doing it manually in less time makes sense because of managers. How many times have you been asked to do something 5 times, done it manually, and then had your boss come back and ask for 60 more? It's even worse when managers keep coming back for 5 more at a time because then you can't tell when they're going to stop and whether it is still optimal to write a script for the task.
-
I'm kind of wondering about his technique. I also wonder how he can tell what digit is at certain position, that seems wicked.
Well, I wasn't very clear about it, but the guy is me :-D My method is described there to quite a detailed level. But basically, to answer your question, I have an imaginary walk in my home town, Stockholm. The walk is imaginary in one sense, but real in the sense that I have walked along those paths many times in real life, so it is ingrained into my memory very firmly and naturally. Anyway, along this imaginary walk I have what could be called stations. I lump those stations into chunks of 10 stations, and super-chunks of 10 chunks and so on, so I can do random access to any station I like, given a decimal position in Pi. In each station I store 10 digits (so a chunk of 10 stations can store 100 digits). To store 10 digits in one station I need 4 words, mnemonics. 2 mnemoncis make 5 digits, so 4 mnemonics (or 2 mnemonic pairs) make 10 digits. So, if someone asks me what is the digit at position 2342, I just go to chunk 234 (with the help of super-chunk orientation if I need), and find digit 2 there, which is represented by the first letter of the second word. The translation from letters to digits is simple, a letter represents the digit it looks like, basically, with a couple of exceptions. So, an A is a 4, and I is a 1, etc. So, knowing what station 234 is in Stockholm, I have a small micro story there consisting of 4 words which more or less automatically pops up in my mind when I think of the place. I design the stories almost like headlines, for example "Bread-spread establishes Mexican food" (that is a micro story I have inside a restaurant I sometimes eat at). As you see, the stories can be designed to fit not only the digits that need to be stored at that station, but also to fit the place as such, like in this case a restaurant. It is a very easy and efficient way to memorize this kind of things. Magnus
-
Well, I wasn't very clear about it, but the guy is me :-D My method is described there to quite a detailed level. But basically, to answer your question, I have an imaginary walk in my home town, Stockholm. The walk is imaginary in one sense, but real in the sense that I have walked along those paths many times in real life, so it is ingrained into my memory very firmly and naturally. Anyway, along this imaginary walk I have what could be called stations. I lump those stations into chunks of 10 stations, and super-chunks of 10 chunks and so on, so I can do random access to any station I like, given a decimal position in Pi. In each station I store 10 digits (so a chunk of 10 stations can store 100 digits). To store 10 digits in one station I need 4 words, mnemonics. 2 mnemoncis make 5 digits, so 4 mnemonics (or 2 mnemonic pairs) make 10 digits. So, if someone asks me what is the digit at position 2342, I just go to chunk 234 (with the help of super-chunk orientation if I need), and find digit 2 there, which is represented by the first letter of the second word. The translation from letters to digits is simple, a letter represents the digit it looks like, basically, with a couple of exceptions. So, an A is a 4, and I is a 1, etc. So, knowing what station 234 is in Stockholm, I have a small micro story there consisting of 4 words which more or less automatically pops up in my mind when I think of the place. I design the stories almost like headlines, for example "Bread-spread establishes Mexican food" (that is a micro story I have inside a restaurant I sometimes eat at). As you see, the stories can be designed to fit not only the digits that need to be stored at that station, but also to fit the place as such, like in this case a restaurant. It is a very easy and efficient way to memorize this kind of things. Magnus
Just give this guy the damn geek award already.
-
So who else would rather spend 30 mins perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog than spend the 30 seconds it would take to do it manually. We need a 'flexing skinny, white geek muscles' emoticon
cheers, Chris Maunder
CodeProject.com : C++ MVP
No! I am Geek.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?"
-
Who would spend 15 minutes trying to figure out how to post a lounge reply on his new Blackberry, rather than spending 2 minutes waking up the desktop PC and doing it properly?
WE ARE DYSLEXIC OF BORG. Refutance is systile. Your a$$ will be laminated. There are 10 kinds of people in the world: People who know binary and people who don't.
-
So who else would rather spend 30 mins perfecting a regular expression search and replace in Visual Studio's Find/Replace dialog than spend the 30 seconds it would take to do it manually. We need a 'flexing skinny, white geek muscles' emoticon
cheers, Chris Maunder
CodeProject.com : C++ MVP
Me :D