HNHacker News
TopNewBestAskShowJobs

nicolewhite

317 karma · joined September 18, 2014

Software Engineer at Autoblocks

https://docs.autoblocks.ai/

submissionscomments
nicolewhite··on Show HN: Detecting the Programming Language of Code Using ML and Neural Networks
Not necessarily overkill; maybe they wanted to learn how to use neural networks and this was a good project to do that. Simple is best for professional projects, but for personal projects like this it's better for you to explore something you don't know already for learning purposes.
nicolewhite··on R Markdown – Dynamic documents, presentations and reports for R
I've almost fully switched from Jupyter to RMarkdown after discovering RMarkdown supports Python. And about publishing / rendering, do you not like RPubs?
nicolewhite··on Panama Papers affair widens as database goes online
I wrote an import script: https://gist.github.com/nicolewhite/f1980f01dc4342b369a6b3b6...
nicolewhite··on Feeding Graph databases – a third use-case for modern log management platforms
I understand your pain around Neo4j's past import capabilities; when I found it around two years ago I had a lot of trouble with this as well. But with the new neo4j-import tool [0] that's no longer an issue. I've imported ~50 million nodes and ~100 million relationships into Neo4j in under four minutes with neo4j-import.

[0] http://neo4j.com/docs/stable/import-tool-examples.html

nicolewhite··on Apple in Talks with US Banks to Develop Mobile Person-To-Person Payment Service
You can do this easily with Square Cash and Venmo already.
nicolewhite··on Google launches offline maps
Just installed HERE and searched for the hotel I'm about to stay at while in Casablanca. It dropped a pin that was wrong by about 30 miles. Neat idea, but clearly not reliable.
nicolewhite··on On Tinder, Off Sex
> I quit drinking because I have a problem with alcohol.
nicolewhite··on Show HN: Graph Your Twitter Network with Neo4j, Powered by Docker
Any messages in the console?
nicolewhite··on Show HN: Graph Your Twitter Network with Neo4j, Powered by Docker
That only applies when the relationship implies bi-directionality. On Twitter, me following you doesn't necessarily mean that you follow me. Thus both directions are persisted in the model.

If this were on Facebook, however, you would be right. (:User)-[:FRIENDS_WITH]-(:User) would only need to be persisted once and with an arbitrary direction.

nicolewhite··on Things men have actually said to me at tech events
This is my experience as well. Often I'll be the most knowledgeable person at our booth (for Neo4j) and people always look to my male coworkers when asking questions.

And one of my personal favorites: "So I'm guessing you're in marketing?"

nicolewhite··on Show HN: Pocketsquare – portfolios for developers
You should also think about catering to data scientists. It's not an option in the "specialty" dropdown and you don't have languages like Scala, R, Julia, or MATLAB.
nicolewhite··on Commentit: comments on GitHub pages
Can't wait to try this out. I've been using Disqus on my Jekyll + GitHub pages blog and I don't like it much. I changed the URL of one of my posts once and it was a huge pain to get the comments migrated over.
nicolewhite··on Show HN: Zube.io – Simple project management for your GitHub issues
Hey, just got it all set up. Seems very neat!

I have a question: how can I view all issues? It seems I can only view issues without a milestone and issues in a milestone separately.

nicolewhite··on Show HN: Pineapple, a standalone IPython front end for Mac
Just downloaded it, I love the logo!

I like it so far. I think the main thing it needs is tabs, though. I usually work on several notebooks at once, so having a new Pineapple window for each of them is not ideal.

nicolewhite··on Sangria – Scala GraphQL Implementation
"It is a query language for graph data..." is directly from their description.

https://facebook.github.io/react/blog/2015/05/01/graphql-int...

nicolewhite··on FuckAdBlock
I like what OkCupid does. If you have an ad blocker enabled, they explain in the space where an ad would normally be that while OkCupid is free, it runs on ad revenue, with a link to their donation page.
nicolewhite··on How to Onboard Software Engineers
Kate's talk at PyCon Sweden was one of my favorites. It's called "The Ethics of Being a Programmer." Here's the video for anyone interested in watching:

https://www.youtube.com/watch?v=DB7ei5W1eRQ

nicolewhite··on Show HN: Tonic – A data visualizing REPL for Node.js
This is so amazing. It's like IPython notebook for node!

Edit: I made one[0]. I love that you force semantic versioning.

[0] https://tonicdev.com/nicole/solve-a-cubic-equation

nicolewhite··on Show HN: Algebra.js – Build, display, and solve algebraic equations
> I suspect this merely detects the order of the equation and then applies the proper solving formula (Abc for 2nd, Cardano for 3rd).

That's exactly right. You could build a quintic equation, but attempting to solve will return undefined.

nicolewhite··on Show HN: Algebra.js – Build, display, and solve algebraic equations
Yes, thank you for the clarification. Maybe "incomplete" was the wrong word; I was referring to the note on the Wikipedia page:

> At this point, Cardano, who did not know complex numbers, supposed that the roots of this equation were real, that is that q^2/4 + p^3/27 > 0.

I actually had initial plans to do it Cardano's way: I added a Complex class for the very situation you described[0], but ended up abandoning it as the trig solution seemed more straightforward.

[0] https://github.com/nicolewhite/algebra.js/commit/47b6cbba375...

nicolewhite··on Show HN: Algebra.js – Build, display, and solve algebraic equations
Yeah, I remember seeing that when I found the name algebra was already taken on npm. :)
nicolewhite··on Show HN: Algebra.js – Build, display, and solve algebraic equations
At one point I did have an interactive example on the project page where you could manipulate an expression with a calculator-looking number pad, but after I ran it by a few friends they seemed mostly confused by its functionality so I removed it.

I definitely want to expand the library's functionality; this project has been my go-to for when I'm burnt out on other projects so I don't plan on putting it down anytime soon. Some basic calculus seems like a natural next step, though that might betray the name algebra.js. :)

nicolewhite··on Show HN: Algebra.js – Build, display, and solve algebraic equations
That's a very clever idea. Thanks.
nicolewhite··on Show HN: Algebra.js – Build, display, and solve algebraic equations
Thanks! Fun was the main motivation for this project.

Parsing strings into expressions is something that math.js offers currently with math.parse and expression trees[0]; I was discussing it with the author the other day[1].

[0] http://mathjs.org/docs/expressions/expression_trees.html

[1] https://news.ycombinator.com/item?id=10042470

nicolewhite··on Show HN: Algebra.js – Build, display, and solve algebraic equations
That sounds like some fun Friday night reading. :) Glad you enjoy Neo4j!
nicolewhite··on Show HN: Algebra.js – Build, display, and solve algebraic equations
Thank you for the kind words! I appreciate it. I agree that I should add a bit more instruction for opening up the JS console in Chrome or FF. I'll also add a use case section to show some practical examples.

Glad to hear you're interested in RNeo4j; let me know what you think.

nicolewhite··on Show HN: Algebra.js – Build, display, and solve algebraic equations
That's very cool. I should definitely add functionality for solving a system of equations.
nicolewhite··on Show HN: Algebra.js – Build, display, and solve algebraic equations
Hello HN,

I was learning JavaScript by completing challenges on CoderByte[0], where one of the hard challenges was to find the point where two lines intersect. The lines were defined by two sets of points, and you had to return your answers as rationals, not floats. The challenge isn't timed, so I got a little carried away: ended up making a Fraction class, Equation class, etc. This first iteration could only solve linear equations, but I decided to expand it out into a library that could solve higher order polynomials and manipulate expressions.

On a related note, solving cubics is actually kind of hard. This guy Cardano[1] figured it out[2] in the 1500s, but his solution was incomplete because he wasn't aware of imaginary numbers at the time. I then found you could solve cubics with some trig[3] and decided to go that route. Anyway, hope you enjoy, and of course I am interested in your feedback.

[0] http://coderbyte.com/

[1] https://en.wikipedia.org/wiki/Gerolamo_Cardano

[2] https://en.wikipedia.org/wiki/Cubic_function#Cardano.27s_met...

[3] http://www.nickalls.org/dick/papers/maths/cubic1993.pdf

nicolewhite··on Show HN: Algebra.js – Build, display, and solve algebraic equations
Yeah, it could be used like that. The main use case that kept coming to mind while I was writing it is interactive tutorials. You could easily build an interactive "what happens when you multiply this expression by [some user input]" type of thing.
nicolewhite··on Markdown and LaTeX Editor
+1 for RMarkdown and editR. The best thing about RMarkdown is the ability to do calculations in R and use those variables within LaTeX. A simple example:

  ```{r}
  a = 3
  b = 6
  c = a / b
  ```

  Did you know that $\frac{`r a`}{`r b`} = `r c`$?
http://i.imgur.com/IpiqDEx.png
← PreviousPage 2 of 4Next →