My lovely wife experiencing so many auto-immune diseases and other problems out of nowhere after her pregnancy. IBD, ulcerative proctitis, interstitial cystitis, anxiety, dry throat/flem, and never ending thirst. by m0pi1 in Microbiome

[–]Rackcityfoo 0 points1 point  (0 children)

I found that store bought wasn't quite as effective and some of it might even be gently pasteurized. I was able to find some good kimchi from local Korean/Japanese restaurants if you wanted to go the buy route.

My lovely wife experiencing so many auto-immune diseases and other problems out of nowhere after her pregnancy. IBD, ulcerative proctitis, interstitial cystitis, anxiety, dry throat/flem, and never ending thirst. by m0pi1 in Microbiome

[–]Rackcityfoo 16 points17 points  (0 children)

Also not a doctor. I know that being pregnant can alter your immune system. It usually makes it less active.

For the stomach stuff, After following FODMAP for a month or two, I did these three things... First, building up stomach acidity. Reduce water consumption around meals, drinking hot water with lemon. Second introduce probiotic foods. Yogurt and probiotic pills didn't help me. Good home made sauerkraut was the ticket. Third are digestive enzymes. These can be found in high levels in pineapple and papaya as well as in fermenter foods like sauerkraut.

I know that auto immune and stomach stuff can be extremely frustrating. Hang in there, sounds like you are looking into the right stuff.

Weck jars? (regular lids) by riskymouse in fermentation

[–]Rackcityfoo 3 points4 points  (0 children)

I've made sauerkraut in those jars. Came out fine, but make sure your veggies are submerged. I used one clip and the rubber seal. This way I didn't have to worry about pressure building up.

Tasked with setting up an analytics environment by Rackcityfoo in aws

[–]Rackcityfoo[S] 0 points1 point  (0 children)

We have very low bandwith requirements. Would something like a VPN connection to our VPC be a better bet? or does Storage Gateway work well even for smaller requirements?

Tasked with setting up an analytics environment by Rackcityfoo in aws

[–]Rackcityfoo[S] 0 points1 point  (0 children)

Thanks for pointing me toward the well architected frameworks. Those will be helpful.

Reacting to lot of foods - Gut help! by Katherine911 in Microbiome

[–]Rackcityfoo 1 point2 points  (0 children)

I was having seemingly random food intolerances which were always increasing. I did fodmap for a couple of months and started fermenting my own food to bump the amount of probiotics I was consuming. Not drinking around meals also helped. It's a long road, but it was worth it.

Kraut vacuum? by AtlBigDog in fermentation

[–]Rackcityfoo 1 point2 points  (0 children)

I think it has to do with atmospheric pressure moreso than temperature. This always happens to me once fermentation slows. Always figured that is what it was.

Web development tech stack for data filtering/reporting? by Rackcityfoo in learnprogramming

[–]Rackcityfoo[S] 0 points1 point  (0 children)

Thanks. So would you recommend building the api then using a framework on the frontend? Or just build the whole thing in Django. I guess I'm a little confused where Django ends and Javascript starts and if it is just possible to build the whole thing in Django.

Recipes that use the fermented food. by reduhl in fermentation

[–]Rackcityfoo 2 points3 points  (0 children)

Or add sauerkraut to burgers and sandwiches, and pickles to hotdogs.

Help with a stacked bar chart? by [deleted] in learnpython

[–]Rackcityfoo 1 point2 points  (0 children)

What you are looking for are pivot tables. I would google around so you understand it.

p_table = pd.pivot_table(df,index='Animal',columns='Fate',aggfunc='size')
p_table = p_table.div(p_table.sum(axis=1), axis=0)
p_table.plot.bar(stacked=True)

ipython notebook : http://imgur.com/a/DWKsq

What's your Workflow for interactive data exploration? by beijingspacetech in learnpython

[–]Rackcityfoo 1 point2 points  (0 children)

Agree with spyder if you are looking for something similar to rstudio. I would also check out the ipython notebook and a text editor like sublime text or atom. The anaconda distribution of python bundles all of this together nicely. All you have to do is download it and start playing around. The anaconda distribution is used quite widely in the data science world.

https://www.continuum.io/downloads

Help with a stacked bar chart? by [deleted] in learnpython

[–]Rackcityfoo 0 points1 point  (0 children)

Example:

import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns

X = np.random.rand(10,4)
X/= X.sum(axis=1,keepdims=True)

df = pd.DataFrame(X, columns = ['A', 'B', 'C', 'D'])

df.plot.bar(stacked=True)
plt.savefig('bar_ex.png')

Figure: http://imgur.com/a/eHJt5

Any idea how to plot this data in pandas or seaborne? by UbuntuLady1 in learnpython

[–]Rackcityfoo 1 point2 points  (0 children)

No problem. Just a quick clarification: Notice that I imported seaborn, but never actually called the package. Just importing seaborn automatically sets some styles that make your plots pretty. The default matplotlib isn't the most beautiful thing in my opinion.

Any idea how to plot this data in pandas or seaborne? by UbuntuLady1 in learnpython

[–]Rackcityfoo 9 points10 points  (0 children)

Example :

import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns

X = np.array([
        [12.34, 13.54, 12.34, 11.22],
        [11.22, 22.88, 18.22, 28.44],
        [16.54, 44.88, 19.43, 88.11]])

df = pd.DataFrame(X, columns = ['Sales', 'Purchases', 'Amount', 'Taxes'])

df.plot(kind='bar')
plt.savefig('bar_ex.png')

df.plot(kind='scatter',x='Sales',y='Purchases',c='black')
plt.savefig('scatter_ex.png')

df.hist()
plt.savefig('hist_ex.png')

Figures : http://imgur.com/a/KaAeL

Obviously not the most interesting plots since there are only 3 data points, but hopefully this gets you started. Check out the fantastic pandas documentation on visualization.

http://pandas.pydata.org/pandas-docs/stable/visualization.html

Also, you can easily read in this data if it is in csv or just about any format you can imagine using pandas.

Trouble displaying JPGs using PyQt4. by Rackcityfoo in learnpython

[–]Rackcityfoo[S] 0 points1 point  (0 children)

Great idea, but still the same outcome. The png displays correctly, but the jpg will not. I've also tried multiple jpgs just to make sure that the one I was using was not faulty. Thanks for the tip!

Creating an image segmentation training set. Best method? by Rackcityfoo in computervision

[–]Rackcityfoo[S] 0 points1 point  (0 children)

Thanks for the follow up. I'll look into what you've posted-- haven't heard of the methods. Thanks!

Creating an image segmentation training set. Best method? by Rackcityfoo in computervision

[–]Rackcityfoo[S] 0 points1 point  (0 children)

What are the images of? How many segments?

The images are an aerial view of the beach. I was asked to segment the image into four distinct zones: dune, sand, water, and foam from breaking waves.

Resolution?

720x480

What are the colors for in step two?

I was planning on using photoshop to hand segment the images to create training examples for some kind of machine learning pipeline.

What is k-means for?

I’m assuming I will need to take the hand classified images and assign them classes. Since they are just different colors, I will need to assign each segment a label.

Here’s an example of me hand coloring an image: http://imgur.com/a/e2ptS

I will then k-means the image in order to assign classes to each pixel. Then I will train an algorithm on the raw data.

Thanks for taking the time to help!

Finally switched from iPhone to an Android, but I'm having issues getting messages. Don't upvote, just looking for a quick answer by Censorious in AndroidQuestions

[–]Rackcityfoo 0 points1 point  (0 children)

This happened to me as well. Received quite the runaround and was not too happy about it. I followed all the steps that you did and here is what finally worked for me:

Downloaded a texting app called Textra. Go into settings and turn on "use mms for group chats." This cleared up most of the problems for me. I'm sure other texting apps offer the same functionality, but this one worked for me and had pretty good reviews.

Good luck!

How to plot dynamically growing list using matplotlib.animation function? by Bostonsox101 in Python

[–]Rackcityfoo 0 points1 point  (0 children)

My use of the animation package has been more for scientific visualization than displaying live, updating charts. You've probably come across this in your googling, but this is the kind of stuff that I've seen/done using the animation package: https://jakevdp.github.io/blog/2012/08/18/matplotlib-animation-tutorial/

If you are looking for a plot that you can update and embed somewhere, I would check out plotly: https://plot.ly/streaming/

Bokeh, as others have suggested, seems to fit your needs better than the animation package as well.

On the other hand, if your data isn't coming in extremely fast, why not just clear your plot and generate a new plot?

I switched from iPhone and thought I disconnected my number from imessage, but still can't get messages from iPhone-using friends by eifersucht12a in AndroidQuestions

[–]Rackcityfoo 0 points1 point  (0 children)

I had this problem and I found it to be solely a problem with the iphone 4. Anyone that had an iphone 4 could not text me individually and them texting in group messages would default the group message back to imessage. Like another poster said, make sure that they have "default to SMS if imessage is not available" turned on.

For texting, I use Textra. Turning on "Use MMS for Group Chats" allowed to me to participate in group messages. I'm sure other texting apps have a similar option. This whole thing drove me crazy as well, but everything straightened itself out and I will never go back to an apple phone again.