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
1

pov: you wake up to receive a package with a vacuum chamber and discover that the vendor is a crackhead and a menace to society

this is a vacuum chamber. the power supply that comes with it has a type-C connector and it puts 12V on Vbus unconditionally. the pump works off both 5V and 12V, so it can pull vacuum off a normal type-C power supply. but the solenoid release valve (that lets you open the chamber once you're done) requires their illegal type-C-shaped power supply. also, not only does the chamber not support PD negotiation, it does not even have a CC pulldown.

to add insult to injury, it's using a NEMA 1-15P plug.

0
21
0
1
0
1
0

なんじゃそら...

寄付集めを含むMITにおける伊藤学長の活動は、伊藤学長の独断ではなく、MITの許可・監督の下で行われていたこと、従って何の問題もないことが確認されました。... 最近の報道内容に関しても伊藤学長本人に事実確認を行いましたが、本人が違法または不正な行為の存在を認識したことはなく、もとより本人は、いかなる違法または不正な行為にも一切関与していないことを、再度確認しました。

https://chibatech.jp/news/imolkd0000004vgd.html

0

なんじゃそら...

寄付集めを含むMITにおける伊藤学長の活動は、伊藤学長の独断ではなく、MITの許可・監督の下で行われていたこと、従って何の問題もないことが確認されました。... 最近の報道内容に関しても伊藤学長本人に事実確認を行いましたが、本人が違法または不正な行為の存在を認識したことはなく、もとより本人は、いかなる違法または不正な行為にも一切関与していないことを、再度確認しました。

https://chibatech.jp/news/imolkd0000004vgd.html

0
1
0
3
0
0

先の大戦後は、戦中軍国主義者だった人たちが敗戦後は歯の浮くような民主主義者になった。

今回は、平時は全能感の強いリベラルだったオタク層が、戦時になると軍国主義に雪崩をうって転向すると予想してる。

1
0

Developer creates 'Conversational AI' that can run in 64kb of RAM on 1976 Zilog Z80 CPU-powered System — features a tiny Chatbot and a 20-Question guessing Game.

The venerable Zilog Z80 CPU has been around since 1976, and it has powered everything from calculators and home computers to arcade cabinets. But the 8-bit microprocessor isn't exactly a powerful CPU compared to what we use today. That said, developer HarryR has created Z80-μLM, a working "AI" for the well-respected microprocessor.

⁉️[HarryR] confirms that it won't pass the Turing test, but it is a bit of fun. And no, the price of Z80s will not be impacted by AI.⁉️

github.com/HarryR/z80ai

👾According to the readme file, "Z80-μLM is a 'conversational AI' that generates short character-by-character sequences, with quantization-aware training (QAT) to run on a Z80 processor with 64kb of RAM." [HarryR]'s goal is to see how small an AI project can go, while still having a "personality". Can the AI be trained and fine-tuned? It seems that [HarryR] has done it in just 40KB, including inference, weights, and chat style user interface.👾

⁉️[HarryR] has kindly detailed the features of this Z80 AI project⁉️

• Trigram hash encoding: Input text is hashed into 128 buckets - typo-tolerant, word-order invariant
• 2-bit weight quantization: Each weight is {-2, -1, 0, +1}, packed 4 per byte
• 16-bit integer inference: All math uses Z80-native 16-bit signed arithmetic
• ~40KB .COM file: Fits in CP/M's Transient Program Area [TPA]
• Autoregressive generation: Outputs text character-by-character
• No floating point: Everything is integer math with fixed-point scaling
• Interactive chat mode: Just run CHAT with no arguments[ImageSource: HarryR]

👾The project comes with two examples. Tinychat is a conversational chatbot that responds to greetings and questions about itself with very short replies. The other is Guess, a 20-question game where the model knows a secret and I must try to guess.👾

Both of these examples are made available as binaries for use with CP/M systems and the Sinclair ZX Spectrum. The CP/M files are typical .COM files that anyone can easily run. For the ZX Spectrum, there are two .TAP files, cassette tape images that can be loaded into an emulator, or on real hardware.

The chatbot's AI is limited but nuanced.

• OK - acknowledged, neutral
• WHY? - questioning your premise
• R U? - casting existential doubt
• MAYBE - genuine uncertainty
• AM I? - reflecting the question back

⁉️According to [HarryR], "....it's a different mode of interaction. The terse responses force you to infer meaning from context or ask probing direct yes/no questions to see if it understands or not". The responses are short on purpose, sometimes vague, but there is a personality inferred in the response. Or could this just be a human brain trying to anthropomorphize an AI into a real person?⁉️[ImageSource: Gettyimages]

⁉️Will AI Create The Z80-pocalypse⁉️

The short answer is no, there is nothing to fear! But the Z80 has seen its life threatened during its 50-year lifespan.

👾In 2024, the Z80 finally reached end of life/last time buy status according to a Product Change Notification [PCN] that I saw via Mouser. Dated April 15, 2024, Zilog advised customers that its "Wafer Foundry Manufacturer will be discontinuing support for the Z80 product.…" But fear not, as back in May 2024, one developer was working on a drop-in replacement. Looking at Rejunity's Z80-Open-Silicon repository, I can see that did in fact happen via the Tiny Tapeout project.👾

<https://www.mouser.com/PCN/Littelfuse_PCN_Z84C00.pdf>

<https://github.com/rejunity/z80-open-silicon?tab=readme-ov-file>
0
0
0
0
1
0
38
0
0

今天在青旅化妝的時候,因為房間裡面只有一個鏡子,我就問在化妝的女生說可不可以在旁邊化。然後她就說了一句:「女生房間只有一個鏡子,天啊。」
之後就跟她聊起來,她說她一邊工作一邊開始自己的新事業,壓力太大了,所以來這邊只是為了離開華沙。
然後她聽到我之前在德國,就跟我說她很討厭德國人,因為德國人聽到她是波蘭人會對她很沒禮貌。我問為什麼,她說可能因為二戰的原因。
她說自己以前選了德文當二外,但學得不怎麼樣,她出生的城市以前是德國的一部分,所以很多德國旅客,但他們也不說英文就一直用德文跟她講話,就算她已經用德文說了她不會德文。
我大概知道歐洲人之間也會相互看不起,但畢竟我也不是生活在這邊很久的人,所以聽到的時候蠻驚訝的。
話說那個女生長得有點像破產姐妹裡面的蘇菲,金髮、翹唇跟口音都蠻像的,看來電視劇選人的時候還蠻用心的(?)

而且這個波蘭女生說,有時候他一講到自己是波蘭人,德國人就會說你們是普丁那邊的人。但我很好奇真的有波蘭人很親俄的嗎,我反而覺得前蘇聯國家的人都好討厭蘇聯,可能我常常遇到年輕人吧?

0

Trump posts a message to the Iranian people on Truth Social because obviously that's Iranian's social media platform of choice. It's like when the Vogons put plans for earth's destruction on display in the Alpha Centauri system.

0
5
0
0
3
0
0
0
0

코로나백신에 대해서 한국 국민 대개가 언론 놀아남으로 정부의 대책에 대해 제법 부정적이지만 그거 부작용 임상실험도 개도국에서 대량임상결과로 낸 안전성이라는걸 말해주고 싶음. 이미 다른사람들의 희생으로 안전성 검증을 받고 정부가 도입했는데도 한국 사람은 그거 신경이나 쓰겠나

0

트럼프 공습직후 "이란 2020·2024 대선 개입" 주장 n.news.naver.com/mnews/articl... 트럼프 대통령은 이날 소셜미디어 트루스소셜에 올린 글에서 "이란은 2020·2024 선거에서 트럼프를 막기 위해 개입하려 했고, 이제 미국과의 새로운 전쟁에 직면했다"고 적었다. *전쟁을 미국 국회 승인 없이 시작한 것.

트럼프 공습직후 "이란 2020·2024 대선 개입" ...

0
0
0
25
0

Just turned a client down who treated me and my candidate like shit during a first engagement. 20 years of doing this and saying 'no' to people who recruit disrespectfully still feels fantastic. My dudes: I do this because I love getting great folks great jobs. That's why I'm well regarded in the industry. I work equally for my candidates *and* client who pays me, and every smart company hiring knows that's why the best in the business are in my rollerdeck. It's not rocket science. Be kind!

Any company recruiting that thinks "I have the money I have the power" is missing a huge obvious trick. The actual power of hiring is the people. It will make or break your company, get that wrong and good luck to you.

... and I know the people. So. 💅

0

Just turned a client down who treated me and my candidate like shit during a first engagement. 20 years of doing this and saying 'no' to people who recruit disrespectfully still feels fantastic. My dudes: I do this because I love getting great folks great jobs. That's why I'm well regarded in the industry. I work equally for my candidates *and* client who pays me, and every smart company hiring knows that's why the best in the business are in my rollerdeck. It's not rocket science. Be kind!

0
3
0

@glyph @whitequark✧✦Catherine✦✧

As I recall, XFS was designed to quite aggressively avoid fragmentation. There were two major things here. The first was that it would leave data sitting in memory for a surprisingly long time to try to collect large blocks to write (which caused a lot of its reputation for losing data: it wouldn't commit data to disk until there was an explicit flush or the driver ran out of memory, other filesystems would generally flush data to disk periodically even if they had space). Second, it would assume files would grow and so would allocate more space than they needed and then later go and prune the space if they didn't grow to fill it. I think it also did some additional background defragmentation to fill in the fragmentation caused by these unused regions.

None of this makes sense on SSDs or modern VFS designs (which do the batching at a higher level), but they made things really fast on IRIX in the mid '90s.

Exciting retro technology!

0
0
1
1
0
9
0
0
이게 디씨도 그런데
양질의 데이터를 빠르게 얻을 수 있다는 장점이 있지만
커뮤니티적 특성으로는 글쎄..

예전에야 디씨에서 생활하다싶이 했는데
이젠 서로 죽일려하다못해 그르렁거리는 하이에나새끼들밖에 안남아서
더이상 디씨는 안보고있음
1
0
0
0
0

진짜 가끔 가다 제가 짚어줬는데도 지가 더 잘 안다면서 꼬장 부리는 분들도 계시는데 굳이 남 아프게 찔러놓고는 약은 약대로 안 들어가고 피는 피대로 안 나와오고 아프기는 뒤지게 아파서 눈으로 쌍욕하면서 "제가 짚은 곳으로 다시 해주실래요^^💢?" 하게 만듦 사람은 님이 많이 찔러보셨겠지만 이 몸은 이 몸이 가장 많이 찔려봤습니다 좀 말하면 믿어주시긔

0
0
0