Readit News logoReadit News
cloudkj commented on Reddit's favorite products in one place   looria.com/reddit/overvie... · Posted by u/mooreds
bckygldstn · 3 years ago
Nice, I run https://www.redditreads.com which is similar but just for books.

Reddit really is great for recommendations: is less impacted by SEO and marketing that most of the internet, upvoting captures the wisdom of the crowd, and comments usually provide context for their recommendation.

HN is similar actually, though much smaller.

On both looria and redditreads I find it interesting how the products recommended reflect the culture of each subreddit.

cloudkj · 3 years ago
Just curious - how long have you been running the site and how sustainable of a model you feel it is? Sustainable in the sense that the affiliate or ad revenue it brings in is consistent enough to justify continued maintenance, improvement, etc.

I'm also interested in starting up something similar for a particular niche, and would like to hear first hand accounts of the return on investment for aggregators such as these.

cloudkj commented on Biden wins White House, vowing new direction for divided U.S.   apnews.com/article/joe-bi... · Posted by u/granzymes
deftnerd · 5 years ago
I've always felt that the Trump presidency served as an effective form of "Chaos Engineering". Regardless of your views of Trump's politics, his administration and method of leadership has exposed a lot of flaws in how our government has been designed and engineered.

The postmortem of the last 4 years should be analyzed deeply in order to identify the weak points in the infrastructure of our government in order to make improvements.

Trump has been a very effective chaos monkey.

cloudkj · 5 years ago
+1 my thoughts as well. He's been a stellar QA, stress testing various facets of government, politics, and media.
cloudkj commented on MixedName – Bilingual baby name finder   mixedname.com/... · Posted by u/capableweb
moultano · 5 years ago
I did a similar thing for our kids (Hindi/English) but we had slightly different goals. Since the kids were getting my English surname, we wanted to give them Hindi first names, but we wanted them to be easily pronounceable in English. So I wrote a character-based ngram language model based on the US census count of names, and used that to score a list of Hindi names. I then improved it by adding a bunch of rewrite rules to collapse similar sounds together to "canonicalize" names before scoring them against the language model.

Finally we ended up with Riya for my daughter (which is pronounced the same as the English name Rhea) and Aarav for my son, which is pronounced the same as two of the most common English words, "are" and "of."

Edit: I was able to find the output from the girl's name list. https://docs.google.com/spreadsheets/d/1Vy1dQunG4iie4H67En9T...

cloudkj · 5 years ago
I worked on a project with similar motivations; in my case, I had a list of criteria in mind, one of which was the number of syllables in a name. I couldn't find a good source for name syllabification, so built an n-gram language model trained on the CMUdict corpus.

https://github.com/cloudkj/ngram-syllables

cloudkj commented on Build yourself a weather station   blog.kdubovikov.ml/articl... · Posted by u/kernelmode
izacus · 5 years ago
The way I solved this was by buying cheap weather stations from AliExpress. Many of them come with multiple temperature/humidity sensors powered by batteries - for as low as 70$ for a station with 4 sensors. Those sensors transmit on 433 MH or 838MHz radio which has excellent range (20m+ through walls) and long (months+) battery life.

On RPi side I only had to get an RTL-SDR receiver and run https://github.com/merbanan/rtl_433 on the RPi itself to decode the data.

It was significantly cheaper than going with BLE or WiFi sensors.

cloudkj · 5 years ago
Just saw some of the references to RTL-SDR in the thread comments and started down the rabbit hole, and it looks like a fascinating area for hobbyists.

Can you provide some links to temperature sensors you've tried that work well with an RTL-SDR receiver? I'm also interested in setting something up with a Raspberry Pi.

cloudkj commented on Ask HN: What is your blog and why should I read it?    · Posted by u/jppope
cloudkj · 5 years ago
I'm at https://www.kelvinjiang.com/

Mostly a small collection of posts about programming and personal finance. Also been running for around fifteen years.

Most popular post is about currency arbitrage, which seems to have had a small resurgence in interest as of late from various crypto folks: https://www.kelvinjiang.com/2010/10/currency-arbitrage-in-99...

Side note: not sure if it's just a funny coincidence, but it seems like a good number of folks here have been running their sites for around fifteen years. Perhaps the timing just happens to match the typical career arc of software professionals, or maybe it was due to the popularity of blogging fifteen years ago.

cloudkj commented on How strong is your knot?   news.mit.edu/2020/model-h... · Posted by u/chmaynard
kajecounterhack · 6 years ago
For standard knots the Klutz book of knots is really excellent! https://www.amazon.com/Klutz-Book-Knots-John-Cassidy/dp/0932...

The article doesn't mention fishing knots; in case anyone's curious anglers care a lot about knot strength but strength changes based on whether you lubricated the knot when tying and what kind of line you used to tie it (braid vs smooth fluorocarbon for example).

My favorite fishing knot is the uni knot, which is a slip knot that can be used to join lines (double uni) or tie things to line. It's super strong but fishing knots aren't designed to be untied and always cinch down (vs climbing knots which can't collapse / strangle a person). Slipknots are very useful: I use a 3-wrap uni when I'm trussing thankgiving fowl for the oven!

There are some really cool fishing knot strength testing videos on YouTube. The line-to-line joining knots are my favorites -- people get heated debating the merits of the FG knot vs the alberto vs the double uni.

cloudkj · 6 years ago
Indeed. Fishing knot strength is always a hot topic of debate, particularly during the slower, off-season winter months when everyone's hunkering down and doing tackle maintenance. Here's a pretty good breakdown of the line breaking strength of various fishing knots across monofilament, fluorocarbon, and braided line: https://www.knotsforfishing.com/knot-strength-chart/

I personally prefer the Palomar Knot as it is probably the strongest knot that is also easy to tie. The Improved Clinch Knot and its brethren are also handy to know since there are so many variants that have high breaking strength; I typically teach the Improved Clinch Knot to folks new to fishing.

cloudkj commented on Bad JSON Parsers   github.com/lovasoa/bad_js... · Posted by u/lovasoa
cloudkj · 6 years ago
Coincidentally, I just wrote a simple JSON parser the other day as a toy exercise. A simplified snippet of parsing code (handling only arrays) relevant to the discussion here would be something like:

  def parse(text):
      stack = []
      index = 0
      result = None
      while index < len(text):
          char = text[index]
          val = None
          if char == '[':
              stack.append([])
          elif char == ']':
              val = stack.pop()
          index += 1
          if val is not None:
              if stack:
                  stack[-1].append(val)
              else:
                  result = val
      return result
Using the test utilities in the repo indicate that the parsing logic can handle arbitrarily nested arrays (e.g. up to the 5,000,000 max in the test script), bound by the limits of the heap.

It seems like the main criticism here is against recursive implementations. Or am I missing something?

u/cloudkj

KarmaCake day841November 8, 2009
About
https://github.com/cloudkj
View Original