HackerTrans
トップ新着トレンドコメント過去質問紹介求人

gautamcgoel

5,028 カルマ登録 7 年前
Postdoc in machine learning at UC Berkeley.

https://gautamcgoel.com

コメント

gautamcgoel
·6 時間前·議論
So sad to hear this. Hard to imagine anyone else playing Dr. Alan Grant in Jurassic Park.
gautamcgoel
·19 日前·議論
Doesn't Zig also have bitwise operators?
gautamcgoel
·3 か月前·議論
Wait, I'm confused. Do you mean Boston should have made non-compete agreements illegal?
gautamcgoel
·4 か月前·議論
I assume OP means that a probe launched today would take decades to exit the solar system.
gautamcgoel
·4 か月前·議論
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 か月前·議論
Just wanted to say this is an amazing technical writeup, thanks for sharing.
gautamcgoel
·5 か月前·議論
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 か月前·議論
What old features would you like to dispose of in a modern redesign of D? What would this new edition look like?
gautamcgoel
·7 か月前·議論
Mammoth and Red Thunder are both masterpieces.
gautamcgoel
·7 か月前·議論
How would this work, given that Anthropic is a public benefit corporation?
gautamcgoel
·8 か月前·議論
Whoa! Any references?
gautamcgoel
·8 か月前·議論
Been using Boks for a couple months, haven't noticed much difference. Maybe some reduced sensitivity.
gautamcgoel
·9 か月前·議論
Which car + how do you like it?
gautamcgoel
·9 か月前·議論
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 か月前·議論
Sorry to hear that, that is completely unacceptable behavior.
gautamcgoel
·9 か月前·議論
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 か月前·議論
What were the benefits?
gautamcgoel
·昨年·議論
Just out of curiosity, what issues do you encounter? Doesn't Wayland support Unicode?
gautamcgoel
·4 年前·議論
Sounds like The Road to El Dorado :)
gautamcgoel
·5 年前·議論
I have the Pioneer and it is excellent. Amazing quality and good selection of tools. I do wish they included a Phillips head screwdriver.