Goal of architecture: to minimize human resources required to build and maintain the required system
A good indication of a badly designed system: look at the cost of each line of code, and the productivity of each engineer over time
#!/usr/local/bin/python3 | |
def ipPrefixRange(addr, start, end): | |
""" | |
@param addr valid String of ip address e.g. 192.168.0.0/16 | |
@param start int range to start iteration from | |
@param end int range to end the iteration with | |
@return [String] list of string of possible prefixes between start and end | |
""" | |
assert start <= end |
LTCM is a hedge fund founded by the bond arbitrage group from Salomon, plus Nobel laureate economists (Merton and Scholes) from Harvard.
They operated from 1994 to 1998, culminating in $1 turning into over $4 for each dollar invested in 1993 (and a $4.5 billion total capital), and losing it all (each $1 worth 33 cents) in 5 weeks in 1998. The Fed organized a bailout operation to ingest capital to LTCM from major Wall Street banks, out of fear of LTCM collapsing triggering a series of crises.
"Advocate for yourself. Honestly that's the key to everything here. If you don't, people are going to make assumptions, and such assumptions are usually wrong." | |
-- Adam | |
"Regarding career: First, deepen your technical skills, especially transition from a good programmer (which you probably were already in college) to a good engineer (who understands software and systems as a whole, including scalability, maintainability, flexibility, lifecycle, dependencies, risks, ...) | |
Then, start building out soft skills. These might have the biggest impact on your career in the long run. Like presenting your work, influencing others, mentor people, creativity and innovation ..." | |
-- Jochen | |
"I have two kinds of problems, the urgent and the important. The urgent are not important, and the important are never urgent." -- Eisenhower | |
"No idea is really bad, unless we are uncritical. What is really bad is to have no idea at all." |
#include <iostream> | |
#include <string> | |
#include <vector> | |
struct MyObject { | |
MyObject(const char * c) : content(c) { | |
std::cout << "default ctor\n"; | |
} | |
MyObject(const MyObject& rhs) : content(rhs.content) { |
import os | |
import glob | |
import csv | |
from xlsxwriter.workbook import Workbook | |
for csvfile in ["out.csv"]: | |
workbook = Workbook(csvfile[:-4] + '.xlsx') | |
worksheet = workbook.add_worksheet() | |
with open(csvfile, 'r', newline='', encoding='utf-8') as f: | |
reader = csv.reader(f) |
#!/usr/bin/env python3 | |
import argparse | |
import glob | |
import json | |
import requests | |
import os | |
from json.decoder import JSONDecodeError | |
# import hack |