Jinghao Shi

Buffalo, NY

jhshi.me

Age: 27

Smart data structures and dumb code works a lot better than the other way around. ---- Eric S. Raymond

Jun
30
comment Unable to checkout msm source code for Android Hammerhead kernel
Thanks for sharing! Solved my pain. Also would appreciate it if anyone points out announcement/document for this.
Jun
26
awarded Notable Question
Jun
14
awarded Nice Question
Jun
7
comment list and counting repeat letters
group_by is exactly what I'm looking for. Thanks!
Apr
16
awarded Supporter
Apr
16
awarded Autobiographer
Apr
16
comment how to split a pcap file into a set of smaller ones
Works great! Thanks!
Apr
15
comment scapy get packet's arrivals time
Thanks! I've digging this for hours. BTW, it's also discussed in this thread and also see wireshark doc.
Mar
17
awarded Yearling
Mar
11
awarded Supporter
Jan
12
awarded Popular Question
Dec
6
awarded Autobiographer
Dec
5
comment Create strings with all possible combinations
That sounds like exactly what itertools.product for. Instead of figuring out how to do it manually, how about trying to make itertools work in your environment?
Dec
1
comment File, strip each line and add to key in dictionary
Why "without any imports"? I thought in python you just "import solution"
Nov
26
awarded Autobiographer
Nov
26
awarded Supporter
Nov
25
awarded Supporter
Nov
18
awarded Autobiographer
Nov
18
comment How to remove figure caption prefix "figure" in beamer
somehow this didn't work, I still see the "Figure" prefix.
Nov
13
comment Hide time in Android notification without using custom layout
builder.setWhen(0) removed the time.
1 2 3 4 5