• 0 Posts
  • 16 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.




  • What are you on about, we were asked to have face masks on public transport, in grocery stores, in hospitals etc. Lots of selfish people refused to have the decency to protect others from themselves, but still.

    We had worse outcomes compared to Norway, Finland, Denmark. Not necessarily due to the inability of people like you to wear masks, but nothing to brag about.

    As a swede: your opinion is in the minority, and it’s embarrassing that you have to invoke some sort of “Swedish superiority” mentality. Please stop importing the very worst ideas from the US.


  • 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.



  • Someone new got approved to burn another one outside the Iraqi embassy in Stockholm, that’s why there’s a new reaction.

    Tbh I personally don’t think it should be allowed to actively provoke and incite hatred against an ethnic group. Sweden already has a law specifically against this (incitement against ethnic group), which lists religious belief as a group covered by the law. However, there has only been one case that went to the courts trying specifically a Quran burning, and the context was a bit different so it was dismissed. The Quran burning previous to the one in the article has been reported to the police, and imo it should go to trial so we can test the limits of the incitement law. That Quran was burned directly as a statement outside a mosque, during Eid, which is a context that could be illegal under that law.

    To clarify, people should be able to burn whatever books and symbols they want and express whatever vile or justified opinions they have under freedom of speech in Sweden- but not in every context and forum everywhere, as direct provocation and incitement. This is actually the majority opinion of Swedes (source in Swedish).

    But we’ll see what happens. I discussed this with a lawyer I know, who agreed that it should be prosecuted and go to trial so we can see how it fares in court.


  • Yes, and I answered that I think there are more factors, but that tax burden is a big reason?

    An American company which has 100 employees located in America and 2 employees located in Europe will have a smaller total tax burden as a company, than a European company with 102 employees located in Europe. Same number of employees, very different bottom line tax burden. The American-based company can thus afford to pay their few European employees more, to outcompete European companies on salary on the labor market.


  • I couldn’t tell you why individual American companies in Europe pay more, but I’m guessing a big part of it is the difference in tax burden for companies based in Europe vs America. American companies have the majority of their employees in the US, and for these employees they pay much less into the system than Europe based countries so are able to pay more for a few European employees.

    For example, payroll taxes/social fees (the fees and taxes your employer pays on your behalf) and corporate taxes are much higher in North Europe than in the US. Sales tax/VAT is higher in Europe and, while it’s technically paid by customers, companies have to take the sales tax surcharge into account when setting the prices for their goods and services to be competitive on a global market. That means they can’t afford astronomical salaries.


  • You’re replying in an antagonistic tone to anyone trying to answer your questions in good faith. You don’t see the value in paying for a welfare system or income redistribution for the betterment of society as a whole, but many people do. Most of us want to not live in a dystopian nightmare where there are haves and have-nots depending on luck or misfortune. Not saying that the US is quite there, but there is a lot less of a societal buffer between you and total destitution after an adverse event there.

    This is the reason why US employers have to pay more, they have to offer more due to the bigger inherent risk to every employee on a life basis (at-will employment, you’re responsible for your own 401k and health insurance and education and transportation and remaining healthy and capable enough to work your whole life). If you can’t be sure of your future source of income, you have to charge your employer more. This is also why consultants are paid better in Europe than direct employees, because consultants take a bigger risk.