Developing with Docker
  • mapto mapto Now 50%

    Just trying not so confuse realistic testing with self-deception :) Not convinced testing with synthetic data can pretend to be similar to a production environment.

    0
  • Developing with Docker
  • mapto mapto Now 50%

    It is not realistic to replicate a production setup in development when you're working with sensitive user data. I've worked in different contexts (law enforcement, healthcare, financial services) where we've had complicated setups (in one instance including a thing called pre-staging environment), but never would a sizeable team of developers have access to user data, and thus to a realistic setup in terms of size, let alone of quality of data.

    0
  • Why I Still Use Python Virtual Environments in Docker
  • mapto mapto Now 100%

    I'm sorry, but doesn't sound very convincing. The strongest (reiterated) argument is "venv is standard", but so is docker.

    2
  • 10 years since the Ilovaisk massacre
  • mapto mapto Now 100%

    Thanks, corrected

    3
  • www.dialog.ua

    During the siege 10 years ago today, Russia agreed to open a humanitarian corridor to allow evacuation. Then they ambushed anyone who passed through this corridor.

    60
    3
    qoto.org

    cross-posted from: https://qoto.org/users/mapto/statuses/112885446373011247 > Looking for a junior researcher to work on semantic shift > > We are studying the semantic shift of linguistics metalanguage in Early Modern English and we need your help. > > [\#changeIsKey](https://qoto.org/tags/changeIsKey) [#semanticShift](https://qoto.org/tags/semanticShift) [#computationalLinguistics](https://qoto.org/tags/computationalLinguistics) [#digitalHumanities](https://qoto.org/tags/digitalHumanities) > [@linguistics](https://a.gup.pe/u/linguistics) [@digitalhumanities](https://a.gup.pe/u/digitalhumanities) > [@digitalhumanities](https://lemmy.ml/c/digitalhumanities) > QT: [https://fediscience.org/@IslabUnimi/112885415246430765](https://fediscience.org/@IslabUnimi/112885415246430765)

    3
    0
    Why haven't we figured out monetisation for peertube?
  • mapto mapto Now 100%

    Thanks. I didn't know this and it is very useful information.

    1
  • Why haven't we figured out monetisation for peertube?
  • mapto mapto Now 100%

    Even if so, your unreasonably pessimistic assumption is that this would be an exclusive source of revenue. Once content is created, cross-posting is free.

    1
  • Why haven't we figured out monetisation for peertube?
  • mapto mapto Now 100%

    Thanks for doing the maths. Actually, it does show that there's a small, but unexploited market here. $2-3K a month is a very good income for the most of the world. And this doesn't have to be the only revenue stream.

    1
  • Why haven't we figured out monetisation for peertube?
  • mapto mapto Now 100%

    Could you elaborate, please. I'm genuinely interested

    1
  • Polars — Announcing Polars 1.0
  • mapto mapto Now 100%

    Looks exciting, and the basic example in the user guide seems more intuitive than pandas. Looking forward to see how it's going to integrate with bokeh and plotnine, though.

    1
  • Cost by Protein Source
  • mapto mapto Now 100%

    I guess you misunderstood my providing illustrative examples in parentheses. Replace or remove the examples, the argument is still valid.

    In another subthread they've pointed out that processing food also changes its protein density, most obviously by water transfer.

    1
  • Cost by Protein Source
  • mapto mapto Now 100%

    This is not a problem with the nutrition of foods, it is the metric that is poorly designed. One more argument against the chart

    1
  • Cost by Protein Source
  • mapto mapto Now 71%

    Your seem to insist to twist this towards vegan wars, but this is you. It's not the graphics, it's not me.

    3
  • Why Python Is So Slow (And What Is Being Done About It)
  • mapto mapto Now 100%

    Upfront analysis and design is very close to independent from the technology, particularly at the I/O level

    2
  • Cost by Protein Source
  • mapto mapto Now 100%

    What's wrong with reducing density through absorption (of water)?

    1
  • Cost by Protein Source
  • mapto mapto Now 16%

    To me it seems that your interpretation completely disregards the Y-axis. On the other hand, I wouldn't think the colour coding does a good job in separating along the carnivorous-vegetarian-vegan scale.

    -4
  • Why Python Is So Slow (And What Is Being Done About It)
  • mapto mapto Now 83%

    Q: what do we do? A: profile and decompose. Should not be that distant as a thought

    4
  • Cost by Protein Source
  • mapto mapto Now 40%

    So much wrong about this chart. It is factually correct, but it answers the wrong question.

    This chart makes it way too easy to optimise for cheap protein, which is misleading. It is not this what it takes to have a healthy organism. It takes a varied diet, with balanced quantities of liquids (see milk), vitamins (see sprouts), fatty acids (see salmon), minerals (see shrimps, eggs, walnuts), actually carbs (potatoes, rice, spaghetti), and much more...

    -5
  • www.themoscowtimes.com

    News in Russian: >В России рекордно низкая безработица — в апреле она составила 2,6%. Значительно снизилась молодежная безработица. https://meduza.io/paragraph/2024/06/07/v-rossii-edyat-v-dva-raza-bolshe-myasa-chem-v-drugih-stranah-mira-tempy-rosta-nashey-ekonomiki-vyshe-srednemirovyh-my-obognali-yaponiyu The facts: >The number of young workers in Russia fell by 1.33 million people between December 2021 and December 2022. > >That is the second-largest decrease in recorded history behind the pandemic year of 2020, when 1.34 million young Russians left the job market. > >Finexpertiza’s research shows a decrease of 87,000 workers aged 20-24 from December 2021-December 2022 to a total of 3.2 million. https://www.themoscowtimes.com/2023/04/11/russia-lost-13m-young-workers-in-2022-research-a80784

    -4
    1
    Python beginner
  • mapto mapto Now 100%

    If you do that, nothing will actually be checked. You need to explicitly run pyright in CI.

    Are you suggesting that you prefer to do the type validation upon execution? I'd like to have the checks done beforehand, be it in the IDE during coding or in CI. This way the feedback loop is shorter.

    Then, backwards compatibility is a big thing in python, unlike node. So when typehints were introduced in 3.5 with PEP 484, they had to be optional.

    At least Typescript defines the semantics of its type hints. Python only defines the syntax! You can have multiple type checkers that conflict with each other!

    It is a bit more complicated than that. Here's a quote the above-mentioned PEP (3.5 was back in 2015, we're at 3.12 now and typehints have evolved):

    Note that this PEP still explicitly does NOT prevent other uses of annotations, nor does it require (or forbid) any particular processing of annotations, even when they conform to this specification. It simply enables better coordination, as PEP 333 did for web frameworks.

    https://peps.python.org/pep-0484/

    1
  • The NYT informs Russia about foreign aid deliveries
  • mapto mapto Now 100%

    Yup, @tearsintherain@leminal.space, what you're engaging in here is pure whataboutism. Fox, Carlson and company would've happily helped here, but they didn't. NYT did.

    2
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBU
    Bulgaria mapto Now 50%
    Анкета: стереотипите и предразсъдъците спрямо женския пол в съвременността
    forms.gle

    Анонимна анкета за целите на докторска дисертация Cross posted from: https://masto.bg/users/mapto/statuses/112339098204198104

    0
    0
    www.972mag.com

    >In 2021, a book titled “The Human-Machine Team: How to Create Synergy Between Human and Artificial Intelligence That Will Revolutionize Our World” was released in English under the pen name “Brigadier General Y.S.” In it, the author — a man who we confirmed to be the current commander of the elite Israeli intelligence unit 8200 — makes the case for designing a special machine that could rapidly process massive amounts of data to generate thousands of potential “targets” for military strikes in the heat of a war. Such technology, he writes, would resolve what he described as a “human bottleneck for both locating the new targets and decision-making to approve the targets.” > >Such a machine, it turns out, actually exists... >During the early stages of the war, the army gave sweeping approval for officers to adopt Lavender’s kill lists, with no requirement to thoroughly check why the machine made those choices or to examine the raw intelligence data on which they were based. One source stated that **human personnel often served only as a “rubber stamp” for the machine’s decisions, adding that, normally, they would personally devote only about “20 seconds” to each target before authorizing a bombing — just to make sure the Lavender-marked target is male**. This was despite knowing that the system makes what are regarded as **“errors” in approximately 10 percent of cases**, and is known to occasionally mark individuals who have merely a loose connection to militant groups, or no connection at all. >In an unprecedented move, according to two of the sources, the army also decided during the first weeks of the war that, for every junior Hamas operative that Lavender marked, **it was permissible to kill up to 15 or 20 civilians**; in the past, the military did not authorize any **“collateral damage”** during assassinations of low-ranking militants. The sources added that, in the event that the target was a senior Hamas official with the rank of battalion or brigade commander, the army on several occasions authorized the killing of more than 100 civilians in the assassination of a single commander.

    14
    2
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBU
    Bulgaria mapto Now 50%
    Медийно око - българските онлайн-медии под лупа
    mediascan.gadjokov.com

    Ръчно анотирана база данни с анонимни и фалшиви новинарски сайтове

    0
    0
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBU
    Bulgaria mapto Now 100%
    bgGLUE: Bulgarian Language Understanding Evaluation
    bgglue.github.io

    >The Bulgarian General Language Understanding Evaluation (bgGLUE) benchmark is a collection of resources for training, evaluating, and analyzing natural language understanding systems in Bulgarian.

    1
    0
    www.ted.com

    What Philip Zimbardo tells us about human psychology is that everyday war crimes are committed by people that hide behind uniforms. Keeping a register of offenders in what appears as potential war crimes would have two positive effects: 1. Provide the evidence for these people to be put on trial in better times 2. Deter future offenders by making them think twice about their own future before unleashing their hate

    22
    0

    I deploy a FastAPI service with docker (see my [docker-compose.yml](https://github.com/vast-project/socialmediaharvester/blob/master/docker-compose.yml#L22) and [app](https://github.com/vast-project/socialmediaharvester/blob/master/backend/main.py)). My service directory gets filled with files index.html, index.html.1, index.html.2,... that all contain ![](https://lemmy.world/pictrs/image/36c30fbc-0f92-4a6a-910c-de008a689b68.png) They seem to be generated any time the docker healthcheck pings the service. How can I get rid of these? PS: I had to put a screenshot, because Lemmy stripped my HTML in the code quote.

    8
    8
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearBU
    Bulgaria mapto Now 33%
    BgGPT - LLM model for Bulgarian
    therecursive.com

    The INSAIT institute has trained a language model for Bulgarian and is giving public access to it on the 3rd of March.

    -1
    0
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDI
    Digital Humanities mapto Now 100%
    A new way to do exploratory analysis on translation history

    Within bibliographic research commonly network analysis is used. However, it doesn't tell us much about individual entities of the network. The challenge is that bibliographic data is highly structured, but nominative. Borrowing ideas from [phenomenography](https://en.wikipedia.org/wiki/Phenomenography), this [article](https://ceur-ws.org/Vol-3558/paper774.pdf) shows an approach to exploring such data. The idea is to visualise first single dimensions of the data, then pairs of dimensions, and only at the end attempt to represent the full-blown data network.

    3
    0
    mapto Now
    13 45

    Martín

    mapto@ lemmy.world

    On the Fediverse also as @mapto@qoto.org

    Можете да намерите и като @mapto@masto.bg

    Abito in Italia @mapto@feddit.it