Better HN
topnewbestaskshowjobs
Log inSign up

nulltype

738 karma · joined Oct 15, 2013 (13y ago) · 478 submissions

Submissions

comment 11y ago · link · parent

Hilariously, the graph in the article is "Vehicle Miles Travelled" not "Hours spent in vehicle" which could be increasing while the other decreases.

comment 11y ago · link · parent

I am convinced that GC can cause issues with object lifetimes and pauses (at least without a pauseless GC).

Like sanjoy points out though: https://news.ycombinator.com/item?id=9856234 RC could involve atomic increment/decrement. I haven't seen any macro benchmarks about ARC performance vs manual memory management and/or GC.

I've seen anecdotes like http://stackoverflow.com/questions/12527286/are-there-any-co... or microbenchmarks (from the same page) but nothing at a larger scale.

comment 11y ago · link · parent

Do you think ARC is a viable alternative? I'm uncertain how the performance compares to GC for most applications.

comment 11y ago · link · parent

Ah, too bad. Do you know what sort of heap sizes you got those pauses at?

comment 11y ago · link · parent

I would say it's a trade-off between writetime efficiency and runtime efficiency. The trend has been that runtime efficiency matters less and less. Compare the modern idea of "efficient" software to the binary that early machines were programmed in.

With Moore's law possibly ending and current memory access speeds though, it may be starting to matter a lot moore.

comment 11y ago · link · parent

I'm not sure users really care how many gigabytes their word processor is. How fast it is is probably more interesting to them. And while wasting CPU cycles on abstraction layers isn't a great way to make a super fast program, if the program still runs at 60fps and took half as much time to develop, then maybe they're worth it.

Of course, when you end up with some standards-driven monstrosity like a modern web browser, you do seem to have a lot of unnecessary abstraction layers and also it's slow.

comment 11y ago · link · parent

Have you encountered any problems with go GC pauses?

comment 11y ago · link · parent

I know tons of people under 30 who have a lot of cavities.

comment 11y ago · link · parent

GitHub has at least some good ideas in this area. Code review and issue tracking are nice, but everyone seems to want something different from those systems so I'm not sure how to do that in a reasonable way. Access control would be nice for deploys I guess?

I hope that someone really does make an online IDE that means I don't have to use a local IDE anymore, but I'm not certain how feasible that is. Atom seems like a giant step in the right direction.

comment 11y ago · link · parent

Is it weird if you just charge GCS-style pricing for git data?

comment 11y ago · link · parent

Why does that make it harder for me to move my paid repos off of github? I don't use PR or the github issue tracker, so I could probably start using the google cloud repos tomorrow if felt like it.

comment 11y ago · link · parent

Are you talking about http://nuclide.io/ or some other editor?

comment 11y ago · link · parent

What happened with AppEngine?

comment 11y ago · link · parent

That seems true, but only for open source projects. Why would it be hard for closed source projects (where github makes all their money) to move away?

comment 11y ago · link · parent

That's pretty amazing! Is the guide available as a webpage?

comment 11y ago · link · parent

Well under the new rules the author is paid by paragraph read, not for the whole article.

comment 11y ago · link · parent

I started a prototype of a guide like this. I think it's probably the best way to teach OpenGL. Besides not messing with compilers and linkers (a huge advantage) you can have interactive demos right there in the guide, which is pretty cool. As well as explanatory demos like http://acko.net/files/fullfrontal/fullfrontal/webglmath/onli... In addition, I think WebGL will raise exceptions on errors, unlike C OpenGL, which is really really nice when you're trying to learn it.

One thing that I think is missing is having a code description of how things work. If you can present shaders as for loops over the input vertices or pixels, it might be more clear than just a bunch of diagrams. I had to write my own rasterizer in order to get a decent idea of how it worked.

Another that might be missing is the state possessed by OpenGL. The linked guide calls it a state machine but there's no state machine diagram or anything. Just having a list of the most common OpenGL state and a way to print it all out might be nice. I've had a lot of bugs (like not setting glViewport or having the wrong GL_RENDERBUFFER bound) that would probably be easier if I could see the current OpenGL state or even know that GL_RENDERBUFFER wasn't changed by GL_FRAMEBUFFER.

comment 11y ago · link · parent

A better alternative in my experience is to implement just the unidirectional data flow idea. This gives you some of the advantages of react without a lot of the complexity.

comment 11y ago · link · parent

Yeah but what if the physical switch gets manipulated? I think if you're that paranoid you need to keep your macbook in a vacuum so it can't pick up any sound.

comment 11y ago · link · parent

There's a light for the camera, they should just add one for the microphone.

comment 11y ago · link · parent

Even their lowest level of premium support is pretty good. I think the higher levels have phone support.

comment 11y ago · link · parent

Sounds like a blast.

comment 11y ago · link · parent

Yeah, I find it weird that nobody else can use those cable networks, unlike the phone lines, or build their own. Perhaps those subsidies should have included more strings. Or maybe it should be easy to run cables.

comment 11y ago · link · parent

I think a more fundamental skill these days is figuring things out. For instance, a test where you actually have to google for the docs to something and figure out how to use it might make more sense.

The idea that "serious programming" means abstract data structures or coding in assembly is weird to me. I would consider a lot of people serious programmers who, while they may know how to do those things, don't actually do them almost ever.

comment 11y ago · link · parent

That sounds a lot more appealing to me than the government actually building the thing.

With the EM spectrum for instance, the unlicensed 2.4GHz and 5GHz bands have been pretty useful. Google actually tried to get the 700 MHz spectrum (in the 2008 auction) licensed in a way that would probably benefit consumers quite a bit, though I'm not sure how well that worked. It's odd that Google had to do that when it's ostensibly the government's job to ensure good use of this limited natural resource, but I think the idea was good.

comment 11y ago · link · parent

Why should the government be doing it?

comment 11y ago · link · parent

I think it makes a lot of sense. I can download the Windows version of an app and double click on it and it runs. As opposed to I double click on it and it's all "oh you don't have a JRE" or "you have the wrong JRE, mysterious error" or "you need to install this JRE", or it installs a JRE for me, but another app requires a different JRE.

comment 11y ago · link · parent

There seems to be an idea that some ways of telling your computer what to do are too foppish and that if you are serious about it you use a language from 40 years ago. Of course that's probably what the assembly programmers said about C and there aren't many of those left anymore.

comment 11y ago · link · parent

Yeah I use the Linux binary, I'm not sure what you're saying here.

comment 11y ago · link · parent

Why don't they just combine the JRE and JAR file? Then I can be sure it works when I download it.
1
91011
16