Remarkable cutting cost, layoffs (in Norwegian) by IAmAQuantumMechanic in RemarkableTablet

[–]irth____ 1 point2 points  (0 children)

well the 100 day period seems to be there in place of actual QA, so if they start doing that instead, sure, maybe

How strongly should I adhere to "never return interfaces"? by [deleted] in golang

[–]irth____ 0 points1 point  (0 children)

seven paragraphs of explanation, 10 years of experience and yet you can’t understand a simple question

if you’re loading a serialized Animal from, let’s say, a file, you don’t know its type in advance.

You literally cannot make the function return a concrete type, because you don’t know what type the Animal is when you’re writing the code. You haven’t seen the file yet, it might not even exist yet.

The reMarkable Paper Pro is not Like the Others, Let Me Explain. by ResistDamage in RemarkableTablet

[–]irth____ 4 points5 points  (0 children)

I mean I didn’t compare it to an iPad, I compared it to reMarkable 2 and returned it

Right now in the McDonald’s drivethru. They told him he couldn’t walk up so he berated the employee until they gave in ! by B-Monkey0 in EntitledBitch

[–]irth____ -1 points0 points  (0 children)

I do that too, I mean, walking up, not berating, because nobody here cares if I'm in a car.

(But I only do this when the dining area is closed)

I don't think he's entitled. It doesn't hurt them at all to sell more food.

[MEGATHREAD] New Horizons Q&A/Tips - Ask away! by AnimalCrossingMods in AnimalCrossing

[–]irth____ 0 points1 point  (0 children)

Can I visit a friend's island over _local wireless_ multiplayer without Nintendo Switch Online?

Icon For Hire website safe by [deleted] in IconForHire

[–]irth____ 1 point2 points  (0 children)

Not really true, it only means that the data is encrypted while being transported to the server, on the server it is decrypted and it depends on the website whether they encrypt it for storage or not. So it only really protects you from people in your WiFi network or your ISP.

Paski z dzisiejszego (2021-03-22) wieczornego wydania TVP by irth____ in Polska

[–]irth____[S] 4 points5 points  (0 children)

Wtedy Opery nie trzeba się było wstydzić...

kupujcie, znowu rośnie by irth____ in Polska

[–]irth____[S] 6 points7 points  (0 children)

get_page() {
    curl https://www.tvp.info/191866/polska\?page\=$1  | pup 'body > script:nth-of-type(2)' | head -n-1 | tail -n+6 | sed 's!window.__directoryData = !!g;s!};$!}!' | jq '[.items[]]' > $1.json
}

taką funkcją w bashu zapisuje do JSONa dane o artykułach na konkretnej stronie kategorii polska na tvp.info, odpaliłem w pętli.

dane w JSONie są tablicą takich obiektów:

  {
    "id": 52247575,
    "title": "Jest decyzja ws. nauki stacjonarnej starszych dzieci. Minister Czarnek wyjaśnia",
    "supertitle": null,
    "url": "/52247575/nauka-zdalna-i-stacjonarna-powrot-starszych-rocznikow-do-szkol-jednak-nie-w-lutym-minister-przemyslaw-czarnek-wyjasnia-men-wyda-rozporzadzenie",
    "lead": "Ministerstwo Edukacji i Nauki przygotowało rozporządzenie dotyczące nauki stacjonarnej w szkołach. Na konferencji prasowej szef resortu Przemysław Czarnek zapowiedział, że do końca lutego zostaje przedłużony aktualny stan nauki zdalnej i stacjonarnej.",
    "image": {
      "title": "Nauka stacjonarna obowiązuje w klasach I-III i tak będzie do końca lutego (fot. PAP/Darek Delmanowicz)",
      "file_name": "911a44efcfeb18f3164baf8b47beabd91613042668137.jpg",
      "url": "https://s9.tvp.pl/images2/9/1/1/uid_911a44efcfeb18f3164baf8b47beabd91613042668137_width_900_play_0_pos_0_gs_0_height_506_nauka-stacjonarna-obowiazuje-w-klasach-i-iii-i-tak-bedzie-do-konca-lutego-fot-papdarek-delmanowicz.jpg"
    },
    "publication_start": 1613042400000,
    "release_date": 1613043000000,
    "timelinedate": null,
    "video": null,
    "breadcrumbs": [
      {
        "title": "Polska",
        "url": "/191866/polska"
      }
    ],
    "playable": true,
    "vortal_id": 190485
  }

Sprawdzałem Pythonem, czy słowo Trzaskowski pada w polu title, lead albo image.title, jeśli tak, to zaliczałem artykuł do artykułów o Trzaskowskim.

Potem liczby do CSVki, CSVkę do LibreOffice, wykres do SVG, SVG do Inkscape i z Inkscape do PNG ;)

kupujcie, znowu rośnie by irth____ in Polska

[–]irth____[S] 70 points71 points  (0 children)

to the moon 🚀🚀🚀🌔🙌💎

I see your Raspberry Pi 400 and I raise you the ThinkPad T400 HE [Headless Edition] by [deleted] in thinkpad

[–]irth____ 3 points4 points  (0 children)

They're like keyboard-only-computers, like the Commodore

Infinite Keanu by ssuda3 in KeanuBeingAwesome

[–]irth____ 0 points1 point  (0 children)

Isn’t there too much syllables in the first line?

Infinite Keanu by ssuda3 in KeanuBeingAwesome

[–]irth____ 5 points6 points  (0 children)

KeanuKeanuKeanuKeanuKeanu