Recent submissions

Comment · 4 years ago
Tabnine is my personal favorite as it works with most IDEs including IntelliJ, Vim and even VSCode and the suggestions are high-quality. I actually moved away from Copilot to Tabnine across all IDEs and haven't gone back since.
Comment · 6 years ago
I can see how some people see this as positive but the premise that a talented and hard working foreign worker takes a job away from a citizen is short-sighted. Zoom out a little and instead of a talented and hardworking foreign employee taking a job you will see (on an average) that they help grow or expand projects and companies that opens door to hiring more people. Not only do they pay tax here and support social security benefits that many enjoy, they also help businesses survive and grow and help them stay competitive in a global market.

I'm not calling for open doors to everyone, this certainly needs a balanced approach. However, with such suspensions I think we seem to be going one extreme path. Global talent has helped develop industries and businesses here. Increasing restrictions to this extent and suspending these visas is going to push this talent out and promising businesses who want to get the best talent to work with them, will not-immediately but definitely follow their way out too. I hope the people who are celebrating this, at-least for a few minutes, come out of the myopic view and look at the long term economic consequences.

Comment · 7 years ago
Great tool, would be nice to also have a chrome extension for the same that augments dev-tools to reduce one extra step of copy/paste.
Comment · 7 years ago
Beautiful explanation for something that tripped me up in early days of using mock/patch. Summary: (1) Variables in Python are names that refer to values. (2) (For that reason) Mock an object where it is used, not where it is defined.
Comment · 7 years ago
A talented (foreign) friend of mine had the opportunity to switch to a better, higher paid role but due to the effort involved, the risk and the pause in H1B premium processing just hung on to his current role.

The H1B program itself is not a problem and in-fact is a big positive contributor to the US economy; but it definitely has issues like the one you highlighted (e.g. harder for employees to switch jobs) that should be addressed by the government to make it more viable.

Comment · 8 years ago
GoodRx is not a Pharmacy Benefit Manager (PBM) actually. A PBM negotiates prices with pharmacies to include them in their network, GoodRx does not do that to my knowledge. Instead, GoodRx offers a service that allows users to compare different coupon and membership prices so that people can chose the best available price/pharmacy combination.
Comment · 8 years ago
GoodRx is strictly against selling personal medical data. Reference. https://support.goodrx.com/hc/en-us/articles/115005228506-Pr...

"GoodRx does not sell information regarding your drug prescriptions and medical conditions that are linked to your name, contact information and other personal data you provide us."

Comment · 8 years ago
The only people who would have solved the captcha faucet to get coins at virtually next to nothing value at that time would be the ones who believed in the project right from the start which to me is a fair distribution scheme. ICO based distribution is usually more greed driven. In this case the developers and team were more motivated in building a new innovative blockchain protocol as opposed to raising money by simply issuing ERC20 tokens. Speaks a lot about the project in itself. And the team has even succeeded in building a beautiful, disruptive scalable protocol and currency with no transaction fee. I've tried RaiBlocks and so far have been impressed.
Comment · 9 years ago
Comment · 10 years ago
Comment · 10 years ago
I have found Angular CLI productive, because it helps quickly generate components (each component has an html, ts, css, and spec.ts file with some boilerplate code). It is fairly quick to get up and running with angular-cli as compared to writing a webpack configuration file. However, since angular-cli is in beta, it lacks the flexibility that using webpack directly would offer. (P.S: Angular-CLI latest release would be using webpack internally)
Comment · 10 years ago
Comment · 10 years ago
I have been using Angular 2 for 3 months now and so far have loved it (except for the breaking changes in RC series and updating each time). Glad 2.0.0 is here. Here are the few things I loved, amongst other interesting features:

1. Typescript awesomeness: You can write plain JS or give type hints in Typescript. Typescript is awesome, because it is a superset of Javascript and compiles to Javascript. (Typescript > ES6 > ES5)

2. Modular code: It is is much easier to manage Angular code as it grows (compared to AngularJS). Components could be made independently and reused within other components using component interaction [1] (@Input, @Output)

3. Template Directives: .html template directives are available unlike ReactJS. A ReactJS vs Angular2 blog post online [1] argued that that putting HTML in Javascript is better than putting Javascript in HTML. I'd argue that template directives like ngFor, ngIf, etc are much simpler to understand. Also, it is easier to collaborate with a designer/half-developer who knows some html/scss and doesn't know Javascript than working in ReactJS where every collaborator has to know JS. This way, it is also easier for someone to gradually learn the framework. For me, template directives are a big win. If someone wants to construct templates with plain JS, that is still possible in Angular.

4. @angular/router is better than AngularJS routing and we don't have to use a 3rd party library (like ui-router was more popular in AngularJS than the angularjs router)

One thing that I have found annoying is that: UI libraries for Angular. Example: material2 (currently at alpha.8) [3] are not complete yet and lack several useful components. This can be a problem if you are looking to quickly build a complete, good looking UI. Hopefully, now with Angular 2.0.0 out; Angular team could focus on quicker development of material2, so we have all the AngularJS Material UI goodness with Angular.

[1] https://angular.io/docs/ts/latest/cookbook/component-communi... [2] https://medium.freecodecamp.com/angular-2-versus-react-there... [3] https://github.com/angular/material2

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton