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.

2
0
0
0
1

ๅผŠใผใฃใกใฏใ“ใ‚“ใชๆ„Ÿใ˜ใฎใ‚นใ‚ฏใƒชใƒ—ใƒˆใงmastodon/mastodonใฎmainใ‚’ใƒžใƒผใ‚ธใ—ใฆใƒ‡ใƒ—ใƒญใ‚คใ—ใฆใ‚‹ใ‚ˆ
https://gist.github.com/zunda/2189218dbf77e7f22c99094c567813a5#file-master-master-sh

0
0

์‹ ์•ˆ ์—ฌ๊ฐ์„  ์ขŒ์ดˆ ๋ฌด์Šจ ์ผ์ด์•ผ ์ „์› ๊ตฌ์กฐ๋ผ๋‹ˆ ๋„˜ ๋‹คํ–‰์ด๋‹คใ… ใ… ใ… ใ… ใ… 

0
1

@uberprutserRolingMetal @EUCommissionEuropean Commission

You want simplicity? How about this simple solution: you 100% absolutely and fully prohibit any citizen's private data being fed to any whatsoever under any circumstances. Can't get much simpler, no?

Can we put it on referendum to see which percentage of citizens would prefer that form of simplicity over your idea of "let's simply abolish last remains of privacy rights EU citizens still have so greedy companies will be able to bribe us better"?

0

Simplicity is on Europeโ€™s digital menu ๐Ÿช

Our new Digital Package could save businesses โ‚ฌ5 billion by 2029 and boost AI-driven innovation.

Hereโ€™s how โ†“

๐Ÿ“˜ Simplified rules on AI, cybersecurity and data
๐Ÿ“ˆ Data Union Strategy to support AI leadership
๐Ÿ“ฑEuropean Business Wallet to cut red-tape and facilitate cross-border operations

By simplifying digital rules, we can lower costs and unlock innovation โ€“ all while safeguarding privacy, fairness, and security.

โ†’ link.europa.eu/crNTV4

A split image showing two stylised cookies. The cookie on the left is covered with labels such as โ€˜analytics,โ€™ โ€˜advertising,โ€™ โ€˜tracking,โ€™ โ€˜partners,โ€™ and โ€˜preferences.โ€™ The cookie on the right has a single label reading โ€˜Your choice.โ€™ Below them is the text โ€˜Simpler digital rules,โ€™ with the European Commission logo in the bottom right corner.
0
0
0

Simplicity is on Europeโ€™s digital menu ๐Ÿช

Our new Digital Package could save businesses โ‚ฌ5 billion by 2029 and boost AI-driven innovation.

Hereโ€™s how โ†“

๐Ÿ“˜ Simplified rules on AI, cybersecurity and data
๐Ÿ“ˆ Data Union Strategy to support AI leadership
๐Ÿ“ฑEuropean Business Wallet to cut red-tape and facilitate cross-border operations

By simplifying digital rules, we can lower costs and unlock innovation โ€“ all while safeguarding privacy, fairness, and security.

โ†’ link.europa.eu/crNTV4

A split image showing two stylised cookies. The cookie on the left is covered with labels such as โ€˜analytics,โ€™ โ€˜advertising,โ€™ โ€˜tracking,โ€™ โ€˜partners,โ€™ and โ€˜preferences.โ€™ The cookie on the right has a single label reading โ€˜Your choice.โ€™ Below them is the text โ€˜Simpler digital rules,โ€™ with the European Commission logo in the bottom right corner.
0

โ€‹:ohayoo:โ€‹ ไบบใŒๅคšใ„ใจใ„ใ‚ใ‚“ใชใƒˆใƒฉใƒ–ใƒซใ‚ใ‚‹ใ‚ˆใญโ€‹:ameownodfast:โ€‹ ใพใไป•ๆ–นใชใ„ใ‹ใชใ€‚ใฟใ‚“ใชๆ‚ชๆฐ—ใŒใ‚ใฃใฆใ‚„ใฃใฆใ„ใ‚‹ใ‚ใ‘ใ˜ใ‚ƒใชใ„ใ—ใ€‚โ€‹:meowmelt:โ€‹

1

Simplicity is on Europeโ€™s digital menu ๐Ÿช

Our new Digital Package could save businesses โ‚ฌ5 billion by 2029 and boost AI-driven innovation.

Hereโ€™s how โ†“

๐Ÿ“˜ Simplified rules on AI, cybersecurity and data
๐Ÿ“ˆ Data Union Strategy to support AI leadership
๐Ÿ“ฑEuropean Business Wallet to cut red-tape and facilitate cross-border operations

By simplifying digital rules, we can lower costs and unlock innovation โ€“ all while safeguarding privacy, fairness, and security.

โ†’ link.europa.eu/crNTV4

A split image showing two stylised cookies. The cookie on the left is covered with labels such as โ€˜analytics,โ€™ โ€˜advertising,โ€™ โ€˜tracking,โ€™ โ€˜partners,โ€™ and โ€˜preferences.โ€™ The cookie on the right has a single label reading โ€˜Your choice.โ€™ Below them is the text โ€˜Simpler digital rules,โ€™ with the European Commission logo in the bottom right corner.
0
0
1

Simplicity is on Europeโ€™s digital menu ๐Ÿช

Our new Digital Package could save businesses โ‚ฌ5 billion by 2029 and boost AI-driven innovation.

Hereโ€™s how โ†“

๐Ÿ“˜ Simplified rules on AI, cybersecurity and data
๐Ÿ“ˆ Data Union Strategy to support AI leadership
๐Ÿ“ฑEuropean Business Wallet to cut red-tape and facilitate cross-border operations

By simplifying digital rules, we can lower costs and unlock innovation โ€“ all while safeguarding privacy, fairness, and security.

โ†’ link.europa.eu/crNTV4

A split image showing two stylised cookies. The cookie on the left is covered with labels such as โ€˜analytics,โ€™ โ€˜advertising,โ€™ โ€˜tracking,โ€™ โ€˜partners,โ€™ and โ€˜preferences.โ€™ The cookie on the right has a single label reading โ€˜Your choice.โ€™ Below them is the text โ€˜Simpler digital rules,โ€™ with the European Commission logo in the bottom right corner.
0

Simplicity is on Europeโ€™s digital menu ๐Ÿช

Our new Digital Package could save businesses โ‚ฌ5 billion by 2029 and boost AI-driven innovation.

Hereโ€™s how โ†“

๐Ÿ“˜ Simplified rules on AI, cybersecurity and data
๐Ÿ“ˆ Data Union Strategy to support AI leadership
๐Ÿ“ฑEuropean Business Wallet to cut red-tape and facilitate cross-border operations

By simplifying digital rules, we can lower costs and unlock innovation โ€“ all while safeguarding privacy, fairness, and security.

โ†’ link.europa.eu/crNTV4

A split image showing two stylised cookies. The cookie on the left is covered with labels such as โ€˜analytics,โ€™ โ€˜advertising,โ€™ โ€˜tracking,โ€™ โ€˜partners,โ€™ and โ€˜preferences.โ€™ The cookie on the right has a single label reading โ€˜Your choice.โ€™ Below them is the text โ€˜Simpler digital rules,โ€™ with the European Commission logo in the bottom right corner.
0
1

Simplicity is on Europeโ€™s digital menu ๐Ÿช

Our new Digital Package could save businesses โ‚ฌ5 billion by 2029 and boost AI-driven innovation.

Hereโ€™s how โ†“

๐Ÿ“˜ Simplified rules on AI, cybersecurity and data
๐Ÿ“ˆ Data Union Strategy to support AI leadership
๐Ÿ“ฑEuropean Business Wallet to cut red-tape and facilitate cross-border operations

By simplifying digital rules, we can lower costs and unlock innovation โ€“ all while safeguarding privacy, fairness, and security.

โ†’ link.europa.eu/crNTV4

A split image showing two stylised cookies. The cookie on the left is covered with labels such as โ€˜analytics,โ€™ โ€˜advertising,โ€™ โ€˜tracking,โ€™ โ€˜partners,โ€™ and โ€˜preferences.โ€™ The cookie on the right has a single label reading โ€˜Your choice.โ€™ Below them is the text โ€˜Simpler digital rules,โ€™ with the European Commission logo in the bottom right corner.
0

Simplicity is on Europeโ€™s digital menu ๐Ÿช

Our new Digital Package could save businesses โ‚ฌ5 billion by 2029 and boost AI-driven innovation.

Hereโ€™s how โ†“

๐Ÿ“˜ Simplified rules on AI, cybersecurity and data
๐Ÿ“ˆ Data Union Strategy to support AI leadership
๐Ÿ“ฑEuropean Business Wallet to cut red-tape and facilitate cross-border operations

By simplifying digital rules, we can lower costs and unlock innovation โ€“ all while safeguarding privacy, fairness, and security.

โ†’ link.europa.eu/crNTV4

A split image showing two stylised cookies. The cookie on the left is covered with labels such as โ€˜analytics,โ€™ โ€˜advertising,โ€™ โ€˜tracking,โ€™ โ€˜partners,โ€™ and โ€˜preferences.โ€™ The cookie on the right has a single label reading โ€˜Your choice.โ€™ Below them is the text โ€˜Simpler digital rules,โ€™ with the European Commission logo in the bottom right corner.
0
1
0
1

Simplicity is on Europeโ€™s digital menu ๐Ÿช

Our new Digital Package could save businesses โ‚ฌ5 billion by 2029 and boost AI-driven innovation.

Hereโ€™s how โ†“

๐Ÿ“˜ Simplified rules on AI, cybersecurity and data
๐Ÿ“ˆ Data Union Strategy to support AI leadership
๐Ÿ“ฑEuropean Business Wallet to cut red-tape and facilitate cross-border operations

By simplifying digital rules, we can lower costs and unlock innovation โ€“ all while safeguarding privacy, fairness, and security.

โ†’ link.europa.eu/crNTV4

A split image showing two stylised cookies. The cookie on the left is covered with labels such as โ€˜analytics,โ€™ โ€˜advertising,โ€™ โ€˜tracking,โ€™ โ€˜partners,โ€™ and โ€˜preferences.โ€™ The cookie on the right has a single label reading โ€˜Your choice.โ€™ Below them is the text โ€˜Simpler digital rules,โ€™ with the European Commission logo in the bottom right corner.

@EUCommissionEuropean Commission
Are you kidding us? You are demolishing our digital rights and have the audacity to try and sell it back to us as a nice little improvement? A mere simplification?!

Has it become too hard for you to advocate for people's rights? Our rights? Does putting businesses over people and caving in to corporate greed make everything SIMPLER for you? Is that the simplification you are really talking about?

Well, let me tell you, we won't SIMPLY forget that! We will vote again some day.

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

@alexmu But we do know the right level! They are the boundaries at which we accept the user data coming from outside the system. For example in Haskell or Java, I'd propagate such errors to a boundary and make a decision there instead of crashing at somewhere deep in in the program. I think it is a culture thing.

very long blather about rust errors

@abnvAbhinav ๐ŸŒ @alexmu so .. folks don't always discuss this in presentations of rust errors (and I'm not here to totally defend where rust errors wound up) but the question of recovery boundaries was _central_ to the design discussions and iterations.

many of us had experienced working in C++ (or eg. Java) where "pervasive exceptions from any possible expression" + "lots of mutable state that touches all other mutable state" meant that there was rarely any place in a real-world try/catch programs where a catch would actually wind up with a program in a safe, non-corrupt state.

(there's a whole literature about this in C++ called "exception safely levels" -- en.wikipedia.org/wiki/Exceptio -- which of course nothing can check or reason about statically and most programs completely fail to adhere to. It's extremely hard to even consistently write exception-safe C++ destructors.)

in addition, there are a bunch of things in C++ at least that _don't_ throw, but _do_ kill the process. and that's going to be true in most systems languages. rust has unsafe! and if you segfault or execute an illegal instruction your process is toast.

given that, we saw and continue to see a lot of programs adopt "process boundary" as the safe(r) boundary for "major error recovery". web browsers and many network servers for example tend to do process separation. so there was an argument that "unrecoverable error that kills the process" is probably a good primitive concept to include, and for super-pervasive errors they should probably be routed into there.

but of course, not all errors are fatal, and some are a bit more "expected" and _some_ seem meaningfully recoverable (eg. see the distinctions between checked and unchecked exceptions in Java), and so we iterated a bunch on the question of lesser types of error (including a condition-handling system a bit more like common lisp) and ultimately landed on the result type, and a copy of Swift's ? operator for propagating it, which is .. eh .. ok? not great but at least fairly explicit and well-marked, and easier to reason about than "every expression everywhere might throw mid-evaluation".

the result is a bit of a muddle. error and result shipped with too little support for abstraction and composition, and there are probably too many ways to panic, and unwinding and unwind-catching is a thing of arguable utility (I'd kinda prefer to remove both). but the whole design does have a rationale behind it, it's not just foolishness. at worst I'd say "they shipped something incomplete under time pressure and limited information about how it'd wind up being used".

0
0
0
0

ไฟบใ€ๆฌกใซใ„ใ„ใ“ใจใŒๅฟ…่ฆใซใชใฃใŸใ‚‰ใƒ‘ใƒณใ‚ฑใƒผใ‚ญใƒฌใƒณใ‚บ่ฒทใ†ใ‚“ใ โ€ฆ

0
0
0
0
0
0
0
0

ใใฃใกใฎใƒ‘ใƒณใ‚ฑใƒผใ‚ญใ‚‚ใ„ใ„ใชใจๆ€ใฃใŸใ‚‰ใƒฏใƒƒใƒ•ใƒซใฎๅ†™็œŸใ—ใ‹่ฆ‹ใคใ‘ใ‚‰ใ‚Œใชใ‹ใฃใŸใชโ†

Ken's House of PancakesใฎใƒใƒŠใƒŠใƒฏใƒƒใƒ•ใƒซ
0
0
0
0
0
0
0
0
0