HNHacker News
TopNewBestAskShowJobs

peaton

54 karma · joined June 16, 2014

http://hazelpear.com
submissionscomments
peaton··on Google's MathFu: a x-platform geometry math library for C++
Taking a course on OpenGL Graphics programming in university right now. We use GLM. It seems pretty good. If I'm not mistaken this is a (potential) replacement for GLM? If anyone knows GLM well could they discuss the differences between the two libraries? Is this worth investing time into?
peaton··on CSS-only plotting
Why do you bring this up? Is this more ideal? I thought writing inline css was an accepted awful thing to do. Or is that just a simplification for new developers? Why do you benefit from doing this?
peaton··on Live map of Russia advancing into Ukraine
Wow, I guess this is what would have happened online during World War II if it happened in modern times. Interesting historic landmark as far as information dissemination during confrontations/wars.
peaton··on Show HN: EDI – An editor in Go
For the young dudes like me could you explain why?
peaton··on Paletton – Color Scheme Designer
For those of you who confused like I was, this site/app used to be Color Scheme Designer 3 [1]. Same people, new name apparently.

[1] http://colorschemedesigner.com/csd-3.5/

peaton··on CSS Variables in Firefox 31 – new syntax
I see, thanks for pointing that out.
peaton··on I've never seen a language's style guide recommend avoiding comments before
Maybe my view of NLP is more sci-fi than reality, but I think you're missing what I meant. If you can use NLP to prove that your comment - ie the intent - which IS invisible to the compiler and IDE, then that might be cool. Practical, probably not. But I'd still be very impressed at the implications if this was possible within some error margin.
peaton··on I've never seen a language's style guide recommend avoiding comments before
Do you really think the time spend writing a comment is comparable to improving the code? Personally, I can't think of an occasion where that would have been true.
peaton··on I've never seen a language's style guide recommend avoiding comments before
I don't mean this negatively, but in my experience as a high schooler and in college, the programming crowd tended to be lacking in written (communication) skills. This is certainly a huge blanket statement, but for younger programmers today I think the stereotype has at least some truth.
peaton··on I've never seen a language's style guide recommend avoiding comments before
Brings up an interesting point about perhaps using natural language processing to determine correctness of a comment. That would be prettty cool.
peaton··on CSS Variables in Firefox 31 – new syntax
So in this article, the author says this is not supported on chrome. But in this stack question [1], chrome is clearly using it. Is the only difference the author is discussing that now firefox uses/supports "--" instead of "var-"?

[1] http://stackoverflow.com/questions/18466569/enable-experimen...

peaton··on Show HN: Please Don't Rob Me
You've got some browser height compatibility issues [1, 2]. (I'm on Chrome on a macbook.)

[1] http://cdn.imghack.se/images/c226811e44f418ab538c336f156d1b3...

[2] http://cdn.imghack.se/images/db6a53b635f7d471f747117aada7f2f...

peaton··on GoTenna – Send and receive messages even when you don’t have service
Then you misunderstood, or I am perpetually misunderstanding. The comment that I responded to asked for a way to use this product to send actual text messages. He wanted to relay a message to another phone via this product and then have his phone send an actual text message using information from the initial message. I gave a suggestion about how to do that.
peaton··on GoTenna – Send and receive messages even when you don’t have service
I mean, I know it's not secure. But I had no clue it was down-vote-not-secure!
peaton··on GoTenna – Send and receive messages even when you don’t have service
It could be a whole lot simpler than this. (And a whole less secure.) In high school I had a server running that scanned email for a keyword and my cellphone number; I didn't have a smartphone. So I texted a keyword and some code to my email. Then my server would read the email, see it contained the keyword, then interpret the rest of the code I sent and execute it. This would be insanely easy (and not too secure) to implement on Android for instance.
peaton··on Nimrod by Example
Could you elaborate on why you think it would be a good HDL?
peaton··on What happens when you search 'ugly hack' in GitHub
As you said, big grains of salt... It would be probably more helpful if they were normalized by the percentage any particular language is used overall on Github.
peaton··on Why the Bootstrap 3 Grid Works (2013)
The biggest problem I've had with bootstrap is that it is so large. There is so much overhead. My company is working on a project and it would have taken a ton of work to port to bootstrap.

For lightweight grids that support dynamically sized containers, masonry was great. But there a ton of issues with keeping the content centered when the container changes size.

We dealt with this by using inline-blocked elements with tex-align: center, then appending invisible elements to maintain an apparent left-oriented grid: https://github.com/hangify/Central

peaton··on Show HN: Papa Parse 3
Ok! Interesting. Are web workers gaining traction? This is the first time I've heard of them. Are there any major users/libraries that depend on ww?
peaton··on Show HN: Papa Parse 3
Hm, could somebody explain the multi-threaded part to me? I'm a little confused. I didn't think multiple threads were possible in js. Furthermore, does this only work on Firefox?
peaton··on Kotlin: Statically typed programming language targeting the JVM and JS
I agree with the positivity. It is always easiest to critique and stick with the familiar.

Something we can quantitatively take away from the slur of new languages is that new languages are easier now than ever to create/implement. This should be a good thing. This means faster iteration can occur. Even if that iteration is not necessarily taking place, the creation of new languages verifies this ability.

peaton··on The Tao of Programming
Hmm... that explains the full text links on the wikipedia page...
peaton··on Named parameters in C
Wow, that's really interesting. I had no idea this was possible. Do you know of any links to tutorials or blog posts on this? I'd love to see a more detailed example.
peaton··on Amazon, a Friendly Giant as Long as It’s Fed
Ah yes, I forgot about Gates. (And Elon, and a number of other such CEOs I'm sure.) Good call!

But you're definitely completely right about medium-sized companies. I had totally forgotten about that category.

peaton··on Show HN: Sobrr
No I agree. As soon as I heard the music I instantly started thinking about it. "Is music always this distracting? Is this louder than normal? What is he saying. Oh well, I'm sure it's just me." But I'm glad you pointed this out. Definitely worth a reshoot.
peaton··on Amazon, a Friendly Giant as Long as It’s Fed
It seems the case that the life of a company also follows the Dark Knight quote "You either die a hero or you live long enough to see yourself become the villain." That is, when a company starts, we all invest because we want our chance to become majority stake holders in the next big monopoly destroyer. Once a company accomplishes this, it becomes a target just as the company(ies) it replaced. I'm no expert and I could be overly generalizing, but am I the only one that sees a problem with the fundamental form company growth takes today?
peaton··on XPlain – Explaining X11 for the rest of us
I'm not saying it's a bad thing. I really just meant it as a comment. Hacking the layout just reminded me of those good old myspace profile days. No I'm not "hating". Everybody does this these days. I just think it's interesting.
peaton··on XPlain – Explaining X11 for the rest of us
Slightly unrelated, but does all of this recent github hacking for blogs/books/etc remind anyone else of myspace?
peaton··on Mars: a hybrid imperative-declarative higher-order language
And boo http://boo.codehaus.org
peaton··on Adopting a new programming language
I definitely agree. Furthermore, I think being multi-lingual in terms of spoken languages also helps understanding and being open to new paradigms and idioms. And this works both ways. After spending a semester programming in Scheme, I was much more open to the idioms and syntax of Chinese. I think this effect is super exciting and not discussed enough.
Page 1 of 2Next →