@laurentgoudet@laurentgoudet We don't block the domain at all, but we still get this Login broken violation, although it works fine when we check this with both actual and test FB users. Any suggestions?
@laurentgoudet@tfbnw We are getting the same violation report for our app, but we haven't blocked this domain. Should we provide a test login for Facebook to access our system, or should I create a test account under this domain?
We have zero response from Facebook. Your help is appreciated; thanks!
Wouldn't mind being a postman for a bit, especially during the summer ☀️ Working 9-3, no night shifts, Sundays off, just walking around putting letters through doors. Never see a raging postie either, always just strolling about in their cargo shorts living their best life
@British_Airways@HeathrowAirport@British_Airways@HeathrowAirport We arrived in Heathrow on 20 Feb, and as the baggage was delayed, we were told to book a claim form online, but there is an error online it doesn't allow us to book for delayed baggage claim. What can we do now?
For clarity, I typically build a new function called times() that hides the superfluous and distracting None argument:
>>> times = partial(repeat, None)
>>> stdev(random() for _ in times(10_000))
0.28595973132292474
#python tip: itertools.repeat() is faster than range() for looping a fixed number of times when you don't need the loop variable.
min(random() for i in range(10_000)) # 1.03 msec per loop
min(random() for _ in repeat(None, 10_000)) # 841 usec per loop
Up to £500k investment available from @innovateuk for ambitious or disruptive R&D innovations with significant potential for impact on the UK economy. What are you waiting for? https://t.co/CBEP45YgIw
#python tip: list.remove() deletes the first match and then shifts all subsequent data one position to the left. In a loop, that gives quadratic behavior:
There's a better way to remove all matches:
data[:] = [elem for elem in data if elem != target]
(Excited wife after seeing the Avengers girls team)
Wife: I want to be a part of them
Me: They will recruit for the next movie
Wife: Yeah but I just started driving
#AvengersEndame
A module level __getattr__() function can implement lazy imports:
def __getattr__(name):
global pi
if name == 'pi':
import math
pi = math.pi
return pi
raise AttributeError
#python factlet: The any() and all() functions are like chains of "or" and "and":
any([a, b, c]) ⇔ False or a or b or c
all([a, b, c]) ⇔ True and a and b and c
Graphic designers, game designers, coders, artists, architects - what would be in your augmented reality city? All abilities welcome to submit to #AugmentedArchitecture w/ @serpentineUK@googlearts. Deadline 25 Feb, 10am. https://t.co/199J4JRReB
The comparison reflects two facts:
* list.sort() and sorted() are now astonishingly fast.
* statistics.mean() does not use math.fsum(). Instead, it does an enormous amount of work to achieve perfect accuracy across builds.
Fast growing @gettingSlick up next - a booking and workflow mgmt. platform for hair & beauty salons, developed with @LOreal to help small businesses to grow & improve efficiency - currently onboarding 100 salons per month. #beautytech#SaaS#FactoryShowcase
#Python tip: If your data is in a dictionary, perhaps from a JSON file, then str.format_map() is your new best friend.
Pretty way:
print('{name} works at {status} {company}'.format_map(info))
Less pretty:
print(f'{info["name"]} works at {info["status"]} {info["company"]}')