« first day (18 days earlier)      last day (3221 days later) » 
00:00 - 21:0021:00 - 00:00

12:06 AM
@PaulDixon I want to move to the UK now...
 
Wait, people in the UK have less paid holidays than someone in Saskatchewan who has been at a company for 10 years?
I think people here just assume workers in Europe get more time off, so we keep giving ourselves more stat days
 
 
1 hour later…
1:13 AM
/waves
Hi everyone
 
@Angelina hi
 
1:29 AM
@Angelina Howdy
 
1:45 AM
Hey there
 
Noone has said hi in about 10 minutes, so hi!
 
it was something interesting here just after this chat has been released, and now only Hi's :-S
 
And yups.
Don't forget yup.
 
LOL. Don't forget that one
 
yup... it is really boring
 
1:56 AM
entertain us @zerkms
 
Hi.
 
@Josh: i'm too lame in english for that :-S
 
I am occupied with planning a series of blog posts I'll never get around to writing.
But they will be planned, oh yes, they WILL be planned.
 
/me in the deep-process-of-database-architect-for-yet-another-dummy-intranet-bank-tool
 
Of course, they'll likely be read by the same number of people whether I plan them, or actually post them somewhere anyway.
 
2:00 AM
@zerkms Know JavaScript? Want to help me reverse-engineer the chat system? :-D
 
@Josh: this chat?
;-)
 
The last comment in the C# channel seems to convey a sense of excitement followed by profound disappointment. It's very disturbing.
20 rep was easier than I thought, hi guys, nice to finally meet you!


The last message was posted 2 hours ago.
 
20 rep, lol
 
860 rep was a heckuva lot easier than I thought.
Mainly because I had what seemed like a horrible slump at about 90.
 
@zerkms yup, this chat :-)
6
A: Offer an XMPP method for chat

The Unhandled ExceptionUPDATE 2010-10-29: I now have very, very, very basic XMPP support working, written in Ruby as an XMPP component. The code can be checked out from http://trac.digitalfruition.com/soxmpp/browser/trunk and I am documenting the progress in the Trac wiki. At the moment there is no write support but I...

 
2:09 AM
If I edit the DOM in my browser, can you see it?
 
@mootinator: sure no
 
nope
that would be a cool (and very evil) trick if it worked @mootinator
 
lol, I know.
 
@Josh: why to reverse JS? at first glance the communication protocol is pretty trivia
 
@zerkms Because I've run into a snag
 
2:11 AM
The plot thickens...
Speaking of thickening, I've neglected to eat.
 
@zerkms in the JSON feed of events for the chat, all HTML is encoded... so if I type: <p>this is some code</p>
what's sent in the JSON feed is: <code><p>this is some code</p></code>, but, all HTMLentities are encoded
I need to figure out how to decode only the right ones :-)
 
all HTML is encoded... so if I type: \u003ccode\u003e&lt;p&gt;this is some code&lt;/p&gt;\u003c/code\u003e
to be clear - it will send this
:-S
 
@zerkms Right.And I'm passing that to Ruby's HTML decoder, and I get back <code><p>this is some code</p></code>
oh... hm
 
well, do what browser does ;-)
it decodes everything
 
is the \u003c JSON?
 
2:16 AM
\u003c
<
 
@zerkms That's what I'm doing now, and the result in my Jabber client is incorrect
@zerkms But what is that? It's not a standard HTML encoding... How can I decode only the u[0-9a-f]+ part in Ruby?
...I think need to review what my code is actually doing, LOL
 
it is regular utf character
 
hm. so then, I'm not sure where in my code that's being decoded, lol
 
U+003C < 3c LESS-THAN SIGN
 
@Josh do character sets need to be decoded?
maybe your string representation is just in the right character set....
or the wrong one?
 
2:22 AM
Well maybe @body = CGI.unescapeHTML(encoded_html) should just be @body = encoded_html now...
let me see...
 
at least you should not decode it
(if your client can render html)
s/decode/unescape/
 
let me test again
That might have worked...
I'm using Pidgin on this laptop, and it doesn't show me any formatting...
I wonder how to make Pidgin display HTML XMPP messages...
maybe Unicode was the key @zerkms
 
i don't get how unicode is related to html rendering :-S
 
What I mean is, maybe something else was decoding the unicode
so when I stopped decoding the HTML encoded text, everything worked
I thought it was my HTML decode function that was decoding the unicode, but, it looks like I was wrong
 
2:54 AM
you guys suck. i get 6. plus 7 days of vacation.
 
@entens: lucky you ;-P
 
3:24 AM
@zerkms IT WORKS NOW :-)
 
3:37 AM
@entens: remind me never to work wherever you work.
 
4:22 AM
night
 
 
2 hours later…
6:08 AM
Uhm, guys, i need some help with syntax analysis. having this declaration: int x=2,y=3,z=x+=2*y-3*x?++y>4?(8-4)*x:25:x--&&y/3?x<<3:5; in vs2008 gives z=9, i placed brackets this way: int x=2,y=3,z=x+=(2*y-3*x)?(++y>4?(8-4)*x:25):(x--&&y/3?x<<3:5); and got the same result.
the question is, if i'm working on c expressions evaluator, do i have to split this expression(without brackets) on n'th ":" if i had n "?" in line? Or is there a way to describe regular grammar without such tricks?
Separately:
int x=2,y=3,z=x+=2*y-3*x?++y>4?(8-4)*x:25:x--&&y/3?x<<3:5;
turns into this:
int x=2,y=3,z=x+=(2*y-3*x)?(++y>4?(8-4)*x:25):(x--&&y/3?x<<3:5);
 
 
3 hours later…
9:36 AM
Hello.
 
9:51 AM
hello @Chouchenos
 
 
2 hours later…
11:54 AM
Is there a way to search for keywords in answers. I want to look for a good design patterns book in the stackoverflow.com/questions/194812/… thread
 
12:53 PM
@Anton you need to check all your operator precendence's and place brackets based on those
 
 
1 hour later…
2:09 PM
does anyone know if it possible to only display questions tagged with your favorite tags?
I kind of seem to miss this feature
hmm apparently there is a feature request for this on meta
 
it's not possible
this feature-request exist since a long time and it's not possible
@OctavianDamiean We have some discussion about that chat.stackoverflow.com/transcript/message/67976#67976
 
2:34 PM
@OctavianDamiean Look for the "interesting tags" section on the right side of stackoverflow.com/questions. Then add whichever tag into that box and hit "add". I use it :)
 
2:52 PM
hello
 
hello @Sagar
 
3:10 PM
how's it going?
 
I am fine and code
 
these "n hours later.." look like transitions in a detective movie
except that continuation is completely unconnected to what happened before
on a second thought, that's exactly how it works in these movies
 
3:33 PM
haha
yep
 
anybody in here can help translate my TSQL to Oracle?
probably simpler than that :\ ... just want to know how to specify date range checking on a field
in TSQL I would WHERE ReadDate <= '01/01/2010' AND ReadDate > '12/01/2009' and let TSQL handle the conversion, does Oracle do the same?
 
WHERE the_date < to_date(20-Mar-2010) AND the_date > to_date(20-Feb-2010) I believe
 
k, thanks for the pointer, I'll followup on that
 
or give the format to to_date()
 
ahh for the love of things we don't know and don't know what it is we don't know
 
3:44 PM
the dates in to_date have to be in single quotes
@ZeissS so to_date('20-Mar-2010')
 
AFAIR, the default format for oracle is "DD-MON-YY"
 
Aah ok. That would make it easier then using a function then...
 
thanks guys, running my openquery :\
Wouldn't it be nice if there were a language where we could query datasets neutrally and expect the language to be consistent ... oh yeah, what was I thinking, I'm dealing with dates here :( :p
3
 
LOL
 
Reckon they'll put date functions into the next sql standard? ;)
 
3:47 PM
even so, there is a date standard that should be used
aah convincing people to agree on something...fun times
 
lol, true
beautiful, thanks for the help guys, now my query is at least human-parsable and makes sense :D
next question, is it true that the best way to select the top 1 row (cos I only need to validate that my query is working, I don't need to do the whole select yet) is a where on rownum <= 1
 
working = parsing by the server? then WHERE 1 = 0 ;)
 
well in this case I needed to make sure my date select was right, so that was my defintion of working ...
 
I would guess that a rownum <= 1 would still perform the full query, since the rownum is only applied to the resultset when it is sent to the client.
 
yeah, so is there a way to put less stress on the server? or should I just say "eff it" and run the rownum where clause?
 
3:52 PM
true.
Is there anything special about the 1st row?
Apart from the fact that it is the first row?
 
nope
 
Morning everyone
 
but TSQL runs faster with a top n query than if I use rownumber, so I figured Oracle would also have a similar feature... no sense running the whole query THEN pulling out the data that you want if you know you only want n rows to begin with ... but then again, I know that I don't know how the ORA engine works, so I'm only asking if that's the best syntax, and showing my usecase ...
I feel such a noob :\
 
Afaik ROWNUM is the only way to add a limit to the number of rows you gain. You could check the execution play of your query w/ and w/o the rownum limit.
 
yeah but I'm running it through TSQL (MS SQL) Openquery so I really don't get an execution plan back.
I also don't normally spend any time in Oracle land so ...
 
4:08 PM
What would your TSQL statement be?
 
Simply? Something like SELECT TOP 10 * FROM table WHERE LOGDATE = '01/01/2010'... I'm just doing a little checking to see what records exist on certain dates before I try and decide if I need to process them, a little manual recon before deploying the automated scripts
because if the data doesn't exist for those days then I would need to know that too
and since I only want to pull a handful at a time (applying stronger where clause filtering as I go) then I use the TSQL TOP 10 nomenclature so I don't tie up the engine doing all the full seeks across the data
additionally, on my tables I can control the indexing and such, on the Oracle I have no governance, only the use of the Openquery API
 
SELECT * FROM ( SELECT * FROM table WHERE date = to_date('20-Mar-2010') ) WHERE ROWNUM < 1;
I think this would give you a smaller subset to work with. I also have not used SQL in a while, so I might be completely off
 
4:26 PM
@Sagar thanks for the input. I've pretty much got the same query in my oracle segment as is, except I didn't nest the inner select. Can you think of a reason why that would make it faster? (now we may be getting into SO question territory and not simple rubber ducking) ... and besides all that, I'm really not that upset if I saturate their server, it's a beefy enough Oracle box from what I've been told.
And the recordcounts are huge on those tables, so it's going to take time to slog through them anyways ...
 
you could try if a COUNT(*) is faster than the rownum thing, since it might use the index better
 
but I need to actually see some of the data
 
@drachenstern I'm not a 100% sure that it would make it faster, actually.
The inner query would run first, but I guess it would still run on the entire dataset...basically nullifying the advantage you need....dang
Can you try a time-taken-for-query test?
lol
 
what it boils down to is that while this code (following) is sufficient for what I need, I'm just worried that there is a more appropros way to build the query. (and ignore my dates, those are purposely narrow for right now)

SELECT * FROM OPENQUERY(linkedserver,'
SELECT *
FROM table
WHERE LOGDATE < to_date(''03-Aug-2010'')
AND LOGDATE > to_date(''01-Aug-2010'')
AND ROWNUM < 101')
 
4:44 PM
hmm I think it might be an SO question now.
 
lol, I think I've gotten as far as I need to. I'm not THAT worried about the performance of this query.
but thanks for sure
 
lol
np
 
5:02 PM
hey
 
welcome @Richa
 
@drachenstern thanks
:)
how you doing
 
well, I've not gone home for the day ;) ... I'm ok, just babysitting some long-running sprocs and keeping notes on performance characteristics for a bit
 
Hello @Richa
 
hey Richa. How's it going?
 
5:05 PM
@drachenstern you from India?
@shingara hey Buddy!
yuour hello makes me smile :)
@Sagar evrythng is fine here
but lil bit upset I havn't enjoy Dhanteras
 
@Richa nope. quite USian
 
btw Happy Dhanteras to all
:)
@drachenstern quite ? what does it mean?
 
And Happy Dhanteras to you too
 
:-o
 
what is the Dhanteras ?
 
5:08 PM
@drachenstern thanks!
 
I know...I'm missing Dhanteras too. Did you buy anything? I have to go get something today...
 
@shingara Its a festival in India
 
@Richa I'm from the US ... we tend to append either "an" or "ian" on to country names to indicate point of origin, so "Columbia" -> "Columbian" or "Mexico" -> "Mexican" and if I put "USan" it looks weird. I'm sure there's a rule about it and that I'm doing it wrong, but so be it. Just a local colloquialism
 
@shingara have you heard about India's biggest festival Diwali?
 
@Richa no, sorry :(
 
5:10 PM
@drachenstern hahahha :D interesting .. I get you now
:)
@sagar nah ! was in office :( till late
 
ok
 
@shingara ohh ..its ok ..
its like Christmas .. same energy ..same excitement
:)
 
and you celebrate christmas too ?
 
yep
In India, it is hard to not celebrate any festival that comes along...
 
@shingara yeah .. we enjoy .. but not celebrate
@sagar .. yup agree ++
 
5:15 PM
Well celebrate in the sense, not all of us go to church for Christmas, but I've gotten and given gifts before, and we go out to eat
etc, etc
 
hello all
 
hello
Anyway, I'm out for lunch...will be back soonish
 
when i post a wikipedia link on chat.stackoverflow.com
a live preview is displayed
 
@sagar lunch ???
 
how can i do this in my project?
 
5:16 PM
I thought you from India??
@sagar
 
@mahen23 you can use the soapbox to test
if you want to do something in your own project you might consider purchasing code?
 
i am ready to purchase code
i just want to know if this code is already avaliable
is there a framework / javascript library that does this ?
 
lol, ahhhh, the rub. I have no clue. Email jeff.atwood@stackexchange.com (or someone, who knows!)
 
@mahen23 code it :)
 
@shin
@shingara i do not want to re-invent the wheel
 
5:21 PM
it's not re-invent, it's to do it
if I want the same view of google. I can't have it. I need code it :)
it's something do in server side, not in your client side
 
and ? it's something else. Use it if you want
 
anyways, but the live preview in chat.stackoverflow.com is the most awesome shit i've ever seen
kya yaha parr bhi hindus hai?
 
@mahen23 haan hain :P
 
hehehe
 
5:34 PM
ohh you from India?
 
Diwali ki preperation kaise chal rahi hai?
no am from Mauritius, but am hindu too
 
hmm.. late night office
kuch nahi preparation kiya :(
I love maurititus
> :) <
 
 
1 hour later…
6:42 PM
hello
 
ty
how goes it?
 
it goes
 
I know the feeling...3 more hours
 
meh, just waiting on some queries on my end
 
6:56 PM
I'm feeling like punting babies myself.
 
but they do take their sweet time
 
lol
Have either of you (or anyone else here) tried converting a board game into software?
 
Technically yes sort of.
 
I'm just wondering what IDE/language would be the easiest to use.
I know, very generic and subjective...
but I can't think of where to start...
 
That's where the sort of comes in. I was involved in design, not implementation.
 
7:01 PM
Aah
 
For a friend who was in 1st year university, so he naturally went with Java/Netbeans
 
I can see it in my head, but I can't translate it into a GUI
Oh ok
 
I converted battleship to C# for a class with 2 other teammates 2 years ago
what board game?
 
Monopoly
 
Qt is awesome for stuff like that.
 
7:04 PM
so a) monopoly has been done, b) monopoly has a grid-like board
which part are you having issues with?
you need three components: dice area, money and inventory cards, and gameboard with pieces
 
Er, not Qt.
 
@drachenstern It's been done a hundred times over, and then some...this is just a personal project for me, something my friends and I can use
 
I was going for Tcl/Tk there.
I've never used Qt
 
also, i have the components in my head...but its just the language...I'm a C++ coder, and I've never done any major gui designing
 
Damn short language names.
 
7:07 PM
lol
 
@Sagar try something new ... try writing it in C# ... you might be surprised
 
IDE? MSVC#?
/MSVS
 
yeah, visual studio
 
ok
thanks...I might come back and haunt you with questions lol
 
7:11 PM
lol
unfortunately, none of my friends know anything about programming...it is going to a fun, but long, solo project
 
7:23 PM
That is one surprisingly fast 6267 page report.
 
LOL 6267 pages?!
 
Yeah. I assume they're normally not going to look at every transaction.
 
For their own sakes, I hope they don't
 
Had to join 3 sets of data having no actual relations together.
 
ugh
What did you join by?
 
7:29 PM
date ranges
 
oh good lord
 
:S
 
hopefully it wasn't an expanded outer join
 
No.
Somehow ROW_NUMBER and a recursive cte came up with the right values.
 
cool
 
7:33 PM
and how long did it take to run?
 
I've got a nice little union I need to setup based on dates, but for now manual manipulation in excel is fast enough for what I need
 
Takes about 29 seconds to run on the sql server on my laptop.
 
oh not bad
 
It seems really fast given that I'm working in a codebase which has reports which take 17 minutes for no apparent reason anyhow.
Well, no not no apparent reason, I just haven't had time to tune them.
 
lol
17 minutes!?
How large is your dataset?
 
7:42 PM
The "worst performing" involve table scans on both a 900k row and a 300k row table.
Though they originally had a pointless cross-join on the 300k against itself which would take a good 3 hours to finish.
That, and my only experience with SQL Server before taking over was on a ~60 hit per day e-commerce website, lol. So it took awhile to figure that one out.
 
wow
You seem to have settled in well...or without choice...
lol
 
8:16 PM
???
0
Q: Blacklist Logic Help

tkingI need some ideas for the logic behind a project I want to implement. Basically we have been having a problem with a few (under 10) "customers" using fraudulent credit cards. What happens is they use the credit card, (which is valid) to buy items and ahve them shipped to them. Then the real ca...

doesn't the answer given seem like the first obvious solution?
 
I'm surprised they have not already gone to the cops
 
rather jawdropping isn't it?
 
A little on the not-so-smart side if you ask me..
especially when they know the address..and its not changing
Have either of your companies ever done a restructuring? In the sense of position names, not layoffs.
*any
 
not mine
 
Like changing embedded software developer, to just developer, or software engineer.
ok
Ours just did it, and we're finding out the new position names today, along with a I, II or III
and I don't know why, but I'm a little nervous...
We didn't even know they were planning to..
 
8:28 PM
I would be worried
unless they're planning either a new rate structure that gaurantees you a raise or if they're planning a future merger/acquisition and getting their ducks lined up in a row ...
 
We had a meeting today, and the engg manager told us they would give us our new HR letters with the position name, and show where we lie salarywise
based on some consusltant research group's findings...
 
be prepared to run :p
consultancy changes aren't usually a good thing
ever see the movie Office Space?
 
Oh yeah
and ever since, I get nervous at the word 'consultant'
 
What's the reason for the restructuring?
(other than keeping consultants employed, which is of course Very Important)
 
8:34 PM
No idea.
Well
to give better position descriptions is what I heard
'officially'
 
Wow. What a complete and total waste of resources.
 
well, all of us are called "Embedded Software Developers" and that is not entirely true for many of us...so...it could make sense, right?
 
It could
There's probably a 90% chance you'll get a better salary
But there's only a 10% chance of that
 
The Bills are comin
 
@LasseVKarlsen lol, you studied statistics too? :p
 
8:38 PM
Well, I'll know by tomorrow. We're all supposed to get our letters by then
fun times :S
 
I tend to view anything that isn't actually making products better as a waste of time. I've never seen a reason to be concerned with the actual name of my position =)
 
I saw "The Naked Gun"
 
We get to pick our titles.
 
(actually, I didn't even know what it was officially until I was promoted)
 
@StephenCanon lol
@mootinator nice!
 
8:39 PM
In that movie, Leslie Nielsen said: Nordberg has a 50/50 chance to survive, but there's only a 10% chance of that.
 
@mootinator: yeah, we pick the titles that appear on anything public like business cards.
 
@LasseVKarlsen I just realised what you meant LOL
 
yeah, I was surprised that somebody thunked a box of business cards on my desk one day... "You're official now" ... six months later I have an office with a door and a window
 
haha
 
Ostensibly I'm a "Software Developer / Analyst"
 
8:40 PM
Most of my self-titles get turned down when business cards come.
 
in reality I'm a really talented whackamole player
 
lol
 
Internally, I'm a .NET Ninja
 
My cards just say "mathematician" =)
very boring.
 
I want to convince my employer to print business cards involving the word "Imagineer"
 
8:43 PM
@StephenCanon you should push for "mathemagician"
 
one of my coworkers has "Security Redneck" on his card.
 
hahaha
 
8:57 PM
Euggh
 
@mootinator: ?
 
?
 
00:00 - 21:0021:00 - 00:00

« first day (18 days earlier)      last day (3221 days later) »