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

help-circle
  • Yes, agreed, some of it is probably just bluster to seem like they’re doing something.

    However, even if we agree that more police resources are necessary, I don’t know how we should get more of competent, educated police in the short term unless we involve military (who do have some education at least). The last thing I want is for us to rapidly employ new “police” (ordningsvakter) with only weeks or a few months of training - that’s how we get additional problems with US-style police violence on top of the gang violence problems…


  • I agree that the current government is implementing exactly 0 long-term strategies to help deal with the root cause of the problems, like strengthening and financing social services and welfare, healthcare and mental healthcare, schools and social programs, decriminalizing some drugs etc, to curb influx of underage criminals into the gangs and remove some of the economical incentives. The opposition is coming out with good suggestion after good suggestion, and the right-wing (by Swedish standards) government has basically just slashed welfare across the board in practice. They are going for only the hard-on-crime approach, which as far as I know has no real scientific proof of long-term efficacy unless paired with social/community interventions.

    However, I think many swedes agree that the police need more resources - particularly people watching possible targets of future bombings and just more eyes on the gangs. We have one of the lowest number of police per capita in Europe, slightly higher than the rest of the Nordic countries tbf, but with much bigger problems with organized crime and violence.

    I’m also horrified at this general societal development, but I can see the merit of involving some of the military in more eyes-on-the-ground kinds of operations for a few years until we have more of a grip on the gang situation. I prefer that to visitation zones, harsher punishments and more generalized surveillance of non-suspects being allowed.

    But maybe I’m just naïve to the implications.




  • sarjalim@lemm.eetoProgramming@programming.devNodeJS vs Go
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    11 months 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.




  • And try to force them to attend a mediation session with the murderer, actively discourage them from going to the police… Fail to report the baby deaths appropriately to the NHS, fail to do the initial investigation about the first three deaths the executive team had decided on. Fail to present to the board of trustees that the conclusion of two external reviews were that some of the baby deaths should be forensically investigated. Fail to do any investigation. Refuse to reassign the murderer for months while more murders and attempted murders happen, then reassign them into a position where they have access to manipulate the narrative. And additionally order the whistleblowers to cease email communications about the issue…

    I think I missed a few things as well, there’s just too many things wrong in this picture.



  • This whole story is the most insane, fucked up thing I have read in years.

    Especially the companion story, Hospital bosses ignored months of doctors’ warnings about Lucy Letby. The hospital execs seem almost as callous as the murderer. Holy shit. You have to have some sort of psychological or empathetic disorder as manager or director to fail to act when babies are dying like flies, there is one common factor, and your response isn’t to immediately investigate and take that common factor out of the equation as a safety measure.

    They just refused to act for 3 years (where 17 babies died mysteriously or had near-fatal unexplained events in one year) - except silence, threaten and bully the doctor and seven (!) pediatric consultants who repeatedly raised the alarm and called for outside investigation. Since the murderer was removed from the neonatal ward in 2016, there has apparently been 1 baby death. In total, in 7 years.

    I don’t know how you would live with yourself knowing that you actively aided a serial killer by refusing to listen to multiple people warning you about them and pleading with you to act.


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


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


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


  • Sure, that’s technically an issue, but not something that will probably ever become an issue in practice. Prosecutors who get a police report on their table evaluate the merit of the case and choose whether to dismiss it or prosecute it. So while this law could be abused because of a fuzzy definition of “creed”… It would have to be a very elaborate scheme where you’d have to fool both the public and the police that your case is within the spirit of the law, a prosecutor, and then finally a judge and five jurors (Sweden doesn’t have a jury system with regular citizens), for extremely little gain? Swedish courts tend to be conservative with punishments and fines. Just wildly guessing here, but a normal fine amount for this type of crime could probably range from $500 to $5000, and this is not awarded to the defendant. There can be damages awarded as well, though damages are generally very unimpressive in Sweden and of similar amounts to fines. There are other problems with the wording of this law that I think are more egregious, I’m not under any illusion that it’s a perfect law even though I agree with the sentiment and spirit.

    The full law run through Google Translate:

    Chapter 16, 8 § Anyone who, in a statement or in another message that is disseminated, threatens or expresses contempt for a national group or another such group of persons with allusions to race, skin color, national or ethnic origin, creed, sexual orientation or gender-transcending identity or expression, is sentenced for incitement against a national group to imprisonment for a maximum of two years or, if the crime is minor, to a fine.

    Remember that, while the translation is actually very accurate imo, there are words that have a slightly different nuance in Swedish, and some words here that exist in Swedish but don’t have a full equivalent in English. “National group” isn’t very correct here as a translation of folkgrupp, and “creed” is an ok but not 100% translation of trosuppfattning. “Contempt” is close, but the nuance is a bit different in the original missaktning.

    Some other issues: What is a “message”? What does “expresses contempt” mean here, what constitutes expressing contempt? Is a Quran burning a message, or does the context of the Quran burnings imply a message in this case? Where is the line drawn for “expressing contempt”?

    Courts are very protective of the Swedish constitutional right to free speech, which is why the recent Quran burnings are characterized by many legal experts as legal and valid religious critique. But others instead argue that the main intent here was not to critique religion, it was to incite, provoke and disrespect.

    It’s a fuzzy line to walk, but there is a pretty high bar for sentencing something as incitement under the cited law, when it stands in opposition to the constitutional right to free speech.


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