1,221 karma · joined Jun 9, 2020 (6y ago) · 285 submissions
comment 3y ago · link · parent
> The effect of (mandatory) bicycle helmets on bicycle use is not clear. Several international studies show that bicycle use decreases after the introduction of helmet laws, even though most studies do not find such an effect or only find a temporary effect [9] [42] [49]. [...]
> There are two international review studies of the effect of mandatory helmet use on the use of bicycles, both dating from 2018 [9] [42]. The first study [42] shows that the available research results are not unequivocal. It states that mandatory helmet use could indeed result in a decrease of the number of cyclists, but that this need not always be the case and that, if the number of cyclists initially decreases, that need not be of long duration. The second study is a mostly qualitative analysis of the available literature [9]. Based on their findings, the researchers conclude that there is little to no evidence of a substantial decrease of bicycle use due to the introduction of mandatory helmets. They have examined 23 studies/data sets and conclude that 2 of these studies support the hypothesis that mandatory helmets lead to a decrease of cycling, whereas 13 studies do not, and 8 studies show mixed results.
> The abovementioned review studies only concern research done abroad, in particular in Australia and North America.
https://swov.nl/en/fact-sheet/bicycle-helmets (Under "What is the effect of helmet use on the popularity of cycling?")
comment 3y ago · link · parent
But oh well, the author works at Red Hat so I'm sure they have their reasons :p
comment 3y ago · link · parent
Agreed
> US local supply will never be enough.
But you won't just have US supply. You'll have US and Taiwanese supply, and I don't believe that Taiwan will happily let TSMC (the only cutting edge foundry left in the world, when you take Samsungs abysmal yields into account) build foundry redundancy in the western world.
But we'll see, you could definitely end up being right. I just hope we'll invest at least an equal amount of money into chip design.
comment 3y ago · link · parent
Or do we seriously expect that US companies will generate significant demand even though TSMC and Samsung are already building heavily subsidized fabs in the US?
comment 4y ago · link · parent
Freedom House researches this exact topic and they're funded by the US Government. Their current chair is a republican but they're non-partisan.
Looking at their most recent data[0], we can see the US scored 14/16 in 2022 on "Freedom of Expression and Belief", meaning that 53 countries were better by scoring 15/16 or 16/16. Of the 27 countries that scored 16/16, 11 were European. Qatar scored 6/16 by the way.
When you look at the total Freedom Index, the US scores 83/100 which is good for place 62 and lower than most of Europe. Qatar scored 25/100. Here is a world map[1].
[0] https://freedomhouse.org/sites/default/files/2022-02/Aggrega...
[1] https://freedomhouse.org/explore-the-map?type=fiw&year=2022
comment 4y ago · link · parent
That was when I learned that for some people, a monad really just is a monoid in the category of endofunctors.
comment 4y ago · link · parent
I asked for this book for my birthday and read it. However, I couldn't help but notice that when the author wrote about my field (computers, broadly speaking) the research was often... lacking?
She wrote a solid 3-4 pages on large phones and it was just surreal to read. Paraphrased:
> Phones are very large. This is bad for women; they have smaller hands. Nobody knows why tech companies make large phones. It is very silly, because women actually use their phones more than men. I asked multiple tech journalists for an explanation, they had no idea either. Here I present some theories that can tie this issue to sexism: companies simply design phones with men in mind, companies expect women to carry a handbag all the time so a large phone is no bother, and so on. And sure, women could buy an iPhone SE but that model hasn't been updated in two years.
Nothing about better battery life, nothing about better media consumption. It was so confusing, as every tech journalist, literally every tech journalist, knows that bigger phones have better battery life.
Sadly it made it a bit difficult for me to fully trust the rest of the book.
comment 4y ago · link · parent
Some concepts aren't for beginners. This includes most things that have to do with more advanced type theory or for example category theory.
ELI5 GATs? ELI5 Monads? If we could we would.
comment 4y ago · link · parent
1. Use DevCleaner[0] to remove old/unnecessary device support files.
2. Remove platforms you don't develop for, e.g.
- rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/Watch*
- rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/AppleTV*
DevCleaner freed up 10G+ for me the first time, the two rm commands above free up ~3G each.
comment 4y ago · link · parent
> I claim the following simple experiment supports this depressing claim. Run your favorite set of benchmarks with your favorite state-of-the-art optimizing compiler. Run the benchmarks both with and without optimizations enabled. The ratio of of those numbers represents the entirety of the contribution of compiler optimizations to speeding up those benchmarks. Let's assume that this ratio is about 4X for typical real-world applications, and let's further assume that compiler optimization work has been going on for about 36 years. These assumptions lead to the conclusion that compiler optimization advances double computing power every 18 years. QED.
> This means that while hardware computing horsepower increases at roughly 60%/year, compiler optimizations contribute only 4%. Basically, compiler optimization work makes only marginal contributions.
> Perhaps this means Programming Language Research should be concentrating on something other than optimizations. Perhaps programmer productivity is a more fruitful arena.
comment 4y ago · link · parent
This makes no sense?
M1 / M1 Pro / M1 Max / M1 Ultra were all manufactured on TSMC N5, even though volume production for N5P (improved N5) was already available by the time M1 Pro / Max were released. In fact, A15 (N5P) was released in September '21 whereas M1 Pro / Max (N5) were released in October '21 and Ultra was released in March '22.
M2 is manufactured on N5P, so it makes total sense that M2 Pro / Max / Ultra will also be manufactured on N5P. They're part of the same generation, so it makes sense to produce them on the same node.
This is also most logical from a financial standpoint: the base model M chips and the A chips are the smallest and therefore least expensive to produce on a new node with relatively poor yields and high prices. Once the node has matured a bit more (higher yields / lower prices), you manufacture the bigger chips (Pro / Max), and even later you print the big bois (Ultra)
M2 Pro / Max / Utra were never going to be N3.
comment 4y ago · link · parent
comment 4y ago · link · parent
Also, the second picture is a bit misleading because it compares the SE to a container that itself is larger than the mini (as you can see in the third picture).
[0] Numbers from Mactracker. SE is 4.87" x 2.31" = 11.2497"^2. Mini is 5.18" x 2.53" = 13.1054"^2. That's a 16.5% increase in surface area
comment 4y ago · link · parent
> Since it looks to follow whichever pattern already exists, and de bruijn sequences minimize existing patterns, it always beats the game.
I'm pretty sure this isn't true though. A de bruin sequence doesn't guarantee that the order of the n-patterns is random, only that the number of unique n-length patterns is maximized.
Indeed, the algorithm you mention puts n-subsequences with many 0's in the front, and subsequences with many 1's in the back. Sure, every n-length subsequence appears only once, but because the order of the subsequences does follow a predictable pattern, your total sequence is still pretty predictable.
This disparity isn't noticeable when n is small (you chose n=6), so you can comfortably beat the game. But pick a large n and your sequence becomes rather predictable.
Try n=20. In that case, the generated sequence S has length |S|=32,768=2^15. In the first half, there are 9098 0's and 7286 1's. In the second half these numbers are exactly the opposite. Throw this sequence into the game, and you end up with a prediction accuracy of 50%. Not worse than random, but you didn't beat the game either.
comment 4y ago · link · parent
This is exactly what I did initially, but it was indeed a bit of a pain to manage. Eventually I went with something in between, by first compartmentalizing services and then putting them in separate VMs with separate VLANs:
0. Router / FW.
1. WireGuard / reverse proxy.
2. Personal, e.g. file storage, backups.
3. Hosting. My personal site is reverse proxied through Cloudflare and only their IP ranges are whitelisted.
4. Compute, i.e. stuff I want to compile / develop / run on my server. Handy if I want to run a heavy simulation overnight or need more disk space / RAM / CPU power than my M1 MB Air has available.
5. Services. This runs many small tools / services that don't need access to my RAID pool or anything like that. If this gets infected I wouldn't really care.
6. VPN. This VM can only access the internet through a VPN. Doesn't have anything installed ATM, but has been used in the past for urlwatch and torrenting.
7. Test. This is where I try out new software before actually installing it on the correct VM. Once I've concluded testing I rollback this VM to a clean install.
It takes a weekend to install Proxmox and set up the VMs / VLANs, but after that it easy to use.
comment 4y ago · link · parent
I highly doubt this. I believe it's true for you, but in the Netherlands I always notice how e-bikers generally ride the maximum legal speed (25km/h) but at a preposterously low cadence and while sitting perfectly upright. Non e-bikers on the other hand go slower, have a higher cadence and (if there's a significant head wind) move their torso left and right in accordance with the pedal strokes. No way those intensities match.
I do believe that the area under curve can be similar, because e-bikers can indeed ride further.
comment 4y ago · link · parent
Also, some ISP's in the Netherlands have already stopped delivering analog radio over coax and most people I know actually did just... buy new radios / DAB+ receivers.
comment 4y ago · link · parent
I feel like you hear about this all the time though. Both in the context of mindfulness, and in the context of cognitive behavioral therapy.
Also, as far as I know the actual effectiveness of CBT and mindfulness is still up for debate? It certainly works very well for some people, but "this actually works" might be a bit much?