Better HN
topnewbestaskshowjobs
Log inSign up

johntran

54 karma · joined Sep 23, 2016 (10y ago) · 17 submissions

Submissions

comment 5y ago · link · parent

Not sure why this is being downvoted. Deleting posts via scripts gave my Facebook a second life. I just use it for messenger and events. Highly recommended.

comment 5y ago · link · parent

It's most likely easier to brute force a password than to break into someone's house. Would be easier to demand all credentials by gunpoint with that much effort.

comment 6y ago · link · parent

I took Calculus AB in high school and the teacher was notorious for giving students D's and F's because of his teaching style was poor and the exams were difficult. The only saving grace from that class was that you would be given a C if you scored a 4+ on the AP exam.

He still kept his job because majority of the class got 4+'s on those exams, despite at least 1/3 of his class getting D's and F's.

I wouldn't generalize editing letter grades as a way of "cheating the system". There's usually good intentions in every act.

comment 7y ago · link · parent

You are a wonderful person. Keep doing you :).

comment 8y ago · link · parent

The author misses the point where Facebook was only able to attract talent to their company because of open source. FB currently employs the creators of Babel, Redux, and Inferno; whom otherwise would not be there without OSS to show their talents.

comment 8y ago · link · parent

I currently use ImgBot[1] to optimize all my assets in my GitHub repo. Works well.

[1] https://github.com/marketplace/imgbot

comment 8y ago · link · parent

@jamesknelson

Also worth mentioning that TS npm download is greater than React consistently.

http://www.npmtrends.com/typescript-vs-react-vs-vue-vs-flow-...

I've used Flow in 2016 and getting it to work on code editors was a huge pain. Coworkers asked me weekly how to fix their environment to get it to work.

In 2017 I introduced TS to the codebase and never looked back. It just works™.

comment 8y ago · link · parent

Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems by Martin Kleppmann. Absolute best book on system design.

comment 8y ago · link · parent

You're just adding an element to an array infinitely. Of course it'll crash because you'll run out of memory to support the array.

How is this a bug? What's the expected behavior?

comment 8y ago · link · parent

https://blog.acolyer.org/2017/09/19/to-type-or-not-to-type-q...

TL;DR: both Flow and TypeScript are pretty good, and conservatively either of them can prevent about 15% of the bugs that end up in committed code.

comment 9y ago · link · parent

Mayden China

comment 9y ago · link · parent

1. Could you two do a Reactiflux Q&A?

2. Are people on the Relay OSS team willing to answer StackOverflow-type questions on a certain time?

- I would want to be able to programmatically run relay-compiler. Every time I update my client-side code, webpack detects the change and then runs relay-compiler.

- And get help figure out some errors related to mutations I'm encountering. I wouldn't want to post these type of things as a GitHub issue because it could technically not be a bug.

comment 9y ago · link · parent

Smoking sativas is a hidden performance hack. Easier to recover from cannabis than from drinking.

comment 9y ago · link · parent

The Mythical Man-Month.

https://en.wikipedia.org/wiki/The_Mythical_Man-Month

It was written 40 years ago, but it is still relevant to today. Its so important to think about how to build effective engineering teams.

comment 9y ago · link · parent

https://ucannualwage.ucop.edu/wage/

There's literally 30 pages of UC Berkeley professors and admins making >$200k.

At UCI, the cost of living is less than Berkeley, but there are 650~ people making that much.

comment 9y ago · link · parent

"I expect Vue to become a primary JS framework in 16-24 months if Evan You makes right steps, at least around backenders and smaller teams of frontenders."

When Vue.js gets a big enough community passionate enough to host their own conference, we'll be able to consider this as a possibility. :)

comment 10y ago · link · parent

What are the pros and cons between Relay and Apollo?