What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

My great love has offered me the HEXEN 2.0 Tarot by Suzanne Triester which features 78 alchemical drawings that depict the interconnected histories of the computer and the Internet, cybernetics and the counterculture, science-fiction and scientific projections of the future, government and military research programmes, social engineering, and ideas of the control society.
You can view this beautiful piece of art here: suzannetreister.net/HEXEN2/TAR

A vintage-style illustration, similar to a tarot card, depicts a cyberwar scene. In the center, a radiant sun emanates rays of light from a dark cavern surrounded by rocky peaks symbolizing different networks (terrorist, anonymous, criminal, etc.). Clouds with the words “InfoWar” and ‘NetWar’ frame the central image, above which the word “CyberWar” is placed.  Labels describing various aspects of cyberwarfare are included, such as encrypted and unencrypted communications, malware, and types of actors involved. The title “Hexen 2.0 Tarot” and the name “suzannetreister” appear at the bottom.
0
1
0
0
1
0
0
0
0
0

7 years ago today @dansup started writing the first lines of code of what would become Pixelfed.

From that open-source spark to a thriving photo-sharing community connected to millions across the fediverse.

All without surveillance or algorithms controlling what you see.

Here's to 7 years of putting people before profit.

🎉 🥳

0
0
0
0
0
0
0
0
0
1
1
0
1
0
0
0
0
0

hollo 에 코드도 잘 들어가나? (길이 제한은 있겠지만... )

// Name: OCR
// Description: Capture a screenshot and recognize the text using OpenAI

import "@johnlindquist/kit";
import OpenAI from 'openai';

const clipboardImage = await clipboard.readImage()

if (clipboardImage.byteLength) {
    const apiKey = await env("OPENAI_API_KEY")
    const openai = new OpenAI({
        apiKey: apiKey
    })

    console.log("OCR started")

    const imageBase64 = await clipboardImage.toString('base64')
    const dataUri = `data:image/png;base64,${imageBase64}`

    console.log("base64 done")
    console.log("calling openai...")

    const response = await openai.responses.create({
        model: 'gpt-4.1-mini',
        input: [
            {
                role: 'system',
                content: 'You are a OCR assistant that extracts text from images',
            },
            {
                role: 'user',
                content: [
                    {
                        type: 'input_text',
                        text: 'Extract the text from the image',
                    },
                    {
                        type: 'input_image',
                        image_url: dataUri,
                        detail: 'high',
                    },
                ],
            },
        ],
    });
    console.log("openai done")
    console.log(`writing to clipboard... ${response.output_text}`)

    await clipboard.writeText(response.output_text);

    notify({
        title: "OCR finished",
        message: `Copied text to your clipboard`,
    })
} else {
    notify({
        title: "OCR failed",
        message: `No image found in clipboard`,
    })
}
0
0
0
0
0
1
0
0
0
0
0
1
0
1
0
1

友達を作る方法

まず水35ℓ、炭素20kg、アンモニア4ℓ、石灰1.5kg、リン800g、塩分250g、硝石100g。 イオウ80g、フッ素7.5g、鉄5g、ケイ素3g、その他少量の15の元素を用意します

0
0
0
0
0
1
0
0
0
0