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.

folks: if you want an interactive debugger, what do you use, and how do you set it up? Particularly on unfamiliar projects with something like tox/nox/Just which gets between you and the running process. Bonus points if you have a functioning integration.

In principle I love the idea of interactive debuggers. In practice I have been burned so many times by configuration, path, and terminal interaction issues that I have an almost instinctual recoil from anything based on pdb.

@glyph I've had success debugging with debugpy and vscode. (debugpy: github.com/microsoft/debugpy ) I believe it was created for debugging functionality in vscode, but it uses an open protocol that other tools have been built to support as well, (though I haven't tried any of them.)

Tools that support the Debug Adapter Protocol are listed on this webpage: microsoft.github.io/debug-adap

0

@jdaraisJeremiah then I tried `pip install pydevd` to install the (deprecated, but still required because other tools have not caught up with the deprecation) previous version of this debugger, "ptvsd", which produced 3 megabytes of a traceback ending in "AttributeError: '_MainThread' object has no attribute 'isAlive'. Did you mean: 'is_alive'?" before I could scramble to kill the process to avoid OOMing Emacs

0

@jdaraisJeremiah I tried to set up `dap-mode` as a frontend to this, and, as if to help me prove my point, zero docs were provided, and once I found a function to run from some blog posts, I got it to emit the error message "Failed to connect to localhost:49611 with error message make client process failed: Connection refused, :name, Python :: Run file (buffer), :buffer, nil, :host, localhost, :service, 49611, :nowait, nil, :noquery, nil, :tls-parameters, nil, :coding, no-conversion" 999 times

@jdaraisJeremiah then I tried `pip install pydevd` to install the (deprecated, but still required because other tools have not caught up with the deprecation) previous version of this debugger, "ptvsd", which produced 3 megabytes of a traceback ending in "AttributeError: '_MainThread' object has no attribute 'isAlive'. Did you mean: 'is_alive'?" before I could scramble to kill the process to avoid OOMing Emacs

0

@glyph I've had success debugging with debugpy and vscode. (debugpy: github.com/microsoft/debugpy ) I believe it was created for debugging functionality in vscode, but it uses an open protocol that other tools have been built to support as well, (though I haven't tried any of them.)

Tools that support the Debug Adapter Protocol are listed on this webpage: microsoft.github.io/debug-adap

@jdaraisJeremiah I tried to set up `dap-mode` as a frontend to this, and, as if to help me prove my point, zero docs were provided, and once I found a function to run from some blog posts, I got it to emit the error message "Failed to connect to localhost:49611 with error message make client process failed: Connection refused, :name, Python :: Run file (buffer), :buffer, nil, :host, localhost, :service, 49611, :nowait, nil, :noquery, nil, :tls-parameters, nil, :coding, no-conversion" 999 times

0
0
0
0
0
0

Apparently Automattic are laying off around one in six of their workforce. And I'm one of the unlucky ones.

Anybody remote hiring for a UK-based full-stack web developer (in a world that doesn't seem to believe that full-stack developers exist anymore) with 25+ years professional experience, specialising in PHP, Ruby, JS, HTML, CSS, devops, and about 50% of CMSes you've ever heard of (and probably some you haven't)... with a flair for security, accessibility, standards-compliance, performance, and DexEx?

CV at: danq.me/cv/index.html

Via: 🔗 danq.me/2025/04/02/redundant/

0
0
0
0
0
0
0
0
0
0
0
0

as a teenager in the 90s, i grew up around a lot of tech people. it was an exciting, weird place full of exciting, weird people. the vast majority of them went on to become ISP owners, software engineers, game developers, IT managers, and made a lot of money doing it.

the sad part was that the vast majority (okay, 100%) of them became people whose only goal in life was making money and spending it on themselves. once the technical knowledge was stripped away, they were utterly boring people to be around, living out a 19th century stereotype of the american dream.

reading Doug Carlston's (of Brøderbund) Software People - a book about the early 1980s software developers - I came across a name I hadn't heard in a long time: Paul Lutus. While I've never met Paul personally, he sounds like the living contrast of the IT people I grew up around. He had been homeless (by choice) for a while, and worked on the Space Shuttle lighting system. After developing an insanely popular series of text editors for the Apple // called Apple Writer in a cabin he built himself in Oregon, he donated his land on 8 Dollar Mountain to the Nature Conservancy (+ a big cash donation), funded Planned Parenthood, and exited the software industry.

If we're going to reductively talk about the tech industry as being some kind of inherently evil thing, it's a disservice to folks like Paul. He did the hard work of making himself a value to society, and not because he wanted to be famous or rich.

He's my living prototype of how to live a good life, and not become a shithead while doing it.

A 1980s interview with Paul at his cabin in Oregon - showing off his Apple // setup.
www.youtube.com/watch?v=e7iFA_

Two great photos of his setup in the cabin:
www.reddit.com/r/vintagecomput

An AMA with paul from a decade ago:
www.reddit.com/r/IAmA/comments

paul's personal homepage:
arachnoid.com

0
0
0

As you may know, recent tariff changes now include Taiwan.

Since most of our products are manufactured in Taiwan, we are currently assessing how this will impact us.

We’re monitoring closely and will have more updates in the next few days.

Thanks for your patience as we navigate this.

0
0

不過兩天後,他困於實際的難題,不得不轉移了我們對話的主題。事情算是很簡單,他和後來交的女朋友結婚了、很快也有了孩子,被岳母逼著買房。到這邊為止,前述的半年一年連絡一下,都還有更新到資訊,我記憶中前一次連絡,是他買下一間老屋要裝修,問我能不能做?我則詢問過 ,確認他們在南部沒有工班無法接案,就也婉拒了這位朋友。

不料這一年來,他換了一組工班,現在是第二組。前一組很糟,但目前的這組工班聽起來也大有問題,比如說他11月簽約,但到現在他還沒有拿到圖(!);然後工班原本保證的年前交屋(我認為這從一開始就不可能)到現在,泥作才剛開始貼磁磚呢;更扯的是統包已經在一月底就向他請款請到「泥作退場」的進度,上週居然還要向他拿下一個進度的錢。

因為上述情形實在太匪夷所思了,我實在不忍看他被這樣欺負,最近就提供了一些意見,還去工地現場看了一趟。

這邊不禁呼籲各位台灣象友,如果真的對裝修一無所知,還是建議要找設計師來代為整合、監工。營建署也有提供裝修契約範本,只要Google就能找到。在簽約前非常建議去下載範本比對一下,自己即將簽的契約是不是尚在常情之中。

2/

這幾日密集對話下來,我深感這位朋友或許先天聰敏,但「思考就像肌肉一樣,需要鍛鍊」(paulgraham.com/writes.html?fbc

要說民進黨絕對清廉、都沒有問題嗎?我也不這麼覺得。但有許多跡象顯示他在同一主題上前後矛盾,例如他認為言論自由被緊縮了,但當我舉出無國界記者組織評價台灣的言論自由排名是上升的,他卻說外國人被蒙蔽了;我提問如果像他所說,估狗一下就知道都是一面倒的新聞,那無國界記者要怎麼被蒙蔽呢?他沒有回答,但在稍後的對話中又再度把「台灣言論自由受限」當作理所當然的背景設定。

我向另一位好友略吐苦水,好友表示她沒辦法和這種人講話,我卻說我會再盡力試試看。

3/

0
0

よく使われるのはこのへんで、

:fedibird1:

:fedibird_02:

:fedibird_role_01:

好きな絵文字を選び、ショートコードと呼ばれる絵文字の名称を : で囲ったものを記載します。

このとき、名前と : の間にはスペースをあけてください。添付画像の例でいうと『る』の後ろにスペースをひとつ入れています。

表示名に、名前と絵文字を使う表記例
0

俺らやん。

「映画のレビューを見ていると、ヘス夫妻は家のすぐ隣で起きている虐殺に「無関心」だった、とする指摘も散見されますが、それは違うと思います。彼らは単に「無関心」だったわけではない。むしろ確信的に虐殺や搾取に加担して、利益を得ている。その上で、そうした犯罪から積極的に目を背け、遮断しているんです」

digital.asahi.com/articles/ASS

0
0
0

신년에도 버틴 서버라 괜찮을 줄 알았는데... 그 사이에 플래닛을 이용하시는 분들이 이렇게나 늘어날 줄 몰랐습니다. 죄송합니다. :blobtired:

오늘뿐만이 아니라 최근 들어서 간헐적 서버 장애가 자주 있었는데요, 분석 결과 주로 타임라인 등을 저장하는 메모리 캐시 서버의 메모리 초과로 결론이 났습니다.

그래서 이런 문제를 원천적으로 해결하기 위해 공지사항에 올린 대로, 4월 3일 목요일 12시~13시 사이에 메모리 캐시 서버를 더 큰 램을 가진 서버로 분리하는 작업을 진행할 예정입니다.

이 서버를 내리면 대부분의 서비스는 작동 중지되기 때문에, 아마도 꽤 긴 시간(5분 이상)동안 이용이 불가능할 것으로 예상됩니다.
추가적으로, 기간제 뮤트나 예약 툿 작성 시간 등이 점검과 겹칠 경우 예측하지 못하게 동작할 가능성이 있습니다.
이 점 양해 부탁드립니다.

0
0
0
0

근데 남자애들은 좀 교육이 필요합니다..그게 네모의 꿈이 아니더라도 실패도 겪어보고 거절도 당해보더라도 그 감정을 추스리고 탄력성 있도록요.. 그리고 타인에게 피해를 입혀선 안된다는 기본과 배려심과 사회성 등등요. 굳이 남성들 아니더라도 성별망라 전부 다이긴 한데 이후 남성들에게서 특히나 사회적으로 문제행동이 용인되는 경우가 많기에 이후의 큰 문제행동이 많은 것도 사실.. 이는 자연적으로 남자는 어쩌고 할 것이 아닙니다... 그냥 못난것과 너무 아낀 나머지 배울 것을 못배운 것에 타당성 부여하지 맙시다.

0
0
0
0
0
0
0
0
0
0
0

トランプ関税発効。
日本の関税率が46%って書いてあったけど、ひとまとめにするのは害が大きいなあ。農産物はどの国も高めの関税をかけるけど、日本の乳製品や米の関税は確かに高い。でも無税の品目も多いんだよね。

0
0

As you may know, recent tariff changes now include Taiwan.

Since most of our products are manufactured in Taiwan, we are currently assessing how this will impact us.

We’re monitoring closely and will have more updates in the next few days.

Thanks for your patience as we navigate this.

0
0
0
0
0

정신건강 전문가의 성소수자 차별 및 혐오 제보하기! 자세한 사항은 링크 참조해주세요 www.instagram.com/p/DH8BxupJAj...

다다름, 성소수자와함께하는상담사모임 on Instagram: "💥정신건강 전문가의 성소수자 차별 및 혐오 제보💥 다다름은 올해 누구나 보다 평등하고 안전한 정신건강 지원을 받을 수 있는 환경을 만들기 위해, 온오프라인의 모든 공간에서 정신건강 전문가의 차별 및 혐오를 직간접적으로 경험하신 분들의 제보를 받고자 합니다! 📍제보 가능한 사람 : 내담자, 전문가 등 누구나 📍제보 가능한 대상 1) 정신건강 전문가(심리상담사, 임상심리사, 정신과의사, 사회복지사 등) 2) 오프라인(예: 대면 교육 및 상담 등) 및 온라인(예: 비대면 상담, SNS 등)에서 성소수자 차별을 옹호하거나 혐오하는 발언 및 행동을 한 경우 차별과 혐오에 맞서는 당신의 목소리를 들려주세요! bit.ly차별제보 #성소수자와함께하는상담사모임 #다다름 #성소수자차별제보 #차별적상담사제보 #차별적정신건강정문가제보"

66 likes, 0 comments - ally_counselors on April 2, 2025: "💥정신건강 전문가의 성소수자 차별 및 혐오 제보💥 다다름은 올해 누구나 보다 평등하고 안전한 정신건강 지원을 받을 수 있는 환경을 만들기 위해, 온오프라인의 모든 공간에서 정신건강 전문가의 차별 및 혐오를 직간접적으로 경험하신 분들의 제보를 받고자 합니다! 📍제보 가능한 사람 : 내담자, 전문가 등 누구나 📍제보 가능한 대상 1) 정신건강 전문가(심리상담사, 임상심리사, 정신과의사, 사회복지사 등) 2) 오프라인(예: 대면 교육 및 상담 등) 및 온라인(예: 비대면 상담, SNS 등)에서 성소수자 차별을 옹호하거나 혐오하는 발언 및 행동을 한 경우 차별과 혐오에 맞서는 당신의 목소리를 들려주세요! bit.ly차별제보 #성소수자와함께하는상담사모임 #다다름 #성소수자차별제보 #차별적상담사제보 #차별적정신건강정문가제보".

www.instagram.com · Instagram

0
0
0
0