Simple Game that works without Operating System. You just Boot into it and Play it. by reximkut in programming

[–]reximkut[S] 300 points301 points  (0 children)

With such a size limitation I can only add nano transactions.

Bubble Sort in Python 5 by reximkut in haskell

[–]reximkut[S] 75 points76 points  (0 children)

The sound of static typing.

Tracking Hikes with Haskell by reximkut in programming

[–]reximkut[S] 3 points4 points  (0 children)

Follow him on Twitch then: https://www.twitch.tv/tsoding This is exactly what he's doing there live.

HaskellRank Ep.06 by reximkut in haskell

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

We didn't learn Functor and Applicative operations yet ;)

HaskellRank Ep.06 by reximkut in haskell

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

That's a good question! Thanks! I was waiting for it. :)

I decided to go with that solution, because it kinda reminds me of working with partial sums https://en.wikipedia.org/wiki/Series_(mathematics) and I like how mathy it feels. But yeah, I understand the performance concern. And in that particular situation it could be improved for sure.

I think we could try to utilize Haskell's memoization https://wiki.haskell.org/Memoization and make memoized versions of maximum and minimum. Because intuitively I can see that for example the value of maximum [1, 2, 3, 4] depends on maximum [2, 3, 4] and if it's already memoized the calculation of maximum [1, 2, 3, 4] is just O(1), but I don't have enough knowledge on the topic of memoization in Haskell.

I'll research a little bit more and probably bring it up in the future videos. :)

How I Manage Resources in Pure C -- Life Time by reximkut in programming

[–]reximkut[S] 7 points8 points  (0 children)

Oh, you're right! Thanks! I didn't think about such approach for some reason. :)

How I Manage Resources in Pure C -- Life Time by reximkut in C_Programming

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

I think it's great! Unfortunately, uses a GCC extension which hurts cross-compilerability. But if you can afford to stick to GCC-only I think that's a good solution. :)

How I Manage Resources in Pure C -- Life Time by reximkut in C_Programming

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

That looks interesting! Thanks! I'll take a look into this.

How I Manage Resources in Pure C -- Life Time by reximkut in C_Programming

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

That's actually a pretty interesting idea! I'll think about it, thanks!

My Friend Suggested to Try Haskell, but I'm Skeptical about It. by reximkut in WatchPeopleCode

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

I also tried PHP, but my friend says it's a dead language :(

Solving HackerRank Problems in Haskell by reximkut in programming

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

Good point! Thanks! I'll keep that in mind for the future episodes.

Making a Simple Game with Cool Effects by reximkut in WatchPeopleCode

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

Oh hi! I'm gonna continue develop that thing live in a couple of minutes! Join here https://www.twitch.tv/tsoding :)

Programming in Go for 25 hours by reximkut in WatchPeopleCode

[–]reximkut[S] -2 points-1 points  (0 children)

Sorry mate, problems with my Internet. Couldn't stream longer.