pramttl | 3 years ago | on: Show HN: MutableAI (YC W22) – Copilot Alternative for VS Code
pramttl's comments
pramttl | 5 years ago | on: Executive order expected to suspend H-1B, other visas until end of year
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.
pramttl | 6 years ago | on: Convert Curl Syntax to Python Requests
pramttl | 6 years ago | on: Why a mock doesn’t work
pramttl | 7 years ago | on: H-1B: Oracle favored hiring foreign graduates of US colleges over American grads
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.
pramttl | 7 years ago | on: Insurance copays are higher than the cost of the drug about 25% of the time
pramttl | 7 years ago | on: Insurance copays are higher than the cost of the drug about 25% of the time
"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."
pramttl | 8 years ago | on: RaiBlocks: A Feeless Distributed Cryptocurrency Network [pdf]
pramttl | 9 years ago | on: Non-profit CEO takes home a 700k+USD annual paycheck
[1] https://investor.verisign.com/releasedetail.cfm?releaseid=98...
pramttl | 9 years ago | on: Angular 2 Final Released
pramttl | 9 years ago | on: Angular 2 Final Released
pramttl | 9 years ago | on: Angular 2 Final Released
Angular Router does allow nested states: - https://angular.io/docs/ts/latest/guide/router.html - https://angular.io/docs/ts/latest/api/router/index/Router-cl...
I don't quite recall what "targetted views" mean?
pramttl | 9 years ago | on: Angular 2 Final Released
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
pramttl | 9 years ago | on: Ask HN: What are the best resource for learning Angular 2?
1. If you are looking for a book to learn in a sequential way then ng-book is a good option. ng-book is updated regularly however it is not free. https://www.ng-book.com/2/#features
2. New blog posts are also a great way to learn about certain Angular topics. Examples:
2(a): http://blog.thoughtram.io/categories/angular-2/
2(b): http://angularjs.blogspot.com/ (Has both Angular 1.x and 2.x articles, written by Angular core developers)
3. Learning by observing:
3(a): material2 is a library, being developed by the Angular team itself, that is based on Angular2 and is frequently updated to use the latest Angular2 version (currently RC5). I refer to the material2 source code to learn the best way to write my own Angular2 app and custom components: https://github.com/angular/material2/tree/master/src/lib
pramttl | 9 years ago | on: I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA
Background: The new 24 month STEM OPT Extension [1] (effective from May 10, 2016) which requires employers to fill I-983 [2] (Lengthy Training Plan) has created additional barrier for foreign students intending to start/work with startup companies on STEM OPT Extension (which earlier was for 17 months with less regulations). Being an F-1 student myself I can say that, these regulations could certainly influence more potential F-1 entrepreneurs down the "job seeking" path as opposed to "job creation/entrepreneurship" path because it is much easier for bigger companies with resources to satisfy the USCIS training plan requirements/I-983 as opposed to newly born companies.
[1] https://www.uscis.gov/working-united-states/students-and-exc...
[2] https://www.ice.gov/sites/default/files/documents/Document/2...
pramttl | 10 years ago | on: How I Got the $84k Hepatitis C Drug for $1500 by Buying It from India
Salary ratio: ~5:1 (Software engineer, Google based on Glassdoor); Albendazole drug cost ratio: ~700:1