Skip to main content

 

I miss my dev time on Avalonia since other projects fill my time but can't wait to get back to using it. Looking forward to the discussion # # #

 

Listening to # podcast and they are crap talking about how inferior the desktop experience is on #. No shit Sherlock, MS and everyone besides @avaloniaui have spent nearly zero effort to get it working. Glad at least one project is now...


 

I found LiteDB was a great embedded NoSQL DB option for #dotnet. I just needed a cross-platform editor. So I created LiteDB Portal. Running on #linux #mac #windows thanks to #avalonia Check out code and tutorials for Release 1 gitlab.com/HankG/litedbpo…

2 people reshared this


 

I'm thankful for being able to make my app a little less fugly in just a couple hours of work :). Decent looking enough I don't mind sharing a screenshot even. #dotnet #avaloniaui #linux

 
@Michael Vogel

For mysql the solution was to restart from scratch to produce MariaDB and php-mysql is dead. To bad for old site that must be recoded.
that happened when oracle bought mysql.

but this is another question.
 
Well, MariaDB wasn't done from scratch. They included stuff from MySQL as well. And it was a good decision to let php_mysql die. PDO is a much more general and more object driven variant. BTW: I really would hope that php_mysqli will be deprecated in the near future as well.
 
@Michael Vogel

do you realize that the more abstract is the code, the more cpu you use. Do you realize that we run for a lowtech and low-consumption hardware and software because of climate change thus those meta-mega libs are not so clever ?

Le'ts construct a lib that open with the same code, whatever database, plain text, pdf, docx, odt, .indd, .svg, .xml , url, html, clever ? with large object and let's go for I24 256 cores.

object variant in non connected mode.. such a good idéa : each request object are created and destroyed. very very smart. no pdo is not that clever : you trade abstraction for performance. fast development more cpu.

do you know that ovh had to improve there infra just because every body use wordpress for a large bunch of statics pages recalculated each visit ?

 

OK let's give LiteDB (File-based #nosql DB written in #dotnet ) a whirl: https://github.com/mbdavid/LiteDB
 
Hmm. Why not Sqlite?
 
I experimented with that too. I actually had been using a JSON file for persistence during prototyping. So it sort of felt easier to use a document store.

 

Thanks to some big help from @dwuk86 my tutorial from earlier is much cleaner and should be less chatty on the eventing system. #avalonia #dotnet

 

While prototyping some UI concepts I wanted to do the same "infinite scroll" as you get in #twitter #diaspora etc. Here's how you can get something like that working with #avalonia #dotnet :
 
Ah, I see. It's more a matter of how badly others like Twitter do it. I don't use Twitter, but I get the basic idea from the inscrutable ordering/visibility algorithm Facebook uses.

Of the "big" for-profit social media platforms, the one I tend to use is tumblr (although calling tumblr "for-profit" is more of a hilarious joke about venture capitalism than anything else). Famously, tumblr uses strict reverse chronological order. It's a pervasive joke that tumblr is a "hell site" that proves how much we tumblr users will put up with just for the sake of a reverse chronological order dash.
 
@Hank G Thank you much for the explanation. Always learning :)

 

Today was going to be a big day of breaking ground on a new #dotnet library. Instead I spent half of it figuring out how to do local package publishing with NuGet on #linux. Here's a tutorial so you can figure it out in a fraction the of the time.

 

"only" 3 hrs to get local NuGet Package installs working with #dotnet under #linux. It's not hard it's just beyond not well documented *and* once again the non-Windows toolchains are second class citizens unfortunately :(. Need to document in a blog post...

 

The hoops you have to jump through in #dotnet to do local package installation that is as simple as 'mvn install' with #java is **astounding**...smh...

André E. Veltstra reshared this.

 
Try installing local packages using Gradle for Java. Better yet: have a mix of local packages, packages hosted locally on an Ivy repo, and packages hosted remotely on Maven or Bintray. Because that's where I'm at.

I bet it's equally astounding.
 
I've never had a problem with that actually. If I recall correctly I used the Maven plugins so it was Maven that was doing the local repo management though. I will say that I'm far more used to Maven than Gradle for larger projects. Those systems aren't perfect either for sure.

 

Avalonia (Windows/Mac/Linux WPF-style UI framework for .NET) is getting bumped to 0.9 and .NET Core hit 3.0. Here are some notes I have from migrating my tutorials to the new versions. #dotnet #programming

 

Microsoft is doing a #dotnet survey on cross platform development. Now that I have a real solution for that thanks to #AvaloniaUI I was very happy to put in my thoughts on it :)

 

I think I'll be trying this in my next console app. Gets rid of so much settings boilerplate! Thanks @shanselman #dotnet
 
I'm currently using Argu in the F# world. However now I need to take a look at this
 
Just used it in my first app and it worked pretty well :)

 

How have I never heard of this before? This looks really neat! #dotnet

 

Indices and Ranges for working with arrays (and lists etc?) in C# 8 look pretty neat! #dotnet #programming

 


 

.NET Core 3.0 adds even better native library integration. In case it wasn't far enough ahead of the JVM's! Even more excited if the rumored Java Interop comes to fruition next year as announced! #dotnet #java

 

A really good best practices article on fixing performance problems in your #dotnet application https://michaelscodingspot.com/performance-problems-in-csharp-dotnet/

 

Having a look at #dotnet event handling overhead and scalablity from 1 to 1 billion handlers https://www.nequalsonelifestyle.com/2019/06/25/dotnet-event-handler-overhead/

 

I woke from a dream where the #diaspora API was being deployed (which I think may actually be happening soon, right #diaspora-dev ?) so I revived my website comments system based on the API, polished up the #kotlin implementation, and then also wrote a #dotnet version so I could make an #fediverse app in #AvaloniaUI . Yeah I'm in a coding mood :).
 
yep, it should happen soon ;)

 

Want to use a TreeView control in #avaloniaui #dotnet? Here is a tutorial on the ins and outs of using it:

 

A tutorial on getting started with DataGrids in Avalonia #avaloniaui #dotnet

 

First article on using grid layouts for creating #avaloniaui #dotnet interfaces

 

A follow-up article on binding button commands/status in #avaloniaui #dotnet

 

There are several ways to wire up #avaloniaui #dotnet buttons. Here is a comprehensive tutorial I put together on the topic as part of a series of tutorials I am writing on introducing Avalonia to new developers.

 

After a week of deep diving into #AvaloniaUI I have a lot of personal progress, a couple hurdles to overcome, but a direction forward for how I want to contribute and use it to make truly cross platform #dotnet software

 

Using Design Data to help laying out your #AvaloniaUI #dotnet UIs https://www.nequalsonelifestyle.com/2019/06/03/avalonia-design-data/

 

What's the easiest way to find your way around #AvaloniaUI #dotnet controls? The new stand alone version of their "Controls Catalog App" of course! https://www.nequalsonelifestyle.com/2019/05/26/avalonia-controls-samples/

 

Yes these are all microbenchmarks so take them for what they are worth but across the board speedups of at least 20%, many 50%, and in some cases far more is very impressive for .NET Core 3.0 #netcore #dotnet

 

Mostly positive 1st impressions of #AvaloniaUI for #dotnet #linux development, with some paths forward #programming https://www.nequalsonelifestyle.com/2019/05/13/avalonia-first-impressions/

 

Write up of my positive experience with the #AvaloniaUI tutorial. Again hats off on true cross-platform desktop development with #dotnet on #linux https://www.nequalsonelifestyle.com/2019/05/10/avalonia-todo-tutorial/

 

Tucked away in the .NET 5.0 (in a bullet no less though) was this awesome tidbit: Java Interoperability. I don't want to get too excited but being able to use my favorite #java libraries in #dotnet would be awesome!

 

A first step towards doing cross platform desktop development under #linux with #dotnet using #AvaloniaUI https://www.nequalsonelifestyle.com/2019/05/08/avalonia-hello-world/

 

Darn, still no UI for Linux on the roadmap (although many good things). I want to try Avalonia but it'd be great if Linux wasn't a 3rd class #dotnet citizen. #programming https://visualstudiomagazine.com/articles/2019/04/04/net-core-3.aspx
 
Yep, C# is such a nice language
 
@Christoph S I know :(. Before I found Kotlin it was why I was heavily ramping up my .NET on Linux work. Everytime I hear a podcast on Avalonia and stuff I want to try it again. Also one project I want to do needs to be tying into some native libraries and the bridge for that through the CLR is far more reasonable than the options available through the JVM.
 
Before I started studying at university I was doing a professional training as software developer at a company and despite some legacy stuff we used C# for the newer porjects. I really loved the language. Then when I started studying at university it was like going back a couple of years, cause I had to learn Java and always wanted to do things like I did in C#, e.g. a foreach loop over a String. Of course in Java you need to use the damn CharArray stuff....AutoProperties in C# for getter/setter were also very nice!
Well, but in the meantime with Java 8 there have been a lot of great advances.

 

Avalonia on Linux


I'm thinking of playing around with .NET thick client app dev on Linux for a cross-platform app. Any luck on doing Avalonia inside of JetBrains's Rider? #linux #dotnet #jetbrains http://avaloniaui.net/