I used to know a dealer who sold the weed in little glass mason jars. When you needed more, you would come back with the jar and he would sell you a refill. It was considered more environmentally friendly than using a separate plastic bag for every transaction. Plus, you got a sweet little jar for storing your weed.
This is ridiculous. Sure, arresting people for crimes that you think they might commit in the future worked in Minority Report, but what if we can't find enough precogs to make the whole thing run smoothly?
what if we can't find enough precogs
Arrest them all! The truth will set them free—or not.
The fuck? The war on drugs is now a war on baggies under two inches? There's got to be some obvious reason I'm not seeing here why this isn't dumb.
Ha ha! If we make their little baggies illegal there will be NO WAY to transport and sell narcotics! The war on drugs will end! The people who don't heed the anti-drug laws will be unable to stop themselves from heeding the anti-baggie law!
Over here one uses coin bags. Are they going to make the banking system illegal?
Does it say something about Chicago or about me that I never saw such a transaction involve such small quantities?
Stupidest. Law. Evar.
||
Is there a way to use the letter wizard in Word 2001 for Mac without having it come out retarded. I'm trying to streamline the process of writing cover letters and to make sure that everything lines up correctly without using tabs, but they just come out looking stupid with weird lines and weird fonts. They don't look like any business letter I've ever seen.
Ugh! I hate Microsoft.
|>
nickels and dimes, pants. you should keep in mind that a) heroin in tiny amounts will fuck you up and b) sometimes people will pay 5 or 10 bucks for a tiny bag full of seeds and stems and weed because they don't have anything better to do.
Why would Python treat a statement of the following nature:
for somedict in someiteratorfullofdicts:
if somedict["a key"]=='the right value':
rightvaluedict.update(dicty)
as if we were addressing an index in a string, not an item in a dict, and thus fail with a TypeError: String indices must be integers?
Note - the keys can be quite long (the data is from a csv file of survey responses, processed out with csv's DictReader class).
Before you all rush, yes, the second and third lines should be on the second and third indent levels. Ask the comments box why it stripped the extra spacing.
1. Spy Magazine did a thing, approximately 1000 years ago, where they called the folks that made the tiny ziplock baggies and asked them what they thought people used them for.
2. I think that I have seen more tiny brown bottles lately than tiny ziplock bags.
I have used tiny plastic baggies for sneaking kitchen spices across an international border.
I see two elderly lawbreakers in the gate area I'm in right now. I think I'll initiate a citizen's arrest and pull the emergency alarm for good measure. Logan could do with some excitement.
Is there a way to use the letter wizard in Word 2001 for Mac without having it come out retarded. I'm trying to streamline the process of writing cover letters and to make sure that everything lines up correctly without using tabs, but they just come out looking stupid with weird lines and weird fonts. They don't look like any business letter I've ever seen.
I think you are overthinking the need to streamline and hyper-format this. I would skip the wizard. There's not really that much to line up. Just left-align the date, address, your salutation, and the letter itself. You can even left-align your closing. If you prefer, tab over some number of tabs you consider reasonable.
http://owl.english.purdue.edu/owl/resource/653/02/
11: It would do that if one of the items in your iterator isn't the dict you think it is, but is in fact a string. Maybe your iterator is returning the contents of the dicts, rather than the dicts themselves.
Hmmm. The problem happens at the second level of processing, after the data has already been filtered into two groups....perhaps I should keep them in lists.
Meanwhile, not so long ago I crossed an international border with a supply of saffron in a sealed envelope. I wonder what customs would have made of it?
Perhaps a fragrant risotto...
"Thank God we've finally stopped looking at the causes of this terrible social problem and started focusing on the symptoms."
there are actually tons of legitimate uses for tiny plastic bags, sorting things like beads, tiny screws/machine parts, stamps and coins, the counters for games, packaging expensive spices, the buttons mentioned above. now, certainly total sales must outstrip total legal uses, and in a given bodega 100% of the sales may be for illegal uses, but...
Because you're on crack, Alex:
>>> iteratorfullofdicts = ({"a":"b", x:x+1} for x in range(20))
>>> rightvaluedict = {}
>>> for somedict in iteratorfullofdicts:
if somedict['a'] == 'b':
rightvaluedict.update(somedict)
>>> rightvaluedict
{0: 1, 1: 2, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 'a': 'b'}
>>>
(Or, perhaps, because your iterator isn't actually full of dicts at all.)
22: My saffron actually came in a little crack vial!
In any event, I certainly agree that the plastic baggie ban is ridiculous beyond words.
You see how perverted oudemia's concepts have become.
Oudemia, your crack comes in a little saffron vial.
23 would have been better if it had used "range(30)", so the iterator would have like thirty goddamn dicts!
What about our bag rights? If tiny bags are banned, only criminals will have tiny bags!
I see two elderly lawbreakers in the gate area I'm in right now.
Is it Whitey Bulger and his girlfriend?
hell, why not import random, for x in range(randint) and have a random number of dicts?
anyway, I know precisely what the content of the dicts is, I'm just looking to create a load of pivot tables in a reasonably painless fashion 'cos our survey software sucks (data! in giant csv files! in the year of our Lord, 2008!)
I predict new turf wars as gangs carve out the plastic baggie black market.
when i first saw the "making plastic bags illegal" headline at some other side i thought it was some wringnut anti-condom thing.
I need to break down one of my machines and clean it up, and those bags would be perfect for keeping track of which bolts go where. Conveniently, a head shop just opened up across the street.
I have like a billion of those tiny one-inch plastic ziploc bags in my house right now, they're for sorting beads and jewelry hardware. I do worry about the waste though; they'll eventually go to grow the floating semisolid continent of degraded plastic out in the middle of Pacific. Maybe the city of Chicago has the right idea -- you want to encourage the drug dealers to recycle vials and bottles and things, rather than using new bags for every transaction.
anyway, I know precisely what the content of the dicts is,
Evidently not, since apparently they aren't dicts at all.
Why not ask the fucking docs? class DictReader( csvfile[, fieldnames=None,[, restkey=None[, restval=None[, dialect='excel'[, *args, **kwds]]]]])
Create an object which operates like a regular reader but maps the information read into a dict whose keys are given by the optional fieldnames parameter.
If the fieldnames parameter is omitted, the values in the first row of the csvfile will be used as the fieldnames...
jms probably has scales and $5 bills in her house.
Instead of this, the Chicago government should probably make clean needles illegal.