i 94 – Immigration officer stamped my parent’s passport for 2 months of stay but the official and online I94 record shows as 6 months

There’s clearly an error here and your parents need to resolve it or they risk being treated as overstayers if they don’t leave by 1st October.

They can take their passports to the nearest CBP point of entry or Deferred Inspection site and get the records corrected. I would expect that a reasonable officer would extend the passport date beyond 7th October, but there is a possibility that they’ll stick to the 1st October date and update the online records to match.

Find a Port of Entry

List of Deferred Inspection sites

❕NEWS – Bitcoin price reaches record high $50k + | Proxies-free

With the price of Bitcoin increasing very rapidly recently, there were many that predicted that the price would surpass the $50000 USD mark, which was achieved by the currency last night. This was a major milestone for Bitcoin and shows that since last year, with the major dip to around $3k that this is a 16 times increase. A great investment certainly. The price reached $51,259. Do you think that this trend will continue or is there likely to be a major sell off at this level? What is your thoughts and opinions on this?

c# – Record status of http call to show in the UI

What I am wanting to do, is record the status of a HTTP call, so that I can give the user some feedback in the UI, rather than either succeeding silently, or showing a grim error.

What I have done is created a Result class. For ease, I will show the simple class, but I also have this as a generic class, so it can also contain data.

The Result class:

public class Result
    {
        public bool IsSuccess { get; set; }

        public string Error { get; set; }

        public HttpStatusCode HttpStatusCode { get; set; }

        public Result() { }

        public Result(bool isSuccess)
        {
            IsSuccess = isSuccess;
        }

        public Result(string errors, bool isSuccess)
        {
            IsSuccess = isSuccess;
            Error = errors;
        }

        public Result(string errors, bool isSuccess, HttpStatusCode statusCode)
        {
            Error = errors;
            IsSuccess = isSuccess;
            HttpStatusCode = statusCode;
        }
    }

When I make a call to the API I am using, I use the Result class, as below:

public async Task<Result> UpdateColour(GrapeColour grapeColour)
        {
            var body = new StringContent(JsonConvert.SerializeObject(grapeColour), Encoding.UTF8, "application/json");
            var client = _httpClient.CreateClient(ApiNames.WineApi);

            var response = await client.PutAsync(_grapeColourUrl, body).ConfigureAwait(false);
            if (response.IsSuccessStatusCode)
            {
                return new Result(true);
            }
            else
            {
                return await HttpResponseHandler.HandleError(response).ConfigureAwait(false);
            }
        }

Where my HttpResponseHandler does some stuff, but fundamentally writes the bool isSuccessful to false, give an error message, and set the status code.

This all lives in my Domain layer.

I then pass this over to the web side of my project, here is the controller method:

(HttpPost)
        public async Task<IActionResult> EditColour(Result<EditableGrapeColourViewModel> model)
        {
            if (!ModelState.IsValid)
            {
                return View(new Result<EditableGrapeColourViewModel>(model.Data));
            }

            var domainGrapeColour = _grapeMapper.Map<Domain.Grape.GrapeColour>(model.Data);

            var saveResult = await _grapeService.SaveColour(domainGrapeColour, SaveType.Update).ConfigureAwait(false);
            if (saveResult.IsSuccess)
            {
                return RedirectToAction("EditColour", "Grape", new { id = model.Data.Id, IsSuccess = true });
            }

            var viewModel = new Result<EditableGrapeColourViewModel>(saveResult.IsSuccess, saveResult.Error, model.Data);

            return View(viewModel);
        }

So the model I use in for the viewmodel and the view has to be the Result<T> so I can access the isSuccessful and the error message to show the user.

I use automapper to map from my domain object, to an object in the web project, but I use the domain Result.

So my question is two fold; Is what I am doing a decent solution for what I want to do? And if it is, should I be using the domain Result object as I am?

Unity: Record real time game play in high quality using offline rendering?

I’m looking to record Unity gameplay at really high quality (360 Stereo 8k 120 fps). I can’t do this in real time due to the GPU resources required so I need to do offline rendering (frame perfect rendering).

The problem is offline rendering by its nature doesn’t accept user input, so I can’t record live gameplay footage. I’m looking for a solution that lets me record live gameplay and then render it out at this higher quality.

I considered recording the user input or the gameobjects properties and then playing them back while rendering the footage. I tried a number of assets like Ultimate Replay 2.0, Record and Play, GameObject Recorder, even tried Unity Recorder to an animation but none of them record all of the changes to components on a gameobject. I think I’ll have to write my own code, although I’m not sure what the best method would be, I’m reluctant to sink to much development time into this if there’s an easier solution that I’ve overlooked?

Initially I’m looking for a solution that works inside the Unity editor but would love to be able to give this ability to end users.

data recovery – How to read sd card of type master boot record

No sure if this is the right place for this question but here it is. I have NAS running on a single board computer. The OS is in sd card. I was making changes to fstab but when I rebooted the system, it stopped booting. Looks like changes I made screwed it up. I plugged card to card reader but getting message that it can’t be read on my Mac. Is there any tool that I can use to read sd card and undo my changes?

google compute engine – Cannot add PTR record to VM instance

I’m trying to add a public DNS PTR record to my google compute VM but it keeps saying “Editing VM instance “server” failed. Error: Invalid value for field ‘resource.publicPtrDomainName’: ‘mydomain.com’. Please verify ownership of the PTR domain at https://www.google.com/webmasters/verification/verification?domain=mydomain.com.” Note: I have replaced the text of the real domain with “mydomain.com” here.

I have verified the domain and left the txt record for the verification on my dns configurations. Am I missing something?