Quantcast
Channel: User Nik - Stack Overflow
Browsing latest articles
Browse All 39 View Live

Comment by Nik on Developing Mobile Apps for Multiple Platforms (without a...

1. OP didn't request open source, only solutions. 2. Open source is not always better. 3. Appcelerator at its core (Titanium) is open source. 4. Appcelerator also has free tiers on the commercial aspects.

View Article



Comment by Nik on TFS: There is not enough space on the disk

Same happened here, due to accidentally packaging way more than expected into the artifact.

View Article

Comment by Nik on Is there a storage library that abstracts away Azure, S3...

github.com/aloneguid/storage seems to have what you're looking for.

View Article

Comment by Nik on Suitable library/tool for work orchestration / task load...

thanks, but this doesn't address auto-(re)balancing.

View Article

Comment by Nik on Can I use docker tmpfs in WSL2 for running docker...

Note that it does work, but under WSL2, seems it's not RAM backed in fact. reddit.com/r/bashonubuntuonwindows/comments/69zez8/…

View Article


Comment by Nik on What is the best or fastest way to compare two strings?

Isn't it also fairly likely that strcmp would get inlined?

View Article

Comment by Nik on How to build a C++ non-PIC shared library that links to a...

set(CMAKE_SHARED_LIBRARY_CXX_FLAGS "") # in order to remove -fPIC seems to effectively remove the fPIC from the build.

View Article

Comment by Nik on API Gateway Returns HTTP 413 For GET Requests With No Body

Hi, did you ever get to the bottom of this? Thanks!

View Article


Comment by Nik on Is it possible to search YouTube subtitles?

This does not answer the question, which is how to search through ALL videos for particular words

View Article


Comment by Nik on Is it possible to search YouTube subtitles?

This does not answer the question, which is how to search through ALL videos for particular words

View Article

Most future-proof way to embed an iframe in an OpenERP view?

I wish to customize the partner view form to contain an additional tab (next to History). When clicking on this tab, I wish to show an embedded iframe, where the content is sourced from a different...

View Article

Supporting custom compression algorithm for IIS served content

I have a bunch of internet devices which communicate with my MVC app on IIS 7.5. I'm currently using the built-in dynamic transparent compression (gzip/deflate).I'd like to be able to support a...

View Article

Answer by Nik for Using WebSocket on Windows 7

No, websockets is only natively supported by Windows in Windows 8, regardless of which visual studio version you are using. http://www.paulbatum.com/2011/09/getting-started-with-websockets-in.htmlThis...

View Article


Cannot p/invoke C method from C# due to marshalling issues

I'm trying to invoke the I2CTransfer function below, and immediately getting a System.NotSupportedException. I suspect my marshalling is wrong, but cannot work out the problem.Here are the C...

View Article

Linq to sql timestamp column always returned

I have a DBML with a class that contains a timestamp column in sql.The property in the DBML is declared as: (only relevant fields specified here)Auto generated value:trueName: timestampNullable:...

View Article


Answer by Nik for The process could not execute 'sp_replcmds' on

There are a few reasons that can cause this, but for me recently the problem was that both databases were owned by a domain account. As soon as I switched them both to owned by "sa", it was fixed.

View Article

Answer by Nik for Pitfalls/gotchas of ClickOnce/smart-client deployment in .NET

You can't install if the client is behind a proxy that requires authentication.

View Article


Partial mongodb upsert using the c# driver?

Mongo version 1.8.2.Assume I have a class like public class Acc{ public int _id { get; set; } public int? Foo { get; set; } public int? Bar{ get; set; }}Acc a = new Acc{ _id = 1, Foo = 3};I'd like to...

View Article

Answer by Nik for Change font size of comments in visual studio 2010

The font size is global in VS2010. You may want to look at this extension however:http://visualstudiogallery.msdn.microsoft.com/17c68951-7743-40bd-ad35-608706f54a92

View Article

Answer by Nik for Getting debug data from the GC in .NET Compact Framework 3.5

The problem is ActiveSync, it does work if you set it up as a TCP device. Follow the instructions here:...

View Article

Cannot call WCF service via net.tcp binding from IIS

a) I have a WCF service, self hosted in a windows service, on Windows 2008 R2 machine A. Its using a net.tcp binding. Not port shared.b) I have an ASP.Net website running on IIS on Windows 2008 R2...

View Article


Answer by Nik for how to implement ANS X9.24 dukpt using java

I found this c# project immensely helpful, and easy to understand - should help you no matter what language you ultimately need it in. https://github.com/sgbj/Dukpt.NET

View Article


Answer by Nik for Bizspark - Licensing after product goes live

After the 3 years when you graduate from the progam, you get licenses for a substantial amount of software, entirely free. From their FAQ on graduation:Keep, at no charge, all the software you...

View Article

How to get accurate window position of Microsoft Word document?

I'm trying to "dock" an app to the left of MS Word. However, the .Left property of the Word window seems to be wrong - like it's scaled somehow.When the window is close to the far left (0), the...

View Article

Image may be NSFW.
Clik here to view.

Compact framework - HttpWebRequest resource leak when offline

So this is a .NET CF 3.5 app, running on CE7. The problem is also visible in CE5. We use HttpWebRequests to query a server. When online, all seems well. When server is unavailable, we observe what...

View Article


Webfarmed machine key appears not to be working

I have 2 servers, load balanced.MVC app, IIS 7, using webforms authentication.I've set both machines to have the same machine key, in their web.configs. (copy and paste).I've double checked that both...

View Article

"missing" Haproxy sessions in stats page

In my Haproxy config, I have a front-end and several backends. The stats page is showing stats of sessions, CUR = 1098. (CSV output below)However, if I add up all the sessions for all its back-ends, I...

View Article

Automated export of SQL Server data

I want to export large amounts of data, out of a SQL Server 2008 Enterprise, to a flat file. Then delete that data. Naturally the delete must only happen if the export succeeds, so this must be...

View Article

Odoo UI widget - how to get settings from database?

I'm writing an Odoo v9 widget, which renders a URL, based on concatenation of a setting in the database, and the actual form fields. The setting in the database I figure should live in...

View Article



Query specific mongo secondary using c# driver

I have a mongo (2.0.3) replica set. If I connect to a specific node (i.e. my connection string does not include more than one host) using the standard c# driver, and specify slaveOk(), will that query...

View Article

How to replace a Visual Studio Online/TFS WorkItem 's WorkItemHistory

Using the API, I can get a work item, and add a comment (System.History item).To get all history items I cannot quite see how to do it, except to use the obsolete GetHistoryAsync()But the main problem...

View Article

Is it possible to translate secrets in Azure Key Vault?

I'm receiving a secret encrypted with Key A, and need to send it somewhere else encrypted under Key B.Both keys can be symmetric or asymmetric - but I'd like to achieve this within the vault itself...

View Article

How can I tune the SSL connection timeout in haproxy?

It appears the default timeout for SSL handshake is around 2 or 3 seconds, and timed separately from the "connect" timeout setting.Is there a way to tune this? Thanks

View Article


How to customize workflow in Azure DevOps Service (VSTS online)?

I've read all the MSDN docs, but cannot find a way to edit the work item transitions in Azure DevOps Service (VSTS online).I'm trying to:Add a custom Reason to a State of a work item. (e.g. "resolved",...

View Article

Answer by Nik for How to allow commits only for specific names/emails in...

You can do this via a policy these days, for email anyway. Go to the repo, settings, "Commit author email validation". You can specify wildcards....

View Article

Suitable library/tool for work orchestration / task load balancing in a...

I'm looking for a library / tool to help with work division.Not just producer /consumer - queues won't work here - the work is long running, and needs to automatically load balance.Imagine you have 100...

View Article


How to add additional info to stderr output when bash script calls another...

On Ubuntu, I have a bash script that runs an application.When that app seg faults, I get some info in std err, e.g./usr/local/foo/script.sh: line 21: 494382 Segmentation fault (core dumped)...

View Article


How to toggle a QCustomPlot graph's visibility by clicking on the legend

I have a QCustomPlot with multiple graph items on it.I wish to toggle their visibility by clicking on the relevant item in the legend. QObject::connect( plot,&QCustomPlot::legendClick, [](QCPLegend...

View Article

RabbitMQ on VM cloned from an OS image fails to start, possibly due to node name

I'm trying to create a "golden" OS image (not container) to re-use when creating machines. when I try to start Rabbit windows service on a cloned VM, I get[error] <0.305.0> CRASH REPORT Process...

View Article
Browsing latest articles
Browse All 39 View Live


Latest Images