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

Microservices

grug wonder why big brain take hardest problem, factoring system correctly, and introduce network call too

seem very confusing to grug

^ This is the best and funniest paragraph of text that I’ve read this year


I'm a fan of the t-rex:

> given choice between complexity or one on one against t-rex, grug take t-rex: at least grug see t-rex

That section reminds me of The Litany Against Fear.


Hah, indeed!

  "I must not complect.
  Complexity is the mind-killer.
  Complexity is the little-death that brings obliteration.
  I will face complexity and I will permit it to pass over me and through me.
  And when it has gone past, I will turn the inner eye to see its path.
  Where the complexity has gone, there will be nothing.
  Only I will remain."

  — Litany Against Complexity
I made that up in blog post that feels aligned with Carl's world-view. The Litany appears here in the post: https://www.evalapply.org/posts/writing-practices-to-10x-eng...


Here's one way to intuitively think about this algorithm:

    ICan’tBelieveItCanSort(A[1..n])
      for i = 1 to n do
        for j = 1 to n do
          if A[i] < A[j] then
            swap A[i] and A[j]
Example:

    3412  // i=1
    4312  // i=1 -> i=2
    3412  // i=2 -> i=3
    1432  // i=3
    1342  // i=3 -> i=4
    1243  // i=4
    1234  // i=4
1) After an outer loop of i is finished, the first i elements are in ascending order. (For example, in the fifth line above after i=3 is finished, the first 3 elements are "124")

2) At some point, the outer loop will point to "1", and "1" will be compared to the 1st position. Then, "1" will be placed in the 1st position and remain there forever. (For example, this happens in the 3rd line above)

3) After the outer loop points to "1", at some point it will point to "2" which will be compared to the 2nd position. (Proof: when the outer loop pointed to "1", if "2" was on the right of "1", then the statement is obvious; if "2" was on the left of "1", then it would be in the 1st position by (1), so again the statement holds.) Then, "2" will be placed in the 2nd position and remain there forever.

4) After the outer loop points to "2", at some point it will point to "3" which will be compared to the 3rd position...


I actually quite like his content, and I consider myself generally wary of marketers and content creators.

I find most of his videos, which typically follow the format of "I conducted experiment X on myself; here are the results," useful and digestible without being overly pushy about selling his Blueprint product.

The sample size = 1 person (himself) casts doubt on a lot of his findings, but I've still made some lifestyle changes after watching his videos. I finish eating earlier, and anecdotally feel better. I've leaned toward eating more healthy nuts and extra-virgin olive oil, and I've also purchased a sleep tracker.

I have not made any Blueprint purchases.


Which sleep tracker? Watches aren't accurate.


I use Withings (a pad that you put under your mattress) because I can't stand wearing anything when I sleep. Seems ok according to this analysis:

https://www.youtube.com/watch?v=kHS8bweLcxQ


Accurate or precise?

Scales can be useful even if not accurate, so long as they are reasonably precise. Same for sleep tracking watches.


The whoop. I recently compared it with an actual sleep apnea test and the REM is not accurate at all. But it is interesting to see tendencies (drinking alcohol really messes up with your sleep, winter increases your REM, etc.)


Whoop is definitely not accurate for sleep data, but it's great for exercise and there's certainly value in seeing trends.


Is function calling the only way to do this? If the user account has some associated text, for example, historical medical files, is there a way to pass that text in such that the user could query "Write a short summary about my medical history?"


You can create a function calling, the parameter is the user_id or a fingerprint of the user for backend. then, get all data from your database, returned as a JSON object, then, you will get the result.

The prompt will looks like:

""" you are a professional medical history recorder, write a short summary about the user's medical history, use tool_call when possible.

the current user_id is: abcd12345 """

your tool_call description should be set clearly, looks like:

""" get medical history by given user_id """


I would really like to have one social networking application that has 3 features:

1. Groups, Events, and Discovery/Search; something that Radius is working toward and Facebook has (but one can argue that Facebook Groups / Events are clunky)

2. Sharing media, and the ability to control who sees what; I think Instagram does this quite well.

3. Seeing friends' location, and location media discovery for public accounts; Snapchat has this feature.

Unfortunately no app does all three together, and my friends are fragmented across fb/ig/sc.


If you like these puzzles, you might also enjoy the minitorch [1] teaching library by the same author, which is a course where you implement a simplified version of the pytorch library from scratch.

Completing that course and understanding the differences between the simplified and full versions has been the most useful deep learning teaching resource for me to date.

[1] https://minitorch.github.io/


Is it just me or does the font on the pytorch website look incredibly strange? (I'm on chrome)


At 100% zoom on Firefox and Edge, the tops & bottoms of lower case letters have some very strange thinning/bolding going on. The top of the `e` char in "Syed Ahmed" is thinner (maybe 1px in height) than the lower curve of the same `e` character (maybe 3px in height). It looks like they have different font-weights for the top and bottom of the characters somehow.

Zooming in to 125% the effect goes away, and the font-weight at the top and bottom appear equally thick.


It is incredibly strange that you are asking the question here instead of asking the pytorch website maintainers.


Yeah I'm getting that on windows, but not mac (both chrome, standard low-ppi displays with no scaling).


Same for me at 100%. Something to do with pixel sizes etc making it look like is drawn with roblox.


You mean adrenochrome? Looks normal to me. Edge and Firefox, Windows 11.


Goodreads is functionality and user-experience wise not amazing, but I think for a majority of the population it "works just fine". As someone who reads almost everyday, I end up using it roughly once a week to post updates or add to my to-read list. Given this frequency, I'm willing to overlook a lot of the poor UX.


I don't think the map portion of that screenshot is monetized.


How would you verify that people who search for these things actually have the virus? They could be doing preemptive research.

And how would you find a list of such questions without just broadly matching on terms like "coronavirus"? The task seems very complex to me.


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

Search: