<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: hmmdar</title><link>https://news.ycombinator.com/user?id=hmmdar</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 15 Apr 2026 07:47:32 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=hmmdar" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by hmmdar in "The mortgage market is so bad lenders want ex-employees to give back bonuses"]]></title><description><![CDATA[
<p>The archive.ph links never work for me. The are you human, check always gets stuck in a loop. Is there there any way around that?</p>
]]></description><pubDate>Mon, 30 Oct 2023 01:48:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=38064829</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=38064829</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38064829</guid></item><item><title><![CDATA[New comment by hmmdar in "Do not put plastic in the microwave"]]></title><description><![CDATA[
<p>I know it's a bit of a meme but I was always curious to try out some of the recipes in the "Microwave cooking for one" recipe book.<p><a href="https://www.microwavecookingforone.com/" rel="nofollow noreferrer">https://www.microwavecookingforone.com/</a></p>
]]></description><pubDate>Sat, 23 Sep 2023 16:25:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=37624691</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=37624691</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37624691</guid></item><item><title><![CDATA[New comment by hmmdar in "Now Reddit are coming for the individual personal subreddits"]]></title><description><![CDATA[
<p>I don't think discord is a valid replacement. One of the best parts of reddit was the easily browsable/searchable Forum like threading. Where there are communities for a given theme, and threads branching off of that group. Discord is great for realtime chat, but a significant pain for async conversations. In general for information access I personally don't like to search through chats because the threading is too shallow, and conversations are had at the root, aka group level.</p>
]]></description><pubDate>Thu, 22 Jun 2023 18:02:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=36436203</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=36436203</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36436203</guid></item><item><title><![CDATA[New comment by hmmdar in "Honey consumption improves blood sugar and cholesterol levels, study suggests"]]></title><description><![CDATA[
<p>Why do you not want to cook the proteins? Does it break them down to uselessness, or do the become harmful?</p>
]]></description><pubDate>Fri, 16 Dec 2022 17:09:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=34017116</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=34017116</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34017116</guid></item><item><title><![CDATA[New comment by hmmdar in "As weed gets more potent, teens are getting sick"]]></title><description><![CDATA[
<p>I found this a good review of the physical and chemical impact quitting marijuana. <a href="https://youtu.be/7u_cm5b1s7Y" rel="nofollow">https://youtu.be/7u_cm5b1s7Y</a><p>I'd argue that the chemical withdrawal effects of marijuana, are nothing compared to habitual smoking, alcohol or other "hard" drug  use. But there are still some chemical withdrawal effects.<p>Personally I've had Minor irritability after not having an edible for a few days if I've been consistently having them nearly daily for few days. But I've also realized this, and moderate use more to only once or twice a week, and only 5-10mg at a time. I've grown to like the feel of 5mg in the evening overall. Accounting for the blah feeling the next morning/day.</p>
]]></description><pubDate>Fri, 24 Jun 2022 02:20:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=31857165</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=31857165</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31857165</guid></item><item><title><![CDATA[New comment by hmmdar in "In search of organic software"]]></title><description><![CDATA[
<p>I recently had a similar experience. I purchased a bag of citric acid, and it was boldly labeled as non-GMO and "approved for use with organic food".</p>
]]></description><pubDate>Mon, 16 May 2022 23:19:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=31404204</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=31404204</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31404204</guid></item><item><title><![CDATA[New comment by hmmdar in "Trying Out Generics in Go"]]></title><description><![CDATA[
<p>The only time `IsSet` would be false is when `NewOption` was not used to initialize the value.<p>e.g.<p><pre><code>  var o Option[int32]
</code></pre>
or could have `None` helper<p><pre><code>  func None[T any]() Option[T] { return Option[T]{} }

  o := None[int32]()</code></pre></p>
]]></description><pubDate>Thu, 16 Dec 2021 21:51:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=29584465</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=29584465</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29584465</guid></item><item><title><![CDATA[New comment by hmmdar in "Trying Out Generics in Go"]]></title><description><![CDATA[
<p>Another way to do `Option` without pointers could be similar to the following with a struct with two members.<p><pre><code>  type Option[T any] struct {
      v T
      isSet bool
  }
  
  func NewOption[T any](v T) Option[T] {
      return Option[T]{
          v: v,
          isSet: true,
      }
  }
  
  func (o Option[T]) Get() (v T) {
      if !o.isSet {
          return v
      }
      return o.v
  }
  
  func (o Option[T]) IsSet() bool { return o.isSet }

</code></pre>
With this pattern you're able to use `Option` as a value without pointers.<p><pre><code>  var o Option[int32]
  
  o = NewOption(int32(1))
  
  fmt.Println("value:", o.Get())
  fmt.Println("is set:", o.IsSet())
</code></pre>
Alternative separate `Get` and `IsSet` methods, is to combine them into one, similar to map look up pattern.<p><pre><code>  func (o Option[T]) Get() (v T, isSet bool) {
      if !o.isSet {
          return v, false
      }
      return o.v, true
  }
  
  var o Options[int32]
  v, ok := o.Get() // zero, false
  
  o = NewOption(int32(1))
  v, ok = o.Get() // 1, true</code></pre></p>
]]></description><pubDate>Thu, 16 Dec 2021 18:37:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=29581968</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=29581968</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29581968</guid></item><item><title><![CDATA[New comment by hmmdar in "Google Drive – How do I stop others from sharing files with me?"]]></title><description><![CDATA[
<p>Did you ever see the time where spammers could share calendar invites with you that would automatically get applied to your calendar without you accepting it...<p>Google eventually added an option to change this behavior. Guess it will take a critical mass of complaints to get something similar for Google Drive.<p><a href="https://www.cbsnews.com/news/google-calendar-spam-is-on-the-rise-heres-how-to-stop-the-calendar-invite-spam/" rel="nofollow">https://www.cbsnews.com/news/google-calendar-spam-is-on-the-...</a></p>
]]></description><pubDate>Mon, 27 Jul 2020 23:00:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=23970413</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=23970413</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23970413</guid></item><item><title><![CDATA[New comment by hmmdar in "Ring fired employees for watching customer videos"]]></title><description><![CDATA[
<p>What do you use for motion detection? I've found the Unifi NRV motion detection to be very poor. Especially raining at night.</p>
]]></description><pubDate>Thu, 09 Jan 2020 19:00:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=22004288</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=22004288</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22004288</guid></item><item><title><![CDATA[New comment by hmmdar in "Go’s hidden pragmas"]]></title><description><![CDATA[
<p>Have you considered enabling parallel tests for that package? It let's test functions run in parallel with each other. Might address some of the issue with the performance.</p>
]]></description><pubDate>Mon, 08 Jan 2018 17:12:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=16098156</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=16098156</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16098156</guid></item><item><title><![CDATA[New comment by hmmdar in "Is Amazon getting too big?"]]></title><description><![CDATA[
<p>Na that's a bunch of BS Amazon came up with to validate their position. There is nothing stopping Amazon from putting Chromecast app support other than Amazon. The only thing I can guess is Amazon wanted chromecast to enable support for their player format and chromecast didnt'.</p>
]]></description><pubDate>Fri, 28 Jul 2017 21:38:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=14877788</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=14877788</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=14877788</guid></item><item><title><![CDATA[New comment by hmmdar in "Ask HN: How much do you make at Amazon? Here is how much I make at Amazon"]]></title><description><![CDATA[
<p>I've been at Amazon for a bit over 5 years with 12 years total. Joined with about 7 years of prior experience. From the other post I see I did a very poor job of negotiating when I first joined with my experience. I've always saved the stock and considered it more retirement savings than spending cash.<p>Hired: 2011<p>- Level: SDE I (4)<p>- Location: San Francisco<p>- Salary: $96k base, $20k bonus, relocation, ~160 stock over 4 years.<p>- Average yearly total comp: ~ $150k<p>Promoted: 2013<p>- Level: SDE II (5)<p>- Location: San Francisco<p>- Salary: $110k base, 168 stock<p>- Average yearly total comp: ~ $170k<p>Relocated: 2015<p>- Level: SDE II (5)<p>- Location: Seattle<p>- Salary: $125 base, ~160 stock, relocation<p>- Average yearly total comp: ~ $190k</p>
]]></description><pubDate>Sat, 19 Mar 2016 01:18:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=11316688</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=11316688</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11316688</guid></item><item><title><![CDATA[New comment by hmmdar in "Using the gdb debugger with Go"]]></title><description><![CDATA[
<p>Check out Derek Parker's talk from GopherCon 2015. He provides specific reasons gdb has difficulties with debugging Go programs, and why a tool which specifically understands how Go functions is needed. <a href="https://www.youtube.com/watch?v=InG72scKPd4" rel="nofollow">https://www.youtube.com/watch?v=InG72scKPd4</a></p>
]]></description><pubDate>Thu, 06 Aug 2015 17:08:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=10017845</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=10017845</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10017845</guid></item><item><title><![CDATA[New comment by hmmdar in "Google Compare Auto Insurance"]]></title><description><![CDATA[
<p>Not sure what input I provided wrong, or if its just the services Google is partnering with, but all the quotes provided are 2-3 times more than what I pay now.</p>
]]></description><pubDate>Sat, 07 Mar 2015 00:38:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=9160445</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=9160445</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=9160445</guid></item><item><title><![CDATA[New comment by hmmdar in "Life in the Americas Before Columbus (2002)"]]></title><description><![CDATA[
<p><a href="http://www.amazon.com/dp/0393317552" rel="nofollow">http://www.amazon.com/dp/0393317552</a> Guns, Germs, and Steel by Jared M. Diamond does a great job of explaining this in detail, and not just in the North Americas, but examples throughout the world.<p>It boils down to a few basic ideas<p>1: Native american's had no real concept of quarantine. If someone was sick, the extended family would take care of them. In turn the extend family would become infected, and infect the rest of the village/tribe as they travelled.<p>2: Europeans lived in cities with much greater population densities. Their immune systems were much more accustomed to dealing with a large variety of infectious agents. Whereas the native americans live is small homogenous villages. With very little exposure to outside influences, other than other tribes/villages.</p>
]]></description><pubDate>Mon, 13 Oct 2014 19:20:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=8450106</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=8450106</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=8450106</guid></item><item><title><![CDATA[New comment by hmmdar in "Text normalization in Go"]]></title><description><![CDATA[
<p>Looks like this issue is pervasive in other languages as well.  Out of curiosity ran the same test in Javascript and received the same result.<p><pre><code>  s = "We went to eat at multiple cafe\u0301"
  "We went to eat at multiple café"
  s.replace('cafe', 'cafes');
  "We went to eat at multiple cafeś"
</code></pre>
Interesting thing is when the text is copy-pasted backspacing first deletes the accent.  At least in chrome.</p>
]]></description><pubDate>Wed, 27 Nov 2013 06:15:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=6806746</link><dc:creator>hmmdar</dc:creator><comments>https://news.ycombinator.com/item?id=6806746</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=6806746</guid></item></channel></rss>