Tesla computers are getting self conscious?
Tesla computers are getting self conscious?
The keyword here is over 10M.
You know, not the 10 millions, but anything that exceeds 10M.
So if you have 11M, you’d pay 750.000.
IMO it’s the only way to not bring back kings with unlimited power over normal people.
Hey Gabe, good luck!
And poured every browser and their sister into it just to make the whole selection process shitty.
Yeah I probably messed it up, fixed it, but was left with a site breaking image :-p
Thanks for all the help, it runs smooth now :-)
Yeah I Know right! It was you who pointed it out when my config was in shambles :-)
I changed the icon and checked a newly posted image and they have the right address <3 !
This problem is no more, thank you!
Leaving this if ever it can help some other poor being :-D
And lemmy.ml does not have the pesky 0.0.0.0:
https://lemmy.ml/pictrs/image/fa6d9660-4f1f-4e90-ac73-b897216db6f3.png?format=webp&thumbnail=96
as I do:
https://0.0.0.0/pictrs/image/1fdef263-05e5-48e6-a065-a174a8002f85.png?format=webp&thumbnail=96
I do understand the problem, but how can I remedy it?
When I post an image to my site, it works perfectly well:
Edit:
I had a bad config for starters, so the images kept their wrong addresses, making the backend bail out before setting up the web page (as pictr returned an error, or that is what I think things went wrong).
Edit:
When the site “worked” there were usually a blank “square” instead of the logo, that’s why I tried to remove it. So it definitely seems to be some kind of problem linked to it anyways.
Seems there was a problem, of so I think. The logo of the site wrecked havoc, I made a post about it here.
Hey thank you!!
Yeah I’m just fresh out of configure-hell, but I’m taking a note about limiting the log when everything is stable (gotta figure out the email side now) :-)
Curious, I can hit up lemmy.mindoki.com on my phones browser and it works well, or do I misunderstand your remark?
Cheers
Okay so I “found” it, but I suppose there is an underlying problem, but well it works.
See that last commented line?
It shuts off the default lemmy-ui at all times… It’s even in the comment! I wonder how that could ever have worked?
So now I just have to find out if I need to forward the POST, PUT, DELETE, PATCH, CONNECT to lemmy …
Thank you all for your patience :-)
map "$request_method:$http_accept" $proxpass {
# If no explicit matches exists below, send traffic to lemmy-ui
default "http://lemmy-ui";
# GET/HEAD requests that accepts ActivityPub or Linked Data JSON should go to lemmy.
#
# These requests are used by Mastodon and other fediverse instances to look up profile information,
# discover site information and so on.
"~^(?:GET|HEAD):.*?application\/(?:activity|ld)\+json" "http://lemmy";
# All non-GET/HEAD requests should go to lemmy
#
# Rather than calling out POST, PUT, DELETE, PATCH, CONNECT and all the verbs manually
# we simply negate the GET|HEAD pattern from above and accept all possibly $http_accept values
#"~^(?!(GET|HEAD)).*:" "http://lemmy";
}
More info:
I logged in as the owner on a mobile app, and most things work okay, but upvoting another users post on my site gave an error:
proxy_1 | 172.18.0.1 - - [20/Jul/2023:15:56:07 +0000] "POST /api/v3/post/like HTTP/1.1" 200 569 "-" "Jerboa"
proxy_1 | 172.18.0.1 - - [20/Jul/2023:15:56:07 +0000] "POST /api/v3/post/like HTTP/1.1" 200 569 "-" "Jerboa"
proxy_1 | 172.18.0.1 - - [20/Jul/2023:15:56:09 +0000] "POST /api/v3/post/like HTTP/1.1" 200 568 "-" "Jerboa"
proxy_1 | 172.18.0.1 - - [20/Jul/2023:15:56:16 +0000] "POST /api/v3/comment/like HTTP/1.1" 200 889 "-" "Jerboa"
lemmy_1 | 2023-07-20T15:56:16.441551Z WARN lemmy_server::root_span_builder: Domains do not match
lemmy_1 | 0: lemmy_server::root_span_builder::HTTP request
lemmy_1 | with http.method=POST http.scheme="http" http.host=lemmy.mindoki.com http.target=/inbox otel.kind="server" request_id=0b06a8ae-3676-430a-a3c7-4008e748b1e9
lemmy_1 | at src/root_span_builder.rs:16
lemmy_1 | LemmyError { message: None, inner: Domains do not match, context: SpanTrace [{ target: "lemmy_server::root_span_builder", name: "HTTP request", fields: "http.method=POST http.scheme=\"http\" http.host=lemmy.mindoki.com http.target=/inbox otel.kind=\"server\" request_id=0b06a8ae-3676-430a-a3c7-4008e748b1e9", file: "src/root_span_builder.rs", line: 16 }] }
proxy_1 | 172.18.0.1 - - [20/Jul/2023:15:56:16 +0000] "POST /inbox HTTP/1.1" 400 20 "-" "Lemmy/0.18.2; +https://127.0.0.1"
Does this error spread some light about what is wrong? I’m thinking especially of the https://127.0.0.1 for which I don’t have a SSL certificate (I only have one for lemmy.mindoki.com).
I’ll try to hunt down that 127.0.07 and change it to lemmy.mindoki.com, but If you know the answer I’m all ears :-)
Tried to change to:
proxy_pass http://127.0.0.1:1236
but it didn’t change anything.
Any other idea about what I’m doing wrong?
Should I have conf in both the nginx.conf file and the nginx_internal.conf file? Does it matter where it is declared (as long as the docker specific things stays in the nginx_internat.conf file)?
Well thank you but it doesn’t really help me out with, for what I have figured out, connecting the server 443 in nginx to the lemmy-ui docker. Sweating
Well spotted, I misremembered it as the IPv6 localhost.
So the config file is okay (for proxy_pass http://0.0.0.0:1236;) but I shouldn’t hit it up on https://0.0.0.0:1236 right?
Interesting, thanks for sharing!
That seems quite top of the line even today.
For battery life, the screen, the screen, the GPU (seems you use an IGP), the size of the screen, and the CPU are the main culprits.
64GB RAM will use some battery do you really need that much?
Hopefully your 1TB is an SSD otherwise an SSD is a nice upgrade.
There are also fat fat powerbanks for power users far away from a 110/220volt line!
I Am curious, most often power hungry laptops are gaming ones… What do you do with yours?
EDIT: The site itself works now, so I “only” need help with nginx :-)
EDIT: DISCARD THE FOLLOWING LINES (Strike-through doesn’t seem to work):
~~BTW, I get a handful of errors when I start Lemmy :
thread ‘main’ panicked at 'Error connecting to postgres://lemmy:thepassword@postgres:5432/lemmy: could not connect to server: Connection refused
lemmy_1 | Is the server running on host “postgres” (172.18.0.2) and accepting
lemmy_1 | TCP/IP connections on port 5432?
I do not know at all where that 172.18.0.2 address comes from sweating :-D~~
Hello, I’m back with more questions and clarifications!
This is what I did to install Lemmy:
Install a fresh Linux Mint on an old PC.
Follow the ‘official’ docker install: https://join-lemmy.org/docs/administration/install_docker.html
I continued with nginx, lets encrypt etc.
I also installed PosgreSQL and added a user Lemmy.
I forward a TCP connection from my fix public IP to the lemmy PC and pointed lemmy.mindoki.com with an A redirection onto that public IP:PORT.
The only ‘exotic’ thing done was that I added these lines to /home/fediverse/.bashrc :
export LEMMY_CONFIG_LOCATION=“/media/fediverse/Storage/lemmy/lemmy.hjson”
EMMY_DATABASE_URL=“postgres://lemmy:redacted_password@localhost:5432/lemmy”
. “$HOME/.cargo/env”
I don’t think (but not completely sure) that the last line was added by me manually.
Now I can access Lemmy locally on localhost:1236 and everything works (inscription, creations of ‘subs’ etc).
I added the nginx.conf config file at the end of this message (some lines are commented out to make it work at all).
Almost feels like I should have a very much shorter nginx config file 🙃
Thanks again!
Cheers
EDIT: I messed something up, the server now only answers “Server error”, I’ll be back later …
Got a 3b a loong time ago and I love it, I use it as a jukebox and a tinker station.
Would love to get another one but man are they crazily expensive now. Tried the banana and orange pis and the are like okay but yep, they are different and doesn’t seem to have the same community at all.
Chip shortage please go away!
Edit: I buy old dell optiplexes for like 40€ instead but they do take up quite the space…
Is there a free FOSS version of it?