I made very simple and extremely fast Live Reload Server in just pure lua
https://lemmy.world/post/41297942
I made very simple and extremely fast Live Reload Server in just pure lua - Lemmy.World
cross-posted from: https://lemmy.world/post/41297887
[https://lemmy.world/post/41297887] > I really wanted a HTML live reload plugin
that has statusline integration and does not depend on entire chromium to create
a simple web server. I couldn’t find anything I’d like so I’ve decided to make
my own plugin. > I was kinda afraid that implementing websockets in lua would be
terrible task but it turns out I didn’t need to, because SSE
[https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events]
exists. > HTTP is simple, watching for file changes as well so I got to work. >
Result: Very small (Less than 500 lines of code) plugin that launches in
0.1-0.2ms! (It’s amazing what you can do when you don’t need to load whole V8
from Chromium to serve a simple webpage. > I also made support functions for
statusline of two popular distors: NvChad and AstroNvim but you can also launch
it from cmds if you prefer. > > Since I’m kinda new to nvim & lua scripting I’d
appreciate any feedback on what could be improved or just done better. > For now
I plan to add more features inspired vscode’s live-server extension although it
most likely won’t be exact copy of that extension. > > Link: > > GitHub
Repository [https://github.com/hyperstown/nvim-live-server] >
I made very simple and extremely fast Live Reload Server in just pure lua
https://lemmy.world/post/41297887
I made very simple and extremely fast Live Reload Server in just pure lua - Lemmy.World
I really wanted a HTML live reload plugin that has statusline integration and
does not depend on entire chromium to create a simple web server. I couldn’t
find anything I’d like so I’ve decided to make my own plugin. I was kinda afraid
that implementing websockets in lua would be terrible task but it turns out I
didn’t need to, because SSE
[https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events]
exists. HTTP is simple so, watching for file changes as well so I got to work.
Result: Very small (Less than 500 lines of code) plugin that launches in
0.1-0.2ms! (It’s amazing what you can do when you don’t need to load whole V8
from Chromium to serve a simple webpage. I also made support functions for
statusline of two popular distors: NvChad and AstroNvim but you can also launch
it from cmds if you prefer. Since I’m kinda new to nvim & lua scripting I’d
appreciate any feedback on what could be improved or just done better. For now I
plan to add more features inspired vscode’s live-server extension although it
most likely won’t be exact copy of that extension. Link: GitHub Repository
[https://github.com/hyperstown/nvim-live-server]
KDE devs are great at naming things!
https://lemmy.world/post/29736217

KDE devs are great at naming things! - Lemmy.World
Lemmy
[Feature request] Video upload support
https://lemmy.world/post/29443422

[Feature request] Video upload support - Lemmy.World
Most instances now support video upload.

Dream job! - Lemmy.World
Lemmy
Ghostwire: Tokyo - high CPU usage / poor performance with RT on.
https://lemmy.world/post/26478108
Ghostwire: Tokyo - high CPU usage / poor performance with RT on. - Lemmy.World
Hello, for a while now I try to figure out very poor performance in Ghostwire:
Tokyo when ray tracing is on.
I tried to run this game on both Windows and Linux and the RT performance
difference is huge. (45 FPS vs 15 FPS).
My hardware is R5 2600 6c12t CPU and RX 6700 XT so not too old not too new. I
was hoping for someone with the same GPU could confirm the same issue and/or
maybe point to solution.
There’s also a few very weird things I also noticed that happen when I turn on
ray tracing: 1. When I move (or open game) the CPU spikes to 100% and game often
freezes for a 2-6 seconds. CPU spike also happens when I break some objects or
just environment changes. It feels like the issue is with textures loading but
how could this be connected to ray-tracing? 2. Trying to just hold still for a
few minutes will result in normal CPU usage. GPU goes to 99% but power draw is
around 150W. (Card under heavy load can pull 195W and it does so in Windows).
But still performance is bad. No more than 15 FPS compared to running game on
Windows 45 FPS with same settings. 3. Very laggy in start menu. Like 4 FPS. More
detailed info about my system: ``` OS: Manjaro Linux x86_64 Kernel: Linux
6.13.5-2-MANJARO CPU: AMD Ryzen 5 2600 (12) @ 3.40 GHz GPU: AMD Radeon RX 6700
XT Memory: 31.27 GiB Mesa: 24.3.4-arch1.1 Proton: I tried GE, Experimental,
Hotfix.
Google’s Unannounced Update Scans All Your Photos—One Click Stops It
https://lemmy.world/post/26233193

Google’s Unannounced Update Scans All Your Photos—One Click Stops It - Lemmy.World
cross-posted from: https://lemmy.world/post/26233189
[https://lemmy.world/post/26233189] > “Android System SafetyCore’ claims to be a
‘security’ application, but whilst running in the background, it collects call
logs, contacts, location, your microphone, and much more making this application
‘spyware’ and a HUGE privacy concern. It is strongly advised to uninstall this
program if you can. To do this, navigate to 'Settings’ > 'Apps’, then delete the
application.” > > If you don’t want to navigate android settings you can also
simply uninstall it from the Play Store
https://play.google.com/store/apps/details?id=com.google.android.safetycore
[https://play.google.com/store/apps/details?id=com.google.android.safetycore] >
> Additionaly you can install this placeholder app to prevent Google from
reinstalling it every time it updates:
https://github.com/daboynb/SafetyCore-placeholder
[https://github.com/daboynb/SafetyCore-placeholder]
Google’s Unannounced Update Scans All Your Photos—One Click Stops It
https://lemmy.world/post/26233189

Google’s Unannounced Update Scans All Your Photos—One Click Stops It - Lemmy.World
“Android System SafetyCore’ claims to be a ‘security’ application, but whilst
running in the background, it collects call logs, contacts, location, your
microphone, and much more making this application ‘spyware’ and a HUGE privacy
concern. It is strongly advised to uninstall this program if you can. To do
this, navigate to 'Settings’ > 'Apps’, then delete the application.” If you
don’t want to navigate android settings you can also simply uninstall it from
the Play Store
https://play.google.com/store/apps/details?id=com.google.android.safetycore
[https://play.google.com/store/apps/details?id=com.google.android.safetycore]
Additionaly you can install this placeholder app to prevent Google from
reinstalling it every time it updates:
https://github.com/daboynb/SafetyCore-placeholder
[https://github.com/daboynb/SafetyCore-placeholder]

Minecraft rule - Lemmy.World
Lemmy