« first day (760 days earlier)      last day (4414 days later) » 

00:01
I don't know much wcf and almostzero db and ef but: could it be a solution to create a view in the db containing the calculated properties and generate the pocos from the view?
@JohanLarsson While a great suggestion, not a solution in my case; thanks though.
woo hoo prototype FTW (and useless use of canvas is useless)
@Pheonixblade9 Is this inequality possible to graph? -4<w<-4/3
@CCInc no, but I'm sort of busy atm :) help you in a bit, k?
00:03
sure
@Bracketworks when you add a service reference, click "advanced", in the reuse types in reference assemblies, make sure the common objects shared by both client and server is in the listbox and tick it
@Larry wouldn't life suck so much if you were a cable guy?
@rlemon - I won! :)
@rlemon did I being crazy?
@rlemon - I also cheated when I had only 1 leg left :(
[]
(not a fan of losing)
00:13
You just lost the game.
What game?
The Game.
!!/urban the game
sorry pc crashed
:(
SSD rando lockup
only happened twice in the past year
@rlemon - If I use this code:
λ.GlobalEvents = function(){
if (!(this instanceof GlobalEvents))
return new GlobalEvents();
return this;
};

Will it allow me to do this?
λ.GlobalEvents();//initalize global events
λ.GlobalEvents().Off();//call method on initialized global events object all calls will go to one instance (no uniqueness)
00:20
yea
but I would advocate against the stupid chaining
I only need it for this one "class"
chaining is nice, but you should call it a new method, or pass a param to invoke it
I need multiple closures to access the same object
without being able to access where it was initialized
λ.GlobalEvents(false) or
λ.DisposeGlobalEvents()
why do you need so much convolution
It is the only poor practice that I use, but I use it to cover some ie functionality, and for animating more than 10 elements at a time.
00:22
var lib = function() {
   this.fn = {

   };
   // then if you wanna be like jQuery you write an init that gets called to clone all of the fn prototypes to the top level object.
};
I also use it for filtering large amounts of data
I don't want to copy jquery, I just liked their use of the global namespace
well that is good practice :P
!!/google IIFE
I like to use IIFE's a lot too, seems you have jumped on that train :P
they don't immediately mean closure in themselves you understand that right?
yeah they are teh awesome
if you expose the outside of them with a var then there is not really a closure for the whole deal, only for the insides of the function
00:25
took me a while to grasp closures in js completely but if you have not already, do some reading on it.
it's often people dismiss js as a "not a real language" and think they can treat it like some dorky scripting language
not saying you do.... just saying in general
you can never know too much about the language
2
Well, I read in the ecma script document that scoping is lexicographical

Javascript Resources.

Sep 4 at 13:36, 2 minutes total – 8 messages, 1 user, 1 star

Bookmarked Sep 4 at 13:40 by rlemon

ecmascript definition is not always what is in play in the browser ( I so wish it was )
these videos especially I find interesting. hell, I've seen them a few times and still enjoy watching them today
I haven't had any issues with scoping in closures though. But what I need to do is this with globalevents:
(function(){
var evnt = function(){ code1 };
λ.GlobalEvents().AddEvent(evnt);
})();

(function(){
var evnt = function(){ code2 };
λ.GlobalEvents().AddEvent(evnt);
})();

and have globalevents end up with one instance that contains both of those callbacks added
00:52
@CC Inc Hey
@CC IncU
@CC Inc On
@CC Inc right
@CC Inc Now
@CC Inc ?
@user1739957 hey
@user1739957 I
@user1739957 Am
@user1739957 ON
@CCInc Okay
I tried your update, and as far as i can tell it syncs the bookmark perfectly!
Personally im not a fan of bookmarks, but i looks like its working
@user1739957 Really? Nothing to complain about / noticed?
@CCInc No, nothing!
:)
Yay!
00:59
I started on the snapping of my program,
and it turns out that sendmessage woulnt work!
No?
@CCInc It crashes every time
because it does know about the wIN KEY
I did some research
and found that I think SendInput api will work
For keypress?
using keybd_event function
@CCInc Yeah
Keep in mind that my solution would only work if they are running Win7.
01:01
Ill try that out tommorow, but U may want to edit your answer so some mean person dosnt down rate u
@CCInc Or Win 8, or vista
The shortcut works on all of them
Right.
I have already thought of a potential bug, though.
Oh, which one?
@CCInc The one with allowing free passage between two screens
But what bug did u think of?
Well, if a window is already snapped, you have to press the keystroke twice in order to go from the left side of the screen to the right
so you may have to store a varible
of if the window is currently snapped
@CCInc I have the code laid out in my head and that should be a problem!
But thanks
About the free passage addition, I'm going to add that after the snapping
Do you have an idea of what to do?
01:05
There is a thing called rectangle.intercept()
that will get where the two monitors shar a boundry
It will create a regtancle on that boundry
Then, in my timer, i'll check and see if it is in the rec
if it is, don't refresh the clipping
I also though of another way
@CCInc Sorry, I mean to say that that SHOULD'NT be a problem!!!
Good.
What is the other solution
?
@CCInc Have a button like "advanced" that when clicked brings up another form
and loads and visual layout of the screens
like in control panel > screen res
where you pick screen?
and then, alow the user to draw free crossing points, that wouldn't require
the passport key to be pressed
pretty cool, huh?
Right, yes it is
Another thing you could do is have two lists of monitors and allow the user to choose which two to not allow
01:10
@CCInc yeah, but that wouldn't be nearly as cool
Nope!
This may help:
3
Q: Find Number and resolution to all monitors

Crash893How would one poll windows to see what monitors are attached and what resolution they are running at?

@CCInc Actaully I was just about to search for that
Thanks!
Did u find that windows feature I told u about
the mouse pointer highliting?
@user1739957 Yes.
@CCInc Good!
But I think you might be able to create a better version.
01:13
Think i still should add it to my program?
@CCInc Like have a mouse trying to eat the pointer!!
HAHAHA!!!!
@CCInc Im no good with animation, though
never done it!
But im sure I could add that
I am no good at graphics in general
@CCInc The screen drawing will be a chalange for me
in my cool form
Anyway, I've got to get to my HW ;(
See u
Me too. Bye!
01:15
@CCInc /o
/o"
 
1 hour later…
02:22
potato... banana... that is all.
hey
is there any advantage to using array's instead on List<> with objects in them?
probably but list is easier to use :P
my boss told me today " dont use objects for everything , if we have arrays its easier to maintain you just add another property in the array
i'd rather just add the property to the class
eww objects lol
02:35
why do we use object oriented programming with .Net (that isn't free) when we don't use objects
 
2 hours later…
04:40
sleep deprivation ftw!
Why am I more productive while programming when I am sleep-deprived?
When I haven't slept for 20 or more hours, I've always noticed that my overall concentration and creativity is at a much higher level than when I am "well rested".
any MVCer around?
eewwww mvc
@JamesKent im curious what technol u come from
i love mvc
its great!!! }:)
if u cant afford it stick to ur old kobol technology
or whatever you name it
lol, I was being sarcastic, I forget how difficult it is to detect sarcasm in text, sometimes.
04:51
Someone's trying to pick a fight. :O
you wanna fight?
chicken.. gave me a bad coupon... www.youtube.com/watch?v=Jpoki4wBwtA
lol :)
TempData seems nearly pointless.
Since you bring up MVC. I assume we're talking about ASP.NET MVC
It's a great framework, though. Much cleaner than webforms.
05:10
oops sorry, i forgot for a minute its a c# chat lmao i started thinking im talking to phpers or some other 30th ppl
@Dr.Wily'sApprentice yes aspmvc
im just doin my comeback to web after 3+ years abandoned for the sake of wpf/sl
anyway what im trying to do is customize the addresses of some controllers
i want to have some controllers folded inside "backoffice" or "admin", how do i do it?
so there is a blogs controller and i want it to be accessible under 'backoffice'
?
05:27
Take a look at the "Areas" concept, and see if that fits what you want to do.
http://msdn.microsoft.com/en-us/library/ee671793(v=vs.100).aspx
I don't have a good link for it. That's just a quick MSDN one that I found on the topic. You can probably find something easier to read, though.
If that's not what you want, then you can start messing around with defining different Routes. I went down that route with one application that I am building, because I wanted to have URLs structured like mysite.com/controller/id1/action/id2, but that has become a little messy.
 
3 hours later…
08:20
mr shimmy sir can you have a look at this please
1
Q: XamlReader .net 3.5 'trigger type in Style not recognized'

E.L DunnIn my wpf application i have extended the datatrigger class as below public class DescriptiveTrigger : System.Windows.DataTrigger { public DescriptiveTrigger() { } private String _Description = ""; public String Description { get { return _Description; } ...

08:41
Morning
HEY!!!
 
1 hour later…
10:02
Quiet..
sure is
10:30
...too quiet.
Morning folks
11:08
Morning,

any sharepointer around by any chance

http://sharepoint.stackexchange.com/questions/51439/custom-action-safe-control-2007
11:36
HELLO... HELLO... hello... hello... ...
...that was an echo by the way, to signify the lack of activity in this room this morning.
@TimeToThine nope, sorry
@dav_i noticed too but at work so I'm in and out
11:53
Hi
The room description has some compile errors in it.
e.g. Object reference not set to an instance of an object
12:53
Yar
but fixing it is more effort than it's worth.
13:04
Doesn't hold out much hope for the kind of help you get in the room :P
Guh, lunch
13:17
int effort =0;
int worthwhileEffort=10;
if(roomDescrip.compiles)
{
    effort=worthwhileEffort+1;
}
13:35
Me: Lead, I don't understand what this method in the contract is supposed to do.
Lead: Well, take a look at how I've used it in XYZ class.
XYZ class: throw new NotImplementedException();
13:46
hahhaha
hey, guys :)
Morning Crazyname, E.L.
uhm, guys ..... I need wpf/.net control or solution
for wysiwyg UI editor
:)
UI editor? Explain...
what od you need exactly ?
13:54
he just means wysiwyg
To edit what?
xstandard used to be decent, if expensive. Not sure how the wpf story is.
I need something to create user interfaces
I prefer HTML designer
but every UI editor is fine, I will try to accomodate with it
to create user interfaces in your app, or FOR your app?
IN my app :)
13:58
take a look at xstandard then
thats an xhtml wysiwyg
I'm curious what those UI's are going to be for. If you don't know exactly how you're going to implement it, then you should be worrying about that, not fancy editors.
Kendall, what do you mean with "if you don't know how to implement it" ? :)
I need the output as xml or html code
Why the or?
like the xaml generated by the form editor
Haven't you decided what kind of UI it's going to be?
Or is it going to support both?
14:04
those are wholly different technologies.. Kendall is right. choose your tech first before you buy widgets
hi guys what is the difference between System.AppDomain.CurrentDomain.BaseDirectory and Assembly.GetExecutingAssembly().Location
lets say html
:)
do they change or differ at any point?
@Amitd Location is the path/filename where the current assembly is located, be it a DLL or EXE.
do they always point to same dir?
14:06
BaseDirectory is the base directory for resolving dependencies, which will usually be the parent of the calling EXE.
@Amitd No.
when r they diff?
When the base directory is not the same location as the currently executing assembly.
when can that happen?
Probably a few ways, don't know them all.
Why does it matter?
I could be wrong, but I think that's possible when your application loads another application/dll inside of it.
14:10
just curious
i was going to ask as question but thought i ask here
@Billdr True, if an assembly is loaded manually from a non-base location.
They aren't related properties. If you want to know one or the other, use the appropriate one.
ah using Assembly.Load()?
It's a lot like when people mistakenly assume that the current directory is always the application directory.
@Amitd Or LoadFrom, I forget which is the normal one.
so hw is dll.config resolved? using Assembly.GetExecutingAssembly().Location?
or the other one
You mean, how does it find the config file?
14:15
yes
path resln
I'd assume the base directory, but have no idea.
ah ok
Anybody here use protobuf-net?
What's your question?
...wait a sec, may be a pastebin job
14:23
Does anyone know of a chat room for home improvement projects?
javascript
close enough
thankies
wow, 30 seconds on that site and I've already saved myself a few thousand dollars.
14:26
do tell how you did that
@dav_i And the question?
UPS delivered a box with some tar (or something) on the bottom of it. I didn't notice until I had set the box down and slid it around some.
I thought I'd have to replace the carpet in my entire condo. Turns out the carpet is likely in 12inch strips, so I only have to replace that part.
@KendallFrey is how to handle DerivedFromDerived? Do you put the [ProtoInclude(...)] in Base or Derived?
unless its across the strips
14:29
Worst case scenario I have to replace six strips, that's way better than 1032sqft of carpet.
@dav_i My first thought was Base, but I don't know for sure.
btw .Net libs source code viewer labs.developerfusion.co.uk/SourceViewer/…
@Amitd What? .NET source is available to download from MS.
maybe he doesnt want to download it all
14:31
yes but this is lighter
So is ILSpy.
umm...... sorry for asking again, but can someone tell me is there any drag and drop form builder control?
:)
(which I usually use)
i was trying to look at code for System.Configuration.ConfigurationManager
but nothing thr abt the app.config file load
:(
any clue where it might be?
@crazyname First, figure out what technology you will use for the UI. Next, make a text editor for it. Then worry about WYSIWYG.
14:33
1. html5
2. I have text editor, I need the corresponding UI editor
3. ...... :)
there are not going to be any embeddable drag and drop ui builders to my knowledge
So Google should find you a WYSIWYG HTML editor.
but I need it for my wpf app :)
@crazyname 4. Profit!!!
if Q #1 was about the APP , and not the output format, of course
@dav_i I'm doing it for the charity :)
then you are going to have to write a drag and drop ui editor
so there is no existing control, right? :(
not for drag and drop, no
not that i've ever seen
you basically want to embed dreamweaver. :(
almost
14:39
maybe you could embed frontpage! bwahahahahahahahah
:D no thanks :D
I like the Visual Studio visual editor
but I suppose there is no clone for that too :D
This is HTML, right?
i think im going to start weeping now.
or xaml @KendallFrey. Get with the program! <grin>
It can't be both.
Pick one already!
Maybe it should be a nib editor instead.
14:42
html5 I said !
:)
you also said xaml
and drag and drop
actually it doesn't matter, I will convert the MF to suits me
I get the strong feeling that you don't know what you're doing.
brb
14:45
mother f...r :D
yeah, it matters. and i concur with Kendall
MF = magic find
Oh wait, this isn't the diablo 3 chatroom
it might be.
orly
look, im not saying it is, and im not saying it isnt. but it might be.
14:50
Does anybody know of any eye-tracking software that moves window focus depending on where you're looking... just I'm fed up of pressing Ctrl+S and saving the webpage (on monitor 2) I'm on instead of my code in VS (on monitor 1)
And no, sorry :(
Probably doesn't exist :)
@ChadRuppert Your blog throws exception :(
there are eye tracking sensors. but you'd have to write the software
yeah. blogengine.net with xml storage sucks.
xml storage sucks.
14:53
i havent bothered to fix again it in months. stupid spambots
^fixed
blogengine.net sucked too
@ChadRuppert I'd also have to get an eye tracking sensor!
Ah, haven't heard of it
its old.
i havent blogged in over a year or two i think
although now that im in chatty, this is the second time its been mentioned. maybe i should do it again
14:56
:D
Better than having a broken website in your profile
Dammit November, end already so I can shave
Maybe. maybe not.

« first day (760 days earlier)      last day (4414 days later) »