Most depictions of things in movies are like that.
Films must show you something interesting, and watching somebody do trial and error painfully on a bash script for 6 hours is not as fun as a fast pace keyboard murder while screaming "i just passed 3 firewalls" with beautiful animations rendering on the screen.
If there is a camera, what you see is a lie. The difference between a national geographic documentary and cinema is just how big the lie is.
It's a bit insiduous actually, because some parts of the lie are subtil: rythm, speed, dialogs, personalities, agenda, resources... But they look real enough to make our natural social mechanisms trigger, and the lie then creeps into real life.
Like people now expect the police, the justice system, school or the hospital to behave in a certain way, and the reality is way less glamourous.
The chances we actually find, or even search for somebody that killed you (if it's not very obvious) are very low, not to mention a simple theft or ass kicking.
Most things are mondain and boring looking. That's why we are so fond of art.
Even national geographic documentaries are probably "lies" ... I just had the chance to get some basic insights in to evolutionary biology ... and boy is bloody mauling and devouring of prey just the tip of the iceberg.
Intraspecies rape and infanticide is pretty common out there. (Look up the penis of drakes (male ducks) and why it looks the way it does at some point)
Siblings competing for food with only a small percentage surviving.
The female tit (the bird ... not what you think) basically cheats so much that there is a possibility that none of the offspring is actually of the male that feeds them ...
> The female tit (the bird ... not what you think) basically cheats so much that there is a possibility that none of the offspring is actually of the male that feeds them ...
Pretty sure "cheating" and infidelity are largely human concepts. That's normal and natural behaviour for many species.
> "cheating" and infidelity are largely human concepts
It is normal behavior, yes. But it comes at the expense of the cheated on party. The term here is "parental investment" and is roughly how much energy a party has to invest in the offspring.
If the male tit builds the nest and provides food for offspring that is genetically not his it puts it at a disadvantage and it is definitely exploited by the female.
Again, "exploited"? Using that word in the context seems very... Off. It's not like the female tit is choosing to "exploit" the male. They're literally programmed to do that.
Think about it. In many species there is unequal parental employment. That's just how nature works. Is it really "exploitation" in the human sense of taking advantage of someone else?
But. If we're observing as humans and it appears to us that the one creature is taking advantage of another, surely that's just our interpretation from a very limited understanding of their world?
I have no idea where I'm going with this, but that phrasing still seems off to me.
I don't think I understand your objection. You can model a lot of human and animal preferences fairly simply, based on axiomatic preferences like "wanting to survive and propagate your genes". Unwitting parental investment in a gene pool you don't share runs counter to this fairly basic and well-founded definition of utility, and it's under this premise that words like "exploit" are used.
Just upthread, "rape" is used in the animal context too. You could similarly apply your argument to that behavior, claiming that the term has moral baggage that's uniquely human, but I think it'd be just as wrong-headed.
I remember reading about some sort of project that was analogizing the economy to nature and talking about balance and I nearly blurted out that there is balance in nature because so much stuff dies all the time. People who want to make the economy more fair naturally want to do it without the equivalent of stuff dying all the time. But nature is not a good analogy for that. Nature as a whole is beautiful and tends toward balance, but it comes at a huge cost to individual participants.
Crazy how this topic on drowning led me to your comment and led me down a rabbit hole where I am now ordering The Evolution of Beauty, Prum and The Handicap Prinicple, Amotz. Thank you for this comment
Nice! "Animal Behavior: An Evolutionary Approach, Alcock" and "Evolution, Ridley" were mentioned in the seminars if you want to put some more books on the list :-)
What opened my eyes to all of this is when I saw a video of a seal raping a penguin. I knew nature was brutal, but that was an aspect I had never considered. Then I started noticing more and more information about it. Made me appreciate humans far more.
If you ever watched Nat Geo tapes in grade school from the 80s, things were much more graphic (and interesting and informative IMO). Somehow Western society has become so sensitive to depictions of violence that even educational films regarding nature are effectively whitewashed.
Our reluctance to produce informative graphic media has given people an unrealistically optimistic view of nature and life. This has warped social values and policy to our detriment.
Given firefox users massively block trackers, way more than chrome which actually links your google account with your browser login, I wonder how accurate are the stats.
Firefox did lose market shares, but it's possible we see lots of chrome users also because they are more visible.
Related, although a different problem, one of the biggest stat providers is Google analytics, and a lot of sites make decisions based on those, but Google has no incentive to check if they are missing some non chrome users.
The Monthly Active Users metric is more important, and it has been declining by around 10% each year. That’s very significant. Roughly 25k users lost every day.
Mozilla had to lay off almost 10% of its staff this year, and will probably have to keep doing that every year now (unless the decline in users stops). And firing your employees doesn’t usually lead to better products.
Indeed, however Firefox often masks its user agent as websites falsely report broken and missing features for non-chrome browsers. User agent is growingly meaningless as a metric.
One of the first things I do on a new Firefox install is add a user-agent switcher and set it up to tell sites I am using chrome for exactly this reason.
Somehow we have gone back to the dark ages of web where sites complain unless you are using one specific browser.
It was the more technical minded people who spread the word and mindshare of browser choice back then to get us out of that mess, and now the same group has gotten us back into it worse than ever.
A quick (though not very user friendly) method to change Firefox's User-Agent string is to create a new about:config pref (string type) called "general.useragent.override" wit the new User-Agent string.
The user agent header is passed to whatever server your browser originally talks to, that server is free to do whatever it wants with the header (including forwarding it or storing it in logs that are analyzed somewhere at some point). Blocking on the client or even client network level has no effect on that. If you receive any content at all, there is a chance the UA header will be looked at.
But as others pointed out, the header will be rather meaningless in the foreseeable future anyway.
Theoretically what you're saying is true, but practically speaking many websites are behind CDNs, like Cloudflare, Cloudfront or Akamai, with static content being cached aggressively to reduce costs and latency and it's pretty cheap and easy to do so nowadays, so most requests aren't even going to hit a backend.
You can work around this by installing a tracking pixel on every page you have, a pixel that always hits your backend, which can then generate a log line that can be analyzed. But this requires extra development and it's much easier to just install Google Analytics.
So I'm pretty sure that most browser stats are not coming from analyzing 1st party data that's logging the user agent.
And speaking from experience in this space, the error margin for such analytics is somewhere around 10% - 20%, which is roughly the percent of people having ad-blockers installed and this number is growing — you can extrapolate of course from those that don't have ad-blockers installed, but then you have a selection bias issue, because you're not talking about the same kind of user; e.g. people that use ad-blockers are the people that are more likely to be computer literate and capable of installing their own browser.
While you in turn are of course correct as well I wasn't trying to imply that every business out there is sitting in front of their server farm and analyzes httpd logs anymore.
With the prevalence of ads being served from the customer domain on larger sites these days I'd just think that enough parties have incentive enough to implement a tracking pixel or put a few lines of measurement protocol code somewhere to make sure that request data ends up in GA. But granted, I'm not in that space, the assumption that this data does not end up in the hands of some interested party for B2C sites just seemed weird, even in modern architectures.
Thanks for the error margin btw, that's far higher than I would have expected.
But Google Analytics is typically (always?) done through JavaScript in the browser. And if the browser blocks any call to the Google analytics servers, Google won't know the user agent.
Sure, but most people don't analyze their server logs, they rely entirely on analytics, and if not done correctly (noscript tag) won't fire even a tracking pixel. Even then, most blockers will block those requests too.
The rendering engine is largely irrelevant to me as a user on mobile. (Though of course having the actual one would be better.) Firefox sync is the meat of the deal.
Firefox sync really is neat, but be aware that for the last several years it has had a security flaw, one which the Firefox team has no interest in fixing (in fact, they consider it a feature!): your passwords and other private data are encrypted with your Firefox Account password. That would be fine so long as a) your Firefox Account password is truly secure and b) Mozilla can never see it. Unfortunately, they can: they serve an HTML page to log in to your Firefox account, which loads JavaScript from their servers. At any point they can start serving JavaScript which sends all passwords to their servers.
What is so very, truly disappointing is that they used to have a great, easy-to-use Sync security system which was immune to this sort of attack, but they removed it.
Anyway, I cannot advise using Firefox Sync for private information anymore.
What is your threat model in which somehow Mozilla's ability to serve you JavaScript is a problem because they might use it to attack you, but Mozilla having written the entire program you're running isn't a problem?
They can almost-indetectably target an individual user or group of users at any point in time in the former case while the latter case would leave traces in e.g. git histories.
I trust Mozilla to write Firefox and I trust Debian to package it. I do not trust Mozilla to be trustworthy on a live and ongoing basis.
Agreed, sync is a great feature, but last I checked iOS content blockers only work with Safari, not any other apps that use WKWebView. So stupidly, I have both Focus and Firefox on my iOS phone, but only Safari can use the Focus content blocker. It’s pretty terrible.
Does Lockwise support easy import/export of passwords from/to other password managers? I'd like to use it, but I really don't want to put all eggs in one basket.
Can I associate one login/password pair with multiple domains?
You don't enjoy the occasional white pizza? I'd say it's more like pizza without cheese...but you can do that too. Tomato Pie's are pretty good every now and then. How about pizza without toppings? Some restaurants even call toppings add-ons.
I think of it more like supporting a local pizzeria. Firefox gets me 100% there on my desktop and using it on iOS sends Apple some sort of number that I prefer using it over the stock browser.
I still remember Firefox around its version 1.5, where you literally couldn't use it without extensions, even some basic things like Tab Recovery was only available through them.
A thing that annoys me is that any browser in iOS except Safari doesn’t support getUserMedia to allow camera access to do things like scan qrcodes from the site. I'm wondering if it's an artificial limitation Apple imposed to encourage people to use Safari.
I ended up getting a Microsoft mail account because it was the only way (for us) to respond to customers who used MS's email. So email isn't immune from walling off of gardens either.
It was a couple years ago now, SPF and DMARC (but not DKIM iirc) were sorted. At the time MS used a third party who you could pay to get "vetted", I got a response that the problem was our server host's had another IP (not the one our emails were sent from) that had once had spam sent from it. So the facts we were responding to customer emails, that our domain had ~12 years of good behaviour, and our email servers IP being clean weren't enough. Even "whitelisting" the domain from the Hotmail/Live/Outlook.com end didn't work.
I'm still smarting, we still sometimes have problems (from a different host now) but just resend via an outlook.com address and it's fine.
So, no never had our domain marked as spam on any dbl that I've checked (but only done that sporadically).
We also had a blip with Gmail around the same time (but not the exact same time), but I reported it as a false positive and it was fixed in a few days; no problems since.
We were/are sending so few emails (<1 day average) that it's not worth me spending a couple of days trying to see through the murk of MS to fix it. We're probably not losing any revenue, just have to treat MS sent emails differently to everyone else's.
Chicken and the egg. If you're sufficiently close to people to convince them to use SMS/Signal/Matrix/whatever with you, then sure, you'll be fine. But what if you're not? What if it's either "install WhatsApp and join our group chat" or nothing?
I don't. Everybody got a phone number, sms and email. So if we don't share a tool, I fall back to that, to face to face, accept a delay or be left out of the loop.
The secret is to focus on quality, not quantity, and realize a lot of FOMO is involved.
If the quantity is zero, the quality doesn't matter - if the alternative to joining the group is to be left out of the loop, there is practically no choice.
For example, if they write - in the group - that the next meeting is 3 PM next Wednesday at so-and-so, unless you happen to run into them at that specific time your chances of knowing this are slim.
Even with the most amazing internet, there is nothing less reliable than a network.
I've traveled in so many countries, and the ones with the best fiber in the world can't guaranty a stable ping for the entire day.
This is what makes so many online games frustrating. I played MOBAs for a long time, and there is nothing more irritating than losing because you didn't get an information at the right time.
Now a non multiplayer game is not real time, so you can put mitigation measures in place, but it can't fix everything, especially for games where the rhythm is important: plateformers, FPS, racing games, etc.
We put up with it in multi-players game because there is no alternative.
But are you going to tolerate than sometimes, randomly, you are going to die because the network had a spike in ping when playing Mario or Cod when you could play comfortably on your TV locally ?
Remember the joke: videos games don't make kids violent. The lag does.
Oh, I was mostly interested in Stadia (but never played it), when I was looking to play some single player games that my local machine couldn't handle.
I wouldn't mind the occasional bad lag nearly as much as in a competitive multiplayer fast-reactions game.
They noticed apple mostly got praises and money for it, while going standards means competition and losing control.
Both bring angry geeks for different reasons, but as long as most people reward them for being locked up in a closed ecosystem, I don't see why they would change.
The VLC docs say "VLC, like all open source media players, cannot play [DRM] protected files", so I always assumed it wasn't possible without stripping the DRM yourself. Does it work now?
And content providers do not directly support vlc. As log as you reverse engineer stuff, you can support DRM on anything (at least in most countries), but do not expect it to be a successful platform.
I get that this guide tries to ease you in into low level concurrency concepts.
However, if you try to just get work done in Python, this is not what you want.
Don't do threads/processes yourself, use pools:
import random
import time
from concurrent.futures import ProcessPoolExecutor, as_completed
def hello():
seconds = random.randint(0, 5)
print(f"Start blocking for {seconds}s")
time.sleep(seconds)
print(f"Stopped blocking after {seconds}s")
return seconds
if __name__ == "__main__":
with ProcessPoolExecutor(max_workers=2) as exec:
a = exec.submit(hello)
b = exec.submit(hello)
for future in as_completed((a, b)):
print(future.result())
And don't manage the loop yourself. Use Python 3.7, and replace:
I agree with you. We should use a reliable library, as you said. The primary purpose of this article is to help people understand what a coroutine and an event loop are. Therefore, programmers can use asyncio API fluently without misuse.
However, I don't think use threads/processes is a bad idea. A pool gives you a constrain to utilize threads/processes, but sometime we may want to adjust the number of threads/processes based on system load. Under this circumstance, using a pool is not the best choice.
You’re sending the poor newbie on a journey of self-discovering of picklable-non-picklable, passing of arguments back and forth, working with Queues (which have well-known yet undocumented race conditions), missing exception stack traces due to dead processes and all sorts of useless garbage they don’t need to know about.
Also what exactly would that newbie be building that starts and stops threads depending on the system load? What kind of a contraption is that? What are you doing?
Finallizing all of the above: under the circumstance you mentioned, you should check whether you have just seriously over-architected the solution.
I understand you are worried about newbies misuse APIs. You remind me that I should add a warning to inform the sample code in this article should not use in programs. Thanks.
Also, I did not advocate a newbie should start and stop threads by themselves. I want to say I agree that we should use high-level APIs in most cases, but, in some cases, we may need to use low-level APIs to achieve our missions. I am unwilling to limit what kind of APIs should use. In my opinion, like you said: "you have just seriously over-architected the solution," we should be careful to use APIs. Even though high-level APIs are safer, programmers may misuse them.
I think this is not an excellent solution. You have to wait for all threads finish. I agree that we should use high-level API in most of the time, but, in some cases, we still need low-level APIs to support us to reach some goals.
Films must show you something interesting, and watching somebody do trial and error painfully on a bash script for 6 hours is not as fun as a fast pace keyboard murder while screaming "i just passed 3 firewalls" with beautiful animations rendering on the screen.
If there is a camera, what you see is a lie. The difference between a national geographic documentary and cinema is just how big the lie is.
It's a bit insiduous actually, because some parts of the lie are subtil: rythm, speed, dialogs, personalities, agenda, resources... But they look real enough to make our natural social mechanisms trigger, and the lie then creeps into real life.
Like people now expect the police, the justice system, school or the hospital to behave in a certain way, and the reality is way less glamourous.
The chances we actually find, or even search for somebody that killed you (if it's not very obvious) are very low, not to mention a simple theft or ass kicking.
Most things are mondain and boring looking. That's why we are so fond of art.
And drowning is like most things.