Better HN
topnewbestaskshowjobs
Log inSign up

Timothee

5,786 karma · joined Jun 12, 2008 (18y ago) · 1,520 submissions

Submissions

comment 13y ago · link · parent

GitHub’s functionality around PRs (such as inline commenting, replies, notifications and diffing) is excellent for facilitating code and design discussion

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

The yak shaving part is not the steps described, but the steps not described that will end up being required.

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

Instead of just driving to some far away place and come back, I'd pick a mailbox that's close to something where you might go sometimes but that's not close to your house either.

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

Do you mind to elaborate? Because I've never heard anything about that and my (admittedly short) googling didn't bring up anything relevant.

comment 13y ago · link · parent

"She spent a few days in Vegas, staying at the Bellagio hotel"

comment 13y ago · link · parent

Fair enough in general, but I don't think my conclusion of "Twilio's API runs on Flask => Flask is very reliable" is too far-fetched in the context of Twilio, whose whole business is their API.

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

Twilio uses it to run their API. So, that must be very reliable.

"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

(disclosure: I work with Alex and he showed this to me before)

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

You're absolutely right, somehow I read "this pales in importance to that" backwards. In my defense, I'm tired and a non-native speaker.

That being said, I still find it odd to bring up the inconvenience of not being able to use Facebook Events.

comment 13y ago · link · parent

The video is of the band OK Go.

comment 13y ago · link · parent

I joined AdRoll just over three months ago and it's been great. Great, smart team with a lot of energy. No ego, no bullshit and good company values.

A+++++ would get hired again.

comment 13y ago · link · parent

"Even if it is a meritless suit like this one"

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

Had the same problem: I thought I had to add on top of the previous step. But asking for the key and unlocking the door was not necessary at that step.

comment 13y ago · link · parent

Oops, I just lost my progress by pressing Backspace… you might want to save the progress in local or session storage.

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

It seems to me that the problem is that the backend is treating the XHR like if you were hitting the main site. So sometimes (but not for all endpoints I think), if I were logged out, the XHR would be redirected to the login page.

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

Interesting idea. I'll have to give it a try. Thanks!

comment 13y ago · link · parent

The problem I had with XMLHttpRequest was that the API would use the current Heroku cookie rather than the API token passed in with the request.

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

That's actually been one of my backburner projects for some time. But I haven't had much time recently…

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 evidently failed to convey in my comment that I'm not saying that the new features are a bad thing.

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

Absolutely. I'm not saying they shouldn't do it, or that it's bad or anything like that. New email interfaces is just one of these things that has never been really useful to me. I tried Mailbox for a bit but it's solving a problem I don't have. This new feature seem as well.

comment 13y ago · link · parent

I haven't had the problem, but the mailing-lists I've come across are more often than not ran on mailing-list systems that let me pick the emails I want to receive (e.g. Google Groups). I typically go for none or just replies to my own posts. If I want to see what's up I check the site.

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 really have any newsletter that fits this. But I'd do what Ives is saying and use filters to put them out of the way.

comment 13y ago · link · parent

Any time I get something I don't want I click the unsubscribe link. If the link doesn't work, if there aren't any or if I need to do more than legally necessary (e.g. logging into my account), I click "Report spam" in Gmail.

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

I think it's interesting to see the evolution of a startup engineer/now entrepreneur.

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

I find all these new email products (Sparrow, Mailbox, etc.) interesting on a UI/UX level but they're highly irrelevant to me. I always read about how hard it has become to manage one's inbox, but I really don't have a problem with it.

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

What would be interesting to see would be merged vs. open vs. closed (as in rejected), and also the typical delay between the opening of the PR and the merging/closing.

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.

1
131415
51