HNHacker News
TopNewBestAskShowJobs

brento

53 karma · joined November 28, 2012

@epicserve
submissionscomments
brento··on Improving the New Django Developer Experience
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.

brento··on Serialize Django Data for JavaScript
I've updated the article based on some of the feedback.
brento··on Serialize Django Data for JavaScript
This is valid. I'll add an update to the post people should use caution and think about security.
brento··on Serialize Django Data for JavaScript
In the article, you'll notice I'm not using DRF.
brento··on Serialize Django Data for JavaScript
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.
brento··on Serialize Django Data for JavaScript
See my comment here: https://news.ycombinator.com/item?id=32750266
brento··on Serialize Django Data for JavaScript
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.

brento··on Serialize Django Data for JavaScript
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).
brento··on Google Is Holding All Your Old Free G Suite Accounts Hostage
Here is the related change.org petition I signed.

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

brento··on $1 hearing aid could treat millions with hearing loss
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!
brento··on Time to Upgrade Your Monitor
I need new eyes after viewing this website. I think yellow burned out my retinas!
brento··on Monica: Open-source personal CRM
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.
brento··on How Far Out Is AWS Fargate?
> 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.

brento··on Switch from Chrome to Firefox
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.

brento··on Python in Visual Studio Code – April 2019 Release
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.
brento··on Google has added DuckDuckGo as a search engine option for Chrome users
@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/

brento··on Timer-Tab
Those are the two I knew, I was curious about 1 and 3! :)
brento··on Timer-Tab
Just curious, what are your pinned websites?
brento··on Bitbucket Pipelines Beta: continuous delivery inside Bitbucket
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?
brento··on Medium and Twitter founder: ‘We put junk food in front of them and they eat it’
Reading the comments in this thread, is somewhat ironic.
brento··on OneOps – Open-source cloud ops platform from Walmart
No Python support. Moving on.
brento··on Self-tiling tile set
That feels a little like Inception (https://en.wikipedia.org/wiki/Inception) or the Infinity mirror (https://en.wikipedia.org/wiki/Infinity_mirror).
brento··on Playboy to Drop Nudity as Internet Fills Demand
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.
brento··on Playboy to Drop Nudity as Internet Fills Demand
> 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.

brento··on LogMeIn acquires Lastpass
One of the reasons I chose 1Password over LastPass is because you can choose where to store your data (iCloud, Folder on your System, Dropbox). I don't think you should trust your passwords to any company.
brento··on Dealing with Noise in an Open Office Setting
I once worked as a developer at a newspaper that had an open floor plan. The biggest issue was the darn emergency scanner radio squawking in the background all day! I often fantasized about taking a baseball bat to it, like they did to a printer on Office Space (https://www.youtube.com/watch?v=fjsSr3z5nVk). It's one of the reasons I no longer work for a newspaper.
brento··on Johnson and Johnson, America’s Most Admired Lawbreaker
This looks interesting and I'll bookmark it for later. Does anyone happen to have a TL;DL version for those who don't currently have time to read the whole thing right now?
brento··on Insider: Oracle has lost interest in Java
I wish they would have mentioned what languages the company is using instead of Java. I would think they would at least have an interest in maintaining it, especially since I'm guessing a company that size couldn't have moved everything they support away from Java yet.
brento··on Musk Says Tesla Cars Will Go 620 Miles per Charge in 2 Years, Autonomous in 3
I would love a fully autonomous car, however I would want to see multiple layers of security in place to prevent hacking. The last thing I want is to end up dead because a hacker thought it would be funny to steer my car into a ditch.
brento··on New Chromecast 2015
I'm curious why they changed the form factor. It seems like the last form factor was simpler and more minimalistic. The new design seems like it would just dangle from your TV, especially if you plug it in one of the side HDMI ports.
Page 1 of 2Next →