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
0
0
0
0
0
0
0
0
0
0
0
0
0

making a list of tricks for making static sites (just HTML/CSS/JS) that do cool or useful things

so far I have:

- store all the state in the URL
- use localStorage for state
- make a client for an API that supports cross-origin requests (like the mastodon API)
- load a bunch of data from a static JSON file

some things I've seen but haven't done myself:

- use github as your data storage (like what Decap CMS does)
- use SQLite from a static website with no backend

0
0
0
0
0

making a list of tricks for making static sites (just HTML/CSS/JS) that do cool or useful things

so far I have:

- store all the state in the URL
- use localStorage for state
- make a client for an API that supports cross-origin requests (like the mastodon API)
- load a bunch of data from a static JSON file

some things I've seen but haven't done myself:

- use github as your data storage (like what Decap CMS does)
- use SQLite from a static website with no backend

0
33
0
0
0
0
0
0
0
0

A nice thing about doing security stuff as a researcher is that, as long as you are careful about writing proof-of-concept code and making sure the observed result has the consequences you think it does, you look a lot smarter than you are because the proof-of-concept-testing stage filters out almost everything you're wrong about...

0

If you're an open source maintainer thinking about, or starting to receive, donations and/or sponsorships then I've put together a video with my advice along with a deep-dive into the technical set-up and my experience regarding these methods of funding:

youtube.com/watch?v=hILUhL_l_b

0
0
0
0
0

The world seriously needs a bank for volunteers, or at least a LOT more organizations with credit cards for up front purchases to be reimbursed.

My wife and I volunteer with four organizations and like many volunteers, regularly front anywhere from a few hundred dollars to a record of $7500 per event and the reimbursements can take months to process.

On one level this model provides a great check and balance for say, speakers who do not show up for events and will not be reimbursed for travel, but for consistent volunteers it is simply cruel.

Your thoughts and experiences?

0

Thrilling story time~

A lady living next door mentioned to me that she'd lost many photos of her late husband when her old laptop died. I asked if she considered taking the hard drive out of the laptop to recover the photos. She told me she did not know she could do that, and, moreover, a person at the computer shop told her there was no guarantee the data could be recovered, and it would cost a lot of money.

Long story short, I took the hard drive out of her old laptop and tried to connect it to our home computer. The disk didn't power up.

I looked closer and noticed signs of rust on the disk's board. The situation seemed a biiit hopeless.

But my fiancee washed the board in alcohol and removed the busted capacitor that caused a short between VCC and GND... and the disk powered up.

It is not working well (it keeps complaining about stuff on the dmesg board), but it works well enough to copy gigabytes of photos stored on it.

Happy end~

A photo of a printed circuit board, with some rust on it. There's a hand-drawn arrow that points to rust, and text "Rust"
0
0
0
0
0
0
0

Here is a friendly reminder to search your code bases to search for `* 0.01` and replace with `/ 100` because 0.01 is not finitely representable in IEE754 binary, leading to rounding errors.

---

it is probably better to actually search for "0.01", no operators.

0
0
0
0
0
0
0
0

Ich bin dann wohl offiziell alt. Hatte gestern so komische schwarze Schatten rechts gesehen. Der Augenarzt hat mir dann ziemlich schnell ein Notfallüberweisung in die Hand gedrückt (17:30) und mir erklärt ich soll heute noch in der Uniklinik erscheinen. Jetzt sitze ich hier und warte auf die Diagnose. Vor 20 Jahren hatte ich auch mal einen Netzhautriss, lasern und nach ein paar Tagen Sonnenbrille war es gut. Heute hat es wohl ein bisschen mehr Brisanz. Tja muss ich meine GPN Slides wohl diktieren und dann nächste Woche ins Reine schreiben.

0
0

:
Hartmut Lehmann:
Apokalypsen.
Lektionen aus vergangenen Katastrophen
ISBN 978-3-8353-5829-4

Hartmut Lehmann zählt Katastrophen der Menschheit auf seit dem 14. Jahrhundert:
Krieg, Gewalt, Hunger und Seuchen, immer wieder hatten die Menschen das Gefühl, das Ende aller Zeiten sei nah.

Er zieht aus den jahrhundertealten Erfahrungen der Menschheit folgende Lehren:

☮ Verschwörungsmythen sind Symptome von Krisenzeiten. Sie bringen aber nie echte Lösungsansätze.
1/6

0
0

さて :saba:

(upstream/main) Revert "Remove cookie rotator (#32289)" (#34892)
Fix blocked accounts not being automatically removed from trending statuses (#34891)
Fix nested buttons in search popout in web UI (#34871)
Accept HTTP Message Signatures (RFC9421) (#34814)
New Crowdin Translations (automated) (#34874)
Fix handling of featured tag removal (#34887)
Fix not being able to scroll dropdown on touch devices in web UI (#34873)
fix(deps): update dependency sass to v1.89.1 (#34875)
chore(deps): update dependency csv to v3.3.5 (#34881)
Fix sidekiq health check in docker-compose for sidekiq 7 (#34879)
Fix `Style/FormatStringToken` cop (#34861)
chore(deps): update definitelytyped types (non-major) (#34884)
chore(deps): update dependency linzer to v0.7.3 (#34885)
Include matrix values in upload artifact names (#34876)
Fix multiple issues in quoted posts hydration (#34864)
Add icon to header of pinned posts carousel in web UI (#34869)

0
0
0
0
1

안녕 !
나는 새로운 커무셩과 함께 돌아온 알파

글로벌 여나부주의 모두에게 선공개하는 미니 토큰 SD 커무셩을 공개
작업물은 샘플로 올라가는 점 참고 바라

샘플가 0.3
실 가격 0.4 예상

관심잇다면 디엠을 보내주오,

0
0