I've completed "Calorie Counting" - Day 1 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/1
Solution: https://git.sr.ht/~serra/adventofcode2022/tree/master/item/src/main.rs
Core Infrastructure Architect: Finally, the lisp/scheme hacking job you always wanted! Help us build our core tech! https://spritely.institute/jobs/core-architect.html
Or maybe you're more admin/operations but you'd like to dabble in / grow your tech skills! https://spritely.institute/jobs/core-architect.html
We're a nonprofit, everything is free and open source software, and the organization is fully remote!
Safaris reasoning:
"The base problem is this: the visible area changes dynamically as you scroll. If we update the CSS viewport height accordingly, we need to update the layout during the scroll. Not only that looks like shit, but doing that at 60 FPS is practically impossible in most pages (60 FPS is the baseline framerate on iOS).
It is hard to show you the "looks like shit" part, but imagine as you scroll, the contents moves and what you want on screen is continuously shifting.
Dynamically updating the height was not working, we had a few choices: drop viewport units on iOS, match the document size like before iOS 8, use the small view size, use the large view size.
From the data we had, using the larger view size was the best compromise. Most website using viewport units were looking great most of the time"
Some CSS madness:
The unit vh is defined as 1% of the viewport height.
But setting "height:100vh" usually ends up being *higher* than the viewport height on mobile.
This is because of a bug/feature in safari that other browsers then copied.
We are considering to move postmarketOS to SourceHut: https://postmarketos.org/blog/2022/07/25/considering-sourcehut/
(Please read the full blog post instead of just commenting based on the headline 😉)
I still can't forget how people trolled Outlook back then... Outlook used to display the header X-Message-Flag as a GUI banner message, so we had...
X-Message-Flag: WARNING!! Outlook sucks
X-Message-Flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client.
Did you know there are centralized alternatives to the #Fediverse?
They are great!
Instead of being developed by volunteers for the community they are developed for millionaires with the sole purpose of getting them more money and influence over the "users".
They contain ads and algorithms, so you don't have to decide, what you want to see, but you get to see what makes you addicted, so you view more ads, buy more stuff and thereby support the capitalist system that we all love.
Instead of anonymity you get to enter your phone number and other form of identification, which totally helps against hate speech, right?
I could go on with advantages, but I think it's best you check them out for yourselves.
Wow, these are awesome!
New article on my blog: "How proprietary social-medias are shaping the future of Pepper&Carrot"
Sxmo: Freedom on mobile devices through simplicity and hackability https://framatube.org/videos/watch/66fcff64-d8f9-49c1-8deb-011b115786de
Wohoo! SXMO is doing really well 😀
I just learned that the "maxlength" attribute on html <textarea> elements does not count correctly.
This is because newlines are \n in the textarea are required to be converted to \r\n before submission.
We solved this by... changing the spec to say this is fine https://bugzilla.mozilla.org/show_bug.cgi?id=702296
#InfiniTime 1.7.0 "Jackfruit" is out : manual date and time setting, new motion and step service, faster wake up and many more new features and improvements!
Enjoy this new version on your @PINE64 #PineTime!
Release note : https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.7.0
And it turns out that the FOSS firmware'd modem not always wakes up the modem after it has been in deep sleep for a few hours. We are in contact with biktorgj to see if we can debug this.
Hi, I'm Peter (peːtɐ).
Interested in free Software and obscure music.
Vegan for the Animals.