Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
janekm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
janekm
5y ago
The pink bag shown is actually a static dissipative bag, not a static shielding bag, so would not be expected to work. Though the article mentions trying other bags so no doubt some of those where static shielding (metallic appearance) bags
122.
▲
by
janekm
5y ago
Most video codecs, including H.264 and H.265, encode in frequency space (after DCT transform) on a block-by-block basis, discarding high-frequency information (the edges of text and graphical elements are high frequency information). That&#
123.
▲
by
janekm
5y ago
I don't believe I have made any factually incorrect statements, but please enlighten me if I have. Have a look at the following two encodings of the same screen recording from the article, compressed to the same file size and the same
124.
▲
by
janekm
5y ago
As another example the encoder at https://compress-or-die.com does a quite impressive job at compressing the GIF if allowing some loss of visual quality. Taking the number of colours down to 14 and allowing lossy compression I
125.
▲
by
janekm
5y ago
Yes, in the GIF format you can update just a window inside the image rather than the whole image for each frame. There are also control blocks that specify that a particular colour value is to be treated as transparent (within the logical
126.
▲
by
janekm
5y ago
Yes indeed all modern video codecs are based on encoding differences between key frames. GIF has the most basic implementation of that (it can update only a window in the image instead of the whole image). The original GIF can actually be c
127.
▲
by
janekm
5y ago
That's actually not correct, GIFs can encode the differences between frames and quite efficiently for screen recordings. A GIF will be more efficient for a screen recording so long as there are small changes between frames.
128.
▲
by
janekm
5y ago
For a screen recording of a UI, it's the perfect format unless you're demoing a video/photo editing application. You don't need alpha or many colours and screen recordings are quite efficient in a GIF.
129.
▲
by
janekm
5y ago
Not for screen recordings, unless you're doing a screen recording of photos or videos a GIF will typically be more bandwidth efficient (as there will be large areas of single colours and few changes between frames which GIF is good at)
130.
▲
by
janekm
5y ago
A dithered image tends to produce very short runs of pixels so is likely to get poor compression with RLE. Ordered dithering with a compression algorithm that can compress "words" (repeated patterns) (like the LZW in GIF) will per
131.
▲
by
janekm
5y ago
True, and then every variant in every package version. But it does cause problems in the current climate as each of those variants do have to make it through the production pipeline (after die fab) which is also constrained at the moment.
132.
▲
by
janekm
5y ago
I just tried and it came up with Barbican centre and Barbican tube, might be worth updating to the latest version as there seem to have been a lot of improvement on the London map. Walking guidance also works better in Apple maps for me (es
133.
▲
by
janekm
5y ago
For what it's worth I did a fair bit of research on using accelerometers for heart rate and respiratory rate determination ( https://ieeexplore.ieee.org/abstract/document/5504743 ) and while placement on the ab
134.
▲
by
janekm
5y ago
Sadly your experience matches some of my own (in particular there are companies which purely exist to take part in these funding programmes which is a bit of a perversion of the aims). There are some great exceptions, and it's unfortun
135.
▲
by
janekm
5y ago
That's not too far off from how EU funding programmes work (slightly different structure to the funding rounds but similar idea). LIFE which is one of the current programmes targeting climate change has a current budget of €5.43 billio
136.
▲
by
janekm
5y ago
Which of course, is also the majority of the quick weight loss that one notices in the first few weeks on a keto diet... Personally I don't consider reduced tissue hydration something I desire so I no longer favour keto diets but each
137.
▲
by
janekm
5y ago
LiveView (I think) already achieves this optimisation as both the initial content and any future updates come over the same persistent websocket connection.
138.
▲
by
janekm
5y ago
Nothing so complicated. All that's needed is a local cache so that when you type a new message in the chat window, you immediately see it appear when you hit submit (optionally with an indication of when the message was received by th
139.
▲
by
janekm
5y ago
It's a fair point (and the same objection could be made to Swift's ! and ?). Over time I have given up my objections to verboseness... Clarity of code is far more important than conciseness. I do see the point for some syntactic s
140.
▲
by
janekm
5y ago
I can't prove it but there's evidence of that in the photos (difference in light transport in the facial skin vs body skin, some inconsistencies in shadows, masking issues around the hair , nail polish, the clothing is a little &q
141.
▲
by
janekm
5y ago
I hadn't looked at go for a few years but := is terrible for several other reasons too: - small difference in visible syntax (easy to miss) - less clear than explicit var - most crucially, can't be used for const declarations but
142.
▲
by
janekm
5y ago
I think it's pretty apparent that they are using a "body model" for the body as well which is kind of interesting in itself... It used to be that we'd use CG characters to replace the body of actors, now it's the o
143.
▲
by
janekm
5y ago
That's... kind of the point. Building your stabilisers with heavy weights only can be risky (especially if ego comes into play). Implementing accessory exercises to build stability / balance / flexibility alongside your heavy
144.
▲
by
janekm
5y ago
I have a slight preference towards Pilates and Barre over Yoga (I worry that some Yoga teachers value historical flows over safety/efficacy of movements) but absolutely agree that the combination with lifting is fantastic. But I see n
145.
▲
by
janekm
5y ago
I'm familiar with the challenge, you could call it a kind of "imperfection paralysis", the unwillingness to commit to anything before it has been perfected conceptually. It can be really freeing / productive to "all
146.
▲
by
janekm
5y ago
Not just the microcontroller but also the wifi radio and antenna... But a USB-A socket is pretty big anyway. This isn't too different from the tiny wireless mouse dongles that have been around for a few decades.
147.
▲
by
janekm
5y ago
Apple know that just setting up fabs without all the infrastructure to package, test, and then manufacture products with the chips doesn't really solve anything. The last time Apple tried to do any manufacturing in the US the project f
148.
▲
by
janekm
5y ago
A lot of what is commonly called cellophane is sadly not actual cellophane (actual cellophane is kind of crinkly, like old-fashioned clear candy bags). It's been replaced by polypropylene in most use cases as far as I can tell.
149.
▲
by
janekm
5y ago
Thanks a lot, these definitely scratch that itch and I hadn't seen them yet! I was also just reminded of the short story "the rat in the labyrinth" by Stanislaw Lem which as far as I recall had similar themes. It doesn't
150.
▲
by
janekm
5y ago
I think I would rather enjoy reading a novel where humanity discovers that it is living inside a simulation and is trying to find a way to "escape" (not really plausible) or at least influence the "outside" world in such
More ›