HNHacker News
TopNewBestAskShowJobs

pramodliv1

286 karma · joined October 9, 2012

pramodliv1@gmail.com https://pramod.io
submissionscomments
pramodliv1··on Enrollment Is Surging in Machine Learning Classes
If you want to use a library to find the shortest path in a graph, then the input is simply the list of nodes and edges and is easy to understand. You can use a third party library to solve the problem without knowing how the algorithm works under the hood.

But the arguments to a ML algorithm provided by third-party libraries include various parameters to tune the algorithm and make tradeoffs between accuracy/time etc. Debugging the algorithm for your particular dataset also requires some knowledge of how the algorithm works.

But there are use cases where you need not know what's happening behind the scenes. For example, you can use a ML as a Service provider to classify your photos without knowing how their algorithms work.

pramodliv1··on Show HN: Start a pair programming session over WebRTC by just sharing a link
There are instructions in this best practices article: https://docs.docker.com/engine/userguide/eng-image/dockerfil...

(Search for "as root")

pramodliv1··on Why We Moved to React
Thank you! Yes, that's right! I'm not familiar with React Router yet though :(
pramodliv1··on Coding Interview Preparation in JavaScript
My role is similar to yours too. But I'm not confident of solving tough algorithmic problems under deadlines yet. I'd rather work on a side project which involves designing and implementing neat algorithms.
pramodliv1··on What I learned from suffering my first and last XSS attack
Tinfoil discovered a few errors on my site. Thank you! I wish you hired a designer though :)
pramodliv1··on What I learned from suffering my first and last XSS attack
Thank you!
pramodliv1··on What I learned from suffering my first and last XSS attack
Thanks, I got an error message. I'll check it out once the site is up!
pramodliv1··on What I learned from suffering my first and last XSS attack
Is there a tool that tries XSS and other common attacks on a web page?

Similar to how Google Page Speed Insights and SEO tools which detect errors such as "You haven't minified your CSS", "You haven't set a title and description for your page" etc.

pramodliv1··on A love letter to jQuery
I wish someone builds a jQuery-like API for Android. Will definitely back it on KickStarter. Is it going to be React-native?
pramodliv1··on Why We Moved to React
I use React and Backbone too. Here's the source code: https://github.com/pixyj/feel/tree/master/client/app

I use jQuery for animations and also for non-crud pixel-level DOM manipulations as in the graph shown in the home page: https://conceptcoaster.com/course/python-tutorial/ In the graph, I need to dynamically calculate height of certain elements based on the height of others. The height cannot be predicted in advance. Can React work for such cases too?

pramodliv1··on Why Go solves so many problems for web developers
Thanks for the suggestions!
pramodliv1··on Why Go solves so many problems for web developers
I'm running Python + Django with uWSGI. Building the app is a pleasure. With type hints in Python 3.5, the code becomes almost as maintainable as statically typed languages too.

One problem I have is that the application is extremely CPU intensive. I can't get past 35-40 requests per second with 500 concurrent users (at 4 CPU cores, 14 GB RAM), which seemed too expensive economically. (I cached as much data as possible, both at the Nginx tier and with Redis) and tuned the number of uWSGI worker processes.

Do I have to try other languages or do you think I have more room for optimization with Python?

pramodliv1··on Why Building Apps the Wrong Way Can Be the Right Way
I heard a similar quote from Nathan Marz of Storm fame: "First make it possible, then make it beautiful, then make it fast" http://nathanmarz.com/blog/suffering-oriented-programming.ht...
pramodliv1··on Docker Datacenter – develop and manage apps at any scale
And what's their business model going to be like? Freemium as in Nginx Plus? Pay for monitoring? Support and Consulting?
pramodliv1··on Docker Datacenter – develop and manage apps at any scale
Deis looks amazing! In my current project, I'm running stateful/backing services like Redis, PostgreSQL outside containers. Is that the way to go with Deis as well?
pramodliv1··on Our Medical Data Must Become Free
Today, my dad was prescribed a drug released on September 2015. But papers explaining the "exciting results" were behind paywalls.

Do you know if medical researchers publish papers on a personal website as well? Are they forced to not make their research public?

pramodliv1··on Giving Every Student an Opportunity to Learn Through Computer Science for All
One of the reasons why programmers and computer scientists love their job so much, relative to many other fields is that CS was not part of the school curriculum.

I hope CS and programming is integrated into science and Math. I bet most students would love to solve real-world science problems instead of solving abstract puzzles. I wish I had exercises like:

1. Write a program to predict the trajectory of a free throw.

2. Collect Fitbit-like data from every student, find interesting correlations and perform qualitative analysis too.

3. Perform basic image processing tasks using matrix multiplications.

Instead of:

1. Integrate sqrt(tan(x)) [IIT 94] (Yeah, Indian text books highlight questions from previous years' exams).

2. Memorize a bunch of chemical equations without understanding how they work.

3. Find the determinant of this ridiculous matrix using an arcane trick.

pramodliv1··on GitHub Outage
say "github" does not get the pronunciation right. say "git hub" is the way to go!
pramodliv1··on Update on 1/28 service outage
Google wrote an article about disaster recovery in 2012. https://queue.acm.org/detail.cfm?id=2371516
pramodliv1··on Facebook is closing Parse
From a customer's perspective, Parse is not remotely related to Facebook's core products. But Firebase is part of Google Cloud Platform. So I guess as long as Google Cloud Platform is active, Firebase will be operational too.
pramodliv1··on Ask HN: What's the SQLite of graph databases?
If you're using Python and your graph fits in memory, networkx + any database for persistence.
pramodliv1··on HN Office Hours with Michael Seibel and Aaron Harris
I tried signing up on the web using my email and password (I don't trust Facebook) and it did not work. So I refreshed the page, by which time I'd forgotten my username. It would help if you have other social logins.

Why require the user to signup in the first place? I was reminded of a talk by Neil Patel, "It's like asking, Will you marry me as soon as you see someone". (https://www.youtube.com/watch?v=FRnsuzcfHr0)

Why not embed a video similar to this 10 minute video: https://www.youtube.com/watch?v=7w6M4bOXJ_s, ask the user follow along, record their own video using their phone / Webcam, share it with friends and use this data to improve your marketing, all without signing up.

As a potential customer, I miss the following features on YouTube and I would pay for and recommend Upfit if you address:

1. Is this exercise safe considering my medical conditions?

2. Is my technique correct / improving? (Feedback from experts)

pramodliv1··on Google's Free Deep Learning Course
Why do they have to push the library. Are there any competitive advantages?
pramodliv1··on Google's Free Deep Learning Course
I did not find the crash course in Linear Algebra to be useful. I had to complete Strang's course (ocw.mit.edu/courses/mathematics/18-06-linear-algebra-spring-2010/video-lectures/) before doing Andrew Ng's course , after which most of the course seemed easy.
pramodliv1··on Convert hand drawn equations to LaTeX
Quip: I type notes in a Quip document on my laptop and also open the same document on my Android phone. Quip syncs the notes automatically. When I want to note down a math equation, I write it on a piece of paper, take a photo and append it to the Quip doc using the app.

Later, I export the Quip doc to Markdown and make it searchable by adding it to Algolia.

pramodliv1··on New string formatting in Python
One can also do "{count} {apples}".format(locals()) if we are playing code golf.

Well, star-star locals. I don't know how to write it according to https://news.ycombinator.com/formatdoc

pramodliv1··on Django Awarded MOSS Grant from Mozilla
MDN is written in Django: https://github.com/mozilla/kuma. The add-ons site also uses Django. http://reinout.vanrees.org/weblog/2011/06/06/large-mozilla-s...

They have around 15 django libraries on GitHub as well https://github.com/mozilla?utf8=%E2%9C%93&query=django

pramodliv1··on Gunnar Carlsson on the Shape of Data (2012) [video]
Thank you!
pramodliv1··on Gunnar Carlsson on the Shape of Data (2012) [video]
It's quite clear from the Ayasdi website that they're targeting enterprise customers. I wish they had an API similar to clarif.ai or wit.ai.
pramodliv1··on Ask HN: Online python interpreter?
Sense: https://sense.io has a free tier where you can import requests, numpy, scipy etc.
← PreviousPage 2 of 4Next →