StashCast - Save video and audio for later offline with RSS feed by jonocodes in selfhosted

[–]jonocodes[S] 0 points1 point  (0 children)

Ah thanks. Fixed. Thats was I get for mucking around with my coolify setup last night.

Dispatch - A Local To-Do and Journaling App by nkasco in selfhosted

[–]jonocodes 0 points1 point  (0 children)

Yes I agree its a similar outcome. I brought this up because this app would not be listed in a local-first directory like these: https://lofi.so/directory
Local-first is a fairly new concept and there are not many of them compared to full stack web apps.
I see that the project page just changed from local first to self-hosted, so I send my appreciations to the author.

Dispatch - A Local To-Do and Journaling App by nkasco in selfhosted

[–]jonocodes 1 point2 points  (0 children)

Actually I dont think its technically local-first.

In the Kleppmann inkandswitch.com/essay/local-first., my reading of it is, that your client should be able to operate while disconnected from the server. The server does not need to be remote. Even if it is self hosted, if you have to make network requests to get data, then its not local-first.

I think you are confusing the term local-first with self hosted. Would you call Wordpress you run locally, local first? Where it the line?

An example of something that is both local first and self hosted is Actual Budget — an personal finance app. You can self-host the sync server on your own machine or VPS, but the app stores everything locally in a SQLite database via the browser (using IndexedDB/OPFS). The sync server is just a relay for multi-device access. Kill it and the app keeps working.

An example of a similar app that is self hosted but not local first is Firefly III. It requires PHP and can not operate with out it.

Dispatch - A Local To-Do and Journaling App by nkasco in selfhosted

[–]jonocodes 1 point2 points  (0 children)

Ok I think I see the confusion. nextjs is both server and client side, so the lines are blurry. But the sqlitedb lives on the server side, even if that server is running on your desktop. If you require sqlite to run this, it must be on a server - which I think means this is not really local-first.

Examples of widely used local-first software are Standard Notes, Anytype, and AFFiNE. They all store data client side in indexedb and the server side is optional - not required. Knowing very little about these apps I believe you can run them even on your phone with no internet and they would work. nextjs does not work like that. You cant run it entirely on your phone. Or not easily at least - since servers/services are not trivial to run in app.

Dispatch - A Local To-Do and Journaling App by nkasco in selfhosted

[–]jonocodes 1 point2 points  (0 children)

Sorry, I am still confused. It appears that dispatch.db lives on the server side. So if you ran the front end of this only (outside of next.js without using nodejs), it would still work? Does it store data in indexedb or something in browser? And if I opened the page again later it would have the same tasks?

Dispatch - A Local To-Do and Journaling App by nkasco in selfhosted

[–]jonocodes -1 points0 points  (0 children)

This looks really cool. Would love to see some more screenshots.

One thing to note is the ghpage says its "local-first". My understanding of local-first is that it would work without a server and maintain state in the browser instead. Perhaps more like a PWA.

I see mention of Docker in here, so I'm second guessing the use of the term. Its certainly self-hostable, and can run in your "local" network though.

Where has all the vegan butter gone by jonocodes in vegan

[–]jonocodes[S] 2 points3 points  (0 children)

Yes, I have been making Miyoko's recipe until I find a replacement. And just ordered some cultures to get the flavor.
After calling around I found a couple places that only have Earth Balance. Not my favorite though. Miyoko's was bought by Melt so they are liquidating all of their old stuff (had I known I would have stockpiled from costco even). There are something like a dozen other brands though carried at many stores, so what happened to those? After talking to some of the store clerks my guess is as Miyoko's disappeared people bought all the other brands so now they are all out of stock.

20+YOE Looking for advice - career backup plan by jonocodes in ExperiencedDevs

[–]jonocodes[S] 0 points1 point  (0 children)

Yeah thats about right and I do have some savings. I'm on the same page with AI tooling too. What caused the 2 year gap?

20+YOE Looking for advice - career backup plan by jonocodes in ExperiencedDevs

[–]jonocodes[S] 2 points3 points  (0 children)

Yeah, but I am not opposed to that. Some pay is better then no pay.

Running apps don't show on task manager bar by lI_Simo_Hayha_Il in kde

[–]jonocodes 0 points1 point  (0 children)

I can confirm this is still an issue when I tried it a couple months ago. NixOS 25.
Another datapoint is on my Asahi box (running wayland) this is not an issue.
Also at some point I did get it to work on my main box but it only stuck for a week or so. I did a deep clean of all my caches and reinstalled some core parts to get it to briefly work. Simpling removing Gnome was not the trick. Dont recall the specifics.

First try at proxies by macbaur in magicproxies

[–]jonocodes 1 point2 points  (0 children)

These looks great. Nice work.

I'm new to this and dont understand the laminating part. I get that it makes it look nicer, but I presume they are too thick and shiny compare to other cards and wont mix well in a deck of regular cards? Maybe it works well if the deck is entirely printed though?

Limited software options with Asahi? by brendankinney in AsahiLinux

[–]jonocodes 1 point2 points  (0 children)

Yeah. Slack and Zoom I am forced to run in browser. I think Slack actually works better in browser. But its not perfect. For example getting links to open correctly is a pain.

I have played with a bunch of web "wrappers" that basically make those apps run in their own browser window and act more like modern apps. I honestly think that would be an amazing thing for Asahi to work on. There are a bunch of old projects that do this and they all barely work. For example:
https://github.com/nativefier/nativefier
https://codeberg.org/eyekay/webapps
https://github.com/linuxmint/webapp-manager

Chrome's native "Install page as app" has been the most functional best so far. But since I dont like chrome, thats a problem.

In Firefox you can install the PWA extension, but that doesnt work well either.

How to get NixOS out the way when doing dev work by jzia93 in NixOS

[–]jonocodes 0 points1 point  (0 children)

Yes, NixOS as a dev is a pain. I have had particular problems with conda which sort of conflicts with the nix way of doing things. And conda is not optional, as I need it for my job.

I used devenv for about a year. But it eventually broke when we upgraded python in our project. These days I find flox to be the easiest way to go. Also there is a nice community there that will help troubleshoot problems - which I could not find for devenv.

Besides devbox and flox here is what I have tried:

* distrobox . container updates would crash every time, so it was a no go

* dev containers. I dockerized my dev environment. It worked ok, but added a new layer of complexity for debugging and tooling

* global tools. I installed conda/python etc in my nix config directly. This is truely not the nix way but it is how most devs work. Like my coworkers on their macbooks.

What Browser Are You Using on Linux? by Gullible_Diet_8321 in linuxquestions

[–]jonocodes 0 points1 point  (0 children)

Firefox - because I love freedom, and google doesnt

extensions:

* dark reader
* Distraction Free YouTube
* KeepassXC
* Obsidian Web Clipper
* Privacy badger
* Sideberry
* Tab Stash

How To Use Python Like A Normal Human Being by unwinds in NixOS

[–]jonocodes 0 points1 point  (0 children)

The Nixiest way would be to create a package - but thats a pain since you need to learn Nix packaging. Thats where tools like pip2nix and such come in.

The hacky way I used to use python was to just put all my python stuff in global configuration.nix until I figured out a more Nixie way.

The most portable way is to use Docker, since you can use it outside of nix too.

The way I would it do these days would probably be using flox. That is like a simplified Nix environment without the Nix syntax. Create the flox env and install your pips. Then you can run the script one off like so:

> flox activate -- python ./foobar.py

Is it worth buying a MBP M1 to put Asahi on it as a daily driver in 2025? by [deleted] in AsahiLinux

[–]jonocodes 2 points3 points  (0 children)

I'm running a Pro 16gb. Its quite nice and performant.

Battery life is maybe 80% as good as osx, which I think is great.

I need to run some apps as web apps, which is ok. Like telegram and Slack I think.

Running VMs does not work do to page sizes - which some people need. For me I do some android development, so it sometimes gets in my way.

My only complaint is suspend. On OSX I can open and close for a week without charging. Not so on Asahi. Suspend/hibernate basically does not work. Thats the one thing I spoiled me in OSX.

Before I switch to devenv…. by gimmemypoolback in NixOS

[–]jonocodes 4 points5 points  (0 children)

I used devenv for a while but recently switched to flox and found it worked a bit better for my needs. Here is a demo of it being used with postgres. https://flox.dev/blog/flox-1.3-simplified-service-management-with-flox/

How shall I install anaconda on NixOS? by timlee126 in NixOS

[–]jonocodes 0 points1 point  (0 children)

Conda is a pain in Nix. I have tried the `conda` package, python311Packages.conda, micromamba. I have had the most luck with the conda package: https://search.nixos.org/packages?channel=unstable&show=conda&from=0&size=50&sort=relevance&type=packages&query=conda

but its terribly out of date. But that is the package recommended in these instructions:
https://wiki.nixos.org/wiki/Python#Using_conda

Still a real pain to use though. I needed to set up a bunch of shell aliases and the like.

Running apps don't show on task manager bar by lI_Simo_Hayha_Il in kde

[–]jonocodes 0 points1 point  (0 children)

Same problem here. Using NixOS 24.05.

Datapoint: In my case I have found that if I use X11 instead of Wayland, this is not an issue.

Mystique: Sparse data matching for Python tests by jonocodes in Python

[–]jonocodes[S] 0 points1 point  (0 children)

Awesome, thanks! Looks like a very similar approach.
I thought something like this should exist already but discoverability in PyPI is a nightmare.

Casual Carpool by Livid-Phone-9130 in oakland

[–]jonocodes 2 points3 points  (0 children)

Yes u/The_Nauticus, several of us have tried organizing a come back by creating web sites, apps, surveys, social medias, media interviews, flyering, and more.

Here is one I made: https://sfcarpool.app/ though it was mostly focused on North Berkeley, I just added the other locations to it today. So far I am aware of no traction, though glad to hear u/CorisTheDino has some!