Readit News logoReadit News
dlkmp commented on Not a three-year-old chimney sweep (2022)   fakehistoryhunter.net/202... · Posted by u/nixass
giorgosts · 7 months ago
So it is a re-enactment but nevertheless, it is depicting real world practices prevalent at the time.
dlkmp · 7 months ago
Did you read the article? It was a real world practice, but long gone already at that time (in the mentioned parts of Europe at least).
dlkmp commented on $70M in 60 Seconds: How Insider Info Helped Someone 28x Their Money   data-and-politics.ghost.i... · Posted by u/pulisse
cft · 8 months ago
there's no reason for the USD to be the reserve currency, being the currency of a country that doesn't produce anything anymore
dlkmp · 8 months ago
But does provide services the entire world depends on.
dlkmp commented on XAN: A Modern CSV-Centric Data Manipulation Toolkit for the Terminal   github.com/medialab/xan... · Posted by u/Yomguithereal
dlkmp · 9 months ago
Can't help but thinking how handy PowerShell is out of the box for tasks like this.

Translating the examples from the ReadMe, having read the file with:

  $medias = Get-Content .\medias.csv | ConvertFrom-Csv
Previewing the file in the terminal

  xan view medias.csv
  $medias | Format-Table
Reading a flattened representation of the first row

  xan flatten -c medias.csv
  $medias | Format-List
Searching for rows

  xan search -s outreach internationale medias.csv | xan view
  $medias | Where-Object { $_.outreach -eq "internationale" } | Format-Table
Selecting some columns

  xan select foundation_year,name medias.csv | xan view
  $medias | Select-Object -Property foundation_year, name | Format-Table
Sorting the file

  xan sort -s foundation_year medias.csv | xan view -s name,foundation_year
  $medias | Sort-Object -Property foundation_year | Select-Object -Property name, foundation_year | Format-Table
Deduplicating the file on some column

  # Some medias of our corpus have the same ids on mediacloud.org
  xan dedup -s mediacloud_ids medias.csv | xan count && xan count medias.csv
  $medias | Select-Object -ExpandProperty mediacloud_ids -Unique | Measure-Object; $medias | Measure-Object -Property mediacloud_ids
Computing frequency tables

  xan frequency -s edito medias.csv | xan view
  $medias | Group-Object -Property edito | Sort-Object -Property Count -Descending
It's probably orders of magnitude slower, and of course, plotting graphs and so on gets tricky. But for the simple type of analysis I typically do, it's fast enough, I don't need to learn an extra tool, and the auto-completion of column/property names is very convenient.

dlkmp commented on Kagi Translate   blog.kagi.com/kagi-transl... · Posted by u/lkellar
dlkmp · a year ago
Just as a quick usability feedback: As long as Deepl translates asynchronously as I type, while Kagi requires a full form send & page refresh, I am not inclined to switch (translation quality is also already too good for my language pairs to consider switching for minor improvements, but the usability/ speed is the real feature here).

This is coming from a user with existing Kagi Ultimate subscription, so I'm generally very open to adopt another tool if it fits my needs).

Slightly offtopic, slight related: As already mentioned the last time Kagi hit the HN front page when I saw it: the best improvement I could envision for kagi is improved search performance (page speed). I still encounter multiple second page loads far too frequently that I didn't notice with other search engines.

dlkmp commented on Doctor Fukushi Masaichi and the art of preserving tattooed skin   dannydutch.com/post/docto... · Posted by u/danielmorozoff
climb_stealth · a year ago
The article mentions he has two methods of preserving. Wet and dry. But then only explains the dry one. :/

How does the wet preservation work?

dlkmp · a year ago
I also found that very frustrating. It's probably the method required to stretch the skin over a tailor's dummy like in that one photo.
dlkmp commented on Traveling with Apple Vision Pro   azadux.blog/2024/10/08/tr... · Posted by u/tosh
Scoundreller · a year ago
That and ear plugs with noise cancelling headphones and an eye mask and I can sleep through it all.
dlkmp · a year ago
I can't even do this at home, let alone in a semi-public place around strangers. Being blind and deaf makes me feel uneasy.
dlkmp commented on How to use the Bitwarden forwarded email alias generator   bitwarden.com/blog/how-to... · Posted by u/humanperhaps
dlkmp · a year ago
Is this really a problem people have? I personally just use some free mail account for all low-priority stuff without push notifications enabled in my client apps.
dlkmp commented on A more mature take on stateless Terraform   bejarano.io/terraform-sta... · Posted by u/rthnbgrredf
orf · 2 years ago
Random choice of subnet is a better example, random names is definitely not common.

Random passwords, write-only attributes (like database master passwords) are the most common.

How do you express “create a DB with this strong password, then put it in a s3 object”, then later “actually put it in SSM rather than s3”?

dlkmp · 2 years ago
We cannot, okay, I see the point. Up to now, I considered the inability to express modifications on existing resources a limitation of the declarative model but I can see how adding state can help here.

With Bicep, we mostly deploy only the initial state and then we either re-deploy the whole thing or, if this isn't possible due to the interruptions this causes, add migration scripts in an imperative language (az cli/ pwsh). Which is admittedly the much less elegant approach.

dlkmp commented on A more mature take on stateless Terraform   bejarano.io/terraform-sta... · Posted by u/rthnbgrredf
orf · 2 years ago
I want to create 3 servers with randomly chosen names from a pool of 10.

How can you express this without state? Or more generally, any “random_password”, “random_choice” etc, or even anything that is a “write only” property

You can’t. So this is dead in the water.

dlkmp · 2 years ago
Interesting example. For context, I have only experience with Azure Bicep so "no state" is my default assumption on IAC languages.

Do you in practice really use random names? In my experience, I'd just use a loop vm01...vm10 for the names and the passwords aren't needed to identify an instance after the deployment so here randomness isn't an issue.

dlkmp commented on AOL pretends to be the internet   thehistoryoftheweb.com/po... · Posted by u/janvdberg
NikolaNovak · 2 years ago
I am an it professional.

I've used qr codes maybe... 6 times, ever?

With probably 50% success rate before I give up.

I know for a fact that literally nobody else in my in law family of middle class Canadians has ever used a single one.

Anecdata of course, but if we're sharing assumptions... :-)

dlkmp · 2 years ago
That sounds almost impossible to me. I feel like half of everything I purchase which has a manual doesn't ship with a physical manual, but instead comes with a printed QR code to "get instructions". If it's a gadget that comes with an App, there will be a QR code linking to that app. I know multiple bars/ restaurants which won't send waiters to your table but expect you to scan the QR code on the table and order with your phone.

u/dlkmp

KarmaCake day128June 24, 2019View Original