I wrote some stuff about #programming #recursion and tail call optimization that mentions #python #lua #scala and #clojure
Not a really deep post but sometimes is cool to remind this topics.
It's kind of a draft still, but I think it's fine.
I wrote some stuff about #programming #recursion and tail call optimization that mentions #python #lua #scala and #clojure
Not a really deep post but sometimes is cool to remind this topics.
It's kind of a draft still, but I think it's fine.
@jartigag @oscoder87 I started to play go again after some years with @cmhobbs (who is now disappeared for the internet and I hope he's fine!). I made a couple of go boards to learn and teach algorithms.
It's a nice problem to solve tbh.
This is when I started with #Clojure :
https://github.com/ekaitz-zarraga/go-game/blob/master/main.clj
And this is the same thing for my #Python students:
https://gitlab.com/ElenQ/LearnPython/python-examples/tree/master/go_game
Que dice @ekaitz_zarraga no sé qué de una charla de título «Predecir el futuro en #Clojure» y claro, le tengo que fichar para la #TorreznoConf en septiembre en mi pueblo, que justo será alrededor del tema «Tecnologías para el futuro» :)
UGH
#clojure naming problem here.
`not-empty` is the opposite to `empty?` but no relation with `empty`.
https://clojuredocs.org/clojure.core/not-empty
#Bug source!
So...
Today I had the visit of a good friend and a better human being.
I finished the migration from #Python to #Clojure and the code runs 100 times faster (not exaggerating).
I learned to cook #Japanese #rice properly.
And I almost completed a plan but I couldn't. But I count it as a success too, because I learned from it.
So great I guess.
Ok my #Clojure algorithm is fast to get an output but it takes a lot of time to finish the program.
Any idea of the reason of this?
I'm not sure because I need to check some stuff more but looks like my algorithm is 50 times faster now I migrated it to #Clojure from #Python.
I changed some stuff, but just few points and I didn't make any performance increasing thing yet like memoization and parallelism so...
This is looking great!
This shit is so fucking powerful! It always has the function I need.
I nested two reduces and a zipmap.
Time to stop programming for today.
I'm started to get used to this shit and this is soooo dangerous.
@asiermarques Es decir, en #Clojure en lugar de pedirle que te lo compruebe tienes que exigirle que lo haga y el compiler se encarga de asegurar que has usado la optimización bien.
No optimizaría él mismo, sino que tú le tienes que decir: optimízame esto.
En tu caso le estás pidiendo que te pete si eso no es optimizable.
Es similar. Pero distinto.
Que bueno!
I just shown @eider the joy of REPL driven development in #clojure and she's like:
- Oh, ok.
She's hard to impress.
#Clojure feelings
Migrating my code to #clojure
1) As it was a data-oriented project, it's easier to write
2) It's faster than my python implementation (I think)
3) I'm having fun
4) It's easier to read
5) I CAN fucking memoize the functions even with hashmaps with no extra effort.
Migrating all the code I did in this week in python to #clojure.
:D
Sometimes you have to train yourself. #kata
This is the kind of stuff I was asked to do at https://elenq.tech
As I don't really like web development, I learned clojure in order to do it easier and faster.
I think I'm done with this project so... here it goes: #freeSoftware #clojure #small #luminus
I think I'm done with this project atm.
So... here it goes: #freeSoftware #clojure #small #luminus
@Salomao Wait a minute, and do you combine #gamedev + #clojure ?
Magic solution for a complex problem.
#quiz : Find the magic touch of the R&D guy
#reintroductions | #introductions
Hi, I'm Sal!
I post a lot about #dev, specifically #gamedev and #clojure. For my day job, I work at a healthcare startup with a mission I really like,
I also play a lot of video games and post about them! Also do the shitposting! I try to keep a good balance!
I just realized I never did an #introduction... So here we go!
My jams:
- #rust, #python, #clojure, #programming
- #gnu, #linux, #emacs, #orgmode
- #freesoftware, #hacker stuff
- #music, lots of weird music
- #politics, the one to the left
- #physics
tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.