• 0 Posts
  • 237 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle
  • Some larger projects have what’s called a feature bounty, like others have mentioned $20 is very low for someone not familiar with the codebase to do it, it might be enough for someone already familiar with it (but I seriously doubt it since it involves at least some refactoring of the UI to add a shuffle button). However if more people want that feature they can each contribute a small amount and eventually it would be a value that would justify someone to learn the codebase.

    That being said, like someone else pointed out, it seems the app is going through some rewriting, so I wouldn’t expect any new features (especially those involving UI) anytime soon.

    Finally there are two issues mentioning shuffle in the GitHub, https://github.com/jarnedemeulemeester/findroid/issues/334 and https://github.com/jarnedemeulemeester/findroid/issues/547 you might want to create an account there and voice your wanting of that feature too, by either adding a thumbs up or a comment explaining why this is important to you.

    Good luck, hope you get your shuffle play!

    Edit: forgot to answer your question directly, yes, you can pay someone to contribute to an open source project, nothing wrong about that. But as a general rule it would be cheaper to give money to the people who are already working on the project.



  • In that sense it is a bit of scripting, it’s a templating language similar to Jinja, so you put things you want to display between {{ }}, for example {{name}} will get rendered as the content of the name variable. [[ ]] is the way Silverbullet habgles links, so [[Something]] is a link to the file Something.md, so [[ {{ name }} ]] is a link to the file with the name from the variable.

    Also that’s because I wanted a custom view, a very similar thing could be done with:

    \```query
    recipe
    \```
    

    BTW, you can have a table of contents on Silverbullet by just putting a block named toc, i.e. ```toc and closing it on the next line.



  • Let me give you an example, I have a page with this:

     ```template
     | Name | Keywords |
     |-----------|-----------------|
     {{#each {recipe}}}
     | [[{{name}}]] | {{keywords}} |
     {{/each}}
    \ ```
    

    Then each recipe page has a header, so for example if I have a file named Recipes/Steak.md with the content:

    ---
    tags: recipe
    keywords: beef easy
    ---
    
    # Ingredients 
    
    Yadda yadda yadda...
    
    

    So that table gets populated with all of the recipes wherever they are and I can add other columns or info there. It’s very neat and customizable.


  • Silverbullet is open source and has a very simple architecture with slightly extended markdown files which are easy to sync using whatever you use for syncing files. Plus it syncs files locally and allows you to edit offline and sync later (with a basic sync conflict resolution to avoid losing changes) and a very cool feature is that it allows you to write your own scripts to get whatever feature you want.


  • Another vote for Silverbullet, I’ve been using it for a while and it’s great. There is a tree view plugin that’s very easy to install, however I disabled it after a short while because I realized that, because of the way I take notes, that is a lot less useful than other features.

    For example, I have a folder with all my cooking recipes, at first I thought having a Tree view would be good there, but actually if I use the querying mechanism I can have tables that give me more information than just the name, e.g. tags, difficulty, etc. also this works regardless of where the recipes are, so if I want to create a subfolder structure or scrap recipes from elsewhere in the whole space it would work (granted, not very useful for recipes, but I also have a table for work tools, some of which are embebed on another page, some of which are a page of their own, and I have a table that lists all of the tools to give me an overview)



  • Wow, that’s very unfortunate. If you installed docker through package manager and have added yourself to the group I believe this to be self-imposed, I don’t know which mechanism Docker uses to give access to users in the group to its service, but seems related to that since it looks like the service is running but just your user can’t access it. To confirm it’s just that run the compose command as root, i.e. sudo docker compose up, this is not ideal but if that works you know it’s a permission problem with your user.

    You seem to know your way around Linux, so it’s probably not something obvious. I’m almost sure it’s something stupid and self imposed, I’ve done my fair share of stupid shit like leaving a config file malformatted or deleting a library or installing something through manually copying files only for something else to break because I overwrote something important.


  • I know you probably heard this thousands of times, but really, if you’re into self-hosting docker is a blessing. People make it harder than it needs to be when explaining all of the ins and outs. I assume you have a Linux box where you run your stuff, just install docker and docker compose there (you might need to enable the docker service, add your user to the docker group and reboot, unless you’re using a user friendly distro like Ubuntu). Then just make a folder anywhere for Silverbullet, create a file named compose.yaml and put the following text there:

    # services means that everything inside is a service to be deployed 
    services:
      # this is the name of the service, you can put whatever you want
      silverbullet:
        # this is the docker image to use
        image: zefhemel/silverbullet
        # this is the rule to restart in case of crashes
        restart: unless-stopped
        # these are environment variables you want defined
        environment:
        # this is a specific variable for Silverbullet, it's essentially username:password change this accordingly 
        - SB_USER=admin:admin
        # volumes are local folders you want to be available
        volumes:
          # in this case we want that the folder ./space be mounted as /space inside the container
          - ./space:/space
        # these are the ports we want to expose
        ports:
          # This means expose port 3000 on port 3000, if you want to access Silverbullet on port 8080 this would be 8080:3000 (because internally the service is still listening to 3000)
          - 3000:3000
    

    Then run docker compose up and you should be able to access it on the port 3000.

    Ling story short docker compose looks for a file named compose.yaml in the local directory, and that file above has all of the information it needs to run the server. I’ve annotated each line there, feel free to remove the comments.





  • Not what you’re asking, but in case it helps. I don’t use Obsidian, I use https://silverbullet.md/ it’s very similar, markdown files with the ``[[other note]]` syntax (as well as some querying mechanism that I believe Obsidian also has), in short it’s almost an open source version of obsidian but it has some advantages IMO:

    • It is open source
    • It provides a sync mode, where you download the text to your device and it’s accessible offline to get sync afterwards.
    • It’s hackable so you can write your own functions and styles

    I’m surprised almost no one has heard of it, the main developer is here on Lemmy, that’s how I found out about it. BTW I also use syncthing to keep backups of my data, and even specifically to not sync a work folder outside of the work computer even though the rest is synced, so I can access Silverbullet from localhost on the work computer and get everything there and any changes to non-work stuff get synced to my home server, and from my personal server get everything except work stuff.


  • It’s complicated, for me personally having one or two extra properties you’re providing a service, not everyone wants to buy a house at every moment, e.g. I recently moved to another city and wanted to live in a neighborhood for a while before buying something. The more you have, the more part of the problem you become, because when someone wants to buy somewhere they now can’t because people own it for renting. Also, again personally, if the value of rent is higher than the value of the mortgage, then you’re ripping people off, because you’re essentially buying the house with their money while they can’t buy a place of their own. As an example, I want to buy a place of my own, but every place here is so expensive because people buy them to rent, because the rent is higher than the mortgage so if you have the initial money buying a house is essentially free money, however rent is so high that getting the initial money is really hard and people are stuck with paying more to own nothing.



  • That’s a bad idea. First you need to understand that for the government to be able to track every citizen first they must be able to track every phone, and then be able to figure out whose phone is who. You’re trying to break their tracking by denying the second step but in doing so you’ve made yourself a priority target.

    Imagine you’re a government trying to track all of your citizens, and you’ve got the GPS data for every phone, and now need to assign them to specific persons and/or decide who you track specifically. Random Joe who goes from home to work and work to home will be last on the list, but a person whose itinerary changes every week, and drastically changes after a couple of months is someone that sticks out. And the moment someone notices this, it won’t be difficult to track other users with the same behavior, and realize they’re switching phones by comparing one phone’s behavior during one week to another phone during another week. And now they have the same information they would before, except they have their eyes on you more closely.

    Plus you would probably need to login to your email or some account on the phone, and that would be enough to track that you changed your phone.

    The best idea to avoid this sort of surveillance is to only carry your phone from home to work and back. No one will bat an eye about someone going for a run or something without his phone, and from someone tracking you’re just a boring person who only works and goes home.



  • By that logic you also don’t feel bad for people who die in car accidents because from the first time they got behind a wheel they knew of the possibility. You should also not feel bad about people who are ran over, from the first time you walked outside your parents told you it was a possibility. Every time you go outside you’re risking being hit by a car, so don’t expect me to cry when that happens, right?.. Right?..

    No, life is full of dangers, and ODing is just one of them. Most people who OD are in a bad situation and started using drugs to cope, and then it took control of them. Almost none of them made a conscious decision to OD, and one could argue their road to using that amount of drugs was also not entirely their choice, after all lots of those cause chemical dependency. Think about this, someone is stressed at work, they’re offered a cigarette by a friend who smokes daily, they smoke it and feel the stress going away, are able to focus and get through that tough spot, so they do it again next time they’re stressed, and then they start to get more and more stressed, but now they’re hooked, and trying to quit will be extremely difficult… Would you really not feel bad if that person developed cancer because he was stressed once and a friend offered a cigarette? How is ODing any different?


  • -It requires an arbitrary use-agnostic choice of value. Why 10 million? Why not 5? Why not 50?

    Why are tax brackets the value they are? Would you say that tax brackets are a bad system? They also rely on an arbitrary use-agnostic choice of value.

    -it requires an arbitrary time scale. Why 5 years? Why not 3? why not 10? Why not limit once in a lifetime?

    Same reason taxes are calculated over yearly income and not every 2 years or 6 months. It’s also arbitrary, it’s just an arbitrary you’re used to so you don’t question it.

    Both cons you found for my solution are also present on tax brackets, i.e. arbitrarily defined values and length, by that logic you also think tax brackets are a bad idea.

    The reason why I said 10 Mil over 5 years is to try to exclude as many legitimate use cases as possible. For starters we’re talking about people, not business, there are legitimate reasons for a business, particularly large ones, to take much larger loans. But for people? The largest expense on a regular person’s life will be the house they buy, and 10 Mil is WAY above the average price for that, if someone is buying a >10 Mil house I’m okay with them getting taxed on the loan, if they managed to get a 40 year 0% loan (impossible) they’ll already be paying 20k per month, might as well pay some more on top of it. But wait, you might say, what about smaller loans that compound to >10 Mil, that’s why there’s a 5 year limit, this means the person needs to loan over 2 Mil per year, which is simply not possible for someone unless they’re mega-rich, because again they would need to be paying >20k per month.

    And yes, those are arbitrary values and probably they need adjusting via research and experimentation, but again the same is true for tax brackets, and I think everyone agrees those are a good idea.

    This answer you acknowledged my proposal, therefore I now believe that you understood it, on your first answer you suggested I had a definition of income/non-income loans, which is not at all what I’m proposing.