SuperFola

joined 2 years ago
[–] SuperFola@programming.dev 2 points 1 month ago (1 children)

Thanks, I’ll check it out!

 

As many others here, I have a home lab at home, with various containers like FreshRSS, Ampache…

I also have a netdata dashboard to monitor CPU and temps, disk usage… that sometimes send me alerts without me having configured anything, eg too much CPU used for more than 15 minutes.

However it doesn’t seem to cover log monitoring, or at least not in the way I want. I have a job and can’t dedicate thousands of hours to building something myself, nor configuring deeply some software stack.

All I want is my services to be monitored log-wise, with a single docker where you could mount multiple log directories, and have a simple interface that filters through the logs (based on their type/name, eg nginx logs aren’t treated the same way as kernel or auth logs, but without me having to configure more than the source type), to tell me if something is weird or just bad (eg someone logged in).

Does it exist without installing grafana + Prometheus + this and that + doing a shit ton of configuration and crying?

[–] SuperFola@programming.dev 1 points 2 months ago (8 children)

I find this paper false/misleading. They just translated one algorithm in many languages, without using the language constructs or specificities to make the algorithm decent performant wise.

Also it doesn’t mean anything, as you aren’t just running your code. You are compiling/transpiling it, testing it, deploying it… and all those operations consume even more energy.

I’d argue that C/C++ projects use the most energy in term of testing due to the quantity of bugs it can present, and the amount of CPU time needed just to compile your 10-20k lines program. Just my 2 cents

[–] SuperFola@programming.dev 2 points 2 months ago

Thanks for the idea, I’ll try to add a comparison page soon!

The vertical alignement is now fixed, I got lucky with bootstrap ; it looks way nicer, thanks!

[–] SuperFola@programming.dev 4 points 2 months ago

Jokes on them, I don’t use this AI bullshit.

[–] SuperFola@programming.dev 1 points 2 months ago

« America, fuck yeah » takes a whole new meaning

[–] SuperFola@programming.dev 2 points 2 months ago (1 children)

Also, just to check, do you have a time limit set for the Playground so that people do not over-tax your system?

I double-checked, and it seems my timeout command was incorrect. I set it up again (with additional testing), and it now properly kills the container(s) after 20 seconds.

[–] SuperFola@programming.dev 3 points 2 months ago (2 children)

Thanks for your comment!

That’s a tough question, because it often boils down to preferences. I think a beginner developer or even someone fed up with the complexity of modern languages could be interested in the language, as it is very small but still more than usable. Only 9 keywords, no hidden meaning, everything follows the same rules : open a paren, then the first thing is a function call, the rest are arguments. I think the « lisps have too many parentheses » is a false problem only used by trolls. I won’t say that you have to understand the flow or fall into the matrix to use it and avoid the parens, it’s more about having a consistent coding style so that you don’t have to care about the closing parentheses. Plus with a modern editor, parentheses groups have different colors and are easy to match, you can navigate to the starting / closing paren with a keybind (% in vim, command/ctrl M in jetbrains IDE).

I’m no frontend dev, so I battle a lot with it so it displays how I want ; I tried with flex to center vertically the « getting started » section, will have to try again.

Yes, there is a time, cpu and memory limit to the playground, no worries! I started the playground about a year ago but only just recently managed to compile to wasm, I’ll see in the future if I can swap the docker integration for it.

 

I’ve been working on this (not so little anymore) project for some time now, and I’m finally happy with the branding, UX and docs state.

It’s a scripting language I made at first as a toy, to learn new parsing methods, explore compiler optimizations, and go back to VM land where everything is low level and amazing (at least for me) ; it’s now a fully fledged language that can be used as a scripting language like Python or Ruby, and can also be very easily embedded inside a project, as one would do with Lua.

Let me know your thoughts and opinions on the project!

[–] SuperFola@programming.dev 3 points 10 months ago (1 children)

To me (on voyager and on programming.dev website), !programming_languages@programming.dev still seems down

[–] SuperFola@programming.dev 3 points 10 months ago (3 children)

That doesn’t solve communities being inaccessible though, does it?

[–] SuperFola@programming.dev 4 points 10 months ago (5 children)

Hi there! Like many others, I’m wondering where this issue is at?

[–] SuperFola@programming.dev 11 points 10 months ago

A big ass article just to say « they removed preloaded wallpapers and deleted redundant features but didn’t tell us what ».

[–] SuperFola@programming.dev 7 points 11 months ago

I’ve been saving 30-40% of my salary each month for years, it helps not going outside because you don’t like people and watching movies and playing video games. And eating ramen

 

I tried accessing https://programming.dev/c/programming_languages but it tells me that the community can not be found. Is that a lemmy bug?

 

TLDR: perfctl is a crypto mining and proxy jacking malware that exploits about 20’000 common missconfigurations to install itself on Linux servers. Mostly using a 10/10 CVE on Apache RocketMQ.

It is very persistent and can reinstall itself even when you have deleted all the perfctl and perfcc files. It hides itself by removing logs, network packets, and stopping all activity once you login to the machine.

Monitoring cpu usage using tools (I use net data on my server) can help identify infections (100% cpu usage when « idle »).

 

This past few weeks, Python 3.13 and the possibility to disable the GIL has seen a lot of coverage and that pushed me to dig into my own language, to see how different our approaches are.

So if you’re curious about the rambling of a pldev, that might be for you!

 

More and more new accounts are posting spam and ads to communities (eg !technology@programming.dev), would it be an idea to block new accounts from posting to any p.d community?

 

I currently have a server, a Dell T310 with an SSD in it and 12Gig of ram (weird config, I know I messed up but it works fine so I can’t be bothered to change that for now), with all my dockers running in it.

It runs mostly fine, with Debian 11, a VPN so that I can block public ssh and allow it only on the VPN network, an nginx proxy to have services like a forgejo and a music library (ampache).

However it can’t run a Minecraft server with more than a single person on it without stuttering ; so I was considering changing it maybe next year, after more than 3 years of services, for something beefier but also consuming less W/h (current consumption is 80W), and since I already have a Mac for work I was wondering how suitable a Mac Mini M1/M2 would be for a homelab?

Does anyone have such a configuration and how does it work for you? Any hurdle that you should be aware of?

 

Hi all,

I'm looking for a dashboard or widget for homepage to be able to monitor quickly my fail2ban jails.

Does it even exist? How do you people monitor your jails? I don't want to go through the hassle of setting up a mail server and send report daily/weekly

view more: next ›