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

If you're a fluent English speaker, what do you think "millionaire" means, without checking a dictionary? (please boost for reach)

0
0
0
0
0

고용주에 대한 충성심
------------------------------
- 작성자는 *30년을 한 회사에서 일한 아버지* 와, *3년 미만의 평균 근속 기간을 가진 테크 업계* 사이의 차이를 조명함
- 테크 업계에서 자주 보이는 *회사에 대한 과도한 충성심* 은 실제로는 *일시적이고 거래적인 관계* 일 가능성이 큼
- 좋은 고용주를 평가하는 네 가지 핵심 기준을 제시:
적정 급여, …
------------------------------
https://news.hada.io/topic?id=20518&utm_source=googlechat&utm_medium=bot&utm_campaign=1834

0
0

# Ask Hackers Pub : 이번 주말에 뭐 하시나요?

이번 주말에 뭘 하려고 계획 중인지 편하게 얘기해 보아요.
읽을 책, 가볼 곳, 해볼 것.. 어떤 것이든 좋습니다.
도움 요청이나 피드백 요청도 좋습니다.
물론! 아무것도 하지 않고 쉬는 것도 훌륭합니다.

* 지난 주말에 계획하셨던 일의 회고도 한 번 남겨보면 좋을 것 같아요.

0

고용주에 대한 충성심
------------------------------
- 작성자는 *30년을 한 회사에서 일한 아버지* 와, *3년 미만의 평균 근속 기간을 가진 테크 업계* 사이의 차이를 조명함
- 테크 업계에서 자주 보이는 *회사에 대한 과도한 충성심* 은 실제로는 *일시적이고 거래적인 관계* 일 가능성이 큼
- 좋은 고용주를 평가하는 네 가지 핵심 기준을 제시:
적정 급여, …
------------------------------
https://news.hada.io/topic?id=20518&utm_source=googlechat&utm_medium=bot&utm_campaign=1834

0
0
0

이번주 4월 26일 오후 2시 30분 부터

연합우주 최고 브레인과 함께하는 인터뷰가 진행될 예정입니다.

연합우주 내 고액연봉자와 함께하는 방송이라니
저같은 서민은 무서운 거시에요 하와와

0
0
0
2
0

트위터의 개발자 분 의견에 따르면, AI의 성별 구분 정확도 세계 기록은 98% 정도라고 함. 100명이 화장실 가면 2명은 삑- 하고 센터에 얼굴이 보고된다는 소리.

RE: https://bsky.app/profile/did:plc:a6qvfkbrohedqy3dt6k5mdv6/post/3lnlzdc3g6c2g

0
0
1
0
0

"[DOGE] feels like it should collapse under the weight of its own contradictions. But it doesn’t, because it was never meant to make sense. It’s basically all kayfabe — that peculiar form of theatrical fakery where the audience chooses to believe despite knowing better. The difference is that unlike wrestling, where the fakery is harmless entertainment, this performance is actively destroying what had been the most amazing democracy and economy on the planet."

techdirt.com/2025/04/24/elon-m

0
0
1
0

트위터의 개발자 분 의견에 따르면, AI의 성별 구분 정확도 세계 기록은 98% 정도라고 함. 100명이 화장실 가면 2명은 삑- 하고 센터에 얼굴이 보고된다는 소리.

RE: https://bsky.app/profile/did:plc:a6qvfkbrohedqy3dt6k5mdv6/post/3lnlzdc3g6c2g

0

대표적인 ADHD 치료제 ‘콘서타’의 공급 부족 현상이 빚어지고 있습니다. 제약사 쪽은 원료 수급이 어려워졌다고 설명하지만, 식약처는 수요 급증도 원인으로 봅니다. 2022년 ADHD를 쉽게 규정할 진단지표가 신설된 데 더해, 이 치료제가 ‘공부 잘하는 약’, ‘집중 잘되는 약’ 등으로 오남용된 영향도 있습니다.

ADHD 치료제 ‘공부 잘하는 약’ 오남용…진짜 환자는...

0

iPhone 17 Airのダミーモデル、ほぼUSB-Cの厚みしかない

Image:SonnyDicksonviaX予想より一回り薄かった…。今秋の登場が噂されている薄いiPhone「iPhone17Air」。最近になって、デザインの噂が各方面から聞こえてきて、本当に薄くなりそうだぞ?な雰囲気が漂っています。iPhone17Airの最新ダミーモデル。不安になるほど薄い本当にこの薄さで来るんか?とワクワクとソワソワの心が2つあります。今年は「Air」という薄いiPhon

Read more →
0

明日のSFカーニバルでは、金井プロジェクトIoBとWired JapanのSci-Fiプロトタイピング研究所で送る「脳とテクノロジーが繋がった2065年のSF世界設定」に登壇します。
開演はの9:30、司会は宮田龍さん、登壇者は小谷和也さん、池澤春菜さん、倉田タカシさんに私が加わります。

store.tsite.jp/daikanyama/even

0
0
0
1
0
0
0

Careless People - 부주의한 사람들
------------------------------
- Sarah Wynn-Williams의 회고록
Careless People 은 *Facebook 내부의 무능과 도덕적 해이를 폭로* 하는 생생한 내부 고발서임
- Zuckerberg, Sandberg, Kaplan 등 경영진의 *인격적 결함과 무책임한 의사결정* 이 반복적으로 강조됨
- Facebook의 해외 정책 실패, 특히 미얀마에서의 로힝야족 집단학살과 중국…
------------------------------
https://news.hada.io/topic?id=20513&utm_source=googlechat&utm_medium=bot&utm_campaign=1834

0

Careless People - 부주의한 사람들
------------------------------
- Sarah Wynn-Williams의 회고록
Careless People 은 *Facebook 내부의 무능과 도덕적 해이를 폭로* 하는 생생한 내부 고발서임
- Zuckerberg, Sandberg, Kaplan 등 경영진의 *인격적 결함과 무책임한 의사결정* 이 반복적으로 강조됨
- Facebook의 해외 정책 실패, 특히 미얀마에서의 로힝야족 집단학살과 중국…
------------------------------
https://news.hada.io/topic?id=20513&utm_source=googlechat&utm_medium=bot&utm_campaign=1834

0
0
0
0

MSEdge Blog Explained with GitHub Copilot

daisuke @dai@hackers.pub

会話ログ

日付と時間

UTC: 2025-04-25 01:17:11

ユーザー

ログイン名: dai


ユーザーの質問

これを解説して

The following references were attached as context:

The user is currently located in a GitHub repository, but possibly a sub-directory of that GitHub repository. Their current URL can tell you specifically, but included is some information about the languages and repository itself.
repo: MicrosoftEdge/MSEdgeExplainers
repo ID: 160596188
The description for this repo is Home for explainer documents originated by the Microsoft Edge team.
The language composition of this repo is [{"name":"HTML","percent":91.1},{"name":"JavaScript","percent":6.4},{"name":"WebIDL","percent":1.4},{"name":"CSS","percent":1.1}]

File path: ContextualLoggingWithConsoleContext/explainer.md
Source URL: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/ContextualLoggingWithConsoleContext/explainer.md
Repo: MicrosoftEdge/MSEdgeExplainers
CommitOID: 691d48938a001118083395e0486065d32e17ac60

# DevTools contextual logging with `console.context()`

## Authors

 - *[Leah Tu](https://github.com/leahmsft)*, Microsoft Edge
 - *[Patrick Brosset](https://github.com/captainbrosset)*, Microsoft Edge

## Participate

- For feedback about this explainer, open [an issue on the MSEdgeExplainers repo](https://github.com/MicrosoftEdge/MSEdgeExplainers/issues/new?template=contextual-logging-with-console-context.md).
- The expected venue for this is the [Console spec](https://console.spec.whatwg.org/). For feedback about the spec changes, see [console.context()](https://github.com/whatwg/console/issues/193) on the[...]

## Table of Contents

* [Status of this feature](#status-of-this-feature)
* [Introduction](#introduction)
* [User-facing problem](#user-facing-problem)
* [Goals](#goals)
   * [Non-goals](#non-goals)
* [Proposed approach](#proposed-approach)
  * [Current experience in Chromium](#current-experience-in-chromium)
  * [Proposed improvements](#proposed-improvements)
    * [Changes to the `console.context()` method](#changes-to-the-consolecontext-method)
    * [Changes to the Console tool UI](#changes-to-the-console-tool-ui)
* [Alternatives considered](#alternatives-considered)
* [Accessibility, privacy, and security considerations](#accessibility-privacy-and-security-considerations)
* [Stakeholder feedback / opposition](#stakeholder-feedback--opposition)
* [References & acknowledgements](#references--acknowledgements)

## Status of this feature

An initial version of this feature has been available in [Chromium](https://chromium-review.googlesource.com/c/v8/v8/+/522128) since 2017, and Microsoft Edge starting with version 79. This explainer p[...]
...

AIの回答

このドキュメントは、Microsoft Edgeチームによる「console.context()」を使ったDevToolsのコンテキストログ機能の改善についての説明資料です。以下に主な内容を簡単に解説します。


1. 概要

  • 目的: 大規模なウェブアプリケーションのデバッグプロセスを向上させる。
  • 手段: Chromiumのconsole.context()メソッドを改良し、DevToolsのコンソールUIにおけるフィルタリング機能を強化する。

2. 課題

大規模なウェブアプリでは、多くのログメッセージが出力されるため、必要な情報を見つけるのが困難です。現在の課題には以下があります:

  • console.group()の使用は手間がかかり、意図しないログが混ざる可能性がある。
  • ログに名前を付けてプレフィックスを追加する方法はエラーを引き起こしやすく、メンテナンスも必要。

3. 目標

  • デバッグの効率化: コンテキストベースでフィルタリングを行い、多数のログから必要なものを素早く見つけられるようにする。
  • コンソールの可読性向上: 異なるコンテキストのログを視覚的に区別しやすくする。
  • 開発者の負担軽減: カスタムロガーを作成する必要をなくす。

4. 提案の詳細

console.context()メソッドの改善
  • 第二引数としてオプションのcolorを追加。
    const myLogger = console.context("app", { color: "lemonchiffon" });
  • デフォルトではランダムな色が割り当てられ、ログが視覚的に区別されるようになる。
コンソールUIの改善
  1. コンテキストバッジ表示:
    • ログメッセージにコンテキスト名と色を示すバッジを追加。
    • バッジは背景色ではなく、ラベルに色付けすることで視認性を向上。
  2. 新しいフィルタリングUI:
    • コンソールのサイドバーに新しいコンテキストフィルタを追加。
    • 開発者はコンテキスト名をクリックして、特定のログだけを表示可能。

5. 代替案

  • 現行のconsole.context()を維持する(色指定なし)。
  • %cフォーマットを使ってログのスタイルを変更する。
  • バッジを塗りつぶしではなく、枠線のみで表示する。

6. アクセシビリティ

  • ユーザーが指定した色についてはアクセシビリティ対応を行わない。
  • 自動割り当て色については、十分なコントラスト比を確保。

この提案は、特に大規模なウェブアプリケーションのデバッグにおける効率向上を目指しており、開発者やブラウザベンダーからもポジティブなフィードバックを受けています。

Read more →
1