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
1

I am writing a Rust program targeting wasm (it will *only* run in wasm and I know this). I access a "global style" variable such that you'd normally need to use arc<mutex<T>> or arc<refcell<T>>. Which of the following statements are true?

1. Rust in wasm currently runs single threaded and I don't need to worry about concurrent access, use refcell.
2. Rust in wasm is multithreaded but that's okay because arc<mutex<T>> is available
3. I'm screwed.

0
0
2
0
0
0
1

うつと投稿について

風邪ひいた!みたいに「鬱きた……」みたいな暗い投稿をするときがあります、もし不快になられたら申し訳ないです🙇

ですがそういう投稿もしてしまうと思うので(フォロワーのみの場合が多いですが…)不快でしたらミュート、ブロックなどをおすすめします

すみません! 本当にうつ病なので、そういうことがあります どうしてもそういうことがあります ご承知おきください!

1

전기차 시대로 넘어가면서 이미 AI 이전에 금속류는 부족할 예정입니다 지구에 금속이 없는건 아닌데 가격경쟁력있게 채취할만한 금속이 없다는것이고요 이미 구리는 광석내 순도가 상당히 낮아졌다고 하더라고요... 역설적이지만 AI는 금속보단 에너지 문제가 더 심각하고요 근데 이것도 해결이 되긴할것임 지금은 산업혁명 초기 같은 시절이라 효율이 많이 떨어지지만 개선이 잘 될것임다 방법도 많은데요 다만 기업들이 아직 여기까진 손을 못댐 ㅋㅋ ㅎㅎ

0
0
29
1
0
0

무슨 SF같은게, 인류가 환경오염과 자원고갈 상황에서 우주로 나갈수가 없으니 서로 싸우고, 증오하고, 마지막으로 AI라는 일발역전에 도박을 거는 느낌이긴 하다. AI 산업 때문에 전기가, 구리가, 은이, 건설 자재가 부족하다는 것 알고 좀 많이 섬짓했음. 전쟁 상황도 아닌데 단일 산업 하나 때문에 인류 전체의 자원이 부족해졌다는게 그냥 단기적인 공급 부족이라고 생각하지 않음. 그냥 지금 인류의 인프라가 현재의 기술로 AI를 가성비있게 구현할 수가 없다는 이야기 아닌가 싶었다.

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

0

요새 중국이 저렇게 한다고 하더라 화웨이 이런곳에서 아예 상하이 외곽에 크게 캠퍼스 지어놓고 집까지 미리 다 짓고 화웨이 타운처럼 만들어놨다고 ㅋㅋㅋ R&D 캠퍼스인데 머리수가 만명 단위가 넘는다고 함... (먼산) 채용하면 집을 주거나 혹은 싸게 회사가 렌트해주는것임;; 미국에서는 괴글이 이럴려다가 잘안됬는데 중국은 요새 경쟁이 급하니까 저렇게 할수 있도록 정부가 도와주고 그런다고 어제 들었음;;

0

무슨 SF같은게, 인류가 환경오염과 자원고갈 상황에서 우주로 나갈수가 없으니 서로 싸우고, 증오하고, 마지막으로 AI라는 일발역전에 도박을 거는 느낌이긴 하다. AI 산업 때문에 전기가, 구리가, 은이, 건설 자재가 부족하다는 것 알고 좀 많이 섬짓했음. 전쟁 상황도 아닌데 단일 산업 하나 때문에 인류 전체의 자원이 부족해졌다는게 그냥 단기적인 공급 부족이라고 생각하지 않음. 그냥 지금 인류의 인프라가 현재의 기술로 AI를 가성비있게 구현할 수가 없다는 이야기 아닌가 싶었다.

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

0

일제때 오키나와 외딴섬 사탕수수 농장이나 산속 광산에도 이런식의 유사화폐가 쓰인 일이 있었지요. 사업주가 설치한 매점(당연히 폭리를 취함)에서 밖에 못 쓰고 밖으로 나갈수도 없어서, 사실상 노동자를 노예로 묶어두는 시스템...

RE: https://bsky.app/profile/did:plc:de27rm6eyuf5ez6gmvjdmilq/post/3mfck5uypws2e

0
0
6
0

Attention DNC: Nobody likes a Moderate. The people want progressive policies.

If you define Moderate as “tempered by both parties views and somewhat in between them”, what the hell does that even look like nowadays?

What’s the midpoint between trans rights and tax cuts for pedophiles? What's the midpoint between universal healthcare and let's shoot moms in the face in broad daylight? Moderate positions do not exist under fascism. You're either part of the resistance or part of the problem.

0

Amazon service (AWS) was taken down by AI coding bot named Kiro

futurism.com/artificial-intell

In one incident in December, engineers at AWS allowed its in-house Kiro “agentic” coding tool to make changes that sparked a 13-hour disruption, according to four sources familiar with the matter. The AI, ill-fatedly, had decided to “delete and recreate the environment,” the sources said.

0

'AI 기본사회'가 장기적으로는 의미있는 접근이긴 할 것임, 인터넷을 사회 누구나 쓸 수 있게 한다던가, 키오스크를 노인, 장애인도 쉽게 쓸 수 있게 한다는 접근성 맥략에서. 근데 엑셀기본사회 VBA 기본사회 파이썬 기본사회 코딩 기본사회 같은 생각하면 너무 웃참인 것이다. 먼 훗날 언젠가 가능할지도 모르는 일들을 위해 너무나도 많은걸 희생시키는.. "경쟁에서 밀리면 안 되니까 우리도 해야한다"가 국가, 인류 차원에서의 압박이 되고 있음.

0
0

어떤 분야에 대해서 AI니 뭐니 온갖 흑마법을 써도 고갱님의 니즈를 만족시킬정도로 잘하기 어렵다 많은 훈련과 노력이 필요하다 혹은 AI보다 더 빠르고 싸게 잘하더라 이런 분들만 아마 돈을 많이 받지 않을까 싶음 반대로 이제는 AI가 더 빠르고 싸게 잘하더라 이러면 망하는것임 ㅋㅋㅋㅋ...

0
0

If you're using Mastodon's web interface on a computer, you might like to know there are built-in keyboard shortcuts for almost all its functions. There's a list of all the shortcuts here:

➡️ fedi.tips/using-mastodon-throu

You just press the shortcut key when you're not typing a post, and it will do whatever it's assigned to.

You can also see the shortcut list built into Mastodon by typing Shift+? (or whatever your local keyboard layout uses to get the question mark to appear).

0

This account has a website full of tips and step-by-step guides about how to use Mastodon and the rest of the Fediverse:

➡️ fedi.tips <-------- Click here to open the website

The entire site is written in ordinary non-technical language, aimed at a general audience. There's a section at the top with quick links to the most essential stuff, and a complete list of guides below that.

If you can't find the answers you want on the site, ask me and I'll try to help directly.

0
8
0

If you're using Mastodon's web interface on a computer, you might like to know there are built-in keyboard shortcuts for almost all its functions. There's a list of all the shortcuts here:

➡️ fedi.tips/using-mastodon-throu

You just press the shortcut key when you're not typing a post, and it will do whatever it's assigned to.

You can also see the shortcut list built into Mastodon by typing Shift+? (or whatever your local keyboard layout uses to get the question mark to appear).

0
0
0
0

막연하게 드는 생각 중 하나: AI(?)의 발전으로 인해서 직업이라는 개념 혹은 직업간 바운더리가 없어지는 시대가 오고 있는것 같긴함 하루아침에 갑자기 일어나진 않겠지만 그렇게 되겠지 싶고... 지금은 개발자 디자이너 기획자 매니저 사장 임원 구분되어있지만 아마 조만간 이렇게 되지 않을까 싶음; 전 개발을 잘하는데 다른것도 그냥 AI 덕에 해요 즉 축구팀처럼 되는거 아닌가 싶음 팀원들이 다들 기본적인건 모두 할줄 아는데 어느정도 특화된 롤이 있는... 그렇게 되지 않을까 싶음 이미 그렇기도하고.

0

I took an issue in Specte.Console. Implemented it from scratch. It took me 10 minutes.

I then subscribed to Claude Code and asked it to solve the same issue. It generated code that worked, but that had so many problems I had to interject. I spent 1,5 hours to get it to produce code that held my standards, and it consumed 160k/200k tokens doing so.

This technology is only valuable for people who either have no conception of time or don't care. Period.

0
0
0

It has been heartening to see the steady trickle of projects moving away from Microsoft GitHub to friendly code forges like and , or self-hosting with tools like and

has been up and running on Codeberg all week which has made it easier for me to contribute to the O/S I use every day.

I'm now Proxy Maintainer for a handful of packages, including who also moved their bug tracker on Monday, making it possible for me to contribute 😀

0

"Capable LLMs require a logic of dominance and of disregarding consent of the people producing the artifacts that are the raw material for the system. LLMs are based on extraction, exploitation and subjugation. Their politics is violence. How does one “liberate” that? What’s the case for open source violence?"

(Original title: Acting ethically in an imperfect world)

tante.cc/2026/02/20/acting-eth

0
4
0
1
0
0

It sure is fun that the Presto website (and app) haven't updated my TTC travel and card usage since February 13th, leaving them to claim my card has a larger balance than it actually does. Someone has dropped the ball somewhere.

0
0
0
0

Boosts really, really welcome :neocat_floof_pleading:

I desperately need money. I'm homeless in Germany with a very low income, so I have issues reliably getting food and a roof above my head.

I would feel bad just asking for donations because there's lots of entities in way worse situations with zero income, so instead I want to do work (one-off contract is fine, doesn't have to be an employment contract. Has to be remote tho. Note I do not speak German, only English and Czech.)

Any money helps, I would need about a 900€ a month extra to be able to comfortably eat and have a roof above my head. I am most struggling this February, March, and some of April, maybe May, after that I should be able to get some money. I'll gladly do several one-time contracts.

I live with my girlfriend, who has no income, so my income is housing and feeding both of us.

I do have EU citizenship, but not a German one. I do have residence in the EU, I just cannot reside there for health reasons, but any post for eg. sent to it can be forwarded to me.
I can do most computer things, mostly sysadmin & programming:

  • Linux kernel drivers (primarily DRM subsystem and USB, some security work incl. finding a DoS 0day in the USB stack),
  • Mesa (primarily the Intel Vulkan driver (anv))-, Gradle (mostly debugging of the core and working on some plugins),
  • IntelliJ (figuring out exactly when the IDE complains about source code not matching bytecode, amongst other things)
  • lots of work with Java (.class transformers, agents, JMX, profiling, the .class file format spec + the JVM spec, the HotSpot C++ source code, the debugger protocol, jcmd, and other related tooling, JNI, hooking up jdb to NeoVim to implement code hotswapping and some basic code to implement some IDE features...)
  • Java Spring (web app backend, I worked at a company as a backend developer)
  • React
  • TypeScript
  • JavaScript (spent decent amount of time reading the ECMA spec)
  • Python Flask (mostly simple web apps)
  • PostgreSQL (primary rel database sw I use)
  • MySQL
  • C (lots of experience with GNU Make, GCC & Clang, incl. compiler intrinsics, linker scripts, cross-compiling, and similar. Large parts of the spec memorized) + pkgconfig
  • Assembly (x86 primarily, some Thumb2 (Cortex-M0+ specifically), 6502, RISC-V. I can manually assemble and disassemble machine code for these, memorized some opcodes, wrote assemblers.)
  • CMake, Meson (primarily debugging and fixing build issues in other projects, along with tracking down a bug in the Meson Rust support a while back)
  • SPIR-V (wrote a compiler that emits SPIR-V)
  • Networking, specifically experience deploying OpenVPN, Wireguard, writing and debugging iptables rules, network namespaces, handrolling networking for containers with veths & bridges, manually connecting to a network with just iproute2, configuring the routing tables, parts of the actual uAPI provided by the kernel as well as the internal implementation of netfilter
  • A lot of experience with debugging and fixing issues in unfamiliar codebases and quickly familiarizing myself with them, including very large codebases (WebKit, Firefox, Android, Linux, Mesa...)
  • Familiarity with many Linux APIs, incl. those used for debugging the kernel, as well as important concepts in the Linux kernel (files, fops, initcalls...)
  • The x86 programming interface used by kernels
  • Lots of familiarity with QEMU and deploying and managing VMs and their networking, isolating them into VLANs, etc
  • RouterOS and Cisco iOS
  • Vulkan and OpenGL APIs (primarily 3D. I've worked on Vulkan drivers, and a bit of OpenGL drivers. I know most of the Vulkan 1.0 spec by hand, and ofc lots of the extensions added since.)
  • Zig (some small CLI utils
  • Bash (lots of helper scripts on the systems I admin)
  • Zsh
  • POSIX sh (tested primarily with busybox dash. Translating bash scripts to POSIX sh)
  • Some Perl,
  • Haskell (Web backend mostly)
  • Lua (including the C interface, embedding Lua & writi g native Lua libs)
  • Guile
  • Clojure (mostly getting Clojure & the REPL to run in places meant to work with Java)
  • Rust (primarily work with no_std and sometimes no_core, lots of CLI utils, some Web backend and game engine work), debugging some rustc compiler issues
  • VimScript (a lot of work writing plugins for doing all kinds of things in NeoVim (including writing patches to add new features to VimScript){
  • A bit of Elixir
  • Some programs written in C# (though no experience with .NET yet. Can easily learn, but only dotnet core, since framework needs Windows)
  • Coq/Rocq, Agda, Idris2, F*, LiquidHaskell) (for type theory stuff, haven't gotten that far in most of them besides writing some proofs in primarily Coq and Agda)
  • LaTeX & TeX (both TeX Core and LaTeX, though primarily LaTeX. I write most documents that need fancier formatting than just markdown in LaTeX.)
  • Koka (since it's a research language, I mostly learned it for its pretty unique effects system, and haven't done anything practical in it)
  • Android development (in Java, which included hand-writing the entire project structure the android Gradle plugin expects, and manually setting up the Android tooling (platform and dev tools), and hooking it up to NeoVim & Emacs.)
  • Knowledge about Android system, including binder, HALs, tracing the implementation of eg. Camera on Pixels, the signature verification impl, APEXes, dm-verity, parts of the bootloader
  • OCaml (mostly the basics)
  • Wayland protocol (working on both compositors, compositor frameworks, and clients, in both Rust and C)
  • Worked with Smithay and wlroots, wrote patches for Sway
  • X11 (wrote a window manager, compositor, status bar, image viewer, worked a bit on writing a client library from scratch)
  • WebAssembly (handrolled a loader in JS for one project with frontend in Zig from scratch with no libraries)
  • Experience managing an infrastructure consisting of several computers networked together over the internet with VPNs & some sharing a LAN with multiple switches & VLANs
  • Experience managing Debian & Ubuntu servers, Arch NixOS, Void, and Gentoo systems, along with a bit of Fedora
  • Lots of familiarity with the Nix package manager (including internals of CppNix, and many of the experimental features like recursive Nix, dynamic derivations...), the Nix language, nixpkgs, NixOS, home-manager, handrolling versions of these from scratch, internals of the caches and the derivation format, how it generates links between derivations, etc
  • Knowledge of most of git, including the internal low-level commands, format of all files in the .git dir, and reimplementing higher level git commands using lower-level ones, and complex operations on git repos
  • Matrix protocol & software (worked on the spec and with E2EE, host Synapse & Element)
  • XMPP (running a prosody instance, read thru the specs)
  • Docker & Docker compose (large parts of my infra runs in docker, I've also looked into how the docker CLI, docker daemon, containerd, and runc interact, worked with alternative runtimes like kata containers)
  • Virtio (worked with guest drivers, parts of the QEMU impl)
  • Experience with reading large documents formatted as specs and understanding them
  • Experience reverse engineering undocumented open source software to figure out how to use it and debug it
  • Cryptography and security knowledge (general good practices as well as experience hacking things)
  • Experience with Linux APIs needed for making root and rootless containers, and handrolling self-contained packages of container + runtime
  • Used to managing systems that use systemd and making use of systemd-provided features
  • Familiarity with dbus, Perl dbus API, Portals API, Notifications API
  • Knowledge of XDG Portals, incl. the way they use Pipewire
  • Knowledge of using ffmpeg for encoding and editing videos
  • Experience with working with embedded MCUs (RP2040, ESP8266)
  • Experience with FPGAs (F4PGA toolchain for Xilinx Artix-7, so yosys, verilogtorouting, and F4PGA specific tooling for the actual bitstream generation, and some Verilog and VHDL knowledge).
  • ActivityPub protocol & related protocols (implemented a fedi server from scratch in Rust)
  • Familiarity with the TLS protocol, parts of X.509, and the OpenSSL CLI.
  • Knowledge of the tty ioctls & escape sequences (needed for writing shells, terminal emulators, terminal multiplexers, TUI programs...)
  • Experience making minimal embedded Linux images manually (compiling the kernel, making a rootfs by compiling the tooling, writing scripts to tie it together, etc)
  • Some experience with FreeBSD (daily-driving it for a year on a laptop)
  • Knowledge of Intel GEN12 GPUs (from working on Linux drivers on them, no NDAs or anything, just reading the millions of lines of source code for several years)
  • I can learn pretty much any programming language within a few days and jump into working on a codebase.
  • I am pretty good at explaining and teaching things to others
  • I am very patient, both when it comes to interacting with others and when it comes to interacting with computers.
  • Experience with porting features or Linux kernel modules between versions of Linux (or other software)
  • I read most of the eSIM specs, meaning I have knowledge of how eSIMs work, incl. reading the source code of the Android impl and setting up a fully open source (OS wise) setup
  • I have experience designing network protocols of any kind
  • I have experience with GTK, libadwaita, and glib internals
  • I have worked with QT
  • I have lots of experience with LWJGL3
  • Lots of experience with JavaFX
  • Experience with Emacs & org-mode
  • Some experience with btrfs & zfs
  • Lots of experience with LUKS2 (including reverse engineering most of the on-disk format due to lack of detailed docs), and TPM 2.0
  • I need to work in an asynchronous way - meetings are possible, but will be very difficult to arrange due to my life situation.
  • Experience with the USB 2.0 protocol down to the wire level

There's a decent amount of stuff I have not listed, since I've been writing this for about an hour and I keep remembering more and more things. I've done a large amount of things, and I'm currently in the middle of migrating my temporary infrastructure to run on microvms connected over wireguard to a VPS managed by either Docker or Nix along with setting up SSO, monitoring, log gathering, and other improvements, so the current state of the infra is temporary, however source code some of my projects (not all, only some recent ones) are here: gitea.itycodes.org/itycodes/

0
1
0
0
0
0
0
1