435 karma · joined Sep 20, 2014 (12y ago) · 128 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
More broadly, the https://codereview.doctors makers are making the point that their tool caught an easy-to-miss issue that most wouldn't think to add a rule for. A bit of an open question to me how many of those there really are at the language level, but still seems like a neat project.
comment 4y ago · link · parent
Microsoft doesn't really gain anything here – there's a clear "forked from" qualifier in the repo, they aren't republishing these packages, etc. The only people who noticed noticed in a negative light.
comment 4y ago · link · parent
As someone whose developed similar GH integrations, getting things right with their API is fairly tricky. What would actually be desirable is public-to-private forks so that the fork-dependency pattern is more enterprise friendly and this kind of confusion is mitigated.
comment 5y ago · link · parent
Clean-ability turned the press from a 1/mo to a near-daily usage frequency.
comment 5y ago · link · parent
comment 5y ago · link · parent
1. I find the quantity and timing of food is a big deal. Meals that are too large (especially carb-wise) can really mess with my energy levels, especially if its breakfast. This can be tricky to balance though, as hungry energy can exacerbate rabbit-holing issues and possibly protein intake targets.
2. I sauna routinely for 16-20 min and it always has a big impact on my energy levels.
3. I make my own coffee and always measure out precise gram amounts I try to avoid deviating from. Helps me avoid "oh I just need another half cup cause the last one was maybe weak -> caffeine agitation -> crash" cycle (I'm fairly sensitive to caffeine, personally).
comment 5y ago · link · parent
What's the point of publishing with a copyleft license if you aren't going to do anything when someone literally walks into your office and says "we at Big Corp are selling your work without any attribution?"
comment 5y ago · link · parent
comment 5y ago · link · parent
I feel a major problem in the culture of the programming community is that we feel the need for this kind of click-bait conviction. A bit too many blog posts fit the format "Nobody cares about your _____... Ultimately, there is no right or wrong approach."
comment 5y ago · link · parent
Absolutely incredible way to end this article, as if him "sharing" his full name had nothing to do with the whole fiasco:
> I wanted to protect my privacy, but I ended up with articles about me in New Yorker, Reason, and The Daily Beast. I wanted to protect my anonymity, but I Streisand-Effected myself, and a bunch of trolls went around posting my real name everywhere they could find. I wanted to avoid losing my day job, but ended up quitting so they wouldn't be affected by the fallout. I lost a five-digit sum in advertising and Patreon fees.
comment 6y ago · link · parent
Regardless, that's no reason to say it's "not a good idea at all." having a schema change ripple through the stack is just a trade-off, which is often even desirable. If engineers are shipping code to production with postgrest, and attributing it in part to their success, maybe reconsider the rigidity of your architectural thinking. https://paul.copplest.one/blog/nimbus-tech-2019-04.html#api-...
comment 6y ago · link · parent
I would warm up with a few quotes every day before programming as a way of both getting better at typing and deepening my understanding of the the philosophy
comment 6y ago · link · parent
Also I haven't worked _that_ much with firebase, but it seems like a great example of the benefit of using GCP. Firebase is a cohesive and accessible solution to a lot of what can be fairly nightmarish technical problems. This kind of thing will always depend on the project/team/team size, but I'm just trying to say that there are significant benefits to GCP that should be considered.
comment 6y ago · link · parent
As someone who hasn't been burned by it personally, it is hard to quantify the actual risk and maintenance cost of GCP's deprecation policy, but I know decision makers at larger organizations that are rightfully afraid of it.
comment 6y ago · link · parent
I'm very excited by the budding neuromorphic phase of generality research for these kinds of discoveries
comment 6y ago · link · parent
Aside from that, I think it's biggest potential killer feature is tight issue thread integration: https://github.com/zulip/zulip/issues/12340
Very exciting project
comment 6y ago · link · parent
-- Given (roughly) the following transactions:
-- Transaction 1 (SELECT, T1)
with all_employees as (
select sum(salary) as salaries
from employees
),
department as (
select department, sum(salary) as salaries
from employees group by department
)
select sum(all_employees.salaries) - sum(department.salaries);
-- Transaction 2 (INSERT, T2)
insert into employees (name, department, salary)
values ('Tim', 'Sales', 70000);
-- G2-Item is where the INSERT completes between all_employees and department,
-- making the SELECT result inconsistent
This is called an "anti-dependency" issue because T2 clobbers the data T1 depends on before it completes.They say Elle found 6 such cases in 2 min, which I'm guessing is a "very big number" of transactions, but can't figure out exactly how big that number is based on the included logs/results.
Also, "Elle has found unexpected anomalies in every database we've checked"
comment 6y ago · link · parent
Also if this developer wasn't so obsessed with bikeshedding, they could just edit the one bit of formatting code and republish. That way they could even rebase off of upstream if they wanted.
Personally, I much prefer black's indentation scheme. I also like spending as little time as possible agonizing over minutia like this.
comment 6y ago · link · parent
Have you tried it / do you have comparison points? I only poked around in Hasura a bit before deciding it wasn't worth the switching cost atm, but the out of the box upserts are compelling to me.
comment 6y ago · link · parent
You could possibly prototype with a coda template: https://coda.io/@michael-joseph-rosenthal/essayist
comment 6y ago · link · parent
My intent is to stream development of both the libraries I develop/contribute to (graphql_flutter, built_graphql, gql), as well as complete examples that I will deploy and release
comment 6y ago · link · parent
It's not something I would advocate implementing in the nearish term, but I do think work can and should be done on it's fundamental problems.
One if the best/most frequent arguments against online voting is that there will be exploits and individual votes can and will be tampered with. So, lets take that in isolation for a second. Lets say I have to cast a vote a month in advance. I can change it for another month, but perhaps only in person. Is that enough fraud mitigation? What if that period is a year long? What if my political positions have been known by this app for years, and a dramatic shift in their distribution sends an alert prompting confirmation processes?
Essentially, is there some level of triage/verification process at which the online vote is considered acceptably secure? Well, if so, then can it be made compatible with a system that ensures ballot secrecy?
To flesh out my overall thinking of this problem domain – my kind of dream/ideal future of democracy is a system in which the positions of the electorate are "simply known". Right now we clumsily take a partial pulse every 2-4 years. But, if we had a system where voting (and polling) was "passive", then we could see the shift in sentiment way easier. Tampering would show in the data, or else have to be maintained for long periods of time. Essentially, the further we move from instantaneous votes, the better the process should get across the board.
To get a bit soap-boxy, if representation is a right as opposed to a privilege, then deepening and broadening it is an obligation of the state. More aggressively accessible in-person voting options would be good, but in the long run nothing will beat technologically-enabled democracy... if we can figure it out.
comment 6y ago · link · parent
For vote buying, seems like all the software has to do is enable faking your vote to 3rd parties effectively. Hard, but seems doable.
Like, yes, it's a very hard problem. But we could stand to do more than scoff and write it off as impossible.
comment 6y ago · link · parent
Maybe making such features both secure and accessible would be nearly impossible though.