Hacker Newsnew | past | comments | ask | show | jobs | submit | madelfio's commentslogin

If I have no known health problems, how does that change the distribution? Are there richer datasets that include that type of breakdown?

From a different angle, if 15% of males my age will die in the next 30 years, how many of those are foreseeable due to current circumstances vs accidents that could happen to anyone?


You get a list if you do "object_a = [1, 2, 3]" and a tuple if you do "object_b = (1, 2, 3)". Then try "object_c = 1, 2, 3" and you'll also get the tuple.


You should also mention the 1-item case where the (optional in other cases) trailing comma is required to form a tuple: (1,)


Same for me, along with several other sites.

Ubuntu 12.10 + chrome 26.0.1410.63


Smoothstep is a polynomial approximation of a sine wave through (0, 0) and (1, 1), but it's pretty darn close.

http://www.onlinefunctiongrapher.com/?f=3*x%5E2-2*x%5E3|.5-c...


I think the ratio expressions are slightly off. Using the queries from the article can result in negative ratios, which shouldn't be possible if we're measuring the percent of accesses that hit the buffer. Each access is either a cache hit or a read, not both. So instead of subtracting in the numerator, they should be added in the denominator:

  SELECT 
    sum(heap_blks_read) as heap_read,
    sum(heap_blks_hit)  as heap_hit,
    sum(heap_blks_hit) / (sum(heap_blks_hit) + sum(heap_blks_read)) as ratio
  FROM 
    pg_statio_user_tables;


Yes, Ctrl-v to enter visual-block mode, then move up or down to cover all lines where you want to make changes, then I{string}Esc to append a string at the cursor location on all lines.

See: http://vimdoc.sourceforge.net/htmldoc/visual.html#blockwise-...


Doesn't block mode only work for blocks within contiguous lines of code? (basically it will let you select a rectangular section of code)

ST2 allows multiple cursors in arbitrary locations - I'm not aware of another editor that supports that.


There is a vim plugin that provides arbitrary multiple line edit.

https://github.com/alfredodeza/plexer.vim


Very unhappy about this... I've been using iGoogle as my start page for years.

I use iGoogle to see several custom Google News searches (for news about my current project, old company, college, etc), along with stocks, weather, and general news headlines, all in one screen. Can anyone suggest some good alternatives? None of the alternatives suggested by Google sound like a good replacement on my desktop.


It's a 501(c)(3) like most private American universities. This means there are no "owners" who make money if it brings in a profit, but conversely allows it to accept tax-exempt charitable donations.


Tap "Alt" and you get the normal menus (including "View"). Not very obvious, but easy once you know.


This doesn't seem to work in Ubuntu, at least not for me.


type Alt+v then.


Can someone compare this to the "disable 3rd-party cookies" approach?


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: