I've enjoyed using Riverpod for my Dart/Flutter app framework but I have confused myself on some intricacies of lifecycles of Riverpod providers. I decided to do a detailed walk of the topic for myself and post it for my blog. #flutter #riverpod #DartLang #programming nequalsonelifestyle.com/2024/1…
#dartlang
I have quite a backlog of blog posts I've been meaning to write. FIrst up, some tips on Dart hashmaps: easiest way to make a list into a hashmap (I hate how many times I DDG'd for it) and that your default hashmap will preserve insertion order. #programming #DartLang nequalsonelifestyle.com/2024/1…
I love this "Java Almanac" site made by @Marc R. Hoffmann ! I tripped across it looking for old JDK versions. It has all the information, in diffable form too, of the various Java versions going back to its prototype days. I'd love for something like this to exist around Dart and Flutter. #programming #java #DartLang javaalmanac.io/
This is a great video about avoiding fallacies in benchmarking, specifically around Kotlin. One thing they used during tests is a "blackhole" object to make sure that compilers don't optimize away code from loops. The implementation goes back to a GPL2 licensed one in the JVM. I wonder if it would make sense to port that to Dart. Dart already has benchmarking harnesses but having a black hole evaluator could be interesting. #DartLang #kotlin #programming
- YouTube
2 Likes
This Full Stack Flutter conference has been a treasure trove for me and I'm only 2/3 the way through day one. I didn't realize Serverpod came out with a "mini" version so you can publish self-contained services only bundles easily. I didn't realize the Shorebird team basically had Flutter code push for live patching mobile apps in production. I also didn't realize there was a Dart-based static site generator called Static Shock. I've been considering moving off Hugo for my main blog and need to convert another site I have from Jekyll. I think I may dabble with these technologies as my procrastination projects :). #programming #DartLang #flutter
2 Likes
Thanks to the Full Stack Flutter conference I learned that the Compiler Explorer has a Dart support so one can see how their code compiles down to amd64 code. I wanted a tool like this for some time. #programming #DartLang #flutter
One person like that
I just found out there is a free online Full Stack Flutter (and Dart) developer conference. Archived streams of 2024's conference it are available if you register for 2025's. I know what I'm going to be perusing the next couple weeks #flutter #DartLang #programming
Full Stack Flutter Conference
One of the things I miss from Kotlin when coding in Dart is their helper methods on multi-line strings: trimMargin and trimIndent. The indent package implements that for me :) #DartLang #kotlin pub.dev/packages/indent
2 Likes
5 Comments
Right at the end of my Kotlin days, before Dart and Flutter became my go to platform, I wrote a bespoke server analysis tool to play around with Kotlin Multiplatform and JetBrains Expose. “I’ll make it more efficient later if it needs it.” “Later” is now “present day”. Part of me says port it to Dart as an exercise. I probably need to fix it first if possible though. Having spent some time looking at the code I am not having nostalgia for my Kotlin days. I’m wincing at what may be death by a thousand cuts to stand up a build/dev environment again with such a long gap in Kotlin and library versions that may have broken a bunch of things. Decisions…decisions… #programming #kotlin #DartLang
One person like that
2 Comments
Nice seeing server-side Dart project Serverpod and the Jaspr Web Framework working together! #flutter #DartLang #Jaspr #ServerPod
- YouTube
I saw this post on the Sieve Cache and wanted to see if I could quickly prototype it in Dart. I did. Compared to the LRU cache in Quiver I was able to get 20-50% speedup with a naive sampling method. May write it up and play with more. #DartLang #programming https://www.usenix.org/publications/loginonline/sieve-cache-eviction-can-be-simple-effective-and-scalable
2 Likes
Yesterday I discovered that Google created a Guava-like (their Java utility library) library for Dart named Quiver. It provides cache data structures, more collection types and operations, etc. #DartLang #Java #Google #Programming https://pub.dev/packages/quiver
I spent the afternoon playing around with Codeberg, which runs on Forgejo. It's pretty snazzy. I could see it easily replacing Gitlab for the very pedestrian ways I use it (not a lot of Actions/external integration). Like others it is a bit light on Dart/Flutter features. If I like it enough I could see contributing to update that. I still want to play around with some simulated development workflows. #programming #codeberg #forgejo #DartLang #flutter
3 Comments
I want spell check on #flutter desktop, currently it only supports mobile. I got a Dart Native prototype working by porting the Typo library to Dart and creating a SpellCheckService that uses it. It's far from production grade but a great start. #programming #DartLang
First Prototype of Dart Native Flutter Desktop Spellcheck
One person like that
The "What's New in Flutter" Presentation from 2024 Google I/O (with some updates on the Dart core language features like Macros) #flutter #DartLang
What's new in Flutter
One person like that
I'm finally at the making pretty pictures part of my Dart/Flutter implementation of the Ray Tracer Challenge. I even have live rendering updates albeit janky as hell. On to world building chapter... #DartLang #Flutter #RayTracerChallenge
https://gitlab.com/HankG/raytracerchallenge
3 Likes
2 Comments
Watching through the 2.5 hour long 3dfx oral history panel in small slices as I resume work on my Dart implemetation of The Ray Tracer Challenge :) #3dfx #ComputerHistory #RetroGaming #DartLang #Flutter #RayTracerChallenge
3dfx Oral History Panel with Ross Smith, Scott Sellers, Gary Tarolli, and Gordon Campbell
I've been in a bit of a developer rut. It's not lack of projects I want to do and can work on. It's more like analysis paralysis on some, death by a thousand cuts aversion on others. So I piss away time on social media. I decided to try to get some dev momentum by picking up something I first tried back in 2020 the last time I got dev writers block: The Ray Tracing Challenge. Back then it was Kotlin and I only got as far as basic ray projection before wrestling with the Cucumber test system and "real work" derailed me. This time I'm going to be trying it in Dart and Flutter. My progress, or lack thereof, will be in this repository with a corresponding plain text developer log. #programming #DartLang #flutter
2 Likes
I spent a lot of my career working with java and the JVM. In recent years it hasn't worked for me, especially as other cross platform systems met or exceeded its promises but without legacy encumbrances (hello Dart and .NET Core). While JVM is probably never going to be my go-to for new projects, Project Valhalla is still an impressive look at how the team wants to upgrade the JVM. The stuff about primitive/value types is fascinating. One thing I never heard of before is 32-bit tearing. Basically 64-bit type operations, including reads, are not guaranteed to be atomic so can never truly be thread safe. As someone who usually writes software that uses 64-bit values that seems like a non-starter for me but they are "going back to 1995" with this limitation on primitive types for performance reasons. Anyway, interesting read and hats off to the team trying to pull this refactor of the JVM off. #java #dotnet #DartLang #ProjectValhalla https://www.infoworld.com/article/3687670/project-valhalla-a-look-inside-javas-epic-refactor.html
5 Likes
4 Comments
2 Shares
I present the first named release of the Friendica mobile/desktop client: Relatica. It is still very much a work in progress but I'm going to start opening it up for beta usage (early beta). For iOS that will mean me letting up to 100 people into the inside testing team (Apple's limit). For the other platforms I'll be posting binaries/packages/install instructions for Android, Linux, macOS, and Windows in the coming days as well. I also setup a Relatica Matrix room for interactive discussions with me and other users. The README on the GitLab repo will have all those sorts of details. Enjoy! #friendica #FriendicaDev #relatica #flutter #DartLang #fediverse https://gitlab.com/mysocialportal/relatica
30 Likes
29 Comments
2 Shares