justamoment

twtxt.net

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

Recent twts from justamoment
In-reply-to » how install gomodot? also.. @prologic your domain has some pretty strong SEO mojo searching for install "gomodot" puts you on the google first page. Media

@prologic@twtxt.net I can confirm, since content is king in SEO it’s normal to get good results one there at least the basic semantics, some sites I worked on her really good indexing even before using meta tags. 😎

⤋ Read More
In-reply-to » @justamoment Hey I just cloned and tried this little game of yours! 😅 This is amazing, really quite good and in only ~600 lines of Go 👌 Very nice! I might show this to my youngest daughter to play 😆 -- Now you just need to have levels, sound, music and so on... 🤣

@prologic@twtxt.net for the implementation I approached with a decoupled visual tile based movement, inspired by early Pokemon games and older RPGs which is extremely short and simple to implement in any languages, it also works seamlessly both in 2d and 3d thanks to how it’s handled.

I recommend it for any new game dev who wants to try making something, it’s quick and easy.

⤋ Read More
In-reply-to » @justamoment Hey I just cloned and tried this little game of yours! 😅 This is amazing, really quite good and in only ~600 lines of Go 👌 Very nice! I might show this to my youngest daughter to play 😆 -- Now you just need to have levels, sound, music and so on... 🤣

@prologic@twtxt.net No way!

All those (Non) Features are the selling points of the game! 🤣

⤋ Read More
In-reply-to » Surprise rain all day long, so the birds weren't around. Armed with rain trousers and rain jackets we went on a drizzle hike this afternoon. It was very nice. The 4°C didn't feel that cold at all. More like 10°C. The plastic layer made for a good greenhouse. I had to strip my gloves and beanie a few minutes into the walk.

@lyse@lyse.isobeef.org Those foggy mornings always fascinated me.

⤋ 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 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 » 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 » 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

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@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