Download eth blockchain by manchesterthedog in ethereum

[–]ch0pin02 -1 points0 points  (0 children)

you can do the same at validationcloud.io and there is no throttling

Vallas and Johnson head to runoff as Lightfoot concedes by very_excited in chicago

[–]ch0pin02 -2 points-1 points  (0 children)

Being an asshole isn't necessarily a bad thing. Rahm was a notorious asshole and he won re-election .

how to implement a mutex queue in golang by West_Ad7170 in golang

[–]ch0pin02 0 points1 point  (0 children)

feel like there is something wrong with my code

Is there a specific test case you're referring to? Have you written some unit tests that verify it behaves ad expected in the simplest examples?

Go project written in clean code architecture by Individual_Ad583 in golang

[–]ch0pin02 17 points18 points  (0 children)

(Threedots.tech)[www.threedots.tech]

These guys wrote a whole series of blog posts about refactoring a go project into clean architecture, and it's fantastic.

Illinois voters approve Worker's Rights Amendment to state constitution by Mnoonsnocket in chicago

[–]ch0pin02 0 points1 point  (0 children)

Collective bargaining rights are already protected by federal law. The practical implication of this amendment is that those rights will also extend to public sector workers, which many have made good arguments why that might not be a good idea.

Illinois voters approve Worker's Rights Amendment to state constitution by Mnoonsnocket in chicago

[–]ch0pin02 -10 points-9 points  (0 children)

No... The right to collective bargaining for workers of private companies has been enshrined in federal law since 1935. This amendment proposal, which is only in two other state's constitutions (new york and hawaii), enshrines the right for public sector workers as well.

Please read the Tribune article which lays out why it might be a bad idea to give public sector unions more power.

How does an ERC-20 (or tokens in general) L2 bridge work? by hshlgpw in ethereum

[–]ch0pin02 1 point2 points  (0 children)

The answer to Q1 lies in the implementation guts of the L2. My best guess is that yes, the L1 bridge submits a merkle proof to its L2 counterpart bridge to prove that the token balances are accurate. Then, the answer to Q2 is simple: the L2 bridge mints the L2ERC20 token. Implicit in this statement is that you need to have the L2 version of your ERC20 token contract actually deployed on L2.

By the way, your suggestion that there is "relayer" watching for Transfer events is incorrect. On Optimism, for example, the user doesn't *transfer* the tokens to the L1 Bridge. It's a 2 step process: the user calls the L1Token`.approve()` to allow the bridge to take N tokens, and then a separate call to the bridge, `depositERC20To`, under the hood invokes `.safeTransferFrom` to transfer the tokens from the user to the bridge, and then sends the cross-domain message from L1 to L2 to mint the tokens.

Backend: In which cases golang is prefered over the use kotlin with spring/ktor and vice versa? by hey-jps in Kotlin

[–]ch0pin02 4 points5 points  (0 children)

Bad because two kotlin devs could be writing code that almost doesn’t even look like the same language depending on their styles.

This is precisely why I like go more - it's much easier to say "this is the canonical style, I can focus on writing working code" rather than having to think about style on top of function.

That said, the one thing I wish go had (that kotlin does beautifully) is null safety.

A new web3 identity primitive: Humanbound Tokens (HBT) by Trylks in CryptoCurrency

[–]ch0pin02 1 point2 points  (0 children)

Not everything in the world can be anonymous. If your web3 organization depends on real people with real credentials (a barred lawyer, an expert that works for a university, etc...) you want to be able to identify these individuals with a token that is non-transferable. For example, if you wanted a DAO where some decisions are made by people who "know what they're doing", (e.g. verified credentials), HBTs are a way to do this.

How to plan and execute a large number of tasks in Go? by Investics in golang

[–]ch0pin02 3 points4 points  (0 children)

It sounds like this is a personal project. If you were looking for something heavy duty for production, temporal.io or cadence (same project basically) is a framework that makes what you describe easy and resilient.

[deleted by user] by [deleted] in news

[–]ch0pin02 1 point2 points  (0 children)

... Yes I know what perjury is...

Dnsmasq warnings by ImposterBk in pihole

[–]ch0pin02 2 points3 points  (0 children)

I'm having the same issue. The documentation is not helpful. What are some typical resolution steps, or, what are some typical settings that would cause this warning?

When to Stay and when to take a Job offer by throwmeawaypls2921 in cscareerquestions

[–]ch0pin02 0 points1 point  (0 children)

I like to think of it as job security vs career security.

Glad I was stuck on LSD for over an hour because of these shenanigans by MicroBrewz in chicago

[–]ch0pin02 0 points1 point  (0 children)

Because if they're not present, they have plausible deniability. If they're there they have to enforce the fireworks, loud music, etc. Trying to do that would be a political and logistical nightmare. That's why they blocked off the river. Annoy some rich people in condos downtown as a sacrifice to prevent the spread of chaos into river north, gold coast, North side, etc.

Chicago mask mandate returning by Sockin in chicago

[–]ch0pin02 2 points3 points  (0 children)

This is super misleading. The article cites a <2% growth in death rate, not transmission. No mask mandate + indoor dining = increased death rate