507 karma · joined July 30, 2011
I use Devise most of my Rails apps, so in my ApplicationController I have `before_action :authenticate_user!`.
Did any of your frontend Angular apps send/request data to a Rails controller? If so, did you have to configure your Angular requests to send the session cookie so it would pass the Devise auth? This is the part that I don't quite understand yet.
In my next side-project I want to continue using Rails for the backend and scaffolding for most pages but I have a small React app that I want to include as well (keeping track of stats for a basketball game). But I'm not really sure what's the best way to go about authorizing whether or not the user has the permissions to upload data to a specific profile. I've only ever used Rails/Devise and all user input occurs through a form.
If you could point me in the direction of what I should be Googling for I'd appreciate it. Best of luck with Opendoor!
Within your MVP how did you handle authentication between your Angular apps and your Rails backend? I know you implemented Paladin to handle auth between your new microservices but I'm curious what auth looked like in your MVP.
Thanks!
I started teaching myself computer programming in 2011/2012: I bought a bunch of Head First books published by O'Reilly, watched the entry-level CS video lectures that Stanford provided for free, participated in the first few Udacity courses, and I tried a couple Coursera classes. But I think I learned the most (in the shortest amount of time) when I went through your online book, 'The Bastards Book of Ruby'[0]
I loved the real-world examples you used: fetching Tweets through the Twitter API, web scraping with Nokogiri, and manipulating images with ImageMagick/RMagick are a few that stick out to me.
I'm sure you're doing great things at Stanford but I'm also confident that you could come out with a new book (covering the topics you spoke of above) that would help motivate people who are on the fence on whether or not they should start/continue learning computer programming.
I'd be happy to collaborate on something but I would argue that Python would be a better language to use than Ruby. Here are some of the topics I'd like to share with people (which I've found to be useful in my career/side-projects): reading data from CSV/Excel files (xlrd[1]), fetching data from APIs (requests[2]), web scraping (BeautifulSoup[3], Selenium[4]), connecting to a SQL database within a Python script (psycopg[4]), complex mathematical computations (numpy), and downloading videos/metadata from YouTube (youtube-dl[6]) are a few that come to mind.
[0] http://ruby.bastardsbook.com/ [1] https://github.com/python-excel/xlrd [2] http://docs.python-requests.org/en/master/ [3] https://www.crummy.com/software/BeautifulSoup/ [4] http://selenium-python.readthedocs.io/ [5] http://initd.org/psycopg/ [6] http://www.numpy.org/ [7] https://rg3.github.io/youtube-dl/
I feel like seeing concrete examples of how the founders' share of their company changes based on the size/details of a fundraising round would be super useful for founders as they negotiate funding rounds.
Are there any companies currently sharing these details that I'm not aware of?
And this is why I won't attempt to it, since I really don't know what I'm doing. I'd love to use Cyanogenmod but probably won't until I buy a new phone that I feel more comfortable flashing a ROM onto. Looks like I'll just live with crapware for now :)
We're briefly pausing accepting new applications while we evolve how 18F plans for open roles.
[0] http://www.django-rest-framework.org/tutorial/quickstart/
How can you cover 7 million unique domains if you've only issued 5 million certificates?
I prefer my domains to be naked (as opposed to www.), but I typically redirect all www-traffic in my web server (NGINX). Is this the wrong approach?
What does the process look like when you're changing the FROM field when composing an email (e.g. sending from SomeUser@ExampleA.com and then another email from AnotherUser@ExampleB.com)? I'd hate to forget to change it and send out an email from the wrong email address. But it would be nice to manage all emails from one account.
Advertisers are always looking for better ways to target a specific audience, publishers are looking for ways to charge higher CPMs, and DMPs are helping both achieve their goal while tracking you across numerous sites on the internet.
[0] http://digiday.com/platforms/what-is-a-dmp-data-management-p...