« first day (654 days earlier)      last day (4295 days later) » 

3:00 PM
I have a foreach nested inside another foreach, and I'd like to continue to the outer foreach from the inner one
 
ive heard assembly is a nightmare to learn
 
Same concept. Never use {Dreamweaver | Catalyst} for developing final versions of {Websites | Applications}.
2
 
do I need a goto for that?
 
@zneak continue?
with label
 
continue will continue the inner loop
c# has labeled continues?
 
3:00 PM
no
wait you want to end the inner for loop
can you use break?
 
Zneak, try breaking up into sub-methods, and passing along valid information.
 
or do you need to skip endloop logic?
 
No one wants to look at a 4-times nested loop with conditional breakouts.
 
we had to program a robot in C# to navigate a maze to find an object, probably the hardest thing
 
pull out one or two of those loops into a separate function.
@Nadal , did you use the left-hand rule?
 
3:02 PM
foreach (stuff happening)
{
    foreach (other stuff)
    {
        if (stuff)
            break;
     }
     thisStillGetsExecuted();
}
 
??
 
foreach (var foo in bar)
{
foreach (var baz in frob)
{
if (baz == qaz)
continue to outer loop;
}
}
Hans got it
 
@zneak otherwise goto
 
yeah
 
left-hand rule (or right-hand rule), for mazes: Follow either the left or right wall, and you'll eventually cover every accessible section of the maze.
 
3:03 PM
but that might not pass code review lol
 
assuming that the maze does not have "islands".
 
shotgun yeah we followed that but it didnt quite work because we were only allowed a light sensor and the douche that designed the maze put the paths very close and made a lot of sharp turns
that caused the robot to go off path a lot
 
ouch.
wb David
nice try, @Hans
 
0 -> 0 -> 0
^         |
|         V
0 <- 0 <- 0
^         |
|         V
0 <- 0 <- 0
left hand rule never goes into center
 
@HansZ what did u program the FPGA with?
 
3:06 PM
right hand rule never goes to bottom
assuming top left is start
left hand/right hand is only for simply connected graphs
i.e. no cycles
@Nadal xilinx, pspice decks, propietary stuff, model sim
 
we ended up doing something else--- looked left and right and moved forward if black was detected
 
depends on application
 
if white was detected do a 180 turn
it was basically "hope you get lucky during demo and that your robot catches the other line" kind of thing
oh wow, I googled "get lucky" and I got all sorts of strange results that would get me muted for posting pics on here :P
 
@Nadal lol that sounds familiar - lots of the "do something practical with the engineering we taught you - as a competition" ended up as a cross fingers and pray exercise. Particularly in mechanical engineering classes - for some reason carefully drafted force diagrams didn't make too much difference to how much weight a bridge made of popsicle sticks would hold.
 
@DavidHall kind of a preview of the real world
 
3:14 PM
:)
 
this sounds like more fun than I have at my engineering school
we're basically just doing project management
 
we did the force diagram popsicle bridge in high school
we won by cheating and putting a shit ton of popsicle sticks on the road part
 
We had it in first year for some reason... maybe New Zealand high school physics was a bit lacking.
 
:P I remember my popsicle bridge could handle the most load but it didnt win the competition because "cars cant pass through"
 
Yep - that is how the group who won in our year did it too.
 
3:16 PM
nadal built a solid brick of popsicle sticks
 
i never did a popsicle bridge :(
 
basically :P
 
@zneak I'll build a popsicle stick bridge with you!
 
I'd be thrilled to
 
spaghetti bridges are the ish
 
3:16 PM
@zneak google "kinetic king"
 
2x HS champ
 
then watch the videos
 
heh I'm at work
 
We also had to design a catapult and throw stuff across one of the labs. And we got to stress test metal samples - and see a concrete reinforced structural beam from building be stress tested. Fun times, fond memories.
 
maybe at lunch time
 
3:19 PM
@DavidHall yep we did catapult too
 
I've seen that before
with all the popsicles that basically get thrown all over the place?
 
somebody went on america's got talent to do that
and he got to semifinals
 
lol
 
and they looked awesome
@DavidHall our catapults played jenga
basically whoever could knock down the most tower from 12 feet away won
resetting was fun
 
@HansZ nice! I'm trying to remember if we had to break anything... don't think so, I think it was just distance. All so long ago now, I feel like an old man :)
 
3:23 PM
it's going on 3 years for me
 
I finished my masters in... 2002 I think, so... yeah, long time since I did first year projects.
 
oh wow
I think you won the "I'm old" competition by being actually old
 
oh wow
guess who's got an interview for an internship at microsoft?
 
who?
 
me
 
3:27 PM
nice
 
lol
 
zneak are you still undergrad?
 
yeah
our school system is "weird" though
well I'm not sure how weird exactly
 
how so
 
hey hey
 
3:27 PM
but I got in college at 19
and that's one year faster than most people make it
 
@HansZ lol yep - I like how things have changed - so much choice in engineering now. Software Engineering was only allowed as a major in my fourth year and biomedical didn't become a major until the year I finished my masters. Both what I would have liked to do.
 
I get the feeling most people in the US get to college at around 18
right?
 
yeah
17/18/19
17 is earlyish, 19 is lateish
 
okay
 
weee
 
3:29 PM
well yeah, I'm 21 and 2 years into my college studies
 
i got into college at 23, maybe 22, idk
 
and I'll be applying to other colleges because I don't like what I'm doing right now
that might add a year or two before I graduate
 
man what is it with people starting college so late?
is 19 standard age for starting in canada?
19/20?
 
i was in the military
lol
 
well it's special in Québec lol
we have high school
5 years of it
 
3:30 PM
Nadal started at 19 too
 
and then we have that CÉGEP thing that nobody else has
which lasts 2 or 3 years
and then we get to college
 
but undergrad is shorter then, right?
it's not full 4 years?
 
undergrad is 3 or 4 years
4 years is rarer though
(my program is a 4 year program though)
 
high school is 9-13 grade?
8-12?
 
uh let me do the maths lol
you start elementary school at 5
 
3:32 PM
1st grade?
 
uh, 0th grade lol
 
kindergarden
 
yeah that
 
kindergarten
 
i wasn't sure of the translation
high school starts at 12
ends at 17
 
3:33 PM
its a garden of kinders
 
kinder = german word for children
same word that "kin" comes from
 
so yeah, you get at college at 19-20
but since I was a clever kid I skipped 4th grade
 
oh really, i didn't know that
 
so I was in a year early considering I had 3 years of cégep
 
my brother failed grade 0
 
3:36 PM
lol
 
im for real
lol
 
lol
 
i heard terrible stories about people "failing" kindergarten
i'm still not sure it's true
 
they said his social skills weren't there, and he had some issues, and that my parents should get him checked out, and my mom said "eff that" and made him go again. He's now 30 years old and sleeps on their couch. boy i bet they regret not listening to that advice
 
3:40 PM
yeah that's the kind of story I heard
 
he's a good guy, just thinks everybody is out to get him so he is kind of dickish if challenged about anything
 
I know someone like that
we were in the car and his brother was driving
the dude I'm talking about has a gps
he says "my gps adapts to my driving"
"so it knows that I usually drive 10% faster than allowed"
"and adapts the estimates"
 
That's slow.
 
lol
 
and his proof was that his gps and his father's don't show the same estimates
so I told him that it could be due to a ton of other reasons
 
3:43 PM
If I drove that speed, I swear I'd be getting passed left, right, and ... ok, just left, but you get the picture.
 
he got mad and defensive didn't he lol
 
because it seemed unreasonable that there was serious machine learning in this little thing
yeah lol
he was really really uber pissed
told me I had no right to say stuff like that
and that it was like if he went to my home to piss on the carpet
 
my brother tried telling me that VM's ran faster than the host machine because the hardware was simulated, lol i tried telling him the simulation still runs on the physical hardware, he got mad
 
lol stupidity
My VM (Ubuntu) runs faster than my host machine (Windows).
 
haha i know, but he just likes to feel important or knowledgeable (sp)
lol no, he was saying his windows vm ran faster than his windows host, same version --- it might boot faster because your vm loads the crap into memory, so when it loads the kernal its memory-> memory instead of disk-> memory, but thats just a technicality
 
3:46 PM
But the data still has to come from disk.
 
yeah, but the vm loads it, so its not the "windows loading screen"
like i said, just a technicality
the vm preloads it i guess
 
Yeah, I depends on the VM of course. I don't think that VM's load the entire disk into RAM at once.
I'm guessing most do on-demand.
 
yeah, thats quite possible
i could have read an old post
but the moral of the story is: he got pissed because he was wrong, like more than a normal person would
hey @KendallFrey you weren't able to delete that post?
i like going to wikipedia and reading about the entire history of china. If only I could remember all of those names
 
lunch time
later guys
 
c ya man
 
3:59 PM
guys, women want their right to go topless in the streets, they want to exercise this right, lets give it!
 
i don't think i should click on that
but i sure as hell support it
 
Hey does anyone here have experience embedding the mono runtime into a native application?
 
4:18 PM
Only what I've read online
 
back
i've never used mono
 
Bummer. Oh well.
 
lol nadal
 
@WoodrowDouglass Unless you've got a commercial license, you aren't supposed to do it
 
Curse you, Microsoft!
Continuing to hold back the advancement of the software industry since 1995.
 
4:26 PM
wut? Mono isn't MS...
 
That legal battle that Microsoft did with Mono, though, was what prompted the commercial license.
Unless I have my software legal battles mixed up.
 
mono is what you get when you suck face with those nasty girls in the back alley behind the bar
 
Wait, they have GIRLS back there?
All I've ever seen in back alleys behind bars were homeless old men.
and I live in downtown Milwaukee.
 
if you can call them that, i'd rather call them slagathores
 
should I be looking up that term at work?
 
4:33 PM
it doesn't exist
well, maybe it does, but not to my knowledge
 
Hmm. I love using words that don't exist, it really ticks off everyone else.
 
think of it as a mix between a sloth, ant eater, and a rabid wolf
 
but yeah, engineering college is decidedly devoid of reasonably attractive single women.
 
any of you all use telerik openaccess ORM?
 
4:38 PM
integration by parts is my favorite type of integration
 
@Steve cause it's the easiest?
 
only WPF controls @Justin
 
@Justin looking for a good ORM ? :)
 
@ShotgunNinja I don't think MS has ever battled with the Mono project directly, but maybe with Novell, who hosted the project for a time
 
well, easiest compared to what? lol
i mean basic integration isn't hard, so its harder than that
 
4:41 PM
Mono isn't attached to Novell anymore though
 
@DavidDV Well I am having a problem with it and wanted to see if anyone could lead me in the right direction
 
but yes, because its easy :)
idk, i just find it fun
 
The commercial license is required when you bake Mono into an assembly because of LGPL
 
AH, okay.
 
4:43 PM
@Justin I think that might've been the one I was told we're using in the future.
 
@justin , @DavidDV suggests using EF, its his favorite
 
LGPL requires that the user be able to modify the software, which means static linking and embedding is a no-no
 
I was using Entity framework and was having problems, so I thought I would give this a shot
 
EF sucks ass
:p
 
lmao.
he constantly rants about EF, I just wanted to tease him a bit
 
4:44 PM
Justin, any big-ass orm that does stuff like entity tracking and lazy loading will cause problems
 
Hey @DavidDV I thought you were sick... Yesterday someone said EF twice and you didn't show up.
3
 
I have to work sometimes :(
 
:(
 
D:
you guys work too?
 
i pretend to. But really I just do "reasearch" on SO chat
 
4:46 PM
He is kidding. No one works around here
 
anyway time to go home
 
c ya man
 
I'm pretty sure the C++ chat just spends all their time dicking around with base data types.
 
@DavidDV drink one for me. I want to get started early... it's been that type of day...
 
what is this thing you call ...d at a ttype? is that like a heroic pointer?
 
4:47 PM
they're these mystical things that aren't objects, but take up memory.
ba dum tish
 
my joke wasn't funny :(
 
How old were you when you learned to swim?
 
nor was mine, apparently.
@kush who is this directed at?
 
i can't swim to this day.... i can float and kind of stay alive
 
I was just spitting in the wind, just to get a general idea. five, nine?
 
4:51 PM
I learned to swim at 3.
 
how do chinese people pronounce china?
 
Zhinghua Renmein Kunkhuagua
something like that
 
How do japanese people pronounce japan?
 
@shotgun hapan
 
Nippon
 
4:52 PM
Nippon? Something like that
 
but i mean, thats their english translation of it
what do they call japan in their native language, and do you pronounce THAT
 
@Steve probably the same people who say Milku for milk.
 
no, their english translation is "japan".
 
oh
 
Japanese spell Japan as Japan, but they live in 日本 :( translate.google.com
 
4:53 PM
Also, milk is either Mi(r)uku or Gyun-yun
not sure on the romanization of that, but whatever
 
My friend in Tokyo says the Japanese are pretty closed minded.
 
so when they're talking in japanese to eachother, they say "nippon"?
 
> The Japanese names for Japan are Nippon (にっぽん) and Nihon (にほん).
 
okay
 
4:53 PM
-Wikipedia
 
and iirc, "nipponsei" is roughly equivalent to "Japanese"
 
I got something right today. Kendall!
 
but my ex-gf was studying Japanese, not me
 
i was reading the history of china on wikipedia, and they said that the europeans got the name china probably from the Qin dynasty, so what did they call themselves before europeans started caling them china
 
Xing-i?
 
4:55 PM
China in Mandarin is Zhongguo (sounds like JOHngGuo)
 
Most of China pre-dynasty was a bunch of separated regions and city-states.
 
John? Jon? Jon Skeet !! :(
 
I'm going to Japan in three weeks!
 
They unified under a common dynastic rule early on, and settled on a common name, which varies between the regional dialects.
iirc
hence the gigantic sense of national unity present in China to this day.
 
@ShotgunNinja they had dynasties for a long time, you're thinking of pre-imperial
 
4:57 PM
Yea, there are a ton of different dialects - that's why I specified Mandarin
 
oh, well, that then.
 
i've been bored and reading chinese history on wikipedia for a few hours now lol
 
lol.
lunch time!
 

« first day (654 days earlier)      last day (4295 days later) »