star alliance – Is it possible to check in all the way through?

I am an Indian passport holder travelling with below itinerary. Surprisingly, the travel agent shared 2 PNRs on the same ticket.

  • Bangalore to New Delhi – Air India (Star Alliance)
  • New Delhi to New York – Air India (Star Alliance)
  • New York to Jacksonville – Delta (SkyTeam alliance)

Can I check-in the luggage all the way through or will I have to separately check-in at New York airport (given the alliances are different here)?

I will build live check 500K high quality DOFOLLOW blog comment backlinks for websites for $3

I will build live check 500K high quality DOFOLLOW blog comment backlinks for websites

Thanks for visiting my gig!

Welcome to my services. I will provide 500K SEO Blog comment Backlinks For Ranking. This service is Perfect to rank websites, YouTube videos, Niche sites, Fan pages, and a lot more.

Backlinks play one of the most important roles in ranking your website for Google, Bing, and other search engines. With our experience and efforts, we can build backlinks for you which will impact your website ranking with much more effectiveness.

# Guaranteed 100 Million+ Verified Backlinks
# Spam-Word Protection (IMPORTANT)
# Fast Support
# 24/7 Support
# URL & keywords (Unlimited Accepted)
# Mix of DoFollow – NoFollow (Majority is dofollow)
# Faster Indexing – Using Paid Indexing Service
# Safe,100% Buyer Satisfaction

Please Note: Don’t forget to select extra if you want to get a quick result.


php – How to check AWS cloudfront traafic limit? 504 server error

I have a website that handles ticket selling which opens once a year. Many peoples come to the website at a specific date and time. However, some users received 504 Status Code (Gateway Timeout) from AWS CloudFront .Some users can still register successfully in this period of time.

I checked the Google analytic statistic and discover some strange things. The statistic shows that the user’s number is around 800-999 per minute since the registration open. I am pretty sure that more than 1000 users want to access the site at that time. I guess the users are limited to below 1000 per minute so the 504 pages appear for some user.

I checked this page but I am not familiar with AWS.

I am not the server admin and I am just a programmer. I remember a similar situation occurred on my company’s other site a long time ago. It takes nearly 3 months to figure out the problem at that time because the server admin said that it is my program problem. However, that website only contains frontend content. Finally, the server admin increases the traffic limit to solve the problem.

This time, I am pretty sure this is due to the traffic limit. How can I check the limit of CloudFront Traffic? I want to check it by myself. I have the access right as Linux root user. I can use PUTTY and FileZilla only. Is it possible to check? Or do I need to enter the AWS panel? If yes, how?


functional programming – How to check if a string is null and use its value avoiding NullPointerException in Java

I need to map few object’s properties to another object but those properties could also have null values.

This can cause NullPointerExceptions that can be avoided using this code:

private static String nullOrString(Object o){
    return o==null?null:o.toString();

Can this function be improved / made more robust in modern Java?

google sheets timestamp – Removing Last Updated value when No data was selected from the column to check

I need help on my Google Sheet script. It is working fine on showing the timestamp of Last Updated at colB every time a new Call Status was set at ColA ; but when I deleted the status at colA, the timestamp remains at colB. It should also be clear once no data was selected at colA.

Here is my google sheet>>

Here is my script>>

var timezone = "UTC+00:00";
var timestamp_format = "hh:mm:ss dd/MM/yyyy"; // Timestamp Format.
var updateColName = "Call Status";
var timeStampColName = "Last Updated";

var sheet = event.source.getSheetByName('StatusDate'); //Name of the sheet where you want to run this script.
var actRng = event.source.getActiveRange();
var editColumn = actRng.getColumn();
var index = actRng.getRowIndex();
var headers = sheet.getRange(1, 1, 1, sheet.getLastColumn()).getValues();
var dateCol = headers(0).indexOf(timeStampColName);
var updateCol = headers(0).indexOf(updateColName); updateCol = updateCol+1;
if (dateCol > -1 && index > 1 && editColumn == updateCol) { // only timestamp if 'Last Updated' header exists, but not in the header row itself!
var cell = sheet.getRange(index, dateCol + 1);
var date = Utilities.formatDate(new Date(), timezone, timestamp_format);

Thank you so much for the help.

sharepoint online – How to filter “Yes/No (check box)” field from lookup list using pnp/rest api

How to filter “Yes/No (check box)” field from lookup list using PnP/REST API?

I can filter other columns with different types but not able to filter “Yes/No (check box)” field.

It is showing below error message:

The query to field ‘LookupList/LookupField’ is not valid.

real analysis – Please check my solution(Uniformly convergence of the functions)

Here is the question in my real analysis textbook.

$f$ is a continuous on $mathbb{R}$

Say $f_n(x) = {n over 2}int_{x-{1 over n }}^{x+{1 over n }} f(t) dt$

Show the $f_n$ is a uniformly converge to $f(x)$ on $(0,1)$

In fact, the textbook itself solve this by M.V.T for integral.

But I tried a different way like the below.

$(sol)$ For $forall x in (0,1)$, consider the $I_n = (x- {1 over n }, x+{1 over n })$

Since $f$ is a continuous on $I_n$, f is uniformly continuous on $I_n $

Therefore, by the definition of the uniform continuity

$(1)$ $exists {2 over n} leq delta $ s.t. $Vert x-y Vert < delta$ $Rightarrow$ $Vert f(x) – f(y) Vert <{2epsilon over n } $

$(2)$plus, By Archimedes $exists k in mathbb N s.t. n geq k Rightarrow {2epsilon over n } < epsilon$

By $(1)$ and $(2)$
$Vert f_n(x) – f(x) Vert = Vert {n over 2}int_{x-{1 over n }}^{x+{1 over n }} (f(t) – f(x)) dt Vert leq {n over 2}int_{x-{1 over n }}^{x+{1 over n }} Vert f(t) – f(x) Vert dt leq {n over 2 } {2 over n } epsilon =epsilon $

Hence, $exists k s.t. n geq k Rightarrow Vert f_n(x) – f(x) Vert <
(Uniformly convergence.)

I don’t have a confidence my solution is right or not. Please check my idea and solution.

Thank you.

ios – Is there anyway to check if a camera device is available for the application to use on Android?

This question applies to Android phones, but I may have the same question for ios and UWP in the future. So a solution to my problem regarding the other platforms would be appreciated, but not required.

I am using the camera2 package to try to develop a camera application for Android phones and using Kotlin for it. One of the things I’m trying to do is to have the app find a camera device that is available for use at the current moment so it can initialize it and start doing camera stuff.

I see that the function getCameraIdList will return an array of camera devices currently connected to the device. However, the array will include those that are currently in use by other applications or API clients. Those camera devices in use can’t be used by a different application until it’s released by the original client. I was thinking that maybe I can use a loop to iterate over the string array returned by that function (starting with the camera device on the back of the phone) until the application finds one that is available. I can’t find a way however.

I see that there is a class called AvailabilityCallback that could notify if a certain camera device is available. Although it seems that this callback would be used if the camera device was unavailable before. Also I wouldn’t know if this is the right approach.

With StateCallback, which is a parameter for openCamera, contains a method for what the computer should do if an error occurs; and it would be ERROR_CAMERA_IN_USE in this case. The code below would be something like this:

callback: StateCallback() {
     onClosed(camera: CameraDevice){
         //do stuff
     onDisconnected(camera: CameraDevice){
         //do stuff
     onError(camera: CameraDevice){
         //Try a different camera device when ERROR_CAMERA_IN_USE occurs
     onOpened(camera: CameraDevice){
         //do stuff

fun openCamera(cameraId: String, callback, handler: Handler?){

I don’t know if this is the right approach either.

I also thought about having the application use openCamera more than once if the first camera wasn’t available but I imagine it would be expensive for it to do.

Knowing how to find and use an available camera device using camera2 is what I’m trying to do. Thank you everyone for your help.