• 0 Posts
  • 32 Comments
Joined 1 year ago
cake
Cake day: June 28th, 2023

help-circle
  • This isn’t open source (but free if I recall correctly- I think I have a paid version but I installed it years ago): Recurlog will absolutely fit the bill for medications or other recurring tasks that repeat based on last-done date or due date (with or without automatic rollover = will reschedule for next day if one is missed).

    You can set reminders at a specific time, and easily log directly from the reminder notification. You can log multiple times each day if you like, and add notes to the logged entry.

    You can either set a “simple” recurring task without extra data, or optionally add data fields for text, numbers, Yes/No buttons or a time duration.

    Manual backup to file. Unfortunately no encryption or visualizations.

    I use it to log medications, reminders for physical exercises, cutting the dog’s nails, when the dog is due to come in heat and how long it lasted, monthly hair dye and products and results etc.

    I know it’s old (last updated in 2018), but it’s phenomenal. I’ve been thinking of making a similar app with more features as a hobby project, but I also have a 10 mo baby so 🤷🏻‍♀️



  • sarjalim@lemm.eetoProgramming@programming.devNodeJS vs Go
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    1 year ago

    As someone else already said, don’t overthink the language choice aspect in general. If you learn almost any imperative language with C-like syntax (Go, JS/TS, C#, Java etc), picking up another one in the same “family” to a usable degree will be a very minor hiccup done within a very short time (hours). Sure, there are quirks and special syntax and different collections of built-in features for each one, but as a developer you will likely switch between several anyway and need to look up syntax from time to time - you know that something can be done, but the details how are a bit fuzzy.

    For instance, I code mostly in C# and JS/TS, but we have legacy applications written in VB.NET so I often google VB syntax for things that I know how to write in C#. I also occasionally code in C, have dabbled in Fortran, Python and PHP and I’m sure I’m forgetting one or two. SQL and LINQ syntax too of course. What you learn on your developer journey is that something can be done, but remembering the specific implementation in a specific language might be a job better suited for your search engine. That said, of course it’s good to start with one language that you know pretty well, but it seems like you’re already there with Python.

    The real challenge is learning the methodology of building applications, philosophy of OOP, patterns and program/application architecture and frameworks. Language choice is very much secondary to those areas of expertise imo.

    Personally though, I am partial to JS/TS as I’ve used those the longest, they are extremely versatile and frontend development is my favorite area.



  • I’m honestly not necessarily a BEM fan as class names become literally huge if you don’t rely a bit on nested elements (targeting nested classes is not very BEMmy - but SASS makes it so convenient). But haven’t found a naming convention or “framework” that does the job better. BEM also doesn’t address how you should organize the style library for maintainability. I just use my own simplified structure based on ITCSS now.

    I just wish that someone could make a methodology or an architecture of building style libraries that felt obvious and was more plug-and-play, I hate that I feel like have to revisit the style library organization and naming convention for each new project to reevaluate if it makes sense for the scope of the project.

    Then again, I work as a fullstack dev in a small team of more backend-focused fullstack devs, so I don’t do frontend as often as I’d like and don’t really have anyone to discuss these issues with.




  • If I understand correctly (and I’m not 100% sure I do), localhost in a Docker container lives in it’s own little network which is not the host’s network.

    The container is its own localhost, which has its own ports (which is why you have to map an internal localhost port to a host PC localhost port for every container you wish to access). This means that Prowlarr in your case, has no idea what localhost:4666 should be since in Prowlarr’s localhost universe there exists nothing on that port. To access what the host knows of ports (instead of the container), you have to write the host’s address from inside the Prowlarr container.

    I hope that wasn’t impossible to follow 😅

    Now that I think about it (haven’t tried myself though) you could possibly add the mapping of port 4666:4666 to the Prowlarr Docker compose setup and then use localhost:4666 to access qBittorrent from inside Prowlarr.





  • I don’t remember exactly, but it used to be that you could only stream to mobile devices if you had Plex Pass (I mean, you could just use the mobile browser instead but that is ofc less convenient). Another perk with Plex Pass is that you can download content from the server to watch offline on your device, for example if you’re going traveling. Skipping intros I think is also a premium feature. Possibly the built-in subtitle downloader is also a Pass/premium feature.

    But otherwise I don’t think it’s necessary. Try it out, all the basic features are available in the free version and spinning it up is super easy. If you decide you like it you can just purchase a lifetime Plex Pass.


  • I think every member of society is entitled to a minimum level of respect. Some groups of people in society face more discrimination and harassment than others due to some common attribute they have, and my opinion is that they should be legally protected from that.

    You are in your rights to think Islam is a cancer, you are free to protest Islam publicly, whenever and wherever. The difference is that your critique of Islam is legal and valid, but you can’t target Muslims. Certain actions combined with a place and time can turn valid critique into incitement.


  • I actually agree, it’s a problem. As other people also argued here, the existing law is perhaps too fuzzy even though I personally agree with the sentiment (and do believe it is applicable as-is in the recent Quran cases).

    Laws can sometimes be intentionally written broadly as to cover future unanticipated cases, but for the recent events it’s not clear what is covered and what isn’t covered. That has to be tried in court to set a precedent then, and that hasn’t been done. And part of why it hasn’t been done seems to be that the prosecutors are unsure of how their case will go in court, so they choose not to prosecute… At least that’s how I have understood it.


  • I mean, as a fellow atheist I don’t disagree. What I’m saying is that there are groups that are targeted (in Swedish society) specifically for their affiliation with a religion, their sexual orientation etc. Protesting religions is fine and IS protected speech.

    But certain actions are only meant to provoke, disrespect and incite. The Iraqi guy is well within his rights to protest and criticize Islam; the question here is whether the manner of his “protest” was protected speech or if choosing that specific action, time and place for his protest, all taken together, tip the scales from valid and protected religious critique into something else. If the main intent was to incite, disrespect and provoke, it might not be protected speech.

    That said, I’m not a fan of most religions. Specifically when religion is used as a justification to impose prescriptive and restrictive rules on others both within and outside of that religion (pro life, gender roles, prescriptive clothing like Muslim head coverings, prescriptive rules regarding birth control or sex, discrimination or persecution of LGBTQ people etc).



  • I mean, that’s a matter of personal opinion (and you are entitled to yours). Legality aside, I personally think some groups should have special protections as they are often targets of discrimination or harassment specifically because of their affiliation with a certain group. That includes race/ethnicity, religion, sexuality, gender identity etc.

    Of course, these people are also individually protected from harassment and discrimination through other laws as you say, but the incitement law protects them as a group and from being targeted in certain ways. You are allowed to publicly protest against Judaism, but not to publicly wear swastikas (a symbol of the horror of the Holocaust).



  • We already have that law, so the only thing up for debate is interpretation? Which legal experts are busy with debating now in public discourse in Swedish media, with no clear consensus except that it should be tried in court. I understand what you mean by slippery slope, but if everything is a slippery slope we would never be able to legislate anything. And let me remind you, both Sweden and the US have already imposed certain limits to the right to free speech. Defamation, for example, is not protected speech.

    I disagree that a public school isn’t a public place, but you’re technically right. It doesn’t really matter in the eyes of the Swedish law though, arguably it would be worse legally if the student had carved the swastika on a public playground outside, rather then in a semi-public spot in a school.


  • It’s not my proposed idea, it’s an actual, contemporary Swedish law which has existed since 1948. What is up for debate is how that law is to be interpreted in this instance, what constitutes “creed” (in, perhaps, a better translation of the original Swedish instead of “religious belief”), and what constitutes a “message” and whether burning a Quran is valid criticism of Islam or if doing it at that time and place is a hate crime targeting Muslims. It hasn’t been tried in the Swedish supreme court whether Quran burning in certain contexts like the recent events is illegal under that law or not.

    Technically, sure, you could argue that everything can be a religious belief/creed and any belief is covered under that law. But that is not how the law is interpreted and used in practice. I would consider that a strawman argument then, because it intentionally misrepresents the spirit of that law.