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

์–ด๋ฆฐ์ด๋‚  ๊ธฐ๋… ์œ ๋ฆฌ ๊ฐ€๋“  ์–ด๋ฆฐ์ด ์ปค๋ฏธ์…˜์ด๋‚˜ ๋„ฃ์–ด๋ณผ๊นŒ ํ•˜๋‹ค๊ฐ€ ์ด๋ฏธ ๊ต๋ณต๋น„์Šค๋ฌด๋ฆฌํ•œ๊ฒƒ๋„ ์ž…๊ณ  ์žˆ์–ด์„œ ๊ตณ์ด ์‹ถ๊ตฐ

๋…ธ๋™์ ˆ ๊ธฐ๋… ์ผํ•˜๋Š” ์œ ๋ฆฌ ๊ฐ€๋“ ์ด๋‚˜ ์‹ ์ฒญํ• ๊ป„
โ€‹:blobcatgooglynotlikethis:โ€‹

@pbzweihander@yuri.garden์ฏ”๋ฐฉ :yuri: :yurigarden: :garden: ๋…ธ๋™์ ˆ ๊ธฐ๋… "๋‹จ๊ฒฐ โœŠ ํˆฌ์Ÿ" ๋จธ๋ฆฌ๋  ๋งค๊ณ  "์—ฌ์„ฑ์˜ ์—ฐ๋Œ€ | ํ•ด๋ฐฉ์˜ ์„ ๋ด‰" ์จ ์žˆ๋Š” ์กฐ๋ผ ์ž…๊ณ  ์–ด๊นจ ๊ฑธ๊ณ  ํŒ”๋š์งˆํ•˜๋ฉฐ ๋ฏผ์ค‘๊ฐ€์š” ๋ถ€๋ฅด๋Š” ์œ ๋ฆฌ ๊ฐ€๋“ 

"์œ ๋ฆฌ์˜ ์œ ๋Š” ์œ ๋‹ˆ์˜จ์˜ ์œ "

0

Compiling Haskell into Lean: A common abstract syntax for Haskell and interactive theorem provers. ~ Talitha Holcombe. digitalcommons.chapman.edu/eec

Compiling Haskell into Lean: A Common Abstract Syntax for Haskell and Interactive Theorem Provers

In this work, we introduce a program conversion tool, HS-TO-LEAN, that uses GHC's ghc-lib-parser API to translate Haskell programs into Lean code, which is then validated by the Lean compiler. The repo can be found at https://github.com/holcombet/hs-to-lean/tree/main. The result is a successful compilation of a fragment of Haskell into correct and executable Lean code that users can prove theorems about. We conducted a case study using a heap sort algorithm to support our claim that HS-TO-LEAN produces verifiable Lean code. Our approach is inspired by recent advances in formal verification of Haskell programs in Coq, and we currently restrict our attention to total Haskell. The compiler produces an AST that serves as a common level of abstraction between a fragment of Haskell and Lean. The abstract common fragment promotes translation between languages by simplifying and restructuring GHC's original AST, improving the readability and linearization of the AST. Future work on HS-TO-LEAN will extend the compiler to translate to other interactive theorem provers, including Coq, Agda, and Isabelle, making it portable and accessible to a range of verification efforts and communities. Future work also includes implementing bidirectionality, supporting the translation of Haskell code to a target proof assistant and vice versa. This method will expose an interesting level of abstraction that is applicable to all of the languages involved and produce a more maintainable compiler. These results contribute to the ongoing work in the formalization and verification of mathematics and programming and present a viable approach to unifying the formal systems of different proof assistants.

digitalcommons.chapman.edu ยท Chapman University Digital Commons

0
0
0

ๅคงๅฎถ้‚ฃ้บผๆ€ฅๅฟ™ๅœฐๅŽปๆ›ๅŒฏ็พŽ้‡‘๏ผŒๆ˜ฏไธๆ˜ฏๅคงๅฎถ้ƒฝไธ€ๆฌกๆ›็™พ่ฌๅ•Š๏ผŒ่ฆไธ็„ถๅทฎ่ทไนŸ้‚„ๅฅฝๅ•Š (ๅ’ฆ

0

่ชช่ตทไพ†ไธญๅœ‹ๅœ‹ๆฐ‘้ปจไนŸไธๆ˜ฏๅœ‹ๆฐ‘้ปจ
ๅฐฑๅฅฝๅƒ้˜ฟๅŒ—็š„ๆฐ‘็œพ้ปจไธๆ˜ฏ่”ฃๆธญๆฐด็š„ๆฐ‘็œพ้ปจ :doge:

@voyagerMJ+ ็ธฝๆ„Ÿ่ฆบไธๅฐๅŽปๆŸฅไบ†ไธ‹โ€ฆ

ไธญๅœ‹็š„ๅœ‹ๆฐ‘้ปจๅซไธญๅœ‹ๅœ‹ๆฐ‘้ปจ้ฉๅ‘ฝๅง”ๅ“กๆœƒ๏ผŒๅฐ็ฃ็š„ๅœ‹ๆฐ‘้ปจๅซไธญๅœ‹ๅœ‹ๆฐ‘้ปจ :neocat_sip_glare:

0
0
0

Update error Nodebb v4.3.0

KirillJsx @kirilljsx@community.nodebb.org

<p>Hello everyone! I encountered this problem when updating, it swears at <code>Eslint</code></p> <p>The error occurs due to a version conflict between eslint package versions between different dependencies.</p> <pre><code>admin@:~/projects/nodebb$ ./nodebb build Dependencies outdated or not yet installed. Installing them now... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: nodebb@4.3.0 npm error Found: eslint@8.57.1 npm error node_modules/eslint npm error peer eslint@"^6.0.0 || ^7.0.0 || &gt;=8.0.0" from @eslint-community/eslint-utils@4.4.0 npm error node_modules/@eslint-community/eslint-utils npm error @eslint-community/eslint-utils@"^4.2.0" from eslint@8.57.1 npm error @eslint-community/eslint-utils@"^4.2.0" from eslint@9.18.0 npm error node_modules/nodebb-plugin-sso-oauth2-multiple/node_modules/eslint npm error eslint@"9.x" from nodebb-plugin-sso-oauth2-multiple@1.4.2 npm error node_modules/nodebb-plugin-sso-oauth2-multiple npm error nodebb-plugin-sso-oauth2-multiple@"^1.4.2" from the root project npm error peer eslint@"^7.32.0 || ^8.2.0" from eslint-config-airbnb-base@15.0.0 npm error node_modules/eslint-config-airbnb-base npm error eslint-config-airbnb-base@"15.0.0" from eslint-config-nodebb@0.2.1 npm error node_modules/eslint-config-nodebb npm error dev eslint-config-nodebb@"1.1.4" from the root project npm error 3 more (eslint-config-nodebb, eslint-plugin-import, nodebb-plugin-2factor) npm error npm error Could not resolve dependency: npm error dev @stylistic/eslint-plugin-js@"4.2.0" from the root project npm error npm error Conflicting peer dependency: eslint@9.26.0 npm error node_modules/eslint npm error peer eslint@"&gt;=9.0.0" from @stylistic/eslint-plugin-js@4.2.0 npm error node_modules/@stylistic/eslint-plugin-js npm error dev @stylistic/eslint-plugin-js@"4.2.0" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/admin/.npm/_logs/2025-05-05T09_37_06_860Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/admin/.npm/_logs/2025-05-05T09_37_06_860Z-debug-0.log Error installing dependencies! message: Command failed: npm install --omit=dev stdout: null stderr: null /home/admin/projects/nodebb/src/cli/package-install.js:138 throw e; ^ Error: Command failed: npm install --omit=dev at genericNodeError (node:internal/errors:983:15) at wrappedFn (node:internal/errors:537:14) at checkExecSyncError (node:child_process:889:11) at Object.execSync (node:child_process:961:15) at pkgInstall.installAll (/home/admin/projects/nodebb/src/cli/package-install.js:129:9) at Object.&lt;anonymous&gt; (/home/admin/projects/nodebb/src/cli/index.js:50:18) at Module._compile (node:internal/modules/cjs/loader:1434:14) at Module._extensions..js (node:internal/modules/cjs/loader:1518:10) at Module.load (node:internal/modules/cjs/loader:1249:32) at Module._load (node:internal/modules/cjs/loader:1065:12) { status: 1, signal: null, output: [ null, null, null ], pid: 295719, stdout: null, stderr: null } Node.js v22.2.0 </code></pre> <p>Found a solution - this will temporarily disable strict checking of peerDependencies:</p> <pre><code>npm install --omit=dev --legacy-peer-deps ./nodebb build </code></pre>

Read more โ†’
0
0
1

En als je dan zo half dommelend en wiegend in een trein zit te staren naar buiten, dan is er eigenlijk maar รฉรฉn gedicht om te onthouden ๐Ÿ“–

*Bericht aan de reizigers*
Bestijg de trein nooit zonder uw valies met dromen,
dan vindt ge in elke stad behoorlijk onderkomen.

Zit rustig en geduldig naast het open raam:
gij zijt een reiziger en niemand kent uw naam.

Zoek in 't verleden weer uw frisse kinderogen,
kijk nonchalant en scherp, droomrig en opgetogen.

Al wat ge groeien ziet op 't zwarte voorjaarsland,
wees overtuigd: het werd alleen voor u geplant.

Laat handelsreizigers over de filmcensuur
hun woordje zeggen: God glimlacht en kiest zijn uur.

Groet minzaam de stationschefs achter hun groen hekken,
want zonder hun signaal zou nooit รฉรฉn trein vertrekken.

En als de trein niet voort wil, zeer ten detrimente
van uwe lust en hoop en zuurbetaalde centen,

Blijf kalm en open uw valies; put uit zijn voorraad
en ge ondervindt dat nooit een enkel uur te loor gaat.

En arriveert de trein in een vreemdsoortig oord,
waarvan ge in uw bestaan de naam nooit hebt gehoord,

Dan is het doel bereikt, dan leert gij eerst wat reizen
betekent voor de dolaards en de ware wijzen...

Wees vooral niet verbaasd dat, langs gewone bomen,
een doodgewone trein u voert naar 't hart van Rome.

-----------------------------------------
uit: Verzamelde Gedichten (1964)
Schrijver: Jan van Nijlen

0

En als je dan zo half dommelend en wiegend in een trein zit te staren naar buiten, dan is er eigenlijk maar รฉรฉn gedicht om te onthouden ๐Ÿ“–

*Bericht aan de reizigers*
Bestijg de trein nooit zonder uw valies met dromen,
dan vindt ge in elke stad behoorlijk onderkomen.

Zit rustig en geduldig naast het open raam:
gij zijt een reiziger en niemand kent uw naam.

Zoek in 't verleden weer uw frisse kinderogen,
kijk nonchalant en scherp, droomrig en opgetogen.

Al wat ge groeien ziet op 't zwarte voorjaarsland,
wees overtuigd: het werd alleen voor u geplant.

Laat handelsreizigers over de filmcensuur
hun woordje zeggen: God glimlacht en kiest zijn uur.

Groet minzaam de stationschefs achter hun groen hekken,
want zonder hun signaal zou nooit รฉรฉn trein vertrekken.

En als de trein niet voort wil, zeer ten detrimente
van uwe lust en hoop en zuurbetaalde centen,

Blijf kalm en open uw valies; put uit zijn voorraad
en ge ondervindt dat nooit een enkel uur te loor gaat.

En arriveert de trein in een vreemdsoortig oord,
waarvan ge in uw bestaan de naam nooit hebt gehoord,

Dan is het doel bereikt, dan leert gij eerst wat reizen
betekent voor de dolaards en de ware wijzen...

Wees vooral niet verbaasd dat, langs gewone bomen,
een doodgewone trein u voert naar 't hart van Rome.

-----------------------------------------
uit: Verzamelde Gedichten (1964)
Schrijver: Jan van Nijlen

#interrail #europeantraintravel #citytrip

0

The Rolling Stone article doing the rounds has all the horror stories I've been afraid were going to happen in the interaction between LLMs and people without the ability to critically analyse the limitations of LLMs, except the scariest one of all: what happens when politicians start uncritically employing LLMs to make policy decisions.

We're not prepared for this as a society, and we need to start having these conversations right now before we destroy ourselves. LLMs may seem like cool toys or tools to you with your fancy critical thinking abilities, but a great many people are not equipped to deal with a machine that spews out platitudes on command so statistically credible they can't tell there's no intelligence behind them.

And if you think OpenAI and the likes are going to regulate this for us instead of continuing to rake in the cash, we're all the more doomed.

rollingstone.com/culture/cultu

0
0
0

ๅคงๅฎถ้‚ฃ้บผๆ€ฅๅฟ™ๅœฐๅŽปๆ›ๅŒฏ็พŽ้‡‘๏ผŒๆ˜ฏไธๆ˜ฏๅคงๅฎถ้ƒฝไธ€ๆฌกๆ›็™พ่ฌๅ•Š๏ผŒ่ฆไธ็„ถๅทฎ่ทไนŸ้‚„ๅฅฝๅ•Š (ๅ’ฆ

0
0
1

๋Œ“๊ธ€ ๋ง‰๊ธฐ ์˜ต์…˜์„ ๊ตฌํ˜„ํ•˜๋ ค๊ณ  ํ–ˆ๋”๋‹ˆ, ์—ฐํ•ฉ์šฐ์ฃผ์—์„œ ๋Œ“๊ธ€์„ ๋ง‰์•˜๋‹ค๋Š” ๊ฒƒ์„ ๋‚˜ํƒ€๋‚ด๋Š” ํ•ฉ์˜๋œ ์†์„ฑ ๊ฐ™์€ ๊ฒŒ ์—†๋Š” ๊ฒƒ ๊ฐ™๋‹ค. ๋‚ด๊ฐ€ ๋ฉ‹๋Œ€๋กœ ์–ดํœ˜๋ฅผ ํ•˜๋‚˜ ์ •ํ•ด์„œ ์จ๋„ ๋˜๊ฒ ์ง€๋งŒโ€ฆ ์Œโ€ฆ

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

I'm going to say this one without the details, without a CW, because this *is* an indirect CW.

If you want my thoughts on how dire the situation is in the US for trans people (it's dire), the plan of genocide for trans people, and what you can do, I've assembled them into this thread: social.coop/@cwebber/114454468

I know looking at this stuff is hard but if you aren't paying attention, please do so. The safety of yourself and others you care about is likely on the line.

0
0
0
0
0
0
0
0

Iโ€™ve seen firsthand how much Lina has suffered, and how hard she fought to stay kind in the face of cruelty. Iโ€™m proud of her for telling the truth. Please listen to her.

I also hope Luna values her own life. Responding to pain with more harm only deepens the tragedy. There is always another path.

https://vt.social/users/lina/statuses/114453525309759623
0
0
0

uspol, the plan for trans genocide

With these in place:

- Trans people will be forcibly detransitioned, accesing medical care even for adults could be considered drug crimes
- Trans people using their post-transition identity information in work or legal contexts can be charged as felons for identity fraud
- Trans people entering restrooms not corresponding to their assigned-at-birth-gender can be arrested as *sexual predators*
- Trans people will be assigned to the *wrong prisons*

0
0
2