HNHacker News
TopNewBestAskShowJobs

arsenerei

119 karma · joined August 1, 2013

submissionscomments
arsenerei··on ‘Fuck’ in Linux Kernel
Honest question: what's wrong with swearing in the presence of children? Is it an arbitrary norm, or is there a strong rationale behind it?
arsenerei··on Google Ventures Puts $258M Into Uber, Its Largest Deal Ever
It looks likely to not be a problem in California shortly.

http://techcrunch.com/2013/07/30/california-regulator-propos...

arsenerei··on Introducing Silvrback: Hosted, Markdown-Powered Blogging
So, as long as you have means to export the data, you're satisfied with this product?
arsenerei··on Can You Keep Your Integrity?
You might have interest in watching Ladri di biciclette. It's a fantastic movie that explores this issue of what it means to steal.
arsenerei··on Sergey Brin invests in synthetic beef
Mac Danzig seems to counter your argument that's it isn't possible.

http://www.ufc.com/fighter/Mac-Danzig http://www.mikemahler.com/online-library/articles/mma-traini...

arsenerei··on Sergey Brin invests in synthetic beef
I don't think attacking vegetarian and vegans goes well to your credibility.
arsenerei··on GitHub and my open source life
I am a huge fan of Gerrit, other than its UI. I ran it along with Jenkins[0] at a previous company. Its review model is far, far, far superior to Github's. As you said, it keeps successive patch sets, and allows for diffs against previous patch sets, rather than only against the original parent. This allows for you to see only the most lastest changes, so you don't have to wonder if anything else was changed and review the entire patch.

> $ git review

I actually wrote a bash script with the same name and a few other shortcuts before my company started working on OpenStack. I was quite pleased with the workflow I provided the team I was on.

  $ git start <new-branch> <branch-from>
  $ <do work as normal>
  $ git review
  $ git finish  # removes the branch
These three commands along with the git-flow branching model[1] (but not the tool itself), leads to clean, sensible history in my opinion.

I respect that Github tries to maintain a low-barrier of entry to increase use and ease, but I believe there's a way to maintain it while still having a great patch-review model.

0: http://jenkins-ci.org/ 1: http://nvie.com/posts/a-successful-git-branching-model/

arsenerei··on How does Trello access the user's clipboard?
I stand corrected! Firefox, Chrome and Safari had no issues with this. I could cmd-c without highlighting and it still copied.

I finally found something indicating browser-support for this.[0] I have to think it wasn't supported in earlier versions of certain browsers and that's why Trello decided not to go this route. I'm definitely going to play around with this. This is pretty darn cool, thanks for sticking with me. :)

0: http://www.quirksmode.org/dom/events/cutcopypaste.html

arsenerei··on [dead]
Yes. At least according to California law, you're always to allow faster traffic to move to left of you. Relatedly, it's highly recommended in the driving handbook to never pass on the right. Take it as a safety precaution or whatever you need, but I'm unaware of a good reason to drive in the HOV lane unless you're moving noticeably faster than traffic in the right lanes.
arsenerei··on How does Trello access the user's clipboard?
> AFAIK: Safari does not expose a setting for this (but I didn't look). Chrome uses Chrome app/extension permissions to control this setting. I'm not sure how Firefox does it.

Okay, so for all intents and purposes it cannot be done programmatically without user assistance.

> You asked "Is there a way to trigger the copy, cut, and paste events?". You don't need to trigger them in this case since the browser automatically fires them when the user invokes the corresponding edit action.

You're right, I apologize.

> Here is a quick sample that works in everything except IE. I'm too impatient to figure out why it doesn't work in IE but http://msdn.microsoft.com/en-us/library/hh772145(v=vs.85).as.... provides IE-centric documentation.

As I mentioned in a previous comment, I've seen nothing that suggest this event allows you to change the contents of what's copied to the clipboard before it happens. From what I can tell this is an notification that it has happened. The link you have provided does not indicate anything to the contrary.

I'm not ruling out that what you're saying, but I still haven't seen something that definitively shows it's possible. Looking at all the hacks and alternatives to make it as close to "click-to-copy" a possible strong suggests it's not.

arsenerei··on How does Trello access the user's clipboard?
> There is a way to trigger the events from JS via document.execCommand('copy'/'cut'/'paste'), but the default is to deny.

When you say, deny, does that mean the user must go to their browser settings and set it manually? If so, what bearing does that have on what we're discussing?

As for setting the clipboard data, I have seen no way of setting that through the copy, paste or cut events.

edit: fix some words

arsenerei··on How does Trello access the user's clipboard?
Ah, yes, pulling clipboard data would be a definite security risk. I didn't think about it from that angle.
arsenerei··on How does Trello access the user's clipboard?
I'm not sure if you mean user accessible in terms of User Accessibility or just a typical user having access. I think we're talking about UA, it wouldn't apply in this case, because they would be using a screen reader and using its features to find and copy the URI (rather than by hovering). In the case of a typical user, I think it does what they want, so it doesn't go against desire and ultimately enhances UX.

It's definitely hackish, though. :)

arsenerei··on How does Trello access the user's clipboard?
I'm curious why you'd advise against the hidden textarea.
arsenerei··on How does Trello access the user's clipboard?
Well, yes, but at least you knew you copied something in this circumstance.
arsenerei··on How does Trello access the user's clipboard?
Is there a way to trigger the copy, cut, and paste events? I've never heard of any. I know that you can be alerted when the events have occurred. I also had a difficult time finding anything about oncopy. My only readable source indicates that it's not cross-browser in either case.[0] I also tested it.

0: http://help.dottoro.com/ljwexqxl.php

arsenerei··on How does Trello access the user's clipboard?
Not to my knowledge. Only flash gives you the ability to "click to copy." Javascript has no of copying text without user specifying the copy action. I don't know the justification, but it can be a security issue if your user isn't aware that they copied something.

This is a really neat trick, and I needed it just yesterday, so I'll definitely be giving it a go today. Related to security issues, it reminds me of this issue: http://thejh.net/misc/website-terminal-copy-paste

arsenerei··on Yahoo Has Acquired Rockmelt, Apps To Shut Down On August 31st
I can finally hear it, thank you!
arsenerei··on 100,000 DOM Updates
It's always great to see ClojureScript pushing forward on things like this. I've recently started focusing on Clojure and Clojure script for personal projects and I'm really enjoying functional programming.
arsenerei··on Yahoo Has Acquired Rockmelt, Apps To Shut Down On August 31st
ackqua-hire? Or a-choir-hire? I wish I were joking, but I've never seen the pronunciation printed anywhere.
arsenerei··on Yahoo Has Acquired Rockmelt, Apps To Shut Down On August 31st
Thanks.
arsenerei··on Yahoo Has Acquired Rockmelt, Apps To Shut Down On August 31st
How do you pronounce acqhire? ack-HIRE?
← PreviousPage 3 of 3