chriswitts
“Most of the time in a wedding gallery of 1,000 photos there are only 1 to 3 images that are blurred,” explains Haanstad. “Also, anytime I do a blurry photo I have the couple do the same thing but in focus so the couple has both images and is not missing out on a moment from their wedding day.” Colombo provided screenshots and other documents detailing his findings and
identifying the maker of the affected third-party software, but he asked
that Bloomberg not publish specifics because the flaws hadn’t yet been fixed. git commit --amend --date="Thu Jan 1 08:00 1970 +0000"I noticed that VOO (Vanguard S&P 500 ETF) has a -10.56% dividend percentage listed (although it is the YTD performance) which causes the expected annual dividend to go negative. The yield is currently listed at 1.98% on Yahoo Finance.
I'd also be curious to know is pillow-simd [2] gets the Python performance closer to Go/Rust, and if using Rayon [3] and changing your .iter()'s in your Rust code to .par_iter()'s will yield an improvement there.
[1] https://github.com/sharkdp/hyperfine
######################################
# Generate a random password from /dev/urandom
# pw [length [num_passwords [characters]]
# Arguments:
# $1 => The length of password
# $2 => The number of passwords to generate
# $3 => The acceptable character set, PCRE regex
######################################
function pw {
if [[ "x$1" == "x-h" ]]; then
echo "Usage: pw [length:20 [num_passwords:1 [character_set:a-zA-Z0-9._!@#$%^&*()]]]"
else
LC_CTYPE=C \
tr -dc "${3:-'a-zA-Z0-9._!@#$%^&*()'}" < /dev/urandom \
| fold -w "${1:-20}" \
| head -n "${2:-1}"
fi
# There's always `openssl rand -base64 12` for simplicity
}The amount of effort the organising committees have put in so far has been stellar, and it's going to be a great year.
Also expanding the PyCon tracks to include a dedicated PyData track is fantastic.
- What a wonderful world by Marcus Chown
- 47 Ronin by Joan D. Vinge
- Practical Monitoring by Mike Julian
Currently reading:
- The Four by Scott Galloway
- The Art of Capacity Planning 2nd Edition by Arun Kejariwal, John Allspaw
Census data is inaccurate, and you have no concrete figures on the number of people per residence. Even if we had the tech (the new water meters we have are a step in the right direction, except when they break which is often and also maintained by quite a number of different contractors) you'd be hamstrung needing to ascertain correct figures per location. And then throw in all the apartment blocks in Cape Town, which all have a singular water main and meter, it becomes even harder (because do you punish all people in the block because one person is having a bath three times a day).
I hope you find a way to manage (rain, desalination, hopefully something comes online soon)
The local government has sadly mismanaged the situation terribly, for more than a decade. We're not going through a drought, we're experiencing a water shortage. The total population for the City of Cape Town (more than just Cape Town itself, it includes the surrounding areas) has been rapidly expanding over the last 15 years (more so in the last 5) due to semigration (people moving from other provinces, mainly Gauteng, due to the better quality of life in the Cape), and the underlying infrastructure has not been upgraded in step with the population growth. We have had warning since as early as 2007 (from official reports I'm aware of) that we needed to move forward with new water programs including desalination plants in order to accommodate for the growth.
We have a desalination company, GrahamTek [1], which had put forward tenders which could have brought in 450ML water a day within 18 months, but were largely ignored by the powers that be.
[1] https://www.iol.co.za/weekend-argus/news/city-of-cape-towns-...
In [5]: def f(x):
...: x = str(x)
...: return sum(map(int, x))
In [6]: %timeit second_way_optimized(x)
1000 loops, best of 3: 200 µs per loop
In [7]: %timeit f(x)
1000 loops, best of 3: 223 µs per loop
Marginally slower, a hell of a lot easier to read what's going on.