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

I was talking to someone today about 'accents' in programming, where you write code in one language in an unidiomatic style strongly influenced by being more familiar with another language.

If the language you're writing is the more powerful or featureful of the two, a common case of this is that you (mostly) stick to the subset that matches features in your old language, because you write FooLang by imagining a BarLang program in your head and just superficially changing the syntax. Like writing a loop in Python when you could use a list comprehension. Or open-coding some standard algorithm in C++ where you could just say std::do_it_for_me, because you're used to having to do it yourself in C.

Another case is where you contort the language itself to look more like the familiar one. Like writing BarLang-ishly named wrappers on the FooLang library functions, or outright reimplementing your favourite BarLang function. (I often write a 'chomp' function in languages that aren't Perl.) Or once I saw someone start all their Python programs with 'from sys import argv, exit, stdout' so they could refer to those names the same way you would in C. A very extreme case of this is to contort the _syntax_, where you can get away with it – the notorious Bournegol.

Anyone got any other cases of this phenomenon which don't fall into those categories? I'm particularly interested to know if there are any recognisable tendencies you'd observe from someone coming to a _less_ powerful language from a more powerful one. Do Haskellers forced to write C (say) have any common habits that look like "best approximation to a monad I can bodge together", for example?

0
0
0

宇多田ヒカルのファーストアルバム『First Love』(1999)は、(記憶が正しければ多分)私が初めて聴いたJ-popなんだけど、25年経った今聴いてもやっぱ良いんだよね。個人的に宇多田ヒカルの最近の音楽も好きだけど、なんだかんだこのアルバムほどグッとくるアルバムは無いかな。

1
1
0
0

“We just want the bare minimum to survive and here in al-Mawasi we don’t even have that,”

“Even for water, we wait for hours just to get a single bucket.”

“We are piled on top of each other in a single tent – me, my husband, our six children, and my husband’s elderly parents – 10 people in a small tent. There’s no room to sleep in that cramped space … There’s no privacy.”


0
1
0
0
1
1
0
1
0
0
1
0
0
0
0
0
0
4

커뮤를 공개적으로 하는게 플래닛 금지행위는아닌데
그 커뮤 역극하는게 연합탐라에 공개되면 부끄러움에 이불을 찰 수 있으므로 공개설정을 팔로워만으로 하는것을 추천드립니다
-커뮤안한지 10년된 늙은 오타쿠가-

0
0

커뮤를 공개적으로 하는게 플래닛 금지행위는아닌데
그 커뮤 역극하는게 연합탐라에 공개되면 부끄러움에 이불을 찰 수 있으므로 공개설정을 팔로워만으로 하는것을 추천드립니다
-커뮤안한지 10년된 늙은 오타쿠가-

0
0
0
0
0
0
0

Siliverlight、IEがシェア争い負けただけじゃなくて標準化と外部アプリ埋め込みあたりでゴタゴタしてたら、Adobe+HTML5/CSS3のタッグでクリエイティブ側から押されて綺麗さっぱり死んだ感がある。

0

We updated automerge.org (the library that we use for synchronizing edits without a central server) to *version 1.0.0*! This brings (as their own announcement puts it) some dramatic reduction in memory-usage, in an entirely backwards-compatible way.

In our tests, memory usage went down from ~1 GB to 180 MB, in one case, and document loading times are also improved by about half!

0
1
0
0

Siliverlight、IEがシェア争い負けただけじゃなくて標準化と外部アプリ埋め込みあたりでゴタゴタしてたら、Adobe+HTML5/CSS3のタッグでクリエイティブ側から押されて綺麗さっぱり死んだ感がある。

0
0
0
0
0

그런 농담, 재미없습니다 weekly.khan.co.kr/article/2025
"‘그런 농담’에 웃지 않을 수 있는 참모가 더 필요하다. 특히 여성 참모 말이다. 현재 대통령실 차관급 이상 참모진 중 여성은 오현주 국가안보실 3차장 단 1명이다. 토론을 통한 배움을 즐긴다는 이 대통령이 여성 참모진과 일상적으로 대화와 토론을 할 수 있는 환경이 만들어지길 바란다."

0
0
0