« first day (2039 days earlier)      last day (2924 days later) » 

2:00 PM
@Mr.Toxy That's not a copy/paste.
 
!!forget fuck
 
@rlemon Command fuck forgotten.
 
@OmegaExtern hmm yes it is m8, I've translated it to english
 
sorry to be the party pooper
 
I kinda wanted it deleted
 
user47589
2:00 PM
thanks @rlemon
 
Dunno about the rest of yous
 
10/10 that would get flagged in another room
 
user47589
it was a bad command
 
Wasn't exactly tasteful
 
@rlemon Now perma ban the user
 
2:01 PM
!!zoidberg fuck command
 
@mikeTheLiar The fuck command is bad and you should feel bad
 
!!tell
 
@Mr.Toxy Invalid /tell arguments. Use /help for usage info
 
!!/help
 
@Mr.Toxy Information on interacting with me can be found at this page
 
2:03 PM
!!listcommands
 
@Mr.Toxy That didn't make much sense. Maybe you meant: listcommands
@Mr.Toxy help, afk, ban, convert, define, die, doge, eval, forget, google, hang, imdb, info, jquery, learn, listcommands, listen, live, mdn, meme, moustache, msdn, mustache, nudge, refresh, spec, stat, stats, summon, tell, unban, undo, unonebox, unsummon, urban, weather, welcome, wiki, xkcd, youtube, zalgo, !, !!, $.baby, (4337654<<1)+1, (y), /somecommand, 2020/07/23, 3, 666, :p, </pissing>, ?, ^, ^5, abesnacking, abhi, abhishekpornfreak, acronym, adhd, ah, ahah, algosmarts, aliens, am
angryticks, answer_to_everything, apocalypse, appreciated, archerneat, artisticpoop, artisticsilo, asd, as
 
!!die
 
@Mr.Toxy I will shut up after 1 more invocations.
 
hello guys, I am in need of some coding advice. I know that it's generally bad practice to hit a database in Unit Tests except in exceptional circumstances. I'm taking a TDD approach to an MVC project using EF. My first test is DatabaseShouldExist(). Is this an exceptional circumstance? I want to check that EF generated the DB and my next test will be to check if it contains the the correct seed data.
 
1
Q: I'm getting 'ORA-01745: invalid host/bind variable name' error while adding data into the oracle database

ProblemChildWhen I try to add data into the database, I get this error. Certain information I obtain, gets added to the other tables I have created. This problem occurs only regarding one table. Here's my code : public class NewOtherCompanyMapper { OtherCompany om; private Database db; private ...

 
2:03 PM
o.O
 
@Mr.Toxy I think the problem is the parameter :where
Change the name of that parameter, where is a reserved word
 
Was about to say that ^
 
@OmegaExtern hmmm that thread isnt helpfull xD
@mikeTheLiar okk gonna do that
 
I feel slightly evil
Pinged boltclock with zevee's profile hahaha
 
@Sippy you are slightly evil
 
2:06 PM
I know that it's generally bad practice to hit a database in Unit Tests except in exceptional circumstances. I'm taking a TDD approach to an MVC project using EF. My first test is DatabaseShouldExist(). Is this an exceptional circumstance? I want to check that EF generated the DB and my next test will be to check if it contains the the correct seed data.
 
hahahahahaha
@mikeTheLiar I've changed it, same error T.T
 
Can you post the actual code?
 
oh good lord.
 
public string UpdateVersion(string newVersion)
        {
            if(ORAConnection.State == ConnectionState.Closed)
                ORAConnection.Open();
            BeginTrans();
            // var update = new OracleCommand(@"UPDATE APPLCONFIG SET GGDSC ='" + newVersion + "'" +"WHERE GGCOD = 'APP_NAME'",ORAConnection);
            //var update = new OracleCommand(@"UPDATE APPLCONFIG SET GGDSC = '" + newVersion +"'"+"WHERE GGCOD = :where",ORAConnection);
            // update.Parameters.Add(new OracleParameter(":where", "'APP_NAME'"));
srry being spamming commands, I curious hahahahaha
 
user47589
Can you please play with Caprica's commands in another room?
 
user47589
2:09 PM
Satisfy your curiosity in the Sandbox please.
 
@Mr.Toxy that's what the Sandbox is for: chat.stackoverflow.com/rooms/1/sandbox
 
@Amy oki I will stop
 
HAMMERTIME!
 
^^
 
user47589
thank you
 
2:09 PM
Caprica wants to continue
:D
 
wow
 
user47589
10 messages moved to Trash can
 
that guy, just wow
thx amy, i was about to do that
 
user47589
You can't do that.
 
haha
 
user47589
2:10 PM
1 message moved to Trash can
 
But he was about to! Now hush
Did you get something nice for b-day?
A new horse!?
 
I can delete my own XDD
@mikeTheLiar I will leave it as it was
 
@Mr.Toxy I don't think this is an Oracle/SQL error. I think this is a configuration error
 
posted on May 16, 2016 by ericlippert

At the east end of this narrow passage, a ladder leads upward. There’s a strong draft from the west, where the passage narrows even further. There is a small pile of coal here. > take the coal Taken. > go … Continue reading →

 
@mikeTheLiar hmmm if it's that it's beyond something I can do here
 
2:14 PM
@Mr.Toxy you can delete them, you can't move them to another room.
 
can you guys do !!ban?
 
!!ban yourmom
 
@Sippy The user will be thrown into mindjail in 1 more invocations
 
there you go
two owners can ban problem users from bot access
@Amy
 
Woo
 
user47589
2:15 PM
thanks @rlemon
 
protip: when banning PLEASE do it by ID, if there are two nicks in the room it bans the first it finds in the DOM otherwise
:?
 
oh I see
 
Hmm
 
anyways hmmm my rollback isnt working :\
 
user47589
!!unban
 
2:16 PM
@Amy You do not have permission to use the command unban
 
Anyone used XP_CMDShell before in SQL ? (I know how to run a batch file from SQL env)
 
user47589
@rlemon okay, so if we ban a user from using cap, how do we undo it?
 
!!unban <userid>
 
@rlemon isn't in mindjail.
 
nuuuh
caprica is like
 
user47589
2:17 PM
It told me I don't have permission, though.
 
user47589
Is that command reserved for specific individuals?
 
user47589
I vaguely recall some commands are reserved for JS room owners.
 
probably. I can't remember all of the permissions
:P
 
Guys I have a stupid question, as usual
So I have this method with a nullable parametr somnething like this GetSomeThing(int id, int? someNullableId)
 
 [TestMethod]
        public void Rollback_01()
        {
            //Start version is 4.5.5
            var StatusFinal = Funcoes.OpenDB("User ID=ORCA30; password=teste; Data Source=ORCADB1_QLD; Connection Lifetime=30; Max Pool Size=256; Min Pool Size=5; Pooling=true; Persist Security Info=true");
           var StartVersion = Funcoes.LookUp();
            Funcoes.UpdateVersion("5.0.0");
            Funcoes.Commit();
            var EndVersion = Funcoes.LookUp();
            Funcoes.Rollback();
 
2:19 PM
But I want to know what the sp_conf 'advanced options' flag
exec sp_configure 'show advanced options', 1;
GO
Reconfigure;
GO
 
after rollback shouldnt the value be 4.5.5 again?
 
I want to know the value before i force it to 0
 
But If I call this method like GetSomeThing(someId)
It asks me to pass the nullable parametr too
why??
If its nullable
i should not need to pass null to it
 
user47589
its nullable but doesn't have a default value
 
it works fine if I do GetSomeThing(someId, null)
 
user47589
2:20 PM
its the same as having any other nullable class parameter. its still expected
 
user47589
if you dont want to provide it, give the parameter a default value
 
user47589
nullable is not the same thing as optional
 
oh so i should give a default valvue
GetSomeThing(int id, int? someNullableId =0)
But its stupid to give a default value for a nullable parameter
Isnt it?
 
user47589
then make the default value null
 
If I have:
SELECT *
FROM sometable
ORDER BY somecolumn

Is there a way I can get the distinct row of the table based on how they are ordered (prioritized?)
 
2:22 PM
@Obviously those two concepts are entirely unrelated
 
Will the VS settings import/export wizard save my TFS connections?
 
user47589
I don't think so
 
Nope, that's saved in AppData (IIRC)...
 
@Sidney There is an option to check there during the export for TFS
 
user47589
I think so too.
 
2:25 PM
Bummer. They're rolling out new computers, but they're not giving us any overlap between new computer and old computer, so if you don't back something up, you're just SOL.
 
@Sidney good computers or... ?
 
Marginally better than our existing ones, but they also all have SSD's, so that's nice.
 
@Sidney SOL is a god in some religions
so if I'm SOL then i'm god?
 
user47589
All bow before @Failsafe
 
fuck off
 
2:28 PM
@Sidney cool. the pc I have its an old EliteBook T.T
 
!!tell Failsafe Praise
 
@Failsafe \[T]/
 
I'm gonna get banned today I can feel it lol
 
@Failsafe hey god, can you fix my car? engine a bit nasty after i change oil last time
 
for the first time I support that message @Sippy you hostility was a good thing here
 
2:28 PM
@tweray Sorry I am the sun god not the auto repair god
 
@Sippy that was about the "f off"
 
@Failsafe but... but... you suppose to be all powered aren't you?
 
@tweray No, just solar powered
 
@Mr.Toxy I don't need your approval lol
Do as I please
 
shit, that's why i hate those clean power maniacs
you gods sucks
 
user47589
2:29 PM
@Failsafe doesn't suck! He blows!
 
@Sippy damn you're really hostile :o
 
( Í¡° ͜ʖ Í¡°)
 
@Sippy I said that you talked well. you hostile :P
 
I'm not hostile
 
!!tell @Failsafe tastes
 
2:30 PM
@Mr.Toxy Don't be annoying, drop the @, nobody likes a double-ping.
 
user47589
not even remotely hostile.
 
If you keep pinging me every time you message me, I'll show you hostile :D
 
WOW GET FUCKED
 
ROFL
 
user47589
GET HIM
 
user47589
2:31 PM
YOU HAVE OUR BLESSING
 
its for you to know its for you :o it's an honor to be pinged
 
It's an honor to be kicked too
promise
 
dont gangbang on me
 
( Í¡° ͜ʖ Í¡°)
 
( Í¡° ͜ʖ Í¡°)
 
user47589
2:31 PM
bestows upon @Sippy her fully-charged banhammer
 
no more cookies for you
 
 
user47589
lol
 
user47589
i dont remember that scene
 
I'm still flustered from Caprica's violent proposition.
Man if any mods come in here today
 
user47589
2:34 PM
You should run to Caprica Six and seize the day.
 
Half the star list has fucks in it
 
@Sippy fuck you you fucking fuck
 
Shut up or I will smite thee with the almighty, fully-charged banhammer.
 
What are they gonna do
 
pleb.
 
user47589
2:35 PM
!!outofcontrol
 
ban all the room owners
 
@Amy That didn't make much sense. Use the !!/help command to learn more.
 
!!c#
 
May 5 at 15:17, by BoltClock
THIS ROOM IS OUT OF CONTROL
 
> be nice, show class
RIP
 
2:36 PM
I was going to say we have no fucks to give but judging by the stars we have a lot of fucks to give
 
my fuck library is infinite
( Í¡° ͜ʖ Í¡°)
 
!!lenny
 
( Í¡° ͜ʖ Í¡°)
2
 
In this case what will HasValue return
bool GetSomeThing(int id, int? someNullableId = 0)
{
return someNullableId.HasValue;
}
 
that was a nice one @mikeTheLiar have a cookie good sir
 
2:37 PM
true all the time
 
Depends on what you pass it
 
@mikeTheLiar it's always initialised.
 
If I call it like GetSomeThing(someId);
 
true by default if nothing passed
 
@Sippy what about GetSomeThing(0, null)?
 
2:38 PM
Exception in case of null.
I guess
 
then it's false
 
You always have to be a turd don't you
 
WEW
 
@Sippy if by "a turd" you mean "right" then yes
 
Y'all know what I meant
 
user47589
2:39 PM
i didn't
 
pedant peasant
 
ur all out of control
 
user47589
spell it out
 
yes, spell it out
 
i spell u out in a minit
 
2:39 PM
please
 
@Sippy that didn't make much sense. Did you mean to fuck off?
 
F R A N C I S
 
user47589
@Mr.Toxy lol
 
what you gonna do about it Francis?
damn Deadpool?
no one?
TwT
 
user47589
uh, yes, i got it
 
user47589
2:40 PM
that's why i lol'd. do we have to spell it out for you?
 
yes, spell it out
 
I T
 
user47589
spell it out now.
 
I T O U T N O W
 
user47589
gives @mikeTheLiar a skooma candy
 
2:41 PM
P A N I N I ?
 
Ah yeah, that's the good stuff.
 
user47589
there's more where that came from
 
lenny face quickly
 
!!tell mr.toxy lenny
 
insert a lenny face
 
2:43 PM
@mr.toxy ( Í¡° ͜ʖ Í¡°)
 
Mo-brghhh-rty, I need you to take these paninis, and shove 'em wayyyyyyyyyy up inside your butthole
 
@Amy ( Í¡° ͜ʖ Í¡°)
 
user47589
@Failsafe well gee rick, i dunno, are you, are you sure about this
 
@Amy somebody’s got to do it, Mo-brgh-rty. Th-these paninis aren’t gonna get through customs unless they’re in somebody’s rectum, Morty.
 
hey guys, anybody windows 10 universal app developer here?
 
2:45 PM
           public void BeginTrans()
            {
                MyTransaction = ORAConnection.BeginTransaction();
            }

            public void Commit()
            {
                MyTransaction.Commit();
                // MyTransaction = null;
            }
            public void Rollback()
            {
                MyTransaction.Rollback();
                MyTransaction = null;
            }

So I do those functions by the order that they appear: I first run beginTrans then I do Commit() and then RollBack() when I get to rollback it says it can do nothing on a closed ob
 
You can't rollback after you're commited
 
@ShubhamNishad No sorry
 
@Sidney looks like I've lost the ability to pin Active Rooms? Or was it always like this?
 
@mikeTheLiar if I want to return to the value I had before I cant right? at least not like that
 
Also it's be cool if we could pin the room description
 
user47589
2:47 PM
You can either rollback, or commit, but not both. Pretend you're Walmart's smiley face and you're looking at some prices. You can rollback those prices. But you can't commit to anything. This analogy completely fails, but at least you got to be a smiley face
 
@Mr.Toxy not once you've commited the transaction
 
ROLLIN ROLLIN ROLLIN
ROLLBACKS KEEP ON ROLLIN
 
hmmm okk, I thought that commit was like to "save the changes" and rollback was like a ctrl + z (Wich it is)
 
wooo, that battlefield1 trailer is pretty darn awesome
 
user47589
Once you commit, you can't rollback. It's committed. Once you rollback, you can't commit, because you're a loser who rolledback when you should have rolledforward
 
2:48 PM
@tweray ikr, I want it :3
 
@Mr.Toxy after you commit there's nothing to Ctrl-Z
 
MakeGitGreatAgain
 
user47589
I pity the fools that rollback
 
sup yall
 
finally there's no future soldier super arm/leg and ppl flying around walls and shooting
 
user47589
2:49 PM
why did you ping me for no reason
 
@Amy
 
user47589
please stop that. seriously. you ping too much
 
it was a mistake
 
i hate those run/fly/shoot games
 
user47589
@Sippy i need my banhammer back.
 
2:50 PM
@tweray Thats...thats battlefield
 
pls forgive me you honor
I beg you
(hands in praying sign)
 
@Amy returns Mjolnir
 
@Failsafe yes, bf4 is in good ballance, the new COD is kind of over my acceptance level
 
user47589
 
There's a fire
Starting in my heart
 
2:51 PM
kek.
 
top kek
 
user47589
@KendallFrey like in Howl's Moving Castle?
 
@OmegaExtern charm kek
 
Wikid ch00n
 
2:51 PM
To test Rollback, I just change the value and than execute the rollback function and see if the value returned to normal?
to the previous
i mean
 
> Roelback
 
user47589
if you rollback, the value never changed at all. the change was never committed.
 
Anybody have an idea how to make this situation more generic?
Currently, I'm passing in interface error loggers to pretty much every function I'm calling. This seems like a bunch of work... Any better Ideas?
I don't like using static classes for logging but.. idk
 
What's wrong with static logging classes?
And have you consulted with your local lumberjack?
 
@mikeTheLiar, it just seems hacky to me
 
2:53 PM
@mikeTheLiar what if the local lumberjack is just me
 
user47589
I pass a logger into (almost) every class constructor
 
user47589
not every function. thats just dumb.
 
you can always DI logger
 
@Amy, that doesn't get tedious?
 
but honestly... it's like DI for DI
 
user47589
2:54 PM
not really. the loggers are constructed using IoC.
 
so you pass it in as an interface, right?
 
user47589
yes
 
you are passing in an ILogger, gotcha
I'm doing the same thing, but on the functions...
 
user47589
ILogger, from Autofac.Integration.NLog (i think)
 
i used to DI logger, but i start to hate myself on that sometimes and now i just make logger static
 
2:55 PM
@Amy, I guess I'm just not consistent. I'm passing it in on methods sometimes, and other times, no
 
Correct me if I am wrong, but IoC is the same as Facade design pattern, right?
 
user47589
It works perfectly 90% of the time. But there's a bug where if you resolve an array of objects from the container, then the class name that's injected into the logger is very wrong
 
user47589
@OmegaExtern that's wrong
 
Is there a place where I can set the status codes iis logs
 
@OmegaExtern no
 
user47589
2:57 PM
because of that autofac bug, there's a few places where I get a static logger to overcome that issue. i've got a SO question about it somewhere, when i tried to rewrite the logger injection code, to no avail
 
@tweray if you're a lumberjack, are you okay?
 
@mikeTheLiar alive, but no ok
or am i really alive?
 
@tweray Oh damn it :/ Gotta learn patterns again..
 
!!youtube lumberjack song
 
@mikeTheLiar Something went on fire; status 403
 
2:59 PM
Goddamnit Cap.
How long has this been broken?
 
user47589
2 weeks?
 
google simply banned cap
 
user47589
maybe 3?
 
!!info
 
@tweray I awoke on Mon, 16 May 2016 11:50:40 GMT (that's about 3 hours ago), got invoked 36 times, forgotten 1 commands, teleported 97 goats
 
2:59 PM
goats... wat?
 
user47589
teleported 97 goats
 

« first day (2039 days earlier)      last day (2924 days later) »