pelya
- 0 Posts
- 139 Comments
Because it does work, you need
grep -E
for ‘+’ to work without escaping. Also, your quotes are wrong, ‘ should be ’ .
pelya@lemmy.worldto Selfhosted@lemmy.world•What are the benefits of a server having multiple public IP addresses?English7·14 days agoBecause you won’t determine the type of NAT during hole punching. This requires the client sending two UDP packets to two different IP addresses, then comparing their source addresses on the server.
Normally yes, you can just assume that two clients you are trying to connect both have port restricted cone NAT, and run the hole punching algorithm, and if the connection fails after ten seconds, show message to the users ‘Error 418: your router is a teapot’.
pelya@lemmy.worldto Selfhosted@lemmy.world•What are the benefits of a server having multiple public IP addresses?English4·14 days agoThe one use case is running STUN/TURN server for NAT hole punching, that requires two separate servers, or one server with two IP addresses. You will only need that to run masterserver for games that support hole punching, or to run VoIP telephony / teleconference server.
Another use case is reliability, when your server is connected to several network providers, it will keep working if one of them has an outage, and will naturally have a different IP address for each network link. But your VPS does not have several network links, otherwise they would advertize that in bold red letters.
It flies, so I don’t get the joke. I’m an embedded developer BTW.
Gone are the days when I could set up a Wallhaven wallpaper updated each minute, because the plugin no longer works.
Works in Termux on Android
std::vector<bool>
fits eight booleans into one byte.
pelya@lemmy.worldto Android@lemmy.world•Ready to Leave the Green Robot Behind? 🌱 ➡️ 🍎English9·1 month agoSwitch to KaiOS now!
✅ Unsecure
✅ Unsupported
✅ Keypad sucks
✅ EGA display
✅ Basically trash
✅ Runs DOOM
pelya@lemmy.worldto Linux@programming.dev•Malicious Go Modules Deliver Disk-Wiping Linux Malware in Advanced Supply Chain Attack4·2 months agoAin’t no way mah C++ modules deliver any of them malware.
because
C++ got no fancy-shmancy modules, got ya!
pelya@lemmy.worldto Linux@programming.dev•Bytedance Proposes Faster Linux Inter-Process Communication With "Run Process As Library"5·2 months agoWhat length would people go to work around Python’s GIL.
pelya@lemmy.worldto Linux@programming.dev•Linus Torvalds Expresses His Hatred For Case-Insensitive File-Systems57·2 months agoYour grandma will never type file names in shell, she’ll use Open File dialog, where case sensitivity does not matter.
pelya@lemmy.worldto Linux@lemmy.ml•Android 16 lets the Linux Terminal use your phone's entire storage1·2 months agoIt’s supposed to be available on Android 15, but only on ‘select devices’, so probably only on Pixel.
Thanks for trying it.
pelya@lemmy.worldto Linux@lemmy.ml•Android 16 lets the Linux Terminal use your phone's entire storage2·2 months agoYou need to enter these commands in the Linux terminal app, not in the X server app. Once the two apps connect, it should be possible to launch another terminal inside the X server.
-
Go to your phone Settings > About Phone and tap “Build number” seven times. You will receive notification that your phone now has developer options enabled.
-
Settings > System > Developer Options > Linux development environment. On that page, tap the On/Off slider.
-
You will find an icon for the new Terminal app on your home screen. It’s going to download 500 MB of data when you open it.
-
Long-press the Terminal app icon, tap Info > Mobile data, and enable Unrestricted data usage.
-
Now you can download more packages inside your Linux virtual machine using
apt-get
command, as described in my previous post.
-
pelya@lemmy.worldto Linux@lemmy.ml•Android 16 lets the Linux Terminal use your phone's entire storage6·2 months agoYup, Android is Linux, but you can’t run desktop apps on it like Gimp or LibreOffice or VS Code, that’s what Linux terminal is capable of.
pelya@lemmy.worldto Linux@lemmy.ml•Android 16 lets the Linux Terminal use your phone's entire storage4·2 months agoGoogle’s bullshit strikes again! All apps must be built for Android 13 or they are removed from Play Store, apparently because Google could not do the Android security correctly for the first 12 versions. Now they can emulate Linux on Android, but cannot emulate an older version of Android on Android. And I last updated my app in 2021, during Android 11 era.
Here’s the link to sideload the app:
I’ll try to update it on Play Store tomorrow, if my crusty build scrips will work with the new Android SDK.
pelya@lemmy.worldto Linux@lemmy.ml•Android 16 lets the Linux Terminal use your phone's entire storage7·2 months agoSomeone who owns a fancy new phone with Android 15 or 16, could you please test if you can run GUI Linux apps on it using my X server app?
Supposedly it should work like this:
- Install and run XSDL app
- Go to home screen, open Linux terminal
- Run commands
sudo apt-get install task-xfce-desktop export DISPLAY=127.0.0.1:0 xfce4-session
Open XSDL app again, you should see XFCE desktop environment with mouse cursor, and you should be able to launch Synaptic and install other Linux packages.
The truth is people who want small phones also want them for the price of a clamshell feature phone with no 4G support. I’ve heard these complaints many times from older acquaintances, they want their old Nokia that can also run Viber and do videocalls, and they are not paying iPhone SE price, so there’s practically no market for small but high-spec phones, outside of luxury brands where you are buying an ancient chip with a leather back cover.