Babak

1.2K posts

Babak

Babak

@bkeyvani

Pythonista, Data Analyst, Web Developer, Machine Learning enthusiast / Data Scientist-to-be, Technologist, Geek, Aspiring Robotisist, & Hobbyist

Katılım Ocak 2009
731 Takip Edilen141 Takipçiler
Sabitlenmiş Tweet
Babak
Babak@bkeyvani·
A computer scientists' geeky scary #Halloween office decoration #cs #geek
Babak tweet mediaBabak tweet mediaBabak tweet mediaBabak tweet media
English
1
0
1
0
Babak
Babak@bkeyvani·
I've included the diff of `dis.dis` of both `f1` and `f2` on the top, and removed the line numbers for a cleaner diff. 2/2
English
0
0
0
4
Babak
Babak@bkeyvani·
Hey @codewithanthony Thanks for the great video explanations. I was wondering if you could shed some light on the following. I can't figure out why the comparison in `f2` evaluates to `False`. Doesn't python evaluate the right hand of the `==` first? 1/ 2 #Python
Babak tweet media
English
1
0
0
26
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
3 ways to delete in insert mode - build edits you can repeat with dot: • ctrl-h – Delete previous char • ctrl-w – Previous word • ctrl-u – Entire line (except indent) 👉 Read the tip: bit.ly/3onx4CM 📨 Subscribe for more: bit.ly/vimtricks
English
2
13
112
12K
Babak retweetledi
Adi Polak
Adi Polak@AdiPolak·
Stanford has released Prof. Manning's NLP course for free (!!!) on Youtube if you are interested in diving deeper into NLP. It starts with the very basic word2vec and expends to: -> Domain adaptation for supervised sentiment -> Retrieval augmented in-context learning -> Advanced behavioral evaluation -> Analysis methods -> More NLP methods Happy A.B.L y'all! youtube.com/watch?v=PSGIod…
YouTube video
YouTube
English
10
338
1.7K
270.1K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Stay in search mode in Vim by using Ctrl-g and Ctrl-t after searching for a pattern, instead of pressing enter. Refine your pattern faster this way. Read the tip: bit.ly/2Gq6p6u Subscribe for free Vim tips: bit.ly/vimtricks
English
2
18
153
16.7K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Quickly add empty lines above and below with Unimpaired 👉 bit.ly/3aC7uDq [ + space - Add line above ] + space - Below According to our stats, this is the most hated VimTrick we've published. 🤷‍♂️ 📨 Subscribe for (better) #vim tips: bit.ly/vimtrickspace
GIF
English
2
15
161
16K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Vim's gn command will go to the next match and select it. On the blog post, we show how to build repeatable operations by combining this with other commands. 👉 Read the tip: bit.ly/3rUgUS3 📨 Subscribe for more: bit.ly/vimtricks
English
0
14
81
10K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Use g; to jump back to your last change in Vim: • :changes - Show list of changes • g; - Jump to previous • g, - Jump to next 👉 Read the tip: bit.ly/2G0u0dL 🖥️ Watch the tip: bit.ly/31zYqvM 📨 Join for weekly Vim tips: bit.ly/vimtricks
English
0
13
104
9.9K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Sort lines in Vim: • :sort - sort all lines • :sort! - sort in reverse • :sort u - remove dupes and sort • :sort i - ignore case • :sort n - sort numerically 👉 Our tutorial has more ways: bit.ly/3gxMUFm 📨 Subscribe for weekly Vim tips: bit.ly/vimtricks
GIF
English
0
12
161
13.4K
Babak retweetledi
Java Guides
Java Guides@GuidesJava·
SQL in a nutshell:
Java Guides tweet media
English
7
429
1.7K
143K
Babak retweetledi
Chris Staudinger
Chris Staudinger@ChrisStaud·
Data structures form the foundation of programming. Here’s a straightforward guide to get you started (with visuals):
Chris Staudinger tweet media
English
17
82
347
49.7K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Jump between methods or functions in Vim with ]m: • ]m jump to beginning of next method • ]M end of next • [m beginning of previous • [M end of previous 👉 Read the full tip: bit.ly/31aCtDo 📨 Subscribe for weekly Vim tips: bit.ly/vimtricks
GIF
English
0
11
98
10.8K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Did you know you can access man pages from Vim? • leader K - Press with the cursor on any word to open the man page for that command • :Man command - Open that command's man page 👉 Use cases on the blog: bit.ly/30f2aS9 📨 More Vim tips: bit.ly/vimtricks
English
0
13
45
9K
Babak retweetledi
Nikki Siapno
Nikki Siapno@NikkiSiapno·
If you want to know the secret to optimizing SQL queries, open this: 🧵
Nikki Siapno tweet media
English
36
422
1.8K
242K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Use to undo all your changes in insert mode, but stay in insert mode. I like this better than using and u and then reentering insert mode. Read the tip: bit.ly/36zOCEq Subscribe for more tips like these: bit.ly/vimtricks
English
2
13
159
23K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Change case inside a substitution pattern: • \U – uppercase everything after • \L – lowercase • \u – uppercase next char • \l – lowercase • \e or \E – stops changing 👉 Read the tip: bit.ly/2Joqo78 📨 Sign up for our Vim tips newsletter: bit.ly/vimtricks
English
0
24
145
19.9K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Extract lines from a file by visually selecting them and then using :w path/to/file Then reselect the last visual selection with gv and press d to delete. 👉 Tutorial: bit.ly/36SvyAb 📨 Subscribe for weekly Vim tips: bit.ly/vimtricks
English
1
26
201
27.6K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Use & in your replacement patterns to insert the matched text. For example, adding markdown links to URLs: %s/https.*/[&]()/g 👉 Read the tip: bit.ly/35pafab 📨 Subscribe to our newsletter: bit.ly/vimtricks
English
5
46
388
36K
Babak retweetledi
VimTricks
VimTricks@vim_tricks·
Did you know Vim can read and edit Zip and other archives out of the box? Works with gzip, tar, and even files that use Zip under the hood like xlsx and docx! 👉 Read the post: bit.ly/31J7vlG 📨 Get our newsletter: bit.ly/vimtricks
English
2
14
117
15.9K