Better HN
topnewbestaskshowjobs
Log inSign up

agentq

59 karma · joined May 3, 2009 (17y ago) · 39 submissions

Trader
Submissions

comment 4y ago · link · parent

I researched & prototyped (in R), and ultimately put into production (C++) a core set of spectral risk analysis analytics that replaced outdated VaR and vol forecasts for an extremely large asset management firm and left immediately afterwards. Technically speaking, guided risk mgmt/investment decisions at the trillion-dollar scale, ran as-is for 8-10 years before being recently re-implemented in some other language.

comment 6y ago · link · parent

80s.nyc has a somewhat similar street view using archival images from the 80s

comment 13y ago · link · parent

Monte Carlo simulation is the most oft-cited example. This tends to be most relevant to quickly American pricing options, or anything that isn't easily done in closed-form.

comment 13y ago · link · parent

-- closed 2011 Nov 28.

comment 13y ago · link · parent

For anyone who doesn't want to roll their own FFT, take a look at this excellent pure C implementation: http://www.fftw.org/

comment 13y ago · link · parent

I actually find base R excellent for data munging and manipulation, even without using additional packages. Here is a reproducible example that very easily accomplishes what you were trying to do (first two lines just set up a sample data frame)

  set.seed(123)
  dfrm <- data.frame(height=runif(20),
                     name=paste(sample(LETTERS[1:5],20,replace=TRUE),letters[1:20]))
  subset(dfrm, grepl('^D',name), sel=height)
Basic R functions like subset, transform, with(in), reshape, aggregate, (a,ma,ta,sa,va}pply, match, grep(l), by, split, table, etc. allow you to accomplish just about any data frame munging you might want. Add on the plyr, reshape2, data.table, xts/zoo packages and you're ready to tackle just about anything.

I'm not a big fan of sqldf because imo R is not supposed to act like SQL. Using sqldf in practice would require a lot of query string manipulation and takes away from the nice functional features of R.

Nevertheless, it is very easy to write incomprehensible R code. The best way to avoid this is to take one of the existing style guides (Google, Hadley Wickham's) and adopt it seriously.

comment 13y ago · link · parent

I tried to convince the croupier that zero was an even number, but alas ...

comment 14y ago · link · parent

this is pretty neat! one quick thing -- 40th and 8th ave -> grand central: suggests S grand central -> 53rd and park: suggests 6 40th and 8th -> 53rd and park: some crazy sequence of bus routes.

http://sandytransit.alastair.is/opentripplanner-webapp/index... Nov 01 2012 21:26:37 GMT-0400 (Eastern Daylight Time)&arriveBy=false&itinID=1&wheelchair=false&preferredRoutes=&unpreferredRoutes=

comment 14y ago · link · parent

no love for J?

comment 14y ago · link · parent

they don't mention NSPR. is it dead? http://www.mozilla.org/projects/nspr/

comment 14y ago · link · parent

In financial practice, asset-level PCA isn't as common, especially in systems where covariance estimation is fraught with misspecification errors. Instead, individual securities first condensed to factors (e.g., for equity some examples are book/price, momentum, large vs. small cap, etc.).

comment 15y ago · link · parent

http://www.jwz.org/dadadodo/ DadaDodo is a fairly old implementation that may be of interest.

comment 15y ago · link · parent

"He’s not alone in paying for the cache of being among the first to purchase apple products."

cache? sigh

comment 16y ago · link · parent

The first thing I'd recommend doing is find the unique entries THEN sort. Unless uniq has vastly better performance on sorted files...

comment 16y ago · link · parent

To further goad the OP to immediately leave his current job: between junior and senior year of college, I made a bit more than the OP's yearly pay in a 12wk internship.

Please, for your wife and kid(s), get out of this horrible situation.

comment 16y ago · link · parent

Thanks, I'll check it out!

comment 16y ago · link · parent

My programming background is fairly extensive in non-functional languages. I work in finance, and the company I joined uses R for a considerable amount of model prototyping.

I'd really like to switch to Python+numpy/scipy, but I haven't been able to find an equivalent of a data.frame, or some numeric+string data structure that allows for easy slicing on both.

Does anybody have any suggestions?

comment 16y ago · link · parent

s/ia/a/

comment 16y ago · link · parent

I am a quantitative analyst at a large asset management firm -- I focus on risk models and alpha-generating strategies. Though we have separate developer teams, my job requires considerable hacking.

comment 16y ago · link · parent

LMDDGTFY:

http://lmddgtfy.com/?q=goog-411+phoneme&v=

comment 16y ago · link · parent

and:

http://www.newsley.com

comment 16y ago · link · parent

Understood. The specific aspect of Digg that I am comparing recent trends to is that of submission of duplicate articles, and the inevitable notification thereof by other users.

A small example: http://www.google.com/search?hl=en&q=site:http://news.yc...

comment 16y ago · link · parent

HN is starting to feel like Digg. http://news.ycombinator.com/item?id=1160552

comment 16y ago · link · parent

Even better, just hit Shift+I ...

comment 16y ago · link · parent

Glad you like it!

Splitting in Smooth Gestures means taking the current tab and those to the right and moving them to a separate window. Merging takes the current window's tabs and appends them to the last focused window.

comment 16y ago · link · parent

I'd also suggest "Smooth Gestures"

https://chrome.google.com/extensions/detail/lfkgmnnajiljnolc...

Some of the functionality is pretty cool (i.e., haven't seen it in All-in-One Gestures for Firefox), like merging and splitting tabs.

comment 16y ago · link · parent

What will end up happening to the 'real bad guys' http://xkcd.com/538/

comment 16y ago · link · parent

It's good to see that the public's relative need for weather(.com) forecasts has not changed in the last twelve years.

comment 16y ago · link · parent

In the particular case of integer ids, however, can't you just make sure what's being passed is an integer? Similarly, for a 'simple' username, check against "^[a-zA-Z0-9]+$"?
12