customization – I have a HTML structured page which I want to link with a button on custom theme hompage. Which file should we write to do that?

Stack Exchange Network

Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

I will write a SEO friendly article for your blog or social media for $3

I will write a SEO friendly article for your blog or social media

Hi everyone

It’s wajida here…. I write blog posts and articles on any topic depending on your needs. For every article I write, I entirely put my focus on writing quality and original content with SEO in mind. All I need from you is the topic you want me to write about and your target audience.

What you’ll get in this Gig

  • 100% original and error-free content
  • Personalized articles based on your target audience
  • 100% money-back guarantee if you’re not satisfied with the work

My commitment to you is that; I’ll do great work and deliver within the agreed time period. Once you place your order, expect to get great work and nothing less!

Don’t hesitate to contact me in case you have any inquiries.


c# – How’d I enhance database read write performance

Friends, I have never ever set up scalable database. Moreover, I don’t have experience in writing code using C# and multiple DB. My end goal is to enhance DB performance and scale my website globally.

So, I understand theoretically I can do the following

  1. Have Master/slave DB combinations for many different reasons
  2. Setting up Redis
  3. Having load balancer
  4. Launch site to multiple servers and do Horizontal sharding etc.
  5. Read data from local slave DB/Redis
  6. Write data to central DB
  7. Read from DB directly, update key from Redis cache in case of any update/delete/insert operation etc.

But from all the above,

  1. I am not too clear what I said is right or wrong or how accurate it is
  2. I don’t know what should be the strategy from start to end
  3. If I use Redis, then how can I save data in it if am only familiar with RDBMS
  4. what plugins/Nuget to use
  5. what I need to do in case of disasters
  6. What are the code snippets to use
  7. what hosting service is right for me AWS/Bluehost etc.
  8. How can I use Amazon S3 to store images/videos etc. whats a code snippet I can refer
  9. How to perform aggregation in Redis such as count total users who commented in the post etc.
  10. what data structures to use and how to use with code snippet

Basically, above all, I want to set up something cheapest and most reliable, most efficient & safest system (well it’s just a state of mind but still handled by some external source like AWS)

I know alot of question but i think you got an idea what i am trying to achieve here

I will write unique content that suits your needs for $10

I will write unique content that suits your needs

Are you too busy to write articles or posts for your site?

Do you want unique articles that reflect your site’s value and niche?

Look no further. I am a versatile content writer. I do premium research and can write for any niche. I have articles on relationships, love, business, lifestyle, software development, tech, lifestyle, writing etc.

I will write your

* software content

*love and relationship content


*tech content

*business and freelancing content


*and lifestyle content.

here you can find your work in quality and plagiarism free work.

for info please contact me.


rust – How to write a slice into a file?

I have code which interracts with C via bindings. In it I have this:

let a1: *const i8 = get_data();
let size1 = get_size_of_data();

let a2 = ::std::slice::from_raw_parts(a2, size1);

I need to write a2 or a1 into a binary file. The size or length of the data is known.

I tried:

  let mut f1 = File::create("").unwrap();
  // ??? f1.write_all(a2).expect("unable to write binary data to file");
  // ??? f1.write_all(a2.as_bytes).expect("unable to write binary data to file");

and nothing has compiled.

How to do it?

usb – SanDisk Flash Drive write speeds dropping to 4 Kilobytes after heavy use

I purchased a SanDisk Extreme Go 64GB USB from SanDisk about 2 months ago.

Out of the box, it performed as advertised, with 4k r/w being really good.
Since it was faster than my HDD, I decided to use it as an everyday booting device for windows 10.

I recently noticed that my system was unusually not responding, so I check the write speeds on the drive and they have fallen dramatically.

When writing, active time would reach 100 percent and task manager would display writing speeds between 4 kb and 100 kb.

I am aware that once flash memory cells have all been written to, the write speeds slow down.
So, I tried multiple methods in hopes of performing a “Secure Erase” on the flash drive.

  1. Bitlocker Encryption
  2. ATA Secure Erase Command (wasn’t supported)
  3. A tool SanDisk officially recommends, HP USB Formatting Tool ( took 6 hours )
  4. Cmd.exe “Clean all” command

After performing these, the drive would be reasonably fast for the first bit after I write data to it. However, these results were inconsistent which led to the conclusion that nothing had really done anything.

I assume the cells have been all written to for a while before I noticed this slow down ( had to reinstall windows completely a few times ), making me wonder if something else went wrong.

If anyone has any other ideas about what I could try to perform a Secure Erase or if anything else could be wrong, please share this information with me.

I will write engaging content for your blog for $10

I will write engaging content for your blog

Are you looking for some SEO optimized articles for your website? If you do so, you have reached the right person. I have and experience of writing eye-pleasing reader-friendly content. I have been working on this issue for two years and Alhamdulillah, I am a successful writer.

Choose my gig for:

I will write:

  • SEO optimized well-researched, professional, informative content.

  • 100% original, accurate, unique, non-plagiarized, spelling, and grammatical error-free.
  • Copyscape passes guarantee content.
  • Proper SEO keyword placement in the title, heading, subheading. First, Middle& last paragraph.
  • SEO optimized content with LSI and related keywords which helps to get rank.

  • I offer you 1 web article of about 500 words

  • Estimated delivery time: 24 hours per article

Everything I write is 100% unique and engaging. You can use the ghostwritten posts as you see fit.

Contact me, please. Iam an honest, hard-working. I look forward to hearing from you. Thanks for your

time. Good day! Regards, Azim.


How to ensure data consistency between 2 microservices while both having write permissions

I’m currently building my first ever microservice using NodeJS, but I stumbled upon a problem.

~ How to ensure data consistency between 2 microservices while both having write permissions


I currently have 2 independent microservices: session & recovery

  • Session: Handles authentication (sign up, sign in, sign out, current user)
  • Recovery: Handles password resets (request a reset, reset the password)

Both services contain an identical copy of the user table. Every record has a version field to ensure data consistency.

I’m using a message broker (NATS) in between the 2 services.


A brief example of how the application flow works.

Let’s say we want to do a password reset:
Recovery Service:

  1. Request password reset
  2. Generate token
  3. Specify new password (legitimized by token)
  4. Increase the version of the user
  5. Send UserUpdatedEvent

Session service

  1. Receives event with data (user id, user version, new password)
  2. Search for a user with specified id and version - 1
  3. Found? Update the password
  4. Increase version number


  • The recovery service doesn’t hold all the user data. In fact, it’s only used to check if the user exists.
  • The password is not stored inside the recovery service, it’s send to the session service via the UserUpdatedEvent.

These are the 2 tables inside the recovery service:

  1. Recovery table: Contains the user reference , a generated token, the status (pending, expired, completed)
  2. User table: Contains the user id and the user its version

This works fine, but what if you update the same user simultaneously in both services?

The Problem

What if 2 microservices, that hold a copy of the same table, both modify different a property at the same time?


  1. Recovery service handles password modification for a user
  2. Session service handles all other modifications for a user (first name, last name,…)

They will both, at the same time, modify their tables. Therefor increase the version count and then emit an event to the other services. When the UserUpdateEvent is received by the other services it won’t be recognized as a ‘legit’ event since there is a version mismatch between session & recovery.

  • Does this mean I should have kept this functionality in one service?
  • Perhaps only one service should be able to modify a table?
  • Maybe I shouldn’t keep a version inside the recovery table at all?

Hopefully a more experienced person can help me out!

I will write excellent 1500+ words articles for $15

I will write excellent 1500+ words articles

Here’s what you get when you order from me

  • SEO blog post
  • Website content
  • Article writing
  • creative writing
  • market content
  • Business writing
  • Economics article
  • Business tips
  • politics
  • copy writing
  • Reporting when necessary
  • Throughout research
  • reflection paper
  • proper Grammar
  • Customer satisfaction is my first priority!