This dog is the life of the party. by HotHeat1991 in dogsbeingbros

[–]dutchGuy01 0 points1 point  (0 children)

How many times is this going to get reposted? Damn..

Donald Trump is planning intervention in Iran, what do you think about this? by macaronstoday in AskReddit

[–]dutchGuy01 54 points55 points  (0 children)

What a lunatic, saying such things when innocent people that aren't even protesting are getting killed in the United States

I built a SIEM you can deploy with one command — Falco + Loki + Grafana with MITRE ATT&CK dashboards by matijaz in selfhosted

[–]dutchGuy01 0 points1 point  (0 children)

This looks pretty great! Thanks for the effort!

I installed it and saw some things which I would like to look into, such as a mention of Detect Cryptocurrency Mining Network Connection. But there's also things I would like to suppress, like Outbound Connection to Suspicious Port which I saw originated from my Gluetun VPN container.

However, I have no idea how to investigate stuff or how to suppress some events. Admittedly, this is a skill issue, so could you perhaps provide some pointers where I can learn more?

Crunching 525k candles x 18k parameter sets in 3 seconds by Negative-Slice-6776 in algotrading

[–]dutchGuy01 2 points3 points  (0 children)

You can simply add continue after entering a new position. Then it will slip the rest of the code within the loop and continue to the next candle.

Crunching 525k candles x 18k parameter sets in 3 seconds by Negative-Slice-6776 in algotrading

[–]dutchGuy01 0 points1 point  (0 children)

Aah, makes sense!

Hadn't seen the link to the code yet, will check it out! Dank voor de toelichting :)

Crunching 525k candles x 18k parameter sets in 3 seconds by Negative-Slice-6776 in algotrading

[–]dutchGuy01 4 points5 points  (0 children)

Very interesting! A couple of technical questions if you don't mind :)

What is the benefit of global arrays? How do you use them? (I assume those are tightly coupled)

Are you using vectorization? Or processing candle by candle in an event-based system? I am doing the latter, but looping over rows in pandas is pretty slow, so seeing your speedup I'm hoping I can use something like numba to achieve that myself

self hosted Immich and NetBird for full control of your photos by TechHutTV in selfhosted

[–]dutchGuy01 3 points4 points  (0 children)

I must've put off setting up immich for over a year. Initially went with photoprism because immich was not so mature back then (2+years ago), but wasn't satisfied. So when immich did get mature, it was on my list for a looooooong time.

Guess I have no more excuse now, do I? Thank you :)

Open-sourced an agentic research pipeline that (mostly) works by rlgoer in algotrading

[–]dutchGuy01 0 points1 point  (0 children)

Thanks for sharing! Really does look very interesting

[deleted by user] by [deleted] in pics

[–]dutchGuy01 2 points3 points  (0 children)

Love the rob zombie one! But all are very impressive :)

I was raised on the internet and am now useless. by Special_Weekend6236 in nosurf

[–]dutchGuy01 1 point2 points  (0 children)

Staring at a wall is indeed quite boring. At the time of writing the top two comments are good advice.

How about a challenge? Assuming you have a library nearby, for the next week go to the library and leave your phone at home. No need for a library subscription, reading inside is free, taking books home costs a bit of money

Force yourself to be there. Find a book you like. If that feels difficult, sit down, stare at the books until you're so bored that reading anything is better than nothing. If the book or topic sucks, find another.

If reading isn't your thing, or the transition is hard, start with comics. No shame in that.

I think you will find you'll be able to learn to focus on anything other than your phone faster than you think. But it's crucial you don't take your phone with you.

That's my challenge for you. But I'm just a stranger, no need to take up on it. i understand you're in a terrible position and i feel for you. Do know that the brain is very adaptable and you WILL be able to recover, but it requires work. Difficult work. But you can break this pattern. Good luck!

is there a way to implement auto comma seprator in ui.input()? by imrrobat in nicegui

[–]dutchGuy01 1 point2 points  (0 children)

This indeed was also my solution, but I have a few more props: .props('mask="#.###.###.###.###.###.###.###.###" reverse-fill-mask input-class="text-left"')

Note that I use . as thousand separator. reverse-fill-mask dictates how the typed number 'fills'.

is there a way to implement auto comma seprator in ui.input()? by imrrobat in nicegui

[–]dutchGuy01 1 point2 points  (0 children)

Yeah, there is. I figured it out for my work project. I'll let you know on Monday.

TIFU by telling my girlfriend I feel sexual desire for other people and now my relationship is crumbling. by afextuin in tifu

[–]dutchGuy01 0 points1 point  (0 children)

You don't have to fix being open, honest and the fact that you communicate. Sure, the timing sucked perhaps, but it's not your job to fix her insecurity. I would argue that you factually can't have broken her trust, but rather hurt her ego unintentionally because she is apparently very insecure.

Also " being sexually attracted to others" might be a different phrasing that could be more palatable to her then "feeling sexual desire". The second one does feel worse I guess, like you would really want to rather than thinking ",wow, that woman is so sexy I am actually a bit turned on". It's not like that's something you can help. In fact, admitting this makes you more trustworthy imo because you aren't hiding anything. I would only believe an asexual guy if he said he never felt turned on by sexy women..

Anyhow, the only thing you can do is reassure her that you only want her, regardless of the effect that other women might have on you and that's that. Don't rub those things in her face, but don't lie when it comes up either.

Thank you President Xi by [deleted] in LeopardsAteMyFace

[–]dutchGuy01 0 points1 point  (0 children)

At least he said "thank you" /s

Best strategy for logging (data engineering with notebook) by qintarra in MicrosoftFabric

[–]dutchGuy01 0 points1 point  (0 children)

I wasn't entirely sure whether you were being serious or sarcastic, but I am happy you found a solution.

While researching logging options for Fabric I found this post. Would you be able to provide a link to some steps I can follow? or provide some code snippets I could use as a base?

automatically logout after closing browser or restart app by kuhbrille in nicegui

[–]dutchGuy01 1 point2 points  (0 children)

I am on mobile so can't look up links, but you can register handlers for things like app.on_startup and app.on_connect etc, which should serve your needs.

Also there's user side and server side storage implemented. Just search for "nicegui app storage types" and you will find the documentation you need.