HN user

tarequeh

51 karma

I code python/JS

Posts0
Comments15
View on HN
No posts found.
Django 3.2 5 years ago

Congratulations to the django team. Having used django for many of my projects for over a decade, it's exciting to see the django community is still going strong and the core members are continuing to push out significant releases such as the 3.2 LTS.

Beautifully written and thought provoking. It's interesting how easily strangers can ask such personal questions. I wonder how different the interactions would have been if instead of the eye patch, the author wore a pair of trendy non-prescription glasses with a clear left and a dark right lens.

It's hard for me to understand that why NPR would give up their journalistic freedom to receive the briefing one day early. Is it that kind of a deal-breaker to report an FDA announcement a day later than some others?

Handling errors over REST API is something I've struggled with. What's the best way to handle errors? Data validation errors will be different from system/server errors. Tough to establish a universally applicable error response structure.

I used to be in favor of sending 200 responses with error codes but now gravitating back towards relaying the most relevant HTTP error & letting the clients handle it.

You could build a video conversion website where one uploads original high resolution video and it'd spit out 1080p/720p/320p and other formats of video that are suitable for delivering on different devices/bandwidth. This could be an alternative for people hosting video on youtube and getting slapped with ads. An effort like this would use a lot of CPU but once it's converted it's just the storage cost. Common challenges are copyright issue but I can see different ways to promote it as a professional service than collection of random videos. $100K would cover cost of offering it for free to people for a limited period.

This is a difficult problem a lot of us face. I personally have a habit of glancing through hundreds of articles that pop in my RSS reader everyday. Often after reading a handful of those articles, some of them providing certain bits and pieces of knowledge, I feel like it would have been better to focus on a single topic and learn more about it. That's where I miss books. Although I have many of them sitting in the shelf right next to me, it has become more difficult for me in the recent years to pick one up and start reading. I think it's time for a change. Thanks OP for sharing this.

L-Theanine. Recently went through an interview spree. Helps me get rid of nervousness and focus on solving problems. Naturally found in tea leaves but obviously in small dosage. Can't confirm side-effects but sometimes gives me headache if I drink beer on the same day, particularly IPAs!

For a second a tried to imagine a satellite view of the earth with many of these flying. It'd look mesmerizing. I really applaud Google for funding research on affordable renewable energy. It's unfortunate that the scrolling doesn't work, but hey the prototype does!

Really cool exercise in CSS. My first thought is that texts displayed using this font can't be selected/copied & won't be screen reader friendly. Might make for a great way to display your email or phone number on a site without worrying it would get scraped by marketers.

I've always hated bulging wallets, specially if you put them in backpocket. No wonder so many people want to improve them. I've been using slimfold wallets (http://www.slimfoldwallet.com, no association) for a while. It's made out of Tyvek and is so thin - even with 10 credit cards in it it's thinner than my previous leather wallets emptied. I don't like the soft shell wallet they're making now, thicker than the Tyvek ones. Worth a look.

Sounds like the OP is happy with his schedule, which is great. However everyone needs different lengths of sleep for the body to process/release toxins. For me it's 8 hours at least to wake up feeling refreshed and not relying on coffee or other stimulants to go through the day. As for waking up feeling tired no matter when, the optimal timing for waking up matters and is at the end of a 90 minute sleep cycle (you need a few of those per night). https://en.wikipedia.org/wiki/Sleep. You can also use iOS apps like "Sleep Cycle" to aid you in waking up at the right time - really made a difference for me. Waking up to a screaming alarm is probably the last thing you want.