Better HN
topnewbestaskshowjobs
Log inSign up

DandyDev

809 karma · joined Sep 28, 2011 (15y ago) · 263 submissions

[ my public key: https://keybase.io/dandy; my proof: https://keybase.io/dandy/sigs/f9hZ-r5W3dhYxKx3uc1itA_aeF-_T-TN_OfibSDOUos ]

https://github.com/DonDebonair

Submissions

comment 4y ago · link · parent

Sources for this claim?

comment 4y ago · link · parent

"Going to end in disaster" -> that's hyperbole

The fact that the Belgian and Dutch governments label these predatory microtransaction schemes as gambling, shows that they understand the subject matter perfectly fine.

Yes, you and I can sensibly choose not to play those games or spend money on them. But lots of people can't. That's why laws regulating gambling exist.

Nobody is saying that you can't play these games. Those gaming companies just have to accept that their products are a form of gambling and will be regulated and taxed as such.

comment 4y ago · link · parent

But then it would be on par with Flask, both performance wise and with regards to integration with third party libraries. That is how I'm currently using FastAPI, with regular sync SQLAlchemy for example.

The difference is that even without the benefits of async, FastAPI offers a vastly better developer experience IMHO, with its integration with Pydantic, Python type hints and the lack of reliance on global objects

184.

Statement on Removal of Mercedes Lackey from the Nebula Conference(sfwa.org ↗)

1 points · by DandyDev · 4y ago · discuss

comment 4y ago · link · parent

With the risk of feeding a troll: can I ask you why you're so angry in every comment? You're almost hateful. I want to understand what makes you act like this, why you think the makers of Fig deserve this kind of response and how you think your comments contribute something positive to the discourse here on HN.

comment 4y ago · link · parent

$5/mo for 10 accounts is $50/mo in total. I don't know where you got the $500/mo from.

And that is a very reasonable price for a core service like email and not selling you data

comment 4y ago · link · parent

direnv actually won't run anything until you explicitly allow it to. And if the .env file changes, you have to re-allow direnv to read and execute it.

Seems safe to me

comment 4y ago · link · parent

This makes it sound so easy, but in my experience, permanent staging environments exist because setting up disposable staging environments is too complex.

How do you deal with setting up complex infrastructure for your disposable staging environment when your system is more complex than a monolithic backend, some frontend and a (small) database? If your system consists of multiple components with complex interactions, and you can only meaningfully test features if there is enough data in the staging database and it's _the right_ data, then setting up disposable staging environments is not that easy.

comment 4y ago · link · parent

I'm confused as well. How can you run an RDS instance alone for 7 people for $150 a month? Let alone the other infra? You probably need a VPC on each account, with a NAT Gateway, which easily costs $20/month or so.

comment 4y ago · link · parent

While you're right about European investors being risk averse, it's not generally true that American VCs won't talk to European founders. I'm an early employee at an early stage company (1,5 years old), incorporated in The Netherlands and we have raised a $2M pre-seed round and recently a $10M seed round both led by American VCs.

191.

AWS IAM Demystified(daan.fyi ↗)

3 points · by DandyDev · 4y ago · discuss

comment 4y ago · link · parent

Question: what is "ideological" about the facts stated in the README? Putin invaded Ukraine. Lives are at stake. Being against that is no more ideological than the need for you and me to eat and sleep.

193.

Source makes greenhouses smarter to secure the future of food supply(techcrunch.com ↗)

1 points · by DandyDev · 4y ago · discuss

comment 4y ago · link · parent

Hey samjs, we've been using Oso at Source.ag for a month or so, and we're really happy with it! Precisely the fact that you solve authorization on a resource level and implement filtering on the DB level, makes it super useful!

The biggest gripe we have, is lack of support for SQLAlchemy 2.0 style queries and lack of support for DB & Python enums as role names

We had a chat with Graham who told us about your upcoming cloud offering. Looking forward to that!

comment 4y ago · link · parent

I have used 1Password since way before the cloud version became the default. I loved the product... and I still do! I moved to the cloud version and the experience has been really slick.

I actually think the product is well thought-out and designed. There are some website where it refuses to work, but these are in the minority, and I blame the websites for breaking 1Password, not 1Password.

Also "a nightmare" -> this feels like an unnecessary hyperbole

196.

Setting up an AWS multi-account strategy for fun nor profit(daan.fyi ↗)

1 points · by DandyDev · 4y ago · discuss

comment 4y ago · link · parent

Because you'd like use the Python ecosystem, for example for writing ML code, but you'd also like to write typesafe code (or rather typechecked, using mypy)

comment 4y ago · link · parent

This is very cool. Sad that it only works for NPM packages. Would love this for PyPI packages

comment 4y ago · link · parent

The "covidiots", as you call them, seem to be everywhere, at least going by what's happening on social media right now.

House prices are also a common and global problem. At least in urban areas around the world.

The lack of mountains is objectively true.

The lack of nature is subjective. If only you dare go outside of the Randstad. I originally lived in Limburg and I now live in Zandvoort. Both have plenty of non-farmland nature.

With regards to the bad weather: it only rains for 10% of the time in The Netherlands, so it's not that bad.

200.

Customzing Pyenv Behavior with Hooks(daan.fyi ↗)

1 points · by DandyDev · 5y ago · discuss

comment 5y ago · link · parent

Article author here. To me the big advantage of Protocols as opposed to ABCs, is that you don't have to have your classes implement a special base class and can instead focus on the _consuming_ code. Using a Protocol for a function parameter works even for passing in objects of classes you don't control.

comment 5y ago · link · parent

Article author here. You're absolutely right of course! Thanks for pointing this out. I immediately fixed it.

203.

Static Duck Typing in Python with Protocols(daan.fyi ↗)

3 points · by DandyDev · 5y ago · discuss

comment 5y ago · link · parent

Super informative article, thanks for that!

It comes to the same conclusions that I intuitively had as well:

- EKS if you really have to use k8s - ECS if you have a modicum of complexity but still want to keep it simple - AppRunner if you just want to run a container

comment 5y ago · link · parent

My experience with ECS is quite okay. You start a cluster, stick a container on it through a task and optionally a service + load balancer and it just works.

It doesn't seem any harder than EKS, and it's mostly cheaper.

I also find some comments on this article about vendor lock-in dubious, because in the end it's a bunch of containers created from Dockerfiles, which you can easily reuse elsewhere.

comment 5y ago · link · parent

Even without using reserved instance pricing, ECS on EC2 is much cheaper, isn't it? At work we use Hasura, which is written in Haskell and cannot be (easily?) run as a Lambda. Our alternative solution is to run it as a container on ECS. Given that it's a permanently running service, with Fargate we'd pay just to have it sit idle for half of the time, and Fargate is not cheap.

Even when running non-reserved EC2 instances to make up our ECS cluster, it is cheaper than using Fargate.

comment 5y ago · link · parent

Is this sort of sweeping generalization really necessary? I can tell you that it's not true in any case. I'm one of those Mac users that doesn't complain about performance, because I rarely see the spinning beach ball.

comment 5y ago · link · parent

Localstack Pro looks quite nice and comprehensive, but the CI pricing seems to really discourage proper continuous integration best practices. At 10 cents per run you're encouraging developers to run their CI pipelines as little as possible, while ideally you'd run CI on each commit and you'd commit often, probably 10s is times a day. In that case Localstack Pro for CI would get costly very quickly.

Why not have CI pricing per project/repo. Regardless of how often it runs.

209.

How to Add an RSS Feed to a NextJS Blog(daan.fyi ↗)

1 points · by DandyDev · 5y ago · discuss

comment 5y ago · link · parent

I don't think the claim is that Python is a good replacement for C. But there are probably more (business) problems for which Python is the right tool to solve it then problems for which C is the right tool.

C is also a lot harder than Python to learn.

So for these reasons there are more Python programmers than C programmers.

For some subset of problems for which C is a good tool, Rust is a good alternative, arguably with less foot guns. For some other problems that are solved with C, Golang is a good alternative.

So in the end C is losing marketshare because of all these reasons.

1
56789