- a great speaker, content is usually good as well - https://www.youtube.com/watch?v=_GP9OpZPUYc
- wheels - https://www.youtube.com/watch?v=02aAZ8u3wEQ
- ML versioning - https://www.youtube.com/watch?v=jkfh2PM5Sz8
- pinterest migrating from py2 to py3 - https://www.youtube.com/watch?v=e1vqfBEAkNA
- the walrus operator - https://www.youtube.com/watch?v=6uAvHOKofws
- maintaining python projects - https://www.youtube.com/watch?v=9G2s1TN9QQY
- how to think about data viz - https://www.youtube.com/watch?v=vTingdk_pVM
- testing in data science - https://www.youtube.com/watch?v=0ysyWk-ox-8
- multiprocessing tips - https://www.youtube.com/watch?v=5dMOYf0b_20
- releasing instagram every 7 minutes - https://www.youtube.com/watch?v=2mevf60qm60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2009 The Go Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
package mystrconv | |
import "errors" | |
var errNotInt = errors.New("not an int") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math" | |
"math/rand" | |
"time" | |
) | |
func main() { |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.0.devklarka.cz | |
*.05.cz | |
*.0e.cz | |
*.0oo.cz | |
*.1.devklarka.cz | |
*.10.devklarka.cz | |
*.1001hry.cz | |
*.100letvyroci.cz | |
*.100py.cz | |
*.11.devklarka.cz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://letsencrypt.org/caaproblem/ | |
import re | |
import gzip | |
from tqdm import tqdm | |
fn = 'caa-rechecking-incident-affected-serials.txt.gz' | |
rr = re.compile(r'[\[\]\s]') | |
domains = set() | |
with gzip.open(fn, 'rt') as f: | |
for ln in tqdm(f): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import re | |
import itertools | |
from urllib.request import urlopen | |
from urllib.error import HTTPError | |
import lxml.html | |
import lxml.etree | |
from jellyfish import levenshtein_distance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rok_zapisu | pocet | |
---|---|---|
2019 | 25385 | |
2018 | 37401 | |
2017 | 39699 | |
2016 | 37233 | |
2015 | 34413 | |
2014 | 151399 | |
2013 | 26487 | |
2012 | 26160 | |
2011 | 26515 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go test --bench . | |
goos: linux | |
goarch: amd64 | |
BenchmarkLines/10000000B/25/ragged:false 100 11124454 ns/op 898.92 MB/s | |
BenchmarkLines/10000000B/100/ragged:false 300 4151054 ns/op 2409.03 MB/s | |
BenchmarkLines/10000000B/1000/ragged:false 1000 1321200 ns/op 7568.87 MB/s | |
BenchmarkLines/10000000B/10000/ragged:false 2000 1162743 ns/op 8600.35 MB/s | |
BenchmarkLines/100000000B/25/ragged:false 10 113038763 ns/op 884.65 MB/s | |
BenchmarkLines/100000000B/100/ragged:false 30 40415252 ns/op 2474.31 MB/s | |
BenchmarkLines/100000000B/1000/ragged:false 100 18977939 ns/op 5269.28 MB/s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url | length | |
---|---|---|
http://dataor.justice.cz/api/file/sro-full-praha-2018.xml | 3355483240 | |
http://dataor.justice.cz/api/file/sro-full-praha-2017.xml | 3354586558 | |
http://dataor.justice.cz/api/file/sro-full-praha-2016.xml | 3293796959 | |
http://dataor.justice.cz/api/file/sro-full-praha-2019.xml | 3280192120 | |
http://dataor.justice.cz/api/file/sro-full-praha-2015.xml | 3218226758 | |
http://dataor.justice.cz/api/file/sro-full-praha-2014.xml | 3124904235 | |
http://dataor.justice.cz/api/file/sro-actual-praha-2019.xml | 3059764522 | |
http://dataor.justice.cz/api/file/sro-full-praha-2013.xml | 3029513067 | |
http://dataor.justice.cz/api/file/sro-actual-praha-2018.xml | 3029491011 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alexa & Katie | |
All or Nothing | |
Angel of the Lord 2 | |
Another Life | |
Backstage | |
Barbie Dolphin Magic | |
Basketball or Nothing | |
Beats | |
Black Mirror | |
Captain Underpants: The First Epic Movie |
NewerOlder