Honnip's avatar

Honnip

@[email protected]

143 following18 followers

정승우 (Jung seungwoo)

I just discovered something really subtle about WireGuard... TL;DR if you are adjusting interface MTUs precisely, and you have mismatched MTUs between peers in some cases, make sure your smallest MTU is always a multiple of 16!

WireGuard header overhead is said to be 32 bytes + UDP + IP, so 80 bytes for IPv6 and 60 bytes for IPv4. That's where you get the default MTU of 1420 (1500 - 80, so it works with IPv6).

But that's not precisely true! Actually, WireGuard will add up to 15 bytes of padding to the data, to make it a multiple of 16, as long as it doesn't exceed the MTU on that side of the connection.

So let's say you have a server with the MTU set at 1440, but you also have a client that is using IPv4 over PPPoE. So you set its MTU to 1432, subtracting the PPPoE overhead of 8 bytes. That should be fine, since the client will figure out the right path MTU for any connections, right?

Wrong!

The TCP client and server will negotiate an MSS that gives 1432 byte IP packets within the tunnel. But 1432 is not a multiple of 16! However, the client WireGuard instance knows that there is no headroom, so it will send 1432 + 60 = 1492 byte packets, which is the maximum PPPoE MTU. But on the way back, the server thinks it can go up to 1440! 1432 % 16 == 8, so it will try to round up to 1440. Then, it sends 1500 byte packets, which don't fit in PPPoE!

The fix is to either set both the client and server MTU to 1432, or to round down the client MTU to 1424.

I'm exploring a new idea called FediOTP (codename): an authentication system that uses DMs to deliver one-time passwords, allowing any account to authenticate with web services. Unlike current solutions that rely on specific APIs (, ), this would work with any ActivityPub-compatible server, increasing interoperability across the fediverse. Would love to hear your thoughts on potential challenges or use cases for this approach.

I have to say, my automatic dependency scanner [1] for packages is already working better than expected!

So far i found unused dependencies in git [2], gst-plugins-bad [3], [4], linux-pam [5], networkmanager [6] and vlc [7]. And i don't plan on stopping! All these unused dependencies cause unnecessary strain on our CI and are trivial to clean up. Some of these dependencies are even old enough to drink!

I will give a talk about the tool at @cccda this Monday in the hopes of getting more people excited for this cleanup work, and to get ideas about improving the tool.

[1] github.com/LordGrimmauld/nix-c

[2] github.com/NixOS/nixpkgs/pull/
[3] github.com/NixOS/nixpkgs/pull/
[4] github.com/NixOS/nixpkgs/pull/
[5] github.com/NixOS/nixpkgs/pull/
[6] github.com/NixOS/nixpkgs/pull/
[7] github.com/NixOS/nixpkgs/pull/

github.com

vlc: drop dependency on SDL by LordGrimmauld · Pull Request #391226 · NixOS/nixpkgs

The dependency on SDL and SDL_image was added in f909b55, over 14 years ago for version 1.1.5. It is no longer required and just increases closure size. Things done Built on platform(s) x86_64...

Bluesky didn't reach a federated stage where you could choose a service provider in a free country before they started to censor people based on authoritarian demands.

Email screenshot:

From: noreply@bsky.so...

Alıcılar: ben

Türkçe diline çevir

Hi there,

We are writing to inform you that we have received a formal request from a legal authority in Turkey regarding the removal of your account associated with the following handle (@carekavga.bsky.social) on Bluesky.

The legal authority has claimed that this content violates local laws in Turkey. As a result, we are required to review the request in accordance with local regulations and Bluesky's policies.

Following a thorough review, we have determined that the content in question violates local laws in Turkey, as outlined in the legal request. In compliance with these legal provisions, we have restricted access to your account for users.
ALT text

Email screenshot: From: [email protected]... Alıcılar: ben Türkçe diline çevir Hi there, We are writing to inform you that we have received a formal request from a legal authority in Turkey regarding the removal of your account associated with the following handle (@carekavga.bsky.social) on Bluesky. The legal authority has claimed that this content violates local laws in Turkey. As a result, we are required to review the request in accordance with local regulations and Bluesky's policies. Following a thorough review, we have determined that the content in question violates local laws in Turkey, as outlined in the legal request. In compliance with these legal provisions, we have restricted access to your account for users.

()를 위한 봇을 만들고 싶으신가요? by Fedify를 사용하면 몇 줄의 코드만으로 독립형 봇을 구축할 수 있습니다! 일반적인 Mastodon 또는 Misskey 봇과 달리, BotKit은 플랫폼 제약 없이 완전한 ActivityPub 서버를 만들 수 있게 도와줍니다.

BotKit으로 할 수 있는 것:

  • 멘션, 팔로우 및 메시지에 응답하는 봇 만들기
  • 형식화된 텍스트, 멘션 및 미디어가 포함된 풍부한 콘텐츠 생성
  • 예약된 게시물 발행 및 대화 자동 관리
  • Deno Deploy, Docker 또는 자체 호스팅 서버에 쉽게 배포

문서는 https://botkit.fedify.dev/에서 확인하시고 지금 바로 연합우주 봇을 만들어 보세요!

botkit.fedify.dev

BotKit by Fedify

A framework for creating your ActivityPub bots

a website just ip-banned me for trying to recursively wget it and in the ban message it linked me to a torrent archive of the website to use instead

based

github feature proposal simulator

Bloplang Pull Request #48592: Add zip method to iterators :gh_closed_1::gh_closed_2::gh_closed_3:

:bean_red: This is a proposal to add the zip method to iterators. This would allow you to join two iterators together, alternating between results from both. E.g. tens.zip(hundreds) would give [10, 100, 20, 200, 30].... This has been the most requested feature on our wishlist for seven months, and my initial implementation here provides a 12% speed up on the test_cases/thousands_of_types.blop. 👍 532 👎 12 🚀 226 👀 114 😕 3

:bot: BlobBot says: Hi red_bean :bean_red: ! Thanks for opening a pull request to Bloplang! I've run your code, and found this: Maximum regression: 0.05%. Maximum improvement: 12.03%. I've assigned curly_brace :curly_brace: to approve your code. Don't forget to leave a star! 👍 221 🚀 179 👀 12

:bot: BlopBot added the "BlopBot Seal of Approval" "No regressions" labels.

:rct_guest: I've never heard of "zip" before. Googling it, it seems to be a compression algorithm? Not sure what this has to do with iterators. I suggest naming it interleave instead. 👍 23 👎 34

:bean_red: zip seems to be pretty widely accepted. For example, Rust and Python call it zip. 👍 27 😕 1

:green_is_my_pepper: yeah i've never head of zip before. interleave is too long tho, how about weave 👍 54 👎 27

↕️ This comment was marked as off-topic.

ℹ️ :curly_brace: requested 1 change.

:curly_brace: This for loop could be better expressed as a map. 😕 1

:acnl_smile: How about spritz? In the idiolect of English spoken by my Discord server, spritz is very commonly used to refer to mixing things together. EDIT If you're going to laugh react, please leave a comment explaining why. 👍 5 😆 143

:green_is_my_pepper: wtf is a spritz 👎 5 😕 26

↕️ This comment was marked as off-topic.

↕️ This comment was marked as off-topic.

:curly_brace: Please don't leave "+1" comments. They pollute the thread and send useless emails. Use the react feature to add thumbs ups to the pull request if you want to express your approval. 👍 118 👎 4

:gynecologist: who else is here from reddit? 👎 122 😆 16 😕 33

  • [ Click to load 281 additional comments ] *

:curly_brace: That's a bug with your Linux distribution’s zip command, which has nothing to do with Bloplang. Open a thread on the Fedora forums to discuss that, although they'll probably tell you that Fedora 32 is EOL. 👍 66

:rct_guest: Okay, so we have 17 votes in favour of zip, 12 for weave, 5 for spritz, and somehow only 2 for interleave. Oh, and 1 each for sprinkle, intersperse_at_least_two_iterators_with_each_other, and sum. I'm beginning to suspect botting. 👍 7 😕 12

:curly_brace: Hey read bean :bean_red: - this pull request is out of sync with main. Could you rebase on top of the twelve thousand commits that have occurred since you opened this? Thanks! 👍 63 🚀 2

:gale: whats stoping this from being merged? can we get an eta 👍 12 😕 2

:rct_guest: It's mostly a debate on the name to use. I'm not sure why people aren't voting for interleave. I've provided numerous arguments as to why it's the obvious option, and I've even linked a conversation with ChatGPT 4-o proving that it makes the most sense. Sigh. 👍 2 😕 70 😆 11

ℹ️ Pull request #53223 "Add interleave method to iterators" was marked as a duplicate of this one.

↕️ This comment was marked as off-topic.

🤖 No activity detected for 90 days. 👎 121 😕 89

Stalebot 🤖 marked this pull request as stale.

Conversation locked and limited to contributors.

🎉 Excited to announce that Learn 6502 Assembly is now available on Flathub!

Modern 6502 Assembly Learning Environment with:
• Interactive step-by-step tutorial
• Code editor with syntax highlighting
• Built-in assembler & debugger
• Visual game console

Perfect for retro-computing enthusiasts, students, or anyone curious about how computers work at a low level.

Available on Flathub: flathub.org/apps/eu.jumplink.L
#6502

flathub.org

Install Learn 6502 Assembly on Linux | Flathub

Modern 6502 Assembly Learning Environment

small Nix tool I wrote tonight: nix-binary-cache-gc

codeberg.org/cyclopentane/nix-

Essentially it's a garbage collector for static binary caches (i.e. directories that statically contain .narinfo and .nar files and that are served by a regular webserver). It's dependency-aware, and uses the / crates.

(Previously I just deleted all files older than a certain amount of days with find and rm, but that tore up the dependency graphs on the cache and regularly caused errors)

codeberg.org

nix-binary-cache-gc

Tool for garbage-collecting old derivations from Nix binary caches

트롤리가 그냥 가게 내버려 두면 사람이 죽고 경로를 바꾸면 내 옷이 비싸진다, 우리가 수시로 당면하는 문제는 이런 것이지, 스위치를 조작하여 한 명을 살릴 것인가 다섯 명을 살릴 것인가가 아니다.

2011年3月11日に日本で発生した東日本大震災から14年。あの日を境に、災害時に役に立つ地理空間情報とはなにかを突き詰めるといった、自分のやりたいことが明確になり今に至っています。答えはシンプルで、『災害時には普段使いしているものしか役に立たない』ことと『災害時は普段当たり前にあるインフラが使えなくなる』という至極真っ当なこの2つの条件で機能する地理空間情報とは何か。そんな漠然とした、けれどもグローバルに通用する答え現在も追い求めて、イタリア・ミラノの地で研究に励んでいます。

14年前はできなかったことも多かったけれど、今、自信を持って言えることは、我々はあの時よりもできることが確実に増えている。あの頃無名だった OpenStreetMap は現在、世界の地理空間情報のインフラを支えている。まだまだ課題も多いけれど、解決すべき課題が明確に見えていることはとてもやりがいがある。

政治的には世界各地で苦しいニュースも飛び交っているけれども、我々はきっと世の中をもっとよくすることができる。

Photo: U.S. Navy photo, Public Domain

Nix 기반의 인프라 관리에 관심있으신 Go 고수분 계시다면 nix-snapshotter에 관심 가져보시는걸 추천드립니다. 지금 메인테이닝이 살짝 안되고있는데 기여자가 많아지면 좋겠네요.

github.com

GitHub - pdtpartners/nix-snapshotter: Brings native understanding of Nix packages to containerd

Brings native understanding of Nix packages to containerd - pdtpartners/nix-snapshotter

그동안 동료들한테 Cursor 쓰자고했는데 그들이 오소독스 Emacs 매니아들이란 문제가 있었다.

작년에 Nix로 nvidia gpu 지원까지 포함해서 구축해놓은 k3s 클러스터에다가, 오늘 아침에 1시간만에 aider로 쓸수있게 DeepSeek R1을 띄웠고 한번 써보자고 했다. 최근에 한 것 중 가장 가성비 좋은 작업인듯 하다.

aider.chat

Aider - AI Pair Programming in Your Terminal

i do remember making this

an edit of the baton roue comic, which depicts a person putting a stick through the spokes of the wheel of the bicycle they're in the middle of riding. the first panel is them riding the bike and holding the stick. the second is them shoving the stick through the wheel, edited so it says "systemctl restart sshd.service" over the stick. the rest of the image is cut off and corrupted.
ALT text

an edit of the baton roue comic, which depicts a person putting a stick through the spokes of the wheel of the bicycle they're in the middle of riding. the first panel is them riding the bike and holding the stick. the second is them shoving the stick through the wheel, edited so it says "systemctl restart sshd.service" over the stick. the rest of the image is cut off and corrupted.

It's a bit unfortunate that the @omgubuntu article about 48 summarizes 48's whole release as one line that says, "Calendar offers various Event Editor dialog improvements"
…when the Calendar app landed one of the most fundamental productivity (and format compliance) features of the last 12 years (after many, many months of design & development work): gitlab.gnome.org/GNOME/gnome-c

At least 40 issues resolved for that release overall: gitlab.gnome.org/GNOME/gnome-c

gitlab.gnome.org

Issues · GNOME / gnome-calendar · GitLab

Calendar application for GNOME