testcase51

u/testcase51


r/linux4noobs•

Sometimes I find myself trying to make a project work and end up apt-get install'ing a lot of stuff that I never use again. Is there some sort of tool help prevent that kind of mess by either:

  1. akin to virtualenv + pip, put all installed packages in a little sandbox that can later be deleted.
  2. specify that libWIDGET should be considered dependency oftemporary_program even if it's not in the official repo
  3. set up a reminder so that 2 weeks after running apt-get install libWIDGET --temporary I'd get a little reminder that says "You installed libWIDGET 2 weeks ago, are you still using it?"

Thanks

2013

r/learnpython•

I often find myself wanting to turn an interactive session into a saved script. Usually this means manually editing the output of ipython's %hist. So for example I would paste

n_max = 10
sines = np.sin(np.arange(n_max))      #ImportError
import numpy as np
sines = np.sin(np.arange(n_max))
cosines = np.cos(np.arange(n_max))
tans = sines / cosines
tans                                  #Display values
arctans = np.arctan2(cosines / sines) #Invalid number of arguments
np.arctan2?                           #View documentation
arctans = np.arctan2(cosines, sines)
print arctans
n_max = 30                            #new value of constant
sine
02




r/BuyItForLife•

Inspired in part by this thread: https://www.reddit.com/r/BuyItForLife/comments/1hkffx/metaquestion_previously_bifl_items_that_are_no/

and in part by the comments I see about LL Bean, Craftsman, Kitchenaid.

I want to know if there is a systematic way of learning which brands are "still good" beyond lurking the comments of this sub. Maybe something with SEC filings, Investor Relations documents, or consumer protection complaints?

286