Better HN
topnewbestaskshowjobs
Log inSign up

ncavig

126 karma · joined Aug 18, 2009 (17y ago) · 62 submissions

Submissions

1.

Oral drug blocks SARS-CoV-2 transmission(sciencedaily.com ↗)

7 points · by ncavig · 5y ago · 2 comments

2.

Papain-like protease regulates SARS-CoV-2 viral spread and innate immunity(nature.com ↗)

2 points · by ncavig · 6y ago · discuss

3.

New York clinical trial quietly tests heartburn remedy against coronavirus(sciencemag.org ↗)

9 points · by ncavig · 6y ago · 4 comments

comment 9y ago · link · parent

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.

5.

Operations Mise En Place – Part I(eatcodeplay.com ↗)

3 points · by ncavig · 9y ago · discuss

comment 11y ago · link · parent

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

comment 11y ago · link · parent

Coming from a complete novice; can you expand upon the "NGS" technology, particularly the temporal aspect?

comment 12y ago · link · parent

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)

comment 12y ago · link · parent

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

comment 12y ago · link · parent

There is not one at this moment. It's quite an expensive request to serve season stats for n teams.

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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!

13.

Show HN: March Madness Tempo-Free Stats

1 points · by ncavig · 12y ago · discuss

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

16.

Show HN: March Madness Bracket Research with Stats(madness.io ↗)

3 points · by ncavig · 12y ago · 3 comments

comment 12y ago · link · parent

Short answer; preference.

comment 12y ago · link · parent

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

comment 13y ago · link · parent

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

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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

comment 13y ago · link · parent

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

comment 13y ago · link · parent

Cached link: http://webcache.googleusercontent.com/search?q=cache%3Ahttp%...

24.

Kickstarter - Machine Precision Dice(kickstarter.com ↗)

1 points · by ncavig · 13y ago · discuss

comment 13y ago · link · parent

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.

comment 14y ago · link · parent

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

comment 14y ago · link · parent

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

comment 14y ago · link · parent

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.

123