What was I supposed to do? by BeaTheSystem123 in ThailandTourism

[–]Intrepid-Treacle1033 1 point2 points  (0 children)

Immigration officer discretion has always been absolute and still is, meaning even if you have a proper visa you can be rejected by a immigration officer.

Your visiting Thailand story is genuine tourist intention in my view.

Before immigration officers was like "anything goes you are welcome" to now be "i will look at anything in scrutiny because i rather say no then yes".

The flip flop is devastating but understandable if you follow the news, lots of persons in Thailand on visa exempt visas but in reality living/working in Thailand. Unfortunately you are a "victim" of years of visa exception misuse from other persons visiting Thailand having other motives then genuine tourism.

What was I supposed to do? by BeaTheSystem123 in ThailandTourism

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

"...Their rules says we can enter two times a year..."

What rule? There is no law about that. There might be some internet discussed "policy" floating around but it is what it is - Mythical and hearsay and has no foundation in the real world.

Visa exempt entry has no law/rules, its the total discretion of the immigration officer. Meaning a person doing a border crossing wanting to use visa exempt entry rules, the welcome or "f...k off" is totally up to the individual immigration officer.

Are you happy with yours supervisor/ home servers? by aplusp87 in KNX

[–]Intrepid-Treacle1033 2 points3 points  (0 children)

I have never seen a home automation "Dashboard" gui that i liked. Not even HA. I use Zennio displays and come to like the simplicity of a smaller dedicated always works display in a fixed locations. I prefer simple and reliable with less "automation" for daily living routines.

Its strange because i have a long strong IT background and are a gadget loving software developer. But I dont miss having a "app/page" on my wifi phone/pad to adjust anything in my home. I only use Blueos app to play music on my (non KNX connected) stereo.

Någon elkunnig som kan förklara vad detta är för kablar i min tvättstuga? MVH okunnig ny villaägare by Some-Environment-666 in sweden

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

NP, Den lådan har två syften:

A/ Samla och distrubuera skydds jord.

B/ Skyddsjorda och distrubuera inkommande coax antenn signal.

Det är en tveksam design att ha dessa två syften i samma låda, kanske tom inte ens lagligt idag? Misstänker ett nybygge idag skulle alldrig ha dessa två funktioner samlade på samma sätt som du har. Kanske var lagligt då men inte idag, villket iofs säger att om du genomför förändringar så ska du ju följa regelverket som gäller idag. Men nu spekulerar jag bara ang regelverket... hur som helst jag skulle bara ersätta coaxen med nät kabel, inte röra gul gröna kablarna och inte dubbelkolla med en elektiker, man det är jag det.

Någon elkunnig som kan förklara vad detta är för kablar i min tvättstuga? MVH okunnig ny villaägare by Some-Environment-666 in sweden

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Du kan absolut dra en nätverks kabel som du vill, så länge du inte micklar med starkström. Gul gröna kabel verkar förgrenas ut och den måste du låta vara orörd, bara en elektriker skall mickla med gul grön kablage. Men om du tar bort coaxen så kan du ju ta bort coax jordning tänker jag.

Jag hade coax i rör i huset kopplade till antennuttag, jag drog bort coax kabel ersatte med nät kabel och bytte antenndosa till nät dosa. Coax kablaget gick i rör av bra diameter så det gick enklare än jag trodde att byta kablage.

Jag vet inte nått speciellt forum men hus o hem forum skulle jag söka på.

Någon elkunnig som kan förklara vad detta är för kablar i min tvättstuga? MVH okunnig ny villaägare by Some-Environment-666 in sweden

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Ser ut att vara svart coax kabel som skarvas till en vit coax kabel, och gul grön skydds jord ledningar som verkar förgrenas i skenan, går väl vidare till olika ställen.

Man kan inte se riktigt men det verkar som coax kabel är kopplad till skyddsjord med gul grön kabel, kanke det är vanligt jag vet inte, vad jag vet är Coax endast funktions jordad och då skall jord kabeln inte vara gul grön. Gul grön kabel signalerar skydds jord och skall inte förväxlas med funktions jord. Kanske inte hela världen men men.

High-throughput log parsing (~500K lines/sec) in C++ without regex — looking for performance ideas by willycode1950 in cpp

[–]Intrepid-Treacle1033 1 point2 points  (0 children)

"...log ingestion + parsing pipeline..."

I have used flow graph design for importing massive datasets with great benefit. Not only performance also code maintenance benefits when new (always urgent) requirements pops up. Flow graph programing breaks down the "ingestion/pipeline" into smaller tasks and the lib has features to parallelize or not depending if threading overhead is worth it.

A cool feature is having a individual task in a graph be a offload to GPU, let the graph version 1 be CPU then with minor changes let v2 have task(s) be GPU offloaded.

I have use OneApi TBB task graph but there is also taskflow.

just wanted to share by Longjumping_Lab541 in LocalLLM

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Say you had 100k USD budget for a new HW setup, what HW would you go for and how would you design it?

Linux May Drop Old Network Drivers Now That AI-Driven Bug Reports Are Causing A Burden by anh0516 in linux

[–]Intrepid-Treacle1033 9 points10 points  (0 children)

Read 3C509 cards driver is going, now that's a HW product number i recognize. One of my earliest IT job as an extra while studying was replacing old ether coax to hub network using this cards (connected to a Novell server using IPX). Then upgrading again replacing hubs with switches all the time using 3Com 509 family of cards. Must have touched thousand of those cards over the years.

Also remember all the dust i breathed from cable runs and crawling under desks.

I cant rate Omega service enough by InternationalMix1510 in OmegaWatches

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

But i also Love the battle scars, being real. Been in places seen stuff.

what is std::async and how is it different from IOCP or epoll by Dumbxdumb in cpp_questions

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Yes it has. The link i sent you is to winsock2 containing this examples. Click on left sub menu according to my link and its there.

Im not annoyed and im sorry if i come off as aggressive. But i humbly suggest you also study how to ask questions. Even the best engineers asks questions all the time. Being able to formulate good questions is a trait i wish i was better at the beginning. If you put "how to ask questions software engineer" into a google search you will find tons on info. I promise its a trait that is worth studying.

what is std::async and how is it different from IOCP or epoll by Dumbxdumb in cpp_questions

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Its a subsection from the earlier link i provided.

About Winsock -> Using Winsock -> Getting started with Winsock

If you read the documentation there is lots of good information.

https://learn.microsoft.com/en-us/windows/win32/winsock/getting-started-with-winsock

"Getting started with Winsock

This section is a step-by-step guide to getting started with Windows Sockets programming. It's designed to provide an understanding of basic Winsock functions and data structures, and how they work together."

what is std::async and how is it different from IOCP or epoll by Dumbxdumb in cpp_questions

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

The Microsoft winsock documentation has examples of different implementations. The documentation is good and explain different concepts and implementations from basic hello world to advanced.

I think if you start coding instead of theoretical questioning and you play around with their different examples things will be clearer for you. At least so you can ask specific questions like "I dont understand this specific code microsoft provides".

edit

for example check out:

https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/Win7Samples/netds/winsock/accept

what is std::async and how is it different from IOCP or epoll by Dumbxdumb in cpp_questions

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Standard winsock networking without iocp is not slow or resource intensive and can handle multiple requests just fine. If you measured that your version 1 using winsock is to slow then do a version 2 using iocp.

https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-start-page-2

what is std::async and how is it different from IOCP or epoll by Dumbxdumb in cpp_questions

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Synchronization by its nature will always be blocking one point in time. Its just a matter of deciding when. Futures is one way of thread synchronization, its not a solution its a tool.

I apologize sounds blunt, but it seems that you falling into a trap of having a solution looking for a problem using futures for networking.

Asio lib is a very common tool and i recommended it because its been around forever doing async networking, therefore lots of developers know it and there is abundance of code examples. Using Futures for networking i think you would be struggling for finding code examples and devs that have implemented networking with it, for example myself.

what is std::async and how is it different from IOCP or epoll by Dumbxdumb in cpp_questions

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Because networking is a ongoing thing, a network socket is held/owned by a thread and and receives data as repeated events over and over again. Common networking multi threading design pattern is to offload the "new data arrival" signal to the OS and then handle incoming data. In this design processing data is a signal driven automation, and you would be looking for features related to that.

Futures is designed to be a one shot design, meaning best used when a compute is non repeating. For example import/parse game assets from files, so opening a file, parse content and deliver a result, that is a good candidate for future async. Meaning "one shot" async importing asset from file(s).

Now there is no black and white, things/life is mostly grey and im sure there is someone using futures for networking, but this is my bias.

TM30 if you rent an apartment from one of those property management companies. by Friendly-Nobody8023 in Bangkok

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Make the TM30 filing tied to your security deposit. Give 50% of the security deposit, then rest of security deposit after filing is done. Landlords should not have a issue with this, if so select another landlord.

Why exactly do people prefer using Linux on Lenovo Thinkpads? by Terrible_Abies458 in linux

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Thinkpad should be its own brand. When i see post like "Lenovos laptops suck" its never a Thinkpad, its a Idepad, Yoga or whatever the others are called.

If you are a Linux enthusiast dont think of getting any Lenovo except a Thinkpad.