555 karma · joined Jan 28, 2015 (11y ago) · 110 submissions
comment 8mo ago · link · parent
comment 10mo ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
Additionally, I wonder how this works on sites with a Content Security Policy that disallows inline styles and style tags and stylesheets without a nonce.
I suppose if Cloudflare is proxying your site, they could get the nonce from the content-security-policy header and use that, but hopefully that would be an opt-in-only behavior.
comment 1y ago · link · parent
This sums up all of the school pickup problems I see and/or deal with daily.
I also see many parents making dangerous decisions, most of which fit into the “I’ll go now” category, including accelerating quickly to get to the crosswalk before the kids crossing the street do. Just this school year, I’ve seen multiple near misses, with kids jumping back onto the sidewalk to avoid being hit by a parent who just picked up their own kid.
comment 1y ago · link · parent
The worst part is that when replacing an A record with a CNAME, it lets you delete the A record but then blocks you from adding the CNAME, because "a record with that name already exists" (referring to the one that was just deleted). This is where the 20+ minute wait changes from "inconvenient" to "downtime". It's been like this for at least 15 years.
comment 2y ago · link · parent
From that blog post (2022):
> In addition to terminating all sales, all of our offices in Russia, including Moscow, Novosibirsk, and St. Petersburg were shut down. Work on the new campus in St. Petersburg was also terminated. All R&D activities were gradually stopped and liquidation papers for our Russian legal entity were filed in August 2022.
12.
Rails 8.0 Released(rubyonrails.org ↗)
109 points · by nnf · 2y ago · 12 comments
comment 2y ago · link · parent
comment 2y ago · link · parent
When looking for a home several years ago, we only had a couple of options because solar was a requirement for us, but we wouldn't be allowed to add solar at most of the properties that were on the market at the time. We ended up finding a place and adding solar, the largest array we were allowed by the utility. It's very beneficial and I'm still glad we did it, but with an electric car and all electric appliances, it's often not enough to supply our needs.
By allowing utilities to place such low capacity limits on solar generation, solar installation becomes less attractive, which I presume is what the utilities want and is the reason they lobby for such restrictions.
Getting rid of these outdated HOA rules and utility-imposed capacity limits (when there's no technical reason for them) are two things we'll need to overcome in order to make solar adoption more attractive and hopefully more affordable for everyone.
comment 2y ago · link · parent
comment 2y ago · link · parent
(Why would I report an outage when the power wasn’t out? Our lights blipped and my whole-home battery backup system kicked into action and showed a “grid outage” message. I checked it a few minutes later and it still showed the same status, so wanting to be a helpful neighbor, I reported it. I found out later that the battery backup system stays off-grid for five minutes following an outage of any length, even just a blip, I think as a debounce protection. When the utility trucks showed up, I told them what had happened and that their system wouldn’t let me cancel the report, but they were just glad to have a break from running around dealing with outages nearby, so they stayed and talked for a few minutes, curious about the battery system. Nice guys.)
comment 2y ago · link · parent
comment 2y ago · link · parent
> Once a photon of light is born, it travels at a speed of 300,000 km/sec until it collides with a charged particle and is diverted in another direction. Because the density of the sun decreases by tens of thousands of times from its lead-dense core to its tenuous photosphere, the typical distance a photon can travel between charged particles changes from 0.01 cm at the core to 0.3 cm near the surface.
[0] https://sunearthday.nasa.gov/2007/locations/ttt_sunlight.php
comment 2y ago · link · parent
comment 2y ago · link · parent
This is something I dealt with a few years ago. There were a few acreage lots (5-15 acres) my partner and I were considering buying and building a house on, and all of them had been in the $200k range a year or two before but had been bought by land speculators (in some cases by the same person). Prices went from ~$200k to ~$750k, which we weren't interested in.
Most of them sold. One of the larger lots was around $350k and is still for sale, now for almost $2 million.
I don't think developers should be forced to sell land just because I want to buy it, but the taxes they pay on their empty lots is extremely low. I checked on a couple of the ~$750k lots, and the taxes were something like $115 per year. At that rate, it costs the developer/speculator basically nothing to hold onto it while prices rise.
If lots like this were taxed at, say, 20x the current rate for lots that are near areas that are being built up and are ready to be bought, then there would be a stronger incentive for the owners to sell to people who are ready to build and start paying property taxes. It seems like such an increase would benefit everyone except the speculators.
comment 2y ago · link · parent
One of the things I remember being difficult at the beginning was the subtle differences between implementations, like `^` meaning "beginning of line" in Ruby (and others) but meaning "beginning of string" in JavaScript (and others).
If you're just starting out, it'd be helpful to read about how a regex engine evaluates an expression against a string so that you can understand the "order of operations" and how repeating elements are matched.