lemmy.net.au

57 readers
1 users here now

This instance is hosted in Sydney, Australia and Maintained by Australian administrators.

Feel free to create and/or Join communities for any topics that interest you!

Rules are very simple

Mobile apps

https://join-lemmy.org/apps

What is Lemmy?

Lemmy is a selfhosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.

Think of it as an opensource alternative to reddit!

founded 1 year ago
ADMINS
776
 
 
777
778
 
 
779
780
 
 
781
782
 
 

Weeks before introducing a bill to streamline data center development across Pennsylvania, [Republican] State Sen. Greg Rothman’s real estate firm quietly collected a fee from the $30 million sale of land now hosting the state’s largest proposed data center. Whether that sequence amounts to a conflict of interest — or simply an uncomfortable overlap — depends entirely on who you ask and what standard you think elected officials should be held to.

783
 
 

Go ahead. Entertain me.

784
 
 
785
786
 
 

Don’t expect members of my profession to track down the story. We’re too busy listening to Donald Trump berate NATO, lie about his investments, revive the Red Scare and call Iranian leaders “scum,” while at the same time declaring we’ve defeated Iran in a war everyone believes we shouldn’t have started in the first place. (For those keeping track, Trump has claimed he has ended the conflict close to 40 times. I can’t count how often he’s “completely obliterated” the Islamic Republic’s military, even though they keep firing missiles and sending drones against us.)

787
 
 
788
 
 

China's booming sodium-ion battery industry is facing an unexpected challenge as coconut shell-based hard carbon, a key anode material, becomes increasingly scarce and expensive. To overcome the shortage, researchers and manufacturers are turning to coal-derived hard carbon, aiming to lower costs, secure supply chains, and accelerate large-scale sodium battery production.

789
790
 
 
791
 
 

By popular demand from this post, here's the write-up for my version of that travel server.

The travel server is shown with the, currently, bare 5V UPS board to its right. One day I hope to have a 3D printed case for both of those, but they're currently separate as my 3D modeling skills are basically non-existent. The power cable is wrapped in aluminum foil and then wrapped in electrical tape due to EMI from the wifi adapter causing random glitches. A ferrite bead would probably solve that more elegantly, but I didn't have any on hand so made due with what I have.

Hardware

  • Banana Pi M4 Zero
    • 1.5 GHz Quad Core ARM64
    • 4 GB RAM
    • 32 GB eMMC
    • 1 TB Samsung PRO Plus SD Card (bought before prices went nuts)
  • Li-2B UPS Board + 2x 3,000 mAh 18650 batteries
  • USB-C to USB-A 90 degree angle adapter
  • USB Nano Wifi adapter

Note: Unlike the Pi Zero, these have two USB ports. One is configured in host mode and the other in peripheral mode.

Features and Capabilities

  • Multiple wifi clients can use this for network access
  • Multiple "WAN" options
  • Multiple VPN connections (OpenVPN, Wireguard, IPSEC) e.g.
    • Privacy VPN for general internet traffic
    • Wireguard to connect back to home network
  • Ad-blocking via PiHole
  • Local file sharing via Samba/SMB
  • Locally-hosted web applications with valid hostnames and valid SSL certs (via Let's Encrypt).
    • SearxNG
    • Jellyfin
    • Pairdrop
    • CodeServer
    • Snapcast Server
    • myMPD (MPD web UI)
    • Kiwix (including full Wikipedia dump with images)
    • NodeRED
    • CalibreWeb

Travel Router / Access Point

For internet uplink, there are multiple options depending on need. By default, the internal/bulit-in wi-fi is the internet uplink and the USB wi-fi adapter is the client-facing AP interface. This is how I normally keep it configured in my use-cases.

Alternatively, the built-in wi-fi can be used as the client-facing AP and the uplink to the internet can be provided by a USB-tethered smartphone or a USB ethernet adapter --OR-- the internet uplink can be omitted entirely and either the USB or built-in wifi adapters can serve clients (or both: one in 2.4 GHz mode and the other in 5 GHz mode). Fortunately, the built-in wifi chip in the Banana Pi works well in AP mode but that's not always the case (cough Orange Pi Zero W2 cough).

If a PC is connected to USB0 (the OTG port), the device will act as an ethernet gadget. The travel server will add its end of the usb0 interface into the LAN bridge along with the client-side AP. This means the connected PC will be on the same LAN as the wireless clients.

It's also possible to add a USB ethernet adapter and bridge it into the LAN side as well.

Depending on configuration, a small USB-C hub may be needed. I've got one that includes a USB A port, ethernet port, and additional USB C port.

VPNs can also be configured as needed. I've got a privacy one that can route all traffic as well as a Wireguard one that connects back to my home LAN when I'm using it remotely.

DHCP and DNS are both provided by PiHole

Reverse Proxy

All applications hosted on the travel server are fronted by Nginx and use valid Let's Encrypt certificates. This eliminates the need to install a custom CA cert in end devices or have the clients accept an untrusted self-signed cert.

This also ensures all applications are protected by TLS which is required for full functionality of some applications.

How does that work?

The hostname of the travel server (mobile) is a subdomain of my personal, project domain (mydomain.xyz). All applications are a subdomain of that (e.g. jellyfin.mobile.mydomain.xyz), and I simply request a wildcard cert from Let's Encrypt for *.mobile.mydomain.xyz. Currently, Let's Encrypt requires the use of DNS validation when requesting wildcard certificates.

Movies/TV

Movies and TV shows are provided by Jellyfin and are stored on the 1 TB SD card. I've tested 4 simultaneous streams, and the travel server didn't even break a sweat. Granted, it's not transcoding anything so I believe I'm mostly limited by USB, wifi, and/or SD card bandwidth in that regard.

For reliability, the Jellyfin database is stored on the internal 32 GB eMMC rather than the SD card. This both reduces wear and tear on the card as well as proves to be faster and more reliable.

CPU transoding is a non-starter, and the GPU drivers for these boards isn't exactly well supported. The GPU drivers also rely on V4L which Jellyfin has deprecated for hardware transcoding, so I opted to forego transcoding entirely.

To load movies/TV shows on here, I pre-process them with ffmpeg in the following way:

  • Scale to 720p to save space
  • Encode to H.264 in an MP4 container (including subtitles as mov_text if available) in yuv420p pixel format to avoid the need for remuxing or transcoding
  • Map only the primary English audio and subtitle streams to further save space
  • Downmix multi-channel audio to two-channel stereo

Music

Music is provided by a combination of MPD and Snapcast and the library is also stored on the 1TB SD card.

MPD manages the music collection while Snapcast allows synchronized multi-room audio and connecting receivers via wifi.

For local playback, I use myMPD web UI and use its streaming feed or use the MPD and Snapcast clients on the end device. There's also a Snapcast client installed on the travel server itself, so if you add a USB speaker it can playback music directly.

Books

It runs Calibre-Web to manage my book collection which is also stored on the 1 TB SD card. When my phone is connected to its wifi, it can use my FBReader app to connect to the Calibre library over OPDS to download books.

Development

The travel server runs CodeServer which is an un-Microsofted web-based version of VSCode. You can set that up however you want, but I've got it setup for:

  • React / NextJS development
  • Python development
  • ESP8266/ESP32 development with Platform.io

Other services it runs to facilitate development include:

  • NodeJS and Bun
  • Postgres (via Docker)
  • Mosquitto MQTT
  • Redis
  • CouchDB
  • NodeRED

Offline Knowledge

Kiwix is installed with a large selection of ZIMS for offline reference.

  • DevDocs for React, Bun, NodeJS, ExpressJS, NextJS, etc. Pretty much every major libarary and framework I work with has offline docs
  • Full text Wikipedia dump with images (approx 130GB)

Search

I installed SearxNG so I always have an ad-free, AI-free, no BS search engine available.

File Sharing

The travel server has a few different ways to share files:

  • Samba (SMB) shared folder
  • PairDrop for quick and easy one-to-one local sharing in the browser or phone app
  • SSHFS (alternative method of accessing the SMB shares

Future Plans / Not Yet Implemented

  • Add data passthrough to the UPS board so a host PC can charge the UPS/power the travel server while also enumerating it as a USB ethernet device. Currently the UPS board only passes power and plugs into the peripheral USB port.
  • Add some kind of tile server and map viewer. Inspired by this project.
  • Set up captive portal so Android (and probably Apple, too) devices don't freak out if there's no internet uplink. Currently requires an annoying "Stay connected to this network" and enabling airplane mode so that DNS will work over the wifi connection if there's no internet uplink available.
  • Make a web UI to manage services/configs. Currently, config changes require SSH-ing in and modifying the config directly. I do have preset configs for different "modes" but you still have to swap them around by hand.
  • Design and 3D print a case that can hold the UPS board and the travel server itself while allowing the travel server to be "ejected" (basically I imagine it slotting into it from the outside and connecting to fixed USB and mini HDMI connectors embedded in the case).
792
793
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/technology by /u/Plastic_Ninja_9014 on 2026-07-11 20:13:17+00:00.

794
795
 
 

cross-posted from: https://lemmy.zip/post/67682691

796
 
 

I was there during the crypto-bubble, the housing market bubble, but I don't have any memory of the internet/dotcom bubble, and I was not alive during the rail-road bubble.

However, I want to know what the thoughts of the people were during that time. During AI, that fact that it's a bubble is more apparent but during the housing and dotcom, I feel like it was more subtle (or I am too naive).

Does anyone have any personal experience of what it was like at that time? Were people as skeptical as they are today? What were they right/wrong about? Were the attitudes different? What changed after the crash?

797
 
 
798
 
 
799
 
 
800
view more: ‹ prev next ›