These are chat archives for AvaloniaUI/Avalonia

30th
Nov 2014
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:16
Hi from Spain :)
Steven Kirk
@grokys
Nov 30 2014 18:16
hi there!
from italy ;)
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:16
whoops, nice :)
this is quick!
Steven Kirk
@grokys
Nov 30 2014 18:16
yeah, it's not bad!
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:17
first doubt: are you working on this as a side Project? I mean, are you working for some company?
you don't have to answer if you want
Steven Kirk
@grokys
Nov 30 2014 18:17
yeah, just in my free time
i work for a company, but not to do this
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:18
O_O
surprising, at least
I do the same and I almost have no time to dedicate to my projects
Steven Kirk
@grokys
Nov 30 2014 18:18
yeah, that's why there was a month where i did nothing!
but this weekend i've had a bit of time
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:19
:)
I would like to contribute
with my poor understanding
and my 1st level skills, I think
you're rocking the house with some advanced topics here
Steven Kirk
@grokys
Nov 30 2014 18:20
haha well it's nice to have someone show interest!
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:20
I'm a WPF veteran, but I didn't go into much internal topics, like XAML parsing, message pumps, dispatchers and so on
interest rose high, I promise!
Steven Kirk
@grokys
Nov 30 2014 18:20
no, i never did before! having to learn a lot as i go on
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:20
you have so far pretty much stuff in there
wow
well, the next thing to make it really impacting is to be able to make it able to parse some simple XAML files
something like a Window with a Grid and a bunch of buttons
no event handlers
Steven Kirk
@grokys
Nov 30 2014 18:22
yes, i agree that would be nice. personally i'm not a great fan of XAML, but I understand that many people would like it
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:22
and no advanced features
Steven Kirk
@grokys
Nov 30 2014 18:22
i think it would be easy enough using System.Xaml
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:22
but, hey, XAML is the way layouts are specified in a MVVM friendly environment :)
maybe!
I've taken a look
Steven Kirk
@grokys
Nov 30 2014 18:23
well, IMO XAML isn't actually very MVVM friendly as you lose type checking
but to add it, i think if you added a Perspex.Xaml project to the solution
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:24
yes, I did
but only in my local repo!
Steven Kirk
@grokys
Nov 30 2014 18:24
which can't be a portable library as System.Xaml isn't supported from PCLs i don't tink
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:24
did I commit to your remote?
Git is pretty new for me
and I'm using inside VS 2015 Preview, so...
Steven Kirk
@grokys
Nov 30 2014 18:25
the best way would be to fork the repository on github
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:25
yes, I think so!
Steven Kirk
@grokys
Nov 30 2014 18:25
then you work on your fork and send me pull requests
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:25
so, you saw what I did
adding a shitty project
Steven Kirk
@grokys
Nov 30 2014 18:25
no, i didn't see anything
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:25
that is PCL
haha, so you imagined my steps!?
it's exactly what I tried
Steven Kirk
@grokys
Nov 30 2014 18:26
yes ;)
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:26
haha
OK
System.Xaml isn't available
Steven Kirk
@grokys
Nov 30 2014 18:26
but yeah, in a non-PCL project you can use System.Xaml
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:26
nor is XmlDocument
so no cool XML reading in any form, nothing but XmlReader!
Steven Kirk
@grokys
Nov 30 2014 18:27
there's XDocument etc I think
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:27
that's why I wanted to ask you
Steven Kirk
@grokys
Nov 30 2014 18:27
but i really wouldn't advise trying to make your own XAML reader
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:27
do you intend to port it easily ?
is is targeted for Windows Desktop?
is it*
aha, that's what I wanted to hear!
Steven Kirk
@grokys
Nov 30 2014 18:28
at the moment windows is all that's supported. but i'm currently trying to write a Cairo renderer
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:28
not-making-own-fu* XAML reader!
OK!
Steven Kirk
@grokys
Nov 30 2014 18:28
once i have a cairo renderer working on windows, it should be easy enough to get working on linux
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:28
wow
critical hit
WPF in linux
Steven Kirk
@grokys
Nov 30 2014 18:29
yeah, i think that would make people take notice!
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:29
pure porno
haha
Steven Kirk
@grokys
Nov 30 2014 18:29
haha
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:29
then, it would be cool to make XAML Reader work for us
the problem I see, nothing nothing about it, is that it will have to resolve types using some heavy reflection
Steven Kirk
@grokys
Nov 30 2014 18:29
yes, there's a mono implementation of System.Xaml
System.Xaml handles all that for you
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:30
oh, that's new for me
but, then
you give it a XAML formatted file
or stream
and it gives you...?
a list of XAML Nodes?
Steven Kirk
@grokys
Nov 30 2014 18:30
no, it gives you objects
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:30
the VisualTree?
Steven Kirk
@grokys
Nov 30 2014 18:30
yeah
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:30
cool!
but XAML Reader works with all that WPF stuff by default
how do you make it inflate your very own types?
like Perspex.Windows.Window
Steven Kirk
@grokys
Nov 30 2014 18:31
System.Xaml is a generic version of the WPF xaml library that should work with any types
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:31
you have to configure it heavily?
uhmm, I have to try it
I created a simple XAML
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:33
I took a brief look
but since I was focused on PCL, I discarded it
Steven Kirk
@grokys
Nov 30 2014 18:33
yeah
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:34
so, in there, you configure the XAML Reader to inflate a Visual Tree with your custom platform
don't you?
Steven Kirk
@grokys
Nov 30 2014 18:34
yeah
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:34
wow, nice
that looks very interesting
Steven Kirk
@grokys
Nov 30 2014 18:34
problem is... i think you may have to add attributes to the classes for the xaml reader to use
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:34
I'll definitely have it as a treasure
Steven Kirk
@grokys
Nov 30 2014 18:34
but you can't do that with PCLs
i'm guessing there is some other way, but i've not looked into it
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:35
like "ContentAttribute"?
Steven Kirk
@grokys
Nov 30 2014 18:35
yeah
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:35
shit
so <TextBlock>hi</TextBlock> works
will, it would be nice to have
Steven Kirk
@grokys
Nov 30 2014 18:35
yes, if you don't have ContentAttribute it means you'd always have to specify the property
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:35
but there may be other attributes that are mandatory
Steven Kirk
@grokys
Nov 30 2014 18:36
quite possible :/
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:36
oh mum...
well, at least we can try
Steven Kirk
@grokys
Nov 30 2014 18:36
yeah - no way of knowing until we try!
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:36
anyways
at my workplace
somebody talked about adding attributes dynamically
I think it's impossible
because they are determined at compile time
Steven Kirk
@grokys
Nov 30 2014 18:37
it's certainly nothing i've ever heard of
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:37
(AFAIK)
Steven Kirk
@grokys
Nov 30 2014 18:37
i think you're right
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:37
anyways, we should try :)
Steven Kirk
@grokys
Nov 30 2014 18:37
but there is probably a way to configure that behaviour without attributes
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:37
so, for the moment, you think that porting your Avalonia XAML Reader can be enough?
Steven Kirk
@grokys
Nov 30 2014 18:38
it would be a good start
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:38
I'm pretty lost and don't have a clear overview
OK
Steven Kirk
@grokys
Nov 30 2014 18:38
there are some things that don't apply, such as namespaces
i've not got anything similar to that yet in perspex
sorry, namescopes
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:38
ah, OK
I think I'm going to take a look now
if you think there's something that I should know
just tell me :)
Steven Kirk
@grokys
Nov 30 2014 18:39
i can't think of anything!
i'd say try getting a single <TextBlock> working first
as that doesn't have children or templates or anything
and then work from there
would be AWESOME if you could get something working!
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:41
it's very very new for me
I have worked with WPF in complex environments and I created a visual designer with it
Steven Kirk
@grokys
Nov 30 2014 18:41
yeah, i imagine! the avalonia code is working though so that may be able to guide you
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:42
so I have quite good knowledge of on the user-side
Steven Kirk
@grokys
Nov 30 2014 18:42
that was me a year ago ;)
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:42
woohoo!
but, man, I switched jobs
and now I work 99% on code that has no UI at all!
not even console-based
I'm sad by that part, because I really love GUI
Steven Kirk
@grokys
Nov 30 2014 18:43
i imagine it's less rewarding when you can't see what you've produced!
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:43
I will report back my findings
yes, definitely it is
If I have some problem, I will notify you :)
Steven Kirk
@grokys
Nov 30 2014 18:43
good luck! and message me on here if you want to know anything
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:43
thanks for the good advice
Steven Kirk
@grokys
Nov 30 2014 18:44
no problem! thanks for taking an interest!!!
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:44
nice :D
it's well worth it
Steven Kirk
@grokys
Nov 30 2014 18:44
if i can get this cairo stuff working i will be so pleased :)
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:45
haha, the community should be really please, too
(and some of my colleagues will die)
Steven Kirk
@grokys
Nov 30 2014 18:45
haha
José Manuel Nieto
@SuperJMN
Nov 30 2014 18:45
(Debian freaks)
executing the test with VS 2015 ... closes VS!
I mean: Perspex.Xaml.Test.XamlReaderTest.TestMethod1
Steven Kirk
@grokys
Nov 30 2014 20:26
haha oh shit
José Manuel Nieto
@SuperJMN
Nov 30 2014 20:26
OK, I've seen the problem running it in VS 2013
this:
System.Xaml.XamlObjectWriterException was unhandled by user code
HResult=-2146233088
Message=Cannot create unknown type '{http://schemas.microsoft.com/winfx/2006/xaml/presentation}Window'.
Source=System.Xaml
LineNumber=0
LinePosition=0
StackTrace:
at System.Xaml.XamlObjectWriter.WriteStartObject(XamlType xamlType)
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at Perspex.Xaml.XamlReader.Load(XamlReader reader) in C:\Users\JoséManuel\Source\Repos\PerspexJMN\Perspex.Xaml\XML.cs:line 38
at Perspex.Xaml.XamlReader.Load(XmlReader reader) in C:\Users\JoséManuel\Source\Repos\PerspexJMN\Perspex.Xaml\XML.cs:line 24
at Perspex.Xaml.XamlReader.Load(Stream stream) in C:\Users\JoséManuel\Source\Repos\PerspexJMN\Perspex.Xaml\XML.cs:line 18
at Perspex.Xaml.Test.XamlReaderTest.TestMethod1() in C:\Users\JoséManuel\Source\Repos\PerspexJMN\Perspex.Xaml.Test\XamlReaderTest.cs:line 16
InnerException:
Steven Kirk
@grokys
Nov 30 2014 20:27
maybe that's why VS2015 is still in pre-release
José Manuel Nieto
@SuperJMN
Nov 30 2014 20:27
I think so
Steven Kirk
@grokys
Nov 30 2014 20:27
ok, try specifying the namespace in the xaml
José Manuel Nieto
@SuperJMN
Nov 30 2014 20:27
VS 2013 gives you a lot of info!
<Window x:Class="Perspex.Xaml.Test.Test" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300">
<Grid>
<TextBox Text="Hola" />
</Grid>
</Window>
this is what I have inside the XAML
Steven Kirk
@grokys
Nov 30 2014 20:28
yeah, i saw that
first of all i'd try something simpler like just a text box
without a top-level window
José Manuel Nieto
@SuperJMN
Nov 30 2014 20:28
OK :)
I forgot to change the XAML
Steven Kirk
@grokys
Nov 30 2014 20:29
but your xmlns is referincing winfx
José Manuel Nieto
@SuperJMN
Nov 30 2014 20:29
what should I add there?
Steven Kirk
@grokys
Nov 30 2014 20:30
should prob have something like xmlns="clr-namespace:Perspex.Controls;assembly=Perspex.Controls" for now
get rid of the other xmlns declarations
a file with just
<TextBlock xmlns="clr-namespace:Perspex.Controls;assembly=Perspex.Controls"/>
might do it...
José Manuel Nieto
@SuperJMN
Nov 30 2014 20:31
thanks!
Steven Kirk
@grokys
Nov 30 2014 20:31
let's see if it works before you thank me! might be talking crap ;)
got to go eat for a second now
will be back soon
José Manuel Nieto
@SuperJMN
Nov 30 2014 20:31
WIN!
it worked!
instantiated a TextBlock!
Steven Kirk
@grokys
Nov 30 2014 20:32
yeah?!?! woooo!!!
it's a good start!
José Manuel Nieto
@SuperJMN
Nov 30 2014 20:32
I would send you the image :)
visual tree: visualTree = {Perspex.Controls.TextBlock}
sooooo nice!
Steven Kirk
@grokys
Nov 30 2014 20:34
:fist:
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:05
Works for Window
it was quite easy!
Steven Kirk
@grokys
Nov 30 2014 22:05
awesome
maybe we should have a tab on the test app that is loaded from xaml
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:16
we could :)
by the way
does the UnmanagedMethods have some method to change the title of the Window?
I've created a Title property for Window
to test if the XamlReader sets the properties automatically
and it does! but the title doesn't actually change because the corresponding Win32 call is not made
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:19
reeeally cool! thanks!
Steven Kirk
@grokys
Nov 30 2014 22:19
if you could commit that change to a separate branch from your xaml changes, and send a pull request, that would be great
i believe that's how github works ;)
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:20
yes, I think it works that way! haha
a branch for the Text property
Steven Kirk
@grokys
Nov 30 2014 22:20
Title property?
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:20
Title, sorry
Steven Kirk
@grokys
Nov 30 2014 22:20
yeah, please - i can merge that right away
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:21
:D OK!
xamldude
@xamldude
Nov 30 2014 22:21
any plans for perspex on alt. platforms ?
Steven Kirk
@grokys
Nov 30 2014 22:22
hi! yes in fact i'm currently working on a cairo renderer
first on windows, but then my plan is to get it working on linux
you can check out the cairo branch in git
i believe cairo also works on mac
xamldude
@xamldude
Nov 30 2014 22:23
going to do that, see if I can get it to compile with xbuild. at least the core libraries
there's also opentk for OGL , but cairo is simpler
Steven Kirk
@grokys
Nov 30 2014 22:24
i believe gtk also uses cairo so it seems to be the most obvious choice
renderers are pluggable however
xamldude
@xamldude
Nov 30 2014 22:24
yeah I saw, seems well abstracted. assuming all of the dependencies exist in Mono, which it looks like they do
I tried to xbuild the other day but was getting PCL profile compile errors, I'm going to take another try and see if I can make it compile
Steven Kirk
@grokys
Nov 30 2014 22:25
seems that way - i've got the cairo renderer ouputting something on windows using a standard GTK windows installation
xamldude
@xamldude
Nov 30 2014 22:25
seems that now that .NET is going cross platform there's a void for a good x-plat UI library
Steven Kirk
@grokys
Nov 30 2014 22:25
yeah definitely
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:25
agree!
xamldude
@xamldude
Nov 30 2014 22:26
ive also done toying around with system.xaml, glad to hear that you got something working SuperJMN
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:26
by the way, Steven, how would I get notified whenever the Title property changes? I think the Perspex properties work a bit different than DependencyProperties
Steven Kirk
@grokys
Nov 30 2014 22:27
yes, they're easier ;) window.GetObservable(TitleProperty)
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:27
XamlDude, I'm a n00b
but hopefully I can get something working
xamldude
@xamldude
Nov 30 2014 22:27
https://github.com/ncarrillo/pantheon here's an old project I started, was supposed to be a XAML to HTML converter. Pay no mind to how bad the HTML output is, I was terrible at HTML back then
but might have some pointers into how to use System.Xaml
and dealing with converting it into an object graph
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:28
thank you! it might be helpful if we need to implement a custom XamlReader
at the moment, I am using the System.Xaml one
I've marked your project as followed :)
@grokys "yes, they're easier :wink: window.GetObservable(TitleProperty)" WOOHOO!!
thank you!!
xamldude
@xamldude
Nov 30 2014 22:29
best bet, idk what the story is for System.Xaml on Mono, I saw that Xamarin.Forms doesnt use it for their XAML parser
Steven Kirk
@grokys
Nov 30 2014 22:30
oh really? i assumed they would. i know there's a mono System.Xaml...
xamldude
@xamldude
Nov 30 2014 22:31
I got a flat "no" from the dev I asked a while back, so no idea why
also have a half written monadic parser for a JSON based markup language. something like QML . gotta dig that up
Steven Kirk
@grokys
Nov 30 2014 22:33
yeah, i'd be interesting in looking into something like that... personally i find xaml can be a bit long-winded, though i think much of that is WPF's fault rather than an actual shortcoming of XAML itself
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:38
I think the same
by the way
I have the change ready!
and commited to my own branch
Steven Kirk
@grokys
Nov 30 2014 22:39
great, send a pull request!
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:39
sent!
at least, I think I sent it, haha
Steven Kirk
@grokys
Nov 30 2014 22:41
merged!
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:41
yay!!
Steven Kirk
@grokys
Nov 30 2014 22:41
my first pull request ;)
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:41
of a long list of them, I hope!
this project is pure cinnamon
Steven Kirk
@grokys
Nov 30 2014 22:43
works a charm, thank you!
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:44
you don't have to
I feel proud that my really low knowledge on the matter have been enough to make something useful
I also have 2 test
do you see them?
Steven Kirk
@grokys
Nov 30 2014 22:46
ah yes i saw that
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:46
whoops
that is not updated
Steven Kirk
@grokys
Nov 30 2014 22:47
btw, regarding your question on getting change notifications from properties etc
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:47
now
it's updated
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:48
thanks, I will read it carefully
Steven Kirk
@grokys
Nov 30 2014 22:48
in the xaml branch? i'd like to get the xaml support a bit more fleshed out before merging it i think
at least to the point where we can have a test app, or even better a tab in the existing test app loading from xaml
it doesn't need to do all that much, just enough that you can see something on-screen ;)
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:51
Great idea!
by the way, I'm reading and I cannot close my mouth
my fiancée should be wondering
Steven Kirk
@grokys
Nov 30 2014 22:52
hahaha
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:52
what's surprising me so much
oh my God, attaches properties the way they should have been
typed DPs
Observables
Styles that are so creamy
I will die young!
xamldude
@xamldude
Nov 30 2014 22:53
binding syntax is great, overloading those operators was smart
Steven Kirk
@grokys
Nov 30 2014 22:53
yeah! all stuff that didn't exist when WPF was invented, but we can make use of them
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:54
yes, this has potential
Steven Kirk
@grokys
Nov 30 2014 22:54
yeah, i wasn't so sure about that at first, because it's a bit naughty to overload operators like that
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:54
this is elegant
Steven Kirk
@grokys
Nov 30 2014 22:54
but it's really handy
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:54
this attracts me so badly
Steven Kirk
@grokys
Nov 30 2014 22:54
one thing not mentioned there is that this[!!Property] = that[!!Property] does a two-way binding
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:55
oh my!!!
super hard on the knees!
xamldude
@xamldude
Nov 30 2014 22:55
the initializer syntax almost makes a markup language not necessary, its pretty nice
Steven Kirk
@grokys
Nov 30 2014 22:55
and this[~Property] = that[~Property] is for template bindings
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:55
don't reveal more or I will have to go bed
Steven Kirk
@grokys
Nov 30 2014 22:55
yeah, that's what i was working towards with the initializer syntax
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:55
madness!
I'm loving this
@grokys is your daily job related to videogames?
were you hitting hard Win32 APIs in the past?
xamldude
@xamldude
Nov 30 2014 22:56
ya, indexer for bindings makes sense. Rx just makes so much sense to use for bindings, possibly even more
Steven Kirk
@grokys
Nov 30 2014 22:56
nooo, it's making computer simulations of carpets ;)
yes, i use rx internally for all binding stuff
xamldude
@xamldude
Nov 30 2014 22:57
soo glad to have a job writing code, but sometimes work projects crowd out personal stuff
Steven Kirk
@grokys
Nov 30 2014 22:58
mine is pretty sweet - i work from home and have flexible hours
but combined with personal life i sometimes don't have so much time for this
but seeing other people interested is a good motivator
xamldude
@xamldude
Nov 30 2014 22:58
I find it super hard to focus at home :( so I rarely remote anymore. i write software for POS systems
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:58
haha
xamldude
@xamldude
Nov 30 2014 22:58
its in WPF, which means good...but its stuck on .NET 3.5 which is sad
José Manuel Nieto
@SuperJMN
Nov 30 2014 22:59
@xamldude I'm work at Payvision : online payments
Steven Kirk
@grokys
Nov 30 2014 22:59
i'd have to move countries if i wanted to work in an office, so working from home it is
btw this is the class the underlies the property system:
xamldude
@xamldude
Nov 30 2014 23:00
@SuperJMN oh nice , I do a bunch of payment related work here integrating w/ our front end processor
Steven Kirk
@grokys
Nov 30 2014 23:00
Rx all the way
xamldude
@xamldude
Nov 30 2014 23:00
oh nice, looking over
Steven Kirk
@grokys
Nov 30 2014 23:00
one of the few documented classes!
José Manuel Nieto
@SuperJMN
Nov 30 2014 23:01
hahaha, cool!
I hope I can do something tomorrow
somethings I have some idle time at the office
Steven Kirk
@grokys
Nov 30 2014 23:02
me too! feeling super-excited about the project right now
José Manuel Nieto
@SuperJMN
Nov 30 2014 23:02
:D
Steven Kirk
@grokys
Nov 30 2014 23:02
when i get text rendering properly in cairo i will be over the moon
José Manuel Nieto
@SuperJMN
Nov 30 2014 23:03
I hope to create some hierarchy of objects
hahaha
I hope you can get some snapshots
to send to my colleagues!
Steven Kirk
@grokys
Nov 30 2014 23:03
i certainly will!
xamldude
@xamldude
Nov 30 2014 23:05
so Binding.cs just describes the binding, PriorityValue actually is the machinery for acting on the event streams
José Manuel Nieto
@SuperJMN
Nov 30 2014 23:05
This is also great because I got myself into learning Reactive Extensions a few weeks ago
xamldude
@xamldude
Nov 30 2014 23:05
PriorityValue comprised of N BindingEntries which correspond to the different fall throughs for bindings
Rx is something that I've tried to get into over the years, each time I try I understand more
José Manuel Nieto
@SuperJMN
Nov 30 2014 23:06
@xamldude what's your username in Twitter?
xamldude
@xamldude
Nov 30 2014 23:06
xamldude :P
Steven Kirk
@grokys
Nov 30 2014 23:06
yes, because styles need to have a lower priority than local values which (will) need to have a lower priority than animations etc etc
José Manuel Nieto
@SuperJMN
Nov 30 2014 23:06
Rx are the way to go :)
yes, @grokys that is very nice of WPF
some people knew the priorities the hard way (ehemm)
(me)
Steven Kirk
@grokys
Nov 30 2014 23:07
i honestly never knew about them until i started working on this... which is why they're not implemented in Avalonia
José Manuel Nieto
@SuperJMN
Nov 30 2014 23:07
@xamldude then, I've been following you for some time
Rx are really really poweful
declarative power for your imperative needs!
haha
keep it going, dude
xamldude
@xamldude
Nov 30 2014 23:08
its just to me the most powerful part of Rx is the composition with LINQ
José Manuel Nieto
@SuperJMN
Nov 30 2014 23:08
also, @xamldude I hope you can collaborate!
going to bed now
see you soon!
xamldude
@xamldude
Nov 30 2014 23:08
yeah, definitely. this is an awesome project. just have to find time
cya
Steven Kirk
@grokys
Nov 30 2014 23:09
ok good night! and thanks again!
José Manuel Nieto
@SuperJMN
Nov 30 2014 23:11
good night, guys!