Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

import xml.etree, pandas as 🐼, bs4 as 🍲
url=\
https://bl.ocks.org/tonyfast/2947b4bb582e193f5b2a7dbf8b009b62
__import__('requests_cache').install_cache('signal')
import requests
response = requests.get(url)
tree = 🍲.BeautifulSoup(response.content, 'xml')
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
# Example from http://jakevdp.github.io/blog/2013/06/01/ipython-notebook-javascript-python-communication/ adapted for IPython 2.0 | |
# Add an input form similar to what we saw above | |
from IPython.display import HTML | |
from math import pi, sin | |
input_form = """ | |
<div style="background-color:gainsboro; border:solid black; width:600px; padding:20px;"> | |
Code: <input type="text" id="code_input" size="50" height="2" value="sin(pi / 2)"><br> | |
Result: <input type="text" id="result_output" size="50" value="1.0"><br> |
import java.io.FileDescriptor; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.io.PrintStream; | |
public class HelloWorld{ | |
private static HelloWorld instance; | |
public static void main(String[] args){ | |
instantiateHelloWorldMainClassAndRun(); |
#!/usr/bin/env python | |
import npyscreen, curses | |
# Incorporates code | |
# from http://www.binarytides.com/python-socket-server-code-example/ | |
# Socket server in python using select function | |
import socket, select | |
class MyTestApp(npyscreen.NPSAppManaged): | |
# socket code |