News for hackers. Stuff that matters.

wasnthere

Re:Ask HN: At a peak of my dev career, I hate my life on Saturday January 29, 2022 @11:48PM (#30134127)
I mostly agree with zanzibar735 except I disagree with their depression prognosis — its loneliness imho and its a silent killer.

I firmly second their advice on seeing a therapist.

As you age “living your best life” will take different forms. You just have to stick with trying to “live your best life”.

Good luck and I hope this discussion here gives you some actionable advice that you can implement.

Re:An Algorithmic Solution to Insomnia (2017) on Wednesday December 29, 2021 @11:15AM (#29726150)
Get this book(let) pronto - https://www.penguinrandomhouse.com/books/545899/how-to-relax...

Did wonders for me in terms of helping me “empty my mind” and therefore relax, sleep well etc.

I would strongly recommend getting apps like Headspace, Calm after you’ve internalized the “theory” of the practice of relaxation.

Good luck!

Re:Ask HN: How to optimize your career for happiness? on Sunday December 19, 2021 @02:49PM (#29617604)
I agree with a lot of what people have said here about a job being a job. However, my personal experience on this subject is — start with defining what happiness means for you!

This is a LOT harder than you think and in trying to answer the question you will hopefully (as I did) get in touch with yourself, your emotions, your identity, etc.

As you continually evaluate these things in trying to understand what happiness is for _you_, you will automatically have an answer to your question.

Re:JWT should not be your default for sessions on Wednesday May 12, 2021 @09:05PM (#27137258)
Minor nitpick—

“Often, sessions and cookies are described as 2 different things, but they’re really not. A session needs a cookie to work.”

This is false. Inital JAVA Servlet specifications supported session id in the URL.

Re:CUPID – the back story on Sunday March 21, 2021 @03:13PM (#26533015)
The article, imho, reads like the main goal of the author is to prove he has a bigger dick than Uncle Bob’s...

sadly, he fails miserably at it.

It works correctly if you add a space after realty.com

Tested on iPhone, Safari, iOS 13.5.1

Re:Ask HN: Name one idea that changed your life on Thursday May 07, 2020 @04:54AM (#23101057)
“Ever tried. Ever failed. No matter. Try again. Fail again. Fail better.” - Samuel Beckett
Asks browser for location permission without an option for entering a zip code or street address #FAIL
Re:A Million Digits of Pi in 9 Lines of JavaScript on Thursday September 12, 2019 @03:50PM (#20955646)
JS Error `No identifiers allowed directly after numeric literal` when running http://ajennings.net/pi.html on Mac OS Mojave 10.14.6, Safari 12.1.2 (14607.3.9)
Re:Python Is Eating the World on Monday August 12, 2019 @06:20AM (#20674082)
saddened to see this poorly constructed comment berating python at the top of this thread. the author seems to have some personal issues with the language given the generally frustrated tone of the comment. the entire comment could have just been 1 line "We need official support for a modern package management system, from the Python org itself." which would be consumed as constructive feedback by all readers with the right context. but somehow the author chooses to "vent" adding unnecessary drama to something that does not get in the way of writing high quality production grade python apps (general purpose, web, ai or otherwise)

there is no language that is devoid of shortcomings - so to any new (<3 yrs exp) python users, please ignore the above comment entirely as it has no bearing on anything practical that you are doing/will do. and all experienced python users know that there are ways to work around the shortcomings listed here and beyond.

this is my psa for the python community!

Re:VC Starter Kit on Thursday March 21, 2019 @08:29PM (#19458680)
love it!
Re:How to launch, startup playbook and cost calculator on Wednesday October 18, 2017 @05:42AM (#15497913)
good luck swindling the dreamy eyed 20 somethings... what a joke!