« first day (1076 days earlier)      last day (3869 days later) » 

2:00 PM
@Markus depends on how much code you want to write/test for each platform. personally, i disagree with Roel that 'full control' is really that big of a benefit for cross platform data serialization
standardization and existing libraries would be what I would consider first.
the time spent writing your serialization in 3 different programming languages across multiple different platforms sounds like a waste of development time
 
I just thought that it wouldn't be that big of an issue to parse them, but I realized that it rather fast got rather big for even just a couple of message types
 
use upload button plz
 
then again, it obviously depends on your requirements. if you are doing a low latency trading system with thousands or millions of messages per second, maybe millis and nanos count.
 
hehe nope, were not making any money here :)
 
i need a master regex
hahaha
 
2:10 PM
have you tired gskinner.com/RegExr
it's a decent place to test your expressions
 
@Markus i have RegexLab.Net but still thanks ...
i just got question for some expression
 
ok
geee 15 minutes to restart... I hate those forced system restarts!
2
 
feels like friday
 
@drch - Me too
 
friday? aw
 
2:13 PM
Today will be my 4th 10 hour day in a row, and then I am taking 3 days off
 
Sam
@Markus can't you abort the shutdown via the cmd?
 
I have tried but without any luck
 
how can i unselect
 
@TravisJ sweet!
 
Sam
shame
 
2:13 PM
mhmm
 
lll, mmm, ggg, ggg in var myVar=function(lll, mmm, ggg, ggg)
 
Sam
@Markus you tried this?
 
mm
Unable to abort the system shutdown because no shutdown was in progress.(1116)
so it's someone else that will kill me...
 
Sam
i thought you have to fire the command just as it's shutting down?
 
@KendallFrey can you help me? pls hehe
 
2:16 PM
Might be so... I suspect it's a smss.exe that does this to me
 
@Elegiac Help you what?
 
yeah haha
 
killing it doesn't seem to have any effect though...
 
regex is a pain
 
Sam
by the task manager?
 
2:17 PM
don't know...
 
Sam
it's worth a shot.
 
I have a TrustedInstaller.exe running as well it might be that one...
 
friday = judgement day if ill still have work or no so hope it feels like monday hahaha
 
is it that you want to get the lll,mmm,ggg and ggg from that line?
or that you want the rest?
 
Sam
@Markus might be, just don't kill any scvhost.exe
 
2:19 PM
no i want to deselect them from getting
 
steam, why must you mess up my saved games.....
 
@KendallFrey -> hey
 
ehh so you want a string "var myVar=function()" in return?
 
@Elegiac wants to deselect this things from matches
lll, mmm, ggg in var myVar=myFunction(lll, mmm, ggg );
I've write this regex for detecting variables for @Elegiac
((?<=var\s+)[A-Za-z_]\w*|((?<=\(\s*)|(?<=\s*,\s*))(?!new\s+)(?!true|false)\b[A-Za-z_]\w*\b(?!\.))
but it shouldn't select those cases between ( and )
I haven't much time to improve it
if any one can, help him
 
i'd just split on "(", then arbitrarily add a ); to the end of it
if you just want to get rid of the arguments..... sounds a lot easier than dicking with regex
 
2:25 PM
just see this @Steve:
my regex works to retrieve all variables
 
30 sec to reboot... nooooo
 
Sam
could you write an app to automatically send an abort command via cmd?
 
thanks all
 
so i have a question - should i be applying to entry-level programming gigs? lets say IBM has one up (they do) that requires 6 months of .net experience or something, i have about 2 years experience, am i selling myself short if i apply for it?
 
2:28 PM
@Steve - Are you employed?
 
as of about a month ago - no
 
Seems like a good place to move to.
I would bet that 6 months of IBM time is more like a few years of normal pace time.
It will definitely help you get future jobs.
 
yeah that was my thought too
 
Forbes actually encourages job hopping.
They say it is the fastest way to increase your salary.
 
@Sam I couldn't it seem...
 
2:32 PM
but some how i feel like i'm too good for an entry level position -- comparing myself to my peers that i just graduated with.... i feel like i have so much more knowledge & experience than 95% of them
 
Sam
@Markus seem what?
 
i guess i should just get over my pride of the title and look at the experience i could gain from the job
 
seem like I managed to write a reboot killer, it just rebooted :)
 
@TravisJ interesting
 
Sam
@Markus ah kk.
 
2:34 PM
@Steve - How entry level is it?
 
prettttty entry level, it says you basically need 6 months experience in any language, w/ or w/o a degree
let me pull it up
 
@Steve Does English count?
 
its actually a requirement
 
I mean, does 6 months of speaking English count?
 
Sam
lol
 
2:36 PM
@KendallFrey i understood what you meant
 
@Steve WOULD YOU LAUGH AT THE GODDAMN JOKE????
 
lol no but what i will laugh at you raging about it :p
 
<cue nerd rage meme>
 
"QUALIFICATIONS
Required:

-High School Diploma/GED
-Basic knowledge in Computer programming or demonstrated technical aptitude obtained through either relevant coursework or work-related activities
-Basic knowledge in Object Oriented Programming
-Basic knowledge in Capabilities in ANY of the following computer programming technologies: Java, C++, C#, .NET
-English: Intermediate"
 
DON'T PUSH ME OVER THE EDGE! I AM VERY EMOTIONALLY SENSITIVE! I MAY JUST GO AND PUNCH THE WALL!
 
2:38 PM
As long as you don't attack yourself with the TV remote.
@Steve - Yeah those are some low requirements. Is that the only position available? It almost seems like an intern position.
 
Sam
@Steve If only all people could think that experience beats certificates.
 
thats kind of how i felt about it too, i'm sure theres more positions open, i just need to spend some time doing a more thorough search
 
I actually meet all those requirements.
People are always amazed when they find out I've had a full-time job as a programmer since high school.
 
Sam
I meet all of them but one. (the top one)
 
@Sam You don't even have high school?
 
Sam
2:41 PM
@KendallFrey i'm 15...
 
Oh :S
So you're not a dropout. :P
 
Sam
haha, no
 
I finished high school when I was 16. So boring there.
 
nice!
i slacked off and didn't care during HS...... life lesson learned
 
2:43 PM
A year ahead, or two?
 
Sam
who?
 
i'd rather work with my brain in the AC than busting my ass in 90 degree heat for the rest of my life
 
Travis
 
Fall of my sophomore year
 
I was always a grade above the others my age.
Always meaning since kindergarten
 
2:44 PM
Didn't help much though. University is expensive and since I didn't attend HS for the full time period I wasn't eligible for most of the grants.
 
so wait, being smart and finishing early hurt you? wow thats messed up
 
I don't know how they expect a teenager to afford $50k a year in expenses.
 
where did you go to school?
 
I wanted to go to uc berkeley but couldn't afford it. Ended up doing most of my work at UCSB, but not for years later.
 
Sam
Had anyone had experience with any of these sound cards? This one, and this one. Which is better? I
 
2:48 PM
@Sam Sound Blaster has always been my card of choice.
 
^
I have never seen a USB sound card before.
 
people still buy sound cards?
 
Sam
@ShotgunNinja For music of gaming?
 
Can you really tell the difference?
 
Creative Labs wrecks all contenders when it comes to audio quality.
 
2:50 PM
I mean, you would have to have at least a couple of 8" speakers and a 10" sub to start to notice.
 
Also, why is the burrowing owl not more of a meme?
The Burrowing Owl (Athene cunicularia) is a tiny but long-legged owl found throughout open landscapes of North and South America. Burrowing Owls can be found in grasslands, rangelands, agricultural areas, deserts, or any other open dry area with low vegetation. They nest and roost in burrows, such as those excavated by prairie dogs (Cynomys spp.). Unlike most owls, Burrowing Owls are often active during the day, although they tend to avoid the midday heat. But like many other kinds of owls, Burrowing Owls do most of their hunting from dusk until dawn, when they can use their night vision...
^ Look at this emotive motherfucking owl.
 
lol
 
Sam
@ShotgunNinja Really? It doesn't have Dolby though.
 
@Sam - Buy a receiver and plug your computer to it.
wow that url got owned.
 
2:52 PM
lol
 
Sam
@TravisJ That stuff's a but out of my budget.lol I was looking for something under $125/£100.
 
Then get the next one down, should be right around $125.
 
Sam
@ShotgunNinja too expensive for me. Are there any other good reasons to go with the creative card?
 
@Sam - Then just buy some nice speakers and don't worry about amplification because you probably wont notice the difference without a pretty sweet setup.
 
^
 
2:54 PM
@Sam Because every motherboard has a decent quality audio chipset on it nowadays?
 
most have HD audio jacks too, well at least on the mobo
 
Honestly, I figured you were an enthusiast of sound quality, so I recommended one of the best ones I've found.
If you're looking to keep it under budget, then don't get a sound card.
 
@ShotgunNinja Owls... so cute!
 
Sam
kk, have any suggestions for a good pair of headphones?
 
@ShotgunNinja agree, i think sound cards are totally a waste of money now-a-days unless you're looking to drop a thousand into a sweet surround sound setup
and even then...
 
2:56 PM
I got a surround sound (Logitech) a few years ago for 185, best sound I've ever had on my pc
 
Sam
right, well i'll just go with some better headphones then. ;)
 
speaking of sound, need new on-ear headphones up to $250 that are comfy to wear all day at work
 
@Sam - Definitely don't need a sound card for head phones. Just get some that are comfy - you don't want really load head phones anyway.
 
@Sam Sennheisers are the go-to headphones.
 
thinking Bose again
 
Sam
@TravisJ sure, thks.
 
at my last job we could only wear ONE headphone, they thought if we had two in we couldn't hear any of their alarms
 
@Sam I don't know if they're "good", but I've been wanting a pair of MEElectronics Air-Fi headphones.
 
no mic and don't want sound to leak out either
 
And by load, I meant loud.
 
Sam
2:58 PM
@JeffBridgman k, i'll take a look.
 
@Steve alarms?
 
Sam
@drch their usually a bit upper budget for me.
 
@travisj yeah when devs see everyone walk out of the office, all they think is 'finally I can get some work done'
 
fire, tornado, other
 
2:59 PM
@sam I was talking about me mr self centred ;)
 
@Steve Hearing something in one ear but not the other is ANNOYING
 
@Steve where (location-wise) did you work?
 
Sam
Are these any good?
 
@ShotgunNinja michigan
 
@drch - Haha that is one reason why it is actually nice to get into work early.
 
3:00 PM
@Steve ah ok
 
@KendallFrey dude tell me about it
drove me up the wall
 
It is like an inverse swing shift.
 
I have a programming question, everyone!
 
@KendallFrey NO
 
No freaking wai
 
Sam
3:00 PM
@drch oh.lol still
 
lmfao
 
How do I get a string including assembly, namespace, and type from a Type object?
FullName doesn't have the assembly
 
=/
 
I prefer getting to work late
 
room topic changed to C#: The most musically-inclined board; current topic of discussion is sound cards and headsets. [.net] [asp.net] [asp.net-mvc] [c#] [entity-framework] [linq] [visual-studio] [wcf] [wpf]
 
Sam
3:01 PM
lol
 
like just sneaking into the standup when it'd my turn
fullyqualifiedname, no?
@KendallFrey you just want "fooo, fooassembly"?
or publictoken and errything else
 
Sam
@ShotgunNinja Do you know if these are a good headset?
 
Something like fooassembly foonamespace.fooclass
 
I thought you had something actually interesting :P
 
ConsoleApplication34.KendallSucks, ConsoleApplication18, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
 
3:03 PM
this fly has been buzzing by my ear for like 10 minutes and its driving me crazy
so i looked over and he's being eaten by a spider
 
Actually, make this question about MethodInfo as well.
@TravisJ Yeah, is there a property for that?
 
A property for methodinfo?
 
for the "full full name"
 
@Sam Can't see them... Amazon UK is blocked at my work
 
Sam
@ShotgunNinja Try this
 
3:05 PM
AssemblyQualifiedName I guess?
 
assemblyqualified gives you version + culture + token
otherwise, you have to build it yourself
 
@Kendall - You would have to concat a few of the properties. UnderlyingSystemType might help. Just check with IntelliSense on your Type variable.
 
@KendallFrey You need this programmatically created at runtime?
 
Yes.
 
msdn.microsoft.com/en-us/library/… has some interesting info, still seems like you have to set it up though to get the "full full name"
 
3:07 PM
Looks like AssemblyQualifiedName works for Type, but maybe I have to concat for MethodInfo.
 
public partial class Sheet : IEnumerable<Item>
{
public Item X{ get; set; }
public Item Y{ get; set; }
public Item Z{ get; set; }

public IEnumerator<Item> GetEnumerator()
{
yield return X;
yield return Y;
yield return Z;
// ...
}

IEnumerator IEnumerator.GetEnumerator()
{
return GetEnumerator();
}
}

I am looking at this sample class that implements IEnumberable. I don't understand why GetEnumerator() is implemented twice. Also, I don't understand how that is possible since these two functions return two different things.
 
@KendallFrey so you want something like <Method="Foo" Type="SomeClass, SomeAssembly"> from a method info?
 
yeah
 
@Kendall - Use ToString on your type and then parse it?
 
Sam
can't you just ask the magic complier to do it for you?
 
3:09 PM
@Justin One of them is the explicit implementation of IEnumerable (the non-generic one)
 
@Justin IEnumerable(T) inherits the non-generic IEnumerable interface
bah!
 
@TravisJ gross
 
you are the regex master, I figured parsing would be easy.
 
regex != parser
Just because it's easy, doesn't mean it's easiest.
Steve is easy, but your mom is easiest.
 
@KendallFrey ah i see
 
3:11 PM
@KendallFrey What are you trying to do?
 
Log it.
 
var methodInfo = typeof(Hello).GetMethods().First();
Console.WriteLine(methodInfo.Name);
Console.WriteLine(methodInfo.DeclaringType.Name);
Console.WriteLine(methodInfo.DeclaringType.Assembly.GetName().Name);
note that type.name doesn't include namespace
so use .FullName if you need it
 
looks like drch power
 
durrrch
 
3:14 PM
also, if you don't mind having all the extra stuff (version, publictoken, culture) or if that actually is relevant for your logs, you can just use type.AssemblyQualifiedName
version number may be relevent especially if you inc that on build
 
I was planning on it, but it could make some problems with concat.
Think I'll just concat everything together
 
Shower is 'dusch' in Swedish. Gf had a friend at nursing school who wrote durs in a report. Pretty far from ok.
 
@JohanLarsson Just wondering, is that pronounced doosh as in douche?
 
@KendallFrey similar but not the french way
@ton.yeung pretty bad typo by her
 
3:17 PM
That's not fully qualified, is it?
 
I didn't test it :X
 
It's not.
 
that just gives the name of the current executing method
public void Foo() {
Console.Writeline(System.Reflection.MethodBase.GetCurrentMethod().Name); // foo
}
 
Too bad stack trace is so slow
 
Well, the property is what we're talking about, right?
I ignored everything else
 
3:18 PM
The comments mention .ToString() will get you the params, but it might not get you the fully-qualified method name
 
Is there a better place to put a utility method than just making it private static?
 
GetCurrentMethod() just gives you a MethodBase (which MethodInfo inherits from) so youre back to square one at that point
 
Hmmm I am still a little confused..
If you have this:
public class collectionObject
{
}

public class CollectionTest : IEnumerable
{
private List<collectionObject> theStuff = new List<collectionObject>();

public IEnumerator GetEnumerator()
{
foreach(var item in theStuff)
{
yield return item;
}

}
}

The GetEnumerator() function returns collectionObjects. A collectionObject doesn't implement IEnumerator.
 
No, it doesn't return collectionObjects
oh, wait
nvm
@Justin Look up yield return
 
@Sam public enum SamsQuestionType { Good = 2, Bad = 100, Ugly = -20 }
 
3:21 PM
It automatically generated an IEnumerator for you
 
Sam
Really? ah right, thanks.
 
@Justin why not just return theStuff.GetEnumerator() ?
 
@drch I am trying to learn how IEnumerable works and how to impelement it. The doesn't really make sense.
 
or better yet, implement IEnumerable<collectionObject>
 
the code*
 
3:23 PM
@drch I think he's looking at a tutorial or book.
 
ah i see
 
@Justin Learn how yield works.
 
in WPF, 1 min ago, by Sisyphe
http://vlcdotnet.codeplex.com/
anyone here tried it^?
 
Then it will make sense
 
@JohanLarsson no, but funny enough i was looking into it the other day, let me know how it works if you try it
 
3:24 PM
public IEnumerable<int> EveryInteger() {
   for (int i = int.MinValue; i <= int.MaxValue; i++) {
        yield return i;
   }
}
 
There's IEnumerable which indicates the class is enumerable, and IEnumerator which indicates the class can enumerate an enumerable object
So you may have FooCollection which is enumerable, and then FooEnumerator which enumerates a FooCollection
 
you can replace IEnumerable<int> with IEnumerable or IEnumerator and that code would still work (and do the same thing)
 
@Steve will github it if I get started
 
vlc just released a new version today i think
think it was a biggie tho
 
Sam
@drch i always use PotPlayer
 
3:27 PM
@drch You should only return IEnumerator in GetEnumerator
 
@Sam ehhhhhhhhhhhhhhhh
@ton.yeung Sounds risky. I'm in.
 
Sam
@ShotgunNinja ?
 
@ton.yeung i was hoping they would add being able to see subtitles in 2 different languages at the same time
although i doubt that a very highly requested feature
appears so
there was a 1.1.13
maybe not full on semantic versioning, but i dont think this is 2.0.9 + 0.0.1 ;)
 
Sam
3:32 PM
I'm beginning to think that a "microphone-less surround sound headset" doesn't exist.lol
 
the more expensive ones you can just unplug the mic
comes right off of the headset
 
@walkingTarget What about it?
 
I guess you only want the method name, not all that garbage... hence the regex comments earlier
Sorry, I've had a lot of coffee
 
Sam
yeah, i've noticed :/ cheapest surround sound headset (without a mic) i've found is about £230.lol
 
lol right? ^
 
Sam
3:35 PM
i know, right? rofl
+1
 
@walkingTarget I mentioned that property twice
 
some headphones have some decent bass, obv not as nice as real bass, but it still sounds great
 
Of course I knew about it
@Steve bass?
BASS!
 
@KendallFrey yeah i was in the process of changing my typo's when you corrected me :p
@ton.yeung ohhh yeah, especially with video games
i remember halo w/ like a 50 watt sub i had (small), but it would still sound awesome every time you shot
 
Sam
 
3:38 PM
COFFEE
 
Sam
it's one of my fav's
 
my speakers are terrible, when ever my cell phone is near them, even like a 3 foot radius, they start making weird sounds
it drives me up the wall
 
Sam
what's "gitmo"?
 
Guantanamo bay cuba
its where we hold 'terrorists'
 
Sam
@ton.yeung nope, english, with a bit of scottish.
@ton.yeung rofl
there's a YT vid about this (UK, GB, etc), it was quite interesting actually.
@ton.yeung this means WAR! lol
 
3:46 PM
i could care less that you don't say "i couldn't care less"
and by that i mean i care a lot
so fuck you
 
@drch mad?
 
Sam
@ton.yeung can't we all?
 
@JohanLarsson ha nah
 
@ton.yeung how many languages do you know?
 
so this german language institut im going to does their classes twice a week for 3 hrs. the one in munich is 4 times a week for 2 hrs.
what a freakin pain in the ass
 
Sam
3:52 PM
does anyone know what a headset's "Impedance" is?
 
how far the sound travels to the people around you
that may or may not be completely made up
 
Sam
ah right, thanks
@drch do you know what this means: SPL@ 1kHz, 1 Vrms: 110 dB
 
no clue. my headphones are busted and im using ear buds
 
Sam
kk
 

« first day (1076 days earlier)      last day (3869 days later) »