@gicrisf@fosstodon.org
@gicrisf@fosstodon.org avatar

gicrisf

@gicrisf@fosstodon.org

MS in Medicinal Chemistry and Tech • Software developer in Test Automation • Linux and Emacs citizen • ADHD

This profile is from a federated server and may be incomplete. Browse more on the original instance.

gicrisf, to gaming
@gicrisf@fosstodon.org avatar

I don't know much about Final Fantasy, but I want to start playing it. I don't care which one has the better graphics, I like good pixel art and the gameplay is my first priority.

Considering that I love Fire Emblem, which one would you all recommend me to start with?

timClicks, to random
@timClicks@mastodon.nz avatar

Óscar Toledo G. wrote a working LOGO interpreter at age 9 in assembler and I am having terrible panic that I know nothing https://nanochess.org/locs.html

gicrisf,
@gicrisf@fosstodon.org avatar

@timClicks basically how I live every single day on this fucking planet

bananabob, to linuxmint
@bananabob@mastodon.nz avatar

Anyone know what is the best program to use on to edit a video. I need to chop it up into smaller ones.

gicrisf,
@gicrisf@fosstodon.org avatar

@bananabob I suggest video trimmer if you have to perform simple cuts and kdenlive for more advanced stuff

gicrisf, to python
@gicrisf@fosstodon.org avatar

After months, I recently returned to my fixation of utilizing beloved Python scientific libraries (numpy, matplotlib, pandas...) through a Lisp dialect. After trying Hy, EL, CL, etc., I increasingly believe that the best answer is Clojure. Very interesting is the sixth line of this code, where you can see how I calmly go to select a venv. Such user-friendliness is not at all obvious; I was surprised when I discovered I could do that so simply.

gicrisf,
@gicrisf@fosstodon.org avatar
gicrisf,
@gicrisf@fosstodon.org avatar

What holds me back the most from working with matplotlib in Clojure is that often I just want a script, but instead, I'm forced to set up a project with lein. I would love to leverage Babashka for that (a scripting runtime for Clojure), but it doesn't bring libpython-clj along, so there's still some friction. As a result, I usually find it easier to just write some Python lines.

gicrisf,
@gicrisf@fosstodon.org avatar

Oftentimes, someone (my head) asks me, 'Can you just be normal and write Python like everyone else in the world?'.

Python is not that bad, but I constantly crave for let statements when I write it. And real lambdas. I wish I had at least one of those.

gicrisf,
@gicrisf@fosstodon.org avatar

@deshipu I cannot nest python's lambdas, or else I would make my own let equivalents with ease. Python syntax forces me to write one-liners

gicrisf,
@gicrisf@fosstodon.org avatar

@deshipu It feels weird, because this way I have to break down my lambdas in different variables and I agree that that's factually the same, but it became hard to follow by reading. I mean, I can't write something like this:

>>> d = lambda: (3  
... * lambda: 2 + 1  
... * 2)  
gicrisf,
@gicrisf@fosstodon.org avatar

@deshipu I don't think these work, tbh. It would be nice, but you can't just wrap stuff in parens with python

gicrisf,
@gicrisf@fosstodon.org avatar

@deshipu I remember I tried stuff like that some time ago. Let me launch a repl.

Here we are:

>>> d = (lambda: 3  
... * (lambda: 2 + 1)  
... * 2)  
>>> d()  
Traceback (most recent call last):  
 File "<stdin>", line 1, in <module>  
 File "<stdin>", line 1, in <lambda>  
TypeError: unsupported operand type(s) for *: 'int' and 'function'  
gicrisf,
@gicrisf@fosstodon.org avatar

@deshipu Are my eyes deceiving me or it's literally the same as the one you wrote? I think Python's complains are reasonable, because it wants you to exec the lambda before multiplying the ints

gicrisf,
@gicrisf@fosstodon.org avatar

@deshipu Look. This way it works:

>>> d = (lambda: 3  
... * (lambda: 2 + 1)()  
... * 2)  
gicrisf,
@gicrisf@fosstodon.org avatar

@deshipu That's what I'm saying: it becomes terribly anti-pattern and difficult to read when real stuff is being written this way. It's natural, since one of Python's principles is to enforce spacing.

gicrisf,
@gicrisf@fosstodon.org avatar

@deshipu I actually think Python's way is pretty, but my brain is wired for scripting in lisps and schemes at this point. You can see an example of how it looks with clojure in the first toot of this small thread

gicrisf,
@gicrisf@fosstodon.org avatar

@deshipu Oh, now all the conversation makes sense lmao!

Thanks for your time, though. I think I confused you by using the words "real lambdas", since I just meant "lisp-like lambdas". The infix notation was essential to not push away all the C/Algol kind of people, so I understand the choice, but I still suffer from it.

gicrisf,
@gicrisf@fosstodon.org avatar

@deshipu lol

gicrisf, to random
@gicrisf@fosstodon.org avatar

I've been away from the platform for a while because I felt overwhelmed, though I'm not even sure by what. It was just a period filled with events, and I couldn't handle it, I guess. I've been away from not just the platform, but many things that matter to me: chats with friends I care about, online projects—everything felt utterly beyond my reach. I could only focus on surviving. This evening, I'm feeling different and I hope to remain in this state for the months ahead.

gicrisf,
@gicrisf@fosstodon.org avatar

I want to make up for my absence, so I'll be sharing some of the things I've been up to lately.

gicrisf,
@gicrisf@fosstodon.org avatar

These days I'm rewatching the only tech comedy I've ever enjoyed

gicrisf,
@gicrisf@fosstodon.org avatar

When I'm not too drained, I'm watching movies. The last I watched is Ozu's Green tea over rice. At this point, I think Ozu never failed a movie

gicrisf,
@gicrisf@fosstodon.org avatar

Currently diving into Doom and its mods! MyHouse.wad particularly sparked my interest, but I also tried out the Halo Doom Evolved mod and was really impressed by how well it's crafted. Musics, graphics, all the small details

video/mp4

gicrisf, to FunctionalProgramming
@gicrisf@fosstodon.org avatar

Lovely way to use "let" in Python, just use context manager (=with=):

https://nvbn.github.io/2014/09/25/let-statement-in-python/

I thought it was an original idea, at first (at first milliseconds)

gicrisf, to DOOM
@gicrisf@fosstodon.org avatar

"Yes, I am watching weird stuff on YouTube because I cancelled my Mubi subscription, but listen, no-no, honestly, just hear me out."

https://www.youtube.com/watch?v=5wAo54DHDY0

gicrisf,
@gicrisf@fosstodon.org avatar

@danct12 I never heard about it before tonight 😭

gicrisf,
@gicrisf@fosstodon.org avatar

@danct12 Honestly, I never was a Doom player but I will: this mod is amazingly well done

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • GTA5RPClips
  • provamag3
  • InstantRegret
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • lostlight
  • All magazines