@prologic@twtxt.net nice 👍
@prologic@twtxt.net looks like a rat head from the front. 🐭
@lyse@lyse.isobeef.org Those foggy mornings always fascinated me.
@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.
@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.
@bender@twtxt.net Actually, it was centered at first, but I expanded it to look more like the proposed version.
About the icon, I thought about it too.
I’d like to reuse the current iconset but I think it was cleaned to keep only the currently used icons, a refresh icon might be missing right now.
@akoizumi@social.kyoko-project.wer.ee Make space for me too!
Hi everyone!
Put my hands on the issue yarn#647.
Here a preview:
Desktop:
Mobile:
PS: @prologic@twtxt.net How the f*ck do you generate Upload Media hashes???? Look at the mobile image URL! 🤣🤣🤣🤣🤣🤣🤣🤣🤣
@prologic@twtxt.net Maybe a horizontal scrolling container like on many mobile apps can be nice here.
@prologic@twtxt.net maybe an icon/image over a corner without changing the pod logo and/or some snow over the posts.
@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.
@prologic@twtxt.net Christmas is coming!
How about giving a hat to Yarn.Social too?
@prologic@twtxt.net Well, I shared the code for that reason. 😜
@axodys@octobloc.xyz I’d love to stick my head in that snow. 😶🌫️
@darch@neotxt.dk it looks great centered like that on mobile! 😎👍
@darch@neotxt.dk dunno 🤷 there’s too many raw selectors I can’t figure out how they run over each other.
Why there’s a negative margin in a flexbox child anyway?
@prologic@twtxt.net yeah, the one I work with better is actually the physically farthest from me.
@tkanos@twtxt.net Ubuntu Touch this Brick!
And…
Here we are!
https://gitlab.com/sunetraalex/gogoban
I can say that Go is a good language overall, I’m not sure if I can call myself a fan right now but it’s quite good in general.
@darch@neotxt.dk There seems to be a negative margin on the right section of the footer on mobile.
@darch@neotxt.dk Chrome/Android for me, the footer is pushing the rest.
@prologic@twtxt.net not only for children… 😉
@tkanos@twtxt.net which one are you referring to? Virtual, terminal or the OS Ubuntu Touch?
@stigatle@yarn.stigatle.no 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.
@prologic@twtxt.net it’ll be more reliable since it can be used with JS disabled and via API.
@prologic@twtxt.net 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?
@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™️`
@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?
@darch@neotxt.dk one way to fix it is to share the parsed markdown, like with server side html readable via API.
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. 🤣
@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.
@jim_milton@twtxt.net Hi, welcome to Yarn.Social! 😎
@jim_milton@twtxt.net it split a conversation into a new one.
This allow you to branch on other topics that might come up in a yarn.
@abucci@anthony.buc.ci evil is between us… don’t follow him!
@lyse@lyse.isobeef.org nice.
Also you’re missing the type = bot
from your feed. 😋
@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.
@eaplmx@twtxt.net but can be your enemies or allies.
@prologic@twtxt.net yes I discovered first hand. 😎
@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. 😑
@movq@www.uninformativ.de Don’t worry, I already made a backup 😜.
@lyse@lyse.isobeef.org feels like the way some sites try to get better SEO with keyword dumps.
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. 🕺
@lyse@lyse.isobeef.org Good bot! Great integration with Wikipedia.😋
@movq@www.uninformativ.de Fun fact: seems like I often miss the Google’s reCAPTCHA… Am I a bot too and didn’t know it? 😏
@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.
@prologic@twtxt.net 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?
@carsten@yarn.zn80.net for me python is pretty clear, import a file or folder with init.py as default or the whole dot path of the resource you want.
@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!