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

china pol ("ghost cities")

"Those Chinese cities “built for no one” don’t stay empty; over time they get filled up with people who come to partake of the infrastructure that was built in advance for them. The oldest and perhaps famous example is surely Shanghai’s Pudong New District, the original “ghost city” east of the Huangpu River, the empty buildings of which Milton Friedman famously sneered at in 1988 upon visiting, declaring it “a statist monument for a dead pharaoh on the level of the pyramids”...
Comparable outcomes have been observed in Tianjin’s Yujiapu District and Zhengzhou’s Zhengdong New Area, to name a few other prominent examples of development zones previously dubbed ghost cities. On public infrastructure, China passes the puck to where the skater is going, not where he is right now. They simultaneously also tell where the skater where the puck is going, so he knows where to skate. It shouldn’t be surprising that this approach scores quite a few goals. In fact, the only surprising thing at this point should be the determination of foreign observers, especially the press, to forget how many times China has done this already"

https://substack.com/app-link/post?publication_id=1017553&post_id=168404322
0
1
0
2
1
0
3

弊サーバーにトラブルがあり、数日前のバックアップをリストアし、動くようにしたら、カスタム絵文字の一部表示がおかしく(テレビのカラーバー)なってしまいました。
コントロールパネル内のカスタム絵文字ページでは正しく表示されています(ので、実体は無事かと思われます)。
原因が分からず頭を抱えています。どなたか知恵を拝借願えないでしょうか?よろしくお願いします。

0
0
1
1

Let's live-toot the adding of quote-posting to for , in case it interests some nerds.
First of all, let's detect whether a toot is quotable: github.com/colinleroy/a2tools/
The JSON field `quote_approval.current_user` of a Status entity will either contain `automatic`, `manual`, `denied` or `unsupported_policy`. We'll consider everything but `denied` as quotable.
If the field doesn't exist, for retro-compatibility, we'll use a default `d`.

In the commit you'll see that we compare the first character of that field to `d`, this is much tighter size-wise than an strcmp().

0

ヘルニア手術で入院してた嫁様がやっとこさ退院して帰宅したよ​:ablobcatnodmeltcry:
昼に迎えに行ったけど、その前の朝イチから早起きして三男が熱望してたおでかけ子ザメの映画二人で観てきた
:ablobcatnodmeltcry:
おゆはん食べて風呂入ったら倒れる
:blobcat_frustration:

1
1
6
1
0
1
0
5

This is why I believe we're going to need better tools for reading and exploring codebases

"Writing code is easy. Once you have a solution in mind, and have mastered the syntax of your favorite programming language, writing code is easy. Having an LLM write entire functions for you? Even easier. But the hard part isn’t the writing. It’s the reading. It’s the time it takes to load the mental model of the system into your head. That’s where all the cost really is."

idiallo.com/blog/writing-code-

0
0
0
2
5
0
1

受けるかどうかの「運」の大部分は「タイミング」が占めてるような気がする。

ココで言えばフォロワーの多い村上さんもしゅいろママも、ノートの頻度が高いなおすきさんも、タイミングが合わないと丸一日そのノートを見ないことがあるしな…

1
1
2
0
0
0
3
1
0
0
1
1
0
0
1

Let's live-toot the adding of quote-posting to for , in case it interests some nerds.
First of all, let's detect whether a toot is quotable: github.com/colinleroy/a2tools/
The JSON field `quote_approval.current_user` of a Status entity will either contain `automatic`, `manual`, `denied` or `unsupported_policy`. We'll consider everything but `denied` as quotable.
If the field doesn't exist, for retro-compatibility, we'll use a default `d`.

In the commit you'll see that we compare the first character of that field to `d`, this is much tighter size-wise than an strcmp().

0