Better HN
topnewbestaskshowjobs
Log inSign up

selvakn

136 karma · joined Nov 11, 2009 (17y ago) · 34 submissions

[ my public key: https://keybase.io/selvakn; my proof: https://keybase.io/selvakn/sigs/It55Lbp21_vNqYa9YcgIBfQWtQ-kEPm8MtF82k7NrY0 ]
Submissions

1.

Aide – declarative sandbox for coding agents(github.com ↗)

2 points · by selvakn · 2mo ago · discuss

comment 4mo ago · link · parent

shameless plug (im a contributor to): https://github.com/jskswamy/aide/ covers you, with configuration driven through yaml and credential management with sops.

3.

Kubegres: Kubernetes Operator for Postgress(github.com ↗)

24 points · by selvakn · 5y ago · discuss

4.

Spot's Got an Arm(youtube.com ↗)

23 points · by selvakn · 5y ago · discuss

comment 6y ago · link · parent

> 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)

6.

Drive Against Encrypted Social Media Messages(thewire.in ↗)

2 points · by selvakn · 6y ago · discuss

7.

K3s Has Reached v1.0.0(github.com ↗)

1 points · by selvakn · 7y ago · discuss

8.

K3s has reached v1.0.0(github.com ↗)

2 points · by selvakn · 7y ago · discuss

comment 7y ago · link · parent

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/

comment 7y ago · link · parent

LoRa is.. But LoRaWAN is an open standard, governed by LoRa Alliance.

comment 7y ago · link · parent

Same here. Use it to build tools targeting arm architecture (rpi, etc) on a x86_64 machine, that too in docker.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 9y ago · link · parent

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

comment 9y ago · link · parent

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)

comment 9y ago · link · parent

Plug: https://github.com/thoughtworks/talisman

comment 9y ago · link · parent

Plug: https://github.com/selvakn/p2p-port-forward Based on https://www.zerotier.com/

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

Looks like it is fixed in https://twitter.com/kelseyhightower/status/82223709949555097.... Im looking for official changelog for confirmation though.

comment 9y ago · link · parent

Has anyone tried https://coy.im/ ?

comment 10y ago · link · parent

Congratulations!! Oh, another note: Looks like you know very little about India.

Disclaimer: Indian, IT consultant.

comment 10y ago · link · parent

And India's own: http://www.thehindu.com/sci-tech/science/irnss-launch-indias...

comment 11y ago · link · parent

Better source: http://www.ndtv.com/india-news/former-president-apj-abdul-ka...

edit: @mods: Can you please update the url

25.

Spectrum: BDD style test runner for Java(github.com ↗)

2 points · by selvakn · 11y ago · discuss

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Is the changefeeds feature comparable with changes api of couchdb?

28.

Source code for Go (CI/CD tool) is now available(go.cd ↗)

2 points · by selvakn · 12y ago · discuss

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.
12