Readit News logoReadit News
veidelis commented on The Core of Rust   jyn.dev/the-core-of-rust/... · Posted by u/zdw
IshKebab · 20 days ago
The closest thing I've seen to "simple Rust" I've seen is Gleam: https://tour.gleam.run/

It's clearly very heavily inspired by Rust.

veidelis · 20 days ago
Can one do 3D in Gleam?
veidelis commented on Show HN: Draw a fish and watch it swim with the others   drawafish.com... · Posted by u/hallak
veidelis · a month ago
Does not work for me on desktop Firefox. When I press the "make it swim!" button, there's an error in console: "Uncaught (in promise) Error: Fish model not loaded"
veidelis commented on Why Elixir? Common misconceptions   matthewsinclair.com/blog/... · Posted by u/ahamez
signa11 · 2 months ago
> ... I'm willing to bet on Gleam big time

can you elaborate please ? thanks !

veidelis · a month ago
For a simple dev like me, that would be learning the lang and using it for some project.
veidelis commented on Why Elixir? Common misconceptions   matthewsinclair.com/blog/... · Posted by u/ahamez
veidelis · 2 months ago
I don't find Elixir appealing for various reasons personally. But on a related note, I'm willing to bet on Gleam big time.
veidelis commented on I've launched 37 products in 5 years and not doing that again   indiehackers.com/post/ive... · Posted by u/AlexandrBel
nunodonato · 2 months ago
Slow and consistent. I truly believe this is the key to growth. Unfortunately, I also suck at it. If I don't see interesting growth after a few weeks ,I'm inclined to give up too quickly.
veidelis · 2 months ago
Can you tell more, please? I'm interested to know what did you build that had an interesting growth to you. Could you please expand on one project of yours? Thank you!
veidelis commented on Eastern Baltic cod grow much smaller than they did due to overfishing   smithsonianmag.com/smart-... · Posted by u/littlexsparkee
veidelis · 2 months ago
What I've had heard so far about cod's troubles in the Baltic sea is that it's not salty enough for them. For cod to reproduce, their eggs need a certain salinity so that they swim to the right depth after they are spawned.

Here's an article in Latvian news site about it - https://nra.lv/neatkariga/intervijas/481931-mencu-zveja-balt...

veidelis commented on Error handling in Rust   felix-knorr.net/posts/202... · Posted by u/emschwartz
_benton · 2 months ago
Would that work with refactoring too? Like for example if a function that once returned Maybe<Foo> was refactored to return Foo, would a consumer that received Maybe<Foo> still work?
veidelis · 2 months ago
Probably yes, with From and Into traits.
veidelis commented on In React {Transitions} = F(state)   jordaneldredge.com/blog/t... · Posted by u/captbaritone
veidelis · 5 months ago
"This is the famous UI = f(state) mental model of React". Famously incorrect generalization. Why? For example, the useRef hook enables components to hold their own state. React components are not guaranteed to be pure functions. Of course, it can depend on how one writes their code, but it's not a guaranteed that UI = f(state) in React in general.
veidelis commented on Earth's inner core may have changed shape, say scientists   bbc.co.uk/news/articles/c... · Posted by u/neversaydie
mont_tag · 7 months ago
Perhaps too difficult for either Bruce Willis or for Chuck Norris, but what if they worked together !?
veidelis · 7 months ago
Sorry to tell you, but Bruce Willis has dementia.

u/veidelis

KarmaCake day292May 16, 2012
About
sometimes I know what I'm doing
View Original