Better HN
topnewbestaskshowjobs
Log inSign up

micimize

435 karma · joined Sep 20, 2014 (12y ago) · 128 submissions

[ my public key: https://keybase.io/micimize; my proof: https://keybase.io/micimize/sigs/yglaJ1Gsnnq8tGZ6Sv0-HmwfCv-Am6A_h8I8SZusa7A ]
Submissions

comment 4y ago · link · parent

looking forward to a future safety-critical network protocol called appleshot

comment 4y ago · link · parent

I precisely constrained my usual intake to a known gram amount. Currently I have a clever made with 25g coffee beans. Overdoing it never helps my focus, so I rarely do, exception being if I get a large while traveling, but having a precise does at home really helps keep things from getting out of hand.

comment 4y ago · link · parent

For those looking to avoid this specific problem, there is a flake8 rule: https://pypi.org/project/flake8-no-implicit-concat.

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

This isn't true – the only billing system bug I've seen undercharged. Also if it was an overcharge, they would have made customer whole, whereas they wrote off the undercharge.

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

These forks may be done for security purposes for projects that use source-based build systems so that the depending project doesn't have 3rd party repo dependencies.

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

This easy-clean garlic press recommended by America's Test Kitchen: https://www.amazon.com/gp/product/B0000CD0HX

Clean-ability turned the press from a 1/mo to a near-daily usage frequency.

comment 5y ago · link · parent

Hopefully we'll eventually have better bridges for going between the live discussion and the persisted artifacts. Discord has lightweight threads now, so a thread <-> issue/discussion bridge like https://github.com/zulip/zulip/issues/12340 is viable there.

comment 5y ago · link · parent

Food quantity and timing, saunas, and caffeine regulation.

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

Wait but what happened? Did he do something about it after, like contact Sun saying "Stop! You have violated the law!" or whatever? If not, why on earth not?

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

"We are NOT developing rapamycin or metformin for dog aging. None of our drugs in development are a classic longevity drug that you will have heard of. Most have never been previously described as aging drugs." – https://twitter.com/celinehalioua/status/1398335368567480325

comment 5y ago · link · parent

Few things: 1 file != sloppy code. remoteok.io, like nomadslist, is fundamentally much more about marketing and network effects than the software. While that in and of itself is a lesson, sometimes a worthwhile idea is more complicated than a job board, or even what one can throw together for a hackathon.

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

> In his first post, Mr. Siskind shared his full name.

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.

– https://astralcodexten.substack.com/p/still-alive

comment 6y ago · link · parent

I'm not sure about postgrest, but with postgraphile you can control field exposure and add getters/setters fairly granularly.

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

It's like pedagogical fantasy, or like, narrative programming instead of literate programming.

In Neal Stephenson's Anathem there are monks that turn mathematical proofs into songs and other art, and it reminds me of that.

comment 6y ago · link · parent

I love aphyr's posts so much. Aside from just being super entertaining, they have a significant degree of pedagogical value. If one sets out to fathom these incantations, they will end up studying a large swath of under-appreciated languages and theory.

comment 6y ago · link · parent

This reminds me of a gtypist wrapper I made early in my career for typing over random quotes from custom sources like the dhammapada or the dao de jing: https://github.com/micimize/type-quotes

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

That's just been my experience – I remember having much more pains trying to get AWS IAMs and permissions to work, and I really like that they give you suggestions like "this machine could be smaller" or "this role never actually uses all these permissions."

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

There are other tradeoffs between cloud providers that are important to keep in mind here. In my experience, GCP has been easier to get started with, and has offerings that are by-and-large more comprehensible. One thing I really appreciate is that a lot of their client libs have automatic auth within GCP (last time I used AWS this wasn't the case or I didn't know about it).

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

For a functionalist, this and every other "more general AI might need X also" is expected. Like, humans need sleep, pain, anxiety, social mediation, etc to achieve our high level of generality. IMO, our base case should be that a sufficiently general AI will need them as well.

I'm very excited by the budding neuromorphic phase of generality research for these kinds of discoveries

comment 6y ago · link · parent

I find Zulip really promising, but lack of topic archival has always been troubling to me: https://github.com/zulip/zulip/issues/11154

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

sponsorship != donation. That's why github chose the former. Part of the copy in the sponsor dashboard is even:

> You can set sponsor tiers with different prices and rewards

comment 6y ago · link · parent

This is my understanding of what a G2-Item Anti-dependecy Cycle is from the linked paper example:

  -- 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

Hard forking a project to make use of the hard work the maintainers put in to it, then writing a post doing nothing but insulting those maintainer's decisions / preferences, is not a good look. Neither is throwing temper tantrums in issue threads: https://github.com/psf/black/issues/1178#issuecomment-565383...

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

I'm a big user of graphile - they've also got a pretty good starter boilerplate with auth, etc baked in: https://github.com/graphile/starter

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

I actually prototyped something similar a long time ago. It allowed for authoring sections that could be composed into a number of views. The only difference is that I wanted to capture the different "facets" of an article as well - so you could have a tab that was just the code, or statistics, etc.

You could possibly prototype with a coda template: https://coda.io/@michael-joseph-rosenthal/essayist

comment 6y ago · link · parent

I did my first graphql/flutter/dart development live coding session today: https://youtu.be/TnTOksZ3lUs

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

All of this doesn't undermine the fundamentals of the model I'm approaching the problem of online voting with. What is the potential upside, and is a system that reaps those benefits without compromising on security possible? I believe there are answers to most of these problems, providing you can restructure some aspects of voting.

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

But we've developed processes that allow us to have a functional online banking system. Similar processes might be possible for voting - such as a confirmation and triage period like with ACH transactions, but a month long or something.

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

Hmm, I hadn't fully grokked the facet of the problem domain. I guess you could give users a spoofing mode, that allowed them to fake any ballot / action. Or possibly, if there was a window of time in which they could change their ballot freely.

Maybe making such features both secure and accessible would be nearly impossible though.

12345