Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Cyykratahk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
Cyykratahk
4y ago
I tried this benchmark on both my desktop (Ryzen 5800X3D) and phone (Sony Xperia 1 IV) Windows => time/url=364.626ns WSL2 => time/url=234.915ns Android => time/url=252.276ns This benchmark feels f
32.
▲
by
Cyykratahk
5y ago
I suspect that the browser you are using is not spec-compliant. Pseudo-elements (like ::before and ::after) are not actually present in the DOM and are therefore not selectable. edit: I see that you are probably referring to the z-index of
33.
▲
by
Cyykratahk
5y ago
It also shares a name with a prominent furry porn artist, as can be seen from the many NSFW results in Google images.
34.
▲
by
Cyykratahk
5y ago
A simple function is to calculate whether the total of each RGB channel reaches a certain threshold, with different weights given to each channel. For an example, see the YIQ contrast function used by Bootstrap v4 [0]. WCAG defines their ow
35.
▲
by
Cyykratahk
5y ago
Here's the Himawari-8 satellite viewer, centred on the eruption. Press the right arrow icon in the bottom right to advance to the next 10min snapshot. https://himawari.asia/himawari8-image.htm?sI=D531106&sClC=&s
36.
▲
by
Cyykratahk
5y ago
Yeah it's still around, high-contast is an OS-level accessibility setting in Windows. Here's a Microsoft article about designing for users who have enabled high-contrast mode (technically websites don't need to do anything at
37.
▲
by
Cyykratahk
5y ago
This is known as Delayed Auditory Feedback https://en.wikipedia.org/wiki/Delayed_Auditory_Feedback
38.
▲
by
Cyykratahk
5y ago
The submitter of this issue [1] reported that 64GB of RAM was insufficient to load an 18GB PBF. Considering the planet PBF is 58GB, you're going to need a lot of RAM (and time). I tried the example tilemaker config (4 layers, zoom 11
39.
▲
by
Cyykratahk
5y ago
Great article Earlier this year I created my own ICO editor for fun [1]. I learned a lot about reading and writing binary files, and decoding BMP data. While testing the editor on existing site favicons I kept finding that they were all unc
40.
▲
by
Cyykratahk
5y ago
I don't understand why the author leaves many words and phrases untranslated. They have translated everything else, but why leave "carte d’identité" or "grande école"? Why say "mairie (town hall)" instead
41.
▲
by
Cyykratahk
5y ago
Chris Bowen brought a solar panel into parliament just a few days ago: https://twitter.com/MichaelM_ACT/status/1405035688681111554
42.
▲
by
Cyykratahk
5y ago
You are correct, I guess my reading comprehension isn't what it used to be. I thought I saw an error and got blinded by the rush of posting a correction.
43.
▲
by
Cyykratahk
5y ago
Exactly, even this run is using house rules, as the official rules state that you are required to own all properties of the same colour before building, and also that houses must be built evenly on each property.
44.
▲
by
Cyykratahk
6y ago
There's precedent for banks doing this, so it's certainly possible. For example, Australian banks are required to provide a list of recurring payments for the last 13 months upon request [1]. The rationale is to make it easier to
45.
▲
by
Cyykratahk
6y ago
Found some GitHub issues [1] with something similar: an enterprise firewall blocking a repo because it contained the string "arglebargleglopglyf" [2] in some tests. The text was flagged as malicious because of its presence in the
46.
▲
by
Cyykratahk
6y ago
Scrolled down until 1000 reviews had loaded. Used the simplescraper.io Chrome extension (with a little bit of DevTools fiddling) to export a CSV. Created a pivot table in Excel and charted the results.
47.
▲
by
Cyykratahk
6y ago
Yeah, something's fishy. I scraped the latest 1000 reviews (coincidentally almost exactly 12 months worth). The "adware" reviews are all very recent with large amounts of votes. They seem to start on December 18, with 162 1-s
48.
▲
by
Cyykratahk
6y ago
Unfortunately, Android has a maximum password length of 16 characters.
49.
▲
by
Cyykratahk
6y ago
Just from that one error message we can infer the following issues: 1. Not using the built-in WP_Http class or related helper methods (wp_remote_get) that provide headers, timeouts, useragent, auth, etc. 2. Unserialising remote, untrusted P
50.
▲
by
Cyykratahk
6y ago
This script could be automatically injected before .md files using the nginx directive add_before_body. An instant static site of markdown files with no preprocessing step. location ~* /markdown/.*\.md$ { add_before_bo
51.
▲
by
Cyykratahk
6y ago
To add to what you are saying, here is a short article highlighting which words should be avoided: https://css-tricks.com/words-avoid-educational-writing/
52.
▲
by
Cyykratahk
6y ago
Somewhat off-topic, but what a strange image to feature in the article: a composite of the Apple logo over the Sony PlayTV [1] logo, a PlayStation 3 accessory for watching television. [1] https://en.wikipedia.org/wiki/P
53.
▲
by
Cyykratahk
7y ago
Exactly. This is what CSS Animations [1] were made for. And you don't even need to do collision detection, as CSS can already alternate directions and loop infinitely. https://bouncing-logo-css.glitch.me/ Just needed
54.
▲
by
Cyykratahk
7y ago
I had the same issue. Found it was because I had set Firefox to block all cookies for medium.com (probably to get around the article limit).
55.
▲
by
Cyykratahk
7y ago
The linked Medium article is over 3MB, almost 2MB of that being JS.
56.
▲
by
Cyykratahk
9y ago
Almost nine thousand lines of Javascript to show a fake loading screen for a few seconds...
57.
▲
by
Cyykratahk
10y ago
http://archive.is/LlIuW
58.
▲
by
Cyykratahk
10y ago
Clouds don't move very much on a planetary scale over a single day: http://himawari8-dl.nict.go.jp/himawari8/movie/720/coastline... The Earth's rotation in the original gif makes it more difficult t
59.
▲
by
Cyykratahk
11y ago
Data from OSX and some popular Linux distros would be good to see as well.
60.
▲
by
Cyykratahk
11y ago
PowerShell can handle CSV files natively. Here are the equivalent commands from the article: Import-Csv example.csv | Select-Object year, price | Export-Csv -NoTypeInformation example-cut.csv Import-Csv example.csv | Sort-Object y
More ›