Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rhdunn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
481.
▲
by
rhdunn
4y ago
Part of the complexity is that there are Win32 APIs that allow applications to add UI to the Windows 95/2000-style control panels. In order to keep compatibility with those applications/code the control panels need to be kept arou
482.
▲
by
rhdunn
4y ago
Type keys are used in various serialization mechianisms, especially JSON/TypeScript APIs (JSON-RPC, RDF-JSON, etc.). Even XML serializations have type keys with the element names. In these cases, it makes sense to hide those type keys
483.
▲
by
rhdunn
4y ago
There was a recent Tom Scott video ( https://www.youtube.com/watch?v=ZmWREtcDVBE ) where he was using a GPS and Tom Hutley (a London cabbie) only relied on his London knowledge to get around, travelling the same distance afte
484.
▲
by
rhdunn
4y ago
No. The initial tile/pixel grid starts with the tiles/pixels being all possible values. The algorithm selects a random tile with a preference for low-entropy tiles/pixels (i.e. with a low number of possible values). The chose
485.
▲
by
rhdunn
4y ago
I'd suspect that it is a combination of the following: a) a lot of existing code that needs to be untangled (e.g. moving various tasks to not depend on indices); b) figuring out how to avoid unnecessary re-indexing (e.g. the downoadabl
486.
▲
by
rhdunn
4y ago
In that case WebP, CSS grid, CSS shadow DOM, HTML5, or any other new feature on the web would be untennable (esp. if deployed behind a feature flag first) because when those were created and implemented in browsers there was no uses/co
487.
▲
by
rhdunn
4y ago
It's not used anywhere because it is/was behind a feature flag so browsers didn't support it out of the box. IIUC, various companies like BBC, Facebook, and others were ready to deploy JPEG XL support. If you take your approa
488.
▲
by
rhdunn
4y ago
It doesn't make sense! I'd rather be nibbled to death by cats!
489.
▲
by
rhdunn
4y ago
There are roughly 3 classes of dependencies: 1. key system dependencies -- this includes things like Android APIs, IDE APIs, etc. ~ to work on newer versions of those platforms, you need to upgrade and make changes to the code 2. other runt
490.
▲
by
rhdunn
4y ago
Not everything that uses GitHub/BitBucket/GitLab etc. is (re)centralized. You can have an internal company hosting service and a public hosting solution, for example. I've also used the decentralized capabilities to synchroni
491.
▲
by
rhdunn
4y ago
From the HTML4 spec ( https://www.w3.org/TR/html401/present/graphics.html#h-15.2.1 ): > B: Renders as bold text style. The element (and other style-related elements) were deprecated due to CSS. For b and i t
492.
▲
by
rhdunn
4y ago
They are part of the changes to the WHATWG HTML specification, so it's not just Mozilla. MDN is just reflecting/documenting what is in the different standards. From https://html.spec.whatwg.org/multipage/text-
493.
▲
by
rhdunn
4y ago
I view it more as "only test one operation per unit test". If that needs multiple asserts (status code, response content, response mime type, etc.) to verify, that is fine. IIUC, the guideline is so that when a test fails you know
494.
▲
by
rhdunn
4y ago
I wonder if the strength was to help pin down struggling prey. The small arms would then be designed for aerodynamics -- to not slow the T. rex down when running toward its prey -- but also help out when capturing it. That would prevent the
495.
▲
by
rhdunn
4y ago
I recall one of the Ars Technica journalists saying that they use markdown when writing their articles. Even things like Twine (interactive fiction text adventures) have a Markdown-like syntax.
496.
▲
by
rhdunn
4y ago
An if statement without an else can have the case where line coverage does not cover the "don't take the branch" part of branch coverage. Therefore, if not taking that branch results in a bug line coverage only will not pick
497.
▲
by
rhdunn
4y ago
It depends on what the AI is learning. If the AI is learning to repeat text (e.g. Copilot) or images (e.g. Dall-E), then that makes it possible to reproduce the copyrighted works, so I would agree that that case is not fair use. -- It would
498.
▲
by
rhdunn
4y ago
It's all down to whether or not there is any logic to the guess and check strategy. Most of the computer algorithms work by picking a number in the possible values, following the eliminations, and repeating. If they hit an error, they
499.
▲
by
rhdunn
4y ago
The issue is that the number of results is often an estimate for performance reasons. So the results should say something like "around X results" or "approximately X results" to make that clearer. If Google or some other
500.
▲
by
rhdunn
4y ago
It's also a reaction to languages like Kotlin that already have these and run on top of the JVM. With Kotlin these don't apply just to main. IIRC, other JVM languages have similar reductions in boiler-plate compared to Java.
501.
▲
by
rhdunn
4y ago
You don't need to use a meat replacement for burgers. You can have various style burgers that I've seen for ~£2.25-£2.85 for 4, e.g.: - Bean (often spicy) - Halloumi - Parsnip & Carrot Nut - Plantlife Crunchy Vegetable Crispba
502.
▲
by
rhdunn
4y ago
I got Windows 11 Pro on my new machine for the sole purpose of avoiding that BS (and have it running without an account), but now you can't even do that on new installs without those workarounds. It's a dark pattern akin to Amazon
503.
▲
by
rhdunn
4y ago
I think that's down to the way it has remembered/saved your search as I get a similar behaviour with "Camera" and "Turn off camera access systemwide" -- "c", "ca", and "came" sugge
504.
▲
by
rhdunn
4y ago
There's a text-based representation called twee. You can use tweego ( https://github.com/tmedwards/tweego ) to convert between twee and html/twine.
505.
▲
by
rhdunn
4y ago
Yes. LibWeb and LibJS were written for the SerenityOS. As mentioned in the article, some work was done to make them buildable and usable on Linux in a headless environment. The Ladybird project is then taking that work and adding a Qt GUI o
506.
▲
by
rhdunn
4y ago
I've been watching his YouTube videos on developing the LibJS and LibWeb components. They are interesting and show that this kind of thing can be done. As a larger point, it is important to have multiple web stacks so that no one playe
507.
▲
by
rhdunn
4y ago
It depends on how you account for mitigating factors. With wind production, the wind turbines take up more space than other power sources. However, off-shore wind turbines negate that space requirement, so if a region can do that it is bett
508.
▲
by
rhdunn
4y ago
IIUC, the idea is to prevent resizing on common phone sizes so they don't spend additional time and CPU/GPU resources processing the images once they are downloaded.
509.
▲
by
rhdunn
4y ago
Adults play too. Imagine you are an adult Minecraft player who plays in a popular private server with only other adults (e.g. any of the big popular YouTube Minecrafters). You then play on a public server and someone reports you and gets yo
510.
▲
by
rhdunn
4y ago
You still see polarization, though. People calling Lib Dem supporters "yellow tories", people who like Blair and/or his vision of a center left Labour party "red tories", calling people "gammon", etc. Thes
More ›