« first day (247 days earlier)      last day (4687 days later) » 

3:05 AM
hi guys need some help with asynchronous method calls ! ne volunteers :D
 
 
3 hours later…
5:45 AM
Good morning.
 
 
3 hours later…
8:29 AM
(3 hours later) morning
 
9:12 AM
hi
 
AMH
Hi could u help me in my question
0
Q: Intersection between two planes

AMHI use the following structure to create plane http://www.koders.com/csharp/fid8BE50D1ADB6857150794BF12D643BA1739EC3264.aspx I can get the normal too , my question is how to get the intersection between two planes I know the mathematics idea , and I did the cross product between the the plane...

 
 
1 hour later…
10:31 AM
Hi all
Does anybody know how to get all predefined comments in Visual Studio as todo, hack, undone, note, bug etc ?
 
From the "Tools" menu, select "Options". Then go to "Task List", which is found in the "environment" section.
 
I was there, but I haven't seen "Note" in task list
and "Bug"
 
Maybe those two are hardcoded, although that'd seem kinda odd
 
I came across them by accident, just writing different comments
 
"A comment token is a character string that can be used in addition to the pre-defined tokens TODO, HACK, or UNDONE as your personal marker for notes in your code."
Interesting that it doesn't mention NOTE or BUG
And they're the two that don't appear in the options thingy. Maybe Microsoft forgot about them when they were writing up the MSDN docs =P
 
10:44 AM
=) maybe
easter eggs
 
 
1 hour later…
12:00 PM
 
12:19 PM
Alright, halfway to the Fanatic badge =)
 
AMH
12:32 PM
Hi all
0
Q: Intersection between two planes

AMHI use the following structure to create plane http://www.koders.com/csharp/fid8BE50D1ADB6857150794BF12D643BA1739EC3264.aspx I can get the normal too , my question is how to get the intersection between two planes I know the mathematics idea , and I did the cross product between the the plane...

@CBarlow any help in that please
 
While it looks exceptionally interesting, I've never done anything with 3D space in code
 
AMH
@CBarlow Ok thanks for ur interest
 
1:28 PM
@CBarlow: half way there, huh? Wait till your one day away and you have to choose between your loved ones and your badge. That's when you learn if you're a fanatic or not ;-)
 
@MattEllen hahaha
 
@AMH Gave it a shot.
Depending on what you want to use the line for, you may need to transform that equation further.
Also, depending on how your planes are stored, you may need to do some transformations to have the plane equation in the form I used.
 
AMH
1:56 PM
@MartinhoFernandes Hi
@MartinhoFernandes are u here
 
AMH
@MartinhoFernandes I who asked the question about planes intersection
@MartinhoFernandes I need to discuss it with u
do u have time
 
AMH
First I will get the plan using its normal is that true
 
You need 4 values to define a plane. The 3 coordinates of the normal, and a fourth.
 
AMH
1:59 PM
then I will get the distance from the normal to any point
 
The normal is a vector. You can't get the distance from it. It's not something that has a position.
 
AMH
So what d mean
and d is the distance to the origin means what
 
The normal is just the direction where the plane is facing "up".
The d is the distance from the plane to the point (0,0,0).
 
AMH
yes it's
so why we need to get the cross product of the both normal
 
The intersection line will not be facing up from the planes. It will be facing along them, right?
 
AMH
2:03 PM
sorry I missunderstand that
 
The intersection of the planes will not be perpendicular to the planes.
It will be exactly on the planes.
The cross product of the normals, gives you this direction.
 
AMH
how to get from this direction the two points
 
To define a line a direction is not enough. You need a direction and one point. One you have that you can get as many points as you want.
To get that first point, you can pick any point that is on both planes.
 
AMH
how to get it , sorry I am new to that
 
You can start by making x = 0 for that point. Then you're left with two equations: b1y + c1z + d2 = 0 and b2y + c2z +d2 = 0. If you solve them you get the values of y and z.
You can find the solution to those equations in my answer.
Now, you have a point P and the direction D.
To find another point you can simply add the direction to the point.
All the points in the line can be found through P + λ * D, you just need to pick different values of λ.
Did you move too fast?
 
2:33 PM
Hello all. Got problem with typed dataset any1 who worked with adding, updating and deleting rows?
 
3:08 PM
@VoonArt i know this doesn't solve your problem but typeddatasets were meant for 2005, not 2011
 
@ChrisMarisic Pray tell - what is the modern practice?
 
Vetted by Microsoft is EF I guess.
Given their track record, I'm curious to see how long that one lasts.
 
3:30 PM
EF 4.1 is good, Linq-To-Sql is good, EntLib Data's newest is cool especially with it's new Accessor mini orm
mini-ORMs are also pretty awesome, like PetaPoco, Dapper
I used to be diehard nhibernate (still have our main site in prod with it) but i will never invest creating a new site with NH
 
 
1 hour later…
4:55 PM
Hi all
 
@Lagrangian hola
 
how are you
I just wanted to discuss one thing that
why this happens that if you make a request for site:www,facebook.com and info:www,facebook.com with Httpwebrequest using proxies
and info works and Site says exception returning 503
 
my guess would be the proxy is dead
or overloaded
i'm not following your question too well though
 
same proxy works for info but not for Site
that is weird.so how do we check proxies to be alive? use ping or just use webclient and navigate to google ?
 
testing with google like that would be the most accurate
 
5:18 PM
...
strange
oh well/afk
 
have you tested it?
 
6:05 PM
@username Resharper can get predefined comments as TODO and NOTE in a special browser in VS.
 
6:47 PM
anyone here who can help me with this stackoverflow.com/questions/6414743/…
 
hi folks
anyone in here who knows a bit about WCF and callbacks?
 
 
1 hour later…
8:07 PM
@yas4891 I know just a little about WCF
whats the Question?
 
i've never attempted to use call backs and WCF
 
its mostly used in two-way services
 
that sounds like some type of insanity i would actively seek to avoid
i'd probably rather use a couple more end points and let services chain actions as needed or not needed instead of doing something elaborate with callbacks
 
anyone here with some experience with user controls?
as in creating own controls
for winforms
 
not in almost half a decade
 
8:25 PM
coz people dont use it anymore? or coz you havent? :)
 
a little of column a, and alot of column b
 
ah.. okay ! Nevermind
 
i'm all client server architecture now
web = win
 
:) good for you!
 
Using Greetings;
Public Private Class{

Chat.WriteLine("Hello There");
}
no one there
 
8:45 PM
Hello @Lagrangian
 
9:10 PM
hello
@DrTJ there?
@Lagrangian there?
 
Hi there
 
2
Q: C# Winforms Timeline control ( from WTL ? )

techmancI need a timeline control for one of my projects (Winforms/C#)and Im really not sure how i should create one from scratch. I have some visual idea of what i want. Something similar to the link below http://www.codeproject.com/KB/wtl/wtltimeline.aspx I just want to know is it possible to use th...

have a doubt regarding this
my requirement is not an exact timeline but this
-2
Q: C# Winforms User Control that displays an event on a timeline

techmancI am having a big problem here with a user control that i need to create for my winforms c# application. What the control must do is , have a predefined range of start and end date. It should be like a line. Then it should read from a database file that has some 1000-odd rows... Should extract D...

 
well i think i am not understanding the question
is trackbar what you need?you can play with it on the other hand it is not fancy
 
need something like a trackbar...
my application has a datagrid with four two colums - Timestamp and Type
so, i want a control that will display an alarm with a red vertical line on a horizontal track bar like control
like how ctrl + f and some alphabet works on the scroll bar in chrome
 
ctrl + f is search..........
 
9:24 PM
yeah... but try ctrl+f and search for a and see how it shows in vertical scroll window of google chrome
 
ok so you need trackbar with red alarm places on it which determine that alarm time is still or near that time
 
the yellow markers
yeah
 
an hn
 
i want the tractbar like control to have a range of dates ...
and if a alarm exists it should extract the date of the alram from the DB and mark it as a red line in the DB
 
wellll you need to extend it or something or you can make your custom control
I have an idea but not sure it will help you
 
9:28 PM
okay
i will have a look at it
thanks
 
got idea giving answer on your post hold on
check that
do you know how to make custom control?
did it helped?
 
yeah.. i get the concept
 
will it work?
 
prob is there are many many records
10000
so, need something that is smaller
just a line on a long trackbar
 
well lets say you have 1000 records how would you manage to show them on single data grid column?
 
9:37 PM
it has a scroll bar...
two colums with 10000 rows
 
hello, does anyone know how can I scaffold my ASP.NET MVC 3 view to display Primary Keys?
 
you can put it in flow layout panel displlay scroll bar
you then need to generate the width and number on labels dynamically
 
hm....
 
if you need to load 10,000 rows
you probably really should be asking if you should do that period
and the answer is almost always, no i should not be doing that
i would recommend looking at Infinite Scrolling pattern
a fancy take on a standard pager
instead of getting 100 records and showing a normal pager
you get 100 records, and the total record
say 10,000
 
the idea is too have a cluttered control with ability to zoom into a specific part
 
9:44 PM
then you fill your grid with 100 records populated, and 9900 rows of empty, so the scroll bar for the grid is the legth of all the records
then you catch the scroll bar events
and load elements into those empty rows as needed
you could even do fancy things
 
okay! thats a good idea ... but this is wrt DGV right?
brb
 
like having it show either near the scrollbar, or literally as part of the action of scrolling that you get like 100 / 10000, 5000 / 10000 or something else more specific perhaps A, B, C markers or text popping up as you scroll in big swathes
 
i recommend taking a look at webmail.aol.com
they have one of the best infinite scroll bar implementations on the web i've ever seen
 
or what if you can show next and prevoius button what do you sar @chris
 
9:47 PM
the whole point of the infinite scroll pattern is to permanently not need next/back buttons or paging # buttons etc
 
an hn
 
of course you could have both
 
great i did not thought of it ;)
hey chris do you know wpf?
 
its a tricky one to do very well
also not many things really need it
 
9:48 PM
but using it for like the inbox of a webmail client is awesome
since if i scroll to the bottom of the page i can get to the oldest of my msgs
 
0
Q: How do you make an infinite scrollbar control with Windows Core API?

How do I make one? I am kind of a newbie in Windows API. Is there some sort of manual for this sort of thing? I am specifically interested in a Core API. Thank you for any help.

 
instead of having to click next page group to get from 1,2,3 ,4 ... 30, to show 31....60, and so on
 
@ChrisMarisic have you seen bottom icons on the desktop of mac when you hover mouse over it they enlarge it is awesome
so do you have ida how do it in WPF?
 
buy a user control that does it =p
there is absolutely no way in hell i'd ever waste my time programming that
there's probably atleast 10 paid components for it, and maybe 1-3 open source and/or freeware
Telerik is always the company i've went to when im willing to drop money on reliable components
since my company is now basically pure MVC3 however we're looking at bringing on a full time designer
 
9:57 PM
open source :)
 
have a good night everyone
 
check it out man its really awesome
so what are the best projects open source you have encountered?
 
10:09 PM
hello there
 

« first day (247 days earlier)      last day (4687 days later) »