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
0

再分配とか、インフラ投資とか、そんなものの前提となる「私たちの国」「私たちの財産」みたいなナラティブが崩れてるから、右翼的なものがそれを取り戻すのかね。知らんけど。

0
0
0
0
0
3
0
0
0
0
0
0
0

Since there’s been some confusion: this does *not* enable DisplayPort over these connectors or Thunderbolt. It only brings up the PHY correctly. For DisplayPort work on DCP is needed and for Thunderbolt the native host interface and finally the PCIe controller need to be brought up.
This series is just the first step required for both.

0
0
0
0
0
0

Since there’s been some confusion: this does *not* enable DisplayPort over these connectors or Thunderbolt. It only brings up the PHY correctly. For DisplayPort work on DCP is needed and for Thunderbolt the native host interface and finally the PCIe controller need to be brought up.
This series is just the first step required for both.

0
0
0
0
0
0
0
0
0
0
“The Porte d'Aval and the Needle of Étretat from above”

The Needle is a witness to the geological past of the Etretat cliffs.

It has become famous the world over, inspiring painters and writers alike.

In the Arsène Lupin universe, the legendary Hollow Needle contains the most fabulous treasure ever imagined, a collection of queens' dowries, pearls, rubies, sapphires and diamonds... the fortune of the kings of France.

🔎 https://nicolas-hoizey.photo/photos/the-porte-d-aval-and-the-needle-of-etretat-from-above/

📅 6 août 2020

📸 DJI Mavic Pro 2
🎛️ ISO 100, ƒ/3.2, 1/100 s

#TravelPhotography #Europe #France #Normandie #SeineMaritime #Etretat #Photography #DJI #Mavic #MavicPro2
Aerial view of rocky formations jutting out of a dark green sea, with a small boat leaving a wake as it moves through the water.
0
0

스미스는 또한 은행가들을 불신했으며 고용주들은 항상 임금을 낮게 유지하려 한다고 지적했다. “규제가 노동자에게 호의적일 때 그것은 항상 정의롭고 공평하지만, 고용주에게 호의적일 때 때땨로 그렇지 않게 된다.”

-David N. Balaam 외, 국제정치경제-

0

스미스는 또한 은행가들을 불신했으며 고용주들은 항상 임금을 낮게 유지하려 한다고 지적했다. “규제가 노동자에게 호의적일 때 그것은 항상 정의롭고 공평하지만, 고용주에게 호의적일 때 때땨로 그렇지 않게 된다.”

-David N. Balaam 외, 국제정치경제-

0
0

뭔가 일이 터져도 꿋꿋하게 일정 기간동안 한 사람을 밀어주는게 좋다 ->대통령제

일이 터지면 일단 물갈이 ㄱㄱ 하는게 좋다 -> 의원내각제

무슨일이 있어도 믿습니다 우리 수령님 -> 독재

0

스미스는 또한 은행가들을 불신했으며 고용주들은 항상 임금을 낮게 유지하려 한다고 지적했다. “규제가 노동자에게 호의적일 때 그것은 항상 정의롭고 공평하지만, 고용주에게 호의적일 때 때땨로 그렇지 않게 된다.”

-David N. Balaam 외, 국제정치경제-

0
0
0
0

Blackpool conjures up so many memories of visits during the Summer months. Spending hours on the beach with sticks of rock, sugar dummies and delicious cinnamon coated doughnuts.

But as Summer draws to an end, Blackpool becomes famous for its illuminations, where under the night sky, the promenade is awash with bright colour's and various sounds.

Blackpool conjures up so many memories of visits during the Summer months. Spending hours on the beach with sticks of rock, sugar dummies and delicious cinnamon coated doughnuts. 

But as Summer draws to an end, Blackpool becomes famous for its illuminations, where under the night sky, the promenade is awash with bright colour's and various sounds.
0
0

XiNiHa shared the below article:

Stop writing CLI validation. Parse it right the first time.

洪 民憙 (Hong Minhee) @hongminhee@hackers.pub

This post introduces Optique, a new library created to address the pervasive problem of repetitive and often messy validation code in CLI tools. The author was motivated by the observation that nearly every CLI tool reinvents the wheel with similar validation patterns for dependent options, mutually exclusive options, and environment-specific requirements. Optique leverages parser combinators and TypeScript's type inference to ensure that CLI arguments are parsed directly into valid configurations, eliminating the need for manual validation. By describing the desired CLI configuration with Optique, TypeScript automatically infers the types and constraints, catching potential bugs at compile time. The author shares their experience of deleting large chunks of validation code and simplifying refactoring tasks. Optique aims to provide a more robust and maintainable approach to CLI argument parsing, potentially saving developers from writing the same validation logic repeatedly.

Read more →
19
3
1
0
1
0
0
1
0
0