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

LLM 시대 이후로 생산성과 관련해서 스트레스를 더 많이 받는거 같다. 당신이 오늘 허투루 보낸 하루는 누군가가 올바른 프롬프팅으로 +10K LOC를 할수있는 하루였다, 같은 생각을 퇴근하면서 한다.

3
0
0
0

I know we all say this in one way or another every day we even dare peek into our public ever-churning kaleidoscope of atrocity, but every last feral fucking joy-hating death-worshipping botched abortion of a person who helped make this happen should see locusts and aphids eat everything they attempt to grow and watch sinkholes consume their homes and experience everyone who ever loved them shunning them until they cough up some unidentified alien black vomit and die dessicated and alone, leaving the world to draw a healing clean breath for their passing from it.

0
0
0
0

其实只要你想迁移到Linux,试试用一台旧的PC(当然,最好改造升级一下,比如说安装一块SSD)安装Fedora、OpenSUSE、Linux Mint、Manjaro这类对新手相对友好的发行版,切身实地的把Linux用在生活当中,以及多去相关用户社群多逛逛,这样才是最好的入门方法。为什么不用新的PC或者现有PC安装双系统的方案,是考虑到成本问题以及安装双系统可能会因为误操作导致数据丢失的灾难,而且使用Linux让旧PC重焕荣光不仅环保,而且也能让你有一种让旧PC重焕生机的成就感。当然,如果你手中没有闲置的旧PC的话,在二手市场里淘一台较新的笔电也是个很好的点子,诸如旧ThinkPad一类的二手笔记本电脑在二手市场中相当廉价,不过买二手电子产品一定要有充足的经验以免遇到奸商和骗子。当然如果你本来就有购买一台备用PC的想法(比如说想趁着现在国家补贴再入手一台轻薄本作为备用机),那么专门买一台笔电用来安装和学习Linux也是个不坏的主意,不过选购适用于Linux的笔电时要注意避开使用NVIDIA显卡的产品(给台式机买显卡的时候同理),因为目前主流的NVIDIA显卡驱动对Linux的兼容性比较糟糕。我的朋友 @anyneko@mastodon.socialGNU/eko #898Express 入门Linux就是用那样一台旧PC通过安装单系统来做到的,尽管她在那台设备上用Linux只是因为那台设备使用Microsoft Windows过于卡顿。
其实我入门Linux就没有用任何所谓的教科书或者教程,完全就是自己摸索着一步步来的,所有和Linux相关的书也只买了两本命令速查手册,然后在虚拟机里一步步的折腾,但我其实在疫情大封城之前我还是没有付出多少真正的行动,直到疫情封城让我意识到计算自由的宝贵才让我有了抛弃Microsoft Windows的决心。
就像学语言最好的方式是在达到入门水平后(CEFR A2)直接在外语环境中沉浸式生活一样,我认为学习Linux最好的方式还是找一个发行版,然后把它作为你的主操作系统来使用,至于用什么发行版,这点完全看你个人的喜好了,喜欢激进更新和最新的技术就去用Manjaro、OpenSUSE Tumbleweed和Fedora,喜欢较为稳定的环境就去用OpenSUSE Leap和LinuxMint。
至于包管理器什么的,虽然各大发行版看上去区别甚远,但实际上他们大同小异,就拿最流行的deb系和rpm系来说吧:deb系的包管理器叫做dpkg,但是dpkg本身是无法直接联网的一个本地安装器,为了能让dpkg包管理器能在线获取软件及更新,以及自动解决软件依赖和冲突问题,才有了apt作为dpkg的前端。而rpm系的包管理器叫做rpm,同样无法直接联网,但是rpm系因为openSUSE和RedHat两者的道路相歧,所以有两种前端——用于openSUSE的Zypper和用于RHEL/Fedora的yum,而yum在发展中又被重构成了如今我们更熟悉的dnf。至于其他非二大阵营的发行版(如Archlinux等),它们往往没有同deb/rpm那样泾渭分明的前后端设计,而是本地包管理和在线包管理都由同一个包管理器负责,比如说Archlinux的pacman。实际上包管理器不仅仅在Linux等操作系统中存在,而且在一些编程语言中同样存在——比如说Python的pip包管理器和Javascript的npm包管理器,他们的存在降低了开发者导入新的运行库的难度和减轻了配置运行环境中解决依赖问题的工作量。

RE:
https://nya.one/notes/a7b8f3dal0g4027q

0
0
1
0
1
0
1
1
0

トランプ2.0が始まってから100日間の究極の皮肉は次のような状況かもしれない。トランプの取り巻きはどうやら、中国の習近平国家主席が慌ててホワイトハウスに電話をかけてきて、ぜひともディール(取引)をしたいと懇願してくるものだと踏んでいた。ところが、習のチームが実際に電話をかけた相手は、日本や韓国、東南アジア、欧州の首脳たちだった。そして彼らにおそらくこう伝えた。トランプの癇癪にうんざりしているのなら、中国はビジネスをする用意がありますよ、と。

「万税じいさん」トランプが中国を再び偉大にする | Forbes JAPAN 公式サイト(フォーブス ジャパン)

https://forbesjapan.com/articles/detail/78864

0
2
0

中韓は日本にアズールレーンとか​:bluearchive:​とさ​:nikke_goddessofvictory_logo:​とか​:dosukebe_kawaii:​を輸出して、日本は​:reino_are:を輸出してる。
コレを性の三角貿易って言います。

:tameninattane:

まぁ、これ、今私が考えたんですけど:ai_nomming:

RE:
https://misskey.io/notes/a7b5nmw3tthe0ei3

1
0
1
0

香港律政司司長:

「美國對內地(中國)跟香港徵收一樣的關稅,是模糊了一國兩制,無視香港和內地的分別。」

哦所以你們知道是有分別的喔 :sacabambaspis_coerce:

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

香港律政司司長:

「美國對內地(中國)跟香港徵收一樣的關稅,是模糊了一國兩制,無視香港和內地的分別。」

哦所以你們知道是有分別的喔 :sacabambaspis_coerce:

0
0

No, I do not want to install your app.

No, I do not want that app to run on startup.

No, I do not want that app shortcut on my desktop.

No, I do not want to subscribe to your newsletter.

No, I do not want your site to send me notifications.

No, I do not want to tell you about my recent experience.

No, I do not want to sign up for an account.

No, I do not want to sign up using a different service and let the two of you know about each other.

No, I do not want to sign in for a more personalized experience.

No, I do not want to allow you to read my contacts.

No, I do not want you to scan my content.

No, I do not want you to track me.

No, I do not want to click "Later" or "Not now" when what I mean is NO.

0
0
0
0
0
0
0
1

Relatively obscure standards question:

In PEP 257¹ and PEP 258², "attribute docstrings" are defined as:

«A string literal immediately following an assignment statement»

Python's abstract syntax trees do not represent blank lines, it is as if they were deleted in the input source.

Note that PEP 258 does also explicitly mention that using blank lines to visually separate documented attributes.

Question: how many blank lines is the specification allowing between the assignment and the string literal? Is the specification talking about abstract or concrete syntax?

¹ peps.python.org/pep-0257/#what
² peps.python.org/pep-0258/#attr

0
0
0
1