LineageOS Downgrade Warning
As of LineageOS 22.1, If you try to downgrade Lineage OS to an older build, it will completely wipe your device.
Fuck you Lineage OS team, maybe add a fucking warning.
My Personal Blog for all code stuffs
As of LineageOS 22.1, If you try to downgrade Lineage OS to an older build, it will completely wipe your device.
Fuck you Lineage OS team, maybe add a fucking warning.
#SearchEngine #FederatedSoftware #Fediverse
Note, this blog is not cited, sorry!
We cannot use google forever, no one can index exponential amounts of data, nevermind the predatory SEO and AI.
But YaCy is fundamentally flawed, providing no meaningful results, along with barely anyone using it.
SearX is just built on other search engines, so it does not fundamentally solves the issue.
But, what if we can use our past?
In the early days of the internet, Web-Rings were used to associate sites that were related to each other.
This created a thriving young internet, but a strive for convenience led to the creation of search engines to navigate through those early sites.
But, even in those early days of the 90s, it was known that there was no way for a search engine to be able to index an exponentially increasing amount of data.
Now, most of the world utilizes a small set of monopolistic servers.
Google, Yahoo, Bing, Baidu.
The internet is defined and shaped through SEOs and more, with information suppressed and promoted at the whims of billionaires and trillionaires.
This cannot go on.
What if, instead of a search engine trying to read every site on the planet, the search engines scope was restricted, but restricted to what?
How about a search engine dedicated to web-rings.
Users create and publish web-rings that are a collection of sites to this system.
Other instances declare which web-rings they will index.
When a user wants to search something up, they first search for a topic in web-rings, and then they select that web-ring.
After they selected a web-ring, a list of servers who support the web-ring are displayed. The user can then select one.
After they select their server, they type in their query, and the query is sent to that server.
The server receives the query, and produces the results.
Federated Web-Rings and Search Engines that index those Web Rings.
Sure there are more clicks, but I feel that not only does this avoid the nightmare that is YaCy, but it restricts the scope enough that servers do not have to index an infinite amount of data!
What do you think, I didn't solve the fundamental issue, but I have mitigated its effects enough.
Now the issue is moderating web-rings, users, web-ring sorting, web-ring federation, server ranking, server and user blocking, and more.
Mraw! ✨
Using gamescope
headless to run steam on a non-logged in system.
Remote gaming is something everyone with a beefy desktop wants to do.
The problem is, the current state of Remote Gaming for Linux & Windows is kinda cruddy.
You need to be, first, logged in, second, steam running, thirdly, this all occurring in a secure area so no one can just plop down on your desktop while you are away.
No more, No longer.
As I approach my big move out of my parents home, I have to leave my chunky desktop behind until I am more settled in my new location.
But I am an addict to playing War Thunder, I admit, It is my relaxation game.
I already know how to run my IDEs remotely, and there is few issues for me in regards to using a remote development system.
But gaming is something I cannot do remotely.
As much as I adore the project, it is kinda janky in my opinion.
Also, it violates the requirement to not be logged-in in person.
They still exist?
gamescope
headless!
Here is the script that will make it work for you.
headless-steam.sh
#!/bin/bash
# Below is an extensive explanation of the commands below.
# Launch the given program with dbus, since steam and other programs need it.
# The given program, is gamescope.
# Explanation for the arguments to gamescope
# --backend headless : Headless! This allows `gamescope` to work without a display
# -e : enables steam integration, Needed for steam to work well as expected.
# -o 1 : Sets the minimum FPS to 1 when unfocused. Though may be useless since gamescope is headless
# -r 60 : Sets the maximum FPS to 60, We are streaming, no need to waste power here.
# -f : Sets to "full screen", may be useless for headless.
# -W 1920 : Sets the output width to 1920 pixels, Required for the headless screen to work well.
# -H 1080 : Sets the output height to 1080 pixels, Required the same as for width.
# --prefer-vk-device /dev/dri/renderD129 : This is important for modern systems with multiple GPUs, simply tells vulkan clients to use the correct GPU.
## Use `ls -l /dev/dri/by-path/` and `lshw -c display` to figure out which path is which GPU. (lshw (bus number) should look like the `by-path` identifier).
# --force-grab-cursor : Since some games are funky with the cursor, though may not be needed when headless
# Explanation for the arguments to steam
# -gamepadui : Enables the "gamepad ui", since this will work far better then the clunky desktop UI for remote play. (Also something gamescope something something).
# "$@" : Passes any script arguments onto steam
dbus-launch \
gamescope --backend headless -e -o 1 -r 60 -f -W 1920 -H 1080 --prefer-vk-device /dev/dri/renderD129 --force-grab-cursor -- \
steam -gamepadui "$@"
screen
command to allow steam to run in the background if you are using SSH, this way if your terminal disconnects, steam keeps running.--backend
as an argument, which means the old --headless
argument no longer works. Please use --backend headless
from now on.Inspired by Apple OCR for photos.
User double taps an image to possibly select text. If a model is not present, the user is prompted to install a model. If a model is present, OCR is performed on the image. If OCR is successful, the view enters “ocr select mode”, darkening out the image. Text sequence near where the user double tapped is highlighted. User can drag their finger across the screen to select more text. User can than press either the close button to exit select mode, or press the check mark button to confirm their selection which than copies the text to their keyboard.
https://developers.google.com/ml-kit/vision/text-recognition/v2/android
Capable of getting points, boxes, and more for rendering.
https://developers.google.com/android/reference/com/google/mlkit/vision/text/Text.TextBlock
https://github.com/adaptech-cz/Tesseract4Android
https://asprise.com/royalty-free-library/java-ocr-source-code-examples-demos.html
nomodeset
Today I installed Fedora Silverblue on my friends Intel laptop.
Previously, it was running Windows 11 on 4GB of ram, which is totally unacceptable.
During the install, I rebooted into “Safe Graphics” because the installer blacked out when selecting options prior.
Afterwards, the installation finished without a hitch. Until we noticed the GNOME Shell lagging in animations. Checking Settings, we found that the Graphics was rendering via “Software Renderer”.
Running sudo rpm-ostree kargs
we find that nomodeset
is in the Kernel Arguments.
The Kernel documentation states that nomodeset
:
Disable kernel modesetting. DRM drivers will not perform display-mode changes or accelerated rendering. Only the system framebuffer will be available for use if this was set-up by the firmware or boot loader.
This means that the GPU would not be used.
To solve this issue, I had my friend run:
sudo rpm-ostree kargs --delete nomodeset
Which removes the offending Kernel Argument.
After a reboot, the System was now using “Intel UHD” and was butter smooth!
I would have appreciated it if the Fedora Installer warned the user that the installed system would also inherit nomodeset
.
Hope this helps you!
Look at you friend, you now have IPv6 in your location and have enabled it on your router! Yippie!
Note one small detail though. IPv6 by default is dynamic. Make sure that you disable DHCP-PD
in your router settings!
Why do I know this now? Because my IPv6 changed and borked my Tor relay!
MariaDB stores data in /var/lib/mysql
, not /var/lib/mysql/data
.
So my container data was all lost.
Honestly no clue how I came to believing the wrong directory was the data directory.