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.

0
0
0
1
0
0
0

About a month ago, I spent a few weeks fighting with ancient hardware and now Maxwell+ GPUs are all Vulkan 1.4 conformant with NVK:

collabora.com/news-and-blog/ne

As it says in the blog post, Kepler is on the way but no guarantees as to when that will happen.

0

3년차 웹 프런트엔드 개발자입니다. 잠시 10주 여름 방학 동안 계약직으로 일할 수 있는 직장을 찾고 있습니다. (6월 마지막 주부터 8월 마지막 주) http://frontend.moe/portfolio/

올해 2학기까지 수료하면 졸업 예정이라, 학부 졸업 이후 정규직 전환 조건으로도 희망하고 있습니다.

4
0

친구가 외국 반도체회사에 다니는데 이름만 들으면 다 아는 세계에서 손꼽히는 회사다. 1년 전쯤에, 친구가 자기 팀에서 예전부터 쓰고있는 시뮬레이션 코드가 너무 복잡해서 리팩토링 하고 싶다고 나를 찾아왔다. 한 2, 3000줄 되는 Numpy 코드였다.

나는 시뮬레이션의 의미 자체는 전혀 이해를 못하니(이래서 보안문제도 익스큐즈 할수 있었을 것이다), 그냥 코드의 모양만 보고 이상한 부분을 조금씩 고쳐나갔다. 그... 전형적인 물리학자들의 실험실 코드였다(코드를 못짜는건 이해를 하는데, 거기에 대해 한치의 부끄러움도 느끼지 않는다는 점이 뒷목을 잡게 만든다). Numpy 함수도 제대로 활용을 못해놨길래, 나도 Numpy 잘 못쓰지만 대충 이런 함수가 아마 있겠지... 하고 검색해서 찾아내서 교체하고 이런걸 반복했다.

이것저것 고친 다음에 잘돌아가나 한번 실행을 해봤는데, 이럴수가. 시뮬레이션이 1000배 빨라졌다. 아니 뭐, 한 2배 3배 빨라졌으면 내 솜씨라고 자부할텐데, 1000배 빨라진거는 그냥 원래 코드가 똥통이었다고 해석할수 밖에 없다. 구라안치고 정말 1000배다. 1000배의 성능향상의 보답으로 나는 교촌치킨웨지콤보세트를 현장에서 받아먹었다.

그 이후에 어떤 일이 있었냐. 기존 시뮬레이션 코드로는 하루에 시뮬레이션을 2, 3번정도밖에 돌리지 못했는데, 1000배 빨라지고 나니까 결과가 수십초만에 나오니 하루에 수백번 돌릴수 있게 된것이다(내가 고친 코드가 전부는 아니어서 1000배 향상은 아닌데, 가장 큰 병목이긴 해서 결국 100배 이상이라는 듯). 그때부터 100배 많아진 데이터를 처리하기 위한 인프라가 필요해졌다. 그래서 거기 개발팀이 데이터베이스와 데이터 파이프라인 구축을 시작하게 되었다고 한다. 그 팀에서는 일종의 특이점이 시작된것이다;;

결론: 교촌치킨웨지콤보 세트는 개맛있었다.

3

어떻게든 워크스페이스 도입을 완료했다. 꽤 큰 변경이었는데도 타입 체커 덕분에 안전하게 도입할 수 있었다. 일단 배포도 했고 이전과 동일하게 잘 동작하는 듯하다.

9
0

@hhwerbefreiInitiative Hamburg Werbefrei

Leider ist mir zu Ohren gekommen, dass es wohl einige unangebrachte "Berührungsängste" gibt bei Orgs, die selber bei Werbung machen - aber wird weiterhin möglich sein! Lest erst den und worum es genau geht und urteilt dann.

👇 Hier mit Zusammenfassung 👇

hamburg-werbefrei.de/gesetzent

Kulturwerbung bleibt. Nur die scheiß kommen weg.

0
0
0
0

Hey folks! We're excited to share a preview of a new API coming in 1.6 that should make structuring larger federated apps much cleaner: FederationBuilder.

As your Fedify applications grow, you might encounter circular dependency issues when registering dispatchers and listeners across multiple files. The new FederationBuilder pattern helps solve this by separating the configuration phase from instantiation.

Instead of this:

// federation.ts
import { createFederation } from "@fedify/fedify";

export const federation = createFederation<AppContext>({
  kv: new DbKvStore(), 
  queue: new RedisMessageQueue(),
  // Other options...
});

// Now we need to import this federation instance in other files
// to register dispatchers and listeners...

You can now do this:

// builder.ts
import { createFederationBuilder } from "@fedify/fedify";

export const builder = createFederationBuilder<AppContext>();

// other files can import and configure this builder...
// actors.ts
import { builder } from "./builder.ts";
import { Person } from "@fedify/fedify";

builder.setActorDispatcher("/users/{handle}", async (ctx, handle) => {
  // Actor implementation
});
// inbox.ts
import { builder } from "./builder.ts";
import { Follow } from "@fedify/fedify";

builder.setInboxListeners("/users/{handle}/inbox", "/inbox")
  .on(Follow, async (ctx, follow) => {
    // Follow handling
  });
// main.ts — Only create the Federation instance at startup
import { builder } from "./builder.ts";

// Build the Federation object with actual dependencies
export const federation = await builder.build({
  kv: new DbKvStore(),
  queue: new RedisMessageQueue(),
  // Other options...
});

This pattern helps avoid circular dependencies and makes your code more modular. Each part of your app can configure the builder without needing the actual Federation instance.

The full documentation will be available when 1.6 is released, but we wanted to share this early with our community. Looking forward to your feedback when it lands!

Want to try it right now? You can install the development version from JSR or npm:

# Deno
deno add jsr:@fedify/fedify@1.6.0-dev.777+1206cb01

# Node.js
npm add @fedify/fedify@1.6.0-dev.777

# Bun
bun add @fedify/fedify@1.6.0-dev.777

0
0
0
0
0
0
0
0

New blog post on !

➡️ burgeonlab.com/blog/hardening-

It's my favourite alternatives for the new and moving away from Google as much as possible without fully transitioning to something like .

Also updated my theme from Anatole to Anubis2. Like the more steamlined one column layout compared to the more dated fixed left sidebar + header...

github.com/hugo-theme-anubis2/

github.com/lxndrblz/anatole

0
0
0
1

Well, with Linux in the mix, Apple's Passwords app is less useful. I've been maintaining copies of new stuff in Pass' .password-store but I'm wondering if I should bite the bullet and move to something like Bitwarden. It's been a while, but I assume Bitwarden is still a Good Choice. It's doesn't cost anything but time to try, I guess.

0
0
0
0
0
0
1

Internet search in…

1990: ask people you know for their FTP server address

1995: scroll through twenty pages of Altavista results

2000: ten blue links

2010: ten blue links below ten ads

2020: one useful link to Wikipedia below the fold, all ads above

2024: AI summary followed by ads followed by a Wikipedia link

2025: AI summary followed by AI summaries of ads followed by a Wikipedia link behind an AI summary

2026: ask people you know for their archive torrent address

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

Bluesky’s new identity verification system creates a record with a subject + display name. Cool idea, but it’s missing something critical: consent. Anyone can "verify" anyone. That’s not trust, it’s just labeling.

A New Form of Verification on ...

0
0