Skip to content

Instantly share code, notes, and snippets.

View tirkarthi's full-sized avatar

Karthikeyan Singaravelan tirkarthi

View GitHub Profile
* To close
** TODO Fixed with another issue https://bugs.python.org/issue26000. Close it as a superseder to https://bugs.python.org/31852
** TODO generate_tokens is made public https://bugs.python.org/issue28418. Close it as rejected with https://bugs.python.org/issue12486
** TODO Fixed with another issue https://bugs.python.org/issue26144. Close it as a superseder to https://bugs.python.org/issue34200
** TODO Patch already applied and hence close this https://bugs.python.org/issue23584
** TODO Propose closing https://bugs.python.org/issue26452 since improvements were made with https://bugs.python.org/issue12458 making original issue invalid
** TODO Propose closing since 2.7.x is in bug fix mode https://bugs.python.org/issue24063
** Propose to close https://bugs.python.org/issue33309
** Propose to close as documentation is correct https://bugs.python.org/issue33117

I use this to maintain a list of issues I have left some useful comment like reproducing, adding similar issue or adding a reviewer that helped in closure or some of the issues I have reported/fixed mainly for following up since nosy lists are hard to keep track of in the email. I mainly keep this list to keep track of my triage workload and of course for some statistics. This is a markdown version of my org file. I try to update this daily.

Current issue to track :

@tirkarthi
tirkarthi / python-bugs.org
Created September 23, 2018 15:55
An org file with some bugs while triaging
# Go to order history page
# In console see requests to https://www.swiggy.com/dapi/order/all?order_id= and hit show more to download more JSON data.
# Collect all the JSON responses in an array to form swiggy.json
from collections import defaultdict
import json
FORMAT_STRING = "{name:>30} | {price:<8} | {delivery:<10} | {gst:<5} | {discount:<5}"
orders_list = []
@tirkarthi
tirkarthi / redis_streams.go
Created August 27, 2018 11:10
A sample program using redis streams and goroutines
package main
import (
"fmt"
"github.com/go-redis/redis"
"sync"
"time"
)
func main() {
from typing import List, Dict
import sys
def get_profile_a(user_id: int, likes: Dict[str, int]) -> Dict[str, int]:
return {'user_id': user_id, 'likes': len(likes)}
def get_profile_b(user_id, likes):
return {'user_id': user_id, 'likes': len(likes.keys())}
if len(sys.argv) > 1:

Problems come in different forms

  • The website you use doesn't sort based on two or more fields.
  • You want to get an alert based on a particular condition.
  • You want to visualize the data in a different way to take a decision.

Data rich world and we can engineer solutions.

  • Most of the data you want to manipulate is structured.
  • Getting hold of the data helps you expand on the solution rather than being constrained on the current drawbacks.
@tirkarthi
tirkarthi / typos.txt
Created June 16, 2018 07:02
Output of the command : cd Docs && find . -iname '*rst' | xargs -I{} sh -c "aspell --master=en_US --extra-dicts=en_GB --ignore 3 list < {}" | sort | uniq > typos.txt
aaaa
AAAA
aaaaa
aaaaaa
aaaab
AAAABBBCCD
AAAABBBCCDAABBB
aaab
aahz
Aahz
@tirkarthi
tirkarthi / .travis.yml
Created June 8, 2018 06:50
Fix OpenJDK 9 and above certificate failures in Travis
language: clojure
lein: 2.8.1
jdk:
- openjdk8
- oraclejdk8
- oraclejdk9
matrix:
include:
@tirkarthi
tirkarthi / build-top.py
Last active March 31, 2018 12:46
Dependants list for 49305 issue
import json
from collections import OrderedDict
from pymongo import MongoClient
deps = {}
connection = MongoClient()
database = connection.crates
collection = database.crates_data