Better HN
topnewbestaskshowjobs
Log inSign up

nmaggioni

48 karma · joined Dec 5, 2014 (11y ago) · 37 submissions

Submissions

comment 2y ago · link · parent

I second that, I have an EzSBC ESP32 board [1] that wakes up twice a day to fetch data through WiFi and three standard mini 1.5V, non rechargeable batteries are still going strong after almost one year. The power supply stage is truly the most important bit when it comes to deep sleep power consumption.

[1]: https://www.ezsbc.com/product/esp32-breakout-and-development...

comment 4y ago · link · parent

Nice to see the MPCNC here!

https://docs.v1engineering.com/mpcnc/intro/

comment 4y ago · link · parent

Some time ago I have in fact written a small utility based on fzf that solves this problem by letting you comment aliases in your shell config file and fuzzy-search through them:

https://github.com/nmaggioni/wat

The tag system is especially useful to me when I know the general concept I'm after but don't remember the exact wording of the command.

comment 4y ago · link · parent

Thanks for chiming in. Any chance that you tried an older, pre-v1.0 version? I used to share some of your considerations, but lately I've seen Nomad evolve at a quicker pace and catch up with some of the features I wanted/liked (ex.: readiness checks were introduced in May 2021 with v1.1, going by the changelog).

As others have already said and basing on the official docs (https://www.nomadproject.io/docs/enterprise), the few Enterprise-only features left don't really feel necessary to me for small-medium deployments; especially when there's an Ops team that can oversee things anyway.

Not trying to play the devil's advocate here, I'm genuinely interested in what I might be missing with my current approach.

comment 4y ago · link · parent

> Nomad isn’t much better (or free)

"Better" is quite subjective, in my experience I've had workloads that were a breeze to setup in Nomad and painful enough to replicate in K8S that I haven't followed through with the latter. That is especially true in a home server/lab environment where things change and break all the time. I still run Nomad and K3S back-to-back to re-evaluate them periodically for my production needs, but so far my take on the matter hasn't changed.

"Free" puzzles me as well. Free as in open and hackable? The source and buildfiles are all publicly available, hack away to your heart's content. Free as in free beer? The same concept still applies, and if paid support is being referred to here, how's that different from paying any cloud provider to use their managed K8S services?

6.

Show HN: Wat – “Which Alias To?”, an fzf alias finder(github.com ↗)

2 points · by nmaggioni · 5y ago · discuss

comment 5y ago · link · parent

Have you ever experienced spikes in the S8's readings? Mine seems to underflow and wraparound every once in a while for no apparent reason or when exposed to fresh air for prolonged periods of time. I tried recalibrating it on the 400ppm baseline a few times but the issue hasn't gone away.

8.

250 GB/day of logs with Graylog: Lessons Learned (2016)(thehftguy.com ↗)

2 points · by nmaggioni · 5y ago · discuss

comment 5y ago · link · parent

Lower the temperature or turn off when not moved for some time, better temperature control via PIDs, set a voltage cutoff when running off battery packs...

https://github.com/Ralim/IronOS#key-features

comment 5y ago · link · parent

Great execution, and the author's blog has a bunch of other very interesting HID-related posts.

comment 5y ago · link · parent

From last time I hacked something up with a Sphero [1] I remember having to lock the motors to read the raw gyro/acc data, this would make the ball itself quite unbalanced but it's an interesting idea nonetheless.

[1]: https://github.com/nmaggioni/flysphero

comment 5y ago · link · parent

Did you even skim through the article? That's not the point at all :)

13.

What's triggering my GitHub API rate limit?(nmaggioni.xyz ↗)

1 points · by nmaggioni · 5y ago · 2 comments

comment 5y ago · link · parent

gPodder is already pretty great at this and doesn't require per-podcast config files. Some time ago I even made a simple WebUI for it: https://github.com/nmaggioni/dashpodder

comment 6y ago · link · parent

I had the same exact concern, and I haven't been able to find reliable confirmations on this being completely impossible either.

It's easily testable, though, that a webpage that isn't focused (because an extension's pane is open) doesn't receive input events. Likewise, Chrome [1] and Firefox [2] extensions themselves cannot bind to relevant keys for example. All in all I would say that going through an empty tab is unnecessary - even though I got into the habit of doing it as well - and even if this wasn't true 2FA should be enough to thwart most malicious actors.

[1]: https://developer.chrome.com/extensions/commands [2]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...

comment 6y ago · link · parent

AFAIK every user with a supported wallet received it, the airdrops started way before Keybase supported XLM. See earlier blog articles: https://www.stellar.org/blog/bitcoin-claim-lumens-2/ and https://www.stellar.org/blog/bringing-lumens-to-millions/

comment 6y ago · link · parent

Stellar (https://www.stellar.org/overview) isn't part of Keybase per se, they've just developed an integration - or better said, a wallet - for that system. To me Stellar's mission doesn't seem too far apart from Keybase's, I can understand why they see value in it for their users.

comment 9y ago · link · parent

LXC Containers:

- Koel (Web-based music player; https://github.com/phanan/koel)

- Aria2 (generic downloader; https://aria2.github.io/)

- GPodder (podcast downloader; https://gpodder.github.io/)

- PiHole (mostly for curiosity, I now use full-blown DNS & DHCP servers; https://pi-hole.net/)

- OpenVPN (https://openvpn.net/)

- Pritunl (OpenVPN failover; https://pritunl.com/)

- PlexPy (Plex monitoring; https://github.com/JonnyWong16/plexpy)

- BIND (DNS server; https://wiki.debian.org/Bind9)

- ISC-DHCP (https://wiki.debian.org/DHCP_Server)

- Smokeping (connection monitoring; https://oss.oetiker.ch/smokeping/)

- Ansible (central host with playbooks; https://www.ansible.com/)

- Graylog (log aggregation; https://www.graylog.org/)

- Wallabag ("read it later"; https://wallabag.org/en)

- Home Assistant (home automation; https://home-assistant.io/)

- Bookstack (documentation; https://www.bookstackapp.com/)

- Observium (network devices monitoring; https://www.observium.org/)

VMs:

- PfSense (firewall & permanent VPN for some containers; https://www.pfsense.org/)

- Rancher (Docker orchestration; http://rancher.com/)

Rancher (Cattle environment):

+ ELK stack (https://www.elastic.co/)

+ Concourse CI (just to experiment, I prefer GitLab's CI; https://concourse.ci/)

+ Dumpster (my own temporary file upload platform, with additional YubiKey support; https://github.com/nmaggioni/dumpster)

+ Own Telegram bot (talks with ELK)

+ Let's Encrypt renewal daemon

+ FaaS (either https://github.com/iron-io/functions or https://github.com/alexellis/faas, even though I'm actually waiting for https://openwhisk.incubator.apache.org/)

+ Private Docker registry

I may have left something out, some more services/containers/VMs are disabled due to low usage.

comment 9y ago · link · parent

[Syncthing](https://syncthing.net/) is the perfect tool for the job. Set Calibre's directory on your PC as the main folder, and it'll propagate changes wherever you want.

20.

Show HN: Gerph – A simple and blazing fast key-value configuration store API(github.com ↗)

27 points · by nmaggioni · 10y ago · 8 comments

21.

Show HN: HubGraph – Turn boring GitHub events in an entertaining graph(github.com ↗)

1 points · by nmaggioni · 10y ago · discuss

22.

Show HN: A Kanban board. Simple, local and built with Electron(github.com ↗)

8 points · by nmaggioni · 10y ago · 1 comment

23.

Kue, an efficient message queue for Node.js microservices(nmaggioni.xyz ↗)

1 points · by nmaggioni · 10y ago · discuss

comment 10y ago · link · parent

Section gone. Thank you for having found the time to report back, anyway.

25.

PocketC.H.I.P. has arrived! A collection of tweaks for the geekiest gadget(nmaggioni.xyz ↗)

4 points · by nmaggioni · 10y ago · 2 comments

26.

Dumpster – the making of a file upload storage engine – /dev/urandom(nmaggioni.xyz ↗)

1 points · by nmaggioni · 10y ago · discuss

comment 10y ago · link · parent

I wan't focusing on hardening a server, my point was avoiding simple random scans for the sake of log management. Maybe I've used the word "security" too lightheartedly?
12