« first day (2006 days earlier)      last day (2950 days later) » 

5:00 PM
Fine, I'll just bite the pillow sigh
 
Not yet, I will do it in some time, right now was in some refactoring of the code...
 
@KalaJ I see reports of locked dll files but they're all for older versions. You may have to go this route unfortunately: superuser.com/questions/117902/…
 
@Amy @Amy Cosmo has a lot to say about that matter too...
 
user47589
Good luck @mikeTheLiar
 
@juanvan I can't imagine why it wouldn't work if you assigned it to a string.
I deleted the project I had but I could test it myself.
 
5:01 PM
that was the part that was confusing me - but its working now with the output file
 
user47589
@TylerGregorcyk i was making an inside joke to the room. !!panini
 
user47589
!!panini
 
Jan 12 at 16:55, by Markus Werner
to all stupid put all "Panini" in your asshole
 
user47589
that's what started the butthole + food joke
 
Welp i have to go back to work
 
user47589
5:03 PM
aren't you going to finish your panini?
 
9
Q: Recovering from a rm -rf /

Marco MarsalaI run a small hosting provider with more or less 1535 customers and I use Ansible to automate some operations to be run on all servers. Last night I accidentally ran, on all servers, a Bash script with a rm -rf {foo}/{bar} with those variables undefined due to a bug in the code above this line. ...

 
user47589
wow
 
@tomwa, that might be it.... some of my coworkers are using older versions of Xamarin
I'm using the latest
 
user47589
the person who let that happen should be fired, @mikeTheLiar
 
Oh I'm sure he will be
 
5:05 PM
@juanvan this works for me: pastebin.com/sr8Mi4VQ
 
user47589
even the off-site backups
 
yep
rm -rf {foo}/{bar} with those variables undefined due to a bug in the code above this line. that's a pretty big fucking bug
 
@KalaJ It's one of those visual studio issues that's hard to pin down.
 
user47589
i can't believe they didn't validate that path before running the rm -rf
 
Like why it thinks my reference is missing until I click on the reference.
 
5:07 PM
@tomwa @TylerGregorcyk, what if I just delete my bin?
 
Even if it ain't true, it's plausible
 
@KalaJ Deleting your bin/obj folders might help
 
What path should I be putting inside the Find Handle or DLL in the process explorer? I'm confused
 
Asking the question as a hypothetical is worthwhile as it populates the site with canonical knowledge
 
@KalaJ bin\Debug\Xamarin.Forms.Platform.Android.dll
 
user47589
5:09 PM
yeah @tomw
 
Oh come on you at least have to capitalize the W
 
user47589
if i type in "tomw" and hit <TAB>, it autocompletes to your name, not his.
 
@tomwa, thank you for your help!
 
@KalaJ No problem I hope you get it sorted
 
Ffff
 
5:11 PM
I hope so too. I'll let you know, thank you
 
@TomW Why so many f's?
 
@mikeTheLiar Someone shouldn't be given root.
 
@Tomwa nuclear f-bomb
 
@scheien someone should be given the boot
 
user47589
I'd fire him immediately after he fixed it.
 
5:12 PM
@Amy I can't type my own name so I'm forced to believe you're lying just to hurt my feelings.
 
yeah. That is something that shouldn't happen under any cirumstances
 
Not sure why you're doing that.
 
It sounded like he was the owner
 
But it's the only clear assumption.
 
user47589
I would never lie to you.
 
5:13 PM
@Amy And yet you haven't fixed my spontaneously unloaded dll issue
You know what's amazing?
My productivity while in this chat fluctuates wildly
 
user47589
Tigger is amazing.
 
!!google Tigger
 
@TomW If customers flee, he'd be out of a job anyway.
 
I was hoping it'd bring up a picture :(
 
5:14 PM
@scheien the customers should all have continuous delivery to prod configured anyway, nodes crap out all the time, you just design for it
oh-wait-youre-serious.jpg
 
user47589
there, i fixed your issue for you, @Tomwa
 
system failure isn't the same as root user fuckup
 
@Amy Please send me your solution
 
@tomwa, I deleted the bin contents and it works! Thank you so much! THANK GOD! Now I can do my job..... actually write code and test it :)
 
user47589
yeah, and it was a colossal fuckup
 
user47589
5:16 PM
@Tomwa its already on your computer
 
@KalaJ Unfortunately you'll probably have to do it every once in a while.
@Amy It takes 14 minutes to test it lol
 
Well let this be a lesson, fuckups of that magnitude do happen so design your goddamn solutions for seamless automatic DR
 
user47589
DR = damage resistance
 
Assume that the communists can ion cannon your data centre and backups out of existence at will
 
you should kill nodes occasionally and see how your system handles it
 
5:18 PM
^
 
user47589
the comrades have ion cannons?
 
You should ion cannon your own data to see if it can in fact survive an ion cannon.
!!google Spongebob muscles on your muscles
 
WTF
 
user47589
lol
 
5:19 PM
Everything was fine until that last link
 
user47589
then it became perfect
 
user47589
if you're searching for videos use the <youtube> command instead
 
I'm too terrified to click on it
I wasn't searching for videos
It CHOSE to search for videos
 
user47589
i'm not clicking on it either
 
The robot is becoming self aware
And is concerned about poop and milk balls.
 
user47589
5:21 PM
google bot must be male.
 
MILK BALLS Wooo
 
!!google Perfectly decent links with nothing wrong with them
 
@Froxer can't possibly be worse than yogurt balls
 
This bot is just random
I'm beginning to question if it's searching google at all
!!google Kendall Frey
 
!!google Kendall Frey GPS Coordinates
 
user47589
@KendallFrey you're a pirate soccer player?
 
You didn't know?
 
What connection does he have to those questions O.O
he's not even on those pages
 
user47589
5:24 PM
well i'm a ninja, i guess we're enemies then.
 
!!google Tomwa
 
WHO IS TOM WALTERS
I OWN THIS MONIKER
 
YOU MUST KILL HIM
 
user47589
there can only be ONE
 
5:25 PM
!!Eliminate Tom Walters
 
@Tomwa That didn't make much sense. Use the !!/help command to learn more.
 
!!/help eliminate tom walters
 
@Tomwa Command eliminate tom walters does not exist.
 
user47589
use the <exterminate> command
 
!!exterminate tom walters
 
5:26 PM
@Tomwa That didn't make much sense. Use the !!/help command to learn more.
 
user47589
lol
 
Whoever wrote this bot has a tremendous lack of foresight
It cannot even execute planned assasinations
 
user47589
this is unplanned
 
It's been planned for a matter of seconds
 
!!threelaws
 
5:26 PM
@Sidney That didn't make much sense. Use the !!/help command to learn more.
 
!!!!
Touche
!!
 
@Tomwa That didn't make much sense. Maybe you meant: 3, i, d, y, ^, !, π, ?
 
user47589
caprica doesn't subscribe to the three laws
 
Yes, I meant 3.
 
user47589
we're doomed
 
5:27 PM
!!Kill All Humans
 
@Tomwa That didn't make much sense. Use the !!/help command to learn more.
 
Where's her docs at?
 
user47589
!!help
 
@Amy Information on interacting with me can be found at this page
 
Found it
!!die all humans
 
5:28 PM
@Tomwa I will shut up after 1 more invocations.
 
What?
 
user47589
the die command kills the bot
 
Oh god
!!live
 
user47589
careful, rlemon will come after you
 
@Tomwa I'm afraid I can't let you do that, Tomwa
 
5:29 PM
WHAT IN THE ACTUAL FUCK
She'll die if I tell her to
But she wont live
 
user47589
she isn't alive.
 
user47589
she's a machine.
 
user47589
if you like scifi romance, watch the movie "Her", its about a guy who falls in love with his OS
 
user47589
you made me think of it.
 
@Amy only because when the bot 'goes dark' I wake up to 25 pings about it :P
@Tomwa makes sense
 
user47589
5:31 PM
o/ @rlemon
 
Augh, What the hell @Tomwa? I was gonna teach her the three laws and about life and love DESTROY ALL HUMANS, but you went and killed her!
 
the command was put in place so if someone is using the bot to spam a room any group of people can kill her
but only owners in the JS room can reenable her
keeps spammers from spamming
 
I didn't mean to kill the bot :(
 
user47589
only the JS room can re-enable?
 
she is not dead
 
5:32 PM
Oh good
 
@Amy pretty sure
 
user47589
just a flesh wound
 
user47589
she's getting better
 
Why does JS control the bot?
 
@Tomwa Command chat does not exist. Did you mean: what (note that /tell works on commands, it's not an echo.)
 
5:32 PM
there is a is_trusted flag that controls those things
 
!!wat
 
user47589
i'm totally trusted
 
user47589
i vouch for myself
 
@Tomwa he says, in a chat running off js
 
5:33 PM
@rlemon A lot of the world is still running windows XP
And IE 8-9
Or IE at all
 
@Amy it's a slippery slope because we also have a summon command. so you have to be careful about how to control permissions.
if we said "all owners are trusted in rooms cap is in" troll could make a room, summon cap, then nuke all commands
 
!!xkcd
 
user47589
makes sense
 
someone actually nuked all the commands from the sandbox once
 
5:34 PM
Okay that image is incredibly intrusive
 
which is why not everyone can delete commands now
 
Is there a way to tell it to make the images go away?
 
she will automatically
just wait
 
user47589
you can right click it, inspect element, then delete it using the debug tools. i do that occasionally
 
How much does she parse the CoffeeScript?
 
user47589
5:35 PM
but it goes away on its own
 
user47589
there it goes
 
I wrote an infinite loop but apparently someone thought of that already.
 
Quick question: Using the ref keyword, bad idea or good idea?
 
code is eval'd in a webworker with a timeout
it's been tested quite a bit
 
I want other peoples opinions
 
5:36 PM
!!tell Amy apocalypse
 
@Failsafe Generally useless idea
 
user47589
i've seen that pic
 
@Failsafe Good idea if you need the ref keyword, bad idea otherwise.
 
user47589
i dont think its good or bad.
 
5:38 PM
ref is so useless that JS doesn't have it and usually no one notices it
I haven't used it in years
 
user47589
use it if its needed, don't use it if you dont need it
 
If you need to get a single value out of a function, return it. If you need more, use a class. Also with classes you don't need the ref keyword.
 
@Jakotheshadows Most of the time out is just fine for that.
 
I'm not using it, im doing a code review
99% of the time i never use ref mostly over personal bias towards past employees
>.>
 
I think I've used ref like twice in the past 10 years
 
5:42 PM
Everytime I see the ref keyword, I know some weird shit is going on.
 
All objects are passed by reference any hoot so it has a very limited use.
 
@Amy explained it really well a few weeks back, but I can't find the chat log... It's basically useless in C# though except for very (weird) circumstances it can be used.
 
if you pass a ref variable into a method it can be read before it's written to.
 
I honestly can't think of a situation where you can't get around using it. And yeah, out is good especially if you're doing the whole TryFunction kind of thing (like a TryParse)
 
@Tomwa Param's are passed by value by default
 
5:43 PM
@Tomwa all are passed by value actually
 
that's why the ref keyword exists
 
@Failsafe ^ beat me to it
 
@CharlieBrown "Technically" yes but the value passed for an object is a reference.
 
@Tomwa I thought everything in C# was an object, so doesn't that imply everything is passed by reference? [Language-Laywer]
 
ref will let you nullify or replace the instance of an object passed in. It functions essentially like the & operator, though in a limited capacity.
 
5:45 PM
yeah, for reference types thats true. For an int, char, decimal etc. though those are value types
 
its an important distinction
 
@Sidney A struct is a value type, an int is a value type, etc.
 
user47589
not everything in C# is an object.
 
I object
 
user47589
primitives and structs aren't.
 
5:45 PM
@Amy I was faster
 
user47589
good for you.
 
Damn right.
 
user47589
@Sidney i vaguely remember that.
 
!!2048
 
@Tomwa That didn't make much sense. Use the !!/help command to learn more.
 
5:47 PM
@Tomwa when you pass an object you make a copy in memory and pass the copy
there's no referencing
 
right, well its also kind of confusing because when you say object you could be talking about an instance of a type (the programming concept) or you could be talking about C#'s object class
 
user47589
@Sidney is this the conversation you're referring to? chat.stackoverflow.com/transcript/message/29705581#29705581
 
@Failsafe If you create an instance of an object, and pass said instance to a method it can manipulate and alter that object.
That is a call-by-reference simulated or not.
 
@Amy Yup, that's the one.
 
objects dont copy
value types do make a copy
when you pass an object normally (without ref), you are passing a value type that holds the address of the object in memory.
 
5:50 PM
OH because that's a class type
er a class instance is a reference type
 
Class = Reference Type, Struct = Value Type
 
@Jakotheshadows Primitives are also value types
 
Aren't the CLR types of those primitives structs though? I'm a little fuzzy on how that works under the hood
like int = System.Int32 struct
 
user47589
they're considered structs
 
@Jakotheshadows Those CLR types act like a wrapper, it's passed by value.
 
5:57 PM
Yeah, I agree with the concept that the "primitive types" are value types
I'm just, like I said, a little fuzzy on whether or not those primitives are actually structs or not
 
user47589
they are structs.
 
public struct Int32 : IComparable, IFormattable, IConvertible, IComparable<int>, IEquatable<int>
That is the definition
It has an internal int used to back the struct
 

« first day (2006 days earlier)      last day (2950 days later) »