HNHacker News
TopNewBestAskShowJobs

rubenhak

15 karma · joined June 11, 2018

submissionscomments
rubenhak··on Mortgage Refinance Calculator
Its just a symbol. Practically speaking works with any currency.
rubenhak··on Mortgage Refinance Calculator
I created a sophisticated refi calculator to understand what would overall savings looks like with different loan options, additional principal payments considering the amortization and progression in the current loan.
rubenhak··on The saddest “just ship it” story (2020)
It might be a good opportunity to talk to them and join the team.
rubenhak··on Nomad vs. Kubernetes
I don't agree with "Kubernetes is an orchestration system for containers originally designed by Google" statement. White it is not false, it creates a wrong impression of what K8s is.

Kubernetes is a cloud operating system which lets you run modern apps in any environment. One important component of course container orchestration, but it went far beyond just orchestrator. Kubernetes has a very powerful ecosystem, and it managed to unite almost all infrastructure vendors and projects. Its amazing to see how so many competing companies could agree on something. And that become K8s.

Nomad is great when you're working with VMs, but I don't see it is much relevant in the modern era of K8s and cloud-native.

rubenhak··on A Surprise AWS Bill
Not directly related to S3 traffic bill, but overall cloud cost management. Maybe some are unintentional, but still very painful. My experience with AWS & GCP.

- AWS CloudWatch: expensive service, virtually unusable, hard to turn it off.

- AWS overall: finding and cleaning up resources is messy. The order of creating & cleanup is not same. Closing an account is a painful process. GCP Project structure is way easier.

- AWS EKS: You create a cluster, then a node group. Deleting a cluster fails if there is a node group. You go ahead to delete a node group, it complains because of "dependencies". While you're randomly looking for a "dependency" the $ clock is still ticking. You should delete the network interface before you could delete the node group, and only then the cluster. This does not sense because if the network interface was created implicitly by the node group, i should not be responsible for deleting the network interface. There should be a symmetry in create/delete operations.

- GCP GKE: You create a cluster, then delete it. Cluster gets deleted - kudos, usability much better then with AWS EKS. But it turns out lots of LoadBalancers and Firewall rules are left over and still appear on the cloud bill. Those are implicitly created and should be cleaned up implicitly by GKE.

rubenhak··on Booting a 486 from floppy with the most up-to-date stable Linux kernel
Now that it boots, time to bring up a Kubernetes and deploy a Spark cluster
rubenhak··on Show HN: Laptop.css
and most important, don't forget the iWatch 5 :)
rubenhak··on Show HN: Laptop.css
This is quite useful, but frankly I doubt many would be willing to put the ASCII style laptop on their web site. Literally a week ago we had to design a bootstrap carousel inside macbook pro laptop here: https://berlioz.cloud

If you could add more style options of devices like macbook, imac, few PCs, tables and mobiles it would be so great!

rubenhak··on Ask HN: Why isn't domain squatting illegal?
You know that TLDs are not owned by any single government. Even if some countries introduce domain reselling laws, its just enough to have one country to not to have the same law.

It is sometimes frustrating, but we can live with that. As I said before, you just have to improvise a little bit more with naming.

rubenhak··on Ask HN: Why isn't domain squatting illegal?
How much government control would you need to make you happy? Where is the line that determines who has right to the domain? I think if you add any level of enforcement it would lead to too much chaos.

In either case it would not help startups. Lets say you decide to open a company named "Banana". How do you envision taking ownership of banana.com? :)

New companies have a luxury of picking ANY name, and a name for which domain is not taken. There are lots of practices on name picking.

rubenhak··on The Roots of Boeing’s 737 Max Crisis: A Regulator Relaxes Its Oversight
Systems are getting too complex for traditional methods of validation and certification to operate. Safety and correctness of intelligent machines should be validated by even more intelligent machines.

Another big problem is that there is very little competition. In reality there are only two players. Smaller manufacturers get absorbed by big ones. As a result grounding a single model causes economic catastrophe in many airlines - leading to significant ticket price increase!

rubenhak··on Ask HN: How would you queue and process 10K+ long running jobs
SQS-FIFO should let you process task once & only once. Just make sure you configure timing parameters correctly.

DynamoDB has triggers that get fired upon changes. That would strongly help with eventual consistency implementation (which i strongly recommend). But with this you should write Lambdas. Check how well is Lambda Java supported.

Are you sure you want to use EC2 directly? Why not to use ECS? This would let you focus more on the business and less on infrastructure

rubenhak··on Battling Entropy
This was good read
rubenhak··on Ask HN: How would you queue and process 10K+ long running jobs
He doesn't seem to need a forever queue. Processing might take a while, but he just needs to get it processed once (and exactly once) and move on. Yes, if he wants to do event sourcing, then yes SQS would not suffice. But I don't think he needs that. But SQS seems to be a great choice.
rubenhak··on Ask HN: How would you queue and process 10K+ long running jobs
You should provide more info regarding your environment. If you're running this in public cloud tell us which one. Every provider has native several queue services for different needs and makes things easier to work with and worry less about setting things up.
rubenhak··on Ask HN: Which domain registrar and hosting provider do you prefer?
I'm using namecheap. No issues so far.
rubenhak··on How to balance full-time work with creative projects
I could combine multiple creative projects with day job, but that all ended when I turned 30. Had to quit my main job to fully focus on the startup i work on.
rubenhak··on Everything is awesome: Don't forget the Lego (Passing a swallowed Lego head)
I didnt get it, what’s the point? The LEGO shouldn’t not be an issue even for toddler to pass. Assuming, it is not LEGO Duplo head.
rubenhak··on A chemical so hot it destroys nerve endings – in a good way
That’s an interesting apporoach. Maybe next time I have lower-back pain, I’d wrap habanero peppers around my back.
rubenhak··on Elementary OS – Fast, open, privacy-respecting replacement for Windows and macOS
Wow, looks cool. The background makes it feel like Mac OS X...
rubenhak··on International System of Units overhauled in historic vote
Finally there is order in units for science community. Hopefully such transformation will come to US one day.
rubenhak··on Facebook Applied for Patent to Predict Who’s in House Based on Family Photos
FB should be renamed to EvilCorp...
rubenhak··on Show HN: An experimental Github/trending User Interface
While this looks cool, I've got a feeling that soon there will be office assistant paperclip and skype integrated to github.
rubenhak··on Show HN: Squally – A Game to Teach Low Level Computer Science
I think child would be more scared to see "AAM" instruction then any of the characters :)
rubenhak··on Ask HN: Does your adblocker break the web?
I'm using AdBlock and "AdBlock for Youtube" and never experienced issues except in LinkedIn Sales Navigator and Facebook Ads portals.
rubenhak··on Ask HN: Advice for teaching my little sister unix?
How old is your little sister?

My first guess would be that she is too young for Java. Why don't you start with a more modern languages like NodeJS or Python? Those languages are easy to start and are not that overwhelming like the languages that carry too much legacy.

For the editor I'd recommend Visual Studio Code. Its open sourced and comes with tons of addons for the languages of your choice. What Microsoft can do really well - is to build great IDEs.

There are tons of books online, check in amazon for best sellers. Another options is video courses. They again are more easy to start with. There is udemy, skillshare, coursera. This format is more interactive. With video lessons chances are much higher she will not get bored and would continue with this further.

my 2 cents.

rubenhak··on Ask HN: How to get started with 3D printing and what to buy?
3D printing is a fun hobby. Sometimes i print toys for my kids. The biggest benefit is that they learn patience.

Prusa MK2 / MK2.5 / MK3 are decent printers, and are advanced enough to not to worry much about it. If you can afford MK3 go for it. I'd recommend the Kit so that while assembling it you get to learn how it works.

For modelling another options is OpenSCAD. It is very different form other tools. It lets you design 3D figures using textural declarations. Its harder to use in the beginning but makes it easier to modify designs and be very precise in measurements.

PLA material has no fumes.

rubenhak··on Ask HN: How to learn design and UX as a software engineer?
You already got some comments that cover UI. I'd give you a different perspective on the UX.

One thing is UI - "drawing" apps and web sites, a completely different area is the UX. You should have been dealing with UX while doing software development - writing frameworks, creating classes, etc, or during day to day life - dealing with invalid door push/pull handles, hard to use phone apps, etc.

Just start paying more attentions to details and areas that are not as efficient as they can be.

rubenhak··on Ask HN: Is it harder and harder to be an entrepreneur as time goes on?
I think its harder to some extent, but you can always find a niche to make significant improvements. If you think that everything is already done and there is nothing else left, that just means you're spending enough time on experimenting and researching.

As far as investment concerned, I'm personally a self-funded solo founder. This is a very hard and stressful path. I'd love to get an investment with a reasonable deal, but for me that's a little bit early. I probably start working in that area once I get few paying customers.

If you haven't yet already done so, read the "Lean Startup" book. I'm by no means associated with it. It was very useful to me, and I think this should the very first think for entrepreneurs to do. Will be probably best $15 spent on amazon.

rubenhak··on Show HN: Smallest Node.js Docker images
This is great! Thanks for sharing. I can recommend a small change to get most out of docker caching and reducing docker build times to the maximum extent.

In the "builder" you only need package.json and package-lock.json files to install dependencies. The rest of the sources can be copied in the "scratch-node" image. This would make caching work till the last line where only code changes are included. Code is modified much more frequently than dependencies.

You sample can look like this:

FROM node as builder

WORKDIR /app

COPY package.json package-lock.json index.js ./

RUN npm install --prod

FROM astefanutti/scratch-node

COPY --from=builder /app/node_modules /node_modules

COPY ./ ./

ENTRYPOINT ["./node", "index.js"]