Drupal 6 - How to programatically create a content type
How do I programmatically create a new content type?
Why is there a diode connected in parallel to a relay coil? In most electrical circuits with a relay, a diode is connected in parallel to the coil of the relay. Why? Is it always a good practice? Is it okay to use Stack Overflow as the support forum for a product or project? How do I disable the drum beat sound on the login screen? I would have expected System ▸ Administration ▸ Login Screen ▸ Play login sound to control this, but unchecking it does not prevent the drum beat sound from playing. Why is my SSH login slow? I'm seeing delays in SSH Logins. Specifically, there are 2 spots where I see a range from instantaneous to multi-second delays.   Between issuing the ssh command and getting a login prompt and between entering the passphrase and having the shell load   Now, specifically I'm looking at ssh details only here. Obviously network latency, speed of the hardware and OSes involved, complex login scripts, etc can cause delays.  For context I ssh to a vast multitude of linux distributions and some Solaris hosts using mostly Ubuntu, CentOS, and MacOS X as my client systems.  Almost all of the time, the ssh server configuration is unchanged from the OS's default settings.  What ssh server configurations should I be interested in?  Are there OS/kernel parameters that can be tuned? Login shell tricks?  Etc? Hardware Enablement Stack (HWE) out of support Encouraging users to create an account (and keep it) how to turbo boost my cpu on Ubuntu? My PC has one Intel Haswell i5 4690, which is supposed to be boosted up to 3.9GHz from the regular frequency 3.5GHz. I do not know if it is possible to use some softwares to turbo boost this cpu on Ubuntu 14.04LTS. THX! graphics with \setbeamercovered{transparent} With \setbeamercovered{transparent} covered parts of a slide are displayed transparently. If there is a (small) picture among the text, it is shown as it is. Beamer has only this picture, so it shows this picture. My question: How can I give a gray version of the picture to beamer such that in covered parts of a slide, this gray version is used? Where's the BIOS on an Intel Mac? AlwaysOn AG: Current Host Server - Owner Node - Primary Instance I'm building up a SQL Server AlwaysOn AG and I'm on the step "failover", manual and automatic:  I noticed that in the Windows Server Failover Cluster a "Current Host Server" exists. My knowledge says that this is the "master" of the cluster that the cluster hosts. But now I noticed that the "Owner Node", which hosts the Availability Group(-role) a other node could be. (The owner node is also the primary instance of the AG, right?)  Now for me there exist two questions for the normal operating of an AlwaysOn AG:  Q1: Should the "Current Host Server" the same as the Owner Node of the AlwaysOn AG?  Q2: Imagine if I want to maintain a host. Shall I first failover the AG (via SSMS or with ALTER AVAILABILITY GROUP...) to the second node/another node and at second a failover of the WSFC-Current Host?  Maybe someone could help me with this questions and give me some advice.  Thanks Difference between phrase and idiom What is the difference between a phrase and an idiom? Is there a difference between DR/evil and DR/unholy? Lost USB BlueTooth Dongle for Keyboard and Mouse I lost my USB bluetooth dongle (from HP) which I used for a wireless keyboard and mouse. They came together in a set when I bought my last HP computer.  Are the keyboard and mouse useless now? or will any bluetooth dongle allow them to work? If I can just buy a new one - any recommendations on a replacement (good price, and perhaps works with Windows and Ubuntu out-of-the-box?   Forgive me if this is an easy question. I'm just not that familiar with wireless mice/keyboards. TikZ 3.0.0 (release) produces strange shadings if used with XeLaTeX and standalone I would like to use shadings in my TikZ graphics together with the standalone package and XeLaTeX, but for some reason it is broken if I try with the new 3.0.0 release (). Any other combination I tried works for me (use for example article class/pdflatex/lualatex/TikZ 2.10). (I'm using a fully updated TeX Live 2013.) MWE \documentclass{standalone} %\documentclass{article} % would work  \usepackage{tikz} \usetikzlibrary{shadings}  \begin{document} \tikz \draw[top color=red] (0,0) rectangle (2,1); \end{document}  Output  Expected Output  Question How can I avoid the problem and which package/class is causing it? Adding curved features to map with ArcGIS API for JavaScript? I've tried without much success to add a curved line feature to the ArcGIS JavaScript map.    I created a polygon with a curved edge in ArcMap:   However, when I load this same feature in the web API, it becomes segmented:   The problem started when I tried to create a curved feature from the JavaScript API itself, which only seems to allow full circle features (not circular arcs).  This makes me think that curves are still unsupported in the JavaScript API. Do you know any way around this? Do you have any other ideas on alternatives I can use to create and correctly view curved features? Why exactly does diffraction occur? Why do waves that were traveling in a straight direction change direction when passing through an opening?  I thought that the waves (red arrow) when colliding with the wall bounce in the opposite direction (green arrow).  And the waves that pass through the aperture follow its path normally as shown in the image on the right.   The waves that go in a straight direction should follow traveling straight line like a car that goes under a bridge the car is straight on the road. But this is not so.  Why does the direction of the waves change?  How is the direction of the waves calculated? Bitlocker won't initialize on a 4TB drive with 4K sectors Why do I not see evidence of discrete energy in the spectrum? The electromagnet spectrum looks to be continuous, yet energy is discrete. Shouldn't one see evidence of the electron's "quantum leap"? What's going on?     Moderator, please size my photo. Thank you. Does the logistic map have an attractor for a particular value of the parameter? Background:  Currently I am studying a course on non-linear dynamics. We have been studying about attractors only intuitively, so I do not have a definition for an attractor. Let me give you a couple of examples.  Consider a problem where a ball is slipping in a parabolic valley. It is clear intuitively and quantitatively that the lowermost point of the parabola is the attractor for it.   Say we are talking about a . We may not guess intuitively that there is an attractor, a priori, but using simulations for different values of initial conditions, we may qualitatively (and maybe quantitatively too) compare the trajectories for different initial conditions and convince ourselves that we have an attractor.  Problem:  Consider the  given as   $$x_n = ax_{n-1}{(1-x_{n-1})}.$$  Let us fix a value of the parameter where we "know" that the logistic map exhibits chaos. Say $a=3.9$.  Let us take the definition for the term attractor from :  An attractor is a subset $A$ of the phase space characterized by the following three conditions:   $A$ is forward invariant under $f$: if $a$ is an element of $A$ then so is $f(t,a)$, for all $t &gt; 0$. There exists a neighborhood of $A$, called the basin of attraction for $A$ and denoted $B(A)$, which consists of all points $b$ that "enter $A$ in the limit $t → ∞$". More formally, $B(A)$ is the set of all points $b$ in the phase space with the following property: For any open neighborhood $N$ of $A$, there is a positive constant $T$ such that $f(t,b) ∈ N$ for all real $t &gt; T$. There is no proper subset of $A$ having the first two properties.   How might we demonstrate/convince ourselves of/disprove the statement that the logistic map does have an attractor for a particular choice of the parameter at which the map exhibits chaos? What if the answers of a historical locked question become obsolete? My understanding is that a question is historically locked because the information in it is too valuable for the question to be deleted.   But if the "valuable information" becomes obsolete, what happens then?  We cannot modify the question content, or the answers for a historically locked question, right?