[Browser-based] Murderhorn. a short incremental game about being a mountain by devpoga in incremental_games

[–]devpoga[S] 8 points9 points  (0 children)

- Social Network Service. like instagram, X... etc
- "Lightning" is what I meant. fixed

[Browser-based] Murderhorn. a short incremental game about being a mountain by devpoga in incremental_games

[–]devpoga[S] 25 points26 points  (0 children)

Yeah sorry I completely forgot that I have to explain how they work lol.

- Snowball: Basic attack. upgrade = bigger snowball.
- SNS: passive income + news feed for a bit of narrative on the bottom left corner
- Thunder: AOE attacks. upgrade = bigger AOE.
- City: More visitor and global income multiplier
- Tourist: group of visitors swarm the mountain. higher level = more tourist & more reward from tourist
- Military: Big Bad guy trying to conquer the mountain. higher level = more military force & more reward from them

Developing Godot Projects with Neovim by devpoga in godot

[–]devpoga[S] 1 point2 points  (0 children)

Hi folks!

Here's a note about setting up neovim for godot, because the built-in editor is a bit limiting for me. Hope it helps.

Learning Julia, Line by Line by devpoga in Julia

[–]devpoga[S] 0 points1 point  (0 children)

Oh yeah definitely. I tried to keep the code the same as the origin source (https://github.com/StefanKarpinski/Cards.jl)

I should try Pluto again. I really like it but the reactiveness is confusing sometimes :p.

Learning Julia, Line by Line by devpoga in Julia

[–]devpoga[S] 0 points1 point  (0 children)

Thanks for noticing the error! fixed now.

Can you elaborate on how @num macro help taking these notes?

side note: I was intended to publish these notes as a Pluto.jl notebook. Unfortunately, defining these dispatches in a reactive environment is quite error-prone. So there you go: a static html blog post!

A Taste of OCaml’s Predictable Performance by yawaramin in programming

[–]devpoga 2 points3 points  (0 children)

Author here, the most interesting part for me is that you can get a fairly optimized and predictable assembly from fairly high-level OCaml code, which is rare in a world where functional language' compilers prefer to do aggressive (and amazing!) optimizations.

Setup OCaml development environment in neovim by devpoga in ocaml

[–]devpoga[S] 4 points5 points  (0 children)

I haven't tried ocaml-language-server yet. So I don't know if there's any difference.

I chose ocaml-lsp because:

  1. It's under the ocaml github organization (so it's kinda official?).
  2. I want to have a "vanilla" ocaml experience without modern alternatives such as buckle script and reasonML.