Currently helping businesses do cloud right @HashiCorp.
Projects...- 🔭 I’m currently working on different projects like the automation of this page, and some demos like this one.
- A few months back I began my Cloud Resume Challenge (and haven't yet finished). It's a web-based resume that helps you practice different technologies and tools like the cloud, infrastructure as code, continuous integration, versioning, etc. If you want to learn more visit check this out.
- 🔭 This is the capstone (integration) project for the second term of the master in Computer Science. It is a basic 3-tier app that allows users to access, modify and create stock a portfolio of their favorite stocks.
- 🌱 I’m currently learning about the HashiCorp product suite (Terraform, Vault, etc.), Vim, AWS, GCP, Azure, Kubernetes, Flask, React, Docker, etc.
- 👯 I’m open to collaborating on any project.
- 💬 Ask me about anything. I love computers, science, outer space, businesses, money, etc.
- 📫 How to reach me: Linkedin
Today's top Hacker News
- Show HN: I made a calculator that works over disjoint sets of intervals | By: fouronnes3
- Claude Design | By: meetpateltech
- Towards trust in Emacs | By: eshelyaron
- Measuring Claude 4.7's tokenizer costs | By: aray07
- All 12 moonwalkers had "lunar hay fever" from dust smelling like gunpowder (2018) | By: cybermango
Text: I've been studying interval arithmetic for the past few weeks and it's a really interesting field because while there is a ton of super interesting research published over the past decades, it has never really gotten the recognition that it deserves, IMO.
One reason for this is that standard interval arithmetic has really poor handling of division by intervals containing zero. If you compute 1 / [-1, 2] in regular interval arithmetic, you get either [-∞, +∞], or you have to say that the operation is undefined. Both solutions are virtually useless. The real answer of course is [-∞, -1] U [0.5, +∞]: i.e. a union of two disjoint intervals.
This is useful because you can confidently exclude a non empty set of the real numbers ([-1, 0.5]) from the set of possible values that you can get by dividing 1 by a number between -1 and 2.
But this definition of interval division yields a value that is not an interval. This is a problem if you want to define a closed arithmetic system, where you can build and evaluate arbitrary expression over interval values.
(This behavior extends to any non continuous function like tan() for example, which is implemented in my project - not without difficulties!)
Well the obvious solution is to define your arithmetic over disjoint unions of intervals. This is the subject of a 2017 paper called "Interval Unions" by by Schichl, H., Domes, F., Montanher, T. and Kofler, K..
This open-source project I made implements interval union arithmetic in TypeScript in the form of a simple interactive calculator, so you can try it out for yourself! The underlying TypeScript library is dependency free and implements interval union arithmetic over IEEE 754 double precision floats (JS native number type) with outward rounding. This guarantees accuracy of interval results in the presence of rounding issue inherent to floating point.
Text: Related: https://x.com/flomerboy/status/2045162321589252458 (https://xcancel.com/flomerboy/status/2045162321589252458)