Better HN
topnewbestaskshowjobs
Log inSign up

zomnoys

5 karma · joined Dec 31, 2018 (7y ago) · 7 submissions

Submissions

comment 1y ago · link · parent

Isn’t this not true since these models run with a non-zero temperature?

comment 2y ago · link · parent

I believe the author addresses this by making the table `UNLOGGED`. https://www.crunchydata.com/blog/postgresl-unlogged-tables. These have less overhead.

comment 2y ago · link · parent

Why?

comment 3y ago · link · parent

Above anything, this shows the performance gains from 3.10 -> 3.11:

  >> python3.10 create_task_overhead.py
  100,000 tasks   185,694 tasks per/s
  200,000 tasks   165,581 tasks per/s
  300,000 tasks   170,857 tasks per/s
  400,000 tasks   159,081 tasks per/s
  500,000 tasks   162,640 tasks per/s
  600,000 tasks   158,779 tasks per/s
  700,000 tasks   161,779 tasks per/s
  800,000 tasks   179,965 tasks per/s
  900,000 tasks   160,913 tasks per/s
  1,000,000 tasks  162,767 tasks per/s

  >> python3.11 create_task_overhead.py
  100,000 tasks   289,318 tasks per/s
  200,000 tasks   265,293 tasks per/s
  300,000 tasks   266,011 tasks per/s
  400,000 tasks   259,821 tasks per/s
  500,000 tasks   251,819 tasks per/s
  600,000 tasks   267,441 tasks per/s
  700,000 tasks   251,789 tasks per/s
  800,000 tasks   254,303 tasks per/s
  900,000 tasks   249,894 tasks per/s
  1,000,000 tasks  266,581 tasks per/s

comment 3y ago · link · parent

I am currently in the online MS in CS from UT Austin, and I am really enjoying it. I’m just doing one class at a time for fun. I’m only in my second class right now, but I’m excited for this to add new courses!

comment 4y ago · link · parent

This feels a bit reductionary. Database indexes definitely have more to consider than just simple lookup tables. I’d say that mental model breaks down in practice.

comment 7y ago · link · parent

This is briefly touched upon in “Why we sleep: unlocking the power of sleep and dreams” by Matthew Walker. I highly recommend it!