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
0

Biological reality: What genetics has taught us about race ~ Adam Rutherford, BBC

"[Human Genome Project] provided definitive evidence that racial groupings have no biological basis. In fact, there is more genetic variation within racial groups than between them. Race, it showed, is a social construct."

bbc.com/future/article/2025041

0
0
0
1
0
0
0

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

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

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

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

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

28
2
0

프란치스코 교황께서 선종하셨다고. 삼가 고인의 명복을 빕니다. 가톨릭 교회가 후임자 선출에 고민이 많겠다. 도전적인 시대에 매우 좋은 답이었던 분의 다음 자리는 정말 쉽지 않을 듯 하다.

0
0
2
0
0
0

アマゾンからグーグルに転職した人が語ったこととして、「ある日突然ベゾスが、チーム同士の直接会話を禁じて、サービスのみでコミュニケーション取るように命じた」と言って、それがのちにAWSに繋がったようなことを書いた記事があった気がするんだけど、どこだっけ・・・

0

Monday. Let’s see how it kicks off. Passthrough?,Coffee? 🤔

$ doas pciconf -lvc ix0 | grep -iE "vendor|device|sr-iov"
ix0@pci0:1:0:0: class=0x020000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x1528 subvendor=0x1028 subdevice=0x1f61
vendor = 'Intel Corporation'
device = 'Ethernet Controller 10-Gigabit X540-AT2'
ecap 0010[160] = SR-IOV 1 IOV disabled, Memory Space disabled, ARI disabled

0

Pintura de miniaturas

En la pintura de miniaturas he encontrado una afición relajante y gratificante, ya que a poco que practicas consigues obras de las que estar satisfecho. Tengo un pulso de mierda así que os aseguro que está al alcance de cualquiera. Y es barata, lo que más cuesta son las figuras pero puedes aprovechar las de cualquier juego de mesa.

Mis consejos para los muy principiantes como yo:

Empieza con un set básico de pinturas y pinceles, además de un espray de imprimación. Mézclalas para conseguir el color deseado. El aerógrafo es caro e innecesario. Pinturas acrílicas, se mezclan con algo de agua, al gusto, según la intensidad u opacidad que le quieras dar.

Una lupa de trabajo ayuda a no dejarte la vista y las hay por cuatro duros.

Para no rectificar cincuenta veces visualiza bien el orden en el que debes pintar, de dentro hacia fuera. Empieza por la capa más al fondo, como la piel, luego armadura, detalles... Parece obvio pero cuando la figura está en un color neutro no se ve tan claro.

Prueba, diviértete y crea tu propio estilo. Al fin y al cabo pintas para ti y el acabado debe gustarte a ti.

Invierte el tiempo adecuado. A más tiempo debería quedar mejor, pero a mí me aburre estar semanas liado con la misma figura. Intento llegar a un equilibrio para estar contento con el resultado sin hartarme.

0
0
0
1
1
0
0
0
0
0
0
0
1
0
1
0
2
0
1
1

Hello. Mes passions devenues travail sont : l'économie sociale, les en particulier, les logiciels libres et . J'ai de grandes ambitions et pas assez de temps sur terre : transformer la fiscalité pour la rendre vraiment redistributive, abattre le capitalisme et les dominations, idéalement ça mènerait à une planète habitable pour tous les vivants. Et une vie sans extravagance n'en vaut pas la peine : filez -moi les adresses de bons resto gastronomiques!

0
0
0
0
0

Coming soon in 0.2.0: Native post support!

We're excited to share a preview of the upcoming quoting features in BotKit 0.2.0. This update will make it easier for your bots to engage with quoted content across the fediverse.

The quoting feature set includes:

Here's a quick example of how you can use the quote detection:

bot.onQuote = async (session, quote) => {
  // The quote parameter is a Message object representing the post that quoted your bot
  await quote.reply(text`Thanks for quoting my post, ${quote.actor}!`);
  
  // You can access the original quoted message
  const originalPost = quote.quoteTarget;
  console.log(`Original message: ${originalPost?.text}`);
};

And creating quote posts is just as simple:

// Quote in a new post
await session.publish(
  text`I'm quoting this interesting message!`,
  { quoteTarget: someMessage }
);

// Or quote in a reply
await message.reply(
  text`Interesting point! I'm quoting another relevant post here.`,
  { quoteTarget: anotherMessage }
);

Remember that quoting behavior may vary across different implementations—some platforms like Misskey display quotes prominently, while others like Mastodon might implement them differently.

Want to try these features right now? You can install the development version from JSR:

deno add jsr:@fedify/botkit@0.2.0-dev.90+d6ab4bdc

We're looking forward to seeing how you use these quoting capabilities in your bots!

0
0
0
0
6
0

Oof, I’d probably lose the will to live if JD Vance came to me begging to be noticed too 🫠 imagine that, your last meeting with someone who has twisted all the better parts (and there aren’t many, Catholic Church) of your religion into something systemically evil.

Seriously though, RIP the Pope. For a Pope he wasn’t a completely terrible one.

0
0
0

社畜的假期
因有堆積如山的工作,所以特意把公司電腦帶回家,這幾天假期間斷地辦公事,回覆工作whatsapp。
因為我知道如現在不做,復工後肯定會被工作淹沒 :0400:
可以做的暫算做完,今天可以悠閒一下。

0
0

fedibird.comでは現在、公開されたコンテンツを無制限にAI学習対象とすることに利用者の多くの賛同が得られておらず、当面は緩和する措置が必要との考え・立場から、

AIのクローラー(インターネットを這い回って情報を収集するプログラム)をある程度弾く運用をしています。

ただ、クローラーがそれを明示せず、一般の利用者を偽装している場合はなかなか防げません。(ある程度はCloudflareが頑張ってます)

リモートサーバに流れる投稿は、そこから取得されることを防げません。

そもそも、日本の著作権法では学習について無断で利用してよいことになっています。(※ 生成の方は何でも許されるわけではありません)

できる範囲の対応はしているが、『せいぜいいくらかマシ』程度の効果です。ご承知おきください。

なお、フォロワー限定の投稿であれば、クローラーに協力的なサーバとそのGhost、クローラー自身にフォローされていない限り、一般に非公開で運用できるので、ある程度効果的にガードできるかもしれません。

逆に、学習ソースに提供したい場合は、連合を利用してノーガードの公開サーバで複製を公開するのが効率的だろうと思います。

0
1