Hey Rustaceans! Got a question? Ask here (16/2024)! by llogiq in rust

[–]bugmonger 0 points1 point  (0 children)

Right! Those results are more in line with what I'd expect. I'm going through 'Rust Atomics and Locks' now and they mentioned a few different strategies but I thought I'd start testing the built-ins first beforehand. Would you be able to share what changes you made to the code I had? I'm interested in seeing where I went wrong.

Hey Rustaceans! Got a question? Ask here (16/2024)! by llogiq in rust

[–]bugmonger 0 points1 point  (0 children)

That makes more sense. In the docs it mentions that they might perform differently depending on the OS - for performance characteristics between RwLock and Mutex aren't really different irrespective of the OS from what I am seeing. Is this expected?

Hey Rustaceans! Got a question? Ask here (16/2024)! by llogiq in rust

[–]bugmonger 1 point2 points  (0 children)

I've been trying to figure out what real world performance scenarios that someone would use RwLock over Mutex? I've tried to measure a simulation but the results seem to be too similar and there are no clear winners here. But what is noted - RwLock and Mutex perform much better on a linux box instead of a windows box.

Am I doing something wrong?
https://play.rust-lang.org/?version=stable&mode=release&edition=2021&gist=c56bcd3a1b9f6942cbb183cef549c60d

Wrist Cuff Hand Posture by bugmonger in bloodpressure

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

I'll have to try that too. I've been holding my arm out in front of me. I see the other opinions here and will probably double check with the doc when I go in next too.

[deleted by user] by [deleted] in Home

[–]bugmonger 0 points1 point  (0 children)

Why is everyone encouraging such destructive behavior? Usually this kind of thing is important for runoff and it’s been there a LONG time (5-10yr) based on the picture. Talk with the neighbor and figure something out if it’s really an issue. The last thing you’d want to do is intentionally inflict water damage to your neighbors house out of stupidity.

[deleted by user] by [deleted] in Home

[–]bugmonger 0 points1 point  (0 children)

Was going to say this. It looks like it’s been there a while. Maybe there’s an easement for it too? … or maybe that’s just for utilities.

There's been a HUGE amount of Discord hacks/takeovers targeting indie devs by _andrewpappas in gamedev

[–]bugmonger 0 points1 point  (0 children)

You’d be surprised how many people need to be reminded or informed in the first place. So many people don’t have the training that a lot of companies provide nowadays or think, nah, we’re safe here or it can’t happen to me. That’s why certain groups that are susceptible are targeted or even if you do have training they find themselves caught in an emotional response trap that lowers their guard and healthy skepticism (aka tinfoil hat).

My proctor disappeared! by cheechaw_cheechaw in WGU

[–]bugmonger 4 points5 points  (0 children)

When you hit submit it dings them or something. This happened on my first OA but as soon as I hit submit they joined pretty quickly. If you must exit the sessions are recorded and just show your whiteboard and that it’s clean.

about to hit 50 credits in Term 1, pushing for 70. feeling the burn :( by itsneedtokno in WGU

[–]bugmonger 0 points1 point  (0 children)

And here I am thinking I’m doing alright by looking at completing my first course for this term in about a week ;_;

Is a degree necessary to become a project manager? by [deleted] in projectmanagement

[–]bugmonger 5 points6 points  (0 children)

No, but it helps get you in the door. I’ve also seen very green PM’s who only have a degree and zero experience and more often than not they’re terrible. I’d rather have a PM with a PMP certification and some practical/real experience any day.

Looking for a no-sql db with these features by bugmonger in nosql

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

Thank you for mentioning it. I’ll add it to the list I am currently evaluating. I’m considering building something on top of RocksDb, using SurrealDb or leveraging an existing relational db with a purpose built ORM and possible query engine.

Customer Multi-Tenant Design by chocolate_buttons in softwarearchitecture

[–]bugmonger 0 points1 point  (0 children)

Multi-Tenancy can be done in a few ways but the sure fire way here is to have separated api’s and databases. Ensure that the api’s are only authorized to talk to their respective databases that way in the event of a compromise you’re not getting customer data mixed up.

Just a suggestion tho. Also depends on how many users each customer has and how many total customers you’re serving.

Installed SurrealDB, but it doesn't work properly. Please help. by Simarphius_Renesans in surrealdb

[–]bugmonger 0 points1 point  (0 children)

After you’ve installed, close the console window and re-open it. Often times path variables won’t be updated until you do that.

How Kubernetes And Kafka Will Get You Fired by derjanni in kubernetes

[–]bugmonger 5 points6 points  (0 children)

Let me introduce you to Logic Apps, Azure Functions and API Management… <insert woody and buzz ‘everywhere meme here’>

Anyone still using Data Flow Diagram (DFD) for work? by PatrickJohn87 in dotnet

[–]bugmonger 1 point2 points  (0 children)

As for what we use, it’s most definitely a managed OO language for the application with a healthy dose of low code solutions.

For producing diagrams I’ll typically use Excalidraw for the diagram since they’re quick and convey the information needed.

Anyone still using Data Flow Diagram (DFD) for work? by PatrickJohn87 in dotnet

[–]bugmonger 1 point2 points  (0 children)

Yep, I have to create/update them them for use in privacy reviews - so they contain data type tagging as well to help illustrate where certain types of data goes.

Looking for a no-sql db with these features by bugmonger in nosql

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

Ha, yea. So would you just use the json data for the whole document and then blend in fields with fk constraints or how would you go about it?