News for hackers. Stuff that matters.

t3h2mas

Re:Git techniques on Friday November 12, 2021 @11:04AM (#29200689)
> Code reviews should not allow such commits to pass through.

Are you suggesting that your code review process has a stage for combing through commit messages? What does this look like? If the third commit message of 15 isn't up to par what happens?

Neat!
Re:Life Got You Down? Time to Read The Master and Margarita on Wednesday October 17, 2018 @03:10PM (#18242625)
amazon (no ref): https://www.amazon.com/dp/0143108271

in case anyone has the same issues I did finding it.

Re:Ask HN: What books do you recommend reading once a year? on Tuesday August 21, 2018 @05:52PM (#17814171)
The Dude and the Zen Master
I wonder what take aways there are for personal finance.

I also wonder if real estate will drop with the market, and what impact that has on a HCOL pro-seller housing market.

A radio ad for the second season of the Duolingo podcast prompted me to check out the first season.

I appreciate the idea that the episodes are life stories instead of fake cafe scenes. The stories are interesting, and sometimes intense. The CEO / cofounder talks about a kidnapping in his family in the last episode of season one.

The small english summaries every few sentences helps provide context. That helps with context for the words I'm not familiar or strong with.

The language used is intermediate level. Personally I am below that level, but have gotten value from episodes.

Re:Keeping a plaintext “did” file on Monday July 16, 2018 @01:59PM (#17543421)
I like the idea of publishing interesting text files like this automatically to a personal site.
Re:ESLint compromised, may have stolen your credentials on Thursday July 12, 2018 @12:59PM (#17516502)
When I develop locally using Docker, I live link my code directory into the container. I.E.

docker run -v "$PWD":/some/app/location ...

My editor doesn't know I'm using Docker. You can change your workflow when you want to deploy to a container registry, etc.

Re:ESLint compromised, may have stolen your credentials on Thursday July 12, 2018 @12:50PM (#17516419)
How to scan your projects (from their directory, or their parent directory)

https://github.com/eslint/eslint-scope/issues/39#issuecommen...

You can easily modify the script to scan for the other vulnerable dependency as per

https://github.com/eslint/eslint/issues/10600

version: eslint-config-eslint 5.0.2

Re:ESLint compromised, may have stolen your credentials on Thursday July 12, 2018 @12:47PM (#17516389)
> To protect potentially compromised accounts, npm is invalidating all npm login tokens created between 2018-07-11 00:00 UTC and 2018-07-12 12:30 UTC (about 2 hours ago).

https://status.npmjs.org/incidents/dn7c1fgrr7ng

Re:Ask HN: How did you find your passion? on Monday July 09, 2018 @03:40PM (#17492841)
Continue to lift. Eat protein. Your TDEE might go up if you lift the same amount and add BJJ on top. If recovery becomes an issue hit the usual sleep, hydrate, eat, stretch points.

Most of what I've read about muscle loss is that it happens when you eat at a deficit or don't hit your protein targets.

This video talks about the creators experience balancing BJJ w/ lifting. https://www.reddit.com/r/weightroom/comments/6o8ubw/balancin...

Edit: personally I switched to a 5/3/1 variant for athletes, but plan on going back to a higher volume program soon, after some weight loss.

Regardless of how you feel about $-lines, we can all learn from reading project code.
Re:Ask HN: How are black hat groups formed? on Friday June 29, 2018 @05:02PM (#17427851)
IRC + beer + (angst || ideology)
IRC. In the depths of restaurant work. Met another one at BJJ.
Re:How I use Wireshark on Tuesday June 19, 2018 @12:32PM (#17348123)
Thanks for sharing! I plan on playing around with this soon!
Denver / Seattle may be alternatives for those looking for blue
Re:Ask HN: Do you use budgeting software? on Thursday June 14, 2018 @04:06PM (#17314905)
Sometimes I use mint. My bank (simple) has simple goal saving that I'll use for toys. Otherwise I 'pay myself first' into savings/investment. It's been working so far. I can use mint to identify problem areas, cut those back, and add the difference to an automatic deposit.
Re:Ask HN: Do you use budgeting software? on Thursday June 14, 2018 @04:01PM (#17314866)
Very cool. I'd love to see a blog post. Will keep creative twilio use in mind for my next side project :)
Started BJJ recently. Good workout, my conditioning and flexibility have noticeably improved, forces you to be 'in the moment', and provides an opportunity to meet cool people. I could go on and on about the returns I've gotten.
Don't forget to let your body rest from the weight lifting.
You can lift and gain weight / feel bad from unhealthy eating.
Do you mind elaborating? Looking at email marketing myself. The only difference I see so far is that MC is cheaper...
The Starting Strength book is fantastic when it comes to showing a lift's mechanics
On form: reddit.com/r/fitness can be a good resource for form checks. You may hear varying opinions on smaller details, but overall they should be geared towards you not getting hurt.

They have a 'how to post a form check' guide: https://www.reddit.com/r/Fitness/wiki/rules#wiki_2._how_to_p...

Re:Book recommendation: Measure what matters on Thursday May 17, 2018 @04:45PM (#17095542)
I'm listening to "Thinking Fast and Slow" right now. In it, the author talks about Gates school study, and others, as well as bias.

The author claims that small sample sets always produce the most extreme results, and while statisticians know this, measurements continue to happen using smaller data sets.

The author also claims that you could find data to support smaller schools being worse than larger ones due to the same issue.

Great book. It leaves me questioning the 'why' behind everything I think I know.

Re:Why founders need hobbies on Thursday May 10, 2018 @04:54PM (#17042877)
Do you have a go-to recipe?
Re:My struggle to learn React on Wednesday May 09, 2018 @04:37PM (#17033819)
Points 2-4 reinforce my suggestion to learn modern (es6/es7) JavaScript before taking on React. Vanilla JS alone can be tricky, see: `this`[0]

[0] https://github.com/getify/You-Dont-Know-JS/blob/master/this%...

You cannot remove the attack surface when the app/service is served via http

Remove? Probably not. There are many options for minimizing the attack surface with http.

Older »