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
806
votes
15 answers

What is bootstrapping?

I keep seeing "bootstrapping" mentioned in discussions of application development. It seems both widespread and important, but I've yet to come across even a poor explanation of what bootstrapping actually is; rather, it seems as though everyone is…
Alex Basson
  • 10,967
  • 6
  • 29
  • 44
231
votes
14 answers

Writing a compiler in its own language

Intuitively, it would seems that a compiler for language Foo cannot itself be written in Foo. More specifically, the first compiler for language Foo cannot be written in Foo, but any subsequent compiler could be written for Foo. But is this actually…
Dónal
  • 185,044
  • 174
  • 569
  • 824
222
votes
18 answers

Is the buildSessionFactory() Configuration method deprecated in Hibernate?

When I updated the Hibernate version from 3.6.8 to 4.0.0, I got a warning about deprecated method buildSessionFactory() in this line: private static final SessionFactory sessionFactory = new…
pushistic
  • 3,406
  • 3
  • 21
  • 35
212
votes
15 answers

How does a language expand itself?

I am learning C++ and I've just started learning about some of Qt's capabilities to code GUI programs. I asked myself the following question: How does C++, which previously had no syntax capable of asking the OS for a window or a way to communicate…
Med Larbi Sentissi
  • 1,409
  • 2
  • 10
  • 6
116
votes
4 answers

What is Erlang written in?

What is Ericsson's implementation of Erlang and Erlang/OTP written and compiled in? Is is assembly, C or Erlang itself? Update 1: Thanks to DrJokepu. If I understand correctly, Erlang source-to-VM compiler is written in Erlang itself. But the VM is…
CDR
  • 8,198
  • 11
  • 47
  • 46
116
votes
20 answers

How can I build a small operating system on an old desktop computer?

This might be in vain, as I know writing an operating system is unbearably complicated (especially by oneself). I don't expect to build the next linux, or windows. I know it will be horrible, and buggy, and won't work, but that's fine. I want to…
Carson Myers
  • 37,678
  • 39
  • 126
  • 176
104
votes
11 answers

Bootstrapping still requires outside support

I've heard of the idea of bootstrapping a language, that is, writing a compiler/interpreter for the language in itself. I was wondering how this could be accomplished and looked around a bit, and saw someone say that it could only be done by…
pbh101
  • 10,203
  • 9
  • 32
  • 31
88
votes
6 answers

re-open and add dependencies to an already bootstrapped application

Is there a way to inject a late dependency to an already bootstrapped angular module? Here's what I mean: Say that I have a site-wide angular app, defined as: // in app.js var App = angular.module("App", []); And in every page:
sa125
  • 28,121
  • 38
  • 111
  • 153
63
votes
7 answers

What is meant by Bootstrapping in angular JS?

I am a beginner in Angular JS. I was going through the below link. http://docs.angularjs.org/tutorial/step_00 What are the bootstrap files? Where are they located? What is automatic booting and manual initialization of bootstrapping? I read the…
sabari
  • 2,595
  • 5
  • 28
  • 44
62
votes
3 answers

@angular/platform-browser vs. @angular/platform-browser-dynamic

In the newer examples (seeds, angular.io,..) there is another import for the bootstrapping process: @angular/platform-browser-dynamic. Could someone explain what the differences are between that and @angular/platform-browser? There is no information…
user2227400
58
votes
6 answers

Couldn't register com.XXXXX.deviceapp with the bootstrap server

I am getting this error while running in device please do need full help to solve this; Couldn't register com.XXXXX.deviceapp with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was…
Devi
  • 1,539
  • 2
  • 11
  • 10
45
votes
10 answers

How to Bootstrap numpy installation in setup.py

I have a project which has a C extension which requires numpy. Ideally, I'd like whoever downloads my project to just be able to run python setup.py install or use one call to pip. The problem I have is that in my setup.py I need to import numpy to…
user545424
  • 15,713
  • 11
  • 56
  • 70
39
votes
2 answers

How can CoffeeScript be written in CoffeeScript?

So as a new web programmer (background is mostely in C,C++, and Python) with no javascript experience (or desire to experience it, based on what I have seen) I have been doing some precursory research on CoffeeScript and am really liking what I…
37
votes
6 answers

Spring startup performance issues

I'm trying to integrate Spring in a pretty large application with thousands of classes, and i'm experiencing huge delays starting my container because of component-scanning. I have already narrowed the number of directories specified in the…
Ben
  • 740
  • 1
  • 14
  • 29
37
votes
10 answers

How can a JVM be written in Java

I was briefly reading about Maxine which is an open source JVM implementation that written in Java. This sounds circular to me. If java requires a virtual machine to run in, how can the virtual machine itself be written in Java (won't the VM code…
kji
  • 6,681
  • 3
  • 18
  • 7
1
2 3
63 64