Skip to content

Instantly share code, notes, and snippets.

View manisnesan's full-sized avatar
🎯
Focusing

Manikandan Sivanesan` manisnesan

🎯
Focusing
View GitHub Profile
@jph00
jph00 / polya.md
Last active April 14, 2025 14:29
Summary of Polya's "How To Solve It With Code"

A guide to George Polya's "How to Solve It"

Introduction

George Polya (1887-1985) was a Hungarian mathematician and educator who revolutionized our understanding of problem-solving and teaching. While he made significant contributions to mathematics, his most enduring legacy is his insights into how people learn and solve problems. His 1945 book "How to Solve It" has influenced educators across numerous fields, extending far beyond mathematics.

Polya's Teaching Philosophy

Polya's approach centered on three key principles. First, he championed active learning, believing students learn best by discovering solutions themselves rather than being told answers. Second, he emphasized heuristic thinking - the art of guided discovery and learning from experience, viewing problem-solving as a skill that can be developed through practice. Third, he developed sophisticated questionin

@dienhoa
dienhoa / SSD.ipynb
Created August 21, 2022 08:27
SSD Implementation using fastai
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@manisnesan
manisnesan / gist:324f3f55f9f781d83c5d6ea63489595b
Created January 18, 2021 15:09 — forked from xcodeit/gist:3726868
General principles for good URI design
General principles for good URI design:
Don't use query parameters to alter state
Don't use mixed-case paths if you can help it; lowercase is best
Don't use implementation-specific extensions in your URIs (.php, .py, .pl, etc.)
Don't fall into RPC with your URIs
Do limit your URI space as much as possible
Do keep path segments short
Do prefer either /resource or /resource/; create 301 redirects from the one you don't use
Do use query parameters for sub-selection of a resource; i.e. pagination, search queries
@manisnesan
manisnesan / recommendation-systems.md
Last active November 18, 2020 02:39
Recommendation Systems
Topics Curated/Authored By Link
Intro elipapa https://gist.github.com/elipapa/147ffde1694626d63976480ef95001f7
Baseline Recommender System in PyTorch Eugene Yan https://eugeneyan.com/writing/recommender-systems-baseline-pytorch/
Basics, Alternating Least Square(ALS), Collaborative Filtering, Youtube engine, Movie Recommendations, Companies, Recsys, Bandits, Frameworks, Evaluation Pratik Bhavsar https://www.notion.so/Recommendation-a97d984c25e148c6a83001f0116316e4
RecSys Eugene Yan https://eugeneyan.com/writing/recsys2020/
Overview tranctan https://gist.github.com/tranctan/6706e21ea0efacdb07247fa09a5282a4
MultiModal Ted Dunning https://www.slideshare.net/tdunning/building-multimodal-recommendation-engines-using-search-engines
@manisnesan
manisnesan / fastai.md
Last active January 17, 2022 01:39
FastAI Landing Page
@sfloess
sfloess / Linux.md
Last active January 13, 2025 20:43
Linux helpful tips and tricks

Linux

Helpful tips and tricks for Linux.

How-To

Quickies

  • gvim doesn't resize:
    • edit ~/.bashrc
    • export GVIM_ENABLE_WAYLAND=true
  • Change MAC Address: macchange -r [interface]. For example: macchange -r wlp3s0
  • Display max supported RAM: dmidecode --type 16
@choongng
choongng / notes.md
Last active December 29, 2019 23:01
Swift for TensorFlow quick start with Docker on Mac

A good way to get a taste of Swift for Tensorflow language and tools is to set it up with Jupyter with the fastai Swift notebooks. I wanted a quick setup, which the Mac install experience currently not, so instead I installed the release binaries in a Ubuntu container via Docker. The setup process for this scenario is not well documented, so here it is for you / future me.

What we're about to do is install the S4TF 0.4 release and the fastai v3 Swift notebooks on Ubuntu 18.04. Generally we follow the swift-jupyter docker file, but install cpu-only release versions of the packages.

Below are some of the references I looked at:

Rationale for S4TF and background reading

https://github.com/tensorflow/swift/blob/master/docs/WhySwiftForTensorFlow.md https://github.com/tensorflow/swift/blob/master/docs/DifferentiableFunctions.md

@sfloess
sfloess / JBoss.md
Last active February 24, 2022 18:17
JBoss Tips and Tricks

JBoss

Helpful tips and tricks for JBoss.

Miscellaneous

  • Set JAVA_OPTS: /etc/default/jboss-eap.conf

Properties

  • Modified Accented Characters on REST calls: if your REST calls containing accented characters are being modified, add the following to your standalone-full.xml:
from fastai.vision import *
from fastai.script import *
from torch import nn
from fastai.metrics import top_k_accuracy
path = untar_data(URLs.CIFAR)
data = ImageDataBunch.from_folder(path, valid='test')
class block(nn.Module):
def __init__(self, n_in, n_out, two_d=True):
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.