These are chat archives for AvaloniaUI/Avalonia

30th
Nov 2015
Darnell Williams
@Seeker1437
Nov 30 2015 04:08
Its ensuring disposal explicitly maybe, before something wasnt doing this.
Nikita Tsukanov
@kekekeks
Nov 30 2015 08:40
I wonder if we can port perspex to FlingOS
Johan Larsson
@JohanLarsson
Nov 30 2015 18:52
reverted the dumb parsing :)
Darnell Williams
@Seeker1437
Nov 30 2015 22:11
@kekekeks Have you heard if an AlmostBoolean?
aka YES/NO/MAYBE
Nikita Tsukanov
@kekekeks
Nov 30 2015 22:11
Well
There were an entire processor that used this instead of binary logic
back in USSR
Darnell Williams
@Seeker1437
Nov 30 2015 22:12
What benefits does it have?
I found it in a plugin and was curious. It is like... weird.
Nikita Tsukanov
@kekekeks
Nov 30 2015 22:13
Well, it's really useful somethimes
And if you have a ternary CPU it simplifies operations with negative numbers
I usually use bool? for that
Darnell Williams
@Seeker1437
Nov 30 2015 22:17
Hmmmm someone is using it in a system that tires to detect cheating.
tries*
Nikita Tsukanov
@kekekeks
Nov 30 2015 22:17
Since it operates as expected when you apply logical operations
Darnell Williams
@Seeker1437
Nov 30 2015 22:18
yeah bool? came to mind too but the can produce 4 values: yes/no/maybe/null bool? is just yes/no/null
Nikita Tsukanov
@kekekeks
Nov 30 2015 22:19
Usually you don't need null
And it serves as "Unknown"
You have to use |, & instead of || and && through
Darnell Williams
@Seeker1437
Nov 30 2015 22:22
hmm okay because yhere are even modes for maybe. MatchMode.Optimistic and MatchMode
Nikita Tsukanov
@kekekeks
Nov 30 2015 22:22
I'd rather have to explicitly specify that I want to treat "maybe" as "true"
Darnell Williams
@Seeker1437
Nov 30 2015 22:23
.Pessimistic yeah,
Nice I think its interesting
Nikita Tsukanov
@kekekeks
Nov 30 2015 22:28
Think of "MayBe" as of something like NaN in float point arithmetic
Once you get it, it's hard to get rid of it
Johan Larsson
@JohanLarsson
Nov 30 2015 22:30
did you know that ((string) null) + null gives string empty?
surprised me
Nikita Tsukanov
@kekekeks
Nov 30 2015 22:31
Well, at least it's doesn't give you "not a number"
Because that absolutely makes sense
Because ((string) null) + null is definetely not a number
Johan Larsson
@JohanLarsson
Nov 30 2015 22:31
could give file not found I guess
Darnell Williams
@Seeker1437
Nov 30 2015 22:39
0
Steven Kirk
@grokys
Nov 30 2015 22:46
(i assume that's what @JohanLarsson was referring to ;) )
it's a classic
Nikita Tsukanov
@kekekeks
Nov 30 2015 22:48
Well, I was playing a prank on one dude several years ago
He was given a Linux VPS that was broken beyond repair
And was asked to fix it
The only way to make it useful was to install a new system in chroot environment
However I've patched the kernel, so chroot syscall always returned EBFONT (bad font file format) error
Steven Kirk
@grokys
Nov 30 2015 22:50
haha what?
Nikita Tsukanov
@kekekeks
Nov 30 2015 22:50
His words exactly
Steven Kirk
@grokys
Nov 30 2015 22:51
bet that caused some confusion!
anyway, i'm fixing leaks
think i've fixed the styling leak that i think it was @donandren found
though we should wait until after the alpha to merge as it might have broke something somewhere
now identified a leak where TextBox is keeping hold of a reference to its ScrollViewer which i think is a major cause of leaks in the test app
C# REPL
yay
Johan Larsson
@JohanLarsson
Nov 30 2015 23:25
nice
I use dotnetfiddle as a repl
Nikita Tsukanov
@kekekeks
Nov 30 2015 23:25
I'm using Mono shell
Johan Larsson
@JohanLarsson
Nov 30 2015 23:25
or tests
Nikita Tsukanov
@kekekeks
Nov 30 2015 23:26
Since it can access actual files on my hard drive
Johan Larsson
@JohanLarsson
Nov 30 2015 23:26
they say linqpad is nice but i never started using it
Nikita Tsukanov
@kekekeks
Nov 30 2015 23:26
GDB support, nice
Johan Larsson
@JohanLarsson
Nov 30 2015 23:27
depends on what gdb is
Nikita Tsukanov
@kekekeks
Nov 30 2015 23:27
GNOME DeBugger
Steven Kirk
@grokys
Nov 30 2015 23:30
awesome!