soeren

joined 2 years ago
MODERATOR OF
[–] [email protected] 2 points 1 year ago

I think i missunderstood you I thought you were arguing for modern web frameworks. Nothing wrong with replacing elments with js and not sending it as a request to a server I would do the same for stuff that doesn't need data from the server. If you are really worried about latency you could throw your code in a cloudflare worker but I don't think it matters that much average loading time of websites on desktop is 2.5 seconds . So it doesn't really matter if the server is on the other site of the world latency will not be the biggest factor.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

https://hypermedia.systems/introduction/ maybe this is a good read if you do want to go a bit against the current webdev mainstream. Disclaimer: I have not read it yet but i will.

[–] [email protected] 3 points 1 year ago (2 children)

What kind of you UI action are you talking about? Most of the time you need data from the server and if you want have some animations with css it will be client side anyway also it's not like you cannot write JS. I mean downloading thousands of lines of js for some web framework over cellular does not sound better tbh.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (2 children)

If you know HTML and Python already I would recommend going for something like jinja2 + flask or fastapi and try some htmx stuff no need to use everything you can just refresh the site at the beginning. This should be pretty beginner friendly. It really depends on what you want to do. I don't know much about Hugo or Publii. If you want to make an interactive website and not just a blog or static website I would advise you against using either of the two. If you want to get a job in frontend webdev I would advise you to learn javascript (https://javascript.info/) and some framwork like react also learn tailwind or css.

[–] [email protected] 17 points 1 year ago (1 children)

I understand you but for me it's the opposite I am not bound to using js for everything and can just return html from the server like I want. Also everything else still works I can write js if I want to. Htmx gives me more words I can use in html not less. Also I can manage the state via the url and the server. In other frameworks I often had the problem that I was writing the same logic twice in backend and frontend.

[–] [email protected] 14 points 1 year ago (5 children)

Svelte is very good. If I had to use a frontend framework I would either pick svelte or soldijs both are great.

[–] [email protected] 12 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago

https://iusearchlinux.fyi/post/532036 I think it's still this issue. I was updating the timestamps in the table every couple of days but I must have exceeded 3 days. I automated the process a couple of days ago. I am sorry. Not sure why it's not fixed yet.

[–] [email protected] 4 points 1 year ago

stop making sense its annoying

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (10 children)

If you open vim the first thing you will see it's a text describing how to close it. Not saying other things are easier for a new user but closing is pretty simple. EDIT: if press ctrl - c vim will show you what you should press instead

[–] [email protected] -1 points 1 year ago (22 children)

Closing nano is more complicated imo

[–] [email protected] 13 points 1 year ago

Thanks for the response I was never in doubt about your backup process. The digital ocean pricing for the backups seemed low to me compared what digital ocean suggest what backups would cost for me.

 

Hey Lemmy 😊 users! I just discovered 🚀 something amazing: Lemmy now supports 😍 emotes! 🥳 We can express ourselves 💁‍♂️ in a whole new way. And guess what? You can suggest 🤔 cool emotes right in the comments! 💬 Share your ideas below 😄 and let's make Lemmy even more fun 😃 and expressive. Happy emoting, everyone! 😊🎉🎨💡🤩🔥🌟🥰💪🚀😎✨🙌💬🎉

2
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

I am banning alot of bot accounts from my instance right now but not every person i banned shows up in the modlog/ it seems like logs i have previously seen in the mod logs are not showing up anymore. Here is an Image from modlogs like an hour ago and i cannot see it in the log anymore.

 

I wrote a small script to ban the bots that joined. I am pretty sure most of the accounts are actual bots but there is still a small chance i might ban someone unjustified.

 
2023-06-24T11:48:35.798293Z  WARN lemmy_server::root_span_builder: email_send_failed: Connection error: failed to lookup address information: Try again
   0: lemmy_api::local_user::reset_password::perform
             at crates/api/src/local_user/reset_password.rs:15
   1: lemmy_server::root_span_builder::HTTP request
           with http.method=POST http.scheme="http" http.host=iusearchlinux.fyi http.target=/api/v3/user/password_reset otel.kind="server" request_id=ba8117b9-9c0f-49e5-af0e-01e92a4917cf
             at src/root_span_builder.rs:16
LemmyError { message: Some("email_send_failed"), inner: Connection error: failed to lookup address information: Try again

Caused by:
    failed to lookup address information: Try again, context: SpanTrace [{ target: "lemmy_api::local_user::reset_password", name: "perform", file: "crates/api/src/local_user/reset_password.rs", line: 15 }, { target: "lemmy_server::root_span_builder", name: "HTTP request", fields: "http.method=POST http.scheme=\"http\" http.host=iusearchlinux.fyi http.target=/api/v3/user/password_reset otel.kind=\"server\" request_id=ba8117b9-9c0f-49e5-af0e-01e92a4917cf", file: "src/root_span_builder.rs", line: 16 }] }
2023-06-24T11:48:46.118615Z  WARN lemmy_server::root_span_builder: data did not match any variant of untagged enum AnnouncableActivities
   0: lemmy_apub::activities::community::announce::receive
             at crates/apub/src/activities/community/announce.rs:46
   1: lemmy_server::root_span_builder::HTTP request
           with http.method=POST http.scheme="http" http.host=iusearchlinux.fyi http.target=/inbox otel.kind="server" request_id=0d639361-7707-4f9b-b61f-fc133d3946e7
             at src/root_span_builder.rs:16

I am using the lemmy-ansible setup on ubuntu 22.10

 

McAfee's claiming there ain't a single worm in sight, but I'm feeling mighty perplexed here. Now, what in tarnation can I possibly do to tackle this conundrum? Should I reckon it's high time to pick up the phone and dial Microsoft support for some good ol' fashioned assistance? By golly, I sure hope they've got the answer to my technological pickle!

 

Ich hoffe das ist hier der richtige Ort zum Fragen :) Ich habe keine Repo oder sonst etwas gefunden.

1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

2 vCPUs Regular Intel 4 GB RAM 80 GB SSD 4 TB Networking

EDIT: Since a lot of people asked me: If you want to financially support the instance you can buy me a coffee on ko-fi Please only do it if you can afford it.

3
FAQ (iusearchlinux.fyi)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

Hello everyone, I want to answer a couple of frequently asked questions (and some made up frequently asked questions). Also you can ask questions in the comments.

How did you come up with the server name? A couple of weeks ago I nerd sniped this domain from someone who is also on this instance and did nothing with it until the whole reddit thing happened and I found lemmy. I noticed user names have the instance domain behind them. I suddenly knew what I had to do.

How much does the domain cost? 19$ a year.

How much does the server cost? ~~Currently it's a 7$ a month digital ocean droplet. How is the performance? Should we upgrade? Didn't expect to have over 100 Members already.~~ I upgraded to a 24$ a month droplet. To experiement if some issues go away with it.

Where is the server located? Currently in Frankfurt, Germany.

What distro does the server use? Ubuntu 22.10

Who has access do the server and database? Currently only me.

Can you edit the database? Yes, but maybe it would lead to unexpected bugs. I don't know. I will not do it unless I have to.

Will you edit comments? No.

**Will you charge 3rd party apps? ** No.

Is it complicated to host your own instance? Not at all. The lemmy devs provide an easy to use ansible script. I never used ansible before and now I want to use it for more stuff. You should have some experience with Linux and hosting. But don't be afraid if you have no experience to host your instance. You can probably Google and ask yourself though the setup.

How can I support the server? You can support the server by being active in the community. You can post, create communities, comment and engage. While I also like to lurk a lot it's important to create content. It's the most valuable thing (without content nobody will visit sites like reddit). Also it probably doesn't hurt to promote the server a bit. Regarding Server cost if the server cost doesn't increase substantially I don't need any financial support. I will try keep the instance alive as long as people are using it.

Should I create my own community? Yes (as long as it is legal and doesn't harm other people)

Does my community have to be related to Arch Linux? No, I think it's even better if it's not related. Having some random community with @iusearchlinux.fyi at the end seems amusing to me.

I don't see rules. Is everything allowed? Nope if we see something that is not okay we will not hesitate to ban someone or remove content. Everyone including the admins and mods should strive for keeping this a nice place for everyone. Everyone should feel welcome. If you argue with someone try to interpret what the person said in the most charitable way. In short try to make a positive impact in this community. We enabled that everyone can see the mod logs with the names of the mod for transparency. If you don't like how we moderate you can write us or make a post but please keep in mind we cannot make everyone happy and if you want have different moderation you can always create an account on a different instance. We have banned in total only one person and have not blocked a single other instance. We are not on the search to find small things we can use as excuse to ban anyone we don't like but we will act on reports. Please use the report button it's better to report someone just in case. We will not blindly ban someone. My other 2 Admins are great people and I trust them 100 percent to have a good judgement.

What's your favorite editor? neovim with lazyvim

What's your Terminal? Wezterm

What's your desktop environment? AwesomeWM

What's your favorite programming language? Rust (but I am not very productive with it)

Sorry for my bad english.

EDIT: How can I financially support the server? You can buy me a coffee on ko-fi

27
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

It seems like they are down for a longer time now. How will they recover? Does longer down mean they will have to do more catching up with other instances? Can I get updates somewhere?

view more: ‹ prev next ›