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.

talk_to_other(target, question)が必要。
これをfunction callされたら別プロセスでtargetに指定されたagentを実行して結果を返す。
agentからの呼び出しの場合、コンテキストはテンポラリ扱いにするし、developer messageも専用のものにする必要がありそう。ただし、recall_memoryは呼び出せるようにする。agentの本体は記憶だと私は思っているので、この実装で良い。

自然言語inputとoutputというインターフェースを持つ関数ならなんでも呼べるので、geminiとかGPT-5とかを呼ぶこともできるね。

0
1
0
0

☕ Good Morning Homelabs ☕

Freitagsgrußküsse von dem 💤 verschlafenen 🌞 annnyway, new place, new in-wall panel of cat6 terms and a 5GbE symmetric fiber line. I cleaned up the initial mess in June, second iteration this past week/ish. Generally, most of this hardware should be in one of the office racks (1U switch + 2x 0.5U patches + 1U UPS), specifically NOT in my walk-in closet. It's a work in progress.

first iteration of the telco panel rebuild, just a bit messyin-between iterations, the OnQ parts arrived so mostly everything was removed. the two fiber boxes (shitty Comcast, and decent ATT) have to stay put.iteration number two, not horrible, needs more ethernet cable management and etc etc
0

Google Search’s “udm=14” trick lets you kill AI search for good - Ars Technica
arstechnica.com/gadgets/2024/0

この記事、大筋はまあ良いとして、Google検索のクエリに`udm=14`を追加したURLに飛ばすだけのサードパーティの怪しいサイトを紹介していてアレ

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

Speaking of Stories, they are quite unique in the fediverse.

We've federated Stories in @pixelfed for several years using bearcaps that expire after 15 minutes.

Meaning that only Pixelfed servers are able to handle and fetch the activity, and we also rotate the media urls after 30 mins.

We federate Stories using an object (with a Story type) like:

```
bear:?t=Tg8cKH1DGwBoZVQEuPaWFyMdcKHmUZd6Ow0DjCxkS80UKQ7hiHMpi6CWgxOoxJhk&u=pixelfed.social/stories/dansup
```

0

I am writing a Astro app. Astro relies on plugins to provide user authentication. I would like to authenticate using Fediverse oauth.

I tentatively pick auth.js for my user authentication library (but replies suggesting I use something else are welcome. Is BetterAuth better?!).

Auth.js has a series of auth "providers". One of them is Mastodon.

authjs.dev/getting-started/pro

I'm confused. Does this support any Mastodon instance or only m.s? It says you define the "issuer" yourself. As… an env var??!

0
1
0
0

ADHD drug treatment and risk of negative events and outcomes

Link: bmj.com/content/390/bmj-2024-0
Discussion: news.ycombinator.com/item?id=4

ADHD drug treatment and risk of suicidal behaviours, substance misuse, accidental injuries, transport accidents, and criminality: emulation of target trials

Objective To examine the effects of drug treatment for attention deficit/hyperactivity disorder (ADHD) on suicidal behaviours, substance misuse, accidental injuries, transport accidents, and criminality. Design Emulation of target trials. Setting Linkage of national registers in Sweden, 2007-20. Participants People aged 6-64 years with a new diagnosis of ADHD, who either started or did not start drug treatment for ADHD within three months of diagnosis. Main outcome measures First and recurrent events of five outcomes over two years after ADHD diagnosis: suicidal behaviours, substance misuse, accidental injuries, transport accidents, and criminality. Results Of 148 581 individuals with ADHD (median age 17.4 years; 41.3% female), 84 282 (56.7%) started drug treatment for ADHD, with methylphenidate being the most commonly prescribed at initiation (74 515; 88.4%). Drug treatment for ADHD was associated with reduced rates of the first occurrence of suicidal behaviours (weighted incidence rates 14.5 per 1000 person years in the initiation group versus 16.9 in the non-initiation group; adjusted incidence rate ratio 0.83, 95% confidence interval 0.78 to 0.88), substance misuse (58.7 v 69.1 per 1000 person years; 0.85, 0.83 to 0.87), transport accidents (24.0 v 27.5 per 1000 person years; 0.88, 0.82 to 0.94), and criminality (65.1 v 76.1 per 1000 person years; 0.87, 0.83 to 0.90), whereas the reduction was not statistically significant for accidental injuries (88.5 v 90.1 per 1000 person years; incidence rate ratio 0.98, 0.96 to 1.01). The reduced rates were more pronounced among individuals with previous events, with incidence rate ratios ranging from 0.79 (0.72 to 0.86) for suicidal behaviours to 0.97 (0.93 to 1.00) for accidental injuries. For recurrent events, drug treatment for ADHD was significantly associated with reduced rates of all five outcomes, with incidence rate ratios of 0.85 (0.77 to 0.93) for suicidal behaviours, 0.75 (0.72 to 0.78) for substance misuse, 0.96 (0.92 to 0.99) for accidental injuries, 0.84 (0.76 to 0.91) for transport accidents, and 0.75 (0.71 to 0.79) for criminality. Conclusions Drug treatment for ADHD was associated with beneficial effects in reducing the risks of suicidal behaviours, substance misuse, transport accidents, and criminality but not accidental injuries when considering first event rate. The risk reductions were more pronounced for recurrent events, with reduced rates for all five outcomes. This target trial emulation study using national register data provides evidence that is representative of patients in routine clinical settings. No additional data available. The Public Access to Information and Secrecy Act in Sweden prohibits individual level data being publicly available. Researchers who are interested in replicating this study can apply for individual level data through Statistics Sweden (<https://www.scb.se/en/services/ordering-data-and-statistics/ordering-microdata/>) and the National Board of Health and Welfare (<https://www.socialstyrelsen.se/en/statistics-and-data/registers/>). The underlying code is freely available at <https://osf.io/y7fhj/>.

www.bmj.com · The BMJ

0

pdxpol

> A Portland City Council meeting about how to change council meetings to address the problem of meetings being cut short because they run too long, was cut short after running over time Thursday.

opb.org/article/2025/08/15/por

0
1
0
0
0

I needed to rotate a PDF. I know how to do this on Mac and Linux but not Windows. I had to do it on Windows. It turns out Acrobat charges money for this and Firefox's PDF editor can't do it at all. I download "Foxit" which I remember being good at one time. After downloading it turns out Foxit also charges money for this, also every few seconds they pester you to use "AI". I uninstall Foxit. Although I never assigned PDF associations to Foxit, *un*installing Foxit reassociates PDFs to MS Edge

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