Better HN
topnewbestaskshowjobs
Log inSign up

peaton

54 karma · joined Jun 16, 2014 (12y ago) · 59 submissions

http://hazelpear.com
Submissions

comment 12y ago · link · parent

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?

comment 12y ago · link · parent

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?

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

For the young dudes like me could you explain why?

comment 12y ago · link · parent

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/

comment 12y ago · link · parent

I see, thanks for pointing that out.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Brings up an interesting point about perhaps using natural language processing to determine correctness of a comment. That would be prettty cool.

comment 12y ago · link · parent

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...

comment 12y ago · link · parent

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...

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

I mean, I know it's not secure. But I had no clue it was down-vote-not-secure!

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Could you elaborate on why you think it would be a good HDL?

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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?

comment 12y ago · link · parent

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?

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Hmm... that explains the full text links on the wikipedia page...

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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?

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Slightly unrelated, but does all of this recent github hacking for blogs/books/etc remind anyone else of myspace?

comment 12y ago · link · parent

And boo http://boo.codehaus.org

comment 12y ago · link · parent

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.
12