Skip Navigation

Posts
16
Comments
126
Joined
3 yr. ago

  • Sure, but why? If you've a simple router running OpenWrt or something with all WAN ports closed you basically have the same thing.

  • Not really incompatible, PHP provides configurable shared memory across processes that survive even if fastcgi releases every process and just keeps something idle for new requests.

  • don’t know a lot about fastcgi, but looking it up it seems like it also keeps a persistent process running to avoid execution overhead

    More of less, the good thing about PHP + fastcgi is that it keeps a configure amount of minimum persistent processes (plus a dynamic number) to avoid execution overhead like you said... now there's an important detail, PHP processes are generic, meaning if you've 50 apps hosted in your server they can all be served with just one persistent process. No need to spin up 50 processes for each app like with node/go etc.

    Supervisors shutting down containers/processes are good, but starting up is slow compared to the single PHP idle process ready to go for any app. :)

  • Exactly my situation. Thanks @mlunar@lemmy.world. The only way this could be done better was to do it in PHP / have fastcgi so it wouldn't require a constantly running background process specifically for it. People can say a lot of things about PHP, but nothing beats the fastcgi model.

  • It's a Pi, what are you expecting. You just wasted a ton of money on inferior hardware with extra software issues. You could've just got a mini pc with 2 nvme slots instead for half the price and add a 6 port sata board for 20$ to one of those. Much cheaper, way more reliable, upgradable and ZFS actually would've work as you expect.

  • Tasks.md 3.0.0 release

    Jump
  • I've said this in the past, the app is good and works fine but it lacks a standalone desktop app...

    It's a bit pointless to have it working [only] the way it does, it's all JS already so why force people into Docker to install something that can already perfectly work as desktop app with Tauri, Electron or even something much simpler like a custom build C++ webview? Thanks.

  • This isn't true, there are other features that "emit code", that includes: namespaces, decorators and some cases even async / await (when targeting ES5 or ES6).

  • This isn't true, there are other features that "emit code", that includes: namespaces, decorators and some cases even async / await (when targeting ES5 or ES6).

  • Its really not, have you noticed how an enum is transpiled? you end up with a function... a lot of other things follow the same pattern.

  • It does, the "compiler" adds a bunch of extra garbage for extra safety that really does have an impact.

  • I guess we can take the overhead of rust considering all the advantages. Go however... can't even.

  • The problem with compiled JS is that it doesn't last long. Any piece of software written in the popular frameworks will probably not compile in 5 years because xyz dependency. There might be ways around it, but all annoying and not good. Some type of software really needs more assurances that "might compile in 5 years" because some people can't afford to upgrade to the latest framework down the path due to size or simply lack of time.

  • 📦 Zero Dependencies - Pure JavaScript, no build step required

    This is really the best part. However the example does run a npm run build...

    I would be great to have something that can be imported in a script tag like jquery and not something that requires npm and compilarion.

  • If you want to get the job (of publishing a blog) done fast, and move on, then use WP. If you want to mess around probably look at editorjs.io.

  • If you want to get the job (of publishing a blog) done fast, and move on, then use WP. If you want to mess around probably look at editorjs.io.

  • Selfhosted @lemmy.world

    🛡️ uSentry - Identity & Access Management

    github.com /TCB13/uSentry
  • Selfhosted @lemmy.world

    Paranoia Level: Virtualization vs Isolated Machines for Self-Hosting?

  • WordPress @lemmy.world

    SQLite Database Integration

    make.wordpress.org /core/2022/09/12/lets-make-wordpress-officially-support-sqlite/
  • Technology @lemmy.world

    Riley Testut launches Delta emulator on US App Store (free) - shows middle finger to Europe (payment required)

    9to5mac.com /2024/04/17/riley-testut-launches-delta-game-emulator-on-app-store-for-everyone-altstore-marketplace-for-eu/
  • Selfhosted @lemmy.world

    The domain aftermarket has a big problem

    domainnamewire.com /2024/03/26/the-domain-aftermarket-has-a-big-problem/
  • Selfhosted @lemmy.world

    Alternative to Home Assistant for ESPHome Devices

  • Selfhosted @lemmy.world

    Firewall: pvxe/nftables-geoip - filtered list of countries

    github.com /pvxe/nftables-geoip/commit/c137151ebc05f4562c56e6802761e0a93ed107a2
  • Technology @lemmy.world

    Looking for Image Combiner - PhotoScape Alternative

  • Selfhosted @lemmy.world

    Banana Pi BPI-M7 - More Reasons to Avoid the Raspberry Pi

    www.cnx-software.com /2023/11/22/banana-pi-bpi-m7-thin-rockchip-rk3588-sbc-dual-2-5gbe-m-2-nvme-storage-hdm-2-1/
  • Selfhosted @lemmy.world

    Debian: ISO Downloads and Offline Archives

    tadeubento.com /2023/debian-iso-downloads-and-offline-archives/
  • Selfhosted @lemmy.world

    Replicate Player / Self Host / Offline Usage

    weather.ambient-mixer.com /the-perfect-storm
  • Selfhosted @lemmy.world

    Systemd: Hidden Gems for a Better Linux // Self-host more with less hardware

    tadeubento.com /2023/systemd-hidden-gems-for-a-better-linux/
  • Selfhosted @lemmy.world

    Looking for: Unit Converter (JS)

    joshmadison.com /convert-for-windows/
  • Wine @lemmy.world

    Wine in 2023 still unable to properly run software from 1999.

  • Selfhosted @lemmy.world

    iXsystems / TrueNAS Opens New Technology in Maryville, Tennessee!

    www.ixsystems.com /blog/ixsystems-opens-new-technology-campus-as-demand-for-truenas-storage-accelerates/
  • Selfhosted @lemmy.world

    Cryptomator: A Warning About Data Loss