« first day (1224 days earlier)      last day (3950 days later) » 

23:00
@TravisJ Either way that is a difficult measure. California has both size and population though.
I could see four California's, not six.
@TravisJ You think it will pass?
@Greg - No chance
@TravisJ It would be helpful though, the state is constantly bankrupt.
@Greg - Yeah, instead there would be 3 bankrupt states
@TravisJ I don't think central or northern would go bankrupt. Most if not all of southern would.
@TravisJ On a professional note, you think it would be possible to create Tile's on the web for buttons?
@Greg - If it succeeded, then a lot of the large cities of the country would want the same thing. A disconnect from the rural areas.
Less taxes, urban laws, etc. etc.
23:05
@TravisJ Except the rural areas aren't bankrupt. It is those cities that go bankrupt.
@Greg - I believe you are referencing an exception. Look at how many rural cities were outright abandoned during the great depression.
@TravisJ True, however we've noticed cities this generation fail.
@Greg - The recent economic hardship definitely took its toll on some large cities, but that is because most small cities were not expanding and already had a lot of government funding from programs put in place by FDR
@TravisJ Can we come back to this in a second, do you think that Tile's are possible as a menu for a web-site?
@Greg - In fact, the first banks to go were the small rural ones. They went in the thousands. It just wasn't big news because they were easy to cover.
@Greg - I didn't know what Tile meant?
You mean in the metro context?
23:11
@TravisJ Like Windows Live Tile style. I have to build a dashboard, the left side of the web application I wanted to be a slider. So the Tile could ultimately shrink based on screen space.
Plus, it will alleviate right-click, so it will be mobile friendly.
got some sexy sailing gloves :D
@Greg - What kind of a "slider"?
@TravisJ It will shrink to three different sizes. Example-
23:14
lmfao
@TravisJ I was trying to find one, but I can't seem to find one. They all resize once the screen auto adjust. I want to have it controllable at all stages of the resolution.
Hi all
@Greg - Use percentages then
who can help me?
on c# xna
for collision detection and resolution
of balls and rectangles
@TravisJ Back to the original question though, possible to build metro tiles for web space? Or is that a horrible idea/
23:17
i can't find one solution for what happens when the ball contact with one rectangle by the corner :S
@Greg - I considered doing that once. Problem is this: it is cool to nav from at first. But once you get somewhere, it is a pain to nav again. The tiles have to be able to zoom in and out of the screen and it can become kind of counter intuitive. No one is used to it yet either. If you were to pull it off, it would probably be neat but it will take a lot of time to get that working and it would require a websocket with SignalR as well.
because with the sides of rectangle the velocity vector of object will be inverted
but on the conrner I don't know what happens
@KendallFrey might know
@TravisJ I want to attempt it. I think the Live Tile concept would be powerful and useful for a Dashboard.
@pava91 - Don't represent circles with rectangles.
@pava91 - Move a point, and spin a line off the point.
Line intersection = collision
23:20
i didn't realize you did game stuff too :/
@pava91 Do you want to make it bounce at odd angles? if so, that's tough
@Greg - It could result in over engineering
@Steve - I made a game for the nintendo ds once using homebrew. It wasn't released or anything, just for a class in college. I made billiards, and I made a space flight simulator
@Steve - Billiards collision detection is intense
I don't know what happens on the angle
:S
one word: arctan
@KendallFrey how i calculate the resultation of collision between one rectangle and one ball? XD that's a problem
23:23
@TravisJ What do you mean?
@pava91 - Treat the side of the rectangle like a wall
@Greg - I mean if you spend a bunch of time creating these tiles then it might cost more than you intended to invest in it.
@ReedCopsey you happen to know any good auto places in Seattle?
@Pheonixblade9 - As in repair?
@TravisJ yeah. I curbed a wheel :/
23:24
not badly, just cosmetic
just curious to see if it would be much more expensive to have someone else fix it rather than do it myself
I don't know if they can repair wheel damage like that.
you sand it down and putty it, then paint it.
Hm
I think you know more about this than I do :P
@Pheonixblade9 - Ah, like that. I see. I was thinking it had been creased in.
23:26
@TravisJ oh, no. I didn't HIT a curb, just brushed against it.
I would be way more pissed off if I had done that - I would consider that crashing the car
Yeah I get it now :)
Hi, I'm havind an odd behaviour... This is the way it should work: http://puu.sh/75ad7.png

What's happening: I have an autocompletebox from which you select an item and click enter, clicking enter will execute ProcessIndexFileAction...

On a (apparently) completely unrelated matter, I have this event handler:

private void ListBox_MouseDoubleClick(object sender, MouseButtonEventArgs e)
{
if (MainViewModel.SelectedLogItem == null)
return;

if (!MainViewModel.SelectedLogItem.LogText.Contains("error occured"))
@RodrigoSilva - That was a pretty epic writeup
@TravisJ I like to write it all at once xD
It is definitely a plus
23:28
If some1 asked for my help, I'd like to have all the info in one place :P
I have to go though :( But that looks well done, you should get a solution
np man. See you :)
But guys, am I missing something obvious here?
Why does the binding suddenly stops working?
@Pheonixblade9 Nope - sorry
Could it be that the SelectedIndexFile gets disposed and the textbox won't be able to bind to it?
23:46
@ReedCopsey would async/await be appropriate for downloading a bunch of files and parsing them?
is it any different from Parallel.ForEach in this case though?
yes, depending on how you write it
it can be a lot better, since it's very IO bound
(unless most of the work is in the parsing)
interesting
uhm. there's a lot of work in both parts
I need to download 5000 files and parse through each of them, each of which will be 5-20MB
(yes it's horrible. blame the stupid APIs I have to deal with)
I'm also concerned about memory usage
chucking 30GB into pagefiles seems like a bad idea
well, with parallel.foreach you can easily throttle how many are handled at once
you wouldn't want to download them all at once anyways, or they'd all be in memory
23:50
correct
is this something you'll be doing regularly, or a "one off" job?
regularly
well
occasionally.
something like once a week to once a month
I'd use BlockingCollection<T> with an upper bound
and have 2 of them - one that is the items to download
and one that's the data to parse
and build a pipeline
Civ gets kinda boring after you conquer all other civs. hehe
interesting
23:51
@ReedCopsey how can the opening of a new window interfere with the data-binding happening on another window? I've just checked and "SelectedIndexFile" is never even referenced in the window causing trouble
that way, you can enforce that you're always only parsing 8 items at a time, and downloading so many, etc
@RodrigoSilva It shouldn't
@ReedCopsey producer/consumer is a good way to do that, maybe
@ReedCopsey First, is it possible to "block" the binding at runtime?
the downloaded file is a producer, the parsing is a consumer
@Pheonixblade9 yeah- that's basically a producer/consumer pipeline
you make 2 BC
one that handles the "tasks" of download the files and holding the data
23:52
that's kinda how I built the whole tool.
and one that handles the data to be parsed
and you can set upper bounds, so you can't feed more than N items into either one
it has a Builder and a Loader - the builder gets the data, the loader puts it into the DB
interesting.
one worker can sit in between, call GetConsumingEnumerable() on the download collection and Add the results into the parse collection
It's effectively this pattern: msdn.microsoft.com/en-us/library/ff963548.aspx
neat. :)
(the main difference is that you can allow >1 worker to process each stage)
23:54
I'll give that a try, thank you
impress my boss :D
(so you can have 4+ "tasks" process the downloaded data, etc)
again - just because I have to say it ;)
this is trivial with F#, since it's what asynchronous agents are designed to do... ;)
:P
god, my boss is somewhat wary of async/await, he'd probably flip if I wanted to do it in F#
(and the main reason why I know how to do it in C# - it's how I'd try to mimick that behavior, and/or use something like Pidgeon to handle it)

« first day (1224 days earlier)      last day (3950 days later) »