« first day (1439 days earlier)      last day (3504 days later) » 

9:02 AM
Rassum frassum. One upvote on my BizTalk question; no answers
If nothing else, bump up the views
 
@TomW bumping.
Thinking ... POST/GET. Does the filters care about that?
 
probably do
 
HI GUYS
:D
 
not sure what I can do about it
 
I'm still hungover.
 
9:07 AM
@Sippy cool story bro
 
@Sippy that is usually a GoodThing(tm)
 
@gurun Since when? xD
 
@Sippy since the last time i said [never-again]
 
Lol
 
@Sippy what's the occasion?
 
9:11 AM
As in why did I get drunk?
 
yeah
But for him, it was Tuesday
 
Graduation
Spent £100
Just on drink T_T
 
well, that's understandable
BSc?
 
Yeeaaaa
Not brave enough for MSc or PHD :D
 
alllo
can someone fix this sql statement plz
stares at sippy
SELECT * FROM RESERVED_SEATS rs
WHERE rs.TRAIN_ID =
(SELECT DISTINCT ds.TRAIN_ID
FROM DAILY_SCHEDULES ds
WHERE ds.ORIG_LOC = 'BRSTLTM' AND UWTTID = '106478408');
 
9:14 AM
You will have to define fix
Because it isn't broken.
Also if that's in your code then USED PARAMETERIZED QUERIES YOU NUGGET
 
again with the numbers in single-quotes?
 
the quotes don't make a difference D;
 
That's wat u think
 
okay, it doesn't return anything
 
You're telling the database to match a string
 
9:15 AM
when it should
 
So it's slower
 
do I have to add a join or somethin
 
-3
Q: How to check whether or not I have missed the some msg?

刘旭_I use a distribute queue to transform msgs, how to make sure all msgs are transferred successfully?

 
Again need more information
:P
What's ds btw?
 
Anyone think i will get killed over the answer. I tried with "Use distributed transactions." but SO refused to let me answer under 30 characters :-(
 
9:16 AM
DAILY_SCHEDULES
 
@gurun Add a reference to another question or valid source
 
basically it's supposed to select the right set of results from reserved_seats depending on if it's train id matches the query in brackets train_id
 
shit .. I AM the source.
but .. talk about broad question :-)
 
you left me the other day gurun </3
 
@Shaun yes, sorry about that. Life was knocking on the door...
 
9:19 AM
no worries ^^
are you busy now?
 
and he forces me to play minecraft...
 
AFF
 
not a bad thing to be forced to play :p
 
LET ME TALK DAMN IT
 
halp sippeh
 
9:22 AM
Is this thing on?
 
sopy pls
 
completely off-topic. Can anyone recommend a really good IRC client.
 
Okay I'm back.
mIRC!
 
mIRC is the only way to go
 
is mirc still the thing to be..
 
9:23 AM
mIRC is fantastic :D
 
shit .. it's like all the way back to 96 for me :-)
last time i used that..
 
I was born in 95 D;
 
Haha, it doesn't look much different nowadays :P
 
hoep that makes you feel old @gurun
 
@Shaun Try SELECT DISTINCT TRAIN_ID
Rather than ds.
 
9:24 AM
shit, who said progress was good.. uhh
but honestly .. these web-based IRC clients .. doesn't make life easy.
(not this one, this works)
 
I'm feeling old now and I'm not even 30 yet. I remember lurking on IRC years ago back in the dialup days. In the long long ago hah.
I'd say I miss it but I don't
 
SELECT * FROM RESERVED_SEATS
WHERE TRAIN_ID =
(SELECT DISTINCT TRAIN_ID
FROM DAILY_SCHEDULES
WHERE ORIG_LOC = 'BRSTLTM' AND UWTTID = '106478408');
Tried that @Sippy, noc igar
 
@Shaun that looks like a big step forward. Does the query itself work?
 
it does not @gurun
 
very good. but you know, THAT is really on the right track.
(haha, track .. that was actually funny)
 
9:26 AM
guys i execute a query on the DB but with no order by clause ... it gives me the records but every time in different order. suppose I queried the same query twice in first attempt the record that appears first may appear in third line in second attempt.
 
@gurun do you have any idea why it won't work?
 
@Sadiq Do orderby
 
@Sippy I know
 
@Sippy wish i could start that answer together with the question :-)
 
what if i dont provide order by .. i want to understand the behaviour of DB
will the order be random evert time?
 
9:28 AM
@Shaun the fuck does noc igar mean lol
 
@Sadiq i think @sippy point is that if you don't do order by, then it is unordered.
 
@Sippy lmfao was meant to say no cigar
 
My point is invalid if he just wants to understand what causes the randomness of the collection.
 
@Sadiq random, yes.
 
@ gurun may be
 
9:29 AM
I don't know what causes the order to be different every time.
You could ask the question on SO
Or google it :)
 
ok
 
@gurun do I have to put a joint on that statement?
oh my god join*
 
@Sadiq whatever happens in the database when you execute that query .. is for the Gods to know. It is different for every query and every database engine.
@Shaun If you have a query editor .. and you can execute that statement through that. And you get the expected results. Then all that is left is to "parametrize" it.
 
@gurun Parametrize it?
 
I feel like I'm fighting an uphill battle with another developer who's been drafted onto my project <_<. My project and overall system is using an Entity First setup for the data model. First thing the guy says "I'll use code first, you'll change". I feel like I'm banging my head against a wall.
 
9:31 AM
I'm getting 0 rows though ;o
 
So, remembering the code you showed yesterday, you want to use the same code you commented out about setting the parameters. And then look at the documentation on that over at Oracle, because they had some really clear and good examples on how to do that part.
 
@CapTec Is it your project?
 
@Sippy Yep
 
the trick being that it needs to be "named" parameters in the SQL. They start with a ':'
like ':myparameter'
 
@CapTec if you're the lead, that will not stand. Right or wrong, it is done your way and if he won't comply you sack him
 
9:32 AM
If you're the head developer then tell him to fuck off.
 
SQL server .. i believe uses a '?'
 
@gurun can you link me to the documentation examples?
 
@gurun He's using C# .NET so there's no need use that.
 
@Sippy ?
 
The problem is, I AM the head developer, but he was hired by non programmers (my boss and another colleague without an interview might I add) and doesn't report to me directly.
 
9:33 AM
@gurun @notation
 
@CapTec then you are NOT the head developer :-)
 
@CapTec '[Bob] outright refused to follow the project's established standards' is pretty good justification to anyone
developer or no
 
@Sippy see what you mean. But he was using the Oracle Client API directly last i checked.
 
Well, if he doesn't comply that's exactly what I'll be doing
 
@gurun Oh yeah
It should be the same
@Shaun
What does your inner query return?
SELECT DISTINCT TRAIN_ID
FROM DAILY_SCHEDULES
WHERE ORIG_LOC = 'BRSTLTM' AND UWTTID = '106478408'
 
9:38 AM
@Sippy i think you are right. But I could swear i read that yesterday :-(
 
@Sippy I got it working
 
@Shaun gj nerd
 
;3
 
@gurun Whatwhat?
 
turns out I put the wrong UWTTID in lmaooo
 
9:38 AM
maybe i read the java documentation ;-P
 
@Shaun retard
 
you know me sipps
 
That I do.
 
@Shaun second @Sippy :-)
 
:D
Man in future when you come to us with problems we're gonna just turn into the IT crowd
2
Have you checked your variable values
Have you tried turning it off and on again
 
9:41 AM
hehe
Did you guys see this one IPAddress.HostToNetworkOrder()
Why isn't that class used by all the other binary/network stream stuff in .NET
 
the bottom commandtext returns results, but the top one doesnt
 
Java had the same thing .. lots of network stuff.. but not one single thing to deal with BE/LE stuff.
 
Shaun you're missing spaces
 
@Shaun the ticks '
 
where o.O
 
9:48 AM
Top one is doing origloc+AND
So it'd look liek
BRSTLTMAND
Instead of BRSTLTM AND
 
surely that doesn't make a difference O.o
 
Ofc it makes a difference
 
cmd.CommandText = "SELECT * FROM RESERVED_SEATS WHERE TRAIN_ID = (SELECT DISTINCT TRAIN_ID FROM DAILY_SCHEDULES WHERE ORIG_LOC =" + ORIG_LOC + "AND UWTTID =" + uwttid + ")";
so you're saying put a space after ORIG_LOC =?
 
No
Before AND
 
o
oh okay
 
9:50 AM
ORIG_LOC ='" + ORIG_LOC + "' AND
 
i'll try that
 
notice the => ' " +
i would maybe try Assert.AreEqual(..)
 
lolwat why
 
still faield D;
 
What does your profiler say?
 
9:54 AM
{"Message":"Failed","DataResponse":null}
 
uwort
 
cmd.CommandText = "SELECT * FROM RESERVED_SEATS WHERE TRAIN_ID = (SELECT DISTINCT TRAIN_ID FROM DAILY_SCHEDULES WHERE ORIG_LOC ='" + ORIG_LOC + "' AND UWTTID =" + uwttid + ")";
dafuq u mean by profiler
 
That thing I spent ages helping you find
So you could debug your SQL queries better >_>
 
that extension for sqldeveloper?
 
Yus
 
9:56 AM
yeah I installed the old version of sqldev
tried adding that
it was like no wrong version
 
Get an older version still then :P
Can you please use a parameterised query now
 
I DON'T KNOW WHAT THESE THINGS ARE
 
Lol
 
D;;;;
 
A query with parameters in it rather than trying to do string manipulation on the query itself
So you can't fuck it up :P
 
9:58 AM
you're going to have to show me
SELECT * FROM RESERVED_SEATS
WHERE TRAIN_ID =
(SELECT DISTINCT TRAIN_ID
FROM DAILY_SCHEDULES
WHERE ORIG_LOC = 'BRSTLTM' AND UWTTID = '811A04M624');
 
@Shaun does that query work ok?
 
@gurun I made the changes you said and it still doesn't work
what in the world is that sippy
 
@Shaun Does this query work?
 
10:01 AM
yes Gurun
 
ok.
 
Get the profiler working and watch what your program is passing in
 
And does it work when you execute from code, hardcoded like that?
 
Cos I can't see why the program would be passing anything different.
Looks the same to me.
 
@gurun That exact query works yes, but when I try to replace it with my variables it doesn't
 
10:02 AM
@Shaun i think you are fighting too many battles at the same time, that is why i'm asking.
ok.
so
 
@Shaun I think this is an RTFM situation now. Asking in here for every single stepping stone can't be an efficient use of your time
 
aha!
I fixed it
 
cmd.CommandText = "SELECT * FROM RESERVED_SEATS WHERE TRAIN_ID = (SELECT DISTINCT TRAIN_ID FROM DAILY_SCHEDULES WHERE ORIG_LOC = '" + ORIG_LOC + "' AND UWTTID = '" + uwttid + "');
 
@gurun yeah that's pretty much what I changed, it was missing the ' in quotes
 
<space> and '
 
10:04 AM
such little things ¬_¬
 
17 mins ago, by gurun
@Shaun the ticks '
 
@gurun I did add them in, but there was one missing at the end ;p
 
i'm just messing with you
You know. FUCK Google, ASK US!
 
yeah
fuck @TomW as well
;D
@gurun gurun is Malmo the city that is doing the expirement where you work 2 hours less a day?
 
I bought that t-shirt for one of my friends. He wear it at work. They hate his t-shirt, because it is so god damn true :-)
@Shaun if they do, i haven't noticed.
 
10:09 AM
oh I googled, it was in Gothenburg
 
@Shaun but i work in Denmark. They have this gigantic nation wide experiment with limiting work to less than 2 hours per day.
 
When you've opened a reader, ie using (SqldataReader reader3 ....
 
they had it for decades.
 
Can you use two reader3.read()?
 
@gurun I would prefer getting paid T_T
 
10:10 AM
@gurun What do you do for the rest of the day? o.o
 
minecraft servers
 
hahaha
 
@Shaun THIS IS WHY YOU USE PARAM'D QUERIES
NERD
 
you get to play minecraft at work?
@Sippy IF YOU LOVE PARAM QUERIES SO MUCH WHY DON'T YOU JUST MARRY THEM
 
WHY DON'T YOU LISTEN AND LEARN :P
 
10:11 AM
@Sippy I'll use them next time ¬__¬
 
You better
 
@Shaun they are free, cost no extra. Just use them. If you want to be a real programmer, you don't stop now.
 
If I see you butchering your code like that again I'ma sue AtoS for emotional damages
 
now you have something working, now you improve. And as @Sippy says, use parameters.
 
@Sippy THE S ISN'T CAPITAL FFFUUU
 
10:12 AM
becasue .. parameters also takes care of lots of stuff you don't do now.
 
lD
:DDDDDD
:DDDDDDDDDDDDDDDDDDDDD
 
like ESCAPING!!
 
guys I shouldn't be in here really
this can't be an efficient use of my time
 
@Shaun should we have a vote perhaps?
 
It's efficient if you start using param queries ;D
Or just use LINQ
Cos it's better.
 
10:14 AM
@Sippy not my decision ;3
 
why did you use oracle client in the first place?!
 
Sure it is lol
Just include the LINQ lib in your project and use it :D
No one gonna givadam
 
cause it's the only thing I know/only thing used in this project
I don't wanna use linq when nobody else has ;p
 
If your team all uses hard coded SQL queries then you need a new team :3
 
hihi
 
10:15 AM
@Sippy only things the other apprentice did ;p
 
Ah
 
@Sippy all their database connections are done in the back
like idek how they do it
 
then the other apprentice wants a smack upside the head same as you!
 
I can't find any connections anywhere ;p
 
Prolly in the config file T_T
 
10:16 AM
>_>
that wasn't even the most frustrating part
there's a fucking DATA type in the database that I have to include but whenever I try to query it it just shows no results
so retarded
fak u datetime
(this isn't me asking for help tom)
 
DATA = date?
 
yeah
same thing
;ppp
 
WELL, NO.
 
IT WAS A TYPO OKAY
YOU LOBSTER FUCK
FAK U SOPPY
 
shoen plz
 
10:21 AM
[noise]
 
sopy pls
do you prefer denmark or sweden gurun
 
Lol at that emma watson thing btw
 
lmfao I know
 
have they been leaked yet
 
10:23 AM
Look
It's sfw
btw
 
C# a memeber .. a field. How do I set the access like public const static whatever int myField; if i want the value only be set by the constructor of the object, and never be able to change after set.
is that even possible.
 
wat
Yes it's possible
Use readonly instead of const
readonly can't be changed except in constructor
 
hi guys
 
@Sippy AH, yes of course. Thank you.
very good :-)
 
10:43 AM
god i hate ternary
 
Then don't use it
Lol
It's useful in a fairly limited capacity.
 
not my method tho D;
 
@gurun :D some times i really talk wierd .. thanks for bearing that
 
@Sadiq no problem. We all do.
Just look at the Canadians !
Usually we talk about the relations between us (Europe) and the USA. But ocationally we include all the states in US and then we talk about North America.
 
11:18 AM
Where's roel :I(
:(
 
11:31 AM
he goes on holiday next week
so do I
what you gonna do @Sippy
 
@Shaun which country are you from?
 
UK
England
 
Aah okay
 
@Gotalove do you have lions in Kenya
lions and tigers
 
@Sippy you from UK as well?
 
11:38 AM
he is
 
hahaha dude your funny
 
;D
 
tigers live in wetlands no tigers in Africa but Lions yes there are
 
@Gotalove www.weebls-stuff.com/songs/kenya/ you have seen this before, yeah? :p
 
let me check it out
rotflmao!!!!!
man you killing me over here
 
11:42 AM
haha i'm glad you liked it
 
hahaha been listening to it since you posted
cant help it
And this guy ->Go kenyadians
 
you'll have it on loop for hours ;p
 
hahaha oooohh...
@Shaun you made my day
 
:D
(I didn't actually know Kenya didn't have lions)
that song lied to me
 
Kenya believe it...
 
11:49 AM
get out
 
Hahaha you gota meet us Kenyadians
 
@Gotalove yes
 
Now I wana go to Kenya too :)
 
Lol
Call from boss this morning
"Okay you're gonna be starting this new project with web API and angular JS today, here's some stuff to get you started"
Call from boss just now
"STOOOOOP! Someone just rang me and you gotta move project!"
Getting ragdolled.
 
hahaha @Sippy that must have sucked
 
11:57 AM
Meh, didn't even have the project structure done
Was watching videos on how angular works lol
 
hehe actually have no idea what angular js does
 

« first day (1439 days earlier)      last day (3504 days later) »