HNHacker News
TopNewBestAskShowJobs

tmarthal

204 karma · joined March 9, 2009

web analytics / math / data / java / python / awesome

los angeles, ca

submissionscomments
tmarthal··on How A 'Deviant' Philosopher Built Palantir, A CIA-Funded Data-Mining Juggernaut
That document is from 2010. ArsTechnica and other places wrote about what came about when the shit hit the fan in 2011: http://arstechnica.com/tech-policy/2011/02/the-ridiculous-pl...

From the article: "I have directed the company to sever any and all contacts with HB Gary," said the CEO of Palantir.

tmarthal··on On Hiring Developers
I think that is the author's point though: he has a lots of private repos on bitbucket that he doesn't want to share. The work history and depth of his code and such is not publicized.

Note also that this is the same for private repos hosted on github. When you are logged in, you can see the activity and commits of yourself (and your teammates) in all of the public+private repos that you have access to, but your public profile only shows public commits. This is by design.

Here is my example image, when I was doing a bunch of work at the start of the year in some private repos: http://imgur.com/4Tr3LQz The top is my public activity and the bottom one is my public+private activity. So if you're used to working out of private repos, then nothing is publicly documented and your actual github profile is not very 'deep'.

tmarthal··on From PhD to Data Scientist: Tips for Making the Transition
Well, I would posit that the majority of data science positions are in advertising and marketing optimization. I would believe that 'global food security' may be more important than social media analysis, as the original posted speculated.

Not to belittle the meaningful point, but becoming a "data scientist" at a startup or large corporation that makes their money by advertising is analogous to becoming a 'quant' on wall-street in the 80's. You have to be in it to make money, rather than caring about the types of data the developed algorithms are applied on.

tmarthal··on The Future of Programming
"I do think that it would be really cool if the actor model is like picked up by the Swedish phone company."

Does anyone have an explanation for this reference? It was at the end of the concurrency section, while talking about the distributed graph model.

~27:20

tmarthal··on Rhyming with NLP and Shakespeare
For those interested, there is a twitter bot doing exactly this with the twitter firehose.

https://twitter.com/pentametron

Singular re-tweets do not make sense, they need to be taken in pairs.

tmarthal··on Programming languages influence network
It's because the public Freebase data that this visualization is based on is far from complete. For these programming languages and other things, it is as if most of the Wikipedia articles existed on the subject, but they contained nothing but the summary information. Have to start somewhere though, Freebase is a great start for structured information associations.

You can view the CFML entry here: http://www.freebase.com/m/03tsq7 and see that the 'Influenced by' and 'Influenced' associations are empty.

tmarthal··on Plotly graphing API for Python, Matlab, R, and Arduino
python has a ton of in browser plotting mechanisms (including matplotlib inside iPython notebook files), and you can always use vincent which is a wrapper around vega to create d3 plots (svg html elements, which can be styled with CSS).

Here is the repo/tutorial for plotting with vincent https://github.com/wrobstory/vincent

[Note that vincent works great if you are using pandas for your data analysis.]

tmarthal··on GeoJSON rendering improvements
It's not a catalog, but you can use the 'extension:' search option in the command bar.

https://github.com/search?q=extension%3Ageojson&type=Code&re...

Will give you all of the results, it definitely needs a slightly better way of searching.

tmarthal··on Malibu homeowners foiled by $30K Kickstarter campaign
I also have no problem with people building businesses around a civil service. However, this is a kickstarter campaign which seems to be trying to raise money for work that has already been done.

I put the exclamation point there because it is my outsider perspective that the data has already been researched and compiled by the California Coastal Commission. An iPhone application has even already been submitted to Apple and approved (that's my understanding, their kickstarter page has changed over the last few weeks). They are raising the money so that they can "release the iPhone app for free", instead of charging for it. That is the reason for my exclamation point -- to believe that the app would compile 30k worth of purchases may be disingenuous.

tmarthal··on Malibu homeowners foiled by $30K Kickstarter campaign
It seems to me that if they really wanted to disrupt the Malibu beach scene and provide more access for the public to the beaches, that they would just release the data as an annotated geojson file, rather than raise 30k(!) to create an app that will no longer be updated in a year.

Props to them for doing a civil service, but it seems to me that it is also very-much motivated by money.

tmarthal··on What happened to innovation?
There is a Thiel Foundation fund for scientific ideas that can't get traditional academic funding: http://www.breakoutlabs.org/home.html
tmarthal··on Video on Instagram
IMHO, I think that is because no one uses the Vine app to consume vine content, so they must post to twitter to share their videos. However, with Instagram, I open up that app specifically to look at photos that people I follow in Instagram have shared.

My Instagram social network is largely independent of the other large ones (twitter, FB, G+) with only a slight overlap, so it definitely deserves its own consumption, and would also explain the reason that the vine shares are more prevalent on twitter than instagram shares.

tmarthal··on Creative usernames and Spotify account hijacking
FYI, that all units measuring physical properties named after scientists use capitalized letters for their abbreviation[1]. So the ohm (named after Georg Ohm) is abbreviated as the uppercase omega, no idea why they are different unicode values, since they do not have different meanings.

Note that omega was probably used so that the 'O' wouldn't be confused with '0', e.g. 4O would be confusing, but 4Ω is not.

[1]The tesla is abbreviated 'T', joule is 'J', etc. etc.

tmarthal··on Submit a Privacy Act Request with the NSA to see what info they have on you
Here is adobe's guide to self-signing documents: http://help.adobe.com/en_US/acrobat/using/WS58a04a822e3e5010...

This generates a .p12 file rather than a typical .pem file to be shared.

tmarthal··on Coffee vs. beer: which drink makes you more creative?
You can get an LED bacteria pen. Those will kill most of the bacteria in the water before using it to make coffee.

Something like this: http://www.amazon.com/SteriPEN-Adventurer-Opti-Handheld-Puri...

tmarthal··on Font Awesome 3.1 Released – 54 new icons, stacked, rotated, and flipped styles
It looks great! Strange that you added 4 new chevron icons { icon-chevron-sign-left, icon-chevron-sign-right, icon-chevron-sign-up, icon-chevron-sign-down} when it seems that they could been a single icon-chevron-sign, recreated by the new icon rotation statuses {icon-rotate-90, icon-rotate-180, icon-rotate-270}.
tmarthal··on Show HN: Lightweight Threads, Channels and Actors for the JVM
According to this Akka document - http://doc.akka.io/docs/akka/1.3.1/scala/dispatchers.html

"Akka supports dispatchers for both event-driven lightweight threads, allowing creation of millions of threads on a single workstation, and thread-based Actors, where each dispatcher is bound to a dedicated OS thread."

I also, would like to see the perceived shortcomings of Akka, since lightweight threads can't be the problem.

tmarthal··on On Being A Designer And A Developer: Not Quite Unicorn Rare
Can you tell me how the premise is uninformed and/or inaccurate? I am interested in learning and will definitely keep an open mind.
tmarthal··on On Being A Designer And A Developer: Not Quite Unicorn Rare
There is one difference that everyone always seems to overlook: design is very opinion oriented, development is not.

Now, it really boils down to the type of feedback that you get as a designer is much different than the type of feedback that you get as a developer. Usually "it does not look right" vice "it does not work". One is aesthetic and the other is logical.

As a developer, I find that I usually only really trust decisions made by data (via A/B testing, or what have you). Otherwise, there is a quote paraphrased as "If we are going to use someone's opinion, it may as well be mine." (< not sure who said that originally).

I think that is the chasm between the two disciplines; really why someone can't be a great brain-surgeon and psychiatrist. As a self-characterized developer, I do not want to spend time arguing about the superiority of my artistic opinions. If this is a characteristic of the 'fixed' mindset that the article linked, well then.

tmarthal··on Lessons learned defying Joel Spolsky with Django
Obviously there are subtleties to things that may not be apparent, but his example makes sense to me and so does the SQL queries that are generated. The first query is operating at the "object level" and the second is operating at the "attribute level".

The first is retrieving the object and checking if it exists, and the second is just checking the parent's foreign key. Not sure that they are really the same query, if you have unenforced foreign keys.

This is not "dumb", this is analogous to checking if a pointer is null or that the contents of the pointer are null (which is a distinction that some people want to make).

tmarthal··on So you want to do a PhD (2012)
The last picture in this article accurately describes what doing a PhD is all about: https://news.ycombinator.com/item?id=1588727

Pushing the envelope of human knowledge, one pixel at a time.

tmarthal··on Foursquare raises $41 million Series D round
It really has turned into a great local discovery platform via their personal recommendations. As an anecdote, I am not from San Francisco, and visited the bay area in February. I checked into my hotel, 4sq knew that I had travelled over a 100 miles and most likely 'classified' me as a tourist. I checked into the Yerba Buena Gardens, the "people usually go to this burger place afterwards."; was a great place to eat.

I went up to the wharf, and checked in. With no ideas that there are sealions in the area, 4sq said that I should go check them out. So I walked over to Pier 39. They suggested Market Square, etc etc.

I know it is just a singular experience, and my local Los Angeles usage has definitely declined, but everytime that I travel I definitely use it to discover what there is to do. From "real" people in my same cohort.

tmarthal··on Google Maps One-Hand Zoom on iPhone
You can double-tap with spread fingers to zoom back out. A semi-one handed gesture.
tmarthal··on Google Maps One-Hand Zoom on iPhone
I personally did not update my phone iOS from 5.x to version 6 until Google released their Maps application about 4-6 weeks after the major version upgrade. I know of at least 2 other people that also did not update for the exact reason that they did not want to use the Apple/TomTom maps and directions.
tmarthal··on Callbacks are imperative, promises are functional
In POSIX thread programming the "state machine" that you talk about is commonly called a Condition Variable. https://computing.llnl.gov/tutorials/pthreads/#ConVarOvervie...
tmarthal··on Philosophy and the practice of Bayesian statistics [pdf]
As an aside, I just want to thank you for making the project/book text available as iPython notebooks. I haven't seen a mathematical writeup as beautiful and interactive as the chapters that you've put out. I've only had time to go through a couple of them, but it really is a treat.

Also, I've learned so much more about how people use python to do analysis and all sorts of other things through ipynb files than reviewing traditional python libraries/code. I wish more people would publish using them.

tmarthal··on Most popular JVM memory configurations
Have you profiled any Grails applications? It was a 1.x grails system. I no longer work on the codebase, but we were running into permgen space above 256MB, we believed because of the way that the dynamic classes were created/never-destroyed in Groovy.
tmarthal··on Just Use Sublime Text
My .vimrc is the following: <quote>set number</quote> Which shows the line number no matter what in a vi editor.

Jumping to a loop on the screen is as easy as viewing the line the loop is on, then hitting colon+line number (e.g. ":68"). This might be what you're referring to with a "hard jump".

I also use the "number+command" shortcuts quite a bit. If you want to jump up/down 20 lines (or 2000), then "2000k" or "2000j" will move the cursor up 2000 lines or down 2000 lines. Also a hard jump.

But to find an occurrence of a word at the end of the file, the typical search sequence is the following: 1) :$ - this jumps to the end of the file ($ is a common regex meaning 'end of', the same way that '^' means beginning of) 2) ?word - this does a backwards search for the word. this is at the bottom of the file, searching upwards 3) n - this jumps to the next occurrence of the word

So thats like 5 keystrokes not including typing in the word. Jumping around and viewing files really is neat with vi/vim.

tmarthal··on Without even knowing: the HN post I missed
It's interesting that you mention custom mapmaking. Google provides a similar service - creating a KML file hosted from a Google Spreadsheet. Here is the newest version: http://www.google.com/earth/outreach/tutorials/spreadsheet.h...

I've recommended it to a non-technical family member (he's a realtor) and they were able to create and host their own kml-based maps within an hour's time. Note that it does not use polygon based building markers, but rather addresses (and coordinates), which are simpler for non-GIS people to use.

tmarthal··on The Apprentice Programmer
Have you ever seriously considered PhD programs? No one that I've ever heard of has ever had to pay tuition to attend college for their PhD (myself included). It is usually a "work exchange for education"; a research or teaching assistantship while taking classes and writing a dissertation.

And to say that the learner does not get to decide what they will research for their dissertation is just flat-out wrong. It is assumed that the student will pick what to write their dissertation on - they need to study it in-depth for 2-4 years and picking something that they do not find interesting will most likely lead to dissatisfaction (but it is still a choice).

Granted, a PhD program requires a prerequisite BS degree or equivalent which is generally not paid for and follows a typical regime. However, not all knowledge is the same - highly specialized "brink of human understanding" type learning is paid, unstructured and definitely has no exercises to complete (since the one learning them has the most understanding of the topic).

← PreviousPage 3 of 5Next →