Skip to content

Instantly share code, notes, and snippets.

View install_go_csv2parquet.sh
wget https://golang.org/dl/go1.16.7.linux-amd64.tar.gz;
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.16.7.linux-amd64.tar.gz;
export PATH=$PATH:/usr/local/go/bin;
export GOPATH=$HOME/go;
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin;
go get github.com/fraugster/parquet-go/cmd/csv2parquet;
@fhk
fhk / lp_solver_wasm.md
Last active May 28, 2021
Compiling a linked linear programming solver library
View lp_solver_wasm.md

Linear Programming Solver running in the browser?

So I wanted to see if I could get a solver running in the browser.

Why you might ask? Well its pretty typical to need to deploy a back end for a webapp or even to have a specific install on your OS.

This makes things clunky if we wanted to say:

  1. Visualize solutions in realtime using some js libs on the client side
  2. Solve models on the client side of a web app
View Cali_broadband.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fhk
fhk / RF_modeling_mmWave_propagation.ipynb
Created Jun 25, 2018
RF_modeling_mmWave_propagation
View RF_modeling_mmWave_propagation.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fhk
fhk / make_playlist_from_songs.py
Created Nov 21, 2016
csv to Google API youtube playlist maker
View make_playlist_from_songs.py
import httplib2
import os
import sys
import csv
from apiclient.discovery import build
from apiclient.errors import HttpError
from oauth2client.client import flow_from_clientsecrets
from oauth2client.file import Storage
View US.txt
Depends. What kind of field are you in? Are your skills in demand in NYC right now? Do you know anyone else in your field in the city who you can ask?
I'm an Australian who has been living in NYC for over a year now, and I get asked this constantly. I usually answer the questions from the point-of-view of a Web Designer, which may or may not be useful to you, depending on your situation.
But here goes:
Americans, though they speak English are not like Australians
Even though you've watched them your whole life on TV and in the movies, you're still not going to arrive attuned to the nuances of the American workplace culture.