HNHacker News
TopNewBestAskShowJobs

deforciant

404 karma · joined December 11, 2015

Working on: https://lightning.ai https://webhookrelay.com https://synpse.com https://meteron.ai https://deliust.com https://keel.sh
submissionscomments
deforciant··on Philips Hue Bridge v1 online services will be shut off after April 2020
I got hue bulbs and a 3rd party zwave/zigbee USB stick, hue works really well with it via Node-RED and Home Assistant :) I understand that for most users hue bridge seemed like the easiest way to connect but hopefully they will find that it's not that difficult to connect them via other means.

Comparing TP Link (wifi connected) bulb with Hue - the former reacts a lot quicker than tp link after boot (if you are using the normal switch).

deforciant··on Ant Design 4.0
Used Ant Design (Vuejs component lib) for Keel's UI: https://keel.sh/#admin-dashboard-only-available-with-latest-....

After using Ant Design, Vuetify (Material UI) and some bootstrap templates - Ant Design is definitely one of the favorites and would use it in other projects. Even though sometimes there are some weird bugs, it's good to mix frameworks a bit and not use the same one for all your projects to keep life interesting!

deforciant··on Firecracker: Lightweight Virtualization for Serverless Applications
We have been using it to run e2e tests by creating multiple VMs that need to talk to each other and load some kernel modules. It works so much faster than relying on cloud providers or alternatives like Docker in Docker. Very good impressions so far :)
deforciant··on Ask HN: A major USA bank is storing passwords in cleartext – what to do?
Other banks in UK do that as well, shouldn't they all be reported for this?
deforciant··on Launch HN: Deviceplane (YC W20) – Update and Manage Devices Running Linux
That's great! I was thinking of writing something like this for a few months as Balena seems really over complicated. Glad to see Go :) will definitely try it out for my projects!
deforciant··on State Support Helped Fuel Huawei’s Global Rise
In my first real IT job we were buying and installing networking equipment for phones, internet in one big government project. It was hard to not choose Huawei when comparing to Ericsson, they completely copied their equipment, even the Ericsson manuals would suit Huawei while the price was 10x lower. Obviously since it was a public tender Huawei won, it did feel wrong though.
deforciant··on Ask HN: What mistakes did you make when starting as a consultant/freelancer?
Would you take company options/shares as part of the compensation if they can't afford to pay more?
deforciant··on Stripe CLI
that's nice! :) I have found that quite often Stripe's UI would just through errors when trying to open some customers, failed payments or subscriptions. Couldn't really pinpoint why it happens, tried different browsers, disabling extensions and so on.

Hopefully CLI wil work :)

deforciant··on Thank You, Guido
After coding in Delphi, Java, C and C++ - Python was the first language that I really enjoyed coding it. When you enjoy a language, it's easy to start working on fun side projects that advance your skills and you continue improving yourself. Even though I don't write pretty much Python anymore, I still like and respect the language and would definitely recommend it to any new comers in programming. Thanks for Python!
deforciant··on Norilsk: Otherworldly Photos of an Arctic City
Their buildings are collapsing due to permafrost disappearing :) Also it will release lots of pollution from the ground which will even further worsen environmental situation. So on one point yes, it will be warmer but it will make their life more difficult than it is now :(
deforciant··on Gio: Portable, Immediate Mode GUI in Go
Looks fantastic, thanks!
deforciant··on Gio: Portable, Immediate Mode GUI in Go
Gio looks really neat (from the demos), I will definitely try it out as I have been looking for a nice way to build desktop app for quite some time.

Other projects that I am considering to use: https://github.com/wailsapp/wails (looks very decent and I would be happy to use Vue.js for a UI bit) and Flutter with desktop support (https://github.com/google/flutter-desktop-embedding, in this case it's not directly using Go but you can bind them together).

If this would mean that I can just use Go for everything - that's great but the only concern for me I guess is just the availability of examples and widgets. I don't consider myself a good UI designer so relying on libraries is important :)

deforciant··on The Cult of Kubernetes
Same here, I run K8s both locally and on GKE for a project. My GKE cluster is just 2 nodes that have 2vCPU & 3.75GB RAM each. Performance is great and it has saved me an insane amount of time. I have also created an open source project that does one thing - updates your deployments :) https://keel.sh. Previously I tried several different hosting options but nothing is easier/more convenient than k8s for me.
deforciant··on The Cult of Kubernetes
Hi, my shameless plug (I am the creator of webhookrelay): https://webhookrelay.com/v1/guide/ingress-controller, using it both for services that are running in GKE and on minikube locally. It's cheaper than allocating a LB IP for backing services that don't get much traffic like Grafana and similar things.
deforciant··on Game developer loses multiplayer service code
I do PRs for any minor/major features on a project that I work alone :) it helps to see a better diff in github, also see CI status (using drone) and also to review it after few days when I can be objective about it. Project is quite big at the moment with a lot of moving parts so it helps to have a process. Also, each PR has a name and short summary of what was changed, added, fixed. So when something breaks in 6 months it's easy to track down related PRs and refresh my memory.
deforciant··on Go Module Mirror and Checksum Database Launched
I also got this problem when using modules with go mod but then I did "go mod vendor" and all extensions are now happy again for that project! :)
deforciant··on Kubernetes Academy, a free product-agnostic education platform
totally agree :) I have been running Kubernetes in production for several years now on multiple projects. So far I had no need to use any CRDs or even Helm. Just well maintained deployments, services, secrets and ingress manifests.
deforciant··on Start Your Own ISP
One of my first jobs while I was still in uni was working for a small ISP. It was really fun, we had many base stations and mostly provided wireless connectivity. However it's all okay when it's summer to go and deploy/fix antennas but when it was -20C outside and you have to climb on the roof and fix cables or mount a new antenna.. Well, at that point I understood that I need to change jobs :)
deforciant··on Cloudflare outage caused by bad software deploy
Maybe use cloudflare only for the landing page and docs but serve your bidding app frontend and backend directly? Since users are already there it will only affect first load :)
deforciant··on $499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core I9-9980XE
My ryzen 2700x was probably the best purchase I did last year :) it's just fantastic and I would really want to try out these new CPUs, just can't find an excuse to buy them :)

Takes like a second to cross compile Go app for all architectures, many cores ftw!

deforciant··on Serveo: Expose Local Servers to the Internet
Hi! check out webhook relay https://webhookrelay.com/ :) it has multiple ways to forward webhooks and internal connection healthchecks. Disclaimer: I built it.
deforciant··on Ask HN: Best free compute and other resources for startups?
I think a combination of hardware and cloud services could give you a cheap way to run pretty much anything you want. I will try to share what I am using :)

Tooling

For CI I bought a cheap Intel NUC that just sits on my table and runs Drone, Node-RED, my testing environment server.

1. Here from Drone I get all the test pipelines and most of my executable/docker image builds at a much better speed than I would get with Travis, CircleCI and so on. My desktop runs a Drone agent too, so never waiting too long for new builds. 2. Node-RED is used for various automation tasks such as healthchecks for all my services with rate-limits, a bit more complex checks (rather than just simple /health or /status endpoint ping), mailgun webhook handling, github brew formula updates and so on. It does control my TV too :D 3. I also run some tasks on Google Cloud builder which is free and fast. 4. Uptimerobot is also used (http://uptimerobot.com/) as it provides free, second opinion whether my services are down or not.

Compute

For compute I opted for GKE (at the time it was the best managed k8s you can get (and it's still probably is)) on Google Cloud with 3 1vCPU 3.75GB RAM VMs. That gives me plenty of resources to run my stack and any additional side-side-project on it. I tend to code in Go so I don't need much resources. I use managed postgres as a database so I can sleep peacefully.

For additional services I ended up choosing Vultr (https://www.vultr.com/) as they have many regions available and their pricing is really good. There is a nice, non-official CLI and so far their uptime was quite good (few issues but nothing major).

It really depends how much time you want to spend on ops. If you are fine with doing quite a bit of ops, go with Vultr or any other cheaper cloud provider. If you want to spend more time on features, go with GKE and fully automate deployment. Git push -> Google Cloud Builder -> Keel (https://keel.sh) -> new version deployed :)

deforciant··on Luna – A WYSIWYG language for data processing
I have been successfully using Node-RED for quite some time now (https://nodered.org/) :) really like it so far, great tool to quickly add simple and complex health checks to your systems and automate various tasks that no necessarily deserve to have their own services. Kinda like your own FaaS platform (mine runs on an Intel NUC).

Luna looks great and I actually think I initially saw it and then I was looking for it but couldn't find it, ending up with Node-RED. I might give it a try, however I didn't see any mentions of how it integrates with Git :/

deforciant··on Google's Captcha in Firefox vs. in Chrome
I have noticed that Google often signs me off from my multiple Google accounts on FF too :/ While Chrome (which I use only for Hangouts) remains logged in. A bit annoying! :D

Also, good to see that it's a more widespread issue with these captchas too, I somehow thought that I am just bad at solving them :)

deforciant··on Building a Stateless API Proxy
shameless plug: I initially created webhookrelay for just this case - Jenkins & Github :) Instead of polling, you can start builds on webhook request. It can create one-way tunnels so your Jenkins is not exposed to the internet (for PRs https://webhookrelay.com/blog/2019/04/17/automated-github-pu...). Open source client for webhook forwarding is also available! Now the project evolved into way more, but still, started from Jenkins, polling and waiting for the build to start after pushing changes.
deforciant··on 5M Bid request/s, 2ms max response time – The Road to Damascus
Do you use libuv on go side as well?
deforciant··on Nest, the company, died at Google I/O 2019
Exactly! My NodeRED besides doing some home automation actually does a lot more "ops" work for me:

1. Complex healthchecks for my side project webhookrelay.com (tests backend functionality every 30 seconds) 2. Normal HTTP healthchecks for all my websites - webhookrelay.com, keel.sh and few other backing services such as drone itself. 3. Updates homebrew formula hash when a new release is out (there's a super easy to use github integration that allows you to modify files) 4. Receives and processes emails from Mailgun about delivery failures.

So yeah, probably the best self-hosted IFTTT/Zapier out there :)

deforciant··on Nest, the company, died at Google I/O 2019
I have both NodeRED and Home Assistant but lately Home Assistant doesn't do pretty much anything anymore and everything goes through NodeRED :)

I also run more things on my NUC like drone.io build server to run my tests and few more things. I ended up just having a docker-compose file for all my things as opposed to installing services I use through things like HomeAssistant.

deforciant··on Nest, the company, died at Google I/O 2019
I did quite a bit of experimentation with home automation systems (HomeSeer, Home Assistant, Domoticz and so on) and decided that the best (at least for me) and the most control giving solution is NodeRED - https://github.com/node-red/node-red. You can create pretty complex flows with many already available nodes but if you want something custom - it's trivial either to add JS functions or to create your own node from scratch. Currently running it in a Docker container on an Intel NUC :)

The only downside is that it's not user friendly for non-tech people as you would still have to know few things such as what is HTTP server and how do devices talk to each other. It's not as easy as plugging in Google Home and just talking to it. But on the other hand, I only use my google home to: 1. Set timer when I am cooking 2. Send webhooks to my NodeRED to control things.

I don't have Nest currently, although I did use it several years ago, can't say it's very smart :)

deforciant··on Gitlab's Journey from Azure to GCP
Unfortunately Azure AKS is quite hacky and shouldn’t be used in production (heard that from MS people). They will be releasing a more production like K8s distro in near future but it will have different caveats. On the other hand if you look at Google GKE - it has been production ready for multiple years with auto upgrades, self healing and just great ui/cli :) so yeah, if they use K8s then GKE makes total sense.
← PreviousPage 2 of 5Next →