Questions tagged [precompiled]

154 questions
3
votes
2 answers

Why do I get errors installing precompiled versions of LAPACK on Windows?

I am trying to use the Armadillo matrix library to do matrix calculations and it needs BLAS and LAPACK. The Armadillo documentation recommended getting the precompiled versions from http://www.stanford.edu/~vkl/code/libs.html There are .lib and .dll…
Alex319
  • 3,818
  • 9
  • 34
  • 40
3
votes
1 answer

Hogan doesn't support lambda in precompiled mode

I have a mustache template with a lambda looking like this: {{#myfunc}}myvalue{{/myfunc}} It is precompiled by hogan.js to look like this: define(['hogan'], function (Hogan) { var template = new Hogan.Template(function (c, p, i) { var…
Achim Koellner
  • 913
  • 12
  • 22
3
votes
0 answers

Converting MethodInfo.Invoke to Expression.Call

In my project I have the following two methods which are used to call other methods with variable number and types of arguments: private static object InvokeMethod(MethodInfo method, MyTargetClass target, object[] initialArgs, object[]…
JustAMartin
  • 13,165
  • 18
  • 99
  • 183
3
votes
0 answers

Adjusting node_prefix variable on a pre-build binary

If I obtain a pre-built binary, is there a simple place I can go and tell this binary where it is to be stored? For example, if I obtain a binary from here, then process.config.variables.node_prefix == '/opt/Node'. That is not where I will be…
700 Software
  • 85,281
  • 83
  • 234
  • 341
3
votes
0 answers

System.Web.WebPages - Cannot find the file specified

Today I turned on precompilation on our razor views. We're using referenced assemblies for pretty much everything, including the mvc dlls and System.Web.WebPages. At first I was getting an error that the versions of System.Web.WebPages didn't match…
Jamie Dixon
  • 53,019
  • 19
  • 125
  • 162
2
votes
1 answer

C# Precompile affects line numbers?

I'm trying to debug a problem in prod from a reported stack trace, but the line numbers aren't lining up? Do precompiles affect line numbers, and does the code in the "else" (as it were) count toward line numbers? For example: 1 #if DEBUG 2 …
Rikon
  • 2,688
  • 3
  • 22
  • 32
2
votes
1 answer

.NET Random Slow Site Load Time

I have a .NET application running on an IIS7 server. A service provider has a polling utility that pings the server every hour to ensure it is running properly. Sporadically, maybe 3-4 times a day, the response is lagging past the threshold they…
jkriddle
  • 708
  • 1
  • 6
  • 15
2
votes
1 answer

Trouble testing Swift in Objective-C test

I am testing myObjCClass which uses a forward declaration to get a Swift class I'm using, I did this because I was getting "failed to emit precompiled header" if I imported the Bridging Header in the .h file. In forward declaration my bridging…
SRed
  • 185
  • 2
  • 12
2
votes
1 answer

.NET Sites/Applications slow to load when not accessed for a while. Is it compiling? Or due to Idle Time-out setting in IIS?

This isn't a huge problem, but ideally i'd like to sort it out if possible. I'm assuming it's just the site compiling. My sites are running under Server 2008 on IIS7. I have some areas setup that only I use, control panels for example, which are…
Dan Harris
  • 1,336
  • 1
  • 21
  • 44
2
votes
2 answers

Adding a stand alone ASPX page to an existing web application (.Net 3.5)

I downloaded the file discussed in this article and tried "dropping it into" a production web site, but got the following error when I tried to access it through my Web browser: [HttpException (0x80004005): The file '/WebResources.aspx' has not been…
Sean
  • 21
  • 1
  • 2
2
votes
1 answer

What is the difference between qr/ and m/ in Perl?

From Perldoc: qr/STRING/msixpodualn This operator quotes (and possibly compiles) its STRING as a regular expression. STRING is interpolated the same way as PATTERN in m/PATTERN/. m/PATTERN/msixpodualngc /PATTERN/msixpodualngc Searches a string…
Lou
  • 2,200
  • 2
  • 33
  • 66
2
votes
3 answers

asp.net web application performance issue at initial load

i have one web application. index.aspx is my default page. so my problem is when my app starts for the first time it take 15sec to load the page. in my index.aspx has just simple static menu. when i put a break point in page_load it got hit after…
Nnp
  • 1,813
  • 7
  • 36
  • 62
2
votes
1 answer

Compiled expressions run much slower than interpreted versions

I have a rules engine, which supports two modes of operations: Compilation into a C# program and linked into the engine Parsing into a reverse-polish stack-based instructions and interpreted The rules are simple arithmetical expressions with…
Stephen Chung
  • 14,497
  • 1
  • 35
  • 48
2
votes
1 answer

Is there a setting in SQL Server to always recompile views on each run?

Having once again been bitten by SQL Server not updating all views properly when you add a field to an underlying table (whaaaaaat!), I am wondering if there is a setting in SQL Server that forces it to recompile the view on every use. Then I could…
Toby Allen
  • 10,997
  • 11
  • 73
  • 124
2
votes
1 answer

rails + nginx + passenger not finding my gemified precompiled assets in production

My app works fine in development and also in production on my local Mac with config.serve_static_assets = true . However, in production on the Ubuntu 18.04 server I'm getting the following error in NGINX: No such file to load -- opal_ujs.rb…