487 karma · joined May 14, 2010 (16y ago) · 54 submissions
Former CTO of Democracy Works, Inc. Currently a Senior Developer at Harper.
[ my public key: https://keybase.io/wesmorgan; my proof: https://keybase.io/wesmorgan/sigs/SruzQSLSDqABvVg1jXxtWS9_iBBZMouTYcmOfjbb3dY ]
comment 3y ago · link · parent
comment 4y ago · link · parent
https://gimletmedia.com/shows/science-vs/dvheexn/coronavirus...
Gives you some good additional questions to ask when reports like this come out.
6.
Solid-State Batteries Are Here and They're Going to Change How We Live(popularmechanics.com ↗)
5 points · by cap10morgan · 4y ago · discuss
comment 5y ago · link · parent
comment 6y ago · link · parent
It gets into the deeper motivation behind not breaking backwards compatibility within the same-named module. There are two bad extremes here:
1. Never update dependency versions for fear of breakage. This leaves you open to security vulnerabilities (that are easy to exploit because they are often thoroughly documented in the fixed version's changelog / code). And/or you're stuck with other bugs / missing features the upstream maintainer has already addressed.
2. Always just updating all deps to latest and hoping things don't break, maybe running the test suite and doing a "smoke test" build and run if you're lucky. Often a user becomes the first to find a broken corner case that you didn't think to check but they rely on.
The approach outlined by Rich Hickey in that Spec-ulation talk I linked to allows you to be (relatively) confident that a package with the same name will always be backwards-compatible and you can track the latest release and find a happy middle ground between those two extremes.
Go's approach is one of the few (only?) first-class implementations of this idea in a language's package system (in Clojure, perhaps ironically, this is merely a suggested convention). The Go modules system has its fair share of confusing idiosyncrasies, but this is one of my favorite features of it and I hope they stick to their guns.
comment 6y ago · link · parent
They’re trying not to break compatibility until a downstream developer explicitly opts in to that breakage. The simplest way to do that is to give the module a new name. And the simplest way to do that is append the major version to the name.
Here is the post: https://blog.golang.org/v2-go-modules
For more background on this principle, I recommend Rich Hickey’s Clojure/conj keynote “Spec-ulation” from 2016: http://blog.ezyang.com/2016/12/thoughts-about-spec-ulation-r...
comment 6y ago · link · parent
This took me a second to correctly parse. Would have been better written as: “During a brownout, password authentication will temporarily fail. This is to alert users who haven't migrated their authentication calls.”
comment 6y ago · link · parent
But yes, if GitHub is down, then your workflow is going to change. We're hoping to close that gap down the road, but having a way to continue pushing and pulling with collaborators with a very quick setup seemed compelling to us. Not to mention the benefits that decentralization itself brings.
The vast majority of git users tend to agree on one "origin" remote and 99-100% of their pushes and pulls are to/from that remote. So git, in practice, tends to be centralized when it comes time to collaborate with others. We're trying to re-decentralize that aspect while accommodating the convenient workflows we're all used to.
comment 6y ago · link · parent
comment 6y ago · link · parent
But to answer your question, anyone can host Sia nodes. Here are their docs on that: https://support.sia.tech/category/0OpBuOHIVD-hosting
comment 11y ago · link · parent
If there isn't one, I may have to write it. It sounds really trippy.
comment 13y ago · link · parent
Still pretty new, and in closed beta. But it adds an interesting threading/topic model onto the typically chaotic stream of most group chat apps.
comment 14y ago · link · parent
A. The corporations that have the most power in this industry have lobbied for and gotten a consumer-hostile regulatory regime. B. It's the government's fault that the regulations are less than ideal. Therefore the consumer would be best served by getting the government out of it.
This is like saying, "The problem with being stranded in the desert is the lack of water. Therefore water is the problem. Therefore we should remove all the water from the desert."
24.
Opal - Ruby to Javascript compiler(opalrb.org ↗)
130 points · by cap10morgan · 14y ago · 49 comments
comment 14y ago · link · parent
Though I see they're using the prawn gem to do it here: https://github.com/democrats/voter-registration/blob/master/...
Last time I checked, prawn wasn't quite powerful enough for this use case. I'll have to revisit that approach.
comment 14y ago · link · parent
We were allowed to open-source some infrastructure code back then: https://github.com/dnclabs
Hopefully they'll continue working on this tool and make it something worth using and contributing to. I've tried to convince several political orgs. I worked for in the past to do this, but so far none have bitten.