Sure, but why? If you’ve a simple router running OpenWrt or something with all WAN ports closed you basically have the same thing.
- 15 Posts
- 132 Comments
TCB13@lemmy.worldOPto
Selfhosted@lemmy.world•🛡️ uSentry - Identity & Access ManagementEnglish
2·1 year ago@[email protected] latest code pushed into the repo splits the config into it’s own file.
TCB13@lemmy.worldto
Selfhosted@lemmy.world•Photofield v0.20.0 released: dark mode, photo details, best scrollbar, better map, more search filters, etc.English
1·1 year agoNot 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.
TCB13@lemmy.worldto
Selfhosted@lemmy.world•Photofield v0.20.0 released: dark mode, photo details, best scrollbar, better map, more search filters, etc.English
2·1 year agodon’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. :)
TCB13@lemmy.worldto
Selfhosted@lemmy.world•Photofield v0.20.0 released: dark mode, photo details, best scrollbar, better map, more search filters, etc.English
13·1 year agoExactly my situation. Thanks @[email protected]. 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.
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.
TCB13@lemmy.worldto
Programming@programming.dev•C is one of the most energy saving languageEnglish
1·1 year agoThis 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).
TCB13@lemmy.worldto
Programming@programming.dev•C is one of the most energy saving languageEnglish
1·1 year agoThis 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).
TCB13@lemmy.worldto
Programming@programming.dev•C is one of the most energy saving languageEnglish
1·1 year agoHere’s a good example: https://stackoverflow.com/questions/47363996/why-does-an-enum-transpile-into-a-function
TCB13@lemmy.worldto
Programming@programming.dev•C is one of the most energy saving languageEnglish
21·1 year agofair enough :D but it does happen and there are reasons for that: https://stackoverflow.com/questions/47363996/why-does-an-enum-transpile-into-a-function
TCB13@lemmy.worldto
Programming@programming.dev•C is one of the most energy saving languageEnglish
21·1 year agoNot really, because this stuff also happens: https://stackoverflow.com/questions/20278095/enums-in-typescript-what-is-the-javascript-code-doing a function call always has an inpact.
TCB13@lemmy.worldto
Programming@programming.dev•C is one of the most energy saving languageEnglish
32·1 year agoIts 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.
TCB13@lemmy.worldto
Programming@programming.dev•C is one of the most energy saving languageEnglish
43·1 year agoIt does, the “compiler” adds a bunch of extra garbage for extra safety that really does have an impact.
TCB13@lemmy.worldto
Programming@programming.dev•C is one of the most energy saving languageEnglish
7·1 year agoI guess we can take the overhead of rust considering all the advantages. Go however… can’t even.
TCB13@lemmy.worldto
Programming@programming.dev•ReactJS-like Framework with Web ComponentsEnglish
3·1 year agoThe 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.
TCB13@lemmy.worldto
Programming@programming.dev•ReactJS-like Framework with Web ComponentsEnglish
3·1 year ago📦 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.












Well, Telegram does the something for free.