HackerTrans
TopNewTrendsCommentsPastAskShowJobs

gautamcgoel

5,028 karmajoined 7 lat temu
Postdoc in machine learning at UC Berkeley.

https://gautamcgoel.com

comments

gautamcgoel
·6 godzin temu·discuss
So sad to hear this. Hard to imagine anyone else playing Dr. Alan Grant in Jurassic Park.
gautamcgoel
·19 dni temu·discuss
Doesn't Zig also have bitwise operators?
gautamcgoel
·3 miesiące temu·discuss
Wait, I'm confused. Do you mean Boston should have made non-compete agreements illegal?
gautamcgoel
·4 miesiące temu·discuss
I assume OP means that a probe launched today would take decades to exit the solar system.
gautamcgoel
·4 miesiące temu·discuss
The thing I don't understand with these loan arguments is: don't you eventually need to pay taxes in the income you use to repay the loan? It seems to me that folks who take out such loans are just kicking the can down the road.
gautamcgoel
·4 miesiące temu·discuss
Just wanted to say this is an amazing technical writeup, thanks for sharing.
gautamcgoel
·5 miesięcy temu·discuss
Looks amazing. However, I'm confused about some of the examples in the ownership section. Consider this example:

  [fn consume [xs]
  [println [str "got " [len xs] " items"]]]
  [let items #[1 2 3]]
  [consume items]
  ; items has been moved — using it here is a compile error
This is described as an example of a setting where the variable 'items' has been moved, so it can no longer be used. However, the consume function does not mutate its argument, so I don't see why 'items' can no longer be used. In addition, it seems to me that the term 'moved' is being used to mean 'mutated'. Is that correct, or do I have it wrong?

Another example from the website is the following:

  [fn length [xs] [len xs]]

  [let items #[1 2 3]]
  [println [length items]]
  [println [length items]]  ; items not consumed
The website explains this example as follows: "If the compiler can prove that a reference will not outlive the owner, it passes a borrow instead of moving." However, there are no references in this example, only the original variable 'items'. Am I missing something? I think the language is cool, but the explanations of the semantics could be improved.
gautamcgoel
·6 miesięcy temu·discuss
What old features would you like to dispose of in a modern redesign of D? What would this new edition look like?
gautamcgoel
·7 miesięcy temu·discuss
Mammoth and Red Thunder are both masterpieces.
gautamcgoel
·7 miesięcy temu·discuss
How would this work, given that Anthropic is a public benefit corporation?
gautamcgoel
·8 miesięcy temu·discuss
Whoa! Any references?
gautamcgoel
·8 miesięcy temu·discuss
Been using Boks for a couple months, haven't noticed much difference. Maybe some reduced sensitivity.
gautamcgoel
·9 miesięcy temu·discuss
Which car + how do you like it?
gautamcgoel
·9 miesięcy temu·discuss
I'm confused: why would you short BTC if you knew in advance that additional tariffs would be announced? Wouldn't you expect that to increase the dollar value of BTC due to depreciation of the dollar?
gautamcgoel
·9 miesięcy temu·discuss
Sorry to hear that, that is completely unacceptable behavior.
gautamcgoel
·9 miesięcy temu·discuss
You are correct that 1-based indexing is the norm among mathematicians, but none of the creators of Lua is a mathematician, AFAIK. You can read about the early history of Lua here:

https://www.lua.org/history.html
gautamcgoel
·10 miesięcy temu·discuss
What were the benefits?
gautamcgoel
·w zeszłym roku·discuss
Just out of curiosity, what issues do you encounter? Doesn't Wayland support Unicode?
gautamcgoel
·4 lata temu·discuss
Sounds like The Road to El Dorado :)
gautamcgoel
·5 lat temu·discuss
I have the Pioneer and it is excellent. Amazing quality and good selection of tools. I do wish they included a Phillips head screwdriver.