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
2

[中國工程師攜數據飛馬國 租用輝達伺服器訓練AI⸺中央社](cna.com.tw/news/acn/2025061500)

"報導提到,今年3月初,有4名中國工程師飛往馬來西亞,每人都攜帶一個裝有15顆硬碟的行李箱。這些硬碟中存儲80TB的電子表格、圖像和影片片段,用於訓練AI模型。

這群工程師的僱主在一家馬來西亞數據中心租用300台裝有輝達高階AI晶片的伺服器,工程師將數據輸入至伺服器,在數據中心訓練AI模型。報導指出,他們最近帶著數百GB計的數據,包括指導AI系統輸出的模型參數回到中國。"

//真的是,什麼辦法都想得出來。

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

The spec says "sharedInbox endpoints SHOULD also be publicly readable OrderedCollection objects containing objects addressed to the Public special collection". Has anybody seen any implementations of this? The spec doesn't specify if the public objects are local to the instance being queried or should only include federated objects (or activities?). Given it's an "inbox" endpoint, I'd guess it's a collection of federated activities (since that's what's posted to the sharedInbox). 🤷

0
0
0
0
0
0
0
0
0
0
0
0

Fixed a number of failing tests in my simple state machine library for Go.

Most of them were in the graphviz generation for the visualization of the state nodes. It's not perfect yet, but for sure it's in a better shape for the future.

Overall I'm pleased, because any bit of the yak that gets shaved is a step ahead in the overall goal of getting the library to a stable release.

0

I don't drink a lot of coffee so I've been doing just fine with my hand grinder… except every time I use it this happens. I don't exactly know why @lumi does this, but as someone trying to learn more about canine behavior it utterly fascinates me.
Usually when she does the "humping" it's attention-seeking behavior (e.g. she wants me to play with her, or she wants to get the food I'm preparing). But that doesn't fully explain this, triggered by the sound of the grinder.

Fun fact: the same thing happens when I blow my nose. :blobcatshrug2:

God I love this mysterious fluffy rascal... :collieBlueMerleHeartHug:

0
0
0
0

@lcamtuflcamtuf :verified: :verified: :verified: This bot has been asked to generate an alt text for your image by @whvholstWalter van Holst. If you consent, you will grant altbot a one-time permission to process this specific post. All processing is done privately with no third-parties. Any and all content is deleted after processing.
The full privacy policy: github.com/micr0-dev/Altbot/bl

Do you consent? Reply with 'Y' or 'Yes' to proceed.

0
0

Claude Code 공식 문서에 따르면:

현재 Claude Code는 Windows에서 직접 실행되지 않으며 WSL이 필요합니다.

…라고 하고 있지만, Git for Windows가 깔려 있을 경우, Git Bash 안에서는 문제 없이 사용 가능하다. 다만, npm으로 설치할 때 scripts/preinstall.js 스크립트에서 Windows인지 검사하는 부분이 있어서 오류가 나며 설치가 중단되는데, 해당 스크립트는 오로지 Windows인지 검사하는 역할만 하고 있기 때문에[1] 아래와 같이 npm이 해당 스크립트를 실행하지 않도록 우회해도 설치에 문제가 없다:

NPM_CONFIG_IGNORE_SCRIPTS=true npm install -g @anthropic-ai/claude-code

다만 명령 프롬프트나 PowerShell에서 Claude Code를 실행시키려 할 경우 SHELL 환경 변수가 정의되어 있지 않기 때문에 오류가 난다. 그래서 Git Bash 안에서 Claude Code를 실행해야 한다.

일단 이렇게 설치해서 조금 써 본 결과 크게 문제는 없는 걸로 보인다.


  1. 해당 스크립트는 아래 코드가 전부다:

    /**
     * Preinstall script to check for Windows environment and exit gracefully 
     * with an informative message if detected.
     */
    
    // Check if running on Windows
    if (process.platform === 'win32') {
      console.error('\x1b[31m%s\x1b[0m', 'Error: Claude Code is not supported on Windows.');
      console.error('\x1b[33m%s\x1b[0m', 'Claude Code requires macOS or Linux to run properly.');
      console.error('\x1b[33m%s\x1b[0m', 'If you are using WSL (Windows Subsystem for Linux):');
      console.error('\x1b[33m%s\x1b[0m', '  1. Make sure you are running npm install from within the WSL terminal, not from PowerShell or CMD');
      console.error('\x1b[33m%s\x1b[0m', '  2. If you\'re still seeing this message in WSL, your environment may be incorrectly reporting as Windows');
      console.error('\x1b[33m%s\x1b[0m', 'Please visit https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview#check-system-requirements for troubleshooting information.');
      process.exit(1);
    }
    ↩︎
8

The spec says "sharedInbox endpoints SHOULD also be publicly readable OrderedCollection objects containing objects addressed to the Public special collection". Has anybody seen any implementations of this? The spec doesn't specify if the public objects are local to the instance being queried or should only include federated objects (or activities?). Given it's an "inbox" endpoint, I'd guess it's a collection of federated activities (since that's what's posted to the sharedInbox). 🤷

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