I mean if you didn’t really need PHP (I suspect you do?) you could run any ‘ol web server in the current directory where you have your site and just serve that straight up locally.
@off_grid_living@twtxt.net Normally, in the days when I used to run Linux on the Desktop and used Apache once upon a time, the default configuration would mean files served out of your public_html
directory in your home directory was the place where the web server looked for to serve files from. This would make something like http://localhost/~your_username work. But it’s been a while since I’ve done any of this myself…”
Dear OnlyDomains, part of Team Internet. Do you think you could stop being so incompetent when it comes to Domains, DNS and basic HTTP? I reported this to you on Friday, and you are still arguing with me over Support the legitimatecy of the claims? Seriously?! 😧
$ dig @1.1.1.1 +short onlydomains.com.au a
198.50.252.65
$ nc -vvv 198.50.252.65 443
nc: connectx to 198.50.252.65 port 443 (tcp) failed: Connection refused
And errors out expectedly using dash
or ash
, very nice POSIX Sh compliant shells:
$ ./foo.sh
./foo.sh: line 5: [: bar: integer expression expected
So the lessons here are twofold:
- Always use
shellcheck
to check your shell code
- Never use Bash or rely on Bash(isms). Always prefer POSIX Sh
Which once fixed, removing the extra [
and ]
errors out with shellcheck
as expected:
Invalid number for -eq. Use = to compare as string (or use $var to expand as a variable). [SC2170]
I was/am right of course :D
In POSIX sh, [[ ]] is undefined. [SC3010]
Also, why isn’t shellcheck
being used here? It would have picked this (contrived) example up?
bar is referenced but not assigned. [SC2154]
@movq@www.uninformativ.de It did however rain all night here however 🤣 Perhaps they were right afterall, just wrong on the location? 😅
What a glorious morning for a public holiday 💪 What shall I do today? Hmmm 🧐
@movq@www.uninformativ.de I’m not looking forward to summer at all 🥵
@lyse@lyse.isobeef.org Probably used one of the filters? 🤔
This is why you stick to POSIX sh as @mckinley@twtxt.net points out 🤣 Prwtry sure this is a “Bashism” right?
@slashdot@feeds.twtxt.net And we are surprised why? 🤔
@bender@twtxt.net No bubbles burst 💥 hehe 😝 All good! 👍 I think I was aware of the search results and the lack of interactivity there, artifact of borrowed template code from the search engine 😢 Just need to refactor it to use the same template as the normal timeline, but also support highlights, something it doesn’t do now either.
@bender@twtxt.net You are right. I’ll have to fix the later for sure, the finding “reading” in “foo-reading” is probably a behavior of the indexing and search library being used. It probably behaves that way.
I like how tags like #reading now actually work correctly on Yarn pods 👌
@movq@www.uninformativ.de Ooof that’s a bit warm 🥵
@movq@www.uninformativ.de What’s the temp? 🤔
@off_grid_living@twtxt.net Normally you would so something like this on Ubuntu:
sudo apt install apache2
In fact I highly recommend you follow this guide:
@falsifian@www.falsifian.org Can’t argue with the some of the feats we’ve achieved for sure 😅 I think some of the good stuff is in smarter auto completion: summarization and pattern reproduction.
But “intelligent” it ain’t 🤣
@eldersnake@we.loveprivacy.club Bahahaha 🤣 I doubt I could write a chess engine now 😅
@falsifian@www.falsifian.org I don’t believe so. But then again we’d have to define what cognitive understanding really is 😅 LLM(s) have none.
@lyse@lyse.isobeef.org Yeah in Australia it’s only 20 paid days of annual leave (paid)
@stigatle@yarn.stigatle.no Ahh nice! i only get 4 weeks off a year 🙄
@off_grid_living@twtxt.net So tou mean wine? The windows emulator?
You don’t need to use wine to run Apache.
It should be installable from the package manager (software center) or whatever it’s called.
@off_grid_living@twtxt.net cc @mckinley@twtxt.net can you help here? 🙏
LLMs though, whilst good at understating the “model” (or shape) of things (not just natural language), are generally still stochastic parrots.
@falsifian@www.falsifian.org It’s also astonishing how much power these things use and how incredibly inefficient they are 🤣
But seriously though we have come a long way in some machine learning sxiwnde and twxh and we’ve managed to build ever more powerful and power hungry massively parallel matrix computational hardware 😅
@movq@www.uninformativ.de I don’t have a VR headset yet, but I still view it as one of the most improved pieces of tech.
@stigatle@yarn.stigatle.no Very nice! 👌 I’ve enjoyed your photos and stories of your trips!
Do you normally take 4-week long vacations all in one go?
@off_grid_living@twtxt.net Setting up a local Apache + PHP server on your Ubuntu laptop is easy as pie 🤣
What do you think the world runs on 😅 Hint: Not Windows 🤣
@movq@www.uninformativ.de That’s a god one too!
@movq@www.uninformativ.de Yup, definitely VR!
@stigatle@yarn.stigatle.no Ahh so it’s your way of trying to win a small lottery 🤣
I suppose there’s no harm in increasing it to 2kB 🤔
James your twtxt is way too short….
Seriously?! 😅 1024 bytes (1kb) isn’t enough?! 😱🤦♂️🤣
Whoo @off_grid_living@twtxt.net is back! 🥳
@movq@www.uninformativ.de LOL 🤣 Good to see search engines axtually index our content 🥳
@bender@twtxt.net Yeah 🤣
@falsifian@www.falsifian.org I usually open it up for a 4hr window that works around the multiple time zones 🤞
Probably not enough to cover the electricity cost, right? 🤣
@stigatle@yarn.stigatle.no How much is this baby earning you? 🤔
Anyone recommend a domain registrar, that’s only a domain registrar and nothing else? I’m not interesting in Email Hosting, Web Hosting, Parking, or whatever other silly nonsense. Just domain registration, delegation and renewal.
@falsifian@www.falsifian.org by the way, on the last Saturday of every month, we generally hold a online video call/social meet up, where we just get together and talk about stuff if, you’re interested in joining us this month.
@falsifian@www.falsifian.org That was the original idea and motivation! 😅 Still is 👌
@falsifian@www.falsifian.org That’s awesome! And nice Avatar! 👌
@stigatle@yarn.stigatle.no Ahh cool! 😎