Where to stay in Paris for easy access to Palaiseau?

I will attend an event at Ecole Polytechnique in Palaiseau from Monday to Friday. The event will take place between 8am to 10pm, but some days it takes shorter (like until 5:30 pm). I may also have the weekends free before and after the event, so it is also a chance to see Paris.

Should I stay in Paris or in the suburbs (like Palaiseau, Massy, Saclay) close to Ecole Polytechnique? If the event ends at 5:30pm I will want to see the city, eat/drink, etc. I need to find a place that is safe and easily accessible by public transport to stay low on budget. Unfortunately budget is a concern for me, I only have 50-80 Euros for a night for accomodation.

Random access and changed password email

Few weeks back I had a email from Apple telling me that my account was being tried to logon to from location they don’t recognise “China”. And they have locked down my account. Today I got email “Your password has successfully Reset” where as I never did changed. It had a link for me to go to “Resolution Centre” if it wasn’t me. I am bit confused on if it’s a phishing email or really from Apple? And what does it mean “Password Successfully Reset”

Access back-end console for Flask app deployed using Nginx and WSGI

I’m new to this domain so hopefully my question is not too elementary. I built an app.py file that used pre-trained serialized machine learning models (pickle format) and gave prediction results when received POST-request from the front end user inputs. These inputs are also stored in MongoDB.

I run the app.py using the method:

python app.py 

instead of : export FLASK_APP=app.py then flask run --host=

The reason is because the former method allows the back-end to take in the pre-trained pickled model while the latter method somehow skipped this step. The result works like a charm in localhost.

Now I’m trying to deploy it to a real web domain. I use an ubuntu virtual server (DigitalOcean) to deploy the app using Nginx and WSGI. I successfully access my domain and see the html file rendered by Nginx. However, when I input the user information, I got in client console an internal server error 500.

I wish to access the back-end console to see what’s going on there but have no idea how to do it on the virtual server. I have spent too much time on this. Any help/direction will be much much appreciated.

P/s: Also, if somebody knows how to use the former method (mentioned above) for deployment in nginx and wsgi, please share 🙂 Right now, I’m starting the app using the command

systemctl start nginx 

How do ISPs send their own pages when a user is trying to access a blocked site?

I know that some ISPs send block pages(like “This site has been blocked because … “) over HTTP by sending a fake 301/302 redirect.

I also know that instead of sending a block page, some ISPs simple send RST to terminate the connection or do nasty things with DNS when blocking an HTTPS site.

But can they send a block page over HTTPS? And if possible, I’d like to know some other methods of blocking sites(both HTTP and HTTPS).

No internet access after using VPN (Windscribe)

I have had this vpn for a few weeks now with no issues and then two days ago the vpn had disconnected and I had lost my internet access as well. What is weird is that I have internet access at school but not at home. Please is there any fix to this as this is very frustrating that my mac has no internet access.

I have made sure to:

turn off the kill switch. uninstall the vpn. restart my macbook.

this however still has not fixed my problem.

any help would be appreciated.

Is it easy to hijack browser session if you have access to someone else computer

If someone has access to my computer , can they easily get my session id by going to the browsers developer tools and taking a photo of the session id with a phone, if the session id is passed in a cookie. eg. in a java web app , the jsessionid is usually passed as a cookie ( sometimes even in the url ) They can then add that key-value pair to the websites document cookie when they want it. ( assuming the session is not expired yet) Am I missing something, is it so easy.

If yes , why do browsers not employ not kind of security mechanisms so that an attacker with physical access to the computer, is not able to grab session id, or other important cookies through their developer tools. You can’t just get someone’s password,even with access to the computer. Chrome for example requires you to provide computer’s authentication credentials before you can view saved passwords. Why is is similar authentication not required for cookeies given that cookies can many times contain temporary password (eg. a session id )

Youtube Strict vs. Moderate Access Considerations

I am considering implementing YouTube restrictions via G Suite. The wording on what exactly Moderate vs. Restrictive access does is very vague. I was wondering what expectations users should have for their YouTube experience at either setting. We currently have a firewall-based solution to prevent pornography from showing up but that is all at this time.

Why return AccessResult::allowed() ends up with “Access denied”?

I’m having a strange behaviour while trying to use hook_node_access in Drupal 8 (Lightning to be more precise) and I can’t figure out why is doing this. Let’s suppose that I want to always allow people to edit a certain content type (I know I can setup role permissions to achieve this, but I’m just trying to understand why it’s not working):

function mymodule_node_access($  node, $  op, $  account) {   $  type = $  node->bundle();   if($  type == 'service' && $  op == 'update') {       return AccessResult::allowed();   } } 

I always get “access denied” while trying to edit a “service” node.

This is what I’ve tried to do in order to debug it:

  • in reports > status reports there are no node access permissions in use;
  • the current user does not have “bypass content access control” permission;
  • hook_module_implements_alter doesn’t return any other module using hook_node_access.

Is there anything I’m missing?

How to use ‘access callback’ => TRUE drupal 7 in drupal 8 to access all parameter in url without page not found

'access callback' => TRUE in Drupal 7 can access all parameter. Example:

$  items['hello'] 

I can access hello/a/b/1 in url without page not found

I have a problem when I migrate custom module in drupal 7 to drupal 8. In drupal 7 'access callback' => TRUE but how can I use this in Drupal 8?

Can’t access spPageContextInfo nor spClientSidePageContext

Normally I was accessing user details on client end using either spPageContextInfo or spClientSidePageContext (or using _spPageContextInfo or _spClientSidePageContext version). For some reason though, these two values return undefined on my Client’s website.

Do you have any idea why this occurs and how I can alternatively fetch name and second name in browser console?

It’s SharePoint Online.