Better HN
topnewbestaskshowjobs
Log inSign up

olives

37 karma · joined Apr 3, 2020 (6y ago) · 14 submissions

Submissions

comment 2w ago · link · parent

This resonates with me in my work, and it's not the AI usage that is making our codebases fragile. It is the lack of code review or use of AI to essentially "automate" code review that is the major culprit.

Among myself and all the colleagues that I work with, I am the only person remaining who reviews every line of code to make sure I at least understand what the written code is doing. And when I review AI-written code in this manner, I almost always find flaws-- overchecking of weird edge cases, underchecking of conditions that might lead to ambiguity, importing a whole new library to handle one special case that happens <1% of the time, etc.

This is disappointing to me because just a few years ago, at my last job, thorough code reviews were the norm. And it resulted in good, maintainable code.

2.

Atlanta Uber Drivers Say Waymo Robotaxis Are Driving Down Their Pay(axios.com ↗)

2 points · by olives · 2mo ago · discuss

comment 3mo ago · link · parent

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

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

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?"

8.

Ask HN: Best Practices for LLM Chatbot that references user account details?

1 points · by olives · 2y ago · 3 comments

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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/

comment 2y ago · link · parent

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

comment 3y ago · link · parent

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.

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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.