Pandawan

377 posts

Pandawan

Pandawan

@geekowan

Python lover 🏳️‍🌈 https://t.co/WPxwRvfYMA

Katılım Kasım 2016
426 Takip Edilen40 Takipçiler
Pandawan retweetledi
Heu?reka
Heu?reka@Heu7reka·
NOUVELLE VIDÉO !!! - Mais au fait, il s'est passé quoi en 1929 ? - Quoi ? Tu veux parler de la crise de 29 ? - Ben oui ! - Mais qu'est-ce qu'on s'en fout ? - Ouais t'as raison c'est question de merde... 🙃youtu.be/R_8sjao6tGI
YouTube video
YouTube
Français
15
55
366
36.2K
Pandawan retweetledi
The Unicode Consortium
The Unicode Consortium@unicode·
Unicode thanks Blue Blocker, our newest Silver Sponsor! #UnicodeSponsor #s1D54F" target="_blank" rel="nofollow noopener">unicode.org/consortium/ado…
The Unicode Consortium tweet media
English
20
375
1.4K
163.7K
Pandawan retweetledi
Tom Warren
Tom Warren@tomwarren·
why did nobody tell me there’s a secret AMOLED dark mode for Discord mobile? You just tap the dark mode option 10 times and the AMOLED option appears 🤯
Tom Warren tweet media
English
289
567
5.5K
899.9K
Pandawan retweetledi
Soumith Chintala
Soumith Chintala@soumithchintala·
No More GIL! the Python team has officially accepted the proposal. Congrats @colesbury on his multi-year brilliant effort to remove the GIL, and a heartfelt thanks to the Python Steering Council and Core team for a thoughtful plan to make this a reality. discuss.python.org/t/a-steering-c…
English
59
1K
4.5K
1.4M
Pandawan retweetledi
Ólafur Waage
Ólafur Waage@olafurw·
I have an idea for a data structure, hear me out. A linked list where every node contains a hash of all the data in the nodes behind it, and every time you want to add a new node, you need about 200.000 other computers to say ok and consume the power equivalent of a small nation
English
114
2.2K
7.3K
0
Pandawan retweetledi
Shit User Story
Shit User Story@ShitUserStory·
As a… – Twitter user I want… – significant selection bias applied to polls so that… – the amplified opinions of the diminutive minority, whose selection criteria was to pay $7, become further reinforced as the status quo
Shit User Story tweet media
English
0
190
853
65.9K
Pandawan
Pandawan@geekowan·
There was even more fun than defaultdicts and Counters, if one can believe it ! #AdventOfCode
Pandawan tweet media
English
0
0
3
0
Pandawan retweetledi
depths of wikipedia!
depths of wikipedia!@depthsofwiki·
In 1999, you could log into any Hotmail account with the password “eh”
depths of wikipedia! tweet media
English
24
877
5.6K
0
Pandawan
Pandawan@geekowan·
@jdan Did that with sugar cane in Minecraft, I felt way too good
English
1
0
1
0
Pandawan
Pandawan@geekowan·
@jaceklaskowski Source code, with the collect implicitly called by the sortByKey: #L304-L309" target="_blank" rel="nofollow noopener">github.com/apache/spark/b…
English
0
0
1
0
Pandawan
Pandawan@geekowan·
@jaceklaskowski sortByKey uses a RangePartitioner that does sampling on the RDD keys to determine partition boundaries, so that partitions are evenly distributed even if the RDD keys are not. It's probably that?
English
2
0
5
0
Jacek Laskowski
Jacek Laskowski@jaceklaskowski·
I must admit I can't explain why there are two Spark jobs for this apparently simple-looking RDD-based query in #ApacheSpark 3.1.1. Can you? sc.parallelize(1 to 3).keyBy(_ % 2).sortByKey().count
Jacek Laskowski tweet mediaJacek Laskowski tweet media
English
2
1
10
0
Pandawan retweetledi
Raymond Hettinger
Raymond Hettinger@raymondh·
#Python question: What is the correct type annotation for the return value of a class method? class P: @classmethod def from_half(cls, x: int) -> ???: return cls(x * 2) class C(P): pass
English
12
10
93
0
Pandawan retweetledi
Health Nerd
Health Nerd@GidMK·
"I got COVID-19 and it was fine"
Health Nerd tweet media
English
132
4.6K
26.8K
0
Pandawan
Pandawan@geekowan·
@raymondh I do feel guilty for using obj.__class__.name and type(obj).__name__, but is there a better way?
English
0
0
1
0
Raymond Hettinger
Raymond Hettinger@raymondh·
For non-dunder methods, people readily create bound methods without guilt: seed = prng.seed sorted(words, key=str.casefold)
English
2
1
23
0
Raymond Hettinger
Raymond Hettinger@raymondh·
#Python psychology quirk: The dunder naming convention makes people feel icky when calling them directly. This natural aversion steers people away from using them as bound methods: map(parent.__getitem__, children) fetch = data_stream.__next__
English
11
8
101
0