Could not load file or assembly "System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
I've copied my project to a clean Windows 10 machine with only Visual Studio 2015 Community and SQL Server 2016 Express installed. There are no other framework versions installed apart from those inst...
- Modified
- 22 Jul at 21:33
How to redirect output of systemd service to a file
I am trying to redirect output of a `systemd` service to a file but it doesn't seem to work: ``` [Unit] Description=customprocess After=network.target [Service] Type=forking ExecStart=/usr/local/b...
How to run Jest tests sequentially?
I'm running Jest tests via `npm test`. Jest runs tests in parallel by default. Is there any way to make the tests run sequentially? I have some tests calling third-party code that relies on changing ...
- Modified
- 11 Feb at 19:13
Is it possible for UIStackView to scroll?
Let's say I have added more views in UIStackView which can be displayed, how I can make the `UIStackView` scroll?
- Modified
- 26 Jul at 12:24
Elasticsearch difference between MUST and SHOULD bool query
What is the difference between `MUST` and `SHOULD` bool query in ES? If I want results that contain my terms should I then use `must` ? I have a query that should only contain certain values, and a...
- Modified
- 27 Feb at 15:17
Call asynchronous method in constructor?
: I would like to call an asynchronous method in a constructor. Is this possible? : I have a method called `getwritings()` that parses JSON data. Everything works fine if I just call `getwritings()` ...
- Modified
- 26 May at 12:35
Load data from txt with pandas
I am loading a txt file containig a mix of float and string data. I want to store them in an array where I can access each element. Now I am just doing ``` import pandas as pd data = pd.read_csv('o...
How to update Identity Column in SQL Server?
I have SQL Server database and I want to change the identity column because it started with a big number `10010` and it's related with another table, now I have 200 records and I want to fix this issu...
- Modified
- 14 May at 07:13
No Exception while type casting with a null in java
``` String x = (String) null; ``` Why there is no exception in this statement? ``` String x = null; System.out.println(x); ``` It prints `null`. But `.toString()` method should throw a null point...
- Modified
- 10 Sep at 16:5
What is the difference between ports 465 and 587?
These ports and are both used for sending mail (submitting mail) but what is the real difference between them?
- Modified
- 9 Feb at 17:7
jQuery Mobile: document ready vs. page events
I am using jQuery Mobile, and I am having trouble understanding differences between classic document ready and jQuery Mobile page events. 1. What is the real difference? Why should <!-- language: la...
- Modified
- 10 Sep at 20:36
Remove all special characters from a string
I am facing an issue with URLs, I want to be able to convert titles that could contain anything and have them stripped of all special characters so they only have letters and numbers and of course I w...
No visible cause for "Unexpected token ILLEGAL"
I'm getting this JavaScript error on my console: > Uncaught SyntaxError: Unexpected token ILLEGAL This is my code: ``` var foo = 'bar'; ``` It's super simple, as you can see. How could it be ca...
- Modified
- 9 Jun at 20:42
How to get CSS to select ID that begins with a string (not in Javascript)?
If the HTML has elements like this: ``` id="product42" id="product43" ... ``` How do I match all of those id's starting with "product"? I've seen answers that do this exactly using javascript, but...
- Modified
- 16 Jul at 14:11
Get string character by index
I know how to work out the index of a certain character or number in a string, but is there any predefined method I can use to give me the character at the position? So in the string "foo", if I aske...
How can I submit a form using JavaScript?
I have a form with id `theForm` which has the following div with a submit button inside: ``` <div id="placeOrder" style="text-align: right; width: 100%; background-color: white;"> <button typ...
- Modified
- 30 Jul at 22:7
How do you change a repository description on GitHub?
When you create a repository on GitHub, you can optionally create a description of the repository. Unfortunately, I wrote a description that no longer adequately describes the code in the repo. How ...
- Modified
- 14 Dec at 04:30
Fastest check if row exists in PostgreSQL
I have a bunch of rows that I need to insert into table, but these inserts are always done in batches. So I want to check if a single row from the batch exists in the table because then I know they al...
- Modified
- 6 Nov at 00:9
Formatting a float to 2 decimal places
I am currently building a sales module for a clients website. So far I have got the sale price to calculate perfectly but where I have come stuck is formatting the output to 2 decimal places. I am cu...
- Modified
- 5 Jun at 16:2
HTML - how can I show tooltip ONLY when ellipsis is activated
I have got a span with dynamic data in my page, with `ellipsis` style. ``` .my-class { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; width: 71px; } ``` ``` <span id="myI...
- Modified
- 17 Nov at 10:15
JVM option -Xss - What does it do exactly?
It says [here](https://stackoverflow.com/questions/6020619/where-to-find-default-xss-value-for-sun-oracle-jvm) that -Xss is used to "set thread stack size", what does it mean exactly? Could anyone hel...
- Modified
- 27 Oct at 19:8
How to set iPhone UIView z index?
I want to move one view on top of another, how can I know the z index of the view, and how to move on to top?
What is deserialize and serialize in JSON?
I have seen the terms "deserialize" and "serialize" with JSON. What do they mean?
- Modified
- 13 Feb at 22:19
How to list all users in a Linux group?
How do I list all members of a group in Linux (and possibly other unices)?
Is it possible to set a custom font for entire of application?
I need to use certain font for my entire application. I have .ttf file for the same. Is it possible to set this as default font, at application start up and then use it elsewhere in the application? W...
- Modified
- 4 Jan at 17:59