Google using # instead of search? in URL. Why?

I'm not sure how long they've been doing it but I just noticed google using # in their search url instead of search?. New way http://www.google.com/#q=stackoverflow Old...

What is the best practice for restricting specific pages to logged in users only in Codeigniter?

I have created a sign-up and login for my website and all validation works fine for both sign-up and login. After user provides valid credentials he/she is logged into the member area with a...

rewrite main domain to a sub-directory with .htaccess

I already tried many different "solutions" from here, but none of them work. I have a domain, which I want to re-write to inside mybb directory. So: http://www.example.com...

Get TCP address information in ZeroMQ

I want to connect clients to a server using ZeroMQ (java bindings, jzmq), but I need the TCP information badly, for example the TCP/IP address of a client request! The problem is, for being able...

In a single-page app, what is the right way to deal with wrong URLs (404 errors)?

I am currently writing a web application using angularjs, but I think this question applies to any client-side javascript framework that does routing on the client side (as angular does). In a...

What could cause global Tomcat/JVM slowdown?

I'm experiencing a strange but severe problem running several (about 15) instances of a Java EE-ish web applications (Hibernate 4+Spring+Quartz+JSF+Facelets+Richfaces) on Tomcat 7/Java 7. The...

Authentication with AngularJS, session management and security issues with REST Api WS

I started developing a web-app with angularJS and I'm not sure that everything is right secured (client and server side). Security is based on a single login page, if credentials are checked ok,...

Flask unit testing: Getting the response's redirect location

I have a Flask based webapp that occasionally creates new documents with new random keys when posting to their parent document in a certain way. The new key gets in the parent's data structure,...

Nuget Update-Package incorrectly updating assembly binding redirects

I have an internal NuGet package that contains a single dll, no external NuGet package dependencies, and no web.config transforms. Yet when i run Update-Package on my projects (class lib and...

WordPress authentication using email and confirmation link

I'm trying to change behavior of Wordpress authentication. I have website dedicated for members of my company and I want only them to access it without having to manage lots of different user...

What HTTP response status code to use for unrelated redirects of random chance?

My website has a 1% random chance of redirecting visitors to this YouTube video. The server currently sends the good-old 302, but I want it to have better semantics. I don't know if the redirect...

How to hide most of my JavaScript from users not logged in?

I'm working on a web application. The main parts will be a HTTP API and a front end that uses a lot of JavaScript. Authentication will be required, so there will be a page where a user logs in. ...

How to split stdout and stderr of shell command output cleanly and show the latter in Vim status line?

I use Vim as my dash board and monitor/update many tables with various external(filtering) commands, run from macros. They work terrifically, except the error output (not yet perfect, though I've...

Using GDB to fix double free or corruption (!prev) error in large project

Background: I have forked a rather large project (popcornmix omxplayer repo) and I am modifying it to allow for synchronization on multiple displays. I am getting the following segmentation fault...

Running artillery (using npm) fails on CentOS 7

I'm trying to run a load test on my AeroGear UnifiedPush Server running on CentOS 7 using the guide provided here. I did this once on my ubuntu desktop machine and everything worked well. However,...

"yarn list" lists stuff I haven't installed

I see this on two different machines. When I navigate to the folder that contains my package.json file and execute the command yarn list, it lists a bunch of packages that I haven't installed. If...

How to make Dialogflow speech-to-text transcribe letters instead of words

I'm building a voicebot in Dialogflow that needs the user to input their user ID and other information in order to prefill the ticket before the user is redirected to the IT-supporter. BUT the...

load_model error: ValueError: Improperly formatted model config when tensorflow.keras

I can load the model with load_model("model.h5") in colab and do a model.predict which works. But when I download the h5 file and run load_model locally, the load_model call gets an error...

How to combine Session and API authentication in Laravel?

I have a simple project that has only 3 tables. The users, table2, and table3. The User schema Schema::create('users', function (Blueprint $table) { $table->bigIncrements('id'); ...

Use a subscription inside a route resolver

I want to ask a service for some data, to allow the route resolver to take a specific action. The data that should be returned by the service, is not the data that will be used by the component...

Is "Resource Owner Password Credentials" safe in OAuth2?

So, I'm developing an API using slim/slim and league/oauth2-server to manage the OAuth2 connection. OAuth2 will be useful because I will need to use Client Credentials grant between...

CouchDB Fauxton Web Interface: how to not require login to create/edit documents

I am trying to set up a CouchDB instance to: Not require login at web user interface when to create/edit/delete documents for random people who go to http://my_couchdb:5984 Prevent random people...

Meteor-files s3 upload: insert is not a function on client side

I'm trying to use ostrio:files aka Meteor-files with s3. When using the example s3 code running Images.insert on the CLIENT returns insert is not a function. My code is exact to example on the s3...

Customize retries behaviour with Ribbon and Hystrix

Objective I have a task to write API Gateway & load balancer with the following objectives: Gateway/LB should redirect requests to instances of 3rd party service (no code change = client-side...

How do you configure Kestrel to use a random dynamic port and determine the port at run-time with ASP.NET Core 3.1?

With ASP.NET Core 3.0 I have been able to use this IHostedService method ... https://stackoverflow.com/questions/49871318/determine-port-kestrel-binded-to ... to determine Kestrel's dynamic port...

Python Flask server getting 'code 400' errors (POST request sent from Telegram-webhook)

Context I'm currently following this tutorial. - Telegram Bot with Python Tutorial #3: Creating Bot and Webhook | Project FIRST STEP I have set-up a Flask server using the following python...

Form parameters are not passed to the express app while using http-proxy-middleware

This is a very specific problem, and probably hard to describe / understand. I dont know, how much input you need, so i will describe my whole architecture first: Im currently programming my first...

Active Directory Authenticates with Bad Credentials

I am using the npm package activedirectory to connect to my company's domain controller for the purpose of authenticating users on an internal website. The plan is for users to enter their windows...

Can't install modules with pip

This seems like a common problem that has been asked many times on different forums but I cannot seems to get any solution to work on my machine. I am using Windows 10 Enterprise and Python...

Python selenium get "Developer Tools" →Network→Media logs

I am trying to programmatically do something that necessarily involves getting the "developer tools"→network→media logs. I will spare you the details, long story short, I need to visit...