Better HN
topnewbestaskshowjobs
Log inSign up

brento

53 karma · joined Nov 28, 2012 (13y ago) · 60 submissions

@epicserve
Submissions

comment 2y ago · link · parent

Dj-beat-drop is more about making minimal changes to the official Django templates. It mainly involves standardizing to a config directory for configuration code and optionally using an `env` file and `uv` for package management.

By keeping things minimal, the chances of it getting accepted as an official Django project seem better. It would need to be renamed, of course, to something like django-installer or django-cli.

2.

Improving the New Django Developer Experience(epicserve.com ↗)

2 points · by brento · 2y ago · 2 comments

comment 4y ago · link · parent

I've updated the article based on some of the feedback.

comment 4y ago · link · parent

This is valid. I'll add an update to the post people should use caution and think about security.

comment 4y ago · link · parent

In the article, you'll notice I'm not using DRF.

comment 4y ago · link · parent

I would certainly make improvements to the script to optimize the serialization of the QuerySet to only output the needed fields. It's hard to write an article that would capture every use case and optimization required.

comment 4y ago · link · parent

See my comment here: https://news.ycombinator.com/item?id=32750266

comment 4y ago · link · parent

This is an excellent point; I should have addressed safety in my article. I'll point out that in my use case, I'm using `safe` on data I create and not any user-generated data.

You should never use `safe` on user data unless you use something like bleach (https://github.com/mozilla/bleach) to sanitize the data. Even then, you should use caution.

comment 4y ago · link · parent

Thank you for pointing this out, I forgot about this template filter. This unfortunately still wouldn't properly all the data types mentioned in my article (e.g. QuerySets).

10.

Serialize Django Data for JavaScript(epicserve.com ↗)

6 points · by brento · 4y ago · 16 comments

comment 4y ago · link · parent

Here is the related change.org petition I signed.

https://www.change.org/p/google-account-migration-from-works...

comment 6y ago · link · parent

I was told I could benefit from hearing aids, but was told they would cost $5K to $8K depending on which ones I wanted. I've decided for now that I'll put up with the issues associated with not having them for now. I was also told they blue tooth doesn't work very well if you have an android phone, so I'm hoping that there can be some real innovation and competition in this space to drive the prices down and also improve the technology!

comment 6y ago · link · parent

I need new eyes after viewing this website. I think yellow burned out my retinas!

comment 6y ago · link · parent

I wanted to try it but I couldn't get it going using docker. I tried `docker-compose -f docker-compose.dev.yml up` and then `docker-compose exec monicahq php artisan setup:production` and I get an error about /var/www/monica/storage/artisisan not existing.

comment 7y ago · link · parent

> I want to try it inside 30 seconds and see for myself.

So let me get this straight, you want to try something as complicated as Kubernetes, inside of 30 seconds?

I'm thinking you might have some unrealistic expectations.

comment 7y ago · link · parent

I think link forgot to mention a step 4.

Step 4: Spend weeks getting used to new shortcuts, finding equivalent extensions/plugins and getting used to their dev tools.

comment 7y ago · link · parent

I run PyCharm using my docker-compose environment, which works great. A co-worker said he was able to get VSCode working with docker-compose, but the setup wasn't easy. He said something about having to attach to the running docker/python process.

comment 7y ago · link · parent

@wintorez, I started using Brave browser[1] and DuckDuckGo for work and personal. It's based on Chrome but with privacy in mind.

Also, I currently use 1Password, but have been thinking about using Enpass[2] because you can sync with any cloud drive. I like the idea of syncing to a third party cloud drive in case my password service is compromised.

[1]: https://brave.com [2]: https://www.enpass.io/

19.

Fast-forward merges in Bitbucket Cloud – and by default, if you like(blog.bitbucket.org ↗)

2 points · by brento · 8y ago · discuss

20.

The new Dell XPS 13 Developer Edition is the little Linux laptop that can(pcworld.com ↗)

2 points · by brento · 9y ago · discuss

comment 9y ago · link · parent

Those are the two I knew, I was curious about 1 and 3! :)

comment 9y ago · link · parent

Just curious, what are your pinned websites?

comment 10y ago · link · parent

I got beta access, created a custom docker image and got my tests to run however lots of them are failing because I need redis. Is there a way to add Redis server?

comment 10y ago · link · parent

Reading the comments in this thread, is somewhat ironic.

comment 10y ago · link · parent

No Python support. Moving on.

comment 11y ago · link · parent

That feels a little like Inception (https://en.wikipedia.org/wiki/Inception) or the Infinity mirror (https://en.wikipedia.org/wiki/Infinity_mirror).

comment 11y ago · link · parent

Like said it's my personal opinion. However, there are tons of studies that support porn impacting society and relationships in a negative way. Just Google it.

comment 11y ago · link · parent

> You’re now one click away from every sex act imaginable for free. And so it’s just passé at this juncture.

Just my personal opinion but this is a very sad truth about our society and how easy it is to see porn.

12