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

My website is almost ported to , but there's one issue left that I can't resolve:

In , I have a shortcode for embedding mastodon feed of specified account. I figured I'd use liquid's {% render %} for it in 11ty instead of a shortcode, as it supports arguments and is basically what shortcode is.

Inside a zola shortcode, you can acces a variable called "nth", which will increment if you use the same shortcode multiple times on one page. It's value will be "1" in the first shortcode, "2" in the second and so on.

The library for embedding mastodon post requires a container with an id. Using this variable, I can just use

<div id="masto-feed-{{ nth }}"></div>

and I have every feed have it's own unique id.

How do I do that in 11ty? I don't necessarily need this numbering, although I imagine it being useful for other things as well. I just need every shortcode on one page to have it's own unique id. I have a feeling that it's probably something simple I missed in the documentation, but I haven't been able to find a solution anyway.

:boost_requested:

0

Stupidly small and simple, laughably fast and pretty fetch tool. Written in Rust for speed and ease of maintainability. Runs in a fraction of a millisecond and displays most of the nonsense you see on the internet communities or social media. Aims to replace fastfetch. Haha!

github.com/NotAShelf/microfetch

0
1
1
1
0
0
0
0
0
0
0
0

어머니가 나이를 많이 드셨지만 박물관이나 전시관 돌아다니시는것을 너무 좋아하셔서 오늘 끌려갔다왔는데... 어머니 소원드리기 쉽지 않음을 다시 한번 느끼고... 특히 안국역 근처에 있는 관광객 코스 많이 다녀옴;; 국립현대미술관과 근처에 있는 공예박물관도 처음(?) 가봤는데 나같은 사람에게 내용은 매우 난해하지만 그래도 볼만함이 있음을 알게 되었고... 서울에 이렇게 관광객이 많이 와있구나 하는것도 처음 알게 됨;; 신기한 세상이 되었구나 싶고.

0
0

と思ったけど今確認したらわたしが公開した4時間後に公式対応してるじゃん
なんでこんな使われたんだよ
1
0
1
0
3
0
0
2
1
0
0
0
1
0
1

https://blog.naver.com/canonkoreacamera/224103326684

캐논 RF의 저가 렌즈들은 다들 괜찮다고 생각함. 특히 28mm F2.8은 내가 캐논으로 이전한 이유 중 하나. 왜곡 크고 색수차가 꽤 있지만 해상력은 매우 높음. 이 스타일로 표준 단렌즈를 원했는데 45mm F1.2는 다른 방향이라서 나에게는 좀 애매한 렌즈.

0
0
0
0
0
0
1

이번 아오모리 지진 옆 동네인 미야기현은 311 대지진 때도 1만명의 사망자가 발생한 곳으로, 당시 일본 전체 사망자의 50%가 그곳에서 발생했습니다. 특히 초등학생 수백명이 해변에서 시신으로 발견되기도 하고... 기사 보다가 옆 나라 일인데도 피 토할 것 같은 심정이 되었던 기억이 납니다. (어린이들의 명복을 빕니다..) 2011년 대지진하고 다른 지각판이라 오히려 대지진 가능성이 더 큰 위치라고 합니다. 에너지가 발산이 안 된 거니까요.

RE: https://bsky.app/profile/did:plc:oeors5le2tmvqzojsjxxqwro/post/3m7j5y5rwjs2e

0
1
1

암호화폐에 인생의 8년을 낭비했다 news.hada.io/topic?id=24918 *자유지상주의·사이퍼펑크 이상에 매료돼 뛰어들었지만, 시간이 지나면서 탈중앙 금융이 아니라 초대형 온라인 카지노를 만들고 있었음이 드러남 *장기적으로 이 산업의 금융화·도박화가 사회적 이동성을 약화시키는 독성 구조라고 경고하며, “돈이 아니라 옳음”을 선택하겠다고 결론 "만드는" 사이드 이야기라 더 사무치는...

암호화폐에 인생의 8년을 낭비했다 | GeekNews

0
0
0
1
1
1
0
0
1

"European officials eye ‘nuclear option’ of dumping US Treasuries if Trump cuts Ukraine deal without allies, per WSJ." 라는 unusual whales의 글을 봤는데 ㅋㅋㅋ 와 이걸 입으로 이렇게 말하는 시대라니.. 이렇게 되면 미국도 죽고 유럽도 죽고 공멸하는 엔딩인데... 지금 보니 1주일 정도 지난 뉴스 같습니다 www.reddit.com/r/europe/com...

0
2
0
0

Mozilla Hubs が結構軽量(LaptopのCore i第6世代のiGPUでも遊べていた)でOSS で普及しないかなーと思っていたんだけど終わったorz

End of support for Mozilla Hubs | Hubs Help support.mozilla.org/en-US/kb/e

0