HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ioulian

no profile record

comments

ioulian
·10 mesi fa·discuss
> Also, if the data in chat is being held hostage, the org might be using chat wrong.

This is so important these days. A lot of project send users to discord, slack for documentation and help but they are not made for this purpose. Searching in chat channel for a specific problem is not a good way to handle documentation. I can't even use search engines to search that.
ioulian
·anno scorso·discuss
I hear a lot of astrophotographers take many short-exposure (5-10s) photos and then stich them together in POST. Missing 1 of possible 100 photos in OK I think?

Keeping in mind that you photographing a specific thing in the sky, not the startrails, as missing a frame will be very visible there.
ioulian
·2 anni fa·discuss
Can't thank you enough for photopea. Very good (and impressive) job that you've done with it! It's very useful as a frontend developer that wants to quickly edit an image!
ioulian
·2 anni fa·discuss
Great, thanks!
ioulian
·2 anni fa·discuss
A bit off topic, but I was interested in Nvidia Shield but I have an (5.1) amplifier hooked on my TV with Optical Cable. As I understood, Shield doesn't have any Optical out. Is it possible to connect Shield to TV and let TV (LG with WebOS) pass audio through optical to the amplifier?

My amplifier is quite old, so it doesn't have HDMI in or something.
ioulian
·3 anni fa·discuss
You are right, this would not cause layout to recalculate, only repaint. And propably repaint only a section of the screen, not the whole window.
ioulian
·3 anni fa·discuss
Strange to see this, as the animation should NOT trigger a layout recalculation (transform is done on it's own "layer", is GPU accelerated and that's why it's more performant).

The article mentions "The computer is doing a lot more work and recomputing the layout of the entire page.", but it's not true. As you see in his example, the square image is getting rotated but layout of the table does not change (the image clips out the table), so no layout recalculation is done.

So the "bug", must be somewhere else?
ioulian
·3 anni fa·discuss
ah yes, jQuery. Indeed hide()/show() just set css to display: none/block, but it can vary (inline/flex/...).

CSS is a bit of a mess the last few years, with so many caveats... Just look at why position sticky will sometimes not work: "If you are trying to use position: sticky and it is not working, it is because one of the elements wrapping it is using overflow with a value of hidden, auto or scroll."[1]

But it's weird, it should work, or at least this should be documented somewhere. Also why should overflow: hidden break the functionality... If you know all the caveats of css, then you can safely say "I know CSS".

[1] https://robertmarshall.dev/blog/solution-to-why-css-position...
ioulian
·3 anni fa·discuss
Maybe I'm missing something about your question, but:

``` .parent {display: flex; flex-direction: column;} .rest {flex-grow: 1; overflow-y: auto;} ```