News for hackers. Stuff that matters.

johntran

Re:Facebook Is the AOL of 2021 on Monday August 30, 2021 @06:29PM (#28361665)
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.
Re:Passwordless Logins with Yubikey on Wednesday February 17, 2021 @02:43PM (#26170627)
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.
Re:Things I Believe About Software Engineering on Monday February 03, 2020 @06:25PM (#22230518)
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.

Re:How to Be Successful on Wednesday January 30, 2019 @05:08AM (#19033914)
You are a wonderful person. Keep doing you :).
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.
Re:Show HN: Optimage – Advanced image optimization tool on Friday October 19, 2018 @09:36PM (#18261214)
I currently use ImgBot[1] to optimize all my assets in my GitHub repo. Works well.

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

@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™.

Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems by Martin Kleppmann. Absolute best book on system design.
Re:Crash JavaScript and more on Thursday January 18, 2018 @04:55PM (#16181887)
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?

Re:Type-safe GraphQL with OCaml on Friday December 01, 2017 @12:42AM (#15822173)
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.

Mayden China
Re:Relay Modern: Simpler, faster, more extensible on Tuesday April 18, 2017 @05:47PM (#14143265)
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.

Re:“A state of flow can be achieved by deep work” on Friday February 24, 2017 @03:23PM (#13727536)
Smoking sativas is a hidden performance hack. Easier to recover from cannabis than from drinking.
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.

Re:How the Young Are Indoctrinated to Obey (2014) on Monday January 16, 2017 @12:10AM (#13408328)
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.

Re:Why we chose Vue.js over React on Sunday December 11, 2016 @09:58PM (#13155163)
"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. :)

Re:Apollo Client 0.5 on Thursday November 03, 2016 @03:32PM (#12867196)
What are the pros and cons between Relay and Apollo?