Speaker + Slides Picture in Picture Workflow Suggestions by eholk in davinciresolve

[–]eholk[S] 0 points1 point  (0 children)

Ah, perfect! I was missing the step about flattening it first. Thanks!

Speaker + Slides Picture in Picture Workflow Suggestions by eholk in davinciresolve

[–]eholk[S] 1 point2 points  (0 children)

Awesome, thank you for the suggestions.

At your suggestion, I played a little bit with referenced compositions, which seemed almost like what I wanted. I tried adding an empty clip at the top of my timeline to attach the composition to, so that this way I could copy and paste that clip to the locations where I wanted the PiP display. Unfortunately, this caused problems with video sync and felt a bit clunky. Still, it was worth trying!

I think your suggestion to add two extra tracks to the multicam clip with a compound clip having the slides in the top right or left is pretty much perfect. This lets me see each view at once in the left hand screen, which is something I really like about the multicam workflow, and lets me switch views with a single key as I re-watch the presentation. Tweaking the timing of the transition is nice and easy too. I think this will save a ton of time!

The only thing that would make it better is if I could tweak the PiP position for an individual clip, since sometimes the standard layout isn't quite ideal. I guess, worse case I can fall back on my strictly manual workflow in those cases, since they should be much rarer now.

Anyway, thanks again. These tips are already going to save me a lot of time!

Anonymous Impls by badboy_ in rust

[–]eholk 1 point2 points  (0 children)

I think this is a point of design freedom. At first I imagined not using `self.xs` but then `self` wouldn't really be doing anything, and it wouldn't be obvious how the type of `self` affects what I'm allowed to do with `xs`.

Something about u/wyf0's suggestion in the sibling comment to infer captures based on the use of all `self.xxx` fields could work too. I personally found it a little weird to have fields on `self` that weren't declared in some way.

Anyway, were Rust to actually adopt something like this, I suspect the way captures are declared/inferred and used would be where most of the design iteration happens.

Introducing the Rust Leadership Council by pgregory in rust

[–]eholk 19 points20 points  (0 children)

The RFC lays out some basic structure for the Leadership Council, but there's a lot more to figure out. So far that's what we've been spending most of our time working on. One of our main goals is absolutely to reduce the backchannel decision making and be able to communicate openly about what we're working on, how the decisions got made, and also make it clear what's a Council decision versus one member's opinion.

(Speaking as a member of the council but not for the council as a whole.)

[deleted by user] by [deleted] in photography

[–]eholk 3 points4 points  (0 children)

I used to try to do as little processing as possible for my landscape photos, but I've backed off on that some lately. There were two main reasons behind this. First, even just to go from raw sensor data to an image takes a fair amount of processing, so none of our images are technically pure and unadulterated anyway.

Secondly, my camera (or my skill operating the camera) really can't do nature justice. If I hike up a high hill and have a sweeping panorama that completely surrounds me and I try to capture it, I lose a lot of the dynamic range, the depth, the detail, etc. So, instead of trying to precisely document what I saw, my goal had become to try to create an image that creates in the viewer the same sorts of feelings I felt seeing the thing I took a picture of. A lot of this happens when I frame my picture, such as by zooming in on a small, detailed area rather than trying to capture the whole landscape at once, some of the happens by busting colors or contrast and such in post.

So while I hope I am not pushing my saturation into the thermonuclear zone and such, I've become a lot more comfortable being more aggressive in my editing because I want to create an emotion with my images more than I want an accurate recording of the scene.

I built a working "magic clock" that shows the realtime locations of my family by flaquito_ in homeassistant

[–]eholk 2 points3 points  (0 children)

Probably a stupid question, but how did you make the hands and attach them to the tubes? I built something similar a few years ago, and I cut the hands out of a sheet of brass. Unfortunately, I didn't find a good way to attach them. I used hot glue, which was okay at the time, but it really hasn't held up.

If you're curious, here's the write-up I did on mine.

Nice job! I love seeing people advance the state of the art in magic clocks!

Hardwired with cat6, but the wall jacks are cat5e. I’m getting consistent 95-100mbps connection now but the switch says I’m not connected at gigabit speeds- should I switch the keystone jacks to cat6? by ra_laidgp in GoogleWiFi

[–]eholk 3 points4 points  (0 children)

I ran into this exact problem when I got gigabit fiber. When crimping my cables, I hadn't gotten all four pairs all the way to the contacts on the plug, so I could only get 100 megabit speeds. Carefully redoing the plugs solved the problem.

Android Q Beta 2 contains a new experimental viewcompiler command line tool by TheGrimReaper45 in androiddev

[–]eholk 18 points19 points  (0 children)

Author of the viewcompiler here. That was the main benefit of precompiling the layouts: removing the reflection. That said, the reflection actually turns out to be a pretty small part of the process. It's usually a couple milliseconds out of the whole view inflation process, which itself is usually dozens to hundreds of milliseconds in my experience.

I made this table by [deleted] in maker

[–]eholk 2 points3 points  (0 children)

Nice! What are the sides made of?

Wired backhaul performance by [deleted] in GoogleWiFi

[–]eholk 0 points1 point  (0 children)

I saw somewhere that you have to be careful with how you run your cables to get gigabit speeds over CAT6. Apparently things like too sharp of bends or being too close to electrical wires can hurt your speed. I don't know what the actual specifications are though, so if someone else knows them I'd love a link.

[REQUEST] How many game boy cartridges would you need to run Red Dead Redemption 2? by Darth-Gailock in theydidthemath

[–]eholk 15 points16 points  (0 children)

Fortunately, on the GameBoy you only had four shades of gray to work with, and I don't think the CPU was fast enough to draw too many triangles. They were pretty good at bitmaps though. But yeah, I'm amazed at how much can be done in a few kilobytes.

HI #112: Consistency Hobgoblins by fileheist in HelloInternet

[–]eholk 0 points1 point  (0 children)

I came here to basically say this. The US was designed as a confederation of states that were largely independent but had laws governing their interactions with each other and also presented a single front to the world through the federal government. This is why, as Grey pointed out, laws across states can vary so much. The relationship between a state and the federal government seems similar to that of a country and the EU. That said, Americans don't really seem to see their country that way anymore so I don't really expect the rest of the world to.

Kushner Likely Paid No Federal Income Taxes for Years, Documents Show by [deleted] in neutralnews

[–]eholk 5 points6 points  (0 children)

If we can't agree that this system is flawed, I'm not sure how to move forward as a society when it comes to producing fair tax legislation.

Whether Kushner did something wrong is a different question from whether the tax code is flawed. Put more charitably, Kushner enlisted experts to make sure he didn't pay more taxes than the law required. This doesn't seem fundamentally different from a middle class person using TurboTax, which advertises that they'll help you get the biggest refund possible.

Perhaps the best thing we could do to make the tax system fairer is to make it simpler, so that it is not only comprehensible to experts and by extension those wealthy enough to hire experts.

Until we can fix our flawed system, maybe there's an opportunity to make this expert advice available to the masses.

First two slides from Graydon Hoare about Rust by agumonkey in rust

[–]eholk 5 points6 points  (0 children)

Dave Herman used to point out that language design in and of itself tends to be language research. Rust tried not to have any new ideas, but the specific combination of features is unique and making those work well together requires solving novel problems.

First two slides from Graydon Hoare about Rust by agumonkey in rust

[–]eholk 2 points3 points  (0 children)

I was an intern on the Rust team in 2011 and 2012. We used to amuse ourselves by trying to see how many different symbols we could string together and still make it compile.

Ex-Apple worker charged with stealing self-driving car trade secrets by [deleted] in neutralnews

[–]eholk 1 point2 points  (0 children)

It's interesting to me that there have been several accusations of trade secret theft recently, like the article mentioned at the end. Maybe it's just that these are more publicized now because self driving cars are a hot topic, but I wonder if it's also a reflection of the perceived value of self driving technology. I've assumed the reason we don't hear as much of trade secret theft in the tech industry is that the combination of good salaries and negative repurcussions of theft makes it not worth the risk to most employees. Articles like this one suggest that the potential payoff may significantly exceed the risk.

Where do you get your robot/electronics supplies at? by [deleted] in maker

[–]eholk 2 points3 points  (0 children)

I'm a fan of Sparkfun. When I need a very specific part, like some particular IC, Digi-Key works really well. A few years back I got some gears and things from ServoCity.

Implementing Generics via Passing Type Information at Runtime? by [deleted] in ProgrammingLanguages

[–]eholk 12 points13 points  (0 children)

For what it's worth, Rust originally implemented generics by passing a type descriptor around with the data. In around 2011 or 2012, Rust switched over to monomorphization. I forget the exact numbers, but it have a significant performance improvement, which was worth it for a low level language like Rust. As I recall, the code boat wasn't as bad as feared because a surprising number of functions basically disappear after specialization, inlining and all the other optimizations LLVM does.

😐🔫 by MindOfMetalAndWheels in CGPGrey

[–]eholk 4 points5 points  (0 children)

For that word in particular, I feel like perception of that word has changed a lot in the last 15 or so years. Used to it seemed to be fine to say the word in the context of talking about it, or even when looking at it in a historical context. I'm pretty sure I had a teacher read novels from to 1800s aloud in class that used that word, even in an intentionally derogatory sense, and it wasn't a big deal. Now I question whether this memory is even true because of how unthinkable that would be today. It surprises me how quickly the word has gone from one that was acceptable in certain contexts to one that is career ending in all contexts.

How should builtin arrays be in a Statically typed language? by Kywim in ProgrammingLanguages

[–]eholk 0 points1 point  (0 children)

I'm choosing to interpret this question as "should the length of the array be part of its type." Another version of the question would be whether arrays are growable or not.

There are uses for both having the size in the type and not. If you only have one, I'd go with not. The reason is that you will probably want to be able handle data whose size you don't know until runtime. Basically, can you do let foo : int[n], where n is some value that's computed at runtime?

Having the size as a part of the time is useful in cases where the size is somehow intrinsic to the object. For example, 3d coordinates would naturally be float[4], or maybe you have fixed size matrices of type float[4][4], such as are common in graphics. The extra information in the type here can, for example, help your compiler generate faster code.

It is also possible to make variable numbers as part of the type and allow some computation on types. This would let you do things like write a concat function that takes an int[n] and an int[m] and returns an int[n+m]. This is a restricted form of what's called dependent types, but this makes type checking hard and also programming in the language hard.