sahat
|
10 years ago
|
on: Why I think Tesla is building throwaway cars
I don't remember the details, but in one of the recent updates they increased the performance at top speed and initial start (below 3 mph). Prior to that, 85D and 90D (all-wheel drive configuration) got a significant boost to its 0-60 performance via a software update.
Since all the hardware is controlled via a software firmware, they are able to tweak the voltage supply of each motor to decrease or increase output performance.
sahat
|
10 years ago
|
on: Continuum Analytics Raises $24M Series A for Anaconda Python and PyData
Congrats Travis, Peter and everyone from Continuum Analytics!
sahat
|
10 years ago
|
on: The Electric Car
If you own a Tesla Model S and live near a supercharger network, charging is not an issue. Over 8,000 miles in my Model S, all powered exclusively by the superchargers, free of charge.
Note: I live in an apartment less than 2 miles from the nearest supercharger in Los Angeles and only 8 miles from work. So, the range is never a problem.
sahat
|
10 years ago
|
on: Pure UI
That was my initial reaction as well. Pretty interesting concept. Front page Hacker News web traffic to your website in real-time.
sahat
|
10 years ago
|
on: React on ES6+
Meh, mixins are anti-pattern and I am glad they are finally gone. In my experience mixins just make your code hard to read.
sahat
|
10 years ago
|
on: Los Angeles Plays Itself
I actually commute every day via 405 and 10. You are right, it's awful during the rush hour, but during non-rush hours it is still faster than taking local streets. A few weeks ago I left work via 405 at 4:45pm and arrived home at 7:10pm, the commute that would take no more than 12-15 minutes without traffic.
sahat
|
11 years ago
|
on: Google I/O 2015
It's nice to see Google using Polymer.js on their pages.
sahat
|
11 years ago
|
on: Apple – Web Badges
Are they going to take it down like Microsoft did with Monster Truck Madness 2 website?
sahat
|
11 years ago
|
on: 1 Year of GitHub Streak
That's an excellent question. Doing this did not, at any point in time, feel like I was sacrificing my time for other fun activities. I enjoy coding the point of addiction sometimes.
On contrary, I felt the opposite most of the time - "I should be writing code right now instead of playing video games or socializing on weekends." But that will differ from person to person. Certainly not everyone will enjoy programming 24/7.
sahat
|
11 years ago
|
on: Show HN: Satellizer – Authentication for AngularJS
Satellizer gives you an illusion that you're doing an implicit grant flow by opening a popup and then magically you are signed-in. But authorization process is handled on the server:
https://github.com/sahat/satellizer/blob/master/examples/ser...I just implemented a GitHub sign-in and it took me only 8 minutes because on the server it was mostly copy-&-paste of the Facebook sign-in and on the client it's just:
$authProvider.oauth2({
name: 'github',
clientId: 'xxxxxx',
url: '/auth/github',
authorizationEndpoint: 'https://github.com/login/oauth/authorize',
redirectUri: window.location.origin
});
Thank you. I like React too so perhaps someone could implement something like Satellizer that integrates with React.
sahat
|
11 years ago
|
on: Show HN: Satellizer – Authentication for AngularJS
Satellizer is designed to be used without auth libraries such as Passport (Node),
OmniAuth (Ruby). On Python-side all you need is the requests library. It is so by design to avoid relying on third-party libraries. Additionally, if I were to implement it with a server-side auth library there is no choice but to use full page redirects, i.e redirect to Facebook, authorize the app, redirect back to the app.
sahat
|
11 years ago
|
on: Show HN: Satellizer – Authentication for AngularJS
@pingburg @filearts You are right, unique account validation and error handling belong to the server. What Satellizer can do is catch an error through the $auth.authenticate().catch() promise and display it to the user. I will definitely update the documention very soon. The README of
https://github.com/sahat/hackathon-starter
could fit on a screen when I first posted it on Hacker News earlier this year; it is now 1300+ lines long.
sahat
|
11 years ago
|
on: Show HN: Satellizer – Authentication for AngularJS
I have considered Play Framework and Dropwizard. Play it seems is better suited for Scala language and I don't know much about real-world usage of Dropwizard. Between Struts and Spring, Spring seems to have a more active community. I haven't done anything with the Java example yet so Spring can easily swapped for something else if you think that other framework is better. I am not a Java developer so I need someone's help on this one.
sahat
|
11 years ago
|
on: Show HN: Satellizer – Authentication for AngularJS
sahat
|
11 years ago
|
on: Show HN: Satellizer – Authentication for AngularJS
Satellizer is tightly coupled with Angular so I don't think there is much sense in using it without Angular. You can certaintly take server-side examples and re-implement satellizer.js in pure JavaScript but that is going to be a lot of work! The closest non-Angular alternative that I know of would be Torii (
https://github.com/Vestorly/torii/)
sahat
|
11 years ago
|
on: Material design with Polymer
Where does Polymer stand in relation to React.js from Facebook?
sahat
|
11 years ago
|
on: Stripe: Open Source Retreat Grantees
Congrats to the grantees! I was one of the 120 applicants who was not selected for this program. But I do hope I could work on something equally as exciting this Fall at my first job.
sahat
|
11 years ago
|
on: LoopBack, a new Node.js framework by StrongLoop
Nice landing page, I'll give them credit for that. But why would I want to use this instead of Express or Restler?
sahat
|
12 years ago
|
on: Superhero.js – One stop for JS Knowledge
sahat
|
12 years ago
|
on: Production AWS keys on GitHub
I was charged over $1696.00 in AWS Usage fees for putting my production AWS keys on GitHub. So think twice before you put any production keys out there, for the whole world to see. UPDATE: As spydertennis mentioned, I also had 15 Double XL EC2 instances running in multiple regions.
Since all the hardware is controlled via a software firmware, they are able to tweak the voltage supply of each motor to decrease or increase output performance.