HN user

goodburb

942 karma
   _
  6')
  ('\\
   `n\\
       \
Posts126
Comments92
View on HN
github.com 2mo ago

Zdroid: Zed Editor Ported to Android

goodburb
3pts0
goughlui.com 2mo ago

Counterfeit Power Cables – A Fire Waiting to Happen

goodburb
5pts0
support.speedify.com 3mo ago

Security Best Practices for Speedify Self-Hosted Servers

goodburb
1pts1
goughlui.com 3mo ago

Motorola USB OTG Problems (2023)

goodburb
2pts2
www.special-k.info 4mo ago

Special K – The Swiss Army Knife of PC Gaming

goodburb
1pts1
github.com 5mo ago

NkArc: A versatile multi filesystem explorer for Windows based on the GRUB2 code

goodburb
1pts0
bufferbloat.libreqos.com 5mo ago

LibreQoS: Online Bufferbloat Test

goodburb
1pts0
github.com 5mo ago

Flakyflash: Salvage flash media having flaky sectors

goodburb
2pts0
aomediacodec.github.io 6mo ago

IAMF Binaural Web Demo

goodburb
2pts0
developer.chrome.com 6mo ago

Chrome 142 Mixed Content Local Network Access

goodburb
1pts0
superuser.com 6mo ago

Firefox pinch zoom without trackpad

goodburb
2pts0
www.youtube.com 6mo ago

Phil's Lab: Free hardware design courses

goodburb
1pts0
github.com 6mo ago

BiRR: Binaural Room Reverb Simulator

goodburb
3pts0
ijc8.me 6mo ago

DSP on the ESP32 with Faust

goodburb
2pts0
lebgeeks.com 6mo ago

LebGeeks Programming Exercises

goodburb
3pts0
nothing.community 7mo ago

Nothing headphone settings using WebSerial

goodburb
2pts0
dev.moe 7mo ago

Enabling TCP BBR v2 on Windows 11

goodburb
1pts0
dev.moe 7mo ago

Fixing Intel Wi-Fi Stuttering on Latest Driver (Global BG Scan Blocking)

goodburb
2pts0
medium.com 8mo ago

Cloudflare-Bypass: Unrestricted Origin Access

goodburb
1pts0
www.youtube.com 9mo ago

Speedify 15.9 Adds TCP Performance Enhancing Proxy [video]

goodburb
2pts0
github.com 9mo ago

QPEP: QUIC-Based TCP Performance Enhancing Proxy

goodburb
2pts0
gitlab.com 9mo ago

Stickpic: Generate block device and file compressibility maps

goodburb
7pts0
ak-experiments.blogspot.com 9mo ago

Bluetooth 6.0 on Raspberry Pi Featuring LE Audio with Auracast

goodburb
3pts1
borncity.com 9mo ago

Microsoft's TCP mess, how to optimize in Windows 10/11 (2023)

goodburb
3pts1
github.com 11mo ago

SliceBeam: Orca and Prusa Slicer on Android

goodburb
2pts0
www.josefprusa.com 11mo ago

Open hardware desktop 3D printing is dead

goodburb
8pts1
old.reddit.com 11mo ago

Single continuous line 3D printing using Grasshopper [video]

goodburb
2pts0
gist.github.com 1y ago

Show HN: Hijacking Wi-Fi Direct for Seamless Wi-Fi Onboarding on Raspberry Pi

goodburb
4pts0
architextures.org 1y ago

Architextures: Seamless Texture Generator

goodburb
1pts0
isit.mooo.com 1y ago

Hacker News Frontpage with Filtering

goodburb
2pts0

Considering that it's rare to get kernel (or any) updates on non-flagship phones, it seems likely.

Backporting an old kernel should be possible, but the only indicator is the system update changelog that explicitly mentions it, I rarely see CVEs mentioned in changelogs on any smartphone. A tool to test the vulnerability is the only way.

Any compromised app on the Play store or external can get root access instantly, but we can still rely on trust and audits when installing apps which should always be the rule.

I suspect that this will be added to all Google Play integrity levels, limiting many apps from being installed on unpatched phones in the future.

That's not the case with browsers with random sites and ads which is hardly avoidable, having any sandbox escape is now more severe considering that it bypasses the app container. It's similar to JailbreakMe on iOS [0]

[0] https://en.wikipedia.org/wiki/JailbreakMe

Tested on three Android devices (version 9, 13, 16) with different Firefox versions under 150 (had to modify for older).

Two boot looped, I had to enter recovery and the other just powered off [0].

The demo modifies the wallpaper on supported Pixel devices.

[0] IonStack https://rootme.nebusec.ai

____

Tip: Install a Chromium flavor browser (Chromite) separate from the main browser.

Disable Javascript and hardware accelerated video decoder (commonly exploited) from the flags page and enable reader mode to fix broken JS-dependent websites when browsing blogs and random sites on your personal devices, else dedicate a tablet.

It's not just a gaming and performance distro, it includes QoL fixes on modern hardware.

On my Lenovo laptop, fixes that would take over a day to enable and patch on most distros:

  - Wake from sleep

  - Nvidia GSP firmware workarounds and correct version OOTB (proprietary)

    - Mouse lag/jitter
    - External display hotplug
    - DDC/CI over type-c

 - Embedded controller power profiles from taskbar with correct TDP limits for CPU/GPU

 - Battery charge limiter support right from KDE settings

 - Working `switcherooctl` in hybrid graphics mode on AMD

 - Firefox with video decode acceleration (YouTube) on almost all GPU models
Another gaming feature that is otherwise useful in workstations is the external scheduler support.

Currently using BPFland which makes multitasking as responsive as idle while compiling Yocto/Chromium in the background.

Windows, Mac (mini M1), and kernel built-in scheduler Linux jank and become almost unusable (Ryzen 5800H).

Fast roaming has not, does not, and never will require APs be on the same channel. Only the SSID and password needs to match.

There were no mentions of requirements for 802.11r in the comment. You removed "much faster than K/V." from the quote. "only" was referring to 802.11r exclusively. You can have the same results with different channels with K/V, provided that the clients support it as the rest of the comment mentions.

802.11r-only on different channels is ineffective for devices without K/V, since the reductions are insignificant.

You will be shaving 100ms from a 700ms delay on scan and association, compared to no-scan association which is around 20ms, hence the 75ms note.

And even then, FT is only needed for short buffer streaming like VoIP and VoWiFi. It's more important for WPA3, since handshake roundtrips are even longer (~300ms) which can degrade video/voice internet calls with a lengthy time to recover and complete silence for second or two on VoIP, it's not really needed for the average user back when WPA2 was standard.

Android and iOS will first scan on the same frequency, then rotate through the channels, which is now even longer on 6Ghz capable devices with the total number of channels.

The transition time is significantly faster with equal channels on most hardware, this is where 802.11k helps with different channels, especially in iOS. Without it, they cache scan results provided that the farthest AP is detected, this rarely happens since the scan time is so short.

Scanning different channels while connected causes large amount of jitter on station optimized WiFi SoCs, affecting VoIP on mediocre connections while the user is moving and actively losing signal, so its done as quick as possible, often missing many beacons. They can scan longer on the same channel without degradation. [0]

Without K/V, iOS/Android goes to the extent of doing frequent rescans on low network activity on body movement, you can install a Wi-Fi diagnostic profile to view the current activity on iOS, logcat on "fused" for Android.

The suggestion doesn't bash on 802.11k/v, it's just a compatibility alternative, considering that very few clients support it, let alone off the shelf consumer AP support.

Setting them to the same channel will cause the APs to interfere (when they can't "hear" each other) or block each other from transmitting, or both. You set APs near each other so they are on non-overlapping bands. Always.

This is basic WiFi networking 101

This is only true under large air time traffic and in large scale indoor setups. Not satellite APs that are far. Qualcomm, Mediatek and many systems implement their own spatial reuse technology. WiFi 6+ introduces BSS coloring for channel width overlaps to further improve speeds on mixed traffic, not to mention the generally low penetration / TX power of 5Ghz+ on SNR.

> Samsung is known to push protocol support early: 802.11r in 2013

802.11r was released in 2008 and rolled into 802.11-2012.

Also, the iPhone 5S (2013) has 802.11r support.

The Samsung line in the comment was referring to Androids, many Android didn't support these until 2020, some non-flagship still don't (disabled), Samsung was notable to include it early, there are three paragraphs underneath referring to old phones and smart TVs, both Androids. It is not enabled by default on many off the shelf APs for these reasons.

[0] https://support.apple.com/en-sa/guide/deployment/dep98f116c0...

The elevators are probably causing rapid blind spots (shadows) while the user is moving around, 802.11k is indeed useful in this case for cutting down scan time, since iOS will still scan with filtered channels.

It's an interesting setup, looking forward to an update.

You can stick to 802.11r only by lowering the transmission power and have all the APs on the same channel, in my tests it ended up switching much faster than K/V. (~75ms)

On iOS, equal channel with correct ESS will switch liberally. On Android 14+ with Broadcom chip it will start conservative, then switch liberally after the first poor signal switch-over event, up until disconnection.

Android (Pixel/Moto) will never switch (even with K/V) on large network activity, only VoIP/video call. It depends on vendor implementation. [0] I use "dp.logcatapp" log reader while roaming, "com.android.location.fused" can be used to show score and current load.

Samsung is known to push protocol support early: 802.11r in 2013, 802.11w 2015, some models do not use Android's default connectivity manager.

To add, WPA3 with 802.11r is known to have issues on Apple hardware before 2021 on all iOS versions, many Android devices, especially smart TVs don't support it, will not connect or are unreliable (protected beacon frame), can be searched in buried report results at OpenWrt forum mega threads and Ubiquity. WPA2+FT and forced MFP with a long password is a safe alternative. 802.11r use PMK push on WPA3 compared to WPA2, which was known to be problematic on older hardware.

802.11K/V is more suitable for campus and load balancing, tuning it based on RSSI and station metrics is very difficult, enterprise hardware rely on network traffic and air time.

[0] https://source.android.com/docs/core/connect/wifi-network-se...

My G85 is newer and has the same issue at 5.5V, thermal camera doesn't start (probably OVP) and one sdcard reader works but it gets very hot.

I found a workaround by unplugging and replugging as quick as possible, it goes back to ~5.0V.

Termux 6 months ago

You can now run Docker images in Termux with Udocker/proot[0], the disk IO can be a bottleneck for large databases when using proot.

Tailscale works with "--tun=userspace-networking" [1].

I had it running on an old phone as a Frigate server with a solar powerbank in remote area, using the 4G as a failover. The uptime is almost a week without solar. Attiny hooked to the power button and a photodiode on the phone flash [2] (blink per minute) used as a watchdog for shutdowns/hangs to hardware reset. The button cap is removed without disassembling the phone.

Old phones are still more efficient than most off the shelf SBCs, especially under load. ~3W compared to 12W with a Pi5 in the same performance ballpark.

[0] https://github.com/George-Seven/Termux-Udocker https://github.com/indigo-dc/udocker

[1] https://tailscale.com/kb/1112/userspace-networking

[2] https://wiki.termux.com/wiki/Termux-torch

$400 for a 3GB RAM is a "budget" phone?

I paid $200 for a Moto G85 5G with 12GB RAM, 256GB storage last year.

Alternatives in the same range: CMF Phone 1/2 and OnePlus Nord CE4 Lite 5G

Non-generic adapters are fixed in custom ROMs/LOS, on stock Android 16 my ZTE modem is still reporting as usb0 due to MAC address local bit, while Huawei dongle works just fine.

Android phone to android tablet USB tethering is also local MAC and non-functional.

LineageOS 22 2 years ago

Still using a very old Tab S 10.5 from 2014 running a bit slow with LOS 21 - Android 14.

Started with Android 4 KitKat, stuck with Linux kernel 3.4 :)

5.4mm thickness, 3GB RAM (enough for 32-bit), 2TB SD card works, watching movies/shows with the AMOLED look as good as a recent OLED TV. Truly ahead of their time.

SDR content with mDNIe dynamic enabled comes surprisingly close to HDR content on an HDR display, colors can be a bit too staturated though.

After a decade, the battery lasts a week for daily hour e-book with black background. 3 hours of video playback. However, it restarts at 30% battery when running at full brightness with a white background. Disabling Wi-Fi significantly extends standby time compared to modern hardware.

Caveats: Slow web browsing and no H.265 hardware decoder. 1440p H.264 60Mbit is the max (Display is 1600p). Most content providers and streaming services are slowly moving away from AVC, so it's stuck at 720p H.265 on CPU.

Back in 2014, I couldn't have imagined using hardware that was over a decade old.

Ente is client side E2EE at rest, on device AI, open source and audited.

E2EE solves all of these issues as long as it's open source and reproducible.

Efforts like these should be praised.

Arguably, rolling your own crypto (in this case AES which is customizable) requires a very careful implementation, beyond RNG.

Since dart/flutter is multi platform, using Random.secure for animation has it's own performance issues with interfacing host entropy RNG.

The majority of Dart/Flutter users are creating UI apps.

Few browsers with security policies and OS combination does not allow access to the entropy with Flutter Web in which Random.secure will fail, this isn't exclusive to Dart/Flutter. [1]

NaCL [0] offloads these concerns for developers, especially indie/startup.

[0] https://en.wikipedia.org/wiki/NaCl_(software)

[1] https://api.dart.dev/dart-math/Random/Random.secure.html

Why did Proton and SelfPrivacy use Random instead of Random.secure?

DTD is local host or over SSH due to the unecrypted websocket.

Browsers block unsecure WS over HTTPS. The key generated is for tagging multiple instances per IDE not security.

Random is instant and is used for runtime collision prevention and performance especially UI, not uniqueness, PRNG is not truly random anyways.

Random.secure has a large overhead accessing OS entropy and isn't always supported. [1]

Go 'math/rand', python 'Random', C# 'Random' to name a few are also not unique or safe for crypto.

Their secure equivalents: Go 'crypto/rand', Python 'SystemRandom', C# 'RNGCryptoServiceProvider'.

This isn't a Dart or Flutter issue [0]:

"A generator of random bool, int, or double values.

The default implementation supplies a stream of pseudo-random bits that are not suitable for cryptographic purposes.

Use the Random.secure constructor for cryptographic purposes."

[0] https://api.dart.dev/dart-math/Random-class.html [1] https://api.dart.dev/dart-math/Random/Random.secure.html

Always review scripts before running, regardless of origin, Github isn't always safe.

The domain redirects to github due to the changing commit hash raw URL.

You also have to cross-check the 4 kexts checksum with the origin in the OpenCore ISO, including binaries in other projects like OSX-KVM. Thankfully there are no binaries that require reproducible build setup.

Despite these being optional tweaks in the menu, I'm also surprised by how this is the default. I guess the options are for PVE updates.

"Disclaimer for dev/student/test purposes only." Shouldn't be used with enterprise license, which may be against ToS.

The original intent is to avoid custom hardware configurations by using PVE as a layer. Hackintosh on bare metal can take days to figure out on new hardware.

For those looking for cheap portable servers, the majority of the Motorola G series phones with Android 14 including models under 120 USD have a battery charge limiter down to 60% adjustable.

At 60%, the battery will drop to 45% percent before recharging to the specified percentage for coulomb counter drift compensation.

Most lithium UPS avoid this by using LiFePO4.

Moto G04 with 128GB Storage (UFS - 400MB/s read/write), 4GB RAM and 2TB capable SDcard UHS-I slot is just 90 USD.

ZRAM is enabled by default at 2GB and 2GB storage swap, it's adjustable under "RAM boost" setting.

Disabling the app background killer is one toggle away for Termux.

No root required.

Wi-Fi does around 350Mbit with no buffer bloat, and supports simulatenous softAP and station mode with a dedicated DHCP by enabling hotspot without mobile data. This is useful for out of band management, e.g if Wi-Fi AP goes down, there is a small hiccup though.

You can combine Speedify and Tailscale (for NAT) to have 99% uptime with seamless failover since there is a mobile modem in there. ;)

The Type-C port is dual role and will charge from a powered hub in host mode. However connected devices power is disrupted for a split second if the charger is removed, so the phone isn't really a UPS for external peripherals unless you don't mind the brief reconnection.

I do hope a Pi A+ or something similar and popular exist in the future at a reasonable price, considering that we have phones that are cheaper than the Pis while missing GPIO but adding camera, speaker, screen, case, charger, LTE, and a headphone jack which was also removed on the Pi 5 (USB DACs aren't consistent with pipewire).

Mini PCs vary and they aren't really portable, hard to setup headless, especially projects utilizing an easy DIY approach like the Pi-hole or kit/pre-flashed SDcards.

For comments comparing a new Pi with used PC: used Pis exist and are a lot cheaper after shortage.

Pika Backup 2 years ago

This software is incredible, out of every backup solution I have used in decades, this is the only professional (borg based) yet very easy to use app with attention to details. If only it existed on other OS platforms.