jetpm
jetpm on Hacker News
Great! In the google developer console where you can configure the android play store entry for your app, some special pictures require a fixed size:
1024 x 500 (functional graphic)
180 x 120 (advertisement graphic)
1.280 x 720 (TV banner)
It would be immensely useful if I could directly download them in that size.
I've made an app & website that lets you quickly try out java snippets on android, e.g. if you see a code snippet on stack overflow you can just copy paste it and throw it in and let it run on your phone. But I didn't continue with it because no one uses it :)
https://runondroid.com/
Posted by
jetpm on Thursday August 06, 2015 @05:44PM
from the show-hn dept.
I always wanted this, typing paths is so annoying. I think the command line got stuck in the last millennium. So much things could be automated there, especially command completion. Why do I have to remember the stupid -xfv parameters for tar or whatever. Computers should be like magic.
What could be improved:
if I type
"nano <ctrl f> index."
I see some index.js files but not my index.html file from my node project.
Ah ok it's in a different folder, but it would be cool if it showed anyways.
Posted by
jetpm on Friday July 24, 2015 @03:19PM
from the show-hn dept.
That's a good point, completely random would be too much, at least the age should be somewhat similar and maybe the place to meet is also a context, e.g. a bar already indicates a form of interest, different than meeting in the water park.
When I think about it, it feels like there is some sort of mental barrier that I have to overcome to make plans with strangers. Maybe when the meetups would be less personal like 20 random people going to a bar or club, I'd rather join in on something. Then nobody would realize if I leave, but if I bond with some people its fine.
So I need friends to find friends, and an iPhone. Damn.
But It looks cool, if I had friends and an iPhone I'd probably use it.
Posted by
jetpm on Wednesday July 15, 2015 @04:41PM
from the ask-hn dept.
I have this accelerometer data from my phone:
http://imgur.com/a/cJoJHThe first artifact is when I lifted my phone from the table, the 3 bursts in the middle when I tapped on my phone 3 times and the last artifact when I placed it on the table again.I want to detect the 3 taps in the middle algorithmically and ignore the other things.I already have some working code that relies on thresholds,...
Posted by
jetpm on Tuesday July 14, 2015 @04:15AM
from the show-hn dept.
Nice, I see you use neural networks, can you explain a bit how you are training them?
I made a bash function for easier alias binding. It makes aliases immediately available and permanent. Also you don't need quotes so you can use tab completion etc. It goes like this:
ali <name of alias> <command>
to get it put this in your .bashrc
function ali() {
echo "alias $1='${@:2}'" >> ~/.bashrc #in ubuntu use ~/.bash_aliases
echo "made alias:";
echo "alias $1='${@:2}'";
source ~/.bashrc; #reload bashrc
}
When I realize I type a command often, I just push the up arrow to get the command again, append "ali" infront of it and turn it to an alias. Works direclty.
And of course the alias to show the list of all aliases:
alias alis='cat ~/.bash_aliases'
I also made a chat app, it's like the exact opposite of this, its totally distracting
http://quatshy.com
I developed something similiar but for the Android API, it goes together with an app, but it is also a Java Read-Eval-Print Loop where the code is executed on the device. It's in beta phase.
https://runondroid.com
Posted by
jetpm on Saturday July 04, 2015 @02:12PM
from the show-hn dept.
For example you can let your phone vibrate or read the GPS of your phone by typing code into the browser.
Posted by
jetpm on Friday July 03, 2015 @07:50AM
from the show-hn dept.
Can I do this with strings as well?
"tsch" ==pa
pa dump
# "tsch"
awesome and scary at the same time. awescary.
If I understood it correctly this should work for nodejs servers as well, for example when they create random ids for users or urls.
I'm curious, why is Math.random() not OK? Does it have a bad seed?
The rain example is great. Reminds me of minecraft.