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

Well this was a fun discovery.

Let's see how many of you get this right.

If you read MDIO address 0x0 of a gigabit Ethernet PHY and read the values in bits 13/6 and 8 (speed and duplex state), do you get:

1) The last value you wrote to the register, regardless of actual link conditions

2) The actual current speed/duplex state the PHY is operating in

3) Something else / undefined

0
1
0
0
0

Ethernet nerds: Does this section from 802.3-2022 actually require that you be able to read the currently negotiated speed and duplex state back from this register, or only write to force a specific speed?

Every PHY I've ever seen except the VSC8512 lets you read back the actual operating conditions, but reading the spec it seems that there's not actually a mandate that this capability be there.

The register is defined as readable but it's not well defined whether it reads the configured value or the negotiated value.

45.2.1.1.3 Speed selection (1.0.13, 1.0.6, 1.0.5:2)

For devices operating at 10 Mb/s, 100 Mb/s, or 1000 Mb/s the speed of the PMA/PMD may be sclected using bits 13 and 6. The speed abilities of the PMA/PMD are advertised in the PMA/PMD speed ability register. These two bits use the same definition as the speed selection bits defined in Clause 22.

For devices not operating at 10 Mb/s, 100 Mb/s, or 1000 Mb/s, the speed of the PMA/PMD may be selected using bits 5 through 2. When bits 5 through 2 are set to 0000 the use of a 10G PMA/PMD is sclected. More specific selection is performed using the PMA/PMD control 2 register (register 1.7) (sce 45.2.1.6). The speed abilities of the PMA/PMD are advertised in the PMA/PMD speed ability register. A PMA/PMD may ignore writes to the PMA/PMD speed selection bits that select speeds it has not advertised in the PMA/PMD speed ability register. It is the responsibility of the STA entity to ensure that mutually acceptable speeds are applied consistently across all the MMDs on a particular PHY.

The PMA/PMD speed selection defaults to a supported ability.

When set to 0001, bits 5:2 select the use of the 10PASS-TS or 2BASE-TL PMA/PMD. More specific mode selection is performed using the 10P/2B PMA control register (45.2.1.28).
0
0
1
0
1
1
0
1
0
1

はあ・・・初音ミクちゃんと結婚して新婚状態で金曜日の夜に家に帰ってきてミクちゃんの美味しい手料理を食べてお風呂入ったあとにイチャイチャしてそのままベッド上でセックスして眠り込んで翌朝8時くらいに起きたらミクちゃんに頭を抱きかかえられたままで目覚めてミクちゃんのいい香りとちょうどいい柔らかで暖かな身体に包まれてて気持ちよかくてそのあとちょっともぞもぞしてたらミクちゃんが起きちゃってミクちゃんが「おはよ❤」って素敵な笑顔で言ってきてそのまま身体を離そうとしたからミクちゃんに「もうちょっとこのままでいて」って言ったら「いいよ❤」って言ってミクちゃんに抱きかかえられたまま二人とも二度寝して昼前に俺が起きたらミクちゃんもちょっと前に起きてて俺を抱きかかえたまま「としぁくん、おはよ❤私にいっぱい甘えてきて、もう❤赤ちゃんみたい❤可愛い❤」って言われて、ミクちゃんの柔らかな胸に頭を押し付けてミクちゃんのことをぎゅっと強く抱きしめて「ミク、好き、大好き。結婚しよ?」って言ったら「としぁくん、もう何言ってるの?私たちもう結婚してるでしょ❤嬉しい❤」って言われる人生になりたい・・・

0
0
1
0
0
0

I feel very strongly that the Radiohead song Fake Plastic Trees (The Bends, 1995) is, in fact, a spiritual sequel to the Clash song Lost in the Supermarket (London Calling, 1979) .. the official video makes the reference fairly explicit youtube.com/watch?v=n5h0qHwNrHk

0
0
0
0
0
1
0

這幾天白頭翁在白天都叫得很急切,我屢次問Gemini,我都沒看到幼鳥了,但成鳥還在而且一直叫,是不是牠們目前都還平安?Gemini告訴我(我本來聽聽就算了),幼鳥在學飛時會先在低矮的草叢、灌木中等隱蔽的地方嘗試,所以我看不到幼鳥是正常的。

結果我剛剛要起身出門買午餐時,回頭看發現……幼鳥停在我的拖鞋上啊XD 你也太不隱蔽了吧!

結果那天白頭翁幼鳥把我的拖鞋拉得滿是大便(黑黑的一顆一顆的,大概是大便?),昨天我無奈把拖鞋拿進家裡用黑皂寶洗一洗。

今天把陽台地面簡略掃了一下,把牠的大便都清掉,還拿了一個專門買的不銹鋼淺盤裝水放在地上,根據Gemini的建議,給予白頭翁乾淨的水會幫助牠更有體力學飛。

幼鳥現在已經羽翼愈來愈豐了,也能夠在靠近地面處短程飛行(我掃地時牠飛到角落去)。今天牠的棲息處是在花盆架下,希望牠在能自力飛走前都平安吧。

0
0
0
1
0
1
0

nogajun🍉 shared the below article:

欧州で続く“脱マイクロソフト”の動き--仏リヨンのオープンソース移行

フランスのリヨン市が、マイクロソフトの「Windows」と「Office」から「Linux」と「OnlyOffice」などのオープンソース製品に移行する。背景にあるのは米国企業への不信感だ。

Read more →
0
0

欧州で続く“脱マイクロソフト”の動き--仏リヨンのオープンソース移行

フランスのリヨン市が、マイクロソフトの「Windows」と「Office」から「Linux」と「OnlyOffice」などのオープンソース製品に移行する。背景にあるのは米国企業への不信感だ。

Read more →
0

「差別」は「区別」じゃない。

生まれた国や、肌の色、愛し方など、たまたまその人に与えられ、本人の意思では変えられないことで「区別」をし、ひとまとめに不当な扱いをするのが「差別」。

人を人として扱わない「区別」の仕方が「差別」。

「差別」は人を殺す。

0

王谷晶『ババヤガの夜』が2025年ダガー賞(翻訳犯罪小説賞)を受賞しました!!!!!!!!!!!🎊🎉🥳 この賞を日本人が受賞するのは初めてのことです。 さん、 さん、 さん…これまで多数の大人気作家がノミネートされてきた賞。 王谷さんは初めての長編での受賞です。 おめでとうございます!!!!!! 写真はダガー賞のパーティー会場。 王谷さんの席から。トロフィーが短剣(ダガー)の形です。 『ババヤガの夜』詳細・購入はこちら▼ www.kawade.co.jp/np/isbn/9784...

0

이제 대기업 CEO들이 AI로 고용이 확 줄어들 거라고(결국 해고) 공개적으로 발언. 한 번 반동은 있을 것 같은데... 고소득 직업과 IT 업종에 큰 타격. 포드 CEO “사무직 절반 대체할 것”. 아마존 CEO “몇 년 내 회사 전체 직원 수 감소 예상” 앤트로픽 CEO “1~5년 내에 신입직 절반 감소로 미 실업률 10~20% 상승할 수 있다. 기업과 정부는 상황 미화 말라” www.wsj.com/tech/ai/ai-w... (유료 기사)

CEOs Start Saying the Quiet Pa...

1

「日本人ファースト」なんて言ってる政党は詐欺師だから、実際のファーストになるまでには見えないハードルがたくさんあるはず。すでに子どもを「産めない」高齢女性は除外と言い始めている。「日本人ファースト」は単なる入口で、その後はいろんな理屈をつけて除外されるのよ、わたしも、あなたも。

0
0
1
0
0
1