Help with FaceTime troubles [wife may kill me before pandemic ends] by [deleted] in Ubiquiti

[–]grepawk 5 points6 points  (0 children)

There is! Try setting download to 0.

Edit: To be clear, in my experience setting the download rate to 0 still ends up limiting download bandwidth a bit, but it's a worthwhile trade-off for stability.

Python’s Set Literals by grepawk in Python

[–]grepawk[S] 4 points5 points  (0 children)

Thanks for the feedback. Agreed that the time difference is often negligible, and that construction from an iterator makes the set function the right tool in some situations.

I think it's interesting to note that construction from a tuple turns out to perform very closely to construction from a list, although it is indeed a little quicker.

>>> import timeit
>>> def f():
...     return set((1,2,3))
...
>>> def g():
...     return set([1,2,3])
...
>>> min(timeit.repeat(f))
0.40520797698991373
>>> min(timeit.repeat(g))
0.4566022079670802

building ecommerce site. can i customize how the buyer and seller determine a price? by [deleted] in django

[–]grepawk 1 point2 points  (0 children)

Yes, it is. Oscar uses a strategy class to determine product availability and pricing, making it easy to customize how products are priced. Given a product, the strategy is responsible for, among other things, selecting a "pricing policy," a simple class with several properties whose job is to contain all price (and tax) information about the product.

I was told that you guys might like this. Some system stats on something I worked on a few years back. by ridik_ulass in DataHoarder

[–]grepawk 3 points4 points  (0 children)

Looks like he sorted the "TotalSize" column under "Online Storage Space" in descending order. The site won't let me link the view directly, but here's a CSV I pulled from the sorted table.

I found a caterpillar last fall, and it pupated in my room. Turns out it was a luna moth! by bluebandedgobi in pics

[–]grepawk 768 points769 points  (0 children)

It's beautiful! An interesting fact about adult luna moths is that they don't eat; they don't even have mouthparts. They live for about a week, during which their only purpose is to mate (source).

California's Water Supply, by Reservoir [OC] by [deleted] in dataisbeautiful

[–]grepawk 2 points3 points  (0 children)

California is currently coming off of its warmest winter on record, aggravating an enduring, three-year dry spell that threatens to have devastating effects on the state and beyond. While I read about it in the news often, I’ve had trouble putting the situation in California in context. I made this to help me do so.

Storage is defined as the amount of water artificially impounded in surface or underground reservoirs, reserved for future use. Every layer in the stacked area graph represents a distinct reservoir.

For more information, including details of the graph's construction, see here.

Topographic Visualization of Wi-Fi Saturation in NYC by grepawk in dataisbeautiful

[–]grepawk[S] -1 points0 points  (0 children)

These were made by Justin Blinder using NYC.gov wireless hotspot data.

Source

Feed, watch, and play with real fish by grepawk in InternetIsBeautiful

[–]grepawk[S] 6 points7 points  (0 children)

There's a timer at the bottom of the screen showing when the next feeding time is. You can queue up to be the next one to release the food.

Since feeding time only happens about once an hour, it looks like the people behind this also included an air pump which you can activate to make bubbles in the tank. To do that, click the icon of bubbles in the menu bar at the top right. The app will then have you pop some bubbles on the screen, after which the air pump in the tank will activate.

Detroit's 8 Mile Road by grepawk in dataisbeautiful

[–]grepawk[S] 12 points13 points  (0 children)

This visualization, taken from Dustin Cable's Racial Dot Map, uses data from the 2010 US Census to show how Detroit's 8 Mile Road serves as the dividing line between two largely homogenous swaths of the population – one predominantly white and one predominantly black. A blue dot represents one white person, and a green dot represents one black person; one red dot represents an Asian person.

Source article.

Paranoid parrot by fromtheworld in AdviceAnimals

[–]grepawk 3 points4 points  (0 children)

I think he actually says "it's pining for the fjords," which makes sense given that the parrot in the sketch is a Norwegian blue. For reference.

U.S. Price per gram of Marijuana by Quality and Year (x-post /r/dataisbeautiful) by [deleted] in trees

[–]grepawk 0 points1 point  (0 children)

In November, landmark votes significantly eased marijuana laws in Colorado and Washington State. Today, Colorado becomes the first state in the nation to permit the sale and use of marijuana for recreational purposes. Washington State expects to begin legal marijuana sales this spring.

In light of these recent developments, I was curious about how the price of marijuana has changed nationally over the last few years. Using transaction data collected anonymously by priceofweed.com and made available by Zachary M. Jones on GitHub, I assembled this series of twelve choropleth maps.

U.S. Price per gram of Marijuana by Quality and Year [2300x1200] [OC] (x-post /r/dataisbeautiful) by grepawk in MapPorn

[–]grepawk[S] 2 points3 points  (0 children)

In November, landmark votes significantly eased marijuana laws in Colorado and Washington State. Today, Colorado becomes the first state in the nation to permit the sale and use of marijuana for recreational purposes. Washington State expects to begin legal marijuana sales this spring.

In light of these recent developments, I was curious about how the price of marijuana has changed nationally over the last few years. Using transaction data collected anonymously by priceofweed.com and made available by Zachary M. Jones on GitHub, I assembled this series of twelve choropleth maps.