« first day (1013 days earlier)      last day (3136 days later) » 

6:36 AM
hi
 
 
3 hours later…
9:30 AM
Got a dumb question anybody around?
 
well if the old rules still apply , just ask if anyone can answer they will.
 
What defines somthing as a Value type vs Reference type?
I am using Point and its a Value type. But.... why?
How can I determine if somthing is a value type, or a reference type?
Ahh, struct vs class
Amazing!
 
@Asheh At runtime, or when coding?
 
I think I understand now. I had no idea thats how it worked in C#.
No, I was confused at why struct and class were different
In C++ its practically the same
But now I understand that struct is a value type & class is a reference type
I was trying to modify a Points value in a for loop, but it wont let you. Because ofcourse this is just local memory
 
9:49 AM
@Asheh Yup. Structs are value types, so they're copied by value.
Classes are reference types, so what's copied is the reference.
 
 
1 hour later…
10:55 AM
Hi anyone there?
 
SJD
Hello
shoot
 
hi
I have an application with some button which are draggable i want them to be in there new location after applciation close and reopens
 
SJD
Hm.. that sounds like saving as a preference?
 
going through this article
means?
 
SJD
Hm.. seems legit what happens there. Do you have issues with that?
 
11:05 AM
no but i want the location of buttons its co-ordinates to be saved
will it override the xaml margin descriptions?
 
SJD
Have you tried? You can save actually via 2 resources the position.
 
but for 1 button 2 resources and for 30 buttons 60 resources :O
is there any easier wy to do it
 
SJD
AFAIK you can choose any type of "resource" to save it. You can make a combo: Dictionary<string, Point> where the string can be name of window and point the position
 
i was thinking of a xml file.
 
SJD
Indeed.
Lemme know if that is enough for you :)
 
11:11 AM
yes let me go through it
 
SJD
11:22 AM
:)
 
11:32 AM
3
Q: How to call Web api from silverlight application

KavithaI am new to Web api and json. I am unaware of calling method which are in WebApi. Below method is in Webapi: [HttpGet] public bool AddAccount([FromRoute]string accountname) { try { BizFramework.Web.Model.Account data = new BizFramework.Web.Model.Account(); ...

Here Dispatcher.BeginInvoke , what it expects. Is that an Action Item

(item) => Dispatcher.BeginInvoke(() =>
{

MessageBox.Show("Done!");

}),
 
12:09 PM
0
Q: ListBox ScrollBar with different line colors on it

Amol BavannavarI want to customize my ListBox vertical ScrollBar to show current selected item position with blue mark like we have in VS editor and also want to show background color of listboxitem on vertical scrollbar line. How can I achieve this?

 
12:40 PM
wb poke
 
1:23 PM
hey @SJD u still around?
 
SJD
1:34 PM
yup
shoot
@ArijitMukherjee ?
 
the link that i was using i implemented that but even after save its not saving in my setting
n 2ndly should i use the setting in xaml then?
 
SJD
2:11 PM
it is a "xaml" settings file
actually, you can edit it as a xaml
 
2:23 PM
Morning all.
 
SJD
morning lynn
 
2:52 PM
good mornoon
 
hi
anyone here familiar with Windows Universal development?
 
Sorry, not at all.
 
didnt understood sorry
 
3:18 PM
firgured it out, I thought the app bar wasn't working but my emulator was laggy. :)
 
 
1 hour later…
4:21 PM
quack
 
4:34 PM
er.... quack?
or whatever noise a dolphin makes
 
lol
I guess everyone is doing there windows 10 update and that's why no one seems to be in here today
 
I know I left mine running, ready to download :)
 
yea my laptop is now going through the process, it was the first and only thus far to get the update. which kinda sucks as it doesn't actually work that well anymore.
 
5:05 PM
lol good old mircosoft progress meter 98%->99%->30%->Restarting
 
i tried to update this morning
clicking the icon just flashed up a window that says please wait then immediately dissapears
 
oh :(
 
hi el
 
hey johan, how are you?
 
pretty good, you?
 
5:17 PM
overloaded with work, but other than that im ok.
 
i average ~14h per day
7 days per week
 
yea im about that, although the weekend just past I didn't get to sleep at all.
 
ouch
because of work?
can be hard to sleep after a session
 
yea I currently have a project that is actually 4 different projects website, webapi. mobile client and a desktop client... and i'm the only making it :S
and I have come to the conclusion that javascript and I do not get along at all :P
 
ha
hope they get webasm working fast
js must die
 
5:29 PM
ill put my hand up to be in the firing squad for that one :)
 
 
1 hour later…
6:34 PM
@E.LDunn Eh, people are here. Just no questions to answer. :)
 
6:50 PM
Lynn, do you need synchronization?
wrote a thing today, really simple
 
7:16 PM
@E.LDunn use it as an excuse to learn and use WebSharper - and avoid needing JS entirely ;)
that way, you can do all 4 in one language
 
7:26 PM
@JohanLarsson Do tell :)
 
ive never heard of it, but I have been trying to use typescript
 
@E.LDunn typescript is nice - but its basically still javascript
just a slightly more sane version of javascript ;)
(with nice tooling added on top)
 
yea now looking at websharper, I cant tell right away if it suffers the same issue as typescript in that it requires an up to date definition file of sorts.
 
@E.LDunn I'd be curious to get more information about why you chose the avatar that you did :)
Previous Amiga owner?
 
well that was the first machine that I actually programmed on as a hobbiest ( well it was actually a Sinclair spectrum but considering all I managed to do on that was make text go different colours I don't think it really counts)
i still have it good old amiga 500
 
7:40 PM
Have a hard drive for it?
 
nope a massive case of floppies lol
 
:)
A friend of mine showed me Scorched Earth for the Amiga at one point... fun little game.
 
yea, by todays standard its laughable but back in the day you couldn't touch it
 
I was an Apple // guy, myself.
 
@E.LDunn Yes, somewhat - you can make your own (but you can do that with TypeScript too)
 
7:44 PM
@LynnCrumbling I'll post a sample tomorrow, fits on one screen
 
but nice thing there is that it's a single language for everything, which has huge advantages (ie: just write types once, and use them on backend and client, etc)
 
@JohanLarsson Neat :) Thanks!
 
have any of you used the bond thing for serialization?
 
very true reed, but my only problem with both is if you have to go throught the original source to update the definition then you are in essence maintaining two code sets anyways specially at the pace things change on the web. maybe i just program to slowly lol
 
@E.LDunn you're trying to use some custom JS library somewhere?
because most of the standard libs are already wrapped for you (for both options)
 
7:52 PM
not exactly im using winjs but there typescript definitions are only part baked. in the process of using it i have modified there source to include what i believe is an omission and updated there definition with corrections and my updates. now im stuck i cant update either without having to check everything again
btw windows 10 update on my laptop is currently on 3 hours and counting 83% i really should have thought about this before starting it ( my database is on there ).
 
8:07 PM
no wpf jobs where you live?
 
Properties.Settings.Default.WindowTop = _windowTop;
        Properties.Settings.Default.WindowLeft = _windowLeft;
        Properties.Settings.Default.WindowHeight = _windowHeight;
        Properties.Settings.Default.WindowWidth = _windowWidth;
        Properties.Settings.Default.WindowState = _windowState;

        Properties.Settings.Default.Save();
is not saving thr state
 
yes it is
 
the desktop application will be wpf, but the mobile app needs to be platform independent and likewise the web application must work on the most popular browsers
 
@Julien isthat yes for me?
 
yes
if you made a console app that did that, it would work
there is no microsoft bug with saving properties
 
8:14 PM
@ArijitMukherjee Do you know Ryujit?
 
who is it?
no
 
@ArijitMukherjee :)
 
@Julien in my wpf application im doing like this
 Properties.Settings.Default.Setting1 = "hi";// = new System.Drawing.Point(_tempX, _tempY);
                Properties.Settings.Default.Save();
:) @JohanLarsson we are not siblings for sure :P
Just trying tobe funny
 
so was I, lame joke
 
ha ha ha
 
8:50 PM
Tail of 2 Frameworks? :) <- more lame jokes
 
I have Data Grid and I am binding ItemSource to collection of objects but how Can I Do Column span of one Row whose one of the property value is too big?
 
@JackRyder Is this what you're after? Cell merging?
9
Q: Merge Cells in WPF DataGrid

juergen dI want to create a WPF datagrid that spans over multiple rows in one column. Like this: +-------+----------------+ | Name | Attributes | +-------+----------------+ | | Horse Power | | BMW +----------------+ | | Color | +-------+----------------+ | | Weight ...

Obviously, you want horizontal.. not vertical, but same premise.
 
9:13 PM
hmmm do i want a cup of tea or coffee.. so many hard questions to answer
 
i think tea
 
i think you are right johan good choice
 
9:53 PM
2 hours has got me from 84% to 92% hmmm
 
10:47 PM
of what?
 
10:58 PM
my windows 10 install, its only just now finished
 

« first day (1013 days earlier)      last day (3136 days later) »