Better HN
topnewbestaskshowjobs
Log inSign up

natertux

11 karma · joined Sep 12, 2020 (6y ago) · 9 submissions

Submissions

comment 1y ago · link · parent

After a few months of experimenting on AWS, I got scared seeing how fast small side projects could turn into expensive monthly bills.

I built my own DIY cloud, a minimal self-hosted setup that lets me deploy apps, databases, and backups on cheap VPS or bare-metal servers. At first I just wanted to save money, but I realized that managing it can easily become a full-time SRE job.

Still, for small, experimental, or hobby projects, this setup works perfectly. It keeps costs predictable and gives full control without needing large-scale infrastructure.

https://diy-cloud.remikeat.com

Would love to hear from others who tried leaving managed clouds behind.

comment 1y ago · link · parent

It is the exact reason why I choose to make my game in 3D. I am making a game similar to advance wars/apes warfare in threejs. My drawing skills are close to zero but thanks to the engineering background my CAD and 3D modeling are somewhat usable. So I am currently learning blender to improve on top of that and I cannot fathom how much more time it would have taken me to make assets if those were to be in 2D.

comment 1y ago · link · parent

If you choose Ruby because it seems distinct in syntax and concept. I would recommend you to take a look at OCaml. Some keywords: immutable, functional, loop via recursion, accumulators, tail-call optimization, monads, pattern matching, type inference, ADT, etc A small hobby project I made with it: https://stackl.remikeat.com

4.

Show HN: Too Poor for AWS? Meet My DIY Cloud(diy-cloud.remikeat.com ↗)

5 points · by natertux · 1y ago · 1 comment

comment 2y ago · link · parent

I had the same idea sometime ago.

Not sure if you can say that it was over engineered or not but I used the following:

* Frontend framework : Next.js / React (Functional components with React Hooks)

* Rendering : Static Site Generation

* Programming language : Typescript

* CI/CD : Github actions

* Unit test : jest

* Design : SASS / Responsive design

* Data validation : AJV / JSON Schema / Joi

* Infrastructure : Cloudflare pages / Terraform

* Package management: Yarn

* Linting & Formatting : ESLint / StyleLint / Prettier

* Pattern matching : ts-pattern

* CSS framework : react-bootstrap

* Monorepo : nx

* PDF generation : jspdf

* Contact form : web3forms

* Captcha : hCaptcha

I am quite happy with the final output : https://www.remikeat.com

It would pull the data from

https://data.remikeat.com/resume.en.json

https://data.remikeat.com/resume.jp.json

https://data.remikeat.com/resume.fr.json

So I can just update the JSON and the webpage will update itself.

Also as the PDF is generated locally, the PDF also get updated automatically.

And I didn't know there was a JSON standard for resume. Maybe, I should migrate the format I designed to this open standard.

Ultimately, I wanted to add a portfolio section, where I would show some of my projects like

https://stackl.remikeat.com which is a stack language interpreter written in Ocaml and compiled to js with js_of_ocaml.

6.

StackL: A simple stack-based language written in OCaml(github.com ↗)

2 points · by natertux · 2y ago · discuss

7.

Use TikZ to solve a math riddle(gist.github.com ↗)

1 points · by natertux · 2y ago · discuss

comment 6y ago · link · parent

Can people tell me what useful program were produced in Haskell ? I know a few for Ocaml but I dont know much Haskell, so dont know yet any useful program written in Haskell. The program I know for Ocaml are: - coccinelle (semantic patching used by linux kernel devs) - FramaC (formal verification) - Coq (proof assistant) - Rust compiler (I think they bootstraped the language by writting a compiler in ocaml first, now the compiler is written in rust itself)

I just saw pandoc. It seems nice. I know parsec. But I would like to know what kind of haskell programs are actually used in real life ? I know Jane Street does all their dev in Ocaml. Is there similar company for Haskell ?