Questions

com.apple.WebKit.WebContent drops 113 error: Could not find specified service

I am using for viewing custom HTML. - `Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service`[Could not signal service com.apple.WebKit.WebContent](https://sta...

19 Jun at 07:56

How to listen for 'props' changes

In the [VueJs 2.0 docs](https://v2.vuejs.org/v2/guide/instance.html) I can't find any hooks that would listen on `props` changes. Does VueJs have such hooks like `onPropsUpdated()` or similar? As @wo...

Servicestack routing issue with 'Could not find property' error

When I upgreade the servicestack version of my application to "4.5.12", i am getting error as decribed below. First of all my application configuration is something like this basicly: ``` [Route("/u...

16 Jun at 07:3

How to use string interpolation and verbatim string together to create a JSON string literal?

I'm trying to create a string literal representing an array of JSON objects so I thought of using string interpolation feature as shown in the code below: ``` public static void MyMethod(string abc, ...

WPF COMException Crashes Application At Startup (Started Today)

I have just today started seeing this Exception out in the wild on application launch with an app that has been in production for 3 years. ``` System.TypeInitializationException: The type initializer...

16 Jun at 03:4

Flutter - Wrap text on overflow, like insert ellipsis or fade

I'm trying to create a line in which center text has a maximum size, and if the text content is too large, it fits in size. I insert the `TextOverflow.ellipsis` property to shorten the text and inser...

28 Feb at 17:1

.NET Get embedded Resource File

I have an embedded Resource File: [![enter image description here][1]][1] I need to open it as a `Stream`. What I've tried (did not work, stream is null): What I'm doing with it: Any ideas or suggesti...

How do I automatically tail (delete) older logs using Serilog in a .Net WPF application?

I'm using Serliog in a .Net WPF application. Is there a way that I can "tail" (delete) the log files automatically when they are over N days old?

16 Nov at 15:11

WebSocket connection failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

I am new to WebRTC and WebSockets and was following this tutorial to create a WebRTC demo project, but I am unable to create a WebSocket connection. I have followed the same steps as mentioned in the ...

30 Sep at 15:0

create-react-app: how to use https instead of http?

I was wondering if anyone knows how to use https on dev for the 'create-react-app' environment. I can't see anything about that in the README or quick googling. I just want either the [https://localho...

15 Jun at 18:23

Service Stack (4.0.40.0 - Version) error when I join 3 tables to extract data from 2 of the 3 tables

I am using service stack ServiceStack.OrmLite.SqlServer to extract data from SQL DB. I am joining 3 tables but I need data only from 2 of the 3 tables. When I execute the Query I get the following err...

How to fix incosistent and slow Google Cloud Storage response times?

I'm using Google Cloud Storage to store and retrieve some files, and my problem is that the response times I'm getting are inconsistent, and sometimes very slow. My application is an ASP.NET Core app...

What's happening in TryUpdateModelAsync

So I'm doing this [microsoft tutorial](https://learn.microsoft.com/en-us/aspnet/core/data/ef-mvc/crud) on ASP.NET Core with EF 6 and it just went through updating a model through the edit-controller. ...

15 Jun at 13:13

What is the LIMIT clause alternative in JPQL?

I'm working with PostgreSQL query implementing in JPQL. This is a sample native psql query which works fine, ``` SELECT * FROM students ORDER BY id DESC LIMIT 1; ``` The same query in JPQL doesnt ...

4 Oct at 17:3

STRING to DATE in BIGQUERY

I am struggling to try to do this with Google BigQuery: I do have a column with dates in the following STRING format: ``` 6/9/2017 (M/D/YYYY) ``` I am wondering how can I deal with this, trying to ...

21 Dec at 22:52

How can I use `return` to get back multiple values from a loop? Can I put them in a list?

I have some code that prints data from a global dictionary named `cal`: ``` def show_todo(): for key, value in cal.items(): print(value[0], key) ``` However, I want to use this code as pa...

7 Dec at 07:21

What is the reasoning behind x64 having such a different performance result from x86?

I was answering [a question on Code Review](https://codereview.stackexchange.com/questions/165407/optimizing-special-cases-of-modulo/165821#165821) and I discovered an interesting difference in perfor...

ServiceStack OpenAPI TagAttribute

Does anyone know where ServiceStack is referencing `TagAttribute` from. According to ServiceStack's OpenAPI documentation a route can be marked as `[Tag("Core Requests")]` to categorize the routes but...

15 Jun at 00:12

ServiceStack.Text CSV serialization of IEnumerable<object> ignores custom serialization functions

Firstly, please forgive any rookie mistakes here - I'm not a regular poster I'm afraid. Now on to the nitty gritty... I am trying to use ServiceStack.Text to serialize objects to CSV. If I keep it s...

The reference assemblies for framework ".NETFramework,Version=v4.6.2" were not found

When trying to compile a solution, I get the following build error: > Error MSB3644 The reference assemblies for framework ".NETFramework,Version=v4.6.2" were not found. To resolve this, install ...

14 Jun at 15:21

How does ServicePointManager.ReusePort and SO_REUSE_UNICASTPORT alleviate ephemeral port exhaustion?

Windows 10 and Windows Server 2016 introduced the `SO_REUSE_UNICASTPORT` socket option. It was made available for use in .NET starting from version 4.6 via the `ServicePointManager.ReusePort` static p...

Unsupported method: BaseConfig.getApplicationIdSuffix()

So I'm reading and the first two app examples I had no issues with the examples, this time the FlagQuiz example when loaded in Android Studio 3.0 Canary-3 I'm getting this error which isn't letting m...

23 Dec at 19:23

Generic Type JsonConvert.DeserializeObject<List<T>>(string)

I am using Newtonsoft.JSON. I won't know the type of object passed to this method, or retrieved to this method, so I am attempting to use `DeserializeObject` on an object I do not know the type of. Is...

22 May at 04:24

How to mock ServiceStackController Cache property?

Giving the following ServiceStack controller ``` public class MyController : ServiceStackController { public ActionResult Index() { return View(Cache.GetAllKeys()); } } ``` and...

Identify type of exception in ExceptionHandler of Servicestack

The ExceptionHandler(set inside the overridden Configure method of AppHostBase) of servicestack has the 'exception' parameter of generic Exception type in the lambda. ``` this.ExceptionHandler = (ht...

15 Jun at 07:16