Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mediumdeviation
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
mediumdeviation
4y ago
Similar but worse, the Horizon scandal in the UK where bugs in Fujitsu stocktaking software sent post office workers to jail and ruined lives because administrators took the software's side when it found accounting shortfalls https:&#
62.
▲
by
mediumdeviation
4y ago
For a real world example of this, GitHub uses server-side rendered fragments. Working with low latency and fast internet in the office, the experience is excellent. Trying to do the same outside with mobile internet, and even with a 5G conn
63.
▲
by
mediumdeviation
4y ago
That’s strangely a whole 3 percentage points higher than the number of Americans who self identify as ‘evil’ (on the D&D alignment chart) - see 4:47 at https://fivethirtyeight.com/videos/where-americans-fall-on-t...
64.
▲
by
mediumdeviation
4y ago
But you can already license your IP using a contract or a license, and that contract can be inked in paper or done digitally. You can even give exclusive license or transfer your rights. The only difference using the blockchain is, well, th
65.
▲
by
mediumdeviation
4y ago
> Manderin has non-gendered pronouns referring to a person That's only when spoken, because 他 and 她 are homophones, no? Otherwise when written it is almost exactly the same as English in how pronouns are gendered with he/she&#x
66.
▲
by
mediumdeviation
4y ago
Specifically 15 seconds after the code is loaded - since this is a polyfill this means immediately after the page loads - it checks if your browser is in one of Russia's timezones, and alerts the message if it is. It then tries to use
67.
▲
by
mediumdeviation
4y ago
The version was released 22 days ago. npm has a list of dependents https://www.npmjs.com/browse/depended/event-source-polyfill . Gatsby is the big one, and it doesn't use a lockfile or pin the specific version
68.
▲
by
mediumdeviation
4y ago
> for instance, any node with class skyscraper is considered hidden (maybe the logic is that those elements are shrouded by clouds). Ha, you wish. Skyscraper is the name of a standard Internet advertising unit. It’s fairly common for adb
69.
▲
by
mediumdeviation
5y ago
I'm surprised nobody else has called this out - implementing browser APIs in a non-browser runtime seems like a really bad idea. Take a look at https://developer.mozilla.org/en-US/docs/Web/API/Window
70.
▲
by
mediumdeviation
5y ago
This is somewhat misleading - the definition of M1 was changed in May 2020, so numbers before and after are not directly comparable. See https://fredblog.stlouisfed.org/2021/05/savings-are-now-more... . It’s best t
71.
▲
by
mediumdeviation
5y ago
Other than the historic messiness the other comment raised, the DOM API is just... not good. I don't think it's surprising developers don't want to bother with fun stuff such as - The only way to remove a node is node.parentN
72.
▲
by
mediumdeviation
5y ago
https://nitter.42l.fr/blocks (the main nitter.net is down, this just the first mirror instance from https://github.com/zedeus/nitter/wiki/Instances )
73.
▲
by
mediumdeviation
5y ago
It only applies to purchasing a resell flat. Renters are not affected by this.
74.
▲
by
mediumdeviation
5y ago
That's not the case here - Singapore is majority Chinese. The sentiments you see are more run of the mill xenophobia - Chinese mainlanders are here to take our jobs, they're loud and unhygienic, they can't speak English, thei
75.
▲
by
mediumdeviation
5y ago
I'm surprised - China's recent foreign policy certainly has not endeared it to South East Asian countries, but even before then mainland Chinese were not exactly treated with open arms in Singapore. You probably won't find it
76.
▲
by
mediumdeviation
5y ago
> Live in Singapore in reality is no more or less 'democratic' than live in Japan or Taiwan or SK. You absolutely will not be arrested for holding up signs outside government buildings[1], or questioned by the police for readin
77.
▲
by
mediumdeviation
5y ago
I would not completely blame it on culture. There are practical upsides to having a large number of packages - using a dependency instead of duplicating code means the resulting code is smaller, and splitting large packages up allows you to
78.
▲
by
mediumdeviation
5y ago
So that quote is actually taken out of context. The Senator knows that finstas are, and is using it to drive a different argument - that Instagram is incentivized to help teenagers bypass parental control https://www.theverge.com
79.
▲
by
mediumdeviation
5y ago
That approach unfortunately also makes keeping state updates consistent very difficult. Some pet peeves - when reviewing code, if you set up some file filters then scroll down to trigger more files to load, those newly loaded files are not
80.
▲
by
mediumdeviation
5y ago
It’s not being discriminated against based on some protected class. Being vaccinated is a choice, unlike skin color. The government will not let you serve alcohol at a restaurant unless you check the drinker’s age. The government will now a
81.
▲
by
mediumdeviation
5y ago
It seems no more bothersome than being required to be licensed to drive or to present a proof of age to purchase alcohol. There are perfectly viable alternatives - you can eat outdoors, get takeout, exercise outside, just like how you can r
82.
▲
by
mediumdeviation
5y ago
If you have an adblocker with element hiding capability (I don't think any iOS ones do), hiding the #layers element removes the modal but you still cannot scroll. If you have a userstyles extension, this works for me #layers {
83.
▲
by
mediumdeviation
5y ago
A list is usually represented by an ol in HTML, not a table. HN uses three trs for each item, not one. The table cells are also not consistent, because it's not actually a tabular data, so each cell could have nothing (used as a spacer
84.
▲
by
mediumdeviation
5y ago
The second result is more semantically correct, but it will not function if called on tr.athing because tr.athing contains HTML elements that will be deleted when you replace the text. It is still much safer than innerHTML which will silent
85.
▲
by
mediumdeviation
5y ago
Yup, innerHTML just returns a string, so of course you can .toUpperCase() on it even if it is unsafe. innerHTML's history is fascinating. It was not part of the original DOM Level 1 API but was added in IE5. It is not semantically corr
86.
▲
by
mediumdeviation
5y ago
It's really interesting. HN's HTML is very un-semantic and is actually quite hard to work with. <tr class="athing" id="28191639"> <td class="title" valign="top" align=&q
87.
▲
by
mediumdeviation
5y ago
In that specific case at least the FBI is asking Apple to produce new firmware that will bypass existing protection on an existing device - basically asking Apple to root a locked down phone which would likely require them breaking their ow
88.
▲
by
mediumdeviation
5y ago
It only worked because Google Maps loads images in 250px tiles. If Google Maps decided to update tile size tomorrow, the fix regresses. Arguably the entire map as a whole is one content, and that should be measured as the LCP, but more im
89.
▲
by
mediumdeviation
5y ago
Create a wrapper class that takes a stringifying function that converts the key objects into a primitive and use a Map<string, [K, V]> as the backing store. fast-json-stable-stringify can be used as the default stringifier, and if the
90.
▲
by
mediumdeviation
5y ago
> American Renaissance (AR or AmRen) is a white supremacist website and former monthly magazine publication founded and edited by Jared Taylor. > The publication promotes pseudoscientific notions "that attempt to demonstrate the
More ›