HN user

ncavig

126 karma
Posts11
Comments48
View on HN

Anecdote from my experience; having a cup of decaf tea with a spoonful of unfiltered honey leads to some of my most restful nights of sleep. My tea of choice is chamomile. My other, debatably healthy crutch is a fan which manages a cool temp while providing a constant noise.

I met my now fiancè in an adult social sports league which I highly recommend for social activity in general, not just romantic purposes. The league was/is adult kickball, but there are several out there that encourage solo signups and will place you on a team.

I'm inherently more inclined to not be social and prefer it that way, however, I do enjoy sports a lot which was the catalyst for joining some leagues. It doesn't have to be just for the sport and you don't have to be good at it, but it definitely encourages social interaction, plus some exercise. I won't name any leagues, but google around and you can easily find local leagues for kickball/dodgeball/volleyball/football (I recommend kickball as it really doesn't matter what your skill level is).

Feel free to drop me a line if you want more info

Fair point, but I do appreciate stories that have to do with health of the human body as it lends to the idea of body hacking and performance tuning. If you peruse around, there's a lot of HN contributed stories and comments having to do with concepts of mixing in exercise and healthy eating habits to minimize lethargy and burnt out symptoms and maximize energy and life balance. (Hopefully no citations needed)

Send me an email through the site with your email, and I can give you a json file of the stats. It just wouldn't be practical to keep it up as a reachable endpoint - too costly

Thanks for the interest! For MySQL I wanted an easy ORM layer for team, conference and player data. Essentially those 3 objects are stored in MySQL. For redis, I use ordered lists for sorting and easily discerning indexes of team and player data, eg: how I come up with "n overall" and "n in conference" http://madness.io/teams/fak

For Couchbase, all game data is stored in a document, including player stats. I actually use Couchbase as a cache layer as well instead of Redis. Voting and some cache keys are documents and I write couchbase views or use traditional get's to grab that data. Couchbase does the map reduce to give me the numbers I need to come up with all the stats you see on the site. It also comes in handy for things like standard deviation and the tempo-free stats on the matchup pages

Hopefully that helps!

OP here; Showing a little side project of mine that will hopefully appeal to sports and stats fans alike. I am an engineer with a great passion for sports, particularly college basketball. My goal is/was to set up a site to easily discern important data about a given team and players. The site runs on a myriad of technologies including MySQL, Couchbase, Redis, and Rails + Foundation frameworks. Feedback would be appreciated. Good luck in your brackets.

Nice responsive site. The two biggest pain points for me without evening purchasing a drink; 1) finding a nearby bar is quite painful especially on a mobile device. Possibly integrate html5 geolocation to pinpoint and zoom in on your current location. 2) You have to click a map icon to determine the bar name, then intuitively I press ESC to exit, which doesn't work. Took me a few tries to realize you just click to get out. It was annoying figuring that out after a few page refreshes and the painful zooming in

FWIW I do have a strong majority of portfolio dedicated to index funds, and have automatic investing set up for those funds biweekly. But there do come times where I see a company, and after some due diligence I do see as a company I believe in and see prospering in the long. Tesla is one of those companies so I bought a fair amount 2 months ago.

Regardless of solicited or not, I do agree with your advice and if nothing else, hopefully readers who fear to ask such questions gain from friendly advice such as yours

EDIT: grammar

This might be a stupid question, but as a Tesla stock owner, and (becoming more apparent ever day) naive investor, how do you find out this information and/or digest it so well? I'm mainly a google finance guy and had no idea so much of the stock was being shorted.

Just a suggestion, but it seems like n requests in t for free would be a good model too. eg: Free 60 requests free per hour. 600 free test transactions is great, but for ongoing development the sandbox idea or rate limiting for a free plan seems preferable to us 'hackers'

Edit: edited n of free requests per t in eg

I absolutely agree. The two most important features to me would be the accurate and measurability of the inputs (heart rate, o2 saturation, etc) and the ability to get that data (API). I don't want my friends to know I just reached 120BPM in my exercise routine, but I may want to set up an app myself to do something based on my heart rate going to a certain level, or better yet, if my parents heart rate meets some threshold it shouldn't be at

If you want more control I recommend the open source gitlabhq (http://gitlabhq.com/) - we run it for our repos, plus you can be in control of number of repos allowed per user. I consistently create repos for proof of concept or side projects that I wouldn't normally be able to do in github unless I wanted them all public. I don't particularly want people seeing unfinished or unpolished code

Gitlabhq has worked well for us, and it's open source.

No, it's not. But since Rails 3 neither is rails really. Rails is more about the ActiveModel pattern, which has it's own API. Active Record inherits from ActiveModel. You can pick and choose what you want in your persistence classes, or even better, make models/classes that have no persistence layer tie.

For instance, if you want to use a class like it was a MySQL table, you could include a few ActiveModel classes which will make things for ActiveSupport helpers work with them.

http://api.rubyonrails.org/classes/ActiveModel.html - pick and choose what you want in your classes. This was one of the major changes in Rails 3

EDIT: just to clear it up, by ActiveModel I mean Model. Rails is convention over configuration and adheres to the MVC pattern and philosophy

http://batsov.com/articles/2011/06/19/django-vs-rails/ appears to give a quick breakdown, but also misses some key features in my opinion. I've worked with rails for about 5 years and Django for a little over 16 months now. There's some things I do and don't like respectively for each framework.

I suggest testing each out and see which you prefer. Ruby and Python are similar languages but different enough that you'll want to spend some time learning each. Both will benefit you in the long run, as I work with ruby and python daily and is useful knowing both.

I will warn you that Django was easier for me to pick up than rails. Rails guys (me included) tout how easy it is to get going with rails, which is true. However, getting really good with rails is hard. Knowing exactly what's going on and why, how to extend ActiveModel or ActionController properly, monkey patching, proper testing practices, etc are quite the time sink, albeit a beneficial one in my opinion. I think if you have TDD or a client adamant about full test coverage, I've found rails support and practices are more flushed out than django's take.

EDIT: typos

This isn't really solving a problem. Phone numbers are already unique, so why replace with another unique based system that has a one to one correspondence?

I'd really like to see something like DNS. You can register a "phone number" or "phone name", upon calling something, it sends a lookup to your phone provider, which then provides a lookup to whatever server houses the data for said name which resolves a unique name or series of characters (not limited to alphanumeric increasing combinations) that responds with data that the phone can digest and create an active connection. Imagine being in control of your own data, who can call you, what sort of data a subscriber can obtain when calling you, etc. Sort of an app.net for your own contact info.

True, but not even that limited. Any individual that could benefit from not having to concern themselves with the outside environment. In addition to the senior citizens, you also have the handicapped, the makeup applicators, the cell phone users, limited eyesight drivers, the overall bad drivers, and more importantly, impaired drivers (alcohol especially).

Not just performance in terms of efficient driving and merging, but also safety and essentially taking human operator error out of the equation (for the most part)

I agree. I'm a bit ashamed to say that, in addition to what you mentioned, I've noticed that companies and stores that I did frequent fairly often that did end up doing a Groupon or similar daily deal, lost more of my business after the fact because I experience the same service for less. Somehow, after getting close to 50% off something I enjoyed, the full price didn't seem as enticing to me.

I do like to support companies and stores that do a good job, but there's the simple fact that in my head I think that the intrinsic value of this service is somehow less after the Groupon style deal.

Good advice. How do you recommend contributing? That's one thing that confuses me. Let's say every month I have excess income, how do I decide when and at what interval to put that money into a given index fund? Do I just set an automatic transfer or do I try to time my investments?

EDIT: And as for as I know, IRA's have a income ceiling of $110k/yr correct?

My limited reading and research into stock market investing. I liked the sound of low cost management as opposed to mutual funds, as well as history has shown index funds to do fairly well. I have chosen funds based on companies I respect that are larger percentages that the index fund allocates to, such as S&P 500.

Very good point. In addition, so many things cannot be represented digitally in dating/flirting. So much body language and unspoken signals go into reading of interest and intrigue between two people. Albeit my knowledge of dating sites are limited, it would seem being able to replicate unspoken communication is nearly impossible, especially when people are represented as images and text. Sorry for no citations, just a personal opinion based off of my history of reading a limited number of psych and body language books