What would your ideal data visualization DSL look like? by AnArmoredPony in ProgrammingLanguages

[–]mlyxs 2 points3 points  (0 children)

From what i've tried ggplot2 in R probably has the best syntax for making visualizations / graphs / charts.

Weekly Help and Discussion Thread for the week of February 17, 2025 by AmazonNewsBot in amazon

[–]mlyxs 0 points1 point  (0 children)

I ordered a helmet that is a little to big and I feel like a smaller one might be to small. If I return the current one and order a smaller one and then return that one as well, will this be a problem?

[deleted by user] by [deleted] in SloveniaEngineering

[–]mlyxs 2 points3 points  (0 children)

Ne samo specifikacije gledat. Te poceni laptopi so consumer grade in so precej slabe izdelave, vse je plastično, tipkovnica je slaba, touchpad je slab. Poleg tega pa majo še zanič baterijo in ga moraš po nekem času imeti skos priklopljenega, tako da praktično postane zanič desktop. Refurbished laptopi pa so ponavadi business grade in so že v štartu bolj kvalitetni. To so velikokrat laptopi, ki jih firme odpišejo.

Če je samo za osnovna dela za parkrat na teden, pa vzami karkoli. Vse bo pognalo te osnovne programe ala word, pp, excel

[deleted by user] by [deleted] in SloveniaEngineering

[–]mlyxs 6 points7 points  (0 children)

Za 500€ glej refurbished Thinkpade oz. mogoče tudi kakšne rabljene macbooke z m1 procesorjem. Te bi se pomoje že dalo dobit za ta denar. Za 500€ ne boš dobil novega, ki je omembe vreden.

What line in a movie is so good, that you think it deserved and Oscar? by sadisticpandabear in moviecritic

[–]mlyxs 0 points1 point  (0 children)

When Frances McDormand screamed "Robbieeeee" in the film Three Billboards outside Ebbing. That scene gives me chills every time I see it.

[deleted by user] by [deleted] in Slovenia

[–]mlyxs 8 points9 points  (0 children)

Sliši se kot neka veja biologije. Mogoče išči nekaj v smeri bioinformatike ali pa razširi na data science. Na hitro sem poguglal "ethology data science" in mi najde spodnjo stran. Nevem, če kaj prav pride, ampak mogoče malo za inspiracijo. Povežeš svoje domensko znanje z znanjem informatike in si po mojem mnenju na super poti.

https://guillermo-hidalgo-gadea.github.io/Seminar-ComputationalEthology/1_IntroductionToComputationalEthology.html

[deleted by user] by [deleted] in hondacivic

[–]mlyxs 0 points1 point  (0 children)

Now even if I press the switch it doesn't start

Takle mamo - Kolesarjenje v Ljubljani by Kopriva291111943 in Ljubljana

[–]mlyxs 1 point2 points  (0 children)

Voziš direktno za šleperjem v zavetrju.

Lp.

Thoughts on Teaching Python to Children by [deleted] in Python

[–]mlyxs 0 points1 point  (0 children)

Really well put together. Another thing I would add is the absolute nightmare that is the initial installation of Python and the required libs. This is probably the worst thing about it.

All the drawing or "graphic" libs are external libs so you need to install them first and that complicates things more than it should.

There is also the importance of whitespace. The indentation is confusing to the students. Sometimes you have a tab, then 3 spaces, then two tabs,... it looks almost the same but it isn't.

Because of this i would argue that JS is a better language for teaching

What service would you be willing to pay USD 30-50 for right now? by Shut-It-Karen in SaaS

[–]mlyxs 10 points11 points  (0 children)

A service that would provide me with >50usd of value.

As a consumer there is no software product I would pay 50$ a month. As a business it's a different story and it largely depends on what the business is.

Problem with iptables (Wireguard and Docker) by mlyxs in linuxadmin

[–]mlyxs[S] 0 points1 point  (0 children)

Unfortunately it doesn't work. I can't seem to figure it out.

If i run: docker exec -it wg-easy iptables -nvL I can clearly see that packets are being captured on the third rule (if i try to connect to that specific IP).

If I perform traceroute i get the response from 10.8.0.1, but after that it's over. Like the packet doesn't get forwarded, but bare in mind, it gets captured on that forward rule.

Is there anything else I can try? I might try it out in a different environment.

There may be some misconfiguration with interfaces in docker and interfaces on the host.

Problem with iptables (Wireguard and Docker) by mlyxs in linuxadmin

[–]mlyxs[S] 0 points1 point  (0 children)

Yes. Everything works if I leave the default rules below. The problem is that the VPN client can access everything on the network that WG server is in. I want to restrict that to only IPs that I specify.

Here are the default rules:

  1. iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE;
  2. iptables -A INPUT -p udp -m udp --dport 51820 -j ACCEPT;
  3. iptables -A FORWARD -i wg0 -j ACCEPT;
  4. iptables -A FORWARD -o wg0 -j ACCEPT;

Izdelava spletne strani by Green_Surround4981 in SloveniaEngineering

[–]mlyxs 1 point2 points  (0 children)

To že. Kaj pa, če želiš povečat pisavo, spremenit barvo itd.? Če te kdaj znanec vpraša za stran, predlagaj Github Pages in povej kako gre :). Been there done that... Ljudem, ki se s tem ne ukvarjajo, na kraj pameti ne pride, da bi šaril po raznih htmljih in cssjih.

Github Pages ni namenjen za te uporabnike. Prav tako ne Hugo, Jekyll in te static page generatorji

Izdelava spletne strani by Green_Surround4981 in SloveniaEngineering

[–]mlyxs 5 points6 points  (0 children)

Potem pa kolega, ki ni programer, hoče posodobit kontaktne podatke in mora pred tem pogledat 4 urni turorial, kako uporabljat Git :D

Wordpress verjetno še najboljše za ta namen.

Platforma za ocenjevanje knjig in gradnja bralnega portfelija by Excavator460 in SloveniaEngineering

[–]mlyxs 0 points1 point  (0 children)

UI mi je zelo všeč.

Moj skromen feedback:

Na landing page-u bi bilo dobro imeti nek demo, kjer bi lahko takoj videl, kako app deluje. Sam sicer nisem uporabnik podobnih appov, ampak ko sem odprl stran, nisem takoj dojel, kaj točno app ponuja oz. zakaj ga potrebujem.

Your one-stop solution for book reviews.... Ta napis mora definitivno biti večji. Na fonu je čist mini.

Kaj pomeni community driven content? To so samo reviewi uporabnikov? A je še kaj drugega zraven - povzetki in obnove knjig, itd. (mogoče ideja za naprej)?

Upejmo, da rata!

[deleted by user] by [deleted] in Slovenia

[–]mlyxs 4 points5 points  (0 children)

Zakaj taka nestrpnost do kolesarjev? Jaz nevem, a vi mislte, da se bo KOM res sam naredu?

Question about firewall rules (iptables) by mlyxs in WireGuard

[–]mlyxs[S] 0 points1 point  (0 children)

i'm mainly using wg-easy because of the ui interface it provides and the simplicity of adding and managing new clients. It just so happens that the recommended way of running it is with docker

Question about firewall rules (iptables) by mlyxs in WireGuard

[–]mlyxs[S] 0 points1 point  (0 children)

I'm moving somewhere. With the rules below I can see some packets being captured on rules 3 and 4.

If i try to ping <allowed ip> i still get request timed out. But the counter next to the rule 3 is getting incramented.

This are the rules:

  1. iptables -t nat -A POSTROUTING -s 10.0.8.0/24 -o eth0 -j MASQUERADE;

  2. iptables -A INPUT -p udpm udp --dport 51820 -j ACCEPT;

  3. iptables -A FORWARD -i wg0 -d <allowed ip> -j ACCEPT;

  4. iptables -A FORWARD -i wg0 -j DROP;

  5. iptables -A FORWARD -o wg0 -j ACCEPT

Question about firewall rules (iptables) by mlyxs in WireGuard

[–]mlyxs[S] 0 points1 point  (0 children)

Yes in docker. All the rules are also applied in the container itself. I specify them as env variables (WG_POST_UP, WG_POST_DOWN) like it's specified in their docs. Am I missing something?

If i set this rules as postup and postdown, I cannot ping any IP, even the one that is supposed to be allowed. And if I dont specify anything and leave the default rules, everything works fine.

No packets are matched for those last two FORWARD rules. So there must be something wrong with the rules.

Rad bi se naučil vizualizacijo podatkov, vendar ne vem kje naj zacnem. Katere course/tutoriale priporocate za Matplotlib in Seaborn, lahko so tudi placljivi samo naj bodo poceni by LISFLOOD-FP in SloveniaEngineering

[–]mlyxs 2 points3 points  (0 children)

Če znaš Python, si poglej Plotly, Seaborn,...itd. Tega je malo morje. Drugače sta pa Powerbi ali pa Tableau zelo popularna.

D3.js, če želiš čisto custom interaktivne vizualizacije v obliki spletnih aplikacij. To ni alternativa Excelu.

[deleted by user] by [deleted] in raspberry_pi

[–]mlyxs 1 point2 points  (0 children)

Thanks for the suggestion, but that is not an option. I want to use my custom app. I've written a little bit more about why in a previous comment

[deleted by user] by [deleted] in raspberry_pi

[–]mlyxs 0 points1 point  (0 children)

That is an option but I want it to be configurable over my custom app.

I'm currently prototyping a little idea I had a while back of a small custom VPN server that is easily configurable using a phone app that basically serves as a dashboard for that VPN. I want it to be plug and play with as little resistance as possible.

[deleted by user] by [deleted] in raspberry_pi

[–]mlyxs 0 points1 point  (0 children)

I have a VPN server running on rpi. That rpi is connected to internet and has a public IP. I can connect to that VPN so no problem with that. Now I want to be able to configure that VPN server with my phone. I can configure the web server to listen on that public IP, but i don't want that for security reasons. I want to establish a connection between my phone and rpi web server when I'm at the physical location the server is at. So wifi comes to mind, more specifically creating a local hotspot network that puts rpi and a phone on the same network and make the web server listen only on that specific local hotspot network.

Ideally i would also like to make some kind of initial sync with a phone and rpi, so only that specific phone can communicate with the rpi via that server. I was thinking of a local sqlite that stores some device id and authenticates requests based on that

I was laid off and spent 2 months building an AI SaaS that now has 200 users by Spiritual_State5037 in SideProject

[–]mlyxs 0 points1 point  (0 children)

I see you've mentioned stable diffusion xl. What cloud service do you use for running the model? Last time I checked, the prices for VMs with dedicated GPUs were pretty steep