Coffee N Code (@coffeencode3000) header
Coffee N Code (@coffeencode3000) profile picture

Come for the Coffee & Coding Tips, Stay for the Memes Let's Automate that! Real Name: Subhi Andrews

Bay Area
Joined November 2023
Photo by Coffee N Code (@coffeencode3000)Photo by Coffee N Code (@coffeencode3000)Photo by Coffee N Code (@coffeencode3000)Photo by Coffee N Code (@coffeencode3000)Photo by Coffee N Code (@coffeencode3000)Photo by Coffee N Code (@coffeencode3000)Photo by Coffee N Code (@coffeencode3000)Photo by Coffee N Code (@coffeencode3000)Photo by Coffee N Code (@coffeencode3000)Photo by Coffee N Code (@coffeencode3000)
🐍 Python Tips: How to create 1 and 2 dimensional numpy arrays.
1
2
89
Coffee N Code retweeted
Replying to @elonmusk @xai
░W░E░I░G░H░T░S░I░N░B░I░O░
1,562
1,910
835
14,974
11,152,846
Python tip: The time complexity for appending to a list in Python is O(1), but inserting is O(n). "collections.deque" has time complexity of O(1) for appending on either end.
1
14
86
4,457
The US government explicitly recommends 6 memory safe languages: C# - created by Microsoft Go - created by Google Java - created by Sun, bought by Oracle Rust - create bor Mozilla Swift - created by Apple And ... Python - create by one fucking genius on his own in his Christmas holidays - @gvanrossum. Python is an extraordinary demonstration of the impact one person (and the group they build) can have on the world. nsa.gov/Press-Room/Press-Rel…
120
495
128
3,316
800,130
Coffee N Code retweeted
vim users are the vegans of tech x
117
42
22
594
56,578
How do you build E2E test automation in your projects? Do you have your SDETs distributed across feature teams building E2E automation? Is that working? Or do you have a dedicated scrum that looks at project at hand and delivers on test infrastructure, frameworks and E2E automation? Do you use any other model? Reply.
1
1
2
351
Did you know that you could swap keys and values in a Python dictionary using dictionary comprehensions?
1
46
Replying to @sama
It is year 2070, and humans have been living on Mars in a colony established 15 years before Mars colony. Population of the colony is about 4000 humans, and there are some animals and plants that have been grown locally. Paint a picture of the life on that planet in year 2070
1
97
Python tips: Did you know you could use max() or min() instead of if-else conditionals in situations like this?
1
46
Python Challenge: Could you find the bug in the following Python code?
1
1
1
3
157
Coffee N Code retweeted
Replying to @coffeencode3000
Option D
1
1
38
Coffee N Code retweeted
325
16,079
875
207,715
5,624,110
Replying to @RealBenjizo
print(list(filter(lambda x: False if x%2 != 0 and x % 3 == 0 else True, my_numbers))) One liner that does the same thing.
1
3
339
Coffee N Code retweeted
Depressed coffee ☕☹️
24
14
2
193
5,243
As a programmer - what are clouds made of?
11
35
1
380
9,184
Not so fast!
1
67
Coffee N Code retweeted
The cost of losing focus is real. I use noise cancelling headphones. Play a white-noise playlist and the world vanishes, it's beautiful. Plus people see you wearing them and leave you alone.
10
5
1
41
2,024
Replying to @Frampini
# vim whatisvim.txt The legendary text editor in the Linux world is only for those who are masters of text manipulation and efficient coding. It is tool for those who want to transform the act of writing code into a symphony of keystrokes. ~ ~ ~ <Esc> :wq! #
1
2
7
354
Coffee N Code retweeted
Coffee is the secret of my energy. What's yours?
49
28
4
195
11,389