HNHacker News
TopNewBestAskShowJobs

selvakn

136 karma · joined November 11, 2009

[ my public key: https://keybase.io/selvakn; my proof: https://keybase.io/selvakn/sigs/It55Lbp21_vNqYa9YcgIBfQWtQ-kEPm8MtF82k7NrY0 ]
submissionscomments
selvakn··on Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
shameless plug (im a contributor to): https://github.com/jskswamy/aide/ covers you, with configuration driven through yaml and credential management with sops.
selvakn··on IoT Unravelled Part 2: IP Addresses, Network, Zigbee, Custom Firmware, Soldering
> I just wish there were more wired product options out there. Love to hear recommendations.

RS485 + Modbus

There are some hardlimits (like length, number of devices though)

selvakn··on LoRaWAN distance world record broken twice: 766km using 25mW power
Being in Europe, I would assume 868 Mhz. And the data rate depends on SF (spreading factor) used. https://docs.exploratory.engineering/lora/dr_sf/
selvakn··on LoRaWAN distance world record broken twice: 766km using 25mW power
LoRa is.. But LoRaWAN is an open standard, governed by LoRa Alliance.
selvakn··on QEMU v4.0.0 released
Same here. Use it to build tools targeting arm architecture (rpi, etc) on a x86_64 machine, that too in docker.
selvakn··on Home Assistant: Open-source home automation platform running on Python 3
Have been using https://www.home-assistant.io/components/emulated_hue/ for sometime. It does not use HA Cloud though (not required actually). With this, all the components registered in HA are emulated as hue devices for Alexa.

Note: I use Echo Plus, which has the abilities to discover devices. Not sure if this works with Echo or Dot.

selvakn··on Home Assistant: Open-source home automation platform running on Python 3
You can always leverage existing MQTT based components https://www.home-assistant.io/components/mqtt/, by making your component MQTT compatible.

Adding new component is also relatively straight forward. For ex, have a look at https://github.com/home-assistant/home-assistant/blob/dev/ho... and other components. You implement couple of methods of existing traits, in this case, SwitchDevice.

selvakn··on Show HN: Ondevice SSH – Terminal emulator for devices without public IP address
Plug: If adhoc peer to peer port forwarding is what required, try https://github.com/selvakn/p2p-port-forward (which uses zerotier-sdk)
selvakn··on Show HN: Ondevice SSH – Terminal emulator for devices without public IP address
if you want a dedicated peer to peer vpn, zerotier.com is great.

Plug: If you want adhoc peer to peer port forwarding, you can try https://github.com/selvakn/p2p-port-forward (which uses zerotier-sdk)

selvakn··on Uber Paid Hackers to Delete Stolen Data on 57M People
Plug: https://github.com/thoughtworks/talisman
selvakn··on Peer-to-Peer Communication Across Network Address Translators (2005)
Plug: https://github.com/selvakn/p2p-port-forward Based on https://www.zerotier.com/
selvakn··on Show HN: An etcd backed DHCP server
Sure.

This is the lock that Im using: http://www.ebay.com/itm/12V-Electromagnetic-Door-Locks-Magne... . Its electromagnetic and not a turn lock.

And the actuator that I built to control the lock is something like this: https://www.tindie.com/products/Armtronix/wifi-esp8266-solid...

The callback script in the dhcp server pushes an event to a mqtt broker on dhcp commit event.

And all of these orchestrated by home-assistant.io, on top of which, we have also mobile and voice (alexa) integration too.

selvakn··on Show HN: An etcd backed DHCP server
If it is for executing some script on successful connection of any device to wifi (and thus an IP is assigned), with dhcpd, it can be achieved with the following config:

  subnet 192.168.1.0 netmask 255.255.255.0 {
    on commit {
      set ip = binary-to-ascii (10, 8, ".", leased-address);
     execute ("/usr/local/bin/on-device-connect", "commit", ip);
    }
  }
I have setup exactly this to automate stuff unlocking the door in my office (in the morning, whenever some one arrives and phone connects to wifi).

My original source: http://jpmens.net/2011/07/06/execute-a-script-when-isc-dhcp-...

Edit: Fix code formatting.

selvakn··on What’s New in Docker 1.13?
Looks like it is fixed in https://twitter.com/kelseyhightower/status/82223709949555097.... Im looking for official changelog for confirmation though.
selvakn··on Easy XMPP: What are we doing here?
Has anyone tried https://coy.im/ ?
selvakn··on The Day I Got My Green Card
Congratulations!! Oh, another note: Looks like you know very little about India.

Disclaimer: Indian, IT consultant.

selvakn··on Planned GPS outages in southern California
And India's own: http://www.thehindu.com/sci-tech/science/irnss-launch-indias...
selvakn··on A.P.J. Abdul Kalam, nuclear scientist and former president of India, has died
Better source: http://www.ndtv.com/india-news/former-president-apj-abdul-ka...

edit: @mods: Can you please update the url

selvakn··on Shutting down Uber in India was unwise
A possible solution is prepaid, which is followed in a lot of industries (ex: telecom)

With Uber, you can prepay per month a certain amount with all the two factor authentication and just use it. I understand the complications like how can we authenticate the user when he/she boards and make sure the account has (enough) credit, etc. But I think they should be workable.

selvakn··on RethinkDB 1.13: pull data via HTTP, push data via changefeeds
Is the changefeeds feature comparable with changes api of couchdb?
selvakn··on Javascript apps can be fully crawlable
Shameless plug: https://github.com/selvakn/rack_phantom

Similar idea, but implemented without a server for rendering, with a phantomjs process. And only for rails/rack app.

selvakn··on Project Loon
The balloons are not going to move in one direction though. The video also mentioned you can steer the balloons, which means, there is way to keep them above the ground and not the ocean.
selvakn··on Google is reporting itself as a malware distributor.
Repeat: http://news.ycombinator.com/item?id=934669
selvakn··on MacPorts 2.0 with Lion support now available
Im not sure about Lion, but OSX comes with built in apache server. Goto System Preferences > Sharing > Web Sharing
selvakn··on Dropbox.com blocked by Google?
its fake.. Check this out http://safebrowsing.clients.google.com/safebrowsing/diagnost...