Quickies

sherrif's

Some new gadgets in the gadgets section:

Some others coming soon.

RIP Kevin Mitnick

Revered by many geeks, hated by many feds, Kevin Mitnick was the original hacker and now he’s gone to the next place. RIP.

rplace lol spez

After all the bad calls in the last weeks, what the fuck did they think it was going to happen?

1
2
3
4
(deck@steamdeck ~)$ whoami
deck
(deck@steamdeck ~)$ uname -a
Linux steamdeck 5.13.0-valve36-1-neptune #1 SMP PREEMPT Mon, 19 Dec 2022 23:39:41 +0000 x86_64 GNU/Linux

welp, whelp

AI-Suspected Image Taken at Gucci Exhibition Disqualified from Photography Contest

AI-Suspected Image Taken at Gucci Exhibition Disqualified from Photography Contest

A photograph that was recently submitted to a local fashion photography competition was disqualified after it was suspected to have been generated using artificial intelligence (AI). The image shows the photographer’s son, posing alongside two floral-dressed mannequins in a red bathroom, at an exhibition of luxury fashion brand Gucci.

more on ArtNews

it seems that the fucking morons that run reddit have decided to mess with people’s messages now, basically any conversation started before 2023 is now gone. However, there’s a small chance to recover them, as per some admin:

you can request the data export from Reddit at https://www.reddit.com/settings/data-request and this data should contain all chats messages from all chats

looks like that pigboy u/spez is really set on destroying reddit. gg.

source

In early May, the news site rating company NewsGuard found 49 fake news websites that were using AI to generate content. By the end of June, the tally had hit 277. […] The sites appear to have been created to make money through Google’s online advertising network.

surprised pikachu face

source

As we know, hugo is pretty annoying sometimes. I wanted to add a new shortcode on the following premise:

Front matter:

1
2
3
4
5
6
random_name: [
	"/uploads/some-non-existing-file.zip",
	"Download title",
	"SHA1: SOME_SHA1_VALUE_TO_DOUBLE_CHECK",
	"69420 bytes"
]

Code in post

{{< download random_name >}}

The Problem

The problem was that I didn’t know how to tell that I want the (.Get 0) part of the shortcode to be pulled out of the $.Page.Params variable.

The Solution

Instead of trying all possible variations of $.Page.Params.$(Get 0) with various ticks and quotes, I found this better and more elegant solution: {{ $download := index $.Page.Params (.Get 0) }}/

1
2
3
4
5
6
7
{{ $download := index $.Page.Params (.Get 0) }}
{{ with $download }}
	<a class="download-item" target="_blank" href="{{ index . 0 }}">
		<h4>{{ index . 1 }}</h4>
		<h6>{{ index . 2 }} ({{ index . 3 }})</h6>
	</a>
{{ end }}

Ez pz.

testing

I really like this movie, feels like a competitor to “Chappie”.

wow is dead in 2023

yea, wow is dead

close tools paneltoggle tools panel