HNHacker News
TopNewBestAskShowJobs

victornomad

1,114 karma · joined May 7, 2016

submissionscomments
victornomad··on Android 12 will let alternative app stores update apps automatically
I got tired of certain apps that kept changing behavior or UI every single week. Some of them sneakily added antifeatures that were not there originally or move features to premium asking me to pay again.

In consequence I disabled auto updates and run an update when I remember...

I'd rather prefer to have auto updates for just security patches not for features.

victornomad··on Ask HN: What are some tools / libraries you built yourself?
I made a JS framework for Android to quickly prototype IoT and apps in general. It started as a tool for teaching my students back in the day. Then changed the purpose multiple times :)

https://phonk.app

victornomad··on The Arduino IDE 2.0 beta
I've been teaching in University environment and the disparity of computers and operating system versions made the Arduino IDE the way to go. It just works everywhere.

Plataformio in my opinion is good for people who are familiar already with Arduino and VScode type of editors.

victornomad··on Pencil Project – open-source GUI prototyping tool
Penpot is really amazing https://penpot.app

Similar to Sketch or Figma but Open Source https://github.com/penpot/penpot Have a try if you haven't! I wish one day I could replace my Figma workflows

victornomad··on Google have declared Droidscript is malware
This is very upsetting. Hopefully they could fix it soon!

I worked on a very similar Open Source tool for really long time called PHONK https://phonk.app (priorly called Protocoder)

It started around the same time as Droidscript but PHONK has been always a hobby project rather than a business.

I can imagine how painful might be for the Droidscript devs if that's a part of their monthly income...

This type of actions by big actors should keep us awake to protect the web with tech, companies and user diversity.

victornomad··on Java Is Underhyped
I used to dislike Java until I had to refactor code with Javascript...
victornomad··on Ask HN: What are you working on?
I had some coverage in Hackaday some months ago. They were very kind to make a post about it. But apart that I havent had much. I dont use social networks so spreading the word is sometimes difficult!
victornomad··on Ask HN: What are you working on?
A scripting environment for Android devices https://phonk.app/

It has APIs for BLE, MQTT, Arduino, OSC, Websockets, Processing, Open Street Maps, quite an easy way to make UIs and more!

I've been working for years already, first for my students then as a hobby project. I learned quite a bit during the process :)

victornomad··on Is the web getting slower?
Yes!

I have the feeling that most of modern websites use too many cpu&gpu resources. My computer is just 5 years old and each time I visit a modern website my computer really suffers.

Please designers and engineers, I don't own the last macbook pro with maxed out specs and my internet connection is quite normal.

Start creating for the rest of us who don't have the resources or interest in upgrading the computer every couple of years!

victornomad··on Jacques Cousteau’s grandson wants to build the ISS of the sea
When I was a kid I used to watch a TV series called SeaQuest. Pretty much the same idea, isnt it? :)

https://www.youtube.com/watch?v=vQNXOscKEhY

victornomad··on The UX of Lego Interface Panels
thx for the suggestion! I'm very much into interface design but didn't do much of physical interfaces. I guess it is more related to industrial design than the typical UX / interaction designer, it seems...
victornomad··on Show HN: Unscreen – Automatically remove video backgrounds with ML
Looks very impressive, but please do not autoplay all the videos at once on the website. My computer fans started to spin like crazy!
victornomad··on The UX of Lego Interface Panels
Thanks for the article, its superb! Could you share some literature as a follow-up?
victornomad··on The UX of Lego Interface Panels
I love that book I'm re-reading it as we speak :)
victornomad··on Germany to meet EU guidelines to ban single-use plastics by 2021
I think the ban of plastic bags happened across Europe years ago. Still you can see them in many smaller supermarkets and other markets (not in Aldi, Netto, EDEKA, etc...)

1) What I find it funny is banning plastic bags but at the same time many of the "bio" veggies and fruits come in plastic packaging to prevent contamination and hijacking (sometimes between the producer and consumer non bio stuff is introduced and sold like so)

2) And the funniest thing is that single plastic use is banned in a first world country where most of the food products come from the other side of the world. The CO2 footprint here in Germany is one of the biggest in Europe... Sometimes it feels a bit of green-washing all this news

victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
you welcome :)
victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
I'm using Mozilla Rhino, its pretty old and it does not support ES6 but is very easy to interface with the JVM
victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
Thanks! I made it the website from scratch using Nuxt.js and some simple CSS. I'll share the source code in Github during this week :)
victornomad··on Show HN: Android OCR-Keyboard
That's a supercool idea! good luck with the job hunting!
victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
Nice to read that you like it!

I think I could integrate ARCore but did not have time yet to play with it, I would be happy to accept contributions since I've never used ARCore myself :) I will add an issue in the repo with the idea!

victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
Just to add a few more things about PHONK:

- PHONK is a full dev environment that lives within the phone / tablet

- The Web Editor is hosted inside the device and served using a web server. So no 3rd party servers / cloud needed.

- It can access the device sensors in a couple of lines of code

- Has support for Websockets, MQTT, OSC, Midi, Bluetooth, Bluetooth BLE, NFC and more in a very concise way

- You can connect an Arduino straight to the phone with a USB OTG cable and communicate with it

- UI uses normalized coordinates, which is very handy for prototyping. It comes with a variety of views for most needs. You can also create a custom one.

- There is live code execution from the Web Editor. Just select the code => Control (or CMD) + Shift + X and that code will be live executed.

- PHONK comes with a Console, so you can console out wirelessly to the Web Editor.

- It comes with OpenStreetMaps support by default

- More advanced 2d and 3d graphics can be done through Processing which is included as a library.

victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
Sadly IOS is not supported, PHONK depends a lot on Android and Java. I would be very happy to see this or something similar in IOS though!
victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
Thanks! :) I learned lots of things while making it!
victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
PHONK has some "shortcuts" to make prototyping and experimentation fast, such normalized UI positioning instead of complex but powerful layout systems.

so for example you can write the following to include a button

  ui.addButton('Click me', 0.1, 0.1, 0.8, 0.2)
That's quite fast to do, but on the other side it makes it a bit cumbersome if your UI is complex and you need to support lots of screen sizes.

The good thing is that PHONK is quite easy to extend and virtually you could expose any Android API to the Javascript engine.

Packaging a PHONK script is possible but I haven't had much time yet to write a guide. I you want, you can follow this issue and upvote it if you think is worth it to have a guide! https://github.com/victordiaz/phonk/issues/9

victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
PHONK supports live execution. You can select the code you want to run and press Control or CMD + Shift + X and it will execute, which is pretty handy. Is not a debugger but it helps quite a lot to debug :)

What debugging workflow do you think would be important?

victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
Since everything is scripted and you only write user "apps", it is pretty safe in Android. Apps in Android have very good sandboxing and is virtually impossible to break anything :)

Sometimes if you write some code that makes PHONK unhappy, the app will freeze / crash but that's all :)

victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
That's very interesting! In theory PHONK supports running scripts in the background which could potentially listen to all those events and trigger things in response.

Just opened an issue to have it in mind and check how feasible it is https://github.com/victordiaz/phonk/issues/20

victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
More modern Javascript implementations is something I had in mind since the beginning. I played a bit with J2V8 but the amount of work to migrate it from Rhino is a bit too much!

I didn't know about GraalJS I will have a look and reopen this issue https://github.com/victordiaz/phonk/issues/4 Thanks for pointing at it!

victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
There is a bunch of differences

1. The scripts you write calls directly to Java methods, so is much easier to access Android API calls

2. PHONK is not only a framework, is a development environment that lives in your phone, so no needs to install npm or any other tool in your computer. You can write scripts directly on the phone, or using a remote Web Editor that is hosted by the device itself

3. The PHONK API is tailored for quick prototyping, making and exploration. I invite you to have a look to the built-int examples and see how easy is to access sensor data, communicate with Bluetooth Low Energy, add maps or create interactive sound to name a few things!

victornomad··on Show HN: PHONK, JavaScript scripting for Android devices
yes and thanks :)

I realized about the music genre a bit later and quite like it! I should get some vibes from the music into the project :)

← PreviousPage 4 of 7Next →