Ratio of the areas

Question:
From the figure,I could find that 1 and 3 are similar.Again how can I proceed?
Answer: You are undoubtedly expected to use a similarity argument. So what is below is irrelevant to your needs.
We will use coordinate geometry. Choose $D$ as the origin, and let the axes be as usual. Let the side of the square be $1$ unit. The diagonal $AC$ has equation $x+y=1$. The line $DE$ has slope $1/2$, so it has equation $y=x/2$. The diagonal $AC$ and the line $DE$ therefore meet at $(2/3,1/3)$.
Now we know that Triangle $2$ has base $1$, height $1/3$, so area $1/6$. The areas of Triangles $1$ and $3$ are just as straightforward, and then we get the area of $4$ by subtraction.
Remark: The method of coordinates is a nice tool. Thank you, Fermat; thank you, Descartes.
Answer: If triangles (or really any polygons) are similar and corresponding sides are in a ratio $a:b$, then their areas are in ratio $a^2:b^2$. From that, and the midpoint assumption, we can draw a conclusion about the ratios of the areas of $1$ and $3$. You also know that the area of $1,4$ together is equal to the area of $2,3$ together. Finally, what portion of the square's area is contained in $1,2$ together? That should suffice to get everything you need.
Answer: Cameron's given you the nice way to solve the problem. You can also solve it in an uglier but very straightforward way. Since you're only interested in ratios, assume that the square is a unit square, so that $|AB|=1$, $|BE|=1/2$, and so on.

Using the similarity of $\triangle AHD$ and $\triangle CHE$, you can calculate $|JH|$ and $|HK|$ and from those the areas of $\triangle AHD$ and $\triangle CHE$. Knowing the value of $\angle HCG$, you can easily calculate $|HG|$ and then get the area of $\triangle DHC$. The area of the quadrilateral $ABEH$ is then just what's left when the areas of the three triangular regions are subtracted from the area of the square, but you can get a double check easily enough: knowing $|HB|$, you also know $|FH|$, so you can calculate the areas of $\triangle AFH$ and the trapezoid $FBEH$.

Ratio of the areas


Using the Korg Krome Keyboard Workstation

Question: I got the Korg Krome Keyboard Workstation a while back and I am still having trouble using it. Are there any good resources that you know out there to help me learn it. Or perhaps someone could give me some insight on the different functions. Thanks!
Answer: In all likelihood the best resource for getting started with it is Korg's own Krome quickstart guide. The Krome Workstation web page has, under the "Support and Downloads" link in the lower-left, a few more bits of documentation about how it all works.
As with most manuals you'll probably have to refer back to it now and again as you become more familiar with more features, rather than trying to memorize everything in one go.
Comment: @MattCamp Sure thing! Best of luck in getting it all figured out. If, in reading, you come up with conceptual questions that aren't covered (e.g. "Why doesn't a .MID include my specific instrument sounds?) Feel free to post them. Specific and answerable are the main criteria for a great question.
Comment: I will try and give it a more in-depth look. Thanks for the help!
Comment: @MichelKeijzers There's nothing wrong with that at all. In fact, that's exactly how this site is supposed to work. We do ask though that the questions are appropriately scoped - "how does X work?" is good, "can anyone give me some general pointers on X?" is usually too vague to be useful on a Q&A site (although that seems to work on some forums)
Comment: I don't know if you have ever read the Korg manual yourself, but it is probably one of the most confusing manuals I've ever read. It's like they expect you to already understand so many large and confusing concepts. Along with that I have not found a place in the manual where it gives specifics on things such as exporting songs, uploading sounds, and such. I appreciate the answer and I hope other users will find the manual more helpful than I have.
Comment: @MattCamp I haven't read this particular manual deeply, but I've read a few other Korg manuals and glancing through it it looks pretty similar - a bit obtuse, but the info is there. Exporting, for example, is done by writing them to an SD card and appears to be only in proprietary or .MID format. It's covered under "Saving and Loading" in the quickstart guide on p.19.
Comment: I think most Korg manuals are very good readable, but I have a quite good understanding of the underlying terms. However, what's wrong with reading it and for any unclearity ask a question in this forum (helps others too)?
Answer: I think the synth comes with some manuals (some printed, some on PDF); I don't have a Krome, but several other Korg synths (and all are more or less equal).

Read the start guide
Read the operation guide
Do not read the parameter guide from beginning to end

Some tips:

First play the programs, get a feeling how programs are organized
Than try combinations, try to change them (combi editing is easier than program editing)
Check the global section
Together this is called PCG (Programs, Combis, Global)


Can I switch my bathroom light and fan separately with two conductors?

Question: Currently our bathroom light/fan combo is running on one switch. Want to change to two single-pole switches. One to run the fan and one to run the light. There are only one black, one white and a ground coming from the light/fan unit. Is is possible for me to change to two switches? FYI- there is a double box because I changed the box before doing the switches assuming I would be able to do it.
Comment: Is that electrical box really mounted off vertical like that? Or was the camera skewed when the picture was taken?
Comment: Just a bad picture.
Answer: Yes, but you'll need smart devices to do it
In the smart-switch wiring, you also have a controller module up in the fan assemblt.   The smart switch and controller both get always-hot and neutral.   The controller then outputs switched-hot-fan and switched-hot-light.
The smart switch and controller must be a matched set.  You probably won't need a 2-gang box for the smart switch.
Comment: A [Functional Devices HAF3](https://www.functionaldevices.com/products/lighting-controls/details/HAF3/) can be used as the controller module in conjunction with a regular light switch, BTW.
Answer: Unfortunately, no. You'll need a second hot conductor. In modern bathrooms you typically see a 14/3 with ground cable run up to the light/fan box. You can also run a new 14/2 cable and use that in conjunction with the existing one if it's easier in your case. If it's on a 20 amp breaker you'll need to use 12/2.
The 14/2 cable coming in from the panel is just fine. It's only the cable up to the fan that needs the second hot conductor.


Connect Chrome to TOR

Question: I'm having difficulty connecting Chrome to TOR. I started trying yesterday. I started Vidalia and TOR Browser and then followed the advice from here - downloading Proxy Switchy and setting it up as stated.
This resulted in Error 130 (net::ERR_PROXY_CONNECTION_FAILED) (in Chrome, when I tried to load a webpage). So I looked into Vidalia's settings and noticed that it appeared to be using port 9051, so I set that instead of 8118 as everyone on the internet seems to be suggesting.
Then I got a new error: Error 111 (net::ERR_TUNNEL_CONNECTION_FAILED). Digging a bit, I found that Tor should be set as a SOCKS proxy, not an HTTP proxy, so I unticked "use same settings for all protocols" in Proxy Switchy and just set localhost:9051 for SOCKS. That got me Error 7 (net::ERR_TIMED_OUT).
And that's when I came here for help. I typed up the above question, but then at the last minute decided to do a bit more reading and found someone here suggested using some command line arguments via a Windows shortcut:
"C:\snip\chrome.exe" --proxy-server=";socks=127.0.0.1:9051;sock4=127.0.0.1:9051;sock5=127.0.0.1:9051" --incognito check.torproject.org

And that worked perfectly. Yesterday. Today it doesn't, so I'm having to post this question after all. check.torproject.org gives me a "no" with Chrome, but a "yes" with the default Tor Browser. I tried closing Chrome and restarting it (yes, with the correct shortcut) after Vidalia started, but still nothing. The port number hasn't changed or anything. What gives?
EDIT: I realized I had a "non tor" instance of Chrome running and that possibly the was causing the command line args t be ignored when I started the new instance. Closed all instances of chrome and ran my Chrome Tor shortcut, and it did get rid of the "not using Tor" message -- because I got another Time Out error instead. Vidalia's bandwidth graph didn't even blink.
Answer: Try using switchySharp, I had the same issue in Proxy Switchy.
For the SOCKS protocol, I'd suggest Polipo, which is quite fast.
Comment: I too had the Same issue with Proxy Switchy, I am using switchySharp without any issues.
Answer: On my configuration (the default that came with Vidalia, freshly installed today), 9050 is the port to use, and 9051 is the control port. Try pointing Proxy Switchy to localhost and 9050, like so:

Connect Chrome to TOR


Seed for bitcoin-core qt

Question: I have a bitcoin core -qt Wallet (on linux). Tell me, can I encrypt it?
 For example, there is the electrum wallet!
It has words for deciphering.
For example, i installed the electrum and the  phrase was generated.
"I'm a fan of the  https://bitcoin.stackexchange.com"
Knowing this phrase you can install electrum on any computer,  and when you enter this phrase you get access to your balance and btc.
But what about bitcoin-core-qt? because it is characterized by the fact that the it must download all the transaction history after installing.(~200gb).
Is there such a "magic phrase:" for this wallet bitcoin-qt?
This is a very useful option if you have lost access to the server or host where you hadthis wallet
Answer: You can export private keys from Electrum and BitcoinCore. You can export private keys from Electrum as "words" format (There's a website to convert it to private key(s): https://iancoleman.github.io/bip39/), while Core doesn't have this feature. See the steps in question Using dumpprivkey to make a paper backup to use dumpprivkey in Core to export the private key.
Comment: @MCCCS You should not enter your seed on any website. It is not safe. Besides Electrum does not use bip39 so that site will not work with an Electrum seed. If you want to migrate to a different wallet just send your bitcoins to it using Electrum. If you absolutely must mess about with private keys it is best to use Electrum itself to export them. You can do that via wallet menu > private keys > export.
Comment: Thank you, so if i then install Core on new PC and import this privat keys, will i get access to my btc , right or not?
Comment: @D.Joe that is correct. There is more information on that question [here](https://bitcoin.stackexchange.com/a/71538/75001).
Answer: Bitcoin core does not support seed mnemonics. You must rely on soft copy backups if you want to backup your wallet. The option to backup the wallet file is in the file menu.
If your Bitcoin QT says HD in the bottom right corner then a one time backup is sufficient to get access to your bitcoins at any time in the future. If you care about meta data like address labels you will have to make regular backups.
If it does not say HD then that means you need to make regular backups i.e. at least once every 90 spending transactions.
Answer: You can make dump privat keys of all your addresses:
dumpwallet    version 0.13.0 Exports all wallet private keys to file
And other interesting commands:
encryptwallet       Encrypts the wallet with .
importprivkey    [label] [rescan=true]  Adds a private key (as returned by dumpprivkey) to your wallet. This may take a while, as a rescan is done, looking for existing transactions. Optional [rescan] parameter added in 0.8.0. Note: There's no need to import public key, as in ECDSA (unlike RSA) this can be computed from private key.
dumpprivkey     Reveals the private key corresponding to

Seed for bitcoin-core qt


Environment for building Bitcoin core in Windows

Question: I'd like to try building the Bitcoin core source in Windows. The instructive materials I've found take too much for granted. What environment needs to be installed before building? Can it be built in Visual Studio, or is it one of those cross-compilers like MingGW that compiles code originally written for Linux so it can be executed in Windows?
Comment: Generally all release builds are cross compiled from Linux, so you might struggle to find reliable material on doing so (it might even be impossible, I don't know).
Answer: With windows 10 you can now run linux directly on windows with the Windows Subsystem for Linux

or is it one of those cross-compilers like MingGW that compiles code originally written for Linux so it can be executed in Windows?

There is some option to build bitcoin core without MingGW by using cygwin, msys2 or Visual Studio
Here is a complete guide: https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md
Answer: In the past, the standard method of building for Windows has been to use MinGW. Either have MinGW on Windows and compile from within it (may be more difficult) or cross compile it from a Linux environment.
However, fairly recently, support for using MSVC has been added. Although the official binaries do not use MSVC, you can self compile using it. We even have CI that makes sure that everything builds under MSVC.
Instructions and the necessary project files can be found at https://github.com/bitcoin/bitcoin/tree/master/build_msvc


Why am I getting a "lens not attached" message on my Nikon camera?

Question: I have a Nikon D3100 with the Nikkor 18-55mm lens. Whenever I attach the lens and turn the camera on, its simply saying "lens not attached". The only time it will take a picture is in manual mode and its a self timed picture. How can I make my camera work?
Answer: You will get this message if the lens barrel is locked; push the lock/unlock button on the lens.  Then extend the lens a bit, and that might take care of the problem---at least it did for me!
Answer: Try cleaning the contacts and reattaching the lens.  If that doesn't work, try a different lens to determine if the lens or the body is the cause of the problem.  Send whichever part is broken to Nikon for repair.


Why did the cops shoot Danny even though he stopped pointing the gun at them?

Question: I recently saw a movie from 1984 called Teachers, with Ralph Malchio, Crispin Glover and Morgan Freeman. The character in the movie, a 16 year old stoner named Danny who had schizophrenia, anxiety, depression, and kleptomania disorder, pulled the gun he stole out of the locker during the drug search. The cops told him to drop it, but he was being all anxious and was just pointing the gun in the air and at the locker.  The cops shot him anyway. Why did the cops shoot him even though he wasn't planning on using the gun?
Answer: I just re-watched the scene, and yes, Danny is waving the gun around while the police officer is telling him to put it down.  He starts like he might be putting it down, but then, right before the police officer shoots, Danny jerks the gun up, looking like he might be firing.  The police officer had to protect himself and the others in the hall.
When you're a police officer faced with someone holding a gun, you sometimes only have a fraction of a second to make a life and death decision.  He didn't know what was going through Danny's mind.  He most likely didn't know him at all, just that he had a gun and wouldn't put it down.


How do I drive 14.3Mhz clock input from 10MHz?

Question: I intend to use an IC which requires 14.3MHz clock input, but want to drive it from a stable 10MHz source - derived from GPS. How do I turn the 10MHz clock into the 14.3MHz that the IC requires?
Comment: What IC are you intending to use, and why does the frequency have to be exactly 14.3MHz?
Answer: What you need is a PLL, a phase-locked loop. It works by comparing one oscillator that you can control, with a reference oscillator. The trick is that it is easy to divide the frequency of an oscillator using a digital counter, so what you do here is to divide the 14.3 MHz oscillator by 143, the 10.0 MHz reference by 100, and then use the output from this comparison to make sure that the 14.3 source is running at an exact relation to the stable 10 MHz reference.
There are numerous circuits that can do all of this in one package, sometimes even including a reference oscillator. It is very common having to synthesize frequencies from a stable oscillator, so these are not unusual.
Comment: @DoktorJ Obviously you have to add components. The question is about generating a 14.3 MHz _signal_ from a 10 MHz source. A PLL chip will do this and the VCO required to generate the derived clock is often integrated on-chip so you don't need a separate IC for that.
Comment: I'm not sure how this is a valid answer. It seems to be assuming that the asker *has* a 14.3MHz clock source (or a second oscillator of any sort) -- which is what the question is about: how to *get* a 14.3MHz clock when you *only* have a 10MHz source.
Answer: It is possible to change the order of multiplications and divisons to avoid frequencies above \$100~\text{MHz}\$. If you want a pretty square wave, the last step should be a divison by \$2\$.
\begin{align*}\frac{10~\text{MHz}}{2} &= 5~\text{MHz} \\
5~\text{MHz} \cdot 9 &= 45~\text{MHz} \\
\frac{45~\text{MHz}}{11} &= 4.090909~\text{MHz} \\
4.090909~\text{MHz}  \cdot 7 &= 28.636363~\text{MHz} \\
\frac{28.636363~\text{MHz}}{2} &= 14.3181818~\text{MHz}\end{align*}
Comment: This answer should be part of your other answer.  You can edit it in, then delete this one.  It's sometimes appropriate to provide two different answers on one question, but this one is just a further extension of the same answer.  You can use `---` to make a horizontal line to separate sections of a longer answer.
Comment: This multiplication could be done without PLLs if you were more concerned with jitter than cost and size .If you did more math you may be able to hetrodyne and do things in fewer steps.
Answer: If you want 14.31818181818 MHz from a source of 10 MHz, it is difficult. The 14.31818 MHz is the american TV color burst frequency, the precise value is 315/22 MHz. You may divide 10 MHz by 2, multiply by 9 and by 7 to get 315 MHz. Then you divide by 22 to get the frequency you want. May be more than one PLL is necessary to do that. Another way is to divide the 10 MHz by 4 and multiply by 9 and 7 and finally divide by 11.
Of course it is theoretically possible to multiply by 63 and then divide by 44. But this requires a very fast PLL oscillator for 630 MHz and also a fast frequency divider. I suggest to divide by 22 first, then multiply with 63 and finally divide by 2. But for a low phase jitter, separate multiplications by 9 and 7 may be better.
Comment: Or just multiply by 63 and divide by 44.
Comment: Why are you giving two answers? And why would an Australian need an American color burst frequency? :)
Comment: My head spins...
Comment: "Of course it is theoretically possible to multiply by 63 and then divide by 44. But this requires a very fast PLL oscillator for 630 MHz and also a fast frequency divider." It's more than theoretically possible to do this in a single PLL stage. For example the IDT versaclock 5 has a VCO frequency range of 2500 MHz to 2900 MHz. So you could multiply by 252 and divide by 176
Answer: What sort of chip are you using that has that requirement, and what would be the allowable jitter?  If you could live with a large amount of jitter, one approach would be to use a device that turns both rising and falling edges into pulses (effectively doubling 10MHz to 20Mhz) and then discards 25 pulses out of every 88, or you could use a 25MHz or faster clock to drive a CPLD or FPGA which behaves similarly but uses the 10MHz reference to adjust how many pulses it needs to skip.  Both approaches would have considerable jitter, but
depending upon what is being done with the 14.3818Mhz clock that might be acceptable.  If using it for NTSC chroma generation, the effects of jitter might be minimized if the frequency were chosen so that alternate frames would have roughly alternating jitter.
Comment: Are you guys reading in some secret place I can't get to, or why do you assume that the question asks about 14.3818 instead of 14.3?
Comment: @pipe: In the US, crystals with a 3.5797545Mhz frequency are extremely common.  They were mass-produced for color television sets, their ubiquity has made them cheap, and their cheapness has inspired many devices that could use an arbitrary frequency to pick that one.  A number of other devices need to be able to work with things that use that frequency, but need to have several clocks for each 1/35797545sec event in the other device, so a frequency four times that amount is also popular.  I've seen the frequency written as 14.3Mhz more often than 14.4, and I can't think of any other...
Comment: ...frequency I've seen used which is closer to 14.3Mhz.
Comment: I guess.. I just assumed that someone who thinks that a 10 MHz reference oscillator is important, would actually write out the exact frequency he needs. :)
Answer: Although it is possible to "derive" 14.3mHz from a 10mHz oscillator, as shown in the other answers, you don't have to.  A simpler solution, is to add a 14.3mHz crystal oscillator. The size, volume, and cost of this solution is comparable to the other solutions.
Comment: Come on, the OP literally writes: "but want to drive it from a stable 10MHz source". How can you interpret that as anything else? There are many use cases for something like that, 10 MHz is a common clock standard for labs and studios where you need all local clocks to be synchronized to a master clock.
Comment: He obviously wants to keep it synchronized to the GPS reference, otherwise the question does not make any sense.
Comment: @pipe:  No, it is not obvious.  I can not read the OP's mind, so I am offering an answer to the simplest interpretation of his question.


Unable to get the approver name and approval date for the document in document library

Question: my document library is using default content approval workflow. So when the document gets approved, I am able to view the approval status , but can't see the Name of the person who approved the document and the approval date as well. I thought After the document is approved I will run a SPD workflow to update the approval date and name of the approver in two custom field, but this automatically set the document status to 'Draft' again. So, please help me to achieve this.
Thanks in advance.
Comment: Are you using SharePoint Workflow 2010 or 2013 ? Have you tried run this workflow under elevated privileges ? Under elevated privileges it shouldn't create new minor versions...
Comment: The default Approval workflow is SP2010 type
Answer: You may be able to edit the workflow so that it makes the desired changes to the list item before setting the Approval status. Here I assume you're using the "Approval - SharePoint 2010" workflow. I have not tested this so YMMV.
You can get the name of the person who completed the Approval task in the "When a task completes" step of the "Single Task Behaviors".
You can see in the second screen shot that the Approver's name is in the <code>[%CurrentTask:AssignedTo%]</code> variable. Assign that to another local variable so you can retrieve it later, in the task process completion phase of the WF

...Then open the "overall task behavior" for editing, then go to the "When the Task Process Completes" Step. Here you can see the action that sets the Approval of the list item. Try adding a "Set Field in Current Item" action just above that to set the Approver field to the same variable you set in the Single Task Completion step before.


Reliable food source?

Question: I cannot survive more than 5 days without starving due to a lack of food. Berries I find do not grow back fast enough, and I don't have rabbits near the usual spot for my base.
What is the best way to make a reliable food source for a base?
Answer: Well, maybe the usual spot for your base is in the wrong place then. If you simply can't reach food from there, find a place where you can.
Rabbits are pretty good early on. Berries are good, as you mentioned, but aren't going to be enough on their own. Forage for them early on, but later you should dig them up and move them to your base.
If you see a bird, move towards it to scare it off -- they drop seeds at a decent rate. If you are still in a starvation situation, eat the seeds, otherwise you can combine them with manure to start farming.
Monster meat is edible, but it does damage. Early on, if you are having trouble getting enough food, keep in mind that you can eat monster meat at full health followed by a couple berries. Over the next couple days, regular eating should heal you up enough to recover to where you can do this again if need be.
Getting manure for farms will help, but since it still takes a seed and farms grow pretty slowly, this probably won't solve all your problems.
Tallbird eggs are amazing, if you can find them.
All food should be cooked before you eat it -- it will go a lot further this way.
Throughout the game, but especially early on, keep in mind you will need to rely on many types of food source. Always keep an eye on your map for berry bushes. Always approach birds for seeds. Always grab carrots. If you see a rabbit straying from his hole, hunt it. Unless you happen upon several tallbird nests within a comfortable walk of each other, you aren't going to find a single stable food source.
Comment: Although if you get your hands on a crockpot, go ahead throw monster meat in there. It removes the damage factor and (I believe) increases the hunger gained per monster meat you add to the recipe.
Comment: Do you know how many days it takes before the berries grow back? Also, what's the best way to find tallbird eggs and beefalos, just luck?
Comment: I believe it's three days for berry bushes. After you harvest them a certain number of times (I think 5?) you have to fertilize them with manure to get them going again. I've also had to fertilize them after moving them. Tallbird eggs are found in the stone fields, near tallbirds, but other than that it is just luck. Check your map often, as they show up on the map from more than a screen away. Beefalos have their own savannah biome, but finding the biome or finding them in the biome is simply a matter of exploring until you find them.
Comment: That must be my problem is they don't grow back after I move them. Or I'm not even surviving long enough... Will the tallbirds attack me if I steal their eggs?
Comment: Berry bushes that need fertilized look different. Pointier. I think when you click to examine them Wilson will tell you he should fertilize them, rather than saying "Maybe they'll grow back". Tallbirds will attack if you steal the eggs -- all tallbirds nearby will. They are easy to outrun and seemingly forget you after you run away 2-3 screens, so it isn't terribly dangerous.
Comment: I didn't think to click on them, that makes sense.
Comment: You shouldn't cook monster meat, the amount of health you lose skyrockets and the food value barely changes.
Answer: Summer (farms)
Set up near a herd of Beefalo.  They'll produce Manure.  Use it to make Improved Farms, which you can use to grow crops.  This will get you through summer.
Winter (rabbits)
Crops don't grow in the winter.  But if you built near beefalo, you're near grasslands with a plethora of rabbit holes.  Create traps (you'll need lots of grass and some twigs), and put them on top of the rabbit holes.  You can catch one or two rabbits per hole per day this way.
Winter advanced (jerky)
Winter's reduced sunlight leads to reduced sanity.  To combat this, make Drying Racks.  You can dry rabbit meat on the racks, producing Small Jerky in one day.  Each Small Jerky consumed gives you +10 sanity, in addition to hunger and health benefits.  You'll need 6 small jerky per day to maintain your hunger level.  So build at least six drying racks.  If you build more, you won't have to go rabbit-collecting every single day.
Dragonpie: The food for all seasons
The single best long-term food in the game, Dragonpie can be made in the crockpot.  For dragonpie success, you'll need a bird cage, a bird trap, a lot of farms (say, 8 or 10), and a crock pot.
Set out your bird trap and catch a bird.  (Bait the trap with seeds to catch a bird faster.)  Imprison your captured bird in the bird cage.
Now grow crops with regular seeds.  You'll get an assortment of fruits and vegetables.  Feed any dragon fruits you get to the bird.  For each dragon fruit, he'll give you back 1 or 2 dragon fruit seeds, and sometimes a normal seed as well.  Now plant all of those dragon fruit seeds, and fill the rest of the farms with regular seeds.  Keep feeding the bird every dragon fruit you get until you have enough dragon fruit seeds to plant a full crop and plenty left over.  (You can speed up this process by applying manure; two manure cause a planted crop to grow to maturity instantly.)
Now use your dragon fruits to make dragonpie.  Put one dragon fruit and three twigs in a crockpot.  Cook.  In a minute or so, you'll have a food that gives you 75 hunger, 40 health, and 5 sanity; and it lasts for 15 days before it spoils.  You only need to eat one dragonpie per day to keep your hunger at a constant level.  So if you make ten, you have a ten-day supply of food.  In this way, you can even mostly avoid collecting rabbits in the winter.  And dragonpies stack up to 40, so you can carry in one slot far more than you can even eat before they spoil.
Other crock pot foods can give you more hunger or more health.  For instance, meaty stew gives you +150 hunger, two days' worth, while waffles give you +60 health.  But dragonpie gives you the best combination of hunger, health, slow spoilage, and easy availability of ingredients.
Answer: Make your base by a field of bunny holes, and make a spear, and some traps. Bring berry bushes back to your base. I'm on day 32 living with the bunnies. Make a farm of berry bushes and plant stuff in the manure and seed farms.
Works great for me! Good luck, and remember, in future updates this game will only get better.
Comment: @user28015 Bunnies are evil. Almost as evil as squirrels. Don't feel bad.
Comment: Since you have to literally murder the bunnies before you can eat them I don't want to anymore :D
Answer: I just reached day 20 (a day before winter starts) and I have a small berry farm and I have 2 crock pots. I have only 2 bunny traps but I only use them if I run out of fruit/vegetables, I have 3 advanced farming units and altogether it makes an almost perfect food source because they all relate to the crock pot recipes. I think that having crock pots is the best thing you could do for food, there is almost no completely reliable sources for food so make sure to have back-ups. Also for your base make it reasonably close to pig villages, beefalos and bunny holes.
Answer: I have found actually a very good way to sty alive and get food. i built a nice little base in the middle of a swampy area, I'm on day 22 playing as we speak, and in the swamp of course there are a TON TON TON of frogs. and they attack you sure, but if you build a base perimeter big enough they leave you alone. Anyhow, bunny traps can catch frogs that get close to them. So, I just make a bunch of traps, and lay them anywhere in the froggy hopping area, and i am bound to get food. when they get caught and you pick up the trap you automatically get frog legs, which is a pretty good meal statistically and like i said, there are SO many frogs around the ponds it's a crazy good way to get food, just don't put too many traps out at once and maybe, 4 or 5 legs in a day will keep you full for that day and halfway into the next, otherwise if you put to many out and catch too many they won't spawn as fast as you can catch them and then you will only have 1 or 2 hopping around. Also, being by ponds, Make a fishing rod! It is super easy to get food by fishing and it is a good meal as well.
Answer: Rabbits and drying racks are the key to long term success. Just put a trap right over the rabbit holes and then go about your business then come back once a day and repeat.
Answer: I personally have survived through winter on just monster meat and it is fairly easy to get going, all you need is a bird in a bird cage a spider den and a crock pot , all of which are fairly simple to obtain or find.
Now kill off or trap as many spiders as possible and get at least 4 monster meat.cook them. Feed 3 to your bird and it will give you 3 eggs (already a good deal), now put 3 eggs and one monster meat in the crockpot to get delicious meatballs, they provide a pretty good amount of hunger and about 10 health (not totally sure) and I believe a bit of sanity too,but not enough to consider as a means of sanity-gain but all in all, not bad for monster meat.
Ps. I survived an entire winter on meatballs like this, plus the bird can also be used for Dragon fruit seed trick previously stated by kyralessa.
And if your bird does not eat the monster meat just cook it, on console it only accepts cooked meat.
Answer: Beefalos and Drying racks, and honey and crock pots, emergency food should be rabbits, and bird traps (seeds are easy to come by for bait) and feeding a bird in a cage (gotta build the cage) any meat gets you an egg, great for recipes in crock pot
Answer: I have found that if you play as certain characters (such as Webber or any character who can eat monster meat without penalties) it is best to farm near by spiders but don't destroy the den, or if you play as other chacters it would be ideal to move as many berry bushes as close to your base as possible while killing pigmen every now and then to get meat... perhaps getting the fish farm mod could help a bit?
Answer: The way I'm surviving is using a crock pot, berries, and monster meat. All you need is 1 monster meat, and three berries, and you have meatballs! Another good recipe is just filling the crock pot entirely with berries to make a fist full of jam. These are fairly reliable and easy to get, hope this helps!
Comment: Why necroposting? Also this answer adds no value to the topic at all.

Reliable food source?


How can I use    within a redactor/rich-text field?

Question: We need to be able to add super and sub-text to a rich text field without having the client dive into the markup. Has anyone successfully added this as a redactor or Craft plugin?
Answer: There are keyboard shortcuts that can accomplish super and subscript.
From the Redactor changelog:

Superscript shortcut now crtl+h (high, super) instead of old ctrl+l
Subscript shortcut now crtl+l (low, sub) instead of old ctrl+h
Comment: Those definitely worked. Now I'm wondering if we can trust the client with the keyboard shortcuts! Thank you!
Answer: Check out the example over at the Redactor documentation: Add Sup and Sub Buttons - As an aside, also check out this article over at Straightupcraft.com: How to add custom Redactor toolbars to the default Rich Text field.

Save the example as a plugin file in craft/app/resources/lib/redactor/plugins, for example subsup.js (I don't know how to customize this so you can safely add custom plugins, or how to tell redactor to look for more than one place. An alternative way is to make a custom Craft plugin that add the plugin JS to the entry page).
Make a custom redactor configuration file and add it to craft/config/redactor. This is the standard.json
{
    buttons: ['html','formatting','bold','italic','unorderedlist','orderedlist','link','image','video'],
    plugins: ['fullscreen'],
    toolbarFixedBox: true
}
Add your plugin name to the plugins array:
plugins: ['fullscreen', 'subsup'],
In your field settings, under Config, select the custom config.json file.

Now, since we added the plugins file within the redactor/plugins folder, we risk it being overwritten. The best way is to add it via a plugin, but the mentioned process might be a quick way for you to add it now.
Comment: Ah ok. We are considering making a plugin, but haven't had a chance to take a stab at adding to control panel yet. This might be a good first go at it. Thanks for the tips!
Answer: Another option is a plugin I've built. Redactor Extras: https://github.com/elliotlewis/Redactor-Extras
Includes the plugin from Redactors site for Superscript and Subscript. Has other extras as well.


Why was Kurosawa the first director to shoot the sun?

Question: Akira Kurosawa is often credited as the first director to point his camera towards the sun in his film Rashomon (1950). Was this an artistic first, or was there some technical hurdle that Kurosawa was able to bypass?
Comment: My feeling is that it was a combination of the two. Think of how a celluloid camera operates, the image is (not literally) burnt onto the frame. The same way that non-digital stills cameras work. Since the sun is a HUGE ball of light (don't look directly at it, kids), there's a chance that it could overexpose the resulting frames. That's my thoughts on it, anyway (NOTE: I'M NOT A CAMERAMAN. NEITHER DO I KNOW A LOT ABOUT HOW CELLULOID FILM WORKS)
Comment: Googling around I've found that [1948 a less flammable celluloid film stock acceptable for movie producers was introduced.](http://www.filmreference.com/encyclopedia/Criticism-Ideology/Film-Stock-BASE-AND-EMULSION.html) Given that Rashomon was made just two years later, this supports the hypothesis that the fear of igniting the film might have played a role. Unfortunately I couldn't find any information about what type of film stock Rashomon was filmed on.
Comment: Given that celluloid is easily flammable, and that the focal image of the sun can be used to ignite stuff, I could also imagine that the sun was avoided before in fear of igniting the film.
Answer: From the article "Lighting and Meaning in Kurosawa's Rashomon" by Asa Fitch (1998):

The effect of pointing the camera right at the sun in this scene and in others is an innovation in cinematography. Until Rashomon was made, pointing the camera directly at the sun was unheard of. It did not occur to anyone that pointing the camera at the sun would do anything more than burn the eyes. Rashomon proved this wrong. "These days it is not uncommon to point the camera directly at the sun, but at the time Rashomon was being made it was still one of the taboos of cinematography." (Autobiography, 185)

Autobiography refers to Akira Kurosawa. Something Like an Autobiography. Trans. Audie Bock. New York: Random House, 1983.
(Upon further research) Here is a fuller quote from Kurosawa:

I had to be sure that this huge gate looked huge to the camera. And I had to figure out how to use the sun itself. This was a major concern because of the decision to use the light and shadows of the forest as the keynote of the whole film. I determined to solve the problem by actually filming the sun. These days it is not uncommon to point the camera directly at the sun, but at the time Rashomon was being made it was still one of the taboos of cinematography. It was even thought that the sun's rays shining directly into your lens would burn the film in your camera. But my cameraman, Miyagawa Kazuo, boldly defied this convention and created superb images.
Comment: It was an artistic first. There was no technical obstacle, it's just no one had done it. It was considered taboo.
Comment: "It was even thought that the sun's rays shining directly into your lens would burn the film in your camera." That's at least a *perceived* technical obstacle.
Comment: @celtschk: If the film stops moving with the shutter open, pointing the camera at the sun will likely burn the film.  With safety film, the effect would likely be limited to a scorched or melted spot, but nitrate would be another story, posing a real fire hazard to anything nearby.
Comment: This doesn't say whether it was a artistic first or he overcame a technical obstacle which is what the question wants!
Comment: I have added an additional quote to my post that perhaps makes it clearer.


Can a Buddhist mix Buddhism with other religions?

Question: Is there any authoritative sourced that a man can have more than one religion if he pleases?
Comment: None of the current answers attempt to provide an answer from "authoritative source" so I suppose they should be deleted as non-answers?
Comment: When it is matter of **Pleasure** will lead you to the **Dukkha** so it doesn't make sense to be Buddhist to cling to **Pleasure**.
Answer: It seems significant that HHDL advises us not to abandon the religion of our birth yet also encourages us to strive for realisation. This is the view that religion is a vehicle, not a destination.
All those I know who endorse more than one religion also say, equivalently, that they have no religion. It depends whether we see our religion as a proscribed set of beliefs or a set of methods and practices for transcending belief.
And then, talk to any three Christians and they will probably have three different religions, such is the game of Chinese Whispers.
Comment: I guess you're referring to this -- [Where does the Dalai Lama say '… be a better whatever you already are'?](https://buddhism.stackexchange.com/q/23879/254)
Answer: Buddhism doesn't accept false views such as those listed in DN 1.
Many religions with soul and God reinforce the self view, the view of eternalism or other false views.
As such, it is not compatible to mix other religions with Buddhism, if they have false views according to DN 1.
Comment: I don't think this answer is wrong, but I will note that many self-proclaimed Buddhists and people who have taken sole refuge in the Triple Jewel still harbor these views from time to time.
Answer: Personal conclusion::
Dhamma gives me wings, free me from blind-faith, free me from sensual-pleasing-tradition-bounds, ... enable me to be more powerful.
Religion whether it be Hinduism or buddhism or sikhism or christianism or jainism or muslim etc. binds me to blind-faith, binds me to sensual-pleasing-tradition-bounds,... makes me weak.
To quest for authoritative sources
All the suttas were composed 100s of years after buddha. So how much originality is still left, can't be claimed.
Still, you may see this pre-sect-buddhism which is considered to be original teaching, still it is also considered to be mix of vedic, jain and sramanic schools of thoughts.
Along with above, you might be interested in Mahayana, which in itself is a mixture of various thinkings, rituals, traditions, worships etc.
To get to know how people, who call themselves to be on the path of dhamma, are engaged in various practices which can be easily found in other religions also which were either developed far from dhamma-touch or before buddha or after buddha can be seen here too.
So now it's up to you whether you wish to remain within traps of religions or want to live freely under dhamma's guidance...
Still, it's the practice and right understanding through which you will be able to claim dhamma.
::::::::
To give a kick-start, you may go for Majjhima Nikaya.
My ego-satisfying-view claims that Mulpariyaya, sabbasava, dhammadayada's 2nd half, bhaybhareva, Vattha, sallekha, sammaditthi, satipatthana, are as per dhamma.
It is because my ego thinks that, "1st half of dhammadayada considers self-respect-issue(1 of the 8 worldly concerns), anangana lacks compassion, aankhankheya depicts somewhat maintain/gain-respect-issue. These might encourage some to practice more dedicatively but it will start with either greed or fear and work started for worldly concern is not a Noble path.
::::::::
Answer: Buddhism is not a religion. What Buddha revealed to the world is, how the world exists, how the things happens. And also interestingly, since the world is not a place which gives you ultimate happiness, Buddha has shows us the way to uproot the existence of this life.
So if you want to have other religion and buddhism there's no issue. But when you realise the core of the buddhism, you start to move away from all the religions as those are useless to the ultimate happiness or the Nirvana
Comment: Comments are not for extended discussion; this conversation has been [moved to chat](https://chat.stackexchange.com/rooms/103417/discussion-on-answer-by-isuru-can-a-buddhist-mix-buddhism-with-other-religions).
Answer: Whether Buddhism is called a religion or not, the thing to consider is do the two systems of thought contradict each other? If there is contradiction then one cannot follow at least one of the religions. For example, Buddhism and Christianity contradict each other so you could not be a Buddhist-Christian. But you may be able to be a Buddhist-Quaker (in the liberal since) depending on what you took from Quakerism, since they have no creed. There are plenty of examples of how Buddhism has absorbed ideas from different countries. However, there are no texts which grant or deny the possibility of having multiple religions. I think it is just not probable since Buddhism is so much different from what we normally call religions.
Comment: @CFugate would, can, you identify or name a form or tradition or school of Buddhism which is "in the liberal sense", in the same way that you mentioned specifically Quakerism? Or is that unnecessary?
Comment: Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/103733/discussion-between-chrisw-and-peterj).
Comment: By "Christianity" I meant orthodox, Nicaean creed. In mentioning liberal Quakers, I was thinking about Jodo Buddhism, that is true. But also Zen. The point is that it is possible to mix religions. I don't think Buddha would disapprove given how he reinterpreted various Hindu concepts, and given how Mahayana has evolved. But it is not an easy thing.


What was the length of the solar day 73 million years ago?

Question: How could this be estimated, or how accurately could it be extrapolated from a present-day measurement of the Earth's spin-down rate?
Comment: @Nosrati the question needs to change then. Or actually, just remove all the text and leave the question title!
Comment: I have edited the question to make it on-topic.
Comment: Hint: Calculate the number of centuries in 73 million years (73E6/100 = 73E4), multiply by -0.0016 s/century, and add that value to the current length of day. The answer will be meaningless since the value of dP may change with time and has only been measured for the last 2000 years. That is not long enough to extrapolate back 73 million years.
Comment: @RobJeffries Right, but look at the following answer. Such questions might have some significant historical or details matters.
Comment: @RobJeffries which enables me to retract my close vote :)
Answer: There is evidence from Silurian coral fossils that, 430 My ago, there were 420 daily rotations in each annual season, compared to 365 days per year now.  If we assume that the year (fixed by mean Earth-Sun distance and Kepler's Laws) hasn't changed much in that interval, but that instead the day has gotten longer due to the Earth-Moon tidal interaction, that means that 430 My ago there were about 20.9 hours in each day.
Linear extrapolation in between says that only about one-sixth of that change has taken place in the past 73 My, which would give a day length of about 23.5 hours.
In a comment, JohnHoltz cautiously extrapolates your currently-known slowing of 0.0016 seconds/century over that interval, which gives an ancient day length of closer to 23.7 hours.
JohnHoltz's estimate is probably better. Tidal slowing is occurring as the mean distance between the Earth and Moon increases, which makes all tidal effects (including tidal slowing) weaker. So a linear extrapolation from today's well-measured rate of rotational slowing is probably more accurate for recent times than a linear extrapolation over a much longer period that probably includes more rapid slowing in the past. It inspires confidence that the two methods come out close to each other, though.
Answer: $~\quad~$ A quick Google search after daylength dinosaurs reveals the following relevant results :

Period : Upper Cretaceous – Age (years) : 70 million – Days per
  year : 370 – Hours per day : 23.7 — NASA

If we say the "time of the dinosaurs" started about 200 million years ago, then the years has lengthened by 1.2 million seconds in that time - or just under an hour a day less than today. To get all the way to a day of 17 hours, you need to go back a little before the dinosaurs - about 2 billion years. — Physics Stack Exchange

This means, for instance, that 100m years ago, when dinosaurs ruled Earth, a day was nearer 23 than 24 hours. — The Economist

Fossil evidence informs us about how the day-length has changed over geological time. When the dinosaurs first walked the Earth there were about 375 days in a year, 10 more than at present, each day more than 30 minutes shorter than now. — Independent

For Jurassic-era stegosauruses 200 million years ago, the day was perhaps 23 hours long and each year had about 385 days. Two hundred million years from now, the daily dramas for whatever we evolve into will unfold during 25-hour days and 335-day years. — The Washington Post

Meyers and a colleague recently showed that 1.4 billion years ago, a single "day" lasted only about 18 hours. Back in the Proterozoic, a few million years after multicellular life appeared on the planet, the moon was about 211,825 miles away from Earth—about 21,000 miles closer than it is today. This, they figured out, compressed the length of a day down to 18.68 hours. By the time land plants evolved about 470 million years ago, the days had stretched to 21.46 hours. And when the dinosaurs showed up 225 million years ago, the days lasted 22.68 hours. The roughly 24-hour day we have now was almost in place as the first ice sheets bloomed near the Northern Hemisphere's poles about 3.5 million years ago. — National Geographic

So would the day length during the age of the dinosaurs have been 21 hours? "The dinosaurs were around 100 million years ago, which at the current rate [ of day lengthening ] adds up to 2000 seconds, which is less than an hour." Geological evidence for increasing day length can help us pin this time down more accurately. Tidal records laid down in ancient estuaries can show daily, monthly and seasonal cycles in alternating deposits of sand and silt. They indicate that 620 million years ago the day was 21 hours, says Mardling. Since the dinosaurs lived during the Mesozoic era, from 250 million years ago to 65 million years ago, day length would have been longer than 21 hours and probably closer to 23 hours. — ABC Science


Chernoff-type Inequality for pair-wise independent random variables

Question: Chernoff-type inequalities are used to show that the probability that a sum of independent random variables deviates significantly from its expected value is exponentially small in the expected value and the deviation. Is there a Chernoff-type inequality for any sum of pairwise independent random variables? In other words, is there a result that shows the following: the probability that a sum of pairwise independent random variables deviates from its expected value is exponentially small in the expected value and the deviation?
Answer: Pairwise independence is not enough for a Chernoff-type bound on the expectation.
This follows from the fact that there are $poly(n)$-size sample spaces on $n$ 0-1 random variables, where all the variables are pairwise independent, and each is variable is uniform (it is $1$ with probability $1/2$). So the expected value of their sum is $n/2$. But because there are only $poly(n)$ possible events in the sample space, even the probability that a sum is exactly a particular value $v$ is at least $1/poly(n)$ (hence, it can't be at most $1/exp(n)$).
For a reference to this sample space construction, see pages 11-12 in this survey.
Comment: I mean exactly what the question asks...
Comment: I guess it depends on what you mean by a 'chernoff-type' bound ;)
Comment: The current link in the post is to a postscript file that won't render for me.  Here's a current link to a PDF: https://www.math.ias.edu/csdm/files/05-06/mluby_pairwise_independence_and_derandomization.pdf.  For the record their Claim 2.4 is the following. "_Fix integer $\ell>0$.  The distribution on sample points is $a\in_R\{0,1\}^\ell$. For all $i\in\{0,1\}^\ell\setminus\{0^\ell\}$, define $X_i(a)=\big(\sum_{j=1}^\ell a_j i_j\big) \bmod 2$.  Then random variables $X_1, X_2, \ldots, X_{2^{\ell}-1}$ are uniformly distributed and pairwise independent."_
Comment: (continued) Now taking $n=2^\ell-1$, this is a size-$(n+1)$ sample space on $n$ 0-1 random variables.  Consider the sum $\sum_{i=1}^{n} X_i$.  It has expectation $n/2$.  Does it obey a Chernoff-type bound?  This sum is the number of subsets $S\subseteq\{1,2,\ldots,\ell\}$ such that the sum of the corresponding terms in $a$ (that is, $\sum_{j\in S} a_j$) is odd.  As long as $a \ne 0^\ell$, the sum is $2^{\ell-1} = n/2+1/2$.  But in the case that $a = 0^\ell$, the sum is zero.  The latter case happens with probability $1/2^\ell = 1/n$, not exponentially small in $n$.  No Chernoff bound holds.
Answer: If you have pairwise independence, then you can bound the variance of the sum, and thus get a concentration bound using Chebyshev's inequality.
Comment: But this isn't "Chernoff-type", no?
Comment: I thought the person who asked the question might be interested in whatever concentration bounds they can get.
Answer: There are all kinds of results of this kind in the Dubhashi-Panconesi book. One standard reference of this kind is the 1993 work by Schmidt, Siegel and Srinivasan titled (appropriately enough) "Chernoff-Hoeffding bounds for applications with limited independence"


Is there Markdown to create tables?

Question: It seems like a lot of people try to display tables in Stack Overflow questions, but don't do a very good job. Is there Markdown syntax that supports creating a proper table?
Comment: @Michael mmm, arguably, people don't mangle tables because they don't use them in the first case because the functionality isn't there. It *would* come in handy sometimes to have a possibility to present tabular data, although I don't know how to implement it exactly (Converting the way I show in my answer into a real `` might be one possibility)
Comment: @Michael Mrozek - I've run across [performance comparisons](http://stackoverflow.com/questions/4562257/what-is-the-fastest-way-to-check-if-a-number-is-a-positive-natural-number-in-r/4563486#4563486) or feature comparisons that are munged into the code formatting. It would be nice to see them (and the SQL posts) formatted more nicely.
Comment: Why is this status-declined? I don't see any reason why it shouldn't be implemented.
Comment: Here I am, in the year 2016 and still no table markdown... I guess stackexchange just doesn't care about table formatting
Comment: GitHub Flavored Markdown supports them: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#tables
Comment: It's completely unacceptable that we have to abuse code blocks to fake tables to provide example data for our SQL questions.  Why hasn't this been implemented years ago?
Comment: I think GitHub Flavored Markdown is more appropriate for a programming site like SO. It also supports crreating tables
Comment: This is how they solve tables on MediaWiki: http://www.mediawiki.org/wiki/Help:Tables At first it looks a bit complicated, but if you carefully look at it, it isn't too bad at all. It saves **a lot** of typing effort in comparison with the (unsupported) html markup and manual formtting in code blocks. Just my €0.02
Comment: Found through @KennyTM's link, another non-SQL table use: [truth tables](http://stackoverflow.com/questions/1134366/is-there-a-way-to-directly-link-requirements-to-code-units-is-it-a-stupid-idea-t/1135055#1135055)
Comment: @Michael Mrozek - Are you kidding? I see multiple examples of mangled tables every day.
Comment: @MichaelMrozek: "Do you have any example posts of people mangling tables?"  http://electronics.stackexchange.com/a/42266/142
Comment: @MichaelMrozek: [Another example where tables would have been useful](http://stackoverflow.com/a/2293804/135078). I'm trying to number the sections of a regular expression to make it easier to illustrate what each is doing.  Simple tables would have made the horizontal alignment much easier.
Comment: @Pekka Sure, I'm not against it, but the OP said "It seems like a lot of people try to display tables in SO questions but don't do a very good job", which I've not really seen
Comment: http://meta.stackexchange.com/questions/16356/why-cant-table-markup-elements-be-used
Comment: Here is another example: http://stackapps.com/questions/288/list-of-api-client-libraries-grouped-by-programming-language
Comment: Relevant update: [Stack Exchange is rolling out native table support](https://meta.stackexchange.com/q/356997/335251). It goes into testing today on MSE and on the DBA Meta, then rolls out to DBA.SE itself a week later, and will be available network-wide a week after that. It uses "GitHub-flavored Markdown" table syntax (since CommonMark doesn't include a specification for tables at the moment).
Comment: @MichaelMrozek. It also happens on EL&U with users [presenting data from corpora in tabular form](http://meta.english.stackexchange.com/a/537/1696).
Comment: Why not use HTML? Is the table tag not supported? I hope it is.
Comment: Images![](https://meta.stackexchange.com)
Comment: Um, can we make this [tag:status-completed] now?
Comment: Other than SQL posts, how often does this actually happen? Do you have any example posts of people mangling tables?
Comment: Markdown, no. But Johannes posted a nice example in [Please add support for tables in answers and questions](http://meta.stackexchange.com/questions/5255/please-add-support-for-tables-in-answers-and-questions), using Google Chart Tools. That needs some manual URL-encoding though, to use it in Markdown. (Johannes simply posted a screenshot there; don't be fooled! `;-)`)
Comment: Here's an example of an answer that needs table formatting: http://apple.stackexchange.com/a/55729/7833
Comment: Here's how to generate ASCII tables from Python data structures: http://stackoverflow.com/questions/5909873/python-pretty-printing-ascii-tables
Comment: Doesn't work on https://stackedit.io/editor, the second answer does
Comment: [Here's another example](http://stackoverflow.com/a/43939741/125507)
Comment: [Here's a pretty ASCII table](https://stackoverflow.com/a/81609/819417), after a link and screenshot of a broken Google Docs spreadsheet.
Comment: This answer would be improved by an editable table: https://stackoverflow.com/a/48940855/125507
Comment: FWIW I put a +50 bounty on this question to try to see if anything had changed, but there was no response, so I put my points on https://meta.stackexchange.com/a/290841/234615, which mentioned some progress. Original bounty notes: "@Shog9 marked this as status-declined in April 2014 - see https://meta.stackexchange.com/a/228464/234615. I'd like to re-open this feature request and see if things might have changed. I'd vote for GFM or CommonMark tables." Here's hoping they continue work on this feature!
Comment: [Just another example where it would've been great](https://codegolf.meta.stackexchange.com/a/17588/80756)
Answer: --------------------------------------------------
| No | Sadly        | There is none              |
--------------------------------------------------
| Except this, which is a poor alternative       |
--------------------------------------------------
| There really      | should be one              |
--------------------------------------------------

And with the new mobile theme, code blocks no longer require horizontal scrolling, but get line wrapping instead. That makes even small tables like the example above look bad, like:

Comment: But see the wonderful [Format Text as Table](http://www.sensefulsolutions.com/2010/10/format-text-as-table.html) web app to create ASCII-art tables easily.
Comment: [Unicode box-drawing](http://en.wikipedia.org/wiki/Box-drawing_characters) would improve this, [kind of](http://i.stack.imgur.com/nN6OR.png) ;-) ([Markdown source](http://meta.stackexchange.com/questions/3122/formatting-sandbox/103234#103234))
Comment: @Rory, I've just tested on both Android 2.3.x and 4.x, and both [support monospace just fine](http://i.stack.imgur.com/zj7Jx.png).
Comment: Indeed on android there isn't a monospace font so it's even worse :(
Comment: @iONinja and now the address is [here](https://senseful.github.io/text-table/)
Comment: I just love coming back to this post and copy the table whenever I need while posting on SO :)
Comment: I found this tool to be awesome for formatting utf-8 tables: https://www.tablesgenerator.com/text_tables. Example: https://stackoverflow.com/a/44103020/5091346
Comment: And, @nhahtdh, somehow the Unicode box drawing needs slightly more space too, making even the small tables from my examples [break on a Nexus S](http://i.stack.imgur.com/xMBuZ.png) (in portrait).
Comment: @JayLevitt The page that you have linked has moved to [this address](https://senseful.github.io/web-tools/text-table/). Please consider editing your comment accordingly.
Comment: @Arjan was going on Jeff's answer [here](http://meta.stackexchange.com/a/67462/176080) but you're right, it's now working on my android too xD
Comment: @Arjan: The Unicode box drawing looks bad on FF12/Windows. The ASCII one looks nice, though.
Comment: (Hmm, mobile no longer uses a fixed width font in Chrome on my Android 4.2.2; the stock browser works just fine, and so do Chrome and Mobile Safari on iOS. Need to investigate, some day...)
Comment: This works on https://stackedit.io/editor, the accepted answer does not
Answer: It depends which Markdown library Stack Overflow is using, but this works on Reddit. Maybe they should share notes.
| Left align | Right align | Center align |
|:-----------|------------:|:------------:|
| This       |        This |     This     |
| column     |      column |    column    |
| will       |        will |     will     |
| be         |          be |      be      |
| left       |       right |    center    |
| aligned    |     aligned |    aligned   |

Comment: That looks like the [MultiMarkdown](https://github.com/fletcher/MultiMarkdown/wiki/MultiMarkdown-Syntax-Guide) implementation of Markdown.
Comment: Yup!  And that works in github flavored markdown also: [Markdown Cheatsheet · adam-p/markdown-here Wiki](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#wiki-tables)
Comment: This format now works properly given [the new tables feature](https://meta.stackexchange.com/questions/356997/new-feature-table-support)!
Comment: reST's simple table is nice: http://docutils.sourceforge.net/docs/user/rst/quickref.html#tables but SE should probably stick with some markdown implementation
Answer: Elsewhere on Meta, I once learned about the nice Senseful Solutions Format Text as a Table tool.The same facility is now available at the ASCII Table Generator. Of course:

It's not at all accessible, so not a replacement for true tables.
It's not Markdown.
It's an extra step.
The resulting ASCII tables don't work well on mobile, if too wide, as the mobile theme wraps code blocks instead of showing a scroll bar.

Still, just in case it helps some, it supports different formats:
+------------+---------+
|    Type    |  MySQL  |
+------------+---------+
| Header     | Top Row |
| Auto Align | On      |
+------------+---------+

+------------+---------+
| Type       | MySQL   |
| Header     | None    |
| Auto Align | On      |
+------------+---------+

+---+------------+-------------+
|   |     A      |      B      |
+---+------------+-------------+
| 1 | Type       | MySQL       |
| 2 | Header     | Spreadsheet |
| 3 | Auto Align | On          |
+---+------------+-------------+

╔═══╦════════════╦═════════════╗
║   ║ A          ║ B           ║
╠═══╬════════════╬═════════════╣
║ 1 ║ Type       ║ Unicode Art ║
║ 2 ║ Header     ║ Spreadsheet ║
║ 3 ║ Auto Align ║ Off         ║
╚═══╩════════════╩═════════════╝

Manually creating Unicode box-drawing gives some more control and rounded corners:
╭───╥────────────┬─────────────╮
│   ║     1      │     2       │
╞═══╬════════════╪═════════════╡
│ A ║ Type       │ Manual      │
│ B ║ Header     │ Anything    │
│ C ║      Align │        Sure │
└───╨────────────┴─────────────┘

Still quite ugly, I'd say, if only because of the gray background. And the Unicode characters render differently on different browsers/devices:
Comment: @Asad, if that edit was on purpose, then it's time to check your fonts. Your edit made the last example render badly in all browsers on my Mac, and I even started Internet Explorer [to see an even uglier result](http://i.stack.imgur.com/pSgfX.png) than apparently it [normally shows](http://i.stack.imgur.com/NStNq.png) (in Parallels on a Mac). Also, when *counting* the number of characters that make up a column, your edit didn't make any sense to me.
Comment: @OldCheckmark maybe it could be wrapped in a span or a div or something telling the text to `nowrap`?
Comment: @Arjan huh? I understand there is wrapping. I'm saying wrap it in an HTML element with `style="white-space:nowrap;"` which would disable the wrapping. It would make it be pushed off the page and you would just scroll right to see it.
Comment: Hehe, sorry, I meant OldCheckmark, not you @Cole... Reposting and cleaning up. (Somehow your comment sneaked in between my edit and my first comment!)
Comment: That Unicode box-drawing looks fine on my Mac, but [not so much in Internet Explorer](http://i.stack.imgur.com/NStNq.png) (in Parallels on that Mac). And all will look bad on mobile, [due to wrapping instead of scrolling of code blocks](http://i.stack.imgur.com/xMBuZ.png). So: don't waste your time on that, @OldCheckmark.
Comment: As an aside, @Cole, the wrapping on mobile [was introduced on purpose, as scrolling was not reliable](http://meta.stackexchange.com/questions/98776/stack-exchange-mobile-launched/103249#103249).
Comment: @Arjan I'm running Win7 on the office computer, and the original top appeared too far to the left, yet for some reason looks okay now at my home computer (also Win7). Sorry about that.
Comment: Whatever font Chrome latest on Windows is using for those box characters [makes the last one look *terrible*](http://i.stack.imgur.com/dhbJa.png). The edit (now rolled back) didn't help; it doesn't line up either way.
Comment: @CodyGray That's exactly what I saw. After editing it looked slightly better to me, though still disjointed. No idea what why that would happen, especially since the fonts are supposed to be monospaced.
Comment: Also see [a mobile version](http://i.stack.imgur.com/xMBuZ.png) where *some* characters at the end of the lines need wrapping, but others don't, @Asad. Weird for sure!
Comment: An easier way of formatting your table as a code block to preserve formatting is to surround it with `\`\`\`` blocks
Comment: https://senseful.github.io/text-table/
Answer: You can do this:
Header 1Header 2Header 3
Cell 1      Cell 2      Cell 3
Cell 3      Cell 4      Cell 5
Cell 6      Cell 7      Cell 8
Also:
header1header2header3
cell-----1cell-----2cell-----3
cell-----4cell-----5cell-----6
And the obvious third:
header1header2header3
cell-----1cell------2cell-----3
cell-----4cell------5cell-----6
OK, I'm only serious about the first one. Though if you check the code, you need some nifty  s :/
Comment: -1, encouraging people to abuse the `[tag:]` formatting option is only going to lead to problems.
Comment: @gung: "OK, I'm only serious about the first one."
Comment: Workaround is now broken :)
Comment: Abusing the `` element is not so great either for semantic markup or accessibility.
Comment: On mobile, both the ` ` magic and wrapping for small screens [would also be a problem](http://i.stack.imgur.com/C6JtM.png).
Comment: @JackDouglas below [proposed an even better solution](http://meta.stackexchange.com/a/231387/137977) by combining `kbd` with `code` which eliminates the need for non-breaking spaces that *can* only partially align individual cells. And even if it looks ok on your screen it may not look the same on a different OS. Combining this with proportional font of `code` makes things reliable.
Comment: @Arjan, This is way way better than an image because **it is text**. Would you be able to Ctrl-F an image?
Comment: Different proportional fonts are different. Nice try, but the results can be inconsistent.
Comment: How? Please include exact steps
Comment: you ARE really nafty;)
Comment: if you enclose the text inside the KBD tag in backticks then you can enforce monospace fonts and get perfect column alignment, i.e. `\`Header 1\``
Answer: More  abominations:

First Name
DonaldMickyRoger

Last Name
DuckMouseRabbit

First NameLast Name
Donald    Duck
Micky     Mouse
Roger     Rabbit
Comment: +1, Ingenious, but is this accessible throughout browsers?
Comment: YES YES YES -----
Comment: They both look OK on desktop Chrome/IE/FF but the second one falls down on mobile (at least on iOS).
Comment: Your first example is the only one that renders correctly on Chrome for Android, though many of the others render correctly on the Stack Exchange mobile app.
Comment: +1 the `kbd` + `code` combination seems perfect as all columns can be perfectly and easily aligned and stay that way across browsers and operating systems using various different fonts. `code` actually adds the required proportional character sizing.
Comment: Screenshot: http://i.imgur.com/whRjFHk.png
Comment: Did one at [here](http://openscience.stackexchange.com/a/111/10).
Comment: Wow, I didn't know Roger Rabbit.
Answer: Stack Overflow doesn't support MathJax, but several sites on the network do, including stats.SE and math.SE (see the full list here).  With MathJax, you can use array to create tables:
\begin{array} {|r|r|}
\hline
1 &2 \\
\hline
3 &4 \\
\hline
\end{array}

Which translates to this:

(Sadly, it would seem meta.SO does not support MathJax either, but if this could be brought about, it would be possible to create tables on SO and meta.SO.)
Comment: I've seen somewhere a dev saying the JS library for MathJax weights several mega bytes so the bandwidth cost is huge and not worth the rare cases where it's needed on Stack Overflow. Makes sense to me. :)
Comment: works on rpg.stackexchange.com
Comment: The result might be nice, but as for editing I'm afraid I even prefer ASCII tables over the above. And like @ShaWizDowArd already wrote, the team wrote on some occasions: [*"It will never be on Stack Overflow, though, as it is an extremely heavy dependency"*](http://meta.stackexchange.com/questions/4152/adding-support-for-math-notation/60023#60023) (August 2010). Note that mobile browsers need to be able to render it too.
Comment: Mobile shows it here: http://math.stackexchange.com/questions/465599/about-x-0-1-1-1-x0 so the JavaScript is included there, @Sha. (Though it renders slow on my oldish Nexus S.)
Comment: @Arjan regarding the last part, the mobile theme can easily exclude those libraries, it's already excluding tons of stuff. I strongly believe that's the case already on the sites supporting MathJax i.e. when using the mobile theme you can't use this magic. :-)
Comment: But then, @Sha, we'd be shown the source instead...?
Comment: @Arjan just checked, in the mobile theme there's no preview at all, problem solved. ;)
Comment: No, @Sha, I mean the final result. If I view a post on mobile and it includes a syntax that needs some excluded JavaScript to render it...
Comment: @Arjan hmm... good point, guess the include it on mobile theme as well then.
Comment: @Sha, [funny sequence of 3 clearly visible render steps](http://i.stack.imgur.com/fxgFY.png) in Chrome on my old Nexus S.
Comment: @Arjan desktop browser does that too. It's not Chrome. It's the rendering engine. That would be WebKit everywhere except desktop (and I believe android) which use Blink. Being based off of WebKit, Blink "suffers" from many of the "quirks" WebKit has.
Comment: Your right, @Cole, but for me a desktop browser is just much faster than that old Nexus S. But indeed, both need to do the JavaScript processing, and in the end both display fine. (Still then, the Markdown source is horrible, I feel. And it's not accessible, just like any non-table workaround.)
Answer: The short answer is that there is a kind of Markdown support for tables in Markdown Extra - I'm surprised it hasn't been mentioned in this thread yet (according to Ctrl + F   search, at any rate), although we have had GitHub-flavoured Markdown mentioned.
This has been implemented for a long time, and the "syntax" is pretty well-known. One thinks it would be a simple and effective enhancement for SO/SE. As a bonus, a move to Markdown Extra would bring definition lists, too -- and even footnotes (hurrah!).1 ;)
1 SO might not need 'em, but SE most definitely does! In addition, see now the 58-times UV'ed (as of this writing) "Time to fork markdown?", which explicitly draws attention to footnote and table support.
Comment: Yes, but it is all set in stone. Nothing can be changed.
Answer: You can generate text tables at tablesgenerator like following formats.
You can give input as:

SQL result in File -> Paste Table Data
File -> Import CSV File
Or you can generate table manually

Here you can align column values to left, right, centre.
Without Using Unicode symbols for table borders
+----+-------------+--------+-------+-----+
| id | name        | gender | state | age |
+----+-------------+--------+-------+-----+
| 1  | John Kenedy | male   | NY    | 32  |
+----+-------------+--------+-------+-----+
| 2  | Meresa Oslo | female | HI    | 26  |
+----+-------------+--------+-------+-----+
| 3  | Mike Lanes  | male   | FL    | 25  |
+----+-------------+--------+-------+-----+

Using Unicode symbols for table borders
╔════╦═════════════╦════════╦═══════╦═════╗
║ id ║ name        ║ gender ║ state ║ age ║
╠════╬═════════════╬════════╬═══════╬═════╣
║ 1  ║ John Kenedy ║ male   ║ NY    ║ 32  ║
╠════╬═════════════╬════════╬═══════╬═════╣
║ 2  ║ Meresa Oslo ║ female ║ HI    ║ 26  ║
╠════╬═════════════╬════════╬═══════╬═════╣
║ 3  ║ Mike Lanes  ║ male   ║ FL    ║ 25  ║
╚════╩═════════════╩════════╩═══════╩═════╝

Here is a Markdown table
| id | name        | gender | state | age |
|----|-------------|--------|-------|-----|
| 1  | John Kenedy | male   | NY    | 32  |
| 2  | Meresa Oslo | female | HI    | 26  |
| 3  | Mike Lanes  | male   | FL    | 25  |

Answer: Recently, Table option is introduced in the Stack Overflow Documentation Beta - Example section's markdown editing tool.
But it is not available in other Stack Exchanges sites.
Screenshot for reference:
Comment: [Stackoverflow Documentation Beta](https://stackoverflow.com/documentation) was shut down.
Comment: Glad to know they've been working on this feature - hope they bring it back!
Comment: I think we can be confindent to see it come back later.
Answer: We can use Stack Overflow HTML rendering:

url	id

codegolf.stackexchange.com	0

https://codegolf.stackexchange.com/q/148927/15214	1

https://en.wikipedia.org/wiki/Code_golf	2

lichess.org	3

https://en.wikipedia.org/wiki/Code_poetry	4

I create this snippet with tablesgenerator.
We can hide JavaScript and CSS content, but if we hide HTML we lost the output. There are alternatives to hide stuff, see: How to hide/display a part of the question I create.
Comment: True but it requires the visitors to click a button in order to see the table. It is a major downside.
Comment: @ShadowWizard indeed but it stills an alternative
Comment: True, I didn't downvote, just stating a big downside in this alternative. :)
Answer: CommonMark, a rigorously specified version of Markdown, does support inline HTML tables.  Stack Exchange Valued Associates have indicated in the past that they intend to move to CommonMark eventually, and it does support inline HTML blocks that include HTML tables:
http://spec.commonmark.org/0.20/#html-blocks
However, the main reason this wasn't allowed in the original markdown implementation used was due to the ease with which a user could break a page layout using inline HTML tables.  Since Stack Exchange allows new users to post content to the page, it was believed to be too big a risk to give them that power.
It may be that they will implement CommonMark and still disable inline HTML tables for this reason or other reasons. Between moderation and some coding for common layout breaking tables uses, I hope they'll be able to enable them.
So there is a possibility that in the next year or so we will have access to proper HTML tables for Stack Exchange content.
Comment: "... a possibility that in the next year or so we will have access to proper HTML tables ..." - three years later, no tables. :(
Comment: I would find tables particularly useful on sites like Seasoned Advice, where recipes are commonly quoted in questions asking for help.
Comment: See the new announcement: [We're switching to CommonMark](https://meta.stackexchange.com/q/348746/335251)
Comment: "the ease with which a user could break a page layout using inline HTML tables"  You could do the same with code blocks.  Just put the table in a box with scrollbars, the same as huge code blocks.
Answer: If I am reading the Markdown syntax page (then search for "table") correctly, you use regular HTML table tags with an extra set of blank lines surrounding the
 and
 tags.  Alas, I didn't get it to work here on meta.  Feedback appreciated if someone else has figured it out.
Comment: Correct: Markdown includes tables, but SE doesn't support that part of Markdown (at one point it worked in the live preview, but I've not tried it for a long time).
Comment: For future readers: HTML `` tags explicitly don't work, to stop people from being able to break the layout of the whole page.  See Shog9's answer on this question.
Answer: At least for GitHub Flavored Markdown there is support for tables. I was originally very discouraged after reading the answers on this question. I'm glad the HTML workarounds are available, but it definitely gets away from the source being human-readable. I then found the following description of support for tables in GitHub Flavored Markdown, which is also working for me when I create content using R Markdown
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#wiki-tables
Here is a copy of the table example from that site, which I have also found works great for me in the GitHub or R Markdown use cases where I most use markdown:
Tables
Tables aren't part of the core Markdown spec, but they are part of GFM and Markdown Here supports them. They are an easy way of adding tables to your email -- a task that would otherwise require copy-pasting from another application.
Colons can be used to align columns.
| Tables        | Are           | Cool  |
| ------------- |:-------------:| -----:|
| col 3 is      | right-aligned | $1600 |
| col 2 is      | centered      |   $12 |
| zebra stripes | are neat      |    $1 |

The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.
Colons can be used to align columns.
| Tables        | Are           | Cool |
| ------------- |:-------------:| -----:|
| col 3 is      | right-aligned | $1600 |
| col 2 is      | centered      |   $12 |
| zebra stripes | are neat      |    $1 |

The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.
Comment: What are the HTML workarounds? Like [aloisdg's answer](https://meta.stackexchange.com/questions/73566/is-there-markdown-to-create-tables/303627#303627)?
Comment: This is now built in on Stack Overflow
Answer: It's quite annoying.  Especially, as bernd_k has pointed out, with database-related questions.  The only solution we have right now is use our finest ASCII art skillz.  To avoid the mobile layout mess-up, you don't have to necessarily extend the width of the table all the way to the right:
Header1 | Header2 | Header 3
--------+---------+----------
0       | 1       | 7
2       | 5       | 3
9       | 7       | 2

Answer: On SO often I see a number of questions tagged SQL which present their test data by some tabular representation.
Often the first comments ask for datatypes of some columns.
For these cases I would prefer if the OP just uses create table and insert statements.
That makes it easier to verify his/her problem or to  try and verify the solution.
Comment: What's this got to do with displaying tabular data in questions and answers?
Comment: SQL posts present data that way because it's common for databases to output data in ascii-tabular format, and they're just copy/pasting it. Even if actual tables existed in SO's markdown, it's unlikely users would take the time to manually create them when they've already got the data another way
Comment: In SO there are often questions about sql, where example data is given in a tabular representation. If you want to help you need convert it first.
Comment: +1 I agree entirely. For SQL posts nice cosmetic delimiters such as in Ben Shelock's answer just get in the way when trying to set up test tables with the data. Questions [such as this one](http://stackoverflow.com/questions/4559641/not-complicated-sql-query) put quite a lot of work on potential answerers just setting up the test environment. DDL and insert statements or a CTE with select statements and UNIONS are the ideal such questions for me.
Comment: you might want to update your answer with the premise in your comment.  It might help avoid downvotes since it's a legitimate solution to the particular issue you describe in your comment.
Answer: An alternative is to put HTML tables tags inside an ꜱᴠɢ file, since ꜱᴠɢ files are XML based, it can contains XHTML content. From there you can use the HTML tags.
This also enable you to style borders with arbitrary  CSS content. The HTML disabled tags will be
Comment: Named properties would get you column headers: `console.table([{FirstName: "Jane", LastName: "Doe"},{FirstName: "John", LastName: "Smith"}])`
Comment: @canon Nice to meet  the console author :) I guess it would, but requires more typing(Not all users are familiar with js loops). In any case, Given the new table support, it shouldn't matter.
Comment: True, true. Cheers.
Answer: I made a table using $\LaTeX$
$$\begin{array}{c|ccccccc|}
    \lambda & (5)& (4,1)& (3,2)& (3,1,1)& (2,2,1)& (2,1,1,1)&
   (1,1,1,1,1)\\
\hline
    d_{_\lambda} & 1& 4& 5& 6& 5& 4& 1\\
\end{array}$$

as given here (coming from here). But to no avail.
Ending up using the MathJax FAQ on OR.Meta.SE.
This provides this result, on sites with MathJax enabled:
Answer: Here is another ugly approach, that you may consider to use. I am illustrating here to show a matrix of numbers.
┏━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┓
┃ 1 ┃ 2 ┃ 5 ┃ 7 ┃ 8 ┃ 9 ┃ 6 ┃ 4 ┃ 3 ┃
┣━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━┫
┃ 8 ┃ 3 ┃ 7 ┃ 4 ┃ 6 ┃ 5 ┃ 1 ┃ 9 ┃ 2 ┃
┣━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━┫
┃ 6 ┃ 4 ┃ 9 ┃ 2 ┃ 1 ┃ 3 ┃ 8 ┃ 5 ┃ 7 ┃
┣━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━┫
┃ 2 ┃ 8 ┃ 3 ┃ 9 ┃ 5 ┃ 4 ┃ 7 ┃ 1 ┃ 6 ┃
┣━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━┫
┃ 5 ┃ 6 ┃ 1 ┃ 3 ┃ 7 ┃ 8 ┃ 4 ┃ 2 ┃ 9 ┃
┣━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━┫
┃ 9 ┃ 7 ┃ 4 ┃ 1 ┃ 2 ┃ 6 ┃ 5 ┃ 3 ┃ 8 ┃
┣━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━┫
┃ 3 ┃ 1 ┃ 2 ┃ 6 ┃ 4 ┃ 7 ┃ 9 ┃ 8 ┃ 5 ┃
┣━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━┫
┃ 7 ┃ 9 ┃ 8 ┃ 5 ┃ 3 ┃ 1 ┃ 2 ┃ 6 ┃ 4 ┃
┣━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━╋━━━┫
┃ 4 ┃ 5 ┃ 6 ┃ 8 ┃ 9 ┃ 2 ┃ 3 ┃ 7 ┃ 4 ┃
┗━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┛

Comment: Just FYI this is broken on at least Mac (because Macs apparently don't draw Unicode fixed-width box-drawing characters at the same fixed-width as fixed-width letters), and [possibly other browser/OS combinations as well](https://meta.stackexchange.com/questions/73566/is-there-markdown-to-create-tables/292218#comment391497_73567). Not working on Macs is certainly Apple's fault, but it's an unfortunate reality that this doesn't display right on all computers.
Comment: Thanks for explaining. I wont use this now. Perhaps this approach will be useful in the future. Or perhaps in the future Stack Exchange will learn how to format as well as GitHub.
Comment: @SevenSidedDie looks perfectly fine for me on Mac. If there is an issue it's because the box drawing characters and the numbers are being rendered in a different font, but you should be seeing it in Menlo which has all the box-drawing chars
Answer: Paste the table result of https://senseful.github.io/text-table/ this.
It shows like this :-)
+-----------------------------------+------------+--------+
|               Col1                |    Col2    | NumCol |
+-----------------------------------+------------+--------+
| Value 1                           | Value 2    |    123 |
| This is a row with only one cell  |            |        |
| This row is testing html entities | Test |     45 |
+-----------------------------------+------------+--------+
Now select the table on Stack Overflow and click {} code sample icon.
Then it is formatted like this:
+-----------------------------------+------------+--------+
|               Col1                |    Col2    | NumCol |
+-----------------------------------+------------+--------+
| Value 1                           | Value 2    |    123 |
| This is a row with only one cell  |            |        |
| This row is testing html entities | Te
st |     45 |
+-----------------------------------+------------+--------+

Answer: I am just noticing that when we reviewed these proposals a while back, this one never got updated even as the corresponding one on DBAs did.
tl;dr: Implementing this in a way that wouldn't allow authors to break some / all page layouts, whether inadvertently or maliciously, is not feasible.
I know. It sucks. But that's HTML tables for ya.
See also: Markdown footnotes?
Comment: So how is it that everyone else who supports tables via a Markdown extension accomplishes it? I'm no HTML expert, but I can't puzzle out how in the world allowing simple tables would break the layout of the entire page. It's not even like you're allowing free-form HTML. And I shouldn't have to mention that this sounds *particularly* ridiculous in light of the new "Stack Snippets" feature that literally lets people write code. If you've got programmers on the team who can implement that, you should be able to tame the `` tag.
Comment: The point is, if you have the skills (and/or inclination) to solve that problem, you should be able to solve the relatively simpler problem of nested tables. At any rate, rendering simple, markdown-specific tables in a fixed-size iframe still seems like complete overkill to me.
Comment: So how is it you've got this to work for Documentation?
Comment: [It's already possible to break the page layout](https://meta.stackexchange.com/a/298233/349538).
Comment: Will you pleeeeeease change your mind on this?  It's 2019 and a programming site doesn't support a standard markup feature.  Doesn't this embarrass you?
Comment: Well... we *didn't* solve it, @Cody - try some of the example snippets on a mobile device, if you haven't yet; there's no attempt to make the output render properly, so chances are if the author wasn't careful you'll just end up scrolling a tiny, tiny viewport around the output (or worse). There's no expectation that the output will match the themes of every site on the network, and in fact they're not even *enabled* on most sites. Again, we didn't solve that problem with Snippets - we sidestepped it completely. Could we do the same for tables? Sure - if that's what folks actually want.
Comment: Have you looked at the Snippets implementation? Rendering is trapped in a fixed-sized iframe, generated on-demand; there's no integration into the page's default rendering *at all*. In other words, we sidestepped that particular problem (and a host of others) by not trying to make it work at all. *That said*... Snippets do offer a potential solution here, and we're looking at ways to expand on that.
Comment: Docs uses an implementation of CommonMark, @eggyal.

Is there Markdown to create tables?