justamoment

twtxt.net

"If you can't have it... build it yourself!" - @justamoment

Recent twts from justamoment
In-reply-to » how are all of you doing these days? I'm all good, work, family time and the usual walks with our dog. :)

@stigatle All good, my company is organizing a Christmas event to meet with everyone and I’ll finally get to meet our newest remote coworkers which I work with since about 2 years ago but never met before.

⤋ Read More
In-reply-to » @zags i guess not, since the hash is calculated from the content of the post

@prologic yes, somehow we can.

The main issue is the appended user in the standard message storage, it can be handled with a hidden field like in yarns. What do you think?

⤋ Read More
In-reply-to » 3 whole days in #Go I noticed my search history rolled back to: - "Convert an int to bool in Go" - "Swap two variables in Go" - "How to write a dictionary in Go"

@prologic I wrote them by memory and got them wrong, here what I searched and why:

  • Using boolean as int to do math like false - true => -1` for selecting motion, managed differently
  • Swapping struct fields in a 2d array: solved by decoupling the items and it’s array with pointers
  • Found that quickly myself ✌️

Almost done with my first baby Go experiment, I’ll share soon™️`

⤋ Read More
In-reply-to » @zags i guess not, since the hash is calculated from the content of the post

@darch the content is stored in localStorage.

What I also noticed is when you open a Nick the post is ready to reply to him. This should be true only if I want to write to them.

Maybe mentioning like with yarns and forks using the prefix if not already manually written can be a solution?

⤋ Read More

3 whole days in #Go I noticed my search history rolled back to:

  • “Convert an int to bool in Go”
  • “Swap two variables in Go”
  • “How to write a dictionary in Go”

Like a baby again. 🤣

⤋ Read More
In-reply-to » She Has NO ARMS But Wins The GOLDEN BUZZER in an INSPIRATIONAL Audition! - YouTube -- Oh man! 😳 This Golden Buzzer audition, no arms, my god! 😳 People with disabilities like this just amaze me so much and make me think that being blind is nothing compared to being born without your entire arms and hands 🤦‍♂️ I just could not imagine that! 😢

@prologic some people complain all the time about their life, meanwhile other can overcome real hardships and live better than them with a smile.

If I’d ever met that lady I would bow to her in respect.

⤋ Read More
In-reply-to » This Saturday I did 10 whole hours straight of emergency code review and bug fixing on a project for a third party client made in Django and VueJS.

@eaplmx personally I don’t use it for personal project because I want much more flexibility but, for me, the ORM is the best you can find in python.

For external projects a reliable structure is much better and thankfully Django gives you a good one.

#EvenMoreBiasedOpinion

⤋ Read More
In-reply-to » This Saturday I did 10 whole hours straight of emergency code review and bug fixing on a project for a third party client made in Django and VueJS.

@prologic Django is not too bad (even though I’m decoupling from the messy parts with my own code in my projects) the junk was mostly in the frontend.

It happened because they didn’t use components properly and couldn’t even navigate their own code.

Plus it didn’t look like they know that functions exists. 😑

⤋ Read More

This Saturday I did 10 whole hours straight of emergency code review and bug fixing on a project for a third party client made in Django and VueJS.

Spaghetti code can’t describe them I saw… 😱

Barely managed to make it at least work in all that time. Hope I don’t see that codebase ever again. 🕺

⤋ Read More
In-reply-to » I've started playing with Go today, just understood the basics and still a bit confused about the module and goroutine parts.

@eaplmx @prologic Thanks! 👍

Seems like it worked flawlessly, once I tried everything went in place.

The only thing I noticed is that the libraries didn’t auto-installed like in the documentation, they say to run a go get LIBRARY but after that it’s all good.

I have to try making something now.

⤋ Read More
In-reply-to » I've started playing with Go today, just understood the basics and still a bit confused about the module and goroutine parts.

@prologic I’m missing something here, does this allow to remap a local module with it, or is just a reference for the whole project/module locally?

⤋ Read More
In-reply-to » I've started playing with Go today, just understood the basics and still a bit confused about the module and goroutine parts.

@eaplmx Thank you so much.

I got the fact that everything get bundled from a single folder but I too am used to properly specify what I want for every module since using Python/JS.

On my tries I managed to do local imports and compile with GO111MODULES but I was confused on the uses of that flag. Online everything mentioned the url as a reference to the source and I was missing the point of using it locally from a single project.

On a post the recommendation was to not use folder which is pretty bad in my opinion for a bigger project, also looking at yarn repo didn’t cleared up my doubts (too big for me right now 😓).

Thanks again!

⤋ Read More
In-reply-to » I'm making some training videos, and I'm feeling the pain of taking care of every detail 😅

@eaplmx I see.

Actually I have to do something similar for my company soon (not sharable freely here too) and was just curious to see some from others.

⤋ Read More

I’ve started playing with Go today, just understood the basics and still a bit confused about the module and goroutine parts.

I’ll try to make something interesting soon.

⤋ Read More
In-reply-to » Why is Go so popular? I haven't understood the appeal of Go, and I seek to change my mind. (I mean the programming language, not the board game.)

@prologic yeah, that’s easy then. I’ll have to find a fun project to work with it and learn how to take advantage from.

⤋ Read More
In-reply-to » Why is Go so popular? I haven't understood the appeal of Go, and I seek to change my mind. (I mean the programming language, not the board game.)

@prologic I’m probably on my way to learn it too, for API and the like it looks really good, it’s a bit verbose in respect of python with typing but I got used to that kind of syntax with gdscript.

⤋ Read More
In-reply-to » I ordered a 3D-Printer. I have things on my mind that I want to print, but I fear, this is another hobby I have to invest a lot of time into to learn it.

@carsten I have a friend who brought one too.

He printer basically anything, from phone cases to flyable planes to toys.

He managed to have fun by just downloading stuff online.

If you know how you should start making things in blender or at least with something simpler like SketchUp.

⤋ Read More
In-reply-to » Web, Web 2.0, Web 3.0, and web3 are 'silly' names for the most used and trendy technologies.

@eaplmx please don’t remind me of cursed numbers…

I once worked on an AutoCAD project of a local stadium like building for a Chinese client and they asked to remove the bad luck numbers on the seats and I had to remove and shift them for 6000 seats by hand. 🙃

Fun fact: the numbers were only visible in the project files, no number would’ve been printed anywhere.

⤋ Read More
In-reply-to » @markwylde No, it doesn't have to be this way, but it is (almost) always this way. When a programming language makes it too easy to manage dependencies, you inevitably get microdependencies. It doesn't help that many people learn JavaScript or Python as their first language.

@eaplmx my view on this is that I tend to recreate the wheel everytime for a simple reason: it get better everytime I make it.

When copying something, which is ok for me too, you’re relying on the thought you had at the time, while currently they could be different and you could get around a problem quite differently.

For me reusability is about internal code, not with libraries.

If I need to share code with my project using a library then that library is made with my own hands and code.

⤋ Read More
In-reply-to » @prologic I'm relying on vanilla JavaScript most of the time (even when using frameworks) to not have too much dependencies and lately I found that the type="module" works quite well for most of my needs so I'm dropping almost everything, instead of nom and other i rely on skypack for the libraries.

@prologic those are tools that should lessen your burden of the dependencies hell.

Personally I work only with skypack. The rest is for cases where you work with react and the like giving a better experience.

⤋ Read More