Why is my stored procedure receiving a null parameter?

Ok, this is a curly one. I'm working on some Delphi code that I didn't write, and I'm encountering a very strange problem. One of my stored procedures' parameters is coming through as null, even...

DivideByZeroException with SQL Server CE 4 when deleting large numbers of rows

I have an application using LINQ-to-SQL with SQL Server CE 4. I know that this isn't officially supported, but we have made it work, with the following exception. On occasion, we get an error with...

SSIS: Default Logging OnError don't work with RetainSameConnection

I'm using RetainSameConnection=true with my Connection Manager since I'm using transactions (BEGIN TRANSACTION, COMMIT or ROLLBACK in the end if success/failure). I'm also using the default SQL...

Why is my wordpress website so slow and am I having so much downtime?

I have used Yslow and PageSpeed to find the cause, but I can't seem to figure out why my blog http://www.fotokringarnhem.nl sometimes loads blazing fast (cached files I guess), and other times...

Calling Named Query in NHibernate and passing parameters to Sybase Server

I am trying to call a named query using NHibernate and am receiving errors upon execution. This only happens when connecting to Sybase server and works fine on Microsoft SQL Server. We are using...

How to handle 5 million users? ASP.NET Identity

I am running a ASP.NET mvc5 app which currently has 5 million users. It is hosted in the Azure cloud. For the authentication I use the Asp.Net Identity for EntityFramework. However, the more users...

Speed up evaluation of simple polynomial expression in Python

I've written a rather large Python program to do some analysis of data given in the form of a list of cubic Bezier splines. It's very slow and, much to my surprise, after profiling I found that...

Apache2 PHP very slow

Im lately trying to fix my problem with my wordpress page on www.xetorian.de. I have a very long "Time to first byte" build up: http://www.webpagetest.org/result/150423_X8_WZN/ I also already...

What is the default color space for UIColor?

I can not find an article or a document describing which color space should be used for RGB values when initialising an instance from UIColor class. The article Getting the right colors in your...

QODBCResult::exec: Unable to execute statement: "[Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error

I get this error when I try to call stored procedure in QT using QODBC: QODBCResult::exec: Unable to execute statement: "[Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax...

Maven activating exactly one of two profiles every time

I have a maven pom.xml file which has multiple profiles: <profiles> <profile> <id>p1</id> </profile> <profile><id>p2</id></profile> <profile><id>p3</id></profile> ...

Slow WP Core and multi-site "Upgrade Network" timeout

Having speed issues with a WordPress multi-site running on a dedicated server. The front end loads fine, but the WP Admin side takes a couple of minutes to load each page. Has happened since...

Cannot execute synonym stored procedure with SQL Server ODBC Driver; works with OLEDB

This question is part in a series of bugs in the Microsoft ODBC driver: ODBC driver fails to raise errors; but instead suppresses them Reading columns out of order returns incorrect...

datatable has no data after filling it from stored procedure - c#

I am trying to get all the rows from a stored procedure in a datatable, I used sql profiler and I can see that parameters are going fine and stored procedure is resulting in more than 2000 records...

MATLAB matrix element wise multiplication optimization

I have to optimize a piece of MATLAB code. The code is simple, yet it is a part of a calculation unit, which calls it ~8000 times (without redundancy) (This calculation unit is used ~10-20K times...

Visual Studio Code Coverage refuses to generate results

I've run into a recurring problem with VS2015 Enterprise where it refuses to give me code coverage results: Empty results generated: No binaries were instrumented. Make sure the tests ran,...

Stored Procedure with Datatable as param returns nothing

I have set up a stored procedure which I am passing a data table into and calling directly from Entity Framework. I have created a Type with the following sql: CREATE TYPE Regions AS TABLE ...

NHibernate is unable to save the record - PK Id violation

I ran out of any ideas of why such a simple thing as saving a new record is causing NHibernate to fail. So I have an class: public class TimeSlot { public virtual int TimeSlotId { get; set; } ...

401 error when trying to authenticate with reddit api and python 3

I'm trying to authenticate using a python 3 script without PRAW or any other wrapper. Both reddit's official documentation and what I've found searching refer to python 2's urllib utils. This is...

CPU, RAM and I/O intensive code runs slowly on Azure Functions

We have some code that is fairly CPU, RAM and I/O intensive (it creates lots of temporary files, decompresses, resizes and compresses images). We're trying to integrate this into a "serverless"...

Maven build with multiple exec plugin executions, ant tasks

I have to perform following steps in my maven build, in the specific order mentioned...

Wordpress plugins won't deactivate?

I haven't been able to deactivate any plugin for 3 days. When trying to deactivate a plugin, Wordpress shows me the classic success message, but the plugin stays activated. I also have troubles...

Do i need to remove the p3 color gamut from an image before to send it to a device?

I have a web server that store user images and I need to know how to store each image (ie: my problem is to know if I need to store each picture with or without color space profile). I don't quite...

Convert DCI-P3 Colorspace to sRGB Using Java ImageIO or Imagemagick

I'm attempting to do image processing on a screenshot from a iPhone-X, but I'm running into trouble with the red channel not falling into an expected range. The problems are due to the color...

Sort Collection based on similarity

I have calculated a matrix containing boolean values between people indicating if they share a certain property. I would like to order the rows (and use this ordering to order the columns as well)...

EF Core - Cannot insert explicit value for identity column SqlException

In my app I am using EF Core to define 2 entities (Code First), Meeting and PostcodeDetail defined as follows: public class Meeting { public int Id { get; set;} public PostcodeDetail...

Kivy Image displays nothing for some jpg images

I have a simple Kivy application that loads images one by one from a directory. Some of the jpg images fail to display on Raspberry Pi 3 when the application is run. When the application is run...

React Native support Display P3 color gamit ? or only srgb?

When we were designing our app we used the sketch display P3 color profile, once we implemented everything in React Native we found that our colors were not the same as the ones designed they seem...

Session table causing high CPU usage(100%) azure app service

Recently we faced a situation where our app service plan CPU was at 100% for considerable amount of time (8-10 hours). Our app service was using B2 plan (development), scale-out 2, SQL server...

What should I do when I'm getting an mAP of 0.000 using keras-retinanet / resnet50?

I am currently using fizyr/retinanet to train a model that detects 3 classes. When I train the model, I receive precisions of 0.0000 on all my classes. In some rounds of training, I received...