News for hackers. Stuff that matters.
Re:Power-touch – Shortcut touch keys on mobile by maaaats on Monday November 07, 2016 @12:28PM (#12892861)
Not too much info, but I can see the first commit was yesterday. Looks like it opens a web server on your PC, which you then open in the browser on your phone. The buttons there make requests that triggers stuff through robotjs.

Cool idea, but doesn't look secured at the moment. And impossible for me to use on my work network, a pairing with the computer would work (bluetooth or USB), but probably not be as easy to implement.

Re:Power-touch – Shortcut touch keys on mobile by rokyed on Monday November 07, 2016 @02:56PM (#12894415)
I know is not yet secured , but this was a prototype, because i had the idea yesterday when i woked up. I will be working on securing the whole with maybe a password or something.
Re:Power-touch – Shortcut touch keys on mobile by jajern on Monday November 07, 2016 @12:20PM (#12892780)
Sounds cool. I'm probably not going to install it without an idea of what it's capable of. Maybe a better README with some examples and screenshots would be helpful.
Re:Power-touch – Shortcut touch keys on mobile by pmontra on Monday November 07, 2016 @01:41PM (#12893622)
You go to http://your.pc.ip:3000 with your phone's browser. You get some keys on the screen. You touch the keys and it plays some other keys on the pc. What worked for me were volume up, down and mute, Alt-Tab. There were other less interesting combinations like CTRL-numbers but the shortcuts can be configured in a json file. It eventually core dumped and I had to close every terminal before being able to type again (Ubuntu 16.04).
Re:Power-touch – Shortcut touch keys on mobile by rokyed on Tuesday November 08, 2016 @08:54AM (#12900207)
thank you for the guide, I will add it to the repo
Re:Power-touch – Shortcut touch keys on mobile by rokyed on Monday November 07, 2016 @02:58PM (#12894437)
I am still at the beginning , this is a prototype , i will be working on it to make it better and better.
Re:Power-touch – Shortcut touch keys on mobile by alistproducer2 on Monday November 07, 2016 @01:02PM (#12893241)
Why would anyone upvote this? the README is worthless, the repo was started yesterday and it has absolutely no authentication before allowing control of your computer via a publicly available webpage.

Common' HN, smh.

Re:Power-touch – Shortcut touch keys on mobile by jdbernard on Monday November 07, 2016 @02:41PM (#12894260)
> has absolutely no authentication before allowing control of your computer via a publicly available webpage.

It's less than 100 lines of code, not hard to see exactly what it is doing. It doesn't dial out to a remote server, it starts a local server. And unless you're running a computer that is exposed to the public web, that won't be "publicly available."

I'm not saying it's secure, but let's not immediately jump to conclusions. It is what it is a little useful utility, albeit small and immature.

Re:Power-touch – Shortcut touch keys on mobile by alistproducer2 on Monday November 07, 2016 @03:58PM (#12895004)
>let's not immediately jump to conclusions.

I did no such thing. Everything I pointed out is the truth. The README is incomplete (being diplomatic) and lots of people have port forwarding turned on for various reasons making boxes publicly available.

I question the dev's priorities and judgement if authentication wasn't the first thing on the list before putting it out there.

>It is what it is

you're correct, it's a poorly thought out application that allows for remote control of people's computers.

Re:Power-touch – Shortcut touch keys on mobile by jdbernard on Monday November 07, 2016 @04:27PM (#12895305)
> I question the dev's priorities and judgement if authentication wasn't the first thing on the list before putting it out there.

Come on, this is the kind of thing I meant. You question his priorities and judgement? Seriously? Because he shared a little project he put together? He made a thing. He shared it. That's it. It's not like he is selling this, or promoting it as some great thing. I imagine he thought other people on HN would find it interesting given all the discussion of Apple's touch bar, so he shared it. No need to be so antagonistically critical of what is obviously not a finished product. A little kindness and consideration goes a long way.

Re:Power-touch – Shortcut touch keys on mobile by rokyed on Tuesday November 08, 2016 @08:51AM (#12900185)
Thank you. I want to add that, my priorities are to make this project available for everybody, my intent is to make it functional, on the prototype I didn't see the need of security because, my own network is private so testing it was a breeze, but now i did implement an authentication because many people requested it. My main goal of building something that's like apple's touch bar , is kinda finished but that doesn't mean i won't evolve the project , all i need is just some ideas and I will happly implement them because I love programming
Re:Power-touch – Shortcut touch keys on mobile by rokyed on Monday November 07, 2016 @02:57PM (#12894431)
i will be working on the auth for making it secure. In the days to come I will improve it.
Re:Power-touch – Shortcut touch keys on mobile by machbio on Monday November 07, 2016 @01:09PM (#12893306)
maybe one of the flaw of HN is you only have the UpVote Button for most of the users..
Re:Power-touch – Shortcut touch keys on mobile by pyre on Monday November 07, 2016 @01:16PM (#12893383)
There is no downvote button for stories, and the bar is fairly low for the downvote button on user comments, IIRC.
Re:Power-touch – Shortcut touch keys on mobile by rubicon33 on Monday November 07, 2016 @01:23PM (#12893454)
Is clicking the [-] button (which hides the comment) the same thing as down voting?
Re:Power-touch – Shortcut touch keys on mobile by pyre on Monday November 07, 2016 @01:30PM (#12893516)
That's "Collapse Thread" / "Collapse Tree" and it's a view-only thing to make it easier to browser the comments.
Re:Power-touch – Shortcut touch keys on mobile by rubicon33 on Monday November 07, 2016 @02:12PM (#12893937)
Thanks... So then, at what point does down voting become enabled?
Re:Power-touch – Shortcut touch keys on mobile by jdbernard on Monday November 07, 2016 @02:35PM (#12894197)
I believe it becomes available once you have 500 karma. There may also be an account age requirement. The idea, IIRC, is to only give the power to people who are invested in the community.
Re:Power-touch – Shortcut touch keys on mobile by ygra on Monday November 07, 2016 @01:24PM (#12893460)
No.
Re:Power-touch – Shortcut touch keys on mobile by Jtsummers on Monday November 07, 2016 @01:29PM (#12893507)
You can flag any post, and downvote privileges take 500 (501?) karma.
Re:Power-touch – Shortcut touch keys on mobile by pyre on Tuesday November 08, 2016 @06:59PM (#12905092)
1. You can't flag a comment that is in direct reply to you.

2. You need to go to the permalink / direct link to the comment to see the flag link.

Re:Power-touch – Shortcut touch keys on mobile by makecheck on Monday November 07, 2016 @12:16PM (#12892758)
I always thought it made a lot more sense to pair an existing touch device with a computer instead of embedding touch in the keyboard. It’s less limited (e.g. larger horizontal or vertical or grid layouts as needed) and it uses something that most people already have.
Re:Power-touch – Shortcut touch keys on mobile by nilkn on Monday November 07, 2016 @12:50PM (#12893116)
Isn't the advantage of embedding it in the keyboard that it's ideally positioned just a short finger reach away from the default touch typing stance? Also embedding it in the keyboard means it doesn't require any extra desk space, so it's available in bed, on the couch, etc.
Re:Power-touch – Shortcut touch keys on mobile by pmontra on Monday November 07, 2016 @01:43PM (#12893635)
Sometimes you are close to the keyboard and sometimes you're walking around giving a presentation or other activities. There is space for both approaches.
Re:Power-touch – Shortcut touch keys on mobile by rokyed on Monday November 07, 2016 @03:06PM (#12894519)
i can see that, thanks for the idea
Re:Power-touch – Shortcut touch keys on mobile by rokyed on Monday November 07, 2016 @03:00PM (#12894457)
i would love to implement it like Apple did it but i am no electronics engineer to do such.
Re:Power-touch – Shortcut touch keys on mobile by dsr_ on Monday November 07, 2016 @12:31PM (#12892898)
It would also be particularly good if it acted as a USB or Bluetooth HID keyboard and/or touchpad.
Re:Power-touch – Shortcut touch keys on mobile by moses-palmer on Monday November 07, 2016 @01:12PM (#12893349)
I have had that as a low-intensive side project for the last three years. It's amazing how responsive a virtual touchpad you can create using touch events + HTML 5 + websockets!
Re:Power-touch – Shortcut touch keys on mobile by no_news_is on Monday November 07, 2016 @01:38PM (#12893601)
Since you didn't link it, I will.

https://github.com/moses-palmer/virtual-touchpad

Requires >= Python 3.5 though so I won't be trying it out just yet.

Oh, and welcome to Hacker News!

Re:Power-touch – Shortcut touch keys on mobile by moses-palmer on Monday November 07, 2016 @03:38PM (#12894814)
Thank you :-) I have been silently reading linked articles and comments here for a couple of years; apparently I needed a reason to push my own semi dormant project as well as an actual computer to finally register.
Re:Power-touch – Shortcut touch keys on mobile by vaqm on Tuesday November 08, 2016 @03:19AM (#12898537)
it does make sense, if you'd like your iOs device to behave as a (sort of) giant Touch Bar check Quadro out... (http://quadro.me)
Re:Power-touch – Shortcut touch keys on mobile by 50CNT on Monday November 07, 2016 @12:58PM (#12893195)
This sounds kinda similar to Unified Remote.
Re:Power-touch – Shortcut touch keys on mobile by pmontra on Monday November 07, 2016 @02:17PM (#12894008)
I tried Unified Remote and obviously it is much better having been under developement for so much more time.

Unfortunately it keeps disconnecting from my phone, both WiFi and Bluetooth. The app is very bad at signaling if you're connected or not and at managing the connection parameters, and that doesn't help. They could copy JuiceSSH, which is not supereasy but better, or Syncthing.

Still, it doesn't work so I uninstalled it. Power-touch seems potentially better because it does so little that there is no danger of misconfigurations. It's much more hackable too.

Re:Power-touch – Shortcut touch keys on mobile by rokyed on Monday November 07, 2016 @03:03PM (#12894485)
So, my phone has no memory to install any app ( because it was cheap and i never seen any potential in upgrading it ), so when i started thinking about this app , i was thinking how can i make it work without installing something on my phone ? then it clicked because i am a web developer.
Re:Power-touch – Shortcut touch keys on mobile by vaqm on Tuesday November 08, 2016 @03:15AM (#12898527)
Did you try Quadro (http://quadro.me) instead? You need an iOs device tho, Android support is not yet available
Re:Power-touch – Shortcut touch keys on mobile by pmontra on Tuesday November 08, 2016 @01:02PM (#12902456)
I would if I were into iPhones. I'm on Android. Thanks anyway.
Re:Power-touch – Shortcut touch keys on mobile by rokyed on Monday November 07, 2016 @03:04PM (#12894497)
i didn't know there was that app, i had done 0 research before jumping into this prototype.
Re:Power-touch – Shortcut touch keys on mobile by 50CNT on Monday November 07, 2016 @11:48PM (#12897745)
It's still a cool prototype, and there's still cool stuff you could add. For instance, if I were to use my phone as an extra keyboard for shortcuts, etc., I'd probably have it tethered via USB. USB device identification should be handled in software, so it stands to reason that your phone can pretend to be a USB HID device (similar to what is done in this[0] paper). Having a simple scripting layer would be interesting too. Trackpad wouldn't be bad either.

Another thing that could be cool is having your phone pretend to be a USB webcam.

[0]http://cs.gmu.edu/~astavrou/research/acsac10.pdf

Re:Power-touch – Shortcut touch keys on mobile by vaqm on Tuesday November 08, 2016 @03:14AM (#12898520)
This has exactly what you are looking for, including USB support: http://quadro.me
Re:Power-touch – Shortcut touch keys on mobile by 50CNT on Tuesday November 08, 2016 @11:29PM (#12906051)
That is pretty cool. Sadly iOS and Windows only, whereas I'm running Android and Linux.
Re:Power-touch – Shortcut touch keys on mobile by pmontra on Monday November 07, 2016 @01:36PM (#12893588)
Still much work to do but it's an interesting idea and a good demo for one day of work.

It core dumped after a few minutes and I had to close every terminal instance before being able to type again but it's OK for what it is.

When it won't crash and kill the keyboard I could use it as a clicker for PDF presentations on my Ubuntu laptop. There is already a wonderful remote for LibreOffice Impress (https://play.google.com/store/apps/details?id=org.libreoffic...) but I didn't have anything for the other presentation formats.

But we'll need at least some kind of authentication over an encrypted channel.

Re:Power-touch – Shortcut touch keys on mobile by rokyed on Monday November 07, 2016 @03:01PM (#12894462)
i will be working on the authentification
Re:Power-touch – Shortcut touch keys on mobile by rokyed on Monday November 07, 2016 @02:58PM (#12894445)
Please leave sugestions under github, it makes easier to keep track and make them tasks.
Re:Power-touch – Shortcut touch keys on mobile by agumonkey on Monday November 07, 2016 @01:39PM (#12893606)
Did Apple never try using ipods or iphones as alternative controllers before ?
Re:Power-touch – Shortcut touch keys on mobile by rokyed on Monday November 07, 2016 @03:04PM (#12894494)
I really don't know, but my point was actually to build something that's like TouchBar from Apple, but i didn't wanted to pay the premium price of a mac book pro .
Re:Power-touch – Shortcut touch keys on mobile by vaqm on Tuesday November 08, 2016 @03:12AM (#12898509)
You don't need to create one yourself http://quadro.me
Re:Power-touch – Shortcut touch keys on mobile by rokyed on Tuesday November 08, 2016 @01:40PM (#12902778)
I see, but I prefer mine, plus I want to let all the people have the source code, I am not interested in closed source apps.