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.

1

Flood Advisory, Kuskokwim Valley West, 2025-05-05 12:33 AKDT.

WHAT...Potential for ice jams leading to high water and possible flooding.

WHERE...The following areas, Upper and Lower Kalskag.

WHEN...Until 1000 AM AKDT Tuesday.

IMPACTS...Minor flooding in low-lying and poor drainage areas.

ADDITIONAL DETAILS... - At 1200 PM AKDT, the River Watch Team reported that the Kuskokwim River breakup front was moving past Upper Kalskag as of 11:00 AM AKDT Monday. As this progresses downriver, there is potential for high water if downstream ice jams occur, or if the breakup front and trailing run of ice slow down. Ice downriver of Upper Kalskag remains intact, but has been slowly degrading over the past several days. - http://www.weather.gov/safety/flood

- If you live near or along the Kuskokwim River stay alert and be prepared to take action.

https://forecast.weather.gov/MapClick.php?zoneid=AKZ752


0
0
0
0
0

Interesting that especially with slang terms, Gen AI tends to translate better than "traditional" machine translation.

I was watching a Japanese TV drama 「着飾る恋には理由があって」 and at some point a character says "俺どストライク".
I didn't get that, so looked it up - it means something like "she's totally my type" (but it could be anyone/anything, "she" is just the context) - literally it means "right in the strike zone" (you know baseball is popular in Japan 😁).

None of the main translation apps got this right, but all the Gen AI models I tried did (DeepSeek, Gemini, ChatGPT).

0
0

@aleksorsist @urja Yeah. So what you want IMO is a series of always-enabled data processing blocks, then microcode/state machine that acts on their output.

So for example

HARDWARE BLOCK CONFIG
A) edge detect CH1
B) edge detect CH2
C) edge detect CH3
D) 8-bit shift register, clk=CH2 rising, data=CH3, reset=CH1 falling

STATES
1) on falling edge A: go to 2
2) on data available D: go to 3 if 0x41, else go to 1. On rising edge A, go to 1
3) on data available D: trigger if 0x42, else go to 1. On rising edge A, go to 1

0

논리와 메모리 - 논리와 저수준(Low-level) 자료 표현(Data representation) (2 편 중 2 편)

Ailrun (UTC-5/-4) @ailrun@hackers.pub

이 글은 "논리적"이 되는 두 번째 방법인 논건 대수를 재조명하며, 특히 컴퓨터 공학적 해석에 초점을 맞춥니다. 기존 논건 대수의 한계를 극복하기 위해, 컷 규칙을 적극 활용하는 반(半)공리적 논건 대수(SAX)를 소개합니다. SAX는 추론 규칙의 절반을 공리로 대체하여, 메모리 주소와 접근자를 활용한 저수준 자료 표현과의 커리-하워드 대응을 가능하게 합니다. 글에서는 랜드(∧)와 로어(∨)를 "양의 방법", 임플리케이션(→)을 "음의 방법"으로 구분하고, 각 논리 연산에 대한 메모리 구조와 연산 방식을 상세히 설명합니다. 특히, init 규칙은 메모리 복사, cut 규칙은 메모리 할당과 초기화에 대응됨을 보여줍니다. 이러한 SAX의 컴퓨터 공학적 해석은 함수형 언어의 저수준 컴파일에 응용될 수 있으며, 논리와 컴퓨터 공학의 연결고리를 더욱 강화합니다. 프랭크 페닝 교수의 연구를 바탕으로 한 SAX는 현재도 활발히 연구 중인 체계로, ML 계열 언어 컴파일러 개발에도 기여할 수 있을 것으로 기대됩니다.

Read more →
12
0
0
0
0
0

@aleksorsist @urja My vision a while back was a series of series of edge detectors feeding into serial/parallel pattern matching blocks, then a state machine acting on the output.

So you could have it look for "falling edge on CH1" then "0x41 serially on CH2 data clocked by CH3 rising edge" then "0x20 serially on same pins", with a rising edge on CH1 or a mismatch of either byte clearing the state machine back to the start.

This would give you a SPI pattern match. I'm sure you can see the potential to implement I2C etc. on the same logic block.

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

If you think I'm flirting with you, it's likely very unintentional.

Like most other things, in socialization, I have no idea what I'm doing. Please let me know if you think I am flirting, and I will try to clarify and/or correct where relevant.

I may have put up quite the facade over the years, but I am really very bad at this human-ing thing.

0
0
0
0
1
0
0
0

よっこらどっこいしょ :saba:

aedc5f6921 (upstream/main) Add warning for REDIS_NAMESPACE deprecation at startup (#34581)
89cafb01b4 Remove double-query for signed query strings (#34610)
2133f2b47e fix(deps): update dependency babel-plugin-formatjs to v10.5.38 (#34609)
833ea0725d chore(deps): update dependency rubocop to v1.75.5 (#34608)
eacf6f2342 New Crowdin Translations (automated) (#34596)
84bca6fd54 chore(deps): update dependency public_suffix to v6.0.2 (#34590)
cbaba54e9d Add support for importing embedded self-quotes (#34584)
d41a741e00 fix(deps): update dependency ws to v8.18.2 (#34603)
03a0f7caf9 chore(deps): update dependency selenium-webdriver to v4.32.0 (#34604)
8b34daf254 Fix: Use strings not symbols to access `totalItems` in interaction collections (#34594)

0

I've previously complained on here about receiving "reaction" notifications from Apple users in MMS groups

I am happy to say that I have found a workaround on Android:

The `AutoNotification` application (part of the `Tasker` ecosystem) is capable of doing *exactly* what I wanted: blocking notifications from my messaging app based on regular expressions.

This pattern covers most of the notifications that grate on me the worst in my family's group chats (where the ratio of reacts to real messages is usually something like 10:1)

`^(Loved|Liked|Emphasized|Laughed at|Reacted . to) (“.*”|an image|a movie)$`

The upshot of solving the problem like this is that I can also squelch notifications from other applications based on other patterns. Well worth the $2.49.

0
0
0
0
0
0
0

With the hype around endof10.org , I have a question about Linux as main OS.
I already know Linux quite well, but for my job mostly (programming). However I have almost no experience in using it for what I use on a personal side.

So:
- What's the state of gaming on Linux for very old Windows games?
- What about Photoshop and the Adobe suite in general? (Mostly for my wife who's an artist)
- Is there a non-Ubuntu Debian-based OS good enough for these usages other than Debian itself?

0
0
0
0
0
0

People think they miss manufacturing jobs. They don’t. They miss social benefits guaranteed by a union.

40 hour work week? Union won.
Worker’s comp insurance? Union won.
Overtime pay? Union won.

0
0
0
0
0
0

After reviewing FEP-5624: Per-object reply control policies and GoToSocial's interaction policy spec, I find myself leaning toward the latter for long-term considerations, though both have merit.

FEP-5624 is admirably focused and simpler to implement, which I appreciate. However, 's approach seems to offer some architectural advantages:

  1. The three-tier permission model (allow/require approval/deny) feels more flexible than binary allow/deny
  2. Separating approval objects from interactions appears more secure against forgery
  3. The explicit handling of edge cases (mentioned users, post authors) provides clearer semantics
  4. The extensible framework allows for handling diverse interaction types, not just replies

I wonder if creating an that extracts GoToSocial's interaction policy design into a standalone standard might be worthwhile. It could potentially serve as a more comprehensive foundation for access control in .

This is merely my initial impression though. I'd be curious to hear other developers' perspectives on these approaches.

4