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')
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# 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> |
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 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(); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/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 |
NewerOlder