Better HN
topnewbestaskshowjobs
Log inSign up

sahat

836 karma · joined Apr 17, 2012 (14y ago) · 79 submissions

Submissions

1.

Hiring Is Broken – My interview experience in the tech industry(medium.com ↗)

376 points · by sahat · 10y ago · 671 comments

comment 10y ago · link · parent

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.

3.

Why I’m Ending my GitHub Streak after 844 Days(linkedin.com ↗)

2 points · by sahat · 11y ago · discuss

comment 11y ago · link · parent

Congrats Travis, Peter and everyone from Continuum Analytics!

5.

Create a character voting app using React, Node.js, MongoDB and Socket.io(sahatyalkabov.com ↗)

133 points · by sahat · 11y ago · 54 comments

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

That was my initial reaction as well. Pretty interesting concept. Front page Hacker News web traffic to your website in real-time.

comment 11y ago · link · parent

Meh, mixins are anti-pattern and I am glad they are finally gone. In my experience mixins just make your code hard to read.

comment 11y ago · link · parent

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.

10.

WebStorm 10 released(jetbrains.com ↗)

2 points · by sahat · 11y ago · discuss

comment 11y ago · link · parent

It's nice to see Google using Polymer.js on their pages.

12.

Build an Instagram Clone with AngularJS, Satellizer, Node.js and MongoDB(hackhands.com ↗)

4 points · by sahat · 11y ago · discuss

13.

WebStorm 9.0 Released(jetbrains.com ↗)

3 points · by sahat · 12y ago · discuss

comment 12y ago · link · parent

Are they going to take it down like Microsoft did with Monster Truck Madness 2 website?

15.

Introducing the New Yahoo Developer Network Website(yahoodevelopers.tumblr.com ↗)

9 points · by sahat · 12y ago · discuss

comment 12y ago · link · parent

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.

17.

1 Year of GitHub Streak

18 points · by sahat · 12y ago · 6 comments

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

I forgot to change the redirect url on dev.twitter.com from http://127.0.0.1:3000 to http://satellizer.herokuapp.com. It should be fixed now.

comment 12y ago · link · parent

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/)

24.

Show HN: Satellizer – Authentication for AngularJS(github.com ↗)

221 points · by sahat · 12y ago · 34 comments

comment 12y ago · link · parent

Where does Polymer stand in relation to React.js from Facebook?
123