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 Flutter desktop shells
great news :) Flutter/Dart was a joy for me to code in. As a backend engineer I could pretty much skip all nonsense and just build a simple Android/iOS app in a matter of days. I didn't even have to use Android Studio, built and deploy my app straight from the terminal via CLI.

I have looked at multiple different solutions how to hack flutter to run on desktop but didn't want to invest my time in them as they would probably crash in weird scenarios. This will make things so much easier! modern tooling + no electron = win for both developers and users.

deforciant··on Ask HN: One-person SaaS apps that are profitable?
:D lol! Thanks, will try to adjust :)
deforciant··on Ask HN: One-person SaaS apps that are profitable?
Hi:) mostly blogging and selling directly to clients that I am doing consulting for :D
deforciant··on Ask HN: One-person SaaS apps that are profitable?
I have been running https://webhookrelay.com/ as I side project for the last two years and since last March it's quite profitable. Environment is highly automated, running on GKE, builds and testing on drone.io while deployments are rolled out by keel.sh, some alerting goes through Node-RED so I don't have to interfere.

Still doing full-time consulting but hopefully in the next year or two I will transition full-time to it (if it's ever needed). I do plan to hire someone for marketing or sales, maybe on contracting terms and not full-time.

deforciant··on Why we’re switching to calendar versioning
In one of the startups that I worked marketing people really wanted us to quickly go through version 1, 2 and reach version 3 because "many corporations aren't even looking at tools if they are not version 3 yet" :D They didn't really care what features should be included in those versions :) Fortunately sanity prevailed and we stayed with semver.
deforciant··on Migrating 23TB from S3 to B2 in 7 hours
And comparing AWS to GCP is like comparing Hubble telescope to James Webb telescope :)

Recently I have moved my infra to a more hybrid architecture where all complex services run on major cloud providers while stateless compute services run on a cheap vultr vms. Result is quite nice!

deforciant··on Docli – A declarative language for command-line interfaces in Go
For servers I prefer using: https://github.com/alecthomas/kingpin, allows you to really nicely expand based on main arguments with flags. Also, setting defaults is a joy.

For CLIs - https://github.com/spf13/cobra.

However, will definitely try out Docli whenever I start building something new :)

deforciant··on Controlling Gadgets with Google Home, IFTTT and Node-RED
Hi guys, finally found some more use cases for Google Home besides being an over-engineered kitchen timer! :)
deforciant··on Something Is Broken in Our Science Fiction. Why Can’t We Move Past Cyberpunk?
Charles Stross Accelerando is fantastic, one of the best books I have ever read. I wish I could find more like it. There are some great videos by him where he talks how hard to establish a realistic fictional world 50-100 years from now as opposed to 1000 years in the future (where you can come up with anything-ftl, wormholes and so on).
deforciant··on WeWork’s CEO Makes Millions as Landlord to WeWork
I remember in my first job our CEO was quite proud that he bought the whole office building himself and then rented out to his company. He said whole mortgage will be repaid in 8 years... :) I guess the only difference was that it is a small company and not a 'unicorn'.
deforciant··on Node-Red – Flow-Based Programming for the Internet of Things
Nice to see it mentioned here :) I am currently using it as a "helper application" to perform certain tasks such as health checks of my projects and automating several GitHub actions. I have wrote several blog posts about it: - simple health check: https://dev.to/krusenas/creating-your-own-health-check-monit... - regenerating brew formula hash on update: https://dev.to/krusenas/automating-github-tasks-with-node-re...

While these things are trivial to do in my preferred languages (Golang, Python or Javascript), doing it in Node-RED is kinda fun.. :) Very easy to experiment, extend and do pretty much anything you want. You can always use a "function" node to just write some custom javascript logic if you see that you can't find a suitable node out-of-the-box.

All in all, I think Node-RED really shines when it comes to home automation. Comparing it to alternatives such as Home Assistant, Homeseer or Domoticz, it's a lot easier to understand what is happening and why. Of course, there's less magic involved here and it might make things a bit more difficult for non-developers, but the end result is definitely more stable and better long-term.

deforciant··on A month of Flutter: a look back
It doesn’t seem you know what flutter is:) performance and tool chain is orders of magnitude better than the alternatives. Please try it out. I am a go, python, js dev and I find flutter offering the best developer UX
deforciant··on Ask HN: Which tool do you use to create beautiful diagrams?
yeah me too, 'stuck' :) I have been using it for several years but I am getting a bit annoyed by it. I just don't think I extract enough value from the paid product. Also, I feel locked-in too...
deforciant··on Show HN: Open source JavaScript library to record and replay the web
Even though I do agree that the total recording of sessions is not nice, such tools can be extremely important during early stage testing with your web app's UX. Especially for solo founders who don't have colleagues to tell them that they can't figure out how to use your app :)

Nice way would be to do some recording for a week or so. Get any sessions that obviously were quite long and the user didn't achieve anything. Go through them and try improving UX so the user won't get stuck there the next time.

deforciant··on Hyper.sh cloud service will shut down on Jan 15
I used Hyper.sh for my side project 2 years ago during the initial development phase. It was really easy to start with but I wouldn't say it was stable. Every month or so there would be downtimes or the container would run but for example networks wouldn't work. Or storage volumes wouldn't mount/unmount.. :)

After several downtimes I switched to Google's GKE and never looked back. Hyper is easy to start with but impossible to finish. There was no managed database at that time (not sure whether they had it now) and using Postgres with their persistent volumes (which are backed by Ceph I think) performance was really sad.

All in all, it was a great service for trying out ideas or running small & less important applications, but if you really want it to always be available, then probably it's not the right tool.

deforciant··on A free and open Indoor Navigation Service with superb accuracy
Cool :) I have done my bachelor's project around wifi location fingerprinting back in the day. Took a year but with a bit of tweaks we did manage to calculate pretty accurate models of signal propagation by just having a wall model. The only downside at that time was the lack of development tools for Android (we had to use netbeans which was being horrifying experience). I guess it would be a lot easier to do the project with modern development environments + Flutter & Dart and using a bit more modern versions of OS :)

Really nice to see that this area is still active and being worked on!

deforciant··on Cortex: a multi-tenant, horizontally scalable Prometheus-as-a-Service
I am not sure why are you saying that the customers don't want to run their own instances as they are very lightweight. It makes architecture really flexible as one Prom instance can scrape whole environment. New applications just need to expose /metrics endpoint and set some annotations on their deployment manifests. The main problems with running Prometheus yourself are just storage capacity and query speed.

I played with Cortex for a bit, built my own gateway to match & assign user IDs for incoming Prometheus push requests but from operational perspective running Cortex can be very expensive (if you want it just as a side project) :) GCP Bigtable seems like the best way to store & query data but even the dev instance is prohibitively expensive (last time I checked it was ~1k USD)

deforciant··on Vue.js and Go example project
This is my favourite stack :) built webhookrelay.com with Go (although not Gin, just negroni mux) + vue + vuetify fpr material components. Working on both backend and frontend is a joy and I feel super productive.

The main thing with vue is getting project structure right, try grouping per pages and you will be fine!

deforciant··on WASM based image optimizer by Google – Squoosh
I have tried compressing several PNG images, felt pretty much instant. I normally use trimage but this has definitely more features.
deforciant··on TiDB Cloud, Managed as a Service and in the Marketplace
I have been following TiDB and TiKV for a very long time and whenever I would look at it, I would be quite impressed. Code base is very clean and well structured, architecture is great as well. Really looking forward to see more adoption of this database :) Since it's a Go & Rust project, memory requirements shouldn't be high as well.
deforciant··on VMware acquires Heptio, the startup founded by 2 co-founders of Kubernetes
I think it's quite interesting as few years ago consultancies weren't valued that high and investors wouldn't think that investing into a consultancy is a good idea. With Redha and now Heptio acquisitions it seems like times are changing :) I guess it's really important for those large corporates to acquire engineering talent in bulk and it's probably really healthy for their internal culture to get some fresh ideas. Anyway, I really liked Heptio strategy of building and supporting some open source tooling to help with your k8s cluster, let's hope their team will continue the tradition! :)
deforciant··on Neo4j nabs $80M Series E as graph database tech flourishes
yeah, my experience was the same. It's a really nice database to play with or for a small project but if you need a multi-node HA cluster, the price quickly becomes prohibitive.

I guess if I ever need a graph database again I will probably go for dgraph (although I haven't used it in any production environment) - https://dgraph.io or any other graph database that at least has HA setup without 100k/year bill :)

deforciant··on Copyright Office Ruling Imposes Sweeping Right to Repair Reforms
I live in central London in a 3-4 years old building (24 floors) and the elevators are truly a joke. Every 3-6 days they somehow get out of sync with which floor they are currently on, especially if you go first to -1, after that pretty much every floor will be wrong :) I always wonder who wrote it.
deforciant··on AMD Responds to Intel's 9th Gen Benchmarks
I have 1080Ti, but haven't tried installing any games yet. Last time I had a gaming PC it consumed way too much time so currently I try to use my ps4 for gaming as it's a lot easier to get bored by it :D
deforciant··on AMD Responds to Intel's 9th Gen Benchmarks
Apologies, didn't want it to sound like "you have to use Ryzen for everything now" :)

I wouldn't recommend it to most of my friends or my family for the same reason you mentioned, none of them will utilize those cores.

It just works really well for me and it wildly surpassed my own expectations as I was quite used to the fact that my machine wasn't really usable while I run Kubernetes locally. My workflow used to be:

1. write some code 2. start Kubernetes, wait for it to boot and test the code that I wrote 3. tear it down 4. write some more code 5. repeat

I would be loosing quite a lot of time. Also, while waiting for it to start, I would usually get distracted and start doing something else. Ryzen changed this workflow and boosted my productivity. Now I don't even notice whether k8s is running or not, sometimes I forget it for days :D I can't stress enough how important it is to have a lag free development environment.

deforciant··on AMD Responds to Intel's 9th Gen Benchmarks
Few months ago I switched from i7 to Ryzen 2700X. Honestly, I don't know what would have to happen so that I would switch back to Intel :)

In my developer workflows that include quite a lot of browser tabs, a bunch of Docker containers running, occasional Go or Docker build I don't get any of the CPUs at 100% often. Only when I do cross compilation to a multiple architectures I do use 6-9 CPUs and even then my machine is totally usable and I can't even feel that in the background lots of cores are at full utilisation.

What really counts is the amount of CPUs available, I don't really care about their maximum frequency. Comments about gaming are valid but I think instead of buying Intel just go with a better GPU and you will win there as well.

deforciant··on Going Fast and Cheap: How We Made Anna Autoscale
Code is here https://github.com/fluent-project/fluent/tree/master/kvs
deforciant··on Firefox 62.0 Released
I really like Firefox but unfortunately it doesn't run well on my machine. I have Ryzen 2700X, geforce 1080 Ti, running current Ubuntu but firefox is using 1 full CPU at 100% (load is moving from one core to another) and constantly lags. Researched a lot for any similar problems but couldn't find any solution.

Has anyone seen anything like this and maybe even solved it?

deforciant··on Show HN: Magic Sandbox – learn Kubernetes on real infrastructure
I wanted my own ports with non http services as I had a grpc endpoint :) not sure how it is now but heroku only offered http.
deforciant··on Show HN: Magic Sandbox – learn Kubernetes on real infrastructure
I am a solo developer and I have been running my side projects on Kubernetes (GKE) for several years now.

It helped me a lot to focus on things that I like: development instead of ops. I never had to SSH into any machine or do things manually. I just tag a github release and in few minutes I get my application updated.

With Docker I believe it would be lot more complicated, no zero-downtime upgrades, no load balancing, OS vulnerabilities. Then, when I would need to add a new service into my setup, I would have to yet again go into the host or multiple hosts :)

So no, I don't believe people who say that for small projects you shouldn't use K8s. It saves a lot of time and helps you not to burn out on your side projects as it takes the pain of running a service away.

P.S. I am an author of Keel https://github.com/keel-hq/keel, it's a relatively successful CD solution, I hope it saved a lot of hours for other companies too :)

← PreviousPage 3 of 5Next →