- Name: Saksham Arora
- Organisation: Python Software Foundation
- Sub-Organisation: DFFML - DataFlow Facilitator for Machine Learning
- Project: Integrating Image Processing into DFFML
- Proposal: https://blogs.python-gsoc.org/media/proposals/GSoC_2020_Proposal_DFFML_-_PSF.pdf
- Name: Yash Lamba
- Organisation: Python Software Foundation
- Sub-Organisation: DFFML
- Project: Adding Machine Learning Models to DFFML
- Proposal: https://blogs.python-gsoc.org/media/proposals/GSoC_Proposal_for_PSF__DFFML2.pdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let listOfRecentContacts = document.getElementsByClassName("_3j7s9"); | |
console.log("listOfRecentContacts.length = " + listOfRecentContacts.length); | |
var eventToSwitchMessageBox = new MouseEvent('mousedown', { | |
bubbles: true, | |
}); | |
let count =1; | |
let openMessageBox = setInterval(function(){ | |
// if(count>listOfRecentContacts.length) { | |
if(count>5) { | |
console.log("Clearing interval with clearInterval..."); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://retropie.org.uk/forum/topic/2295/runcommand-warning-if-voltage-temperature-throttling | |
#Flag Bits | |
UNDERVOLTED=0x1 | |
CAPPED=0x2 | |
THROTTLED=0x4 | |
HAS_UNDERVOLTED=0x10000 | |
HAS_CAPPED=0x20000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
import time | |
import random | |
import sys | |
def print_same_line(text): | |
sys.stdout.write('\r') | |
sys.stdout.flush() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Tqdm Download Hook | |
Lei Mao | |
University of Chicago | |
Modified from https://github.com/tqdm/tqdm/blob/master/examples/tqdm_wget.py | |
""" | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
EPSILON = 1e-10 | |
def _error(actual: np.ndarray, predicted: np.ndarray): | |
""" Simple error """ | |
return actual - predicted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Below are the Big O performance of common functions of different Java Collections. | |
List | Add | Remove | Get | Contains | Next | Data Structure | |
---------------------|------|--------|------|----------|------|--------------- | |
ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array | |
LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List | |
CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array |