|
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
3. No sys-admin, networking, "how do I setup XYZ" questions. For those use the SysAdmin[^] or Hardware and Devices[^] forums.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen.
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 16-Sep-19 9:31am.
|
|
|
|
|
My professor from Design and Analysis of Algorithms class (who is BTW known to be a crackhead) is teaching Big Data Analytics in next semester and since I'm a crackhead too so I thought not only taking up that course but also doing my research with him.
I emailed him about my interest and he asked me to visit him during his office hours. Guess what... I went to his office and the only response I got from him was "I don't know what you are talking about"
So of course I had no option but to come back and perhaps reconsider my choice. But guess what... I just received email from him saying that I can join his lab as early as starting tomorrow with no further questions
I'm shocked since I know he doesn't accept students that easily and well though this means giving up my winter vacations and the very little time that I've been having these days for myself but still I'm happy and I guess a little proud too. Wish me luck
|
|
|
|
|
The last horrible late night shift at the nursing home is over.
On to nursing school.
Woo. He hopes Doctors without borders won't send him to chad. I figure anywhere they'd send you is somewhere nobody wants to be so I'm wondering why he draws the line. Chad isn't even in the worst 5 I can think of off hand.
Anyway, he's getting a bit ahead of himself. He hasn't even gotten accepted into nursing school yet.
Nor learned french. Though he knows spanish and picks up languages like i pick up programming languages so it's not much of an issue.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: Chad isn't even in the worst 5 I can think of off hand.
I can thing of three worse: Syria, Chernobyl, Luton, ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Talking about Luton, how's your follower doing nowadays?
Haven't heard anything for quite a while.
|
|
|
|
|
honey the codewitch wrote: On to nursing school. A noble profession. Hats off to him for wanting to do this.
/ravi
|
|
|
|
|
honey the codewitch wrote: I figure anywhere they'd send you is somewhere nobody wants to be so I'm wondering why he draws the line. Helpers are usually welcome, but there are morons everywhere so one can't be 100% sure.
honey the codewitch wrote: On to nursing school.
Woo. He hopes Doctors without borders Kudos
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
My wife if one of those people you can trust to organize anything (not technical).
She also fittingly works as a project leader.
So after a long and stressful autumn with a lot of deadlines and to many projects, her company invites her to a "conference" at a spa in Bad Gastein.
Guess who arrives at the airport with my passport?
|
|
|
|
|
Quote: you can trust to organize anything (not technical).
Checking the passport maybe a little too technical?
OK, I'll get my coat! 
|
|
|
|
|
Jörgen Andersson wrote: Guess who arrives at the airport with my passport? Common police tactic.
She's worried you will run far away.
What did you do?
<< Signature removed due to multiple copyright violations >>
|
|
|
|
|
Stayed home with the kids?
|
|
|
|
|
If a tree falls in the forest and no one hears it, does it still require the use of protective headgear, footwear, and HiVis clothing rated EN ISO 20471 Class 2 or above?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I only ever banged my head on building sites when I was wearing a hard hat -- the peak stops you see scaffold bars, etc. that are just above you.
I figured it was something to do with Earl Williams' "production-for-use" theory.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I've heard of a wooden expression, but never of a wooden H&S inspector.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Slang is kinda big, and build tools used in a pre-build step don't need DLL's to be dragged along with them.
But a slang enabled exe can be 350k easy in release mode.
So what I've done, is endeavored to remove
A) the startup processing time of a slang enabled code generator tool
B) the dependency of said tool on the large CodeDOM Go Kit (which includes Slang)
How I did it was I went meta, and I wrote code that generates code that generates code.
In this case, I can take all the work that slang requires and prebake it, because now I can serialize those code trees to arrays as code, so now I don't slang to reinstantiate them.
It's confusing to explain but easy to use.
So now i have this tool, Deslang. Basically you can precook all the work slang did into the code, add your dynamism by visiting that tree that got from Deslang as a prefab array (no slang required, just one visitor file) and add in your dynamic arrays or whatever that you wanted to generate.
Normally
Build Tool -> Slang -> Output
Now
Build Tool -> Precooked Slang -> Output
The latter runs a lot faster, and the build tool binary winds up a lot smaller because i don't need to include all the CodeDOM Go Kit source code.
Works perfectly for rolex, where 80% of what Slang is used for is easing maintenance - it's just static code, but it's written in slang just so it can be language agnostic and not force me to manually build a codedom.
Point is this is is clever. Rolex is 200k !! smaller and lightning fast now.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
modified 20hrs ago.
|
|
|
|
|
all that sounds very nice
but please tell us it's getting a new icon too!!
<< Signature removed due to multiple copyright violations >>
|
|
|
|
|
lopatir wrote: but please tell us it's getting a new icon too!!
We don't need no steenkin' icons!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Daniel Pfeffer wrote: We don't need no steenkin' icons! Yes you do! You've just used a double negative
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
We don't need no stinkin' grammar police!
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Explanation[^]
Thank you so much for the condescending tone.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Icons? What are those?
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Tripping through some older but still used C code, I found this section:
action a;
if ((a = hash_table[r]) && !cmdcmp(commands[--a].name, p)
|| (a = short_hash_table[r]) && !cmdcmp(commands[--a].short_name, p)) r = a;
else r = -1;
Somebody sure put a lot of faith that the order of evaluation, especially short-circuit evaluation, would remain the same across compilers!
Of course, the programmer saved a couple of characters by excluding four(?) unnecessary parens.
Upon further investigation, I found many instances of this type of statement structure. Apparently that was the preferred coding style. So, I'm guessing the programmer probably saved 100 characters. But it takes a lot of time to examine each statement and hopefully understand what is going on.
|
|
|
|
|
I hate that kind of stuff. I always add the redundant parenthesis because I want to be explicit about what is going on and I find it helps in deciphering the statement. I do NOT want to rely on the precedence order.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Yup, I'm pro-parenthesis too. Real important in Regular Expressions as well.
|
|
|
|
|
caveat with parenthesis in regular expressions. Unfortunately, with some engines () creates an unavoidable capture (no way to turn it off unlike in PCRE or .net regex)
So if you're using like, Microsoft Visual Studio search and replace w/ regex (which i have to from time to time) it pays not to use extra parens. You're not maintaining that regex "code" anyway and the parens just make it so you have to keep advancing $1, $2, to $3 for each group and you only get 9 of them so it's maybe not the best idea to use extras.
I bring this up because 50% of the time i'm not tokenizing i'm using regex in something like a search box and the above applies.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|