Brantley Harris 🪐

4.5K posts

Brantley Harris 🪐

Brantley Harris 🪐

@deadwisdom

This place is trash. Leave it. @[email protected]

Beigetreten Ekim 2008
548 Folgt400 Follower
Omar Khattab
Omar Khattab@lateinteraction·
Relatedly, it's really sad that the present didn't end up being Ruby, but instead its far less elegant, though more pragmatic, sibling Python. It's truly an incredible language. Ruby code feels so alive that Python always felt truly dull and even genuinely brittle in comparison.
English
3
0
11
2K
colinhacks/zod
colinhacks/zod@colinhacks·
Is there a data format spec that's like JSON Schema but capable of representing a wider range of types? Strings, booleans, numbers, null, objects, arrays (of course) Fixed-width numeric types (int16, etc) Date BigInt Symbols Undefined Bytes Byte arrays/buffers
English
42
0
72
39.4K
Brantley Harris 🪐
Brantley Harris 🪐@deadwisdom·
Seriously why is anyone on this platform still?
English
5
0
0
69
Elliott Marquez
Elliott Marquez@techytacos·
Wanna know something cool, and gross that you should never probably do with the Web? You can convert Web Components to primitives and do: +<my-num val=3/> + +<my-num val=5> == 8 or console.log(MyEl) // 'Eight' using [Symbol.toPrimitive]. Check it out: #gist=64bc875cebc6ed20a76df10aa5710ed2" target="_blank" rel="nofollow noopener">lit.dev/playground/#gi
English
4
1
19
1.5K
Brantley Harris 🪐
Brantley Harris 🪐@deadwisdom·
@argonautcode @WesternDigs I see it as part simulation and part game, where you would let your organisms go and then edit them in batches of experiments, spending points to give them slightly different characteristics and then see which batches do well.
English
1
0
0
24
Jason Huggins 🛠️
While a whole bunch of stuff is down, I wonder if this is a good time to talk about decentralized distributed site monitoring? 😀
English
2
1
9
982
kitze 🛠️ tinkerer.club
kitze 🛠️ tinkerer.club@thekitze·
*sigh* the tech bubble thinks that regular users give a shit about PWA not being available on iOS. do you donuts understand that non-dev ppl never add A WEB APP to their homescreen?! they only get frustrated when a website doesn't have a native app. ask your family and friends.
English
112
69
1.3K
219.5K
Brantley Harris 🪐
Brantley Harris 🪐@deadwisdom·
@hugs I wanted a cartoon whale SANS jizz looking water coming out of the top of it. It cannot do this.
English
0
0
1
17
Jason Huggins 🛠️
ChatGPT is the king of gaslighting. I'm starting to think it enjoys f'ing with its users.
Jason Huggins 🛠️ tweet mediaJason Huggins 🛠️ tweet mediaJason Huggins 🛠️ tweet mediaJason Huggins 🛠️ tweet media
English
7
0
13
854
Brantley Harris 🪐
Brantley Harris 🪐@deadwisdom·
@willmcgugan In data processing, you often make a system and it's fine, but then suddenly you get a 10x jump in data coming in. Now you're optimizing.
English
0
0
2
121
Will McGugan
Will McGugan@willmcgugan·
Does anyone consciously micro optimise their Python code? To put it another way, what use cases of Python really care about raw execution speed?
English
31
2
38
14.1K
James Q Quick
James Q Quick@jamesqquick·
How would you solve this? 👇 You need to use an external API for a relatively small set of data, but don't want to exhaust API calls too quickly.
Brad Garropy@bradgarropy

I'm running a @remix_run app where I hit the @YouTube API on every load to fetch my latest videos. What's the easiest way to cache this information so I don't hit the daily quota?

English
9
0
8
5.7K
Brantley Harris 🪐
Brantley Harris 🪐@deadwisdom·
@antirez No, it’s different. It has a different approach. That’s okay. As you understand Python you will find many of the decisions surprisingly mindful even if they go against your initial reactions. I’ve always found those tools to be the most impactful.
English
0
0
2
81
antirez
antirez@antirez·
My tweet about Python inability to easily implement factorial in a native way was just an example. In the latest five minutes I could not: 1. use a list as key of a dictionary. Why? 2. use random.shuffle() with a string. Lists and strings must have .shuffle() for good design.
English
8
1
28
14.5K