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
0
0
1
0
0
0
1

Lee Dogeon shared the below article:

Browser-Native Translation and Language Detection APIs Coming Soon

洪 民憙 (Hong Minhee) @hongminhee@hackers.pub

Just reviewed the W3C draft for the Translator and Language Detector APIs. This is genuinely exciting development for web developers.

The proposal would add native browser support for:

  • Text translation between languages
  • Language detection of arbitrary text
  • Both with streaming capabilities

No more relying on third-party translation services or embedding external APIs for basic language operations. All processing happens locally in the browser.

The API design is clean and straightforward:

// Translation example
const translator = await Translator.create({
  sourceLanguage: "en",
  targetLanguage: "fr"
});

const translatedText = await translator.translate("Hello world");

// Language detection example
const detector = await LanguageDetector.create();
const results = await detector.detect("Hello world");
// Returns array of detected languages with confidence scores

This will be a game-changer for multilingual sites and applications. The browser handles downloading appropriate language models and manages usage quotas.

The spec is still in draft form but shows promising progress toward standardizing these capabilities across browsers. Looking forward to seeing this implemented.

Read more →
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0

소프트웨어 개발자들이 자주 틀리는 외래어 표기법.

영어 틀린 표기 올바른 표기
app 어플
application 플리케이션 플리케이션
directory 디렉 디렉
front-end 트엔드 트엔드
message
method
release 릴리 릴리
repository 포지 포지

또 있을까요?

1
9
0
0
0

사실 어제 혼자 밥먹으면서 식당 분들에게 욕먹을까바 무서웠는데 따듯하게 맞아주셔서 기뻤어요 왜냐면… 경찰 미친놈들이 트랙터를 광화문에서 효자동까지 지들이 뺏겠다고 옮겨서 평소에 “안 막히는” 곳이 교통통제가 되었어요. 그래서 그 날 이 대로 일대 유동인구가 적어짐 아직 점심 피크타임은 아니었지만 사람들 하나 둘 밥 먹으러 나올 시간이긴 했었어서 이렇게 사람 적을 곳이 아닌데 우우 하고 걸었거든요… 밥은 비주얼보다 더! 맛있었기 때문에 적극 추천드립니다 청기와식당 서울 종로구 자하문로 86 naver.me/FXwYBt9T

RE: https://bsky.app/profile/did:plc:ka57xabeiynheh45he5ij6hs/post/3llarf2tcr22a

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

소프트웨어 개발자들이 자주 틀리는 외래어 표기법.

영어 틀린 표기 올바른 표기
app 어플
application 플리케이션 플리케이션
directory 디렉 디렉
front-end 트엔드 트엔드
message
method
release 릴리 릴리
repository 포지 포지

또 있을까요?

1
9
0
0
0
1
0
0
0
0

ㄱ. 요새 "Vibe coding"이라는게 유행이던데 나도 해보려고.
ㄴ. 근데 "Vibe coding"이 대체 뭔 뜻이야? 요새 많이 듣는데.
ㄱ. 그야 바로...
. Vi비주얼
. be베이직
...으로 코딩하는 거겠지!
ㄴ. (.....?)

0
0
0
1
0
0
1
0
1
0