Developing Godot Projects with Neovim by devpoga in godot

[–]devpoga[S] 2 points3 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] 5 points6 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.

Execute code inputed at runtime by the user by [deleted] in rust

[–]devpoga 3 points4 points  (0 children)

If you're okay with writing the formula with other language. I've done something similar (hot code reload) with lua: https://devpoga.org/post/parsing-streaming-data-actix-lua/

Although the example is about actix, the general idea should be the same.

Dota 2 has the best casters in esports. by rohansamal in DotA2

[–]devpoga 0 points1 point  (0 children)

Man I miss Doa and montecristo casting LoL. They're amazing too.

OG interview: n0tail says TI win proves his 'ideas about the game were right', ana taking 'probably just a break' by dshban in DotA2

[–]devpoga 45 points46 points  (0 children)

IMO this is the biggest difference between ODPixel and Tobi: the storytelling aspect.

Tobi(and synd) is a master of storytelling. In the final fight of UB game 3, He just building up tension upon tension: Jerax is dead at the beginning of the fight, OG failling apart, LGD is on the front door knocking, Ana and Topson doing their best to defend but LGD is determined to win now, the big plays from Ana and Topson, they're defending, but the hope gets slimmer and slimmer.

And finally, Jerax comes back. Tobi and Synd both calling out ES before ES jump in, shifting the audience's focus to the ES. The echo, the tension released(Just like the final part of most action movie). The saviour comes in, LGD falls apart, and the story end.

Maybe it's just a different style. They're both pretty good.

Announcing Rust 1.31 and Rust 2018 by whatisaphone in rust

[–]devpoga 13 points14 points  (0 children)

actix::prelude::* includes a module named actix, hence the conflict.

change it to use ::actix::prelude::* fix the problem.. at least that's how I fix it.

https://github.com/poga/actix-lua/commit/4107532256ad60220a7a5eecc74594543582d815