Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)P
Posts
55
Comments
320
Joined
3 yr. ago

  • I can't imagine this flow working with any DB without an UI to manage it.How are you going to store all that in an easy yet flexible way to handle all with SQL?

    A table for notes?What fields would it have? Probably just a text field.Creating it is simple: insert "initial note"... How are you going to update it? A simple update to the ID won't work since you'll be replacing all the content, you'd need to query the note, copy it to a text editor and then copy it back to a query (don't forget to escape it).Then probably you want to know which is your oldest note, so you need to include created_at and updated_at fields.Maybe a title per note is a nice addition, so a new field to add title.

    What about the todo lists? Will they be stored in the same notes table?If so, then the same problem, how are you going to update them? Include new items, mark items as done, remove them, reorder them.Maybe a dedicated table, well, two tables, list metadata and list items.In metadata almost the same fields as notes, but description instead of text. The list items will have status and text.

    Maybe you can reuse the todo tables for your book list and links/articles to read.

    so that I can script its commands to create simpler abstractions, rather than writing out the full queries every time.

    This already exists, several note taking apps which wrap around either the filesystem or a DB so you only have to worry about writing your ideas into them.I'd suggest to not reinvent the wheel unless nothing satisfies you.

    What are the pros of using a DB directly for your use case?What are the cons of using a note taking app which will provide a text editor?

    If you really really want to use a DB maybe look into https://github.com/zadam/triliumIt uses sqlite to store the notes, so maybe you can check the code and get an idea if it's complicated or not for you to manually replicate all of that.If not, I'd also recommend obsidian, it stores the notes in md files, so you can open them with any software you want and they'll have a standard syntax.

  • Well, the thing is, if the physics or render steps (not necessarily the logic) don't advance there's no change in the world or the screen buffer for the pc to show you, so, that's what those frame counters are showing, not how many frames the screen shows, but how many frames the game can output after it finishes its calculations. You can also have a game running at 200 frames but your screen at 60.

    So, when someone unlocks the frame rate probably they just increased the physics steps per second which has the unintended consequences you described because the forces are not adjusted to how many times they're being applied now.

    And a bit yeah, if you know your target is 30fps and you don't plan on increasing it then it simplifies the devlopment of the physics engine a lot, since you don't have to test for different speeds and avoid the extra calculations to adjust the forces.

  • Neither, use "Latino", that's the gender neutral form.Or if you don't want to use it and don't want to follow Spanish rules then follow English rules and use "Latin".

  • Here's how I have harry potter 1 with the option for the extended format, I'm guessing it'll be the same flow for different codecs.

     
        
    hp.1[imdbid-tt0241527].mp4
    hp.1[imdbid-tt0241527] - [Extended][Latino].mp4
      
      

    And in the UI it shows me a dropdown called Version which has two optionshp.1[imdbid-tt0241527][Extended][Latino]

    https://jellyfin.org/docs/general/server/media/movies/#multiple-versions-of-a-movie

    Not sure if this works for shows. Also because the name template you use already has dashes.And most probable it won't work to autoselect the codec for the device you're using.

  • What? AI search in Firefox? Haven't seen it, tho I have a custom search engine.

    How is the setting in brave related to Firefox?

  • A browser is also an app, it's not embedded into an OS.In some it comes preinstalled, which is the case for safari in ios.Also, some browsers just happen to include a PDF reader, but not all had or currently have.

    As @viking@infosec.pub mentioned, Android is meant to be lightweight so it can run in several configurations of hardware.Most OEM do include a browser in Android, this usually being Chrome. GrapheneOS is basically just Android (in this context) so it doesn't include a browser or a PDF reader, but both are available as a dedicated app from the GrapheneOS team or with any other app you want, for example I use readera, or sometimes Firefox.

  • I was juggling like that, I had most of my files in NTFS so I could read them in windows, even for files read only by Linux programs.Most programs were able to read from any part of the file system, but for those with strict paths I used symlinks.

    But I haven't had any use for Windows lately so I decided to delete all but one NTFS partition and this last one is only 256GB with 100GB free.The rest of the data I moved it to ext4 and btrf partitions.

  • You can explain them google is already integrated, they can use the address bar to type their query and hit enter to ask Google whatever they want.

  • Could you get a fountain?Specially if it spreads the water like rain, it'll help cool the air around, you'd just have to change the water every so often.

    If where you live is not very humid you could investigate into swamp coolers.

  • You have to configure the space bar to allow a long-press to give you a popup menu to select another language. Currently there's no way to have multiple languages with the same layout, it's annoying but you can work with it.

  • Oh, I was only aware of credits where the lender sets the amount to be the total exactly spread over the period, those are the only ones I've seen and taken, so each month I get a charge for the amount needed to keep up with the credit.For the rest then it makes sense how they make money, since I've had credit cards which don't show or at the very least hide the amount to not pay interest and only tell you the minimum payment.

  • Well, it's just a TS project with a very simple Dockerrile, you can just bun install && bun run prod.The rest of the dependencies aren't included in the docker image.

  • All the ones I've used require a separate service to actually do the query.You can use traccar, owntracks, or wanderer (this one is not realtime tho, and requires for you to find an app to send the data).There's also gpslogger which can record everything locally (or send it to any URL you set), but you need another app or service to be able to query it properly.

  • My unpopular opinion is I like ads, some are well thought, funny, and memorable.Ads in videogames which allow you to have a small boost are also amazing, I don't have to spend money, just leave my phone for 30~60 seconds and I get a bit of premium currency while supporting the devs.

    The annoying/worrisome part is all the tracking the ads have, and the ones which are very invasive which take half of the screen.If we could go back to TV ads where everyone watches the ads without individual targeting, and with current technology to protect against hacking, and getting them in sensible places to not hide the content I would place and exception in my ublock and pihole for them.

  • In that case I'd recommen you use immich-go to upload them and still backup only immich instead of your original folder, since if something happens to your immich library you'd have to manually recreate it because immich doesn't update its db from the file system.There was a discussion in github about worries of data being compressed in immich, but it was clarified the uploaded files are saved as they are and only copies are modified, so you can safely backup its library.

    I'm not familiar with RAID, but yeah, I've also read its mostly about up time.

    I'd also recommend you look at restic and duplocati.Both are backup tools, restic is a CLI and duplocati is a service with an ui.So if you want to create the crons go for restic.Tho if you want to be able to read your backups manually maybe check how the data is stored, because I'm using duplicati and it saves it in files that need to be read by duplicati, I'm not sure if I could go and easily open them unlike the data copied with rsync.

  • Unless they've changed how it works I can confirm.Some months ago I was testing lemmy in my local I used the same URL to create a new post, it never showed up in the ui, it was because Lemmy treated it as a crosspost and hid it under the older one.At that time it was only a crosspost jf the URL was the same, I'm not so sure about the title, but the body could be different.

    The thing would be to verify if this grouping is being done by the UI or by the server, which might explain some UIs showing duplicated posts.

  • It is to the algorithms of the bots handling Reddit's top pages (from where this bot copies the content)

  • For local backups I use this command

     bash
        
    $ rsync --update -ahr --no-i-r --info=progress2 /source /dest
       
    
      

    You could first compress them, but since I have the space for the important stuff, this is the only command I need.

    Recently I also made a migration similar to yours.

    I've read jellyfin is hard to migrate, so I just reinstalled it and manually recreated the libraries, I didn't mind about the watch history and other stuff.IIRC there's a post or github repo with a script to try to migrate jellyfin.

    For immich you just have to copy this database files with the same command above and that's it (of course with the stack down, you don't want to copy db files while the database is running).For the library I already had it in an external drive with a symlink, so I just had to mount it in the new machine and create a simlar symlink.

    I don't run any *arr so I don't know how they'd be handled.But I did do the migrarion of syncthing and duplicati.For syncthing I just had to find the config path and I copied it with the same command above.(You might need to run chown in the new machine).

    For duplicati it was easier since it provides a way to export and import the configurations.

    So depending on how the *arr programs handle their files it can be as easy as find their root directory and rsync it.Maybe this could also be done for jellyfin.Of course be sure to look for all config folders they need, some programs might split them into their working directory, into ~/.config, or ./.local, or /etc, or any other custom path.

    EDIT: for jellyfin data, evaluate how hard to find is, it might be difficult, but if it's possible it doesn't require the same level of backups as your immich data, because immich normally holds data you created and can't be found anywhere else.

    Most series I have them in just the main jellyfin drive.But immich is backedup with 3-2-1, 3 copies of the data (I actually have 4), in at least 2 types of media (HDD and SSD), with 1 being offsite (rclone encrypted into e2 drive)

  • Just tried it and seems too complicated haha. With traccar I just had to deploy a single service and use either the official app or previously gpslogger sending the data to an endpoint.

    With owntracks the main documentation seems to be deploy it into the base system, docker is kind of hidden.And with docker you need to deploy at least 3 services: recorder, Mosquitto, and the front end.The app doesn't tell you what's expected to be filled into the fields to connect to the backend. I tried with https but haven't been able to make it work.

    To be fair, this has been just today. But as long as a service has a docker compose I've always been able to deploy it in less than 10 minutes, and the rest of the day is just customizing the service.

  • It looks amazing!

    How well fitted would this be for a Google maps timeline replacement?

    I see you mention we need to upload the files which maybe could be obtained from an app like https://github.com/mendhak/gpsloggerI already had a flow to have them on my server with syncthing, so I could easily use your api to process them.

    The thing would be to have each trail be marked as each day and have a way of showing them nicely (I haven't tested everything in the demo hehe).

    Is there a plan to be able to process any GPS standard to automatically generate the trails?

    I'm currently using traccar, but it looks more like a fleet management than something to remember where you've been.