I like Slint, the technical work is extremely impressive. I even contributed to the project! I hope you can realize those goals, you would fill a massive vacuum in the wider ecosystem.
You are right, building a good UI for the desktop has become exceedingly difficult. In my experience new UI toolkits try to mimic the web experience (kivy, QML, Slint, Flutter, etc.) and end up being threadbare with the simplest widgets available. In my opinion, every new UI toolkit since QtWidgets/WinForms/Delphi/WPF/Win32/Gtkmm era has missed the point. The desktop is a power tool and requires powerful widgets. Virtualized lists, data grid with complex interactions, drag and drop, OS integration, modals, background tasks, docking windows, etc. A toolkit that puts a slider, some text and buttons on the screen doesn’t solve the harder problems and the web browser will run circles around that workflow. Easier UX can be built in anything really. Until there’s a desktop app framework that solves the hard problems in desktop UI dev then desktop will languish and hard stuff will continue to be hard.
I work in fintech and we replaced an OCR vendor with Gemini at work for ingesting some PDFs. After trial and error with different models Gemini won because it was so darn easy to use and it worked with minimal effort. I think one shouldn't underestimate that multi-modal, large context window model in terms of ease-of-use. Ironically this vendor is the best known and most successful vendor for OCR'ing this specific type of PDF but many of our requests failed over to their human-in-the-loop process. Despite it not being their specialization switching to Gemini was a no-brainer after our testing. Processing time went from something like 12 minutes on average to 6s on average, accuracy was like 96% of that of the vendor and price was significantly cheaper. For the 4% inaccuracies a lot of them are things like the text "LLC" handwritten would get OCR'd as "IIC" which I would say is somewhat "fair". We probably could improve our prompt to clean up this data even further. Our prompt is currently very simple: "OCR this PDF into this format as specified by this json schema" and didn't require some fancy "prompt engineering" to contort out a result.
Gemini developer experience was stupidly easy. Easy to add a file "part" to a prompt. Easy to focus on the main problem with weirdly high context window. Multi-modal so it handles a lot of issues for you (PDF image vs. PDF with data), etc. I can recommend it for the use case presented in this blog (ignoring the bounding boxes part)!
Online discourse has been declining in quality for many years in my opinion. I think as a consequence of more platforms where more specialized conversations are happening now in private: Facebook groups, discord channels, livestream chats, etc. I think it’s hard to say if the junk has gotten worse on Reddit or the good stuff now has dwindled. However all the popular sites, including this one, are gamed by companies. There’s even strategies for when to post on HN, at what time and with what kind of title to get the most engagement.
To be honest, these don’t sound like hard problems. These sound like they have very specific answers that I might find in the more specialized stackoverflow sections. These are also the kind of questions (not in this domain) that I’ve found yield the best results from LLMs.
In comparison asking an LLM a more project specific question “this code has a race condition where is it” while including some code usually is a crapshoot and really depends if you were lucky enough to give it the right context anyway.
Grafana cloud, install agents, pretty dashboard. Can add custom prom ingestor to load application logs. Sleep good. Feel confident, look at grafana alerts. Cry much. Finally learn promql, pro dashboards, sleep good again.
Seriously though grafana cloud with their agents is pretty easy and affordable. Grafana family of products kind of have a learning curve but they work very well.
The most successful projects I’ve been a part of were because one or a few people cared. Cared enough to build the right thing. Cared to make sure it was high quality. Cared about the stakeholders. When the leader is that person it is great but I found usually it’s one senior member on the team who ends up being that person.
Cultural changes are unpredictable. Europe was a hotbed of fascism not that long ago and looks nothing like that today? I wouldn’t discount the effect the baby boomer death waves in the next 20 years will have on cultural shifts either. Crappy executives and politicians can’t live forever and the zeitgeist is already changing among the people.
Today in discord I got an ad for loot boxes. Every time I hovered over the ad blocking the bottom right of my screen it crashed. Everytine I played a YouTube video in the client it crashed. Every time I watched some screen share it crashed. Every time I shared screens it crashed. Discord has been mostly very nice for me but it’s a weird coincidence that when ads appeared the client became immediately less stable for me.
> With enough discipline and tooling, it is possible to write safe C++
I think it's possible to write "safe enough" C++ for real-world use. Then after some time you get a weird crash because MSVC stdlib implementation does something weird in new spec. Or your dependency does something unsafe and hoses you. Or the new guy uses `std::string_view` but forgot it doesn't guarantee null-termination. Or you casually forget about iterator invalidation because you're tired and compiler doesn't help you. Or or or. I like C++, it's a nice language but after befriending Rust compiler, or seeing how awesome hot reload in C# is or live-coding a front-end in javascript or any other advantages of other languages I find the use-case for C++ shrinking daily. Really if the C++ ecosystem wasn't so damn rich with libraries, tools and more I doubt it would have as much backing today.
YouTube doesn’t feel zippy as a website but the reliable and speed of videos have been very good for me. I remember the days when buffering videos was hell.
In 2014 until 20218 I would have started any new game dev project in Unity without a second thought. Somewhere along the way Epic really invested in making Unreal better while the Unity engine became a meme of half-finished new initiatives. It’s still a good engine but I think mostly because it’s riding the very strong core built by its original teams. I’m curious how many of them are still at the company?
In 1924 the President of the United States’s son died. A man with access to the best medicine and doctors of the time during an insdustrialized age was not able to save his 16 year old son. He died from a bacterial infection…on his toe…that he got from playing on the White House lawn barefoot. In 1924 they were not able to save him from such a “simple” ailment. We underestimate the advancements in modern medicine and how easy it was to die historically. You could be the fittest, strongest vegetarian in 300BC and bad piece of bread could end you. Correlating meat consumption with life expectancy is just foolish.
I discovered starship when I started using kubernetes at work. Previously I relied on standard bash-isms for path, hostname, etc. but knowing what context and namespace I'm in before I execute a command is quite convenient. I'm normally not one to "customize" my CLI experience at all but this was a nice addition to the toolbox. Documentation is good, customizable, reliable and has support for a lot of things. Would recommend.
Yes because my life was better when I stopped visiting all those sites for a time. More productive, more focused, more present. I found myself “addicted” to other things though: work slack, discord, etc.
I made it about 1.5 months before relapsing. It was difficult at first but easy after a few days. It’s funny how when I returned 1.5 months later seemingly nothing had happened in that time. There was hardly anything to “miss out on”. I plan to do it again…but not at this exact moment :-)
Microsoft stopped investing in it for a time and generally less focus on desktop technologies over the years. It’s still fairly popular in .NET shops as far as I can tell with spiritual successors like Avalonia
Olive Garden marinara sauce contains grape jelly. A strawberry milkshake from McDonald’s contains something like 75 grams of sugar. Kids are fed Mac and Cheese from a box…its like 3 ingredients to make fresh…A “healthy” salad is lathered in sugar laden sauce worth 10x the calories of the leafy greens it sits on. Ultimately I think the nation is suffering from poor food quality standards combined with corrupted messaging surrounding nutrition and health. Most Americans I meet have skewed perceptions of what a healthy diet looks like. “Eat less, move more” is a convenient mantra suspiciously funded by the likes of Coca Cola. Maybe some things are just straight up unhealthy for you regardless of how much you exercise.
This reply is akin to "just think about it and do it perfectly dummy" which might sound "obvious" and "smart" but is really just unhelpful commentary. The ideas provided in this blog are actually a good heuristic for improving code in general, even if they don't apply in all cases. Simple and practical rules of thumb can go a long way for those without enough experience yet to have internalized these kinds of rules.
I’m not too familiar with cppfront and the other new “c++2” projects but I welcome anyone making C++ nicer to use. It’s not a bad language, just like uranium is not a bad material, but easy to mishandle and the consequences are fatal. Have pity on me as a mere mortal C++ and be easier to use please.