Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mmis1000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
211.
▲
by
mmis1000
3y ago
The fact that a git commit is literally a code snapshot... Hey, git don't even store diffs at first place. All it store is the snapshot of all directory content. The diff git showed to you is actually generated on the fly. You can even
212.
▲
by
mmis1000
3y ago
There is a major misconception that you move your "commit" around. Actually, each commit in the git history refer to a specific directory state and parent of such commit. You can't meaningfully "move" a commit direc
213.
▲
by
mmis1000
3y ago
No, your computer is Turning completeness. But it does not mean it will be able to encode a giant AV1 video in a night without dedicated hardware. Although it will do it eventually (probably a week or so).
214.
▲
by
mmis1000
3y ago
Turning complete does not mean it can finish all operations in specific limited time/step. It only means it can finish the computable calculations "eventually".
215.
▲
by
mmis1000
3y ago
TPM did not get key from nowhere. The key need to come from network or locally generated as long as it is not preloaded when manufacturing. And in either way, it should be possible to intercept/fake it.
216.
▲
by
mmis1000
3y ago
It's probably caused by a shitty spec instead of bug. Some PM insists that you must sanitize the user input 'when' user inputs. And '.' alone isn't a proper number. Which led you to this. No. You should NEVER c
217.
▲
by
mmis1000
3y ago
I also wonder about this. The webcomponent make the style completely immutable unless you add part selector specifically… how on the earth this is even useful? Imagine using an ui library that you can't change the style at all. That so
218.
▲
by
mmis1000
3y ago
The biggest problem of web component is that it don't support most state injection(for things that rely on contexts, for example: tabs) and template instantiation(render function of react or scoped slot in vue for example), which liter
219.
▲
by
mmis1000
3y ago
Because windows map sdr contents to srgb color space. Which nobody except designers uses. Most monitor today ship with a much brighter and, high contrast, vivid color profile by default. If you toggle your monitor to srgb color profile. You
220.
▲
by
mmis1000
3y ago
I think most modern disks just never design with sudden power-lost safety in mind (some enterprise disks do have such guarantee, by adding a battery or a capacitor to buy time for properly flush the cache to disk). A disk AND an UPS is prob
221.
▲
by
mmis1000
3y ago
Plus the new api don't even prevent you from peeking the traffic. Only prevent you from modify it. How is this able to improve privacy? And the biggest user of traffic modification? You got it, it's all sorts of adblocks. They are
222.
▲
by
mmis1000
3y ago
I am pretty sure they are synchronized to refresh rate (at least on windows). I made a small experiment about raf https://codepen.io/mmis1000/pen/qBxqgLr and it always looks uniform regardless I am on a 60, 120, 1
223.
▲
by
mmis1000
3y ago
Until it support websocket, I think it is simply a "NO". https://github.com/unjs/nitro/issues/678 It's 2023 and there is a web framework that "can't" handle websocket at all. (No
224.
▲
by
mmis1000
3y ago
I think the most powerful thing of coroutine is you can switch to other os thread without lost the scope and context as long as you implement the dispatcher of such os thread (it's likely it will be the os ui thread, because tons of sy
225.
▲
by
mmis1000
3y ago
> incredibly confusing and complicated to setup. And some being almost impossible to work correctly without MutationObserver or some polyfill of it. The renderProp in react (or scoped slot in vue) is so commonly used to inject data from
226.
▲
by
mmis1000
3y ago
> There's no way to pass server-rendered shadow dom content on the server to the client, There is a proposal for that, although nobody knows whether it will survive in the long run. https://developer.chrome.com/art
227.
▲
by
mmis1000
3y ago
It's also possible that they put stick on that hole because it turn out the products did not meet the requirement it originally designed to meet. Plug into both holes at same time actually trip it? Let's just cover one of them and
228.
▲
by
mmis1000
3y ago
I don't think selection along is enough to copy in windows terminal or putty. You also need to right click once to trigger the copy. So the moment that triggers actual copy always requires human interaction.
229.
▲
by
mmis1000
3y ago
The general rule of unsafe api(usage) is "once you done it, nothing is expected to safe even if it was stated to be". Error can spread in your program in funny way, which also break the program in funny way (think about stack over
230.
▲
by
mmis1000
3y ago
Windows map sdr color in HDR mode in the way that srgb profile monitor display sdr color. So it is actually what it intended to be. It's just that monitors nowadays don't even default to SRGB profile. Windows in hdr mode with hdr
231.
▲
New origin trial for fullscreen popup windows
(developer.chrome.com)
2 points
by
mmis1000
3y ago
|
0 comments
232.
▲
by
mmis1000
3y ago
The problem here is that current gen bundler has a linking step that remove unused code if possible (called tree-shake in this context). This is conflicting with pre-bundle because it would cause anything to be bundled regardless of whether
233.
▲
by
mmis1000
3y ago
I think the point of QUIC is 'if the implementation other using is problematic, I can use my own. And no random middlebox will prevent me from doing so' instead of `everyone must bring their own QUIC implementation.` There is a sl
234.
▲
by
mmis1000
3y ago
It don't even support dynamically assigned ipv6 address. And ipv6 prefix need to be hardcoded into config. And even worse , ipv6 address(not suffix) is bounded directly to the container at creation time. If your ipv6 prefix changed for
235.
▲
by
mmis1000
3y ago
I personally would like to have the raw interface or both the raw and simple interface available. Some package maintainer (in whatever language) would assume everyone has the same requirement as them and make only the 'ultra simplified
236.
▲
by
mmis1000
3y ago
A program that interpret (and sometimes compile and run, writing executable into random memory segmant and execute in place) random file fetched from random network location. You would definitely say it is a malware if you didn't know
237.
▲
by
mmis1000
3y ago
I think the short slope is for QOL. Satisfactory has much gentle slope, and player end up build giant spiral structure to go up to where the game say it is way too high.
238.
▲
by
mmis1000
3y ago
Some recent processor has even more ridiculous curve, you can even get 80% performance with half power usage. Or even 1/2 performance with 1/4 power. Recent amd/intel processor has the habit to push the frequency to heat enve
239.
▲
by
mmis1000
3y ago
They did just start porting support ROCm to windows a few month ago(more specifically, ROCm 5.5.1 released a few months ago). And yea, ROCm for windows specifically supports rdna2 and rdna3 instead of cdna like ROCm for linux. So at least t
240.
▲
by
mmis1000
3y ago
Webkit is __not__ stable in any sense. It is the most buggy render engine I even seen. To make things even worse. Safari restrict the debugging of itself and also viewing the logs in the name of "s e c u ri t y". So you can't
More ›