5,786 karma · joined Jun 12, 2008 (18y ago) · 1,520 submissions
comment 13y ago · link · parent
I agree but one thing I've realized recently is how all the history and discussion happening in a PR tend to be lost once the PR is merged. Not completely lost because it's still there in the "closed" PRs, but undiscoverable.
For example, you come across one line that doesn't make sense to you but you sense that there's a reason behind it. 'git blame' will tell you the specific commit but the commit message might not be explicit and you won't be able to find the corresponding pull-request easily.
I mentioned it on Twitter and exchanged with a GitHub employee that seemed to understand my issue. Hopefully they'll improve on that…
comment 13y ago · link · parent
Where you follow the given steps carefully and one fails because whichever version of something is not the right one, then you end up in a weird state where you have a hard time going back to how your setup was before, and you have to google things like "Compiler error: missing dependency foo.h" even though you can see that foo.h is right there. You then finally fixed the foo.h error to discover that you need to update Ruby for whatever reason, but the system doesn't pick up the version you installed with Homebrew anymore but is using the old default one, you then start updating Homebrew. Etc., etc. until you don't even know what you were trying to achieve in the first place and you are now super irritable.
(yes, I had a recent experience with that kind of yak shaving :))
comment 13y ago · link · parent
For example, you could go to Ikea buy something there (with a credit card to leave a log of a transaction) and mail your letter. Ikea because they aren't that many Ikea stores but it's not out of the ordinary to drive quite a while to go to one.
My point is that if you have reasons to want to send an anonymous letter, you might want to make sure that a drive that doesn't fit your regular patterns can be explained by something reasonable.
edit: I'm not sure the credit card is a good idea. Likely not. It might be better to pay cash, and keep the receipt. This way, you can't be immediately cross-referenced, but if asked, you have an alibi. Yeah, I really don't know. :)
394.
OAuth-proxy – Host your own private OAuth proxy service(github.com ↗)
1 points · by Timothee · 13y ago · discuss
395.
Gifify(blog.getcloudapp.com ↗)
2 points · by Timothee · 13y ago · discuss
comment 13y ago · link · parent
To be fair to your skepticism, I have probably followed Twilio more than you've had. I seem to remember that they switched to Flask, so I don't think it was technical debt that they had to work around later on. (like it might have been the case with Facebook and PHP)
Let's say that "Twilio uses Flask for their API" answers the question "can it be used in production?" (or "is it a serious project today?"). "Should you use it in production?" is where context matters more.
comment 13y ago · link · parent
"Flask-RESTful was initially developed as an internal project at Twilio, built to power their public and internal APIs" http://flask-restful.readthedocs.org/en/latest/
comment 13y ago · link · parent
I think the page doesn't emphasize enough the easy customization of these buttons: you can set the class names and base colors in one file and Sass will create the CSS for what you want. "Base" colors because the gradients, highlights and glows are then derived from only one color.
See this file in particular: https://github.com/alexwolfe/Buttons/blob/master/scss/_optio...
The defaults look pretty yummy but the customization is key for your own use IMO.
comment 13y ago · link · parent
This statement lacks arguments supporting it.
DOZ is "Search and Social Media Marketing done by professionals" according to their website, and Moz is "Software and Community for better Marketing". IANAL but I feel like there could indeed be confusion between the two, especially considering DOZ was CapSEO before, and Moz, SEOMoz.
So now it's a matter of trademarks and specifically timeline on who was first, but the details are not provided in the post.
comment 13y ago · link · parent
I like the humor of the machine but I arrived at the tests about conditional but couldn't remember the command to ask for a key. A way to get back to what I've seen could be nice.
comment 13y ago · link · parent
To me, the API endpoints should behave the same way in a browser as with curl without ever redirecting to the login page.
But, once again, it might have been fixed in the meantime… I haven't tried recently.
comment 13y ago · link · parent
With curl, the doc says to use a blank username and the token as password in Basic Auth. When I do that with XMLHttpRequest, the token is completely ignored and the main site's cookie is used. There is no way not to pass the cookie with XMLHttpRequest unfortunately, so I would have to rely on if the user is logged in or not. That would bring other problems: I could only use the API for one account at a time for example, and I would have to add checks to see if the user is logged in, etc.
So my work-around was to write a proxy that would just pass around the requests to Heroku and the response back to the XMLHttpRequest client. (https://github.com/Timothee/Passeplat) With it, I can make the same requests I would make to https://api.heroku.com but instead make them to mypasseplatinstance.heroku.com.
Making this a Heroku-ready app is of course not a coincidence: my plan is to use my Heroku instances (the proxy and the yet-to-be-written git clone) to bootstrap a couple of Heroku instances with the user's own Heroku account. Then the extension would use these to start up other apps. I like the bootstrap idea: it's like compiling a compiler. :)
I'm now realizing that it might even be done with a buildpack… I'd have to look into that. (that would remove the need for that second "git clone" app) Hum, I'll really have to look into that! That could make things much easier and cleaner. (and also cooler)
There would still be the issue of specific configurations and add-ons to deal with, but that shouldn't be too hard if the rest is done.
edit: I haven't checked if this is still a problem with today's announcement. Also, I contacted Heroku support about it, but they only suggested I use a proxy.
comment 13y ago · link · parent
My approach though was having a Chrome extension to add that button on any GitHub repo. Clicking it would create the app, clone it and push it out to your own instance.
Some things slowed me down though. For example the Heroku API doesn't play well with requests made with XMLHttpRequest inside the browser, so I wrote a simple proxy for that purpose. I started working on a Heroku app that would do the git cloning but haven't had much time on it.
comment 13y ago · link · parent
I totally understand that it's a problem for many people. (you should see my wife's inbox… I try to intervene now and then but it's a lost cause)
I almost wish I had an inbox problem so that I could try Mailbox, Sparrow, or whatever to finally have a solution to my problem. :)
comment 13y ago · link · parent
comment 13y ago · link · parent
But if your filter archives, labels and marks as read the emails, you're fine because your inbox is cleared of them but you still have the ability to check the activity.
comment 13y ago · link · parent
I don't feel bad about clicking it because I trust Gmail as a whole to be smart enough not to penalize an account globally if I'm the only one reporting it. Plus, when I do it, it's because it's actually spam.
Over time, it really works.
comment 13y ago · link · parent
Instapaper was a little product made by this one guy at home that grew big and I think for that reason, Marco Arment's story appealed to a lot of people here that are hoping to build their own bootstrapped product. And now he's at a later stage where he used the Instapaper success as a stepping stone for more projects, like The Magazine.
comment 13y ago · link · parent
My system is simple: do not sign-up for newsletter or notifications (e.g. Facebook, Twitter, GitHub, etc.) you won't read, unsubscribe anytime you realize you don't read the ones you receive, delete emails you won't ever need again, archive the ones that are nice to keep around but won't require anything from you anytime soon, and use filters whenever possible.
So in the end, I don't receive that many emails per day. I certainly don't receive any promotions in the mail… that's just asking for trouble.
Right now I have 25 threads in my inbox and the vast majority of them I keep around because they have pictures I want to save in iPhoto but haven't had time to. (I need to find a system for that actually)
comment 13y ago · link · parent
Some projects are fast to close PRs if they don't fit their goals, some don't attend to the PRs at all and you have PRs lingering in the queue forever.
Two projects could have a similar acceptance rate with very different attitude: one could be on top of things but picky about what they merge in, while another is just not attending to the list except for the odd PR now and then. It seems that a project like the former would still be more interesting to participate in just because you could expect more feedback on what is wrong.
Regarding the presented data, I'm also surprised that it's that high for some project. With the way GitHub works, it's easy to create a pull-request without consulting anybody in the original project, so it's surprising that so many would match the projects' intentions.