Questions tagged [bootstrapping]

[DO NOT USE FOR THE BOOTSTRAP FRAMEWORK (formerly Twitter Bootstrap)] A bootstrap is a series of procedures ran when an application starts up or a request over the web is received. For questions about Twitter's Bootstrap CSS framework, please see the [twitter-bootstrap] tag. For "bootstrapping" in statistics, please see the [statistics-bootstrap] tag.

Do not use for the Bootstrap framework (formerly Twitter Bootstrap)

A bootstrap is a series of procedures ran when an application starts up or a request over the web is received. For questions about Twitter's Bootstrap CSS framework, please see the tag. For "bootstrapping" in statistics, please see the tag.

953 questions
36
votes
4 answers

How is the Java Bootstrap Classloader loaded?

In Java it is said that all the classes are being loaded by classloaders. So first of all, bootstrap classloader loads all the rt.jar classes. I am still confused as Classloader is also a class, so who will load this BootStrapClassloader?
Sunny Gupta
  • 6,929
  • 15
  • 52
  • 80
36
votes
5 answers

Configuring Automapper in Bootstrapper violates Open-Closed Principle?

I am configuring Automapper in the Bootstrapper and I call the Bootstrap() in the Application_Start(), and I've been told that this is wrong because I have to modify my Bootstrapper class each time I have to add a new mapping, so I am violating the…
Omu
  • 69,856
  • 92
  • 277
  • 407
36
votes
12 answers

Bootstrapping a compiler: why?

I understand how a language can bootstrap itself, but I haven't been able to find much reference on why you should consider bootstrapping. The intuitive answer is that the language you're writing offers utilities that are not found in the "base"…
Mark Rushakoff
  • 249,864
  • 45
  • 407
  • 398
33
votes
7 answers

Angular (v5) service is getting constructed before APP_INITIALIZER promise resolves

I'm expecting Angular to wait until my loadConfig() function resolves before constructing other services, but it is not. app.module.ts export function initializeConfig(config: AppConfig){ return () => config.loadConfig(); } @NgModule({ …
31
votes
8 answers

Couldn't register [...] with the bootstrap server

I keep getting this error when launching my app on the iOS Simulator: Couldn't register com.mycompany.MyApp with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is…
jeannicolas
  • 3,139
  • 4
  • 24
  • 25
30
votes
6 answers

How can a language's compiler be written in that language?

Possible Duplicates: implementing a compiler in “itself” Bootstrapping a language How can you write a compiler in the same language as the language you're writing that compiler for? Isn't that sort of recursive? Edit: This may be deleted, but…
froadie
  • 79,995
  • 75
  • 166
  • 235
28
votes
3 answers

A complete WiX 3.6 bundle example bootstrapping a .NET 4 Client Profile

I tried to construct a working example of a WiX 3.6 installation script. We currently use WiX 3.5 and now we would like to begin installing the .NET 4 Client Profile framework as a pre-requisite for our MSI file that our product.wxs script creates.…
Jason Stevenson
  • 4,004
  • 3
  • 29
  • 49
28
votes
2 answers

Recipe for compiling binutils & gcc together?

According the the gcc build instructions you can build binutils concurrently with building gcc (as well as gmp,mpc,etc). Here's what that page says : If you also intend to build binutils (either to upgrade an existing installation or for use…
bdbaddog
  • 3,357
  • 2
  • 22
  • 33
25
votes
3 answers

Bootstrapping a language on LLVM

I'm bootstrapping a programming language compiler on top of LLVM. Currently I'm mostly done writing a compiler for a subset of C which is self-compiling. When I'm finished with that, I'll bootstrap my language away from C, maintaining…
Imagist
  • 18,086
  • 12
  • 58
  • 77
25
votes
1 answer

Bootstrapping collections for performance

In his seminal thesis, Chris Okasaki described the technique of data-structural bootstrapping. What work, if any, has been done to use this technique to improve locality in data structures? For example, balanced binary trees are commonly used to…
J D
  • 48,105
  • 13
  • 171
  • 274
23
votes
3 answers

How to determine if Android Application is started with JUnit testing instrumentation?

I need to determine in runtime from code if the application is run under TestInstrumentation. I could initialize the test environment with some env/system variable, but Eclipse ADK launch configuration would not allow me to do that. Default Android…
Ilya Shinkarenko
  • 2,134
  • 18
  • 35
23
votes
1 answer

What is fn* and how does Clojure bootstrap?

The source for clojure.core appears to assume the pre-existence of fn*. Where is this defined? What else is needed for bootstrap (over existing Java types)? How is it all put together? Maybe this has already been asked? I am having a hard time…
andrew cooke
  • 45,717
  • 10
  • 93
  • 143
21
votes
3 answers

Self updating application install with WIX?

I am writing an application that needs to be installed on a large number of desktops and also needs to update itself. We are looking at WIX for creating the installation. I have used ClickOnce and it is not a good solution for this install. WIX…
Brian ONeil
  • 4,229
  • 2
  • 23
  • 25
20
votes
5 answers

PHP Bootstrapping Basics

I'm writing my first PHP app. Everyone talks about having a bootstrap.php to initialize your app. This makes sense and I've put together one that I'm happy with. There's two things I don't understand, and which no one seems to mention: Where do…
BenV
  • 12,052
  • 13
  • 64
  • 92
20
votes
2 answers

Chef clients and validators

I'm trying to understand the concept of Chef clients and validators, and their relationship to the bootstrapping process. According to this article, the chef-client will use the /etc/chef/validation.pem private key to authenticate itself for the…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
1
2
3
63 64