Better HN
topnewbestaskshowjobs
Log inSign up

Keyframe

8,651 karma · joined Jan 11, 2009 (17y ago) · 3,755 submissions

@Keyframe

follow me at: https://twitter.com/keyframe

dominik.susmel (at) google's popular email service

Submissions

comment 10y ago · link · parent

Assuming ~1GB/sec SSD

Is this from the future?

comment 10y ago · link · parent

Here are the proposals for inclusion in the new C2X standard: http://www.open-std.org/jtc1/sc22/wg14/www/docs/PrePittsburg...

2193.

Programming Language C – C2x Charter(open-std.org ↗)

3 points · by Keyframe · 10y ago · 1 comment

comment 10y ago · link · parent

Oh, I malloc from OS or hardware (external custom hardware) rarely. Usually once, a big chunk at the start and then heap manage manually. Well, semi-manually too since I took most of my idioms into a library of mine. I had a lapse of thought. Keeping everything aligned is not an issue these days. Affinity can also be done from other languages if OS supports it (looking at you, MacOS), intrinsics or asm directly also, etc.

One thing is sure though. You're right most of reasons aren't technical. I'm very confident about what I know and what I don't know in C and I don't have to second-guess (usually) what I want to do, because my experience lies with C. It's a subjective choice, but also a technical - since that knowledge and experience is my technical asset. It's not like you can't do something in C that you can't do in C++. In fact, you can do it almost the same if you want to, but with C++ you would be a better fit if you follow C++ idioms, which I haven't picked up over the years (especially after STL cambrian explosion) and something I think I won't in the near future. Reason is simple. Everything I do, I do mostly alone and so far C has been good to me. I venture into other things, out of curiosity and sometimes necessity, but I always kind of fall back to C. Sometimes it's due to the fact that I know of top of my head how to do something quick (which I often need to) without resorting to googling or I don't know how to make it run quick enough since I'm not intimate with the language (not C++ in this case, but in general).

comment 10y ago · link · parent

I essentially never allocate memory explicitly

Depends on what you do, I guess. I process huge image sequences and have them run (play at least) in real time. I cannot afford to not allocate memory manually. In fact, I have to and I have to manage heap myself. I also have to manage thread affinity, in order to have threads (producer/consumer) share L2 cache to get the speed I want, and all that on multiple processors.

Sometimes you must do that manually.

comment 10y ago · link · parent

Objects are in C as well, with structures. You can do abstraction like that in different ways in comparison to classes. For example, components are common. Difference being that objects are components, but not all components are objects. Also function objects, aka functors.

I try to organize into specific components and piece them together into a sequential or threaded or both model, depending on what I do. Of course, it is specific to what I do. But there are large C projects that are successful - for example, Linux kernel.

comment 10y ago · link · parent

Steve Jobs/Tim Cook

comment 10y ago · link · parent

As if it were yesterday. Late 89 or early 90, I was learning my first programming language properly (after Logo, BASIC and other stuff). It was C. Common wisdom was that C was bloat and you'd do everything in assembly anyways. I stuck to it (did asm as well). Then, a few years later everything changed with real bloat that was C++ of ye olde and C was back in full force and never quit being there. I've dabbled with C++ before STL craze and never went into it as some of my friends did, but it wasn't quite different. Just a different mental model that it evangelised. These days, I can't even tell what's going on when looking at modern C++. I'm not sure I even want to. C just works for me, and has for a long time.

I've worked in numerous languages and platforms, even changed careers from programming (graphics) to film and television. But I'll always be a C programmer.

comment 10y ago · link · parent

Too many great talks to mention, but if I had to pick one it would be Ted Nelson's few minutes of demonstration of Xanadu. Demonstration is lacking, but what he said about the concept/idea is what stuck with me. Deep and referential(?) content. https://www.youtube.com/watch?v=En_2T7KH6RA

comment 10y ago · link · parent

I have second gen Nexus 7 tablet and Sony Z2. One is stock, one isn't, but both are pretty much the same. Great and unobtrusive. Love both devices. Manufacturer that keeps it cool on crapware can go a long way these days.

comment 10y ago · link · parent

If only Apple had resources to do that. They must be struggling.

comment 10y ago · link · parent

There are ways around it. In case of motion blur, edge has a 'feather' where mask's alpha is a gradient. In severe cases, mask's curve has a lot of control segments with each having a different in and out feather defined.

edit:

example: https://youtu.be/yZyIYUEfT3U?t=71

Also, masks themselves can be motion blurred, and if motion blur approximation is close enough to the footage, then it's good https://www.youtube.com/watch?v=biginQL6NIo

And, what it looks like pulling a matte with state-of-the-art tools https://www.youtube.com/watch?v=8oQqr6Lfmag Still a pain.

comment 10y ago · link · parent

This is impressive! But, I'll be really impressed once this 'new thing' brings us roto masks in motion. That is, isolating objects from background on a movie with pixel-perfect accuracy. It will also make a lot of people out of job and a lot of people happy at the same time.

comment 10y ago · link · parent

Is dual license a possibility?

comment 10y ago · link · parent

I didn't mean video specifically though. I mean decoding in general. Input and output fed in, and try to replicate blackbox encoder/decoder and see what happens. I'm sure it wouldn't work on (advanced) encryption because of some mathy reasons, but.. I don't know, xoring and RLE could work I guess? Only one way to find out! If it could work on more complicated codec systems, it would be an interesting approach regarding IP.

comment 10y ago · link · parent

I'm only on basic understanding of this, so this will be a cool learning tool! Can you, or more precisely did anyone try to create a decoder like this? For example, taking an input stream of mpeg4 or prores or whatever and giving that and the decoded output to the network and, after awhile, see what happens?

comment 10y ago · link · parent

I've used them all. And I mean all - from early 90's onwards. 3D DCC apps settled on a common UI patterns in the early 2000's. Blender isn't among them. Years, heck now it's decades, of different operating systems, computer architectures, applications and Blender still baffles me. It's not like I'm not open to learning new and radical UIs. Take Zbrush for example. It's completely foreign, but you can power through it and be done. There's something about Blender that makes this hard, and I can't explain why.

comment 10y ago · link · parent

Premise of New Kind of Science, basically.

comment 10y ago · link · parent

https://en.wikipedia.org/wiki/Economics_of_nuclear_power_pla...

and an overview of the cycle: http://www.world-nuclear.org/information-library/nuclear-fue...

comment 10y ago · link · parent

I agree that there are issues, but issues that can be solved if more research and energy is put into it. Nuclear waste being the primary concern. Space depot is an interesting option for sure. Nuclear became a priori taboo for some odd reason though. That's why it lacks political momentum behind it. Nuclear can and should be solution for this.

comment 10y ago · link · parent

If only people weren't so scared of nuclear.

comment 10y ago · link · parent

Even Raspberry Pi is an overkill. Look at with what we did tasks in 90's and we had it all good. Now look at RPi3 specs for example.

comment 10y ago · link · parent

I consider myself rather smart, but I'm really dumb when it comes to audio software. DAWs especially so. I got reaper, went through their tutorials and I was mixing and mastering for broadcast stereo output, from 0-100, in about a week. I even dabbled with some music ideas and things like that and it's as easy as anything. I've tried Nuendo and ProTools at work, but it was overwhelming (or I was too lazy). Only other DAW that I liked was Digital Performer, but its font rendering on Windows rendered it unusable. I couldn't read anything in the UI.

comment 10y ago · link · parent

I'm an amateur in sound and music and only do occasional audio mixing and mastering on a basic level, and only if I need to, for video. Friend introduced me to Reaper and I've been blown away as it was easy (reportedly some people have issues with that, hah!) to use, cheap, and quite nice. Do you know if it will come to Linux as well? I know they've announced something about that.

comment 10y ago · link · parent

I work in TV and film and use all three operating systems daily! I go where apps go. OS itself rarely matters since all I usually see is an application itself. Linux and MacOS (well, basically anything GNU-based) offers a lot more flexibility and automation. Not that Windows cannot do it, but that my colleagues and myself are more used to ye olde *nix. Windows, on the other hand, just works! Sorry, couldn't resist.

I use MacOS, these days, mostly for writing (occasional coding) and on the go editing on macbook. Nice example of what you've mentioned is Fade In Pro http://www.fadeinpro.com/ which filled vacuum left by impotent Final Draft (this is changing now with FD 10 slightly). It's just GREAT that you can use the same application in all three environments. In case of Fade In Pro you don't even have to buy separate licenses.

comment 10y ago · link · parent

Have you lived through 9600bps or 14.4k to 20Mbps?

comment 10y ago · link · parent

Wave was actually rather great for groupware-like work on textual documents.

comment 10y ago · link · parent

Hook it up to a CRT, you'll notice the difference right away.

comment 10y ago · link · parent

I had the same awe when I saw Starfox for the first time. In fact, it got me interested in what eventually became my career. Coincidentally, both games were done by same people.

comment 10y ago · link · parent

baking, in this context is a stream of vertices where each frame carries geometry information and nothing else.

If geometry wasn't baked in, then you would have a separate description of geometry (and everything else) as well as keyframes which are left to the client to interpolate.

Think of it as a HTML versus a screenshot. Both carry the same information, but for screenshot you don't need anything else apart from image viewer. For HTML you need parser, layout, render, whatever.. poor analogy, but hey.

USD is a next generation RIB, like OSL (done at sony) is next gen RSL. Both RIB and RSL stem from RISpec https://en.wikipedia.org/wiki/RenderMan_Interface_Specificat... which is a good intro to see what's being talked about here.

1
737475
126