modeler

joined 1 year ago
[–] [email protected] 2 points 1 week ago* (last edited 1 week ago)

Don't mention carpet anywhere near the campaign in case Vance starts eyeing the furniture again

[–] [email protected] 34 points 1 week ago (5 children)

This is true for only red and green loght detecting proteins (opsins) - the blue opsin gene is on chromosome 7.

The red and green detecting proteins have an interesting history in humans.

Fish, amphibians, lizards and birds have 4 different opsins: for red, green, yellow and blue colours. And the blue opsin sees up into the ultra-violet. Most animals can see waaaay more colours in the world than we (or any mammal) can. So what happened that makes mammal vision so poor?

It's thought that all mammals descend from one or a few species of nocturnal mammal that survived the catastrophe that wiped out the dinosaurs at the end of the Cretaceous. The colour detecting cells (the cones) need a lot of light compared to ones that see in black-and-white (the rods) and therefore nocturnal animals frequently lose cones in favour of the more sensitive rods for better night vision. The mammals that survived the Cretaceous extinction had also lost the green and yellow opsins while keeping red and blue - basically the two different ends of the light spectrum.

Consequently today most mammals still have only 2 opsins so your cat or dog is red-green colourblind.

Why do humans see green? Probably because our monkey forebears, who lived in trees and ate leaves, needed to distinguish red leaves and red fruit (visible to birds) from the green background.

But how did we bring back the green opsin? A whole section of the X chromosome (where the red opsin is coded) got duplicated in a dna copying mistake and then there were two genes for red opsins. As there are different alleles (versions), they could be selected for independently and so one red opsin drifted up the spectrum to be specific for green. So our green opsin is a completely different gene to the green opsin in fish, birds, etc. This kind of evolution happens a lot which is why, for example, there are many families of similar hormones like testosterone and estrogen. And steroids too.

[–] [email protected] 22 points 1 week ago (1 children)

Just to add one more sidenote: France is of course named after the Franks, a German people who lived next door to the Alemanni and the Saxons.

[–] [email protected] 15 points 1 week ago

It is the defecal standard though.

[–] [email protected] 2 points 2 weeks ago

Someone has to decide whether it is or is not perjury. In this case it's the Senate and they need 2/3rd majority. So that basically means Supreme court judges (and presidents) are impossible to get rid of, even for perjury.

[–] [email protected] 7 points 2 weeks ago (1 children)

He's hiring a ghost writer because they are very cheap.

When a person dies, they stop needing earthly rewards. And, because a lot of great authors and writers have died, there are a lot of candidate ghost writers, like Martin Amis, Truman Capote and Barbara Cartland. A good spiritualist can summon the right auteur from beyond this mortal coil for any compositional need you have!

[–] [email protected] 10 points 2 weeks ago* (last edited 2 weeks ago)

Did you reply before even reading the summary:

“What we found is that the average cognitive deficit was equivalent to 10 IQ points, based on what would be expected for their age, et cetera,” says Maxime Taquet at the University of Oxford.

We are discussing progress over just 4 years and adjusting for age.

[–] [email protected] 1 points 3 weeks ago

MicroWakeWord is a project built on the ESPHome framework.

ESPHome is a project for building, deploying and managing microcontroller firmware (such as ESP32 devices). So, because MicroWakeWord uses ESPHome, you can easily deploy it to your preferred device.

ESPHome is deeply connected inside HomeAssistant and therefore the integration is essentially OOTB - but you have to flash ESPHome firmware on an ESP device which will probably involve soldering electronics. There are some dev kits available that contain everything you need pre-built though (like this one - no endorsement)

[–] [email protected] 10 points 3 weeks ago* (last edited 3 weeks ago)

So a bunch of people who fail on their first attempt, and they pass the second (or third) time. So, of all people who eventually pass, 70-80% took the test twice or more.

Corollary: in any given exam, 20-50% of all exam takers are there for the second (or more) time. So the total number of first-timers is considerably less than 100% and I'm guessing that their failure rate is greater than 50%.

[–] [email protected] 33 points 3 weeks ago

All junior devs should read OCs comment and really think about this.

The issue is whether is_number() is performing a semantic language matter or checking whether the text input can be converted by the program to a number type.

The former case - the semantic language test - is useful for chat based interactions, analysis of text (and ancient text - I love the cuneiform btw) and similar. In this mode, some applications don't even have to be able to convert the text into eg binary (a 'gazillion' of something is quantifying it, but vaguely)

The latter case (validating input) is useful where the input is controlled and users are supposed to enter numbers using a limited part of a standard keyboard. Clay tablets and triangular sticks are strictly excluded from this interface.

Another example might be is_address(). Which of these are addresses? '10 Downing Street, London', '193.168.1.1', 'Gettysberg', 'Sir/Madam'.

To me this highlights that code is a lot less reusable between different projects/apps than it at first appears.

[–] [email protected] 7 points 3 weeks ago

Which is difficult to give without that arm

[–] [email protected] 21 points 3 weeks ago (4 children)

Couldn't agree more.

And now that this occurred, and cost $500m, perhaps finally some enterprise companies may actually resource IT departments better and allow them to do their work. But who am I kidding, that's never going to happen if it hits bonuses and dividends :(

view more: next ›