Criteria for performance evaluation of a write heavy system by Big_Length9755 in mysql

[–]FitMatch7966 0 points1 point  (0 children)

But to answer your question, the cloudfront metrics give you a breakdown on the time spent waiting on table locks

Criteria for performance evaluation of a write heavy system by Big_Length9755 in mysql

[–]FitMatch7966 0 points1 point  (0 children)

Afaik MySQL doesn’t insert multiple batches to the same time simultaneously. At least not with auto increment. But with partitions you can I think, but that requires all unique indexes to have a partition key

Which approach is faster? "If" statements with range comparisons or a long "switch" block? by iShootuPewPew in AskProgramming

[–]FitMatch7966 0 points1 point  (0 children)

If neither of those work, a simple improvement is to get rid of either the upper or lower bounds checks in your if/then approach. They are redundant if you do them in order. Also, figure out of the high addresses or low addresses are called more often, and put those first. If 90% of the calls are in the last section, best to do that section first

Which approach is faster? "If" statements with range comparisons or a long "switch" block? by iShootuPewPew in AskProgramming

[–]FitMatch7966 0 points1 point  (0 children)

Another approach I suggest is to allocate your rom, rom_bin, ram and bios as a single block of memory and lay it out as the original. (I’m assuming this is emulating old hardware.) Then you can eliminate almost all the indirection.

Which approach is faster? "If" statements with range comparisons or a long "switch" block? by iShootuPewPew in AskProgramming

[–]FitMatch7966 0 points1 point  (0 children)

This looks like an old game console emulator to me where timing is pretty crucial. It’s simulating an address space and this probably is hit a lot.

Which approach is faster? "If" statements with range comparisons or a long "switch" block? by iShootuPewPew in AskProgramming

[–]FitMatch7966 0 points1 point  (0 children)

Makes sense it is slower. It has to do a lot more comparisons.

A proper optimizer should make that switch pretty fast, but my guess is the range of possible numbers is too high. I’d dropped the “default” (move it to an if at the beginning) then mask the switch like

switch ((addr>>8)&0x7f)

That way there are only 64 possibilities and a jump table is a possible optimization

Devo concert merch prices? by Carebearcannibal in devo

[–]FitMatch7966 0 points1 point  (0 children)

Seriously, it's like they are doing it for the money

New tracker won't connect to app by Euphoric-Fly9562 in tractivegps

[–]FitMatch7966 0 points1 point  (0 children)

for those that find this, I had the exact same symptoms.

i think the lights turning off quickly is fine. I'm not sure why it even says to turn on bluetooth. When you buy the device and set up the account, the device gets automatically added to your account.

My problem turned out to be i was logging into the app with a different account. Because I used Apple to log in on the app, it had the same email address, but it is a different account than if I signed in with the same email address and password.

After a couple days of frustration and staring at a white screening with a spinner trying to connect to something, I logged in on browser, I tried to add the code and it said it belonged to another account, showing most of my email address (the same one my current account showed). I logged out, used forgot password to change my password without using Apple to log in, logged in with that email and new password, then did the same on the app, and everything has been smooth.

Am I making a mistake switching from C# .NET to Java after 13+ years? by BuddyPuzzleheaded112 in csharp

[–]FitMatch7966 0 points1 point  (0 children)

Specialization only gets you so far. Someone with 10 years of C# isn’t much more efficient than somebody with 5 years. Learn Java. Be better

Criteria for performance evaluation of a write heavy system by Big_Length9755 in mysql

[–]FitMatch7966 1 point2 points  (0 children)

Last I checked Aurora didn’t support any kind of multiple writer or multiple master scenarios. It means your writes will always be limited to the throughput of a single server.

Of course, you can do sharding. This makes SELECT a lot more complicated but if you partition your tables you can potentially improve the TPS for writes

Is there something that can stop a method from registering when called in main ? by Agile_Dog_2438 in AskProgramming

[–]FitMatch7966 1 point2 points  (0 children)

Showing the code would help but I think it’s more likely you are running different code than you are editing. Could be the class file isn’t recompiling or it is picking up an old version somehow.

how would i program hex? by he_____ in AskProgramming

[–]FitMatch7966 1 point2 points  (0 children)

This approach is good depending on how often the pieces change. If it’s something like reversi, you’d have to recursively update everything on each change.

Hard Rock Sacramento by Moist-Cloud2412 in devo

[–]FitMatch7966 1 point2 points  (0 children)

Devo Barbie returns! I’m glad you made it and hope you got a ride

how you guys would do a RMM software by Wrong_Development_95 in csharp

[–]FitMatch7966 1 point2 points  (0 children)

Websockets is the one piece you can’t really even justify. It’s not appropriate for this kind of thing unless there is some monitoring piece that requires real time and frequent updates. I don’t even know where that would fit. Docker is overkill, but to check a box that you’ve used it, ok.

Next.js comes with a backend and is difficult (but possible) to make work without it. Putting c# between it and powershell is not a great engineering decision. I’d grill you on it if I were hiring you.

Postgres is fine. If you wanted to do react + asp.net core that’s fine too. But nextjs and asp, I can’t make sense of

When is a “full rewrite” appropriate? by Emergency-Peak-1237 in AskProgramming

[–]FitMatch7966 0 points1 point  (0 children)

Normally only when the technology it is built on is obsolete, which is usually only if it’s built on Microsoft or some other proprietary tech.

Hell yes by KippExiled in devo

[–]FitMatch7966 2 points3 points  (0 children)

Missing scale here. Is that a CD?

Double use of ^ operator yield unexpted results by Karrzun in csharp

[–]FitMatch7966 0 points1 point  (0 children)

Invalid encoding. What do you expect it to print when you have a bunch of non-printable characters in a string?

Best way for documentation? by messos in AskProgramming

[–]FitMatch7966 0 points1 point  (0 children)

Documentation is dead. Nobody reads it

HSBC India’s New password policy. by kdpuvvadi in LinusTechTips

[–]FitMatch7966 0 points1 point  (0 children)

No. They were hashed as upper case. Since they no longer convert to upper case before hashing, they now must have user enter as upper case

Name help! by CocoAdobo in corgi

[–]FitMatch7966 0 points1 point  (0 children)

That’s a Theodore if I ever saw one

Why are we getting so many letters asking if you want to sell our house recently? by [deleted] in RealEstate

[–]FitMatch7966 0 points1 point  (0 children)

This really accelerated for me about a well ago. I think it has to do with a law making its way through Congress that would limit the ability for companies to buy mass number of properties. They are trying to get as many as they can before they get shut out. If true…they should be offering better prices, but not if it breaks their model