justamoment

twtxt.net

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

Recent twts from justamoment
In-reply-to » Today at lunch break I made a small scene in 3D to help my colleague to understand how 3D worked in pure CSS for a personal project, here's the link.

I published the source for anyone wondering how it’s made.

https://gitlab.com/sunetraalex/3d-css-tunnel

It is pure CSS and HTML, no JS or any libraries/frameworks.

The CSS for everything is, to my own surprise, shorter than expected, it’s really easy to follow in my opinion.

Fell free to ask if anyone has any doubts or want more explanations! 😊

⤋ Read More
In-reply-to » Got a friend asking me for help with their final C programming exams which they failed 8 times (yes, 8 🤷).

@lyse@lyse.isobeef.org Getting help from someone you work with is great, it’s like working with colleagues.

I personally learned my first programming language (Python), on my own with some random video tutorial, by following them, repeating, analysing the results and breaking apart all I just made to see what worked and what didn’t.

I still use this approach up until now, with my little journey in Go for example. 😎✌️

⤋ Read More
In-reply-to » Got a friend asking me for help with their final C programming exams which they failed 8 times (yes, 8 🤷).

@eaplmx@twtxt.net Your approach is really smart on the time constraint.

It might be hard to follow without the essentials, at that university they never ever worked with a project with more than one file, even if someone is interested it’s hard to work on something that reflect a realistic case in those circumstances.

They’re probably on their own I think, hope I can help him to get better at it.

⤋ Read More
In-reply-to » Got a friend asking me for help with their final C programming exams which they failed 8 times (yes, 8 🤷).

An update on the situation, got him to answer a little quiz on basic knowledge of programming as an assessment and the results were….. catastrophic. 🫣

I think we’re going to learn programming from the zero.

When I think back to the exams, now that I’ve seen his skills, could it be that the university lowered their expectations about their students because of their nonexistent interest?

As I said, he seems interested because he saw a software being built at his company, the time prior to that might have been just wasted time of doing nothing…

⤋ Read More
In-reply-to » I hate to be the one that instigates and continues to make true the saying "the few spoil it for the many", but off the back of this thread; I have to ask...

@eaplmx@twtxt.net that’s what I think too.

That must be the reason for such hostility on the project, of course it’s not really an issue since we know it’s been renamed to “Yarn.social” now, but I guess the domain “twtxt.net” might still be a problem for some people. 🤔

⤋ Read More
In-reply-to » I hate to be the one that instigates and continues to make true the saying "the few spoil it for the many", but off the back of this thread; I have to ask...

@prologic@twtxt.net I think one of the biggest issues I faced before joining Yarn.social was the confusion with twtxt and twtxt.net, I asked myself “Why? Which is which? Why a plain text file have a site like that?”

I think some people can see it as “stealing” for the sake of “overriding” a project with it’s own, I know it’s not like that, but I stayed away from twtxt and yarn.social for some years just because I was confused about where to go.

Of course, once I dug in it a bit more I came to understand what and why, but I guess others can see this as a threat, maybe?

⤋ Read More
In-reply-to » https://kevquirk.com/is-dark-mode-such-a-good-idea/ dark mode not always good

@lyse@lyse.isobeef.org That’s the issue, most statement seems to come from experiments made in isolated environments that won’t resemble in the slightest what a real life case with all the combinations that let you come to the conclusion that dark or light is better.

The best way is to allow both options and let the user decide on what is needed, I too keep dark mode always on, but I have some occasional situations where I need to switch to light mode.

⤋ Read More
In-reply-to » Installed latest NixOS on my secondary laptop tonight, was really nice with a proper installer (calamares installer), got most of the stuff I use set up, but I do need to tweak some more. I love the way the system is set up, makes it very easy to have the same setup on several machines. I'll try and run it and use it as much as I can now.

@stigatle@yarn.stigatle.no Neat! I always used nixos-up to install it but this installer seems to work with a proper partitioning UI.

I’ll try on my next install! 😎

⤋ Read More
In-reply-to » @abucci Like I've even toyed with the idea of integrating something like Audio Recording Demo With WebAudioRecorder.js - addpipe.com directly into the Yarn UI, once you're happy with the result, hit the upload button and voila it shoves it in as uploaded audio (media) and brings you back to the postbox for typing 🤣 -- You could give this all a go now if you like (by hand of course)

@prologic@twtxt.net I approve! 👍

⤋ Read More
In-reply-to » Got a friend asking me for help with their final C programming exams which they failed 8 times (yes, 8 🤷).

@eaplmx@twtxt.net Thanks for the tip!

He’s already working in a software company as a tester (but can’t access any code).

And reached out to me for help to become better at something he’s bad at, so the excitement and an helping hand should push him to have proper interest on coding in general, as I said he’s now stuck in C but I hope he’ll get to a point where what language he knows at the time won’t stop him to learn something easier and more versatile.

⤋ Read More
In-reply-to » Got a friend asking me for help with their final C programming exams which they failed 8 times (yes, 8 🤷).

@prologic@twtxt.net I’m not sure myself, we just started talking about it for a single day but I didn’t see any of his actual reasoning and coding yet.

I personally learn by doing: make something you want and learn how on the run, that was my idea for him too.

I also asked him what would be interesting to make for him personally and then start from there.

⤋ Read More
In-reply-to » @prologic whoops... 🤭

Yes. That’s why sharing your experience has much more value that opinions alone.

As you said, being “correct” about something doesn’t mean others will find it “right” since it can be subjective on some cases and first-hand experiences can help on finding the “mid point” in a discussion.

@prologic@twtxt.net sorry if it sounded like I was fooling around, I replied like that because I thought I messed up the topic of “echo chambers” entirely, it started from a meme so I tried to end on a lighter note. 🤗

⤋ Read More
In-reply-to » Got a friend asking me for help with their final C programming exams which they failed 8 times (yes, 8 🤷).

@prologic@twtxt.net I know, he even dropped python in class because there was “too much” he said. 😓

The only real case I could think is something like a game or something but it’s still a mess not being experience myself I don’t want to bother too much.

I ever thought of using wasm to make something in a web page but I might give his teachers an heart attack. 😎

Still he needs C to pass the exam for now.

Just to note, the exam is like this:

  • Load a text file
  • Read the numbers in it
  • Print the highest number

That’s what that university asks to graduate as a tech engineer. 🥲

No wonder he said he made an app in python and the source was made of only print() calls. 🤣

⤋ Read More

Got a friend asking me for help with their final C programming exams which they failed 8 times (yes, 8 🤷).

The situation is bad, seeing him execute source.c without compiling it made me feel things. 🥲

I’m not proficient in C myself but thanks to Go I got the essential quickly…

Does anyone have any ideas for some small projects to build in C that looks interesting to make?

⤋ Read More
In-reply-to » https://kevquirk.com/is-dark-mode-such-a-good-idea/ dark mode not always good

@lyse@lyse.isobeef.org in my case I have the “Dark reader” plugin everywhere in my browsers, for me it’s not about the readability but the amount of light coming from the screen, on a white page, whether it’s day or night I find myself squinting my eyes in pain, this happen with pure screen brightness too (light or dark), especially on smartphones. I also noticed that the contrast in AMOLED when the background is true black hurt my eyes more, the colored parts seems to glow too much for me. 🫣

⤋ Read More
In-reply-to » Internet's Echo chambers 101

I personally prefer to avoid sharing my view on certain topics, not because I’m better than others, but because I often notice my opinion on the matter is different and what I might say could change my relationship (friends, family, etc.) with the other party, maybe all without any gained value on mine or their side.

As for my opinion on the topic of echo chambers, what I and others can do to share their point of view without hurting others in a discussion is to also tell your personal experience on the matter, if you add context to why your own statement is “correct” to you (not to be confused with “right” or “truth”), than the other party can interpret the reasoning behind it and come to understand the “gap” in opinions on the same subject.

I often try to start topics by sharing my life experience on the matter which allows others to add to the table rather than fight each other. 🤗

@prologic@twtxt.net Thanks for the insight 😊 on Meta/Facebook, that’s exactly what I’m thinking when sharing your view to others.

⤋ Read More
In-reply-to » I like using the nix package manager in addition to whichever one comes with the system I'm using, because you can use it to craft local environments, development environments, install and experiment with things without screwing up your system, and other good stuff.

@abucci@anthony.buc.ci with NixOS it’s even worse since it’s for the whole system, I moved some lesser used programs to nix-shell shebang that load what they needs after you launch them.

This way if you run the collect garbage command it strip all those dependencies until you actually need them.

⤋ Read More
In-reply-to » I'd really like to play with ChatGPT, but there's no way I'm giving them my phone number.

@prologic@twtxt.net actually, Telegram approach for bots is pretty good, you can handle them in two ways:

  • Fetch new posts and handle them in batch with scheduled loops or with long pooling
  • Register a webhook and handle a POST endpoint and do what you want in it, this for everything posts separately

For Yarn the rest can be done with the existing API on a special bot user.

⤋ Read More
In-reply-to » I'd really like to play with ChatGPT, but there's no way I'm giving them my phone number.

@prologic@twtxt.net about bots, I’ve never really seen something that I can describe as a bot by now, what would be an example of bot to you?

In my mind it’s something that act like reddit bots or something you mention and reply somehow.

For anything else it’s just a feed to me. 🤔

⤋ 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