skysight-inc/HackerNews huggingface dataset:
> Having a nuclear option for just these people is fine

I think that would be fine, I'm certainly not against sensible defaults. But I don't think any browser currently has a good implementation of that nuclear option The distinction between video types shouldn't be something that's baked into the core design of the feature itself.

As it stands, I have no idea how I'd even start to implement a good nuclear option on top of the current design of autoplay blocking. There are so many weird rules about what is and isn't allowed to work, and the end result is that the system is trivial to bypass.

One of the criticisms I had when the system launched was that it's really not hard to make an autoplaying video even with these restrictions[0] -- clicking, highlighting, or pressing any keyboard key counts as a user action. Or if you're navigating within a domain, then your video is special and allowed to autoplay. The distinction between "this is probably an animated background image" and "this is probably a video banner" is fundamentally baked into the feature itself in a way that users can't customize or disable, and where its difficult for even the browser-makers themselves to expand on the feature of change it as the ecosystem evolves.

Even the distinction between autoplay on page load and autoplay in general is a bad one to have so hard-coded into the design. Youtube is an SPA, so even though Firefox properly blocks autoplays while you're moving within a domain, that doesn't work on Youtube, because no actual navigation happens when you click a link in Youtube, so Firefox thinks you've already given the page permission to auto-start the video. That's a really inconsistent, bad user experience for nontechnical users who have no idea what an SPA is.

[0]: See https://danshumway.com/blog/chrome-autoplay/demo/ for a really simple implementation. If I'm building a news site and I want autoplaying ads, I'm pretty certain at some point while reading you're going to highlight some of the text on the page.
And it doesn't mean even that.

Many worthwhile people in the world. Not all of them are famous to the people who would love to know them.

At least we can both get to know her more starting now.
doomed, static vision of development detached from the realities of life and commerce
Debit cards in the U.S. are usually only limited by the amount of cash in your checking account (sometimes not even then, US banks are big on “overdraft protection”). If it’s the day after payday and you have $1200 in your account, and someone steals your debit card, you can very easily be drained to near zero. The only saving grace would be if the banks fraud detection kicked in due to unusual purchase patterns. I’d still rather the thief steal the banks money, not mine.
Ask HN: A call for an organically self-correcting society
I think most highly educated / forward thinking / reflective individuals will agree that our current trajectory as a society is unsustainable. If we polled those same people during the dot-com bubble they may have had a similar sentiment. As well as during the housing crisis (great recession). There are plenty of other situations one could point to. I'm only mentioning these financial disasters since we currently find ourselves in yet another. And our current situation could be considered more than just a financial disaster, though I think we can all agree it's at least that.

What suggestions do the citizens of planet Earth have for dealing organically with these sorts of situations? By "organically" I mean "elegant rules / laws of society" that help it correct itself organically without intervention. I should point out that I am positing that these financial catastrophes should NOT be considered normal, and that we should be taking steps to correct them but we don't seem to be doing that.

Many people might point out that our existing system is designed to be self-correcting. I would simply point out that we've pretty conclusively (in my mind) determined whatever we're currently doing is not enough.

Do you have suggestions that could work? Or what suggestions have you heard or read about that you're inspired by?
Did they account for other factors like employment rate, crime rate etc?

I wonder if there non-racist explanation for this phenomenon...
The "genius" of Instagram is that it's social media as advertising where people are mostly advertising photos of themselves.

This of course makes it very easy to actually insert advertising in as well, because the ads look less conspicuous given the identical layout to a normal photo post (as opposed to say, Facebook, where an ad looks very different from a text status)
or commerce
Sri Lankan Delicious Foods
I use Ruby to create API servers these days. For a couple of APIs, I used Rails API. Now I use a combination of dry-rb, rom-rb, roda and other pure ruby libraries to create APIs. There's a growing movement within the community to move Ruby off Rails.

Before the API thing, I also developed websites with fullstack Rails. The experience with fullstack Rails and Rails API have helped me a lot to understand the requirement of a backend framework. I'm forever endebted to Rails for this.
Thank you for your comment! Still learning about Medium as a publishing platform. Any recommendations for new-writing platforms?
Major U.S. Health Insurers Report Big Profits, Benefiting from the Pandemic
It was more that C hindered optimization research. The interview was awesome as you said.
How could it not? By definition, strong statically typed languages won't let you release code with certain classes of bugs so they must reduce bugs going live unless humans are perfect bug detectors.
You could be right but that would be a very sad reason, especially because I created my account in 2010 and my username has nothing to do with POTUS.
“ So, there’s definitely more work to be done – but we thought it’s important to make a best effort with the messy data we have to start the discussion.”

This contradicts the title of the article. The title implies the insurance is increased due to racial reasons, rather than it happens that in some communities that are more prone to theft/criminality, the population for those insurance areas are black.

I find it hard to believe people today are creating insurance policies that are increased because of skin color. Rather there tends to be more crime in specific areas, and people find correlation then assume causation.
AOL and Yahoo eventually died because there were individual sites that did the individual parts that they had better, and then they became less than the sum of their parts. Similar to how massive industrial conglomerates in America fell apart, or department stores when specialized fashion retailers became a thing.

East Asia is just a lot more friendly to conglomerate structures in general. Korea has Naver and there's Yahoo Japan.
Yes you should have all those things in a realistic quantity but after a survival ration, hording those items is not realistically your best bet. Ammo would probably be the best out of the lot, but it will only hold temporal value while the unrest is happening, lets say it's a really long unrest say a decade until peace is restored you still only have a 10 year store of wealth if you put it all in more ammo than you need, while gold will almost assuredly retain at least a decent portion of the wealth you stored in it. It might loose some value in initial unrest when and if people are in pure survival mode but will almost certainly take a primary status in the period between the ending of unrest and the stabilization of a fiat.

Also for myself personally, I purchased a simple test kit that most jewelers use. It is an electronic test kit that is very accurate for gold and platinum and when I look to reallocate some of my wealth to gold I buy scrap gold and test it. The kit was about a $200 investment but It allows me to buy the gold at a deep discount (deeper if it is not 24K) under the spot price for the day, you can melt it with a propane torch, that can be purchased from Home Depot and they make plenty of bar molds. It takes me about 5-10 minutes effort (short of procuring the gold) to turn scrap into bars. But if one does not want to go thru the effort, it's pretty easy to buy gold bullion at the spot price for the day + shipping, even on ebay there are plenty of reputable sellers. I don't trade in millions of dollars in gold and I have yet to liquidate any that I hold as I only hold about 3% of my total wealth in gold and I try to keep that pretty stable. Again I view it as insurance, not an investment, that being said if I liquidated it all today, it would have turned out to have been a pretty good investment.
This is sort of neat because the same problem seems to be mirrored for Stripe customers; for example, if my business caters to the impatient developer and I use Stripe for payments, I find myself having to explore outside the bounds of conveniently orchestrated payments, to more esoteric per-customer high-touch interactions for large enterprise customers. I wonder if there isn't room for Stripe to grow to help businesses deal with these... sort of business deals!
> Please provide citations if you’re going to speak so factually.

That's fair. I don't really have handy citations. I just know this stuff from working in email deliverability for a long time. I guess you can choose to believe me or not.
Is insurance cheaper in Indian neighborhoods? Probably.. Indians in America are richer than average and thus their neighborhoods have less crime

This is a surface level problem of something much deeper which is the preponderance of poor disproportionately black neighborhoods. Most blacks are middle class and live in diverse area but for whatever reason just as there exist China towns there exist black neighborhoods that remain so and suffer from disproportionately high rates of crime and poverty. This is what needs to be fixed .. the insurance pricing is just a symptom of that.

A more interesting metric is what is the average payout and claim rate in these same neighborhoods with high premiums. How does the premium relate to those two measures?
C and Unix hindered a whole lot. It was the PHP of its day.
I would like to see some real statistical analysis.

This analysis seems rather worthless for purposes of determining if insurance rates are racially biased.

Here’s an example of a crazy statement given the R2 is .309
“ The chart above shows some correlation between higher prices for renters insurance and the percentage of Blacks living in the city.”

I’m no statistician, but I think saying that an R2 of .309 is “some correlation” without pointing out that so is random noise isn’t helpful.

I would like to see insurance rates comparing racial composition while controlling for other variables. And it’s kind of shocking that they even wrote this article without at least attempting it in the post.
So first, what exactly I was meant to say, is that:
Go design resembles closest to Google's internal C++ APIs.

Then, when I saw people praises Go APIs, I feel that some people worked on C++ APIs at Google, were missing some credits. That's a derived feeling from the above.

That is not to say that this File design was already being praised (not to say that it does not deserve praise); or that it should be criticized (not to say that it does not have problems).

As for your example to contradict my claim: "Stat returns FileInfo, many of the fields of which might be meaningless in a cloud filesystem":
1. This has to be there because a File API has to be compatible with OS files (Unixy). And Google's API also does the same thing.
2. Incompatibility derives from enforcing information that not present in another scenario. Clearly, the presence of such attributes does not prevent them to be applied on cloud files systems.

And further, Cloud file systems do have mode, and directory...
The root is the right place for project-wide settings.

GitHub and other tools should do what ls does and hide dotfiles by default. That’s why they are dotfiles.

Other project-unrelated config/metadata should follow the .git example and use dotfile config files, preferably yaml or something similar (not json, as it does not support comments).
Can you expand on what constitutes the "toxic" aspect of this, i.e., the danger, symptoms, consequences?

Thanks for coming here to share your expertise!
What about combining machine learning and thermal imaging? You would train the ML on the specific thermal characteristics of humans in different conditions. The ML may output a ton of false positives, but if there are a lot of eyes on the footage, and other sensors (LIDAR?) + normal image recognition are used, that might be worth it.

Another thing to consider is two-way audio search. The drone would make an extremely loud screech to announce its presence to the lost individual (paired with extremely bright light at night), then it listens for a human response. People can be trained to make a certain response that is easier to detect (loud continuous shout? Start and pause every 2 seconds? etc..). Of course, that should all be a backup to safety protocol and satellite communicators.

Lastly, I want to make the obvious point that a constellation of drones would do a better job than a single one. A swarm of drones can simultaneously cover the whole area where the lost individual might be. Combined with the above technology, that can be very powerful.
How does it contradict the title of the article?
Systemd pokes its head around the corner. Build tools? Its stomach rumbles. The beast hungers.
I think it’s funny that they blame it on “messy data” as their problems seem to be caused by messy analysis.
This is a problem I've encountered on my projects. I just want to nestle them all in a `config/` folder. Alas, lots of the tools really dislike if you would like a configuration in a spot other than the root directory. Suddenly you get to enjoy debugging all the times some functionality wants to be relative to the config directory instead.

I love the idea of a standard config file, but... Cross-project standardization in the JS ecosystem? Unlikely.
Twitter delenda est
I'm disappointed that they didn't look at the very obvious input into insurance risk models: crime rate.

It's very dishonest since it's very obvious. Either complete incompetence or dishonesty.
Yes, exiftool is better. Exiftool will also run on all files in a directory (not onesie-twosie), and is trusted software that's been around for 20 years.
I'd almost rather flag this submission than deal with commenters seeking to justify the structural iniquities and ending their train of thought with the simple correlation between black neighborhoods and crime. Press on! Why is there more crime? Why is there more poverty? What are the structural reasons for the two?
Objectively, I would assume insurance is more expensive in areas with more crime, nothing to do with race.
Thankfully more and more projects are moving to respecting XDG_CONFIG_DIR:

The holdouts fall into the following categories:

1. Projects where the author doesn't care but would take a PR.

2. "My tool is super simple and I don't want to complicate it to read env vars or have platform specific config"

3. Projects which value cross platform consistency over consistency with the platform (tmux, though the next version does budge a little)

4. Projects which consider XDG as just "some desktop Linux thing" and don't consider themselves as caring about desktop that much or just that they predate XDG (SSH)

5. Projects who mix runtime and config and cached data in a single directory and don't want to split them out for proper XDG support.

The ArchWiki probably has the best centralised tracking of attempts to get XDG support implemented: https://wiki.archlinux.org/index.php/XDG_Base_Directory
Whatever reason is the frustration. Its not "whatever reason" or some huge unknown. Its decades and decades of policy including redlining and developers who openly didn't rent or let black americans buy homes and banks that openly gave black americans with great credit shittier loans while the govt bankrolled the development of suburbs for white people.

I realize I'm frustratedly typing and I think my frustration is the "aw shucks, who knows why this is happening. The data is a mess" conversation while there are entire books and sub disciplines in "subjective" research like Law, Politics, Geography, Urban development and others that could easily answer these questions and have many times over.
Hah. This is in fact a problem area that our Billing (https://stripe.com/billing) team is actively thinking about. You should reach out to ark@stripe.com if you want to discuss -- he can connect you with the right folks.
When I first set up my requirements.txt's, I usually set up a venv, install the things that I need and then run "pip freeze" to get a list of all deps including transitive deps, and put them all in the requirements.txts.

I do sometimes feel that people are making rube goldberg machines out of their package management in an attempt to avoid just writing down all their deps.
> I don't get this, what's the problem here? Having config files in root means you know they can apply to all sub directories.

This makes sense for configs that could ostensibly do this, but that's only a fraction of them. Regardless of what we do about those (if anything), the other ones at least shouldn't be laid out like this.
Hey pc I love your engagement in the comment threads. Few leaders at billion dollar companies hop on the comment threads with such care.

Thank you!
Ship that brought ammonium nitrate to Beirut
>The biggest weakness is transitive dependency locking: even if you specify the exact version of the dependencies you want, Pip can still resolve to a different version of their dependencies

Isn't that what pip freeze is for?
I tend to see a glut of tooling as a sign that a language has serious design flaws, as most important things should be done by the compiler, but I’d rather have JavaScript with proper tooling and types than nothing at all.
Time to get a VPN if you want to communicate across the Great Firewall of America.
I think it is simply "venue".
I don’t find it a scourge. I actually find that I can look quickly at a project and get an idea of the tools that they are using. This seems to be a bonus and really a few more files isn’t a big deal.
Im fairly certain they didn’t.

This is just an ad masquerading as a study.
I think those factors would be racist explanations, so to speak – saying "it's not that insurance costs more in Black neighborhoods, it's just that Black neighborhoods have lower employment rates" only shifts the narrative of racism.
I think this is about as useful as observing Boeing has a lock on the US government and distorts the market with Airbus.

It completely ignores the real stories in technology and development which make people invest.
We did?

https://fedoraproject.org/wiki/Features/UsrMove
Nit: ~/.config is specified by XDG, not by LSB.

But yeah, the most recent revision of the XDG basedir spec is dated November 2010; we've had it for a decade.
Thanks for that! Coincidentally I’ve had that podcast on my list for a while, guess it’s time to give it a listen.
"Everyone calls me stupid every time I bring up the fact that Twitter had a better TikTok before TikTok in Vine"

The view that "Vine was tiktok before tiktok" is extremely common. Vine was very popular, was a trend beachhead, but it just wasn't something Twitter was really interested in so they shanked it.

Speaking of which, I didn't realize that musical.ly morphed into TikTok. I knew musical.ly only from Paymoneywubby - https://www.youtube.com/watch?v=5PmphkNDosg
When does data become identifiable?
How to Add Native Ads, Interstitial Ads and Rewarded Ads in Flutter
As far as I can tell, Goodcover wrote this as marketing to show that they both have less increased pricing bias toward neighborhoods that are more Black -- and also are significantly cheaper.

It's the significantly cheaper that is most surprising to me. They are about $100 a year vs. $175 a year for their competitions.

This makes me wonder -- have they managed to cut bloat by 40% or are they simply using different qualifications to restrict their insurance to lower risk people? If it's the latter, this comparison is not apples-to-apples.
I did see this bit of news last week (https://9to5mac.com/2020/07/28/apple-sold-out-of-standalone-...) where Apple Retail's direct supply of the monitors has run dry. But you can still find them (at least in the U.S.) through other common retailers like Best Buy and Amazon, so I wouldn't say they're officially discontinued (yet).
Agree with you on internet scaling. 4k 24" or 27" isn't that good at 1.5x scaling even in Windows which has native support for fractional scaling.
Yes, that's because I was using the word "stuck" metaphorically. I choose to be stuck because I actually find the benefits of being stuck to outweigh the costs. If I lost my job it probably wouldn't take me 24 hours to pack my shit and be gone. But as long as I'm here getting to do what I want to do I stay.

If you can't figure out how to move to a different state to pursue a dream, it's not much of a dream.
I'm not the author of the GP post but I don't think (s)he was implying the reason was unknown so much as stating that there IS a reason, but not committing to one single reason so as to not have to argue or justify it.
I agree that this is an important distinction. But isn't there a third option: the market's not perfectly competitive and pricing isn't just driven by the cost but also what consumers will bear?

For example, this can be seen in men's vs. women's home staples. Things like razors and deodorant tend to have much higher list price for their feminine versions. This isn't because women's razors cost more to make. Nor is it because executives at P&G are misogynistic pigs.

Rather it's because these products tend to be sold by monopolistic suppliers who are trying to extract the maximum price that consumers will pay. Women tend to be burdened with more responsibilities than men, and thus have less time to carefully comparison shop.

I'm not sure if this explains the racial insurance disparity. But I could easily imagine it, and we should at least investigate the hypothesis. In particular black Americans have a lot less savings and financial cushion. They're also have lower rates of financial literacy. That probably means they're less likely to comparison shop and more likely to buy low-deductible policies that tend to be less competitively priced.
Good on them for testing assumptions.

Less than judicious use of any modal/floating element is a problem and adds to user frustration.

It's worth doing an external test with a fresh browser (no {cookies, localStorage, cache, logged out, default browser API permissions for the website} every month or so. With the basically-useless-now cookie disclosure banners, chat banners, adblock warnings, "returning? why don't you log in" modals, special offer modals, location permissions prompt, notification permissions prompt, occasional survey prompts, etc. These make me want to leave your site as fast as I can, sometimes before I bother staying for my purpose.

I think developers tend to be responsible for adding features but few if any people are responsible for removing features when they don't work well together or are no longer as relevant as they could have been.

Also, modals and floating elements are simply overused. They are the equivalent of blinked elements in the early web days. Use sparingly.
it really is telling that articles like this arent laughed off the face of the planet.

if this were a univariate, observational study of a medical condition claiming "some correlation" with an r2 of .3, the authors would be fighting mobs with pitchforks and torches.

its such a cheap play at current politics. if people cannot discern this from science, we truly are lost.