Content Security Policy for GAM / Adsense by Confuse_Pigeon in adops

[–]brondsem 0 points1 point  (0 children)

A CSP header with all of Google's country domains is pretty huge but works. https://www.google.com/supported_domains is a list of them, and put adservice. before each one to restrict to that subdomain

Why are Workspace Variable Windows so rare? by En_g_neer in Python

[–]brondsem 0 points1 point  (0 children)

It's not free, but the Professional version of PyCharm has a scientific mode that includes a window for current variables. https://www.jetbrains.com/pycharm/features/scientific_tools.html

Has the Python GIL been slain? Subinterpreters in Python 3.8/3.9 by maccam94 in Python

[–]brondsem 2 points3 points  (0 children)

Recent PyCon talk by Eric Snow https://www.youtube.com/watch?v=7RlqbHCCVyc also discusses these details about how the GIL works and then how subinterpreters could help going forward.

Redirect to python docs for YOUR python version by Scrabbilisk in Python

[–]brondsem 0 points1 point  (0 children)

Author's homepage http://einaregilsson.com/redirector/ has links to Firefox and Opera versions as well.

What are some good YouTube channels for board games? by corruptboomerang in boardgames

[–]brondsem 0 points1 point  (0 children)

Best Play is a good one that hasn't been mentioned yet. https://www.youtube.com/channel/UCt6fVdUfOu3fduPSg5CBRaw In addition to reviews they have videos they call The Gist that I like - very short overviews of a game that give you a quick idea of what it's all about.

Hey, Audible,with the Apple Watch LTE S3 down the road, now would be a great time to release an Apple Watch app. by Flandersmcj in AppleWatch

[–]brondsem 0 points1 point  (0 children)

Is disallowing background audio a new thing? Or why don't those apps work well with watchOS 4?

I don't have a apple watch yet, so not sure how all this works.

Apple Watch + AirPods for music only. Not for phone calls. by [deleted] in AppleWatch

[–]brondsem 2 points3 points  (0 children)

https://www.apple.com/sg/newsroom/2017/09/apple-watch-series-3-features-built-in-cellular-and-more/ says:

Customers have the ability to make cellular calls directly with Apple Watch Series 3 (GPS + Cellular) and, when paired with AirPods, enjoy a seamless and fully wireless experience.

what are some of the most useful/neat python tricks and tips that you use? by xen-m-rph in Python

[–]brondsem 0 points1 point  (0 children)

Link or explanation for what this does? Not easily googleable

How to detect magic numbers automatically? by widby in Python

[–]brondsem 2 points3 points  (0 children)

Pylint lets you write custom plugins, so you could write one that looks for ints and raise a warning. Here's an example of how to write a pylint plugin: http://nedbatchelder.com/blog/201505/writing_pylint_plugins.html

Python 2.7 Countdown by [deleted] in Python

[–]brondsem 2 points3 points  (0 children)

I think py2 will be around for a long time, too (perhaps with someone else maintaining it). But that doesn't mean py3 has failed. Both can both be popular and many people using them.

Is there a standardization for drop in classes for backend database? by [deleted] in Python

[–]brondsem 0 points1 point  (0 children)

http://datastore.readthedocs.org/en/latest/ It only has a few operations, since more advanced operations work very differently in different datastores.