News for hackers. Stuff that matters.

ncavig

Re:Things to know about sleep as the clocks go back on Saturday October 28, 2017 @05:40PM (#15576842)
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.
Re:Ask HN: Where did you meet your significant other? on Friday May 08, 2015 @01:31AM (#9510113)
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

Coming from a complete novice; can you expand upon the "NGS" technology, particularly the temporal aspect?
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)
Re:Show HN: March Madness for Hackers on Tuesday March 18, 2014 @08:07PM (#7425990)
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
Re:Show HN: March Madness for Hackers on Tuesday March 18, 2014 @05:44PM (#7425230)
There is not one at this moment. It's quite an expensive request to serve season stats for n teams.
Re:Show HN: March Madness for Hackers on Tuesday March 18, 2014 @02:51AM (#7420532)
There's a few exposed json endpoints for data, the matchup page, team page, and player page.

eg team: http://madness.io/teams/fak.json eg player: http://madness.io/players/1772.json eg matchup: http://madness.io/matchup/dae/vs/oad/1395332100.json

Re:Show HN: March Madness Bracket Research with Stats on Monday March 17, 2014 @11:02PM (#7419776)
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!

Show HN: March Madness Tempo-Free Stats

This is a side project of mine combining two passions; sports and technology. http://madness.io/bracketology Tempo-free stats offers a better way to compare two teams without using traditional averages (such as points per game). For those of you interested in the tech, the stack includes MySQL, Couchbase, Redis, and a front-end stack of Rails and Foundation framework.There are some json...

( Read More... | no comments | on HN )
Re:Show HN: March Madness for Hackers on Monday March 17, 2014 @07:34PM (#7418862)
Would also be cool to be able to include more detailed data. There's some useful data points exposed at http://madness.io including Tempo-free stats and (not advertised) json endpoints, http://madness.io/teams/uaa.json

Full disclosure: I released this site a few weeks ago, mostly as a side project. I submitted to Show HN but it didn't get much traction. Might be of use though.

Re:Show HN: March Madness Bracket Research with Stats on Monday March 17, 2014 @11:44AM (#7415741)
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.

Show HN: March Madness Bracket Research with Stats

http://www.madness.io/

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...

( Read More... | 3 comments | 3 points | on HN )
Re:Bootstrap 3.1 released on Thursday January 30, 2014 @01:02PM (#7152162)
Short answer; preference.
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
Re:Tesla Smashes Earnings And Revenue Expectations on Wednesday May 08, 2013 @06:48PM (#5677545)
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

Re:Tesla Smashes Earnings And Revenue Expectations on Wednesday May 08, 2013 @06:22PM (#5677356)
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.
Re:Putting healthcare in hackers' hands on Tuesday February 26, 2013 @01:51PM (#5287560)
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
Re:Github service outage on Friday November 30, 2012 @03:19PM (#4855234)
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.

Re:Django 1.5 beta release notes on Tuesday November 27, 2012 @08:13PM (#4840399)
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

Re:Django 1.5 beta release notes on Tuesday November 27, 2012 @07:58PM (#4840321)
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.

Re:Study: Intelligent Cars Could Boost Highway Capacity by 273% on Tuesday September 04, 2012 @02:10PM (#4475721)
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)

Re:Ding Dong, Daily Deals Are Dead on Tuesday August 14, 2012 @07:50PM (#4383676)
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.

Older »