« first day (790 days earlier)      last day (4167 days later) » 

8:00 PM
And because if anything did happen, I'd be able to defend myself.
 
If he DOES encounter a rogue shooter, he could save someone's life
 
@ShotgunNinja Surprisingly, I found this to be true
I expected to mostly be afraid of guns
But with a small enough caliber, it was enjoyable.
 
Well, guns are scary because they're powerful. Like cars, or planes.
 
Then they gave me a Desert Eagle which was almost too heavy for me to hold straight.
Barely was able to take the shot. The muzzle flame was ridiculous.
 
lawl, Desert Eagles are silly.
 
8:01 PM
Yeah
Fairly sure it's close to useless
 
@ShotgunNinja yes, and it's quite right that like cars or planes, you should be taught properly how to use them, and be able to demonstrate that you're competent. Because without competence, they are dangerous
 
But having that think in the palm of my hand was frigging frightening :D
thing
 
So much power packed into a handgun; they serve the same purpose as cop cars, mostly; they look fierce, and can run you down if they need to, but they're not fun to use constantly.
The kick, the muzzle flash, and most importantly, the cost of ammunition are enough to make them more useful as toys than tools.
 
@ShotgunNinja I figure they're a military firearm
 
I swear the muzzle flash was like a meter in diameter
 
8:03 PM
Oh hell no. There'd be too many soldiers with arthritis.
 
if you only have a handgun, you still need to kill that guy stone dead before he can shoot back
 
I thought they also had issues with reliability, but I could be getting confused.
And with speed/accuracy.
 
I live in a country where handguns are completely banned, so what do I know
 
You can kill someone with a smaller muzzle velocity, kickback, and caliber.
The smaller caliber also helps with ammo conservation.
Also, my brother is a gun nut, of the collector/sport-shooter variety.
 
At the time, there was greater risk to innocent bystanders from legal owners spinning off than would be mitigated by lawful owners defending themselves, so they were banned
 
8:05 PM
Welcome @GameScripting
 
Hello @sho
 
Holy GOD that meeting was way too long
 
@ShotgunNinja :)
 
So you're saying it was longer than 15 minutes?-)
Meetings: an event where the minutes are kept, and the hours are lost.
 
8:06 PM
Welcome to my life; most of my meetings are hour-long snore affairs.
@Rytmis, that deserves a star.
 
I hate that my job description changes so damn much. I'm a developer, shipping and receiving, tech support
And now apparently a social engineer.
 
@ShotgunNinja Anything I can do for you? Or is it just about beeing friendly and saying hello ;) ?
 
I wish I could take credit for that one.
 
I don't understand why people hate meetings so much
 
Damnit I dont even remember where I was at now...
 
8:08 PM
How else do you get the customer to tell you what they actually want?
 
Well, I say hello to everyone, but I am aiming for a career in game development, so yeah... :P
 
This was an in house meeting.
 
@TomW Most of the meetings I've been to haven't involved customers.
 
I want to be a systems designer eventually. This is a part time college job right now.
 
@Nexion ok, so what's discussed in your in-house meetings?
 
8:09 PM
Likewise, though this web dev position may end up being permanent, at least for a few years.
 
And also, most meetings I've been to have had way too many people.
 
Game development ... some fried of mine is doing this kind of things ... one of the team members of that game apptivate.ms/apps/92/beatinvaders
 
A lot of bullcrap. Our funding is getting cut a ton and we are gonna have to restructure our company come first of the year.
 
I'm lucky enough to be working for myself these days.
 
@Nexion what's the alternative?
 
8:10 PM
Four-person consultancy, not freelance.
 
Nice, @GameScripting
 
Well right now we're an SES company, we send kids laptops to do tutoring on.
But we're funded through No Child Left Behind, which is getting canned
So we're moving to other avenues
 
Yeah; there were enough flaws in NCLB to kill the average country.
if it didn't coincide with FIRST Robotics in the US, then it would have died a long time ago.
 
I just hate that im busting my ass to get this stuff done when its not going to matter in a month.
YAY! Another FIRSTer!
What team?
 
#1652 alum
oh, and #2970
 
8:12 PM
#1502 alum
 
We called ourselfs "Technical Difficulties" for a reason..
ourselves*
 
Rhs
Hey
 
Though we did make it to quarter finals in Atlanta one year.
ONTOPIC: back to this user account image thing
 
@Rhs Hello :)
 
8:13 PM
Oh right.
 
@Nexion still working on that?
 
Yeah, I didn't get much done before my meeting
 
ah I see ;)
 
inb4 GameScripting is Nexion's boss in disguise
wouldn't that be spooky
 
haha :D
 
8:14 PM
Yeah right, like my boss could even find his way onto SO
Had to teach that monkey SQL and wanted to kill myself afterwards
 
Mine could; he's a really great guy, though.
 
"Why isn't this command working?" SELECT * FROM table; LIMIT 100
 
Rhs
I have a question about aspx/c#. I created a control which contains two instances of another custom created control. For more clarity, this is a date span picker, which contains two date pickers (one representing start and one represeting end). The date pickers work fine on their own; however, when I try to implement the datespanpicker, I get an Object Reference Not Set To an instance of an object error. After running through the debugger, I found out that my date pickers are not instantiated.
 
We use Pidgin at work to get a hold of one another, and his status is always something silly.
 
8:15 PM
I wish I could convince my office to put a chat client on our computers, I frackin hate getting up
My chair is too comfy
 
@Rhs so you found the error. Whats the problem?
 
Also I REALLY wish VS had the intellesense that Eclipse does
I don't know what package this object is in, so I don't know what to include D: Eclipse would tell me..
 
@Rhs: Look at the instantiation order of the objects. With a system like ASPX, some event handlers get called before the objects in the page are fully created; check to make sure you're not running into that sort of issue.
 
doesn't eclipse intellisense suck?
 
No, not at all, its incredible
 
8:17 PM
@Nexion Whats wrong with VS intillisense?
 
It amuses me how everyone calls it IntelliSense
 
I fracking LOVE Eclipse.
 
Considering how IntelliSense is in fact a trademark of Microsoft.
 
eclipse is slow
and ugly
 
8:17 PM
@GameScripting It doesnt tell you what packages classes that it doesnt know what they are are in.
 
The general term for the thing is autocompletion
 
Rhs
@GameScripting so Am I suppose to do start = new DatePicker() end = new DatePikcer() to instantiate these controls. That seems a little bit strange.
 
I actually prefer VS IntelliSense over Eclipse's autocomplete, in terms of completeness; in terms of matching behavior, I like Eclipse's.
 
It is a tad slow, but then again I use it for java, so its appropriate =P
 
@Nexion Use ReSharper :)
 
Rhs
8:17 PM
@ShotgunNinja How do I do that?
 
@Rytmis yeah, its like saying google, when referring to a generic web search
 
@KyleTrauberman Yeah, just like Binging with Google!
 
I Bing Google all day, every day.
 
@Rytmis We do not speak of that foul place...
 
@Rhs the new operator CAN'T return null. never.
 
8:18 PM
Though its funny, the block that I wrote to restrict traffic on these laptops, COMPLETELY shuts down the Bing App
 
@Rhs: Well, it's not something that you have to do; it's something you have to avoid doing.
 
Like, you start it, and all that comes up is a background.
I thought that was amusing :D
 
Rhs
@ShotgunNinja @GameScripting allright thanks
 
tomorrow's my birthday, and I'm not allowed to leave early. :(
I'm bored/tired and I want to go home
 
@Rhs What are you doing when you get the exception? As in, what part of the page life cycle does it happen at?
 
8:20 PM
Just make sure the objects are actually instantiated by the ASPX loader before you access them in code.
 
What the?
 
Rhs
@Rytmis page_load
 
How can VS not know what the Windows namespace is?
 
@KyleTrauberman It so funny. In germany it 9:20 PM and you're all talking about work :D
 
lawl, I've had that happen before, @Nexion
 
8:21 PM
that's because its only 1:20 pm here
 
What is this? I dont even...
 
There's at least a few Europeans in here
 
yeah, i know
 
@TomW is in the UK, and there are some Scandinavians
 
I'm in the AZ, does that count?
 
8:22 PM
I'm in the WI, so no.
 
muh?
I heard a ping
 
@Rhs
"LoadComplete
Raised at the end of the event-handling stage.
Use this event for tasks that require that all other controls on the page be loaded."
 
sorry, just informing someone that there are other europeans in the chat.
 
Rhs
@rytmis I'll take a look at that
thanks
 
@ShotgunNinja isn't that the case often?
 
8:23 PM
Yeah, I've run into this problem in Javascript, Actionscript, and C#/XAML before, but not yet in ASPX.
 
This is why I hate WebForms
 
It's a common problem with XML-content/Script-behavior systems.
 
Yeah, WebForms sucks! Use MVC instead :P
3
 
I just witnessed someone on Google+ wonder if the "industry is gradually shifting away from WebForms", and he found it "superior" to MVC.
 
I'm back with the same strange MVC / Portable Area problem. SO Question: stackoverflow.com/questions/13132334/…
 
8:25 PM
@ShotgunNinja How did you fix the issue?
 
webforms superior to mvc? the guy must not be familiar with web development
 
@Lindsay I don't know anything about the issue, but what strikes me as odd is that you say something worked for a week and then suddenly didn't again.
 
@TravisJ indeed. Contributor is a derp.
 
@Nexion check your project references.
 
I don't have a TON of experience with VS so bare with me.
 
8:27 PM
Either something got futzed up there, or VS is just herping derp.
 
@Nexion What type of project?
 
Just a console app
 
AHHHH
 
Ah. OK
 
@Rytmis Yeah I have no idea. It just randomly switches. I thought it might be caching or the app pool, but I'm completely clueless.
 
8:27 PM
That'll do it.
 
Change your target framework
 
@Kyle - I won't be on tomorrow, so happy birthday :D
 
tytytyty
 
If you do a console app, System.Windows doesn't get added in.
 
Ah, so it's just a missing reference
 
8:28 PM
Something like that.
 
Another thing is that a lot of stuff will be missing, because console apps default to the Client Profile.
 
Why do you need System.Windows for a console app, anyway?
 
Well, "a lot" including the System.Web namespace and whatnot...
 
Its set at 4.5
 
@Nexion ShotgunNinja is right. It's a missing reference.
@Nexion Right-click on references, add a reference
 
8:29 PM
And now I completely forgot why I needed it :|
Coding on so little sleep sucks.
 
@Nexion if it's VS 2012, then it'll be Assemblies -> Framework -> System.Windows...
 
Then sleep, dude.
 
Im at work, I cant lol
 
If you worked for Google, you could, lol
 
@Lindsay Seems a bit obscure.
If you worked for me, you could too. I take naps after lunch almost every day. :P
@Lindsay I don't suppose there's any chance you had a minimal test case?
 
8:31 PM
@Rytmis: I totally would do that if I didn't urgently need this money.
I'm extremely tired atm, and I'm gonna crash as soon as I get back home from work.
 
You mean a stripped down app to show the issue?
 
@Lindsay exactly
 
I could make one, I need this resolved
the only problem is sometimes it works for a few days, then doesn't work for a few days, then works again
 
That's weird.
 
and I don't know what triggers it to work/not work
 
8:33 PM
Can you do "using Package.*;" in C#?
 
the only thing I can think of is caching or the app pool
all I know is that it only goes wrong when it renders the Sections in the layout file...that's when it loads wrong pages
 
@Nexion What do you expect that to do? Import all the namespaces under Package?
 
Was curious if it does the same thing that it would in java, just adds a reference to every namespace just under the current tree in the Package
 
I can't remember how imports worked in Java. :)
AFAIK that's not legal C#
@Lindsay Very hard to say anything based on that alone.
 
It just adds a reference to the package
 
8:37 PM
Yeah, in C# you import one namespace at a time.
 
just found a related question: stackoverflow.com/questions/10736675/…
 
That doesn't seem to have anything to do with portable areas.
 
One of these days I want to look into Microsoft MVC
 
Does anyone know how to store the applications current location in a StorageFolder object?
 
@Nexion what are you trying to do?
Because your question doesn't make sense to me. :)
 
8:39 PM
@Nexion Still working on trying to change the user profile image in Win8?
 
@ShotgunNinja ...Yes
 
figured.
 
Also, um... StorageFolder?
 
It's Win8's new Metro-sexual way of doing filesystem access.
 
That's... WinRT.
You're calling WinRT from a console app?
 
8:40 PM
Yup.
Deal with it =P
Hahahaha.
 
:D
 
/me facepalms
 
You mean
 
EVERYONE hates my style of coding.
 
facepalms
 
8:40 PM
Don't care. It works. It does what I want. It doesnt have to be fast.
 
I haven't seen it yet though, so .... doesn't have to be fast?
 
Does it work?
 
What? Calling WinRT from the console?
 
Why are you setting up Win8 on student laptops anyway? Everyone knows Win7 is way better at everything.
Also, I have short-term memory :P
 
What possible advantage could you be getting from not having it fast?
 
8:42 PM
Because our distributor is a jerk and only giving us Win8 now.
 
buhhhhhhh
 
@TravisJ All it does is change the user account picture. That's it. It wont take long either way and it runs along side with other scripts anyway.
 
@Nexion let's go back a few steps. What is the problem you are trying to solve?
Aha, so a logon script?
 
@Nexion - Oh, then it is fast.
 
Not really, its just a one time thing. Just a setup script.
I have a static picture that I'm setting to the current users account image.
 
8:44 PM
Is there a way to do like... a lambda select in javascript?
I'm not seeing anything that supports Ie7+
 
@Billdr - Can you give a little more context?
 
@Billdr what do you mean by "lambda select"?
A lot of js libraries have a function called "map" that basically does that.
 
I've got an array of objects. I want to pull from this array only the objects that have a property of a specific value
I guess I can do a foreach
 
@Billdr - check this out :D
 
OK, so it's "Where" you're looking for, not Select
 
8:45 PM
1 sec
 
If you've got jQuery, there's probably a function called "grep" that would do that.
 
sorry, I was thinking linq
I do have jquery! I'll take a look, thanks Rytmis.
 
var matching = $.grep(array, function (item) { return item.property === "value"; })
That function is often also called "filter"
 
function ContainsKeyValue( obj, key, value ){
            if( obj[key] === value ) return true;
            for( var all in obj )
            {
                if( obj[all] != null && obj[all][key] === value ){
                    return true;
                }
                if( typeof obj[all] == "object" && obj[all]!= null ){
                    var found = ContainsKeyValue( obj[all], key, value );
                    if( found == true ) return true;
                }
            }
            return false;
^
 
gosh, I love looking through poorly-written Java code... there are a bunch of constructors that call super(), even though the classes don't extend or implement anything.
 
8:47 PM
@Billdr - That will return an array of the objects that match the key value pair you search for
 
@TravisJ So will my code ;-)
 
Thanks to both of you
 
@Rytmis - Nah, yours only works on an array, mine works on an object graph.
Note that grep is not recursive.
 
@TravisJ Ah, right you are.
 
Although, I had not heard of grep, so that is cool to see a feature I was unaware of :)
 
8:50 PM
You know it's a Windows-oriented chatroom when no one's heard of grep ;P
 
>.> how do you store a resource in a StorageFile. These objects are weird. I get how you get an item from like a filepicker, but is there anyway to just tell it to use a specific item?
Or file?
 
it's also a Unix command; it's short for "get regular expression and print".
 
@ShotgunNinja - I know of linux's grep, just not in jquery
 
Fair enough.
 
@Nexion The WinRT API is pretty weird, because it's all async.
 
8:51 PM
So I'm gathering >.>
Not that far along with my CS classes either, don't fully understand what async means.
 
It breaks the concept of a single execution path for code.
 
Yeah the async thing is interesting, they clearly heavily leverage 4.5, almost like they wrote the 4.5 extensions when writing win8
 
Also, what exactly is this 4.5?
 
C# 4.5
 
Oh, okay.
Yeah, that'd make sense.
 
8:53 PM
Q.Q overly complicated objects are overly complicated.
 
Strictly speaking, that's .NET 4.5
 
The async means that if you fire a lot of stuff off, you should issue a wait statement to make sure everything gets finished if you have requirements
 
C# version 5 ;-)
 
@Rytmis - Ah, thanks for the clarification
 
Thanks for being a pedantic dick, you mean?-)
 
8:53 PM
I just wanna do like, StorageItem item = StorageItem.getFromFileLocation("some/path/here.png")
 
Nah, I was actually unsure of the correctness of c# 4.5, but I knew that .net was 4.5
So it was nice not to have to look it up :P
 
@Nexion var file = await StorageFile.GetFileFromPathAsync(path);
 
I'm assuming the new WinRT stuff wants you to use their singleton to access it, so they are in charge of initializing it and setting it up.
and by it I mean whatever object is used to access some location on the filesystem.
but I've seen just snippets of the code before, so idk
 
@Rytmis Derp. Thanks.
Also do you know where that path is relative too?
 
I'd expect that to take absolute paths, but I'm not sure.
 
8:59 PM
@Rytmis - I think that code should work too, this was what I looked up:
StorageFile imageFile = await StorageFile.GetFileFromPathAsync("some/path/here.png");

if (imageFile != null)
{
SetAccountPictureResult result = await UserInformation.SetAccountPicturesAsync(null, imageFile, null);
}
 
Yeah, I looked at that too.
 

« first day (790 days earlier)      last day (4167 days later) »