I3 load a set of programms in specific layout I would like to load a set of programs (browser, terminals, image viewer) in a certain layout (meaning the same tiling). I tried using i3-msg split to start a programm and then apply a tiling to it. Problem is there is a delay between starting the programm and a window comming up, making it very inconsistent. So is there a way to start up a bunch of programms in the same tiling layout with a single command?
Populate an entire pre-configured workspace in i3wm Is it possible with I3Wm to populate an entire workspace with determined size, position and commands for each window?  I know I can do i3-msg "exec xterm -e 'ls; bash'" to create a new window, but I can't specify his position and size.  Maybe there is also an alternative by declaring via JSON the layout or something like that?
Thermistor control of peltier voltage with Arduino (for DSLR chill box project) I am mildly familiar with electronics, mostly from playing around with electronics kits as a kid. That was a long time ago, though, maybe as much as 20 years ago. I am currently working on a cold or "chill" box for my Canon 5D III, so I can keep it's temperature very low, and very consistent, for doing low noise astrophotography.  I have a general design for the box, and I'm using a single 12v 5.8amp peltier (TEC) attached directly to a copper box for cooling. The box is currently insulated with extruded foam board, and the hot plate of the peltier will be cooled with a water cooler from an old computer kit.   I'm getting more ambitious with my project, however. I want thermal regulation, to maintain a consistent temperature, and I'd eventually like to get into two-stage cooling to achieve a Delta-T of closer to -55-60°C relative to ambient (the chill box will be cooling the camera, so the sensor will be warmer, probably by as much as 10°C, than the temperature of the copper plating in the box itself.) I want to have two primary modes:   Rapid cooling mode, operating the peltier at 12v or higher (max voltage is 15.4v) to quickly cool the box down to the target temperature. Regulated maintenance mode, operating the peltier at lower voltages to maintain a consistent temperature, above the maximum potential cooling the peltier can supply (for headroom as the voltage is adjusted in response to small temperature fluctuations).   I'd like to maintain temperature within 2-3°C if possible. I've looked into Arduino (and I've messed with similar things in the past), and it seems perfectly ideal for the task, with one exception: It doesn't seem to handle the kind of current I need top power a single peltier, and certainly not two.   I've done some research on how I might achieve this, but I'm falling up short on my understanding of the electronics involved. I've found a two-relay "shield" for Arduino Uno that can power two devices with up to 8amps each, and up to 30v each. That can be controlled from the Arduino itself. It seems the design of a relay uses a magnetic coil to actuate a switch that allows an independent power source to be used to power components like a motor, solenoid, or in my case a peltier. I haven't found any way of actually regulating the voltage of the relay with the Arduino, however.  So I kept investigating, and I came across some schematics that showed how to use transistors, specific mosfets to be exact, where the base was connected to an Arduino output, and the collector/emitter were connected to the power loop of whatever needed to be powered at a higher voltage (not sure about current here), and this still allowed control of the voltage.   It's been so long since I messed with any of these components, my memory is extremely rough, and I'm not quite connecting how it all works. I'd be happy with some references to complete examples of powering, and controlling the voltage of, high powered devices via an Arduino, but if anyone here can explain how all this works and why, that would be most ideal. I'd rather understand the concepts, so I can reapply them later, than just have a pattern to follow. I know that Wubi is slower in disk IO, but I can't find anything about it online other than vague statements such as "slightly slower disk seeks".  Has anyone done any benchmarks to quantify the speed difference? Need help with SQL Server PIVOT I know about the PIVOT feature in SQL Server and I've read a few other questions and answers on here but I just can't seem to grasp it in order to do what I need. I'm trying to run some calculations and I have the following:  TABLE office_settings column office_id (bigint not null) column setting_value (NVARCHAR(500) NOT NULL)  office_id    setting_value -------------------------------------------- 4             0.2 4             0.2 4             2 4             3 5             0.2 5             0.2 5             2 5             3   I'd like to convert this using PIVOT (assuming that's the right tool for the job) to this, basically "grouping by" the office_id column, so:  office_id    value_1    value_2    value_3   value_4 ------------------------------------------------------     4         0.2         0.2         2         3     5         0.2         0.2         2         3   I should also mention that I need to CAST the setting_value column values to DECIMAL(4,2) in the process of this - in case that has any bearing on the T-SQL required to accomplish it.  Any ideas? I updated the image in my Gravatar but my old picture still shows up.  Is this a cache issue?  Do I need to log out and then log back in? I know that the emergency services can be called FREE in the UK by dialing 999 and in the US by dialing 911.   What I don't know is the number to call in other countries and if there is a cost involved. This is something I think most people should find out before travelling but many don't (including me). Hopefully this will help me and other people. I am running Ubuntu 12.04 on an IBM ThnkPad T42.  I just installed Gnome and Cinnamon but I am still using Unity.  The only problem is that in dash when I search for any application they don't appear.  I don't see recent applications either.  I fixed it by running unity --reset but the next time I turned on my computer it was broken again If the universe is expanding, what is it expanding into? If the universe is expanding, what is it expanding into? When the big bang happened where did it occur?  When the big bang happened how did it occur?  Where did the energy come from? Energy can not be created or destroyed does that mean, energy has existed before the universe was here? GCD of two numbers divided by their greatest common divisor is 1 Another part of my daily  on SE sites.  When viewing a question and it's time to move on, I'll often simply click one of the tags in the question to bring me back to a list of questions with that tag.  This doesn't work in the Android app.  Obligitory screenshot.  I tried to draw a finger that looked like it was tapping a tag, but it ended up looking like, well...  something else, let's say. The "Spell Storing" ability of the Shield Guardian says:     To do so, the wearer must cast the spell on the guardian.  The spell has no effect but is stored within the guardian.   This seems to indicate you cannot cast, for instance, Fire Shield on the Guardian, because that has a range of Self.  This seems different than what is intended, as the wording for a ring of spell storing is:     This ring stores spells cast into it, holding them until the attuned   wearer uses them....Any creature can cast a spell of 1st through 5th   level into the ring by touching the ring as the spell is cast.  The spell has no effect, other than to be stored in the   ring.   The use of the word "into," which does not seem to indicate any range, versus the use of the word "on," which seems to mean the guardian is a target of the spell.    Which is the correct interpretation, grammatically, versus what is the RAI? Chrome: remove URL from autocomplete which doesn't show up in history? How do I move to a new tab in gedit using the keyboard? If I have multiple tabs open, how do I move from one to another? (Ubuntu 11.10; gedit 3.2.1) What happens to a polymorphed character if he is shorn as a sheep? Does anyone know how to get your business map location displayed in the right hand sidebar of the Google search results page? As in the screenshot below:      I already added my business to this link: .  Is adding detail in above link enough or do I need to change my website coding? Is there a "nice" way to think about the quotient group $\mathbb{C} / \mathbb{Z}$?  Bonus points for $\mathbb{C}/2\mathbb{Z}$ (or even $\mathbb{C}/n\mathbb{Z}$ for $n$ an integer) and how it relates to $\mathbb{C} / \mathbb{Z}$.  By "nice" I mean something like:   $\mathbb{R}/\mathbb{Z}$ is isomorphic to the circle group via the exponential map $\theta \mapsto e^{i\theta}$, and $\mathbb{C}/\Lambda$ is a complex torus for $\Lambda$ an integer lattice (an integer lattice is a discrete subgroup of the form $\alpha\mathbb{Z} + \beta\mathbb{Z}$ where $\alpha,\beta$ are linearly independent over $\mathbb{R}$.)   Intuitively, it seems like it should be something like a circle or elliptic curve. I can't open/ping any antivirus sites I have a problem with a virus in windows 7, I don't know what kind of virus is infected my OS, I installed kasersky antivirus, and clear all detected viruses. After that I can't open any antivirus sites, can't ping any antivirus sites. example:  C:\Windows\system32&gt;ping kaspersky.com Pinging kaspersky.com [38.117.98.231] with 32 bytes of data: General failure. General failure. General failure. General failure.  Ping statistics for 38.117.98.231:     Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),   When I ping to other sites, I get reply normally: example woth pinging to google.com  C:\Windows\system32&gt;ping google.com  Pinging google.com [31.7.160.224] with 32 bytes of data: Reply from 31.7.160.224: bytes=32 time=2ms TTL=61 Reply from 31.7.160.224: bytes=32 time=2ms TTL=61 Reply from 31.7.160.224: bytes=32 time=1ms TTL=61 Reply from 31.7.160.224: bytes=32 time=1ms TTL=61  Ping statistics for 31.7.160.224:     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:     Minimum = 1ms, Maximum = 2ms, Average = 1ms   I tryed any antispyware/antimalware softwares, but null results.  Anyone else encountered this problem? I am currently looking at the various libraries that I can use to show a map in my custom Android App. I have found several like Mapsforge, OSMDroid, ArcGIS runtime for Android, Google Maps for Android and so on. I'm sure that I am missing a few.   Is there a comparison chart somewhere about the differences in functionalities and pros and cons of each one?   If there isn't one, we could make this question community wiki, to serve alongside  &amp; . I'm learning how to use the mirror modifier and I am having some trouble.  When I apply the modifier to my object I don't see a mirrored version of it.  What am I doing wrong? How many ways to arrange people on a bench so that no woman sits next to another woman? Is there geometric or visual (but rigorous) proof for the equation of hyperbola whose foci are on the $x$-axis using only the traditional definition of hyperbola: a hyperbola is a set of points such that the difference of distances from each point to focus is constant $(|r_1 - r_2| = 2a)$?  Also, can you maybe geometrically explain asymptotes of hyperbola (why do they exist)?