justamoment@twtxt.net

twtxt.net

No description provided.

Recent twts from justamoment@twtxt.net
In-reply-to » @darch I'm thinking we should do someyhing about the filters so that the screen real estate is not so used up? Media -- Like maybe hide them behind something so they don't always take up the space? 🤔

@darch@neotxt.dk Cool, usually the gradient is good when you have a closed area but if you don’t want an extra padding, you need JS. A way to fix it is to have the gradient only on the right with more space to scroll until it’s not covering the items below.

⤋ Read More
In-reply-to » @darch I'm thinking we should do someyhing about the filters so that the screen real estate is not so used up? Media -- Like maybe hide them behind something so they don't always take up the space? 🤔

@darch@neotxt.dk Yeah, I’ve done it before with flexbox like this in my project:

.ScollingContainer {
    display: flex;
    padding: .5em 2em; /* to your liking*/
    gap: 1em; /* the gap between the elements */
    overflow: auto;  /* make it scrollable */
}

Keep in mind that this approach (or the one in the link you found) needs the container to be as wide as the screen if you want is to look nice and not crop on the sides.

The container should be outside any container with the content pushed inside by the same amount as the container, at least on the left.

⤋ Read More
In-reply-to » @eaplmx This exact thing happened to me last night. I happened to be watching some random Youtube video, then this Ad came on, normally they are short 3-5s ads and I just tolerate them (sometimes) -- But this particular ad was 20+ mins long! Somehow I kept listening to it too, despite my daughter telling me I could hit that "Skip Ad" button.

@prologic@twtxt.net on mobile I switch to invidious to skip it in chrome or use Firefox with the plugin.

On PC it should block these, I think your uBlock instance is not working properly.

⤋ Read More
In-reply-to » Big snow day. I think we're approaching 12" in our neighborhood now. I shoveled our driveway twice already and actually broke out the snowblower to clear part of the street by the curb and our mailboxes. It works great when the snow is powdery, but clogs up fast with wetter snow like we're getting now.

@axodys@octobloc.xyz I’d love to stick my head in that snow. 😶‍🌫️

⤋ 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@twtxt.net 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@neotxt.dk 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
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@twtxt.net 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@twtxt.net 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@twtxt.net 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@twtxt.net @prologic@twtxt.net 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.

@eaplmx@twtxt.net 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