HNHacker News
TopNewBestAskShowJobs

craigching

881 karma · joined October 21, 2012

submissionscomments
craigching··on Amazon Wants to Turn Lord of the Rings into the Next Game of Thrones
It does say “Lord of the Rings”, but if they tackled some of the stories from “The Silmarilion” that could be pretty cool!
craigching··on A Neural Network in 11 Lines of Python (2015)
If this blog post interests you, you may be interested in his book that is forthcoming: https://www.manning.com/books/grokking-deep-learning
craigching··on Evolving the Dropbox Brand
Hit the down arrow key and some javascript is exposed. Was that intentional I wonder?
craigching··on Ask HN: What free resources did you use to learn how to program ML/AI?
Wow, that is really cool, thanks for sharing that! The YouTube video explaining it is here, well worth the short watch: https://m.youtube.com/watch?v=S2GY3gh6qC8
craigching··on Swift 5: start your engines
With a name like 'vapor', I thought this was some sort of joke. But this looks like fun! https://vapor.codes. An example from that page:

  import Vapor
  
  let drop = try Droplet()
  
  drop.get("hello") { req in
      return "Hello, world."
  }
  
  try drop.run()
craigching··on Visualizing the Math Behind Logistic Regression and Newton's Method
> In general, it’s not a good idea. And in general, Newton’s method won’t converge.

Right, but this blog post isn't about the general case of using Newton's method to find roots, it's about using Newton's method for solving logistic regression for which it is perfectly suited, though there are better methods as well, of course.

craigching··on Visualizing the Math Behind Logistic Regression and Newton's Method
Yeah, that would work. Honestly, when I studied logistic regression, we used gradient descent, so seeing it with Newton's method was the draw for me. I can go find the resources myself of course, but since I was reading the article I thought it would be convenient there :)
craigching··on Visualizing the Math Behind Logistic Regression and Newton's Method
This is a really nice introduction to logistic regression, well done! My one quibble with the OP is the jump into Newton's method. Maybe a derivation to explain the five steps would help. Thanks!
craigching··on The New Firefox and Ridiculous Numbers of Tabs
It's not like people are suddenly opening up 150 or 1000 tabs due to hyperactivity! :p. I know in my case I just keep my browser open and things tend to just keep going and eventually I have hundreds of tabs open over the course of ... a week? A month? I'm not exactly sure. Occasionally I just shut the browser down and start over.

FWIW, I use safari as my primary browser and it seems to handle many tabs fine, though I'm sure I don't get up to the thousands of tabs that people are reporting. I can't say I've thought about how many tabs it can actually handle, though, as I do eventually clean things up, bookmarking tabs that are actually worth something and discarding the rest.

craigching··on The New Firefox and Ridiculous Numbers of Tabs
> I just need an answer, not a survey of all possible answers

For me, sometimes when I need a direct answer, none of the answers found are that direct. Sometimes I look at an answer, gauge the effort it would take to investigate if that would work (code changes, whatever) then move on to see if there's an easier answer to verify. When I run out of those options, then I want to come back to this answer and try it. Doing this it's pretty easy to get my number of tabs up pretty high!

On the other hand, for research, yes, lots of tabs are the norm.

craigching··on Intel Movidius Neural Compute Stick: Deep Learning and AI on a $79 USB Stick
From the article:

"Like other players in the edge inference market, Movidius is looking to promote and capitalize on the need for low-power but capable inference processors for stand-alone devices."

Sounds like this is targeted at inference only, given the specs, that seems like a reasonable conclusion, right?

craigching··on Georgia Tech's free math textbook collective
Thanks much for the links! I go to the University of Minnesota and didn't know about that one. Great to know my school supports open text books!
craigching··on Apple enters the augmented reality fray with ARKit for iOS
I thought 6S+ ran A9?
craigching··on JRR Tolkien book Beren and Lúthien published after 100 years
I think I understand why the Silmarillion is so hard to read.

The first time through, it's as has been said, the stories aren't very detailed, they're more like old testament books. You definitely have to use your imagination. Also, more and more of the lore is revealed here as well. And then there are the names. Oh, the names! So many to keep track of!

I think I really started to get the Silmarillion on maybe the third read. After that it gets easier and easier the more you retain of the stories. It is certainly my favorite Tolkien book after probably five reads or so and I find the stories to be really rich and interesting now.

You're right, though, Sauron? But a servant of Morgoth! The stories regarding the Silmarils are my favorite of all of Tolkien's stories, which, of course, span many stories. And don't forget Ungoliant for pure unbridled evil!

craigching··on Attacking Machine Learning with Adversarial Examples
Previous discussion: https://news.ycombinator.com/item?id=13662165
craigching··on Optical illusions that flummox computers
This is a really interesting avenue to explore. How easy is it for humans to misunderstand something such that it leads to "catastrophic" failures. Here, a catastrophic failure could be something as simple as a huge fight between two people for a simple misunderstanding. If humans can have "breakdowns" based on simple misunderstandings, what are the cascading effects from a simple misclassification that can happen?
craigching··on Optical illusions that flummox computers
I may be restating some of what has been said elsewhere, but I hope that this simplifies things a bit.

What I believe the grandparent said was we should slow-roll neural networks where they have severe consequences, as in, life and death.

I agree, slow-rolling the internet would have potentially affected adoption, but the stakes are lower than, say, a self-driving car going off the rails. In those cases, we should probably thoroughly understand how a car can be affected by adversarial attempts at "breaking the algo" before adopting it very widely.

In other words, I wouldn't slow roll the internet because of fears of adversarial behavior, but I would in the face of self-driving cars.

I hope that further discussion could describe how internet security is as life-and-death as self-driving cars, or to the contrary :)

craigching··on Apple Loses Top Laptop Rating
I have a Logitech keyboard for my iPad Pro and love it. I've always purchased a keyboard with my iPads, I couldn't live without one!
craigching··on Amazon EBS Update – New Elastic Volumes Change Everything
> other than the lack of "shrinking a volume" support

It looks like you can shrink a volume, the edit box to change this just a "set a size" box. We have tested this and downsized one volume now and appears to have worked.

craigching··on Lyft surges to the top 10 on App Store following the “DeleteUber” campaign
I don't want to take sides, but how is spending $3 million to compensate their own drivers vs. $1 million going to the ACLU which benefits people other than Lyft's "employees" in any way equal?
craigching··on Java 8: New features in ConcurrentHashMap
For Jersey + Jetty, it's hard to beat dropwizard (dropwizard.io). I'm sure you've heard of it though ;)
craigching··on Ecuador acknowledges it has "temporarily restricted" Assange's communications

  Not to mention Assange's personal interests (he expressed hatred towards Hillary
Serious question, was that before or after he found out that Hillary wanted to "drone" him?

Honestly, for or against Hillary or anyone else, I am happy that there is some amount of transparency going on and we are learning about it. We need more of this.

craigching··on How Much More Can We Learn About the Universe?
Awesome, thanks!
craigching··on How Much More Can We Learn About the Universe?
Anyone know what galaxies are in the "Colliding Galaxies" image?
craigching··on Dolphin 5.0 Release
Thank you!
craigching··on Deploying Elasticsearch on a 150 node cluster to index 10B documents
Ok, yeah, I see what you're saying and that makes sense. But, even my response is premature because you generally have to parse the whole response to get "hits.total" anyway. So unless you have written a partial parser (does an open source one exist?) you are going to be parsing the whole document to get even "hits.total".
craigching··on Deploying Elasticsearch on a 150 node cluster to index 10B documents
The count API just returns counts. I'm assuming he needs some fields to display which should be smaller than source if source is "large." Unfortunately we are left to guess at his statements because not enough detail is provided.
craigching··on Deploying Elasticsearch on a 150 node cluster to index 10B documents
No, "hits.total" is the total number of documents that matched, regardless of what you specified as the number of hits to return.
craigching··on Deploying Elasticsearch on a 150 node cluster to index 10B documents
So, just a clarification, the "hits.total" is the total number of documents that were found. The only way to know the number of documents in the current set ("hits.hits") is to parse the hits and count. But even that shouldn't be too expensive unless I'm missing something here.
craigching··on Deploying Elasticsearch on a 150 node cluster to index 10B documents
What's your request size and how big are the documents you're needing to parse? Even if you're returning 1000 documents, if you're not fetching the source as part of the request (do you need to?) or if you don't have a ton of fields, it shouldn't be too expensive to parse that to get the total number of hits.
← PreviousPage 4 of 20Next →