HNHacker News
TopNewBestAskShowJobs

shazeline

125 karma · joined May 31, 2012

https://shahidchohan.com
submissionscomments
shazeline··on Plane crashes, overturns during landing at Toronto airport
It was gusting at 33kts.

33kt/hr * 1.15mi/kt * 1.609km/mi ~= 61km/hr.

The weather app was right. Just different units.

shazeline··on Qanat
There was an interesting problem about qanats and excavation cost minimization in the 2015 ICPC World Finals problem set.

(Problem H) https://icpc.baylor.edu/worldfinals/problems/icpc2015.pdf

shazeline··on Show HN: A Machine Learning Model for Salary Estimation
You can probably get away with undergraduate degree graduation year as a rough proxy for age.

age(grad_year) ~= (2016 - grad_year) + 22

shazeline··on Bootstrap 4 alpha

  <!-- open graph bullshit -->
Line 22: view-source:http://themes.getbootstrap.com/products/application
shazeline··on Deep learning
You generally don't know if you've reached a suitable maxima, which is why it is good to run a nondeterministic optimizer a few times (if computation power allows) and see if there are any reliable parameters form there.

There are also somewhat better-than-random strategies such as Bayesian optimization and particle swarm optimization that can help you to search more efficiently.

shazeline··on Postgres CLI with autocompletion and syntax highlighting
Cool! I think this project is really awesome and your blog is full of interesting things. Keep up the great work!
shazeline··on Postgres CLI with autocompletion and syntax highlighting
Is there any way to set tcpKeepAlive=true, ssl=true, and specify a sslrootcert (for Redshift use)?
shazeline··on Top data mining algorithms in plain English
CART forms the basis of the decision trees used by scikit-learn's implementation of random forests [1]. CART may be old, but definitely not outdated.

[1] https://github.com/scikit-learn/scikit-learn/blob/master/skl...

shazeline··on Lyft Raises $530M in Fight with Uber
I would argue that an increase in ride-sharing usage reduces traffic congestion.
shazeline··on Show HN: Opinionated Dress Color Simulation
You're right. But it's already known that the actual dress is "blue and black" as someone found it on amazon. It's essentially the picture that is creating the ambiguity.
shazeline··on Show HN: Opinionated Dress Color Simulation
I did some basic color analysis here.

http://shahidchohan.com/resolving-the-dress-color-debate/

shazeline··on Replicating SQLite using Raft Consensus
I skimmed the source and didn't see anything regarding leader election. Am I missing something or is this implementation encapsulating some of the underlying terminology/analogies traditionally used by Raft?
shazeline··on Introducing Streaming K-Means in Spark MLlib 1.2
One common approach is to look for the elbow in the curve <metric> vs K (number of clusters). This is essentially finding the number of clusters after which the rate of information gained/variance explained/<metric> slows. I believe it's possible to binary search for this point if you can assume the curve is convex.
shazeline··on Students Gain Access to Files on Admission to Stanford
Current UCLA student. I just sent a request. Waiting to see what happens.
shazeline··on Machine learning isn't Kaggle competitions
I think it is more accurate to say that data science isn't Kaggle. The process of taking a data set and fitting it to the most robust model is certainly machine learning.
shazeline··on Analysis of Over 2,000 Computer Science Professors at Top Universities
I wrote a quick script to generate a list similar to (but not as deep or well-annotated as) Prof Palsberg's.

https://gist.github.com/shazeline/d9881d06be31a59a93d3

It's a BFS for Google Scholar seeded with Herbert Simon.

shazeline··on Show HN: Postman – A command-line utility for batch-sending email
postmaster
shazeline··on Show HN: March Madness for Hackers
Yeah, trg2 would need to put all the edge case rules towards the beginning. That, or just put the basic rules at the beginning and have separate conditionals at the end to handle the edge cases.
shazeline··on WTFs by programming language repository on GitHub
reminds me of commit logs from last night

http://www.youtube.com/watch?v=V44kscaJe3M