621 karma · joined January 11, 2018
The logic behind IR light is entirely plausible too. Light is energy, it’s not like photosynthesis is the only way an organism can leverage light.
So if they use their non-monopoly share of the phone market to form a real competition against Google’s actual monopoly on search, that will be frowned upon?
If the above leads to any serious application problems, then you've got a lurking bug already, because you never know when there may be a network outage for example, and this would have the same effect.
Outside of China, nobody was talking about needing masks until March. I'm pretty sure the author is talking about the fact that by March, China had already produced tons of new masks but average people in the US couldn't access them because they were being reserved for health care workers.
I am just speculating of course and maybe they were very unhappy to have to do this.
I believe this is how most Git repos are managed within organizations. I'm not sure why public repos need to require users to fork things to propose changes.
And isn't this basically how Github works internally anyways? (eg https://news.ycombinator.com/item?id=24882921)
> the quality of the tech that is Git is a testament to GitHub being able to make it this far in the tech space
But in reality, Github makes Git more complex, because now you have to understand the concept of forks. Not only is there your local copy and an origin, there is a 3rd repository in play.
One of the internal web applications I develop (which is hosted over HTTPS itself) has to workaround this by doing the connection from the browser to the local IP address over HTTPS, but upon detecting HTTPS cert errors it opens a popup and walks the user through the process of adding an exception to connect anyways. Once that popup closes, then the AJAX request gets retried and succeeds.
While this works for an internal application, it would be unacceptable for any consumer product.
Clearly there is not enough UV light at night to activate the glow in most cases, as otherwise people would notice. Also since it’s actually glowing pink, not sure what this could have to do with UV vision.
I wonder why nighttime would be rich in UV light though. I’d have guessed that IR light would be a better pathway to night vision, since warm bodies generate IR regardless of the time of day.
Here's an example function for quoting from stdin:
function bashquotesingle() {
printf "'";
sed "s/'/'\\\\''/g";
printf "'";
}
Though it does have a bug, at least on macOS, where sed adds a trailing newline. (See https://stackoverflow.com/questions/13325138/why-does-sed-ad...)In JavaScript or PHP, it’s usually easy to figure out if something is meant to be an int, string, array or object (yes we’ve probably all done “1”+1=>”11” before, but it’s very rare).
But if you are using classes, it’s very useful to distinguish at coding time which exact class an object is. Often you’ll end up with multiple classes with similar sets of properties, and it’s imperative to know which one is being used so you call the right methods.
Before I had a car, I once bought a dumbbell set. Had to carry it 5 minutes to the bus stop. Box fell apart on the way. Bus driver wasn’t particularly patient with me needing multiple trips to get all pieces into and out of bus either.
Since I own a car and pay insurance, why would I bother with other forms of transit when they are slower and bring their own set of problems?
What would you do when the next time this happens it’s 300B lines from a 1PB file?