sorted by: new top controversial old
[-] modeler@lemmy.world 0 points 1 month ago

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.

[-] modeler@lemmy.world 34 points 1 month 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.

[-] modeler@lemmy.world 0 points 1 month ago

It is terribly sad - they must live in a world of hurt.

However so many of these people actively try to hurt LGBTQ+ and trans people by inciting hate and changing laws to harm the non-straight. In particular they have been preaching that being gay/trans equates to being a child molester. This is horrific and needs to stop. Exposing the hypocrisy is essential to reducing the harm they are inflicting to real people right now

[-] modeler@lemmy.world 40 points 1 month ago* (last edited 1 month ago)

Typically you need about 1GB graphics RAM for each billion parameters (i.e. one byte per parameter). This is a 405B parameter model. Ouch.

Edit: you can try quantizing it. This reduces the amount of memory required per parameter to 4 bits, 2 bits or even 1 bit. As you reduce the size, the performance of the model can suffer. So in the extreme case you might be able to run this in under 64GB of graphics RAM.

[-] modeler@lemmy.world 38 points 2 months ago

Ackshually they do this, not with cars but, with WW2 era prop planes.

The Spitfire for example:

The Merlin consumed an enormous volume of air at full power (equivalent to the volume of a single-decker bus per minute), and with the exhaust gases exiting at 1,300 mph (2,100 km/h) it was realised that useful thrust could be gained simply by angling the gases backwards instead of venting sideways.

During tests, 70 pounds-force (310 N; 32 kgf) thrust at 300 mph (480 km/h), or roughly 70 hp (52 kW) was obtained, which increased the level maximum speed of the Spitfire by 10 mph (16 km/h) to 360 mph (580 km/h). The first versions of the ejector exhausts featured round outlets, while subsequent versions of the system used "fishtail" style outlets, which marginally increased thrust and reduced exhaust glare for night flying.

From Wikipedia

[-] modeler@lemmy.world 1 points 2 months ago

I think that's a better plan than physically printing keys. I'd also want to save the keys in another format somewhere - perhaps using a small script to export them into a safe store in the cloud or a box I control somewhere

[-] modeler@lemmy.world 2 points 2 months ago

You need at least two copies in two different places - places that will not burn down/explode/flood/collapse/be locked down by the police at the same time.

An enterprise is going to be commissioning new computers or reformatting existing ones at least once per day. This means the bitlocker key list would need printouts at least every day in two places.

Given the above, it's easy to see that this process will fail from time to time, in ways like accicentally leaking a document with all these keys.

[-] modeler@lemmy.world 1 points 2 months ago

I agree, so much legislation is broken, the legislators aren't doing shit, so we citizens need to fix it!

But we could start with the right to repair.

[-] modeler@lemmy.world 8 points 2 months ago

What about the people who lived in the Americas or the Pacific 1800 years ago? These people could not have heard of Jesus as missionaries could not have spread any word to them at this time.

(And while I'm about it, Christianity was a whole different thing back then - the Trinity hadn't been invented, there were multiple sects with very different ideas, what books would be in the New Testament had not been decided, etc etc. People with beliefs of that time would seem highly unorthodox today, and the Christianity of today would be seen as heretical by those in the 3rd century, so who's going to heaven again?)

Purgatory was invented for the purpose of not sending good people who had not heard of Jesus to hell. But still, these people were denied their chance to get to heaven which seems mighty unfair.

[-] modeler@lemmy.world 3 points 3 months ago

I had a Sinclair QL which pioneered the keyboard. It wasn't great - it was far behind the Acorn BBCs and the Commodores) but it was quite usable.

There was significant vertical travel, and there was variation in the push the key gave back - increasing to a point of no return, then a quick downward movement to the thunk of the end of key travel.

I could type moderately fast on it.

[-] modeler@lemmy.world 5 points 3 months ago

The reference if you haven't seen it.

Dara Ó Briain is a legend!

[-] modeler@lemmy.world 13 points 3 months ago

If you're pushing everyone's buttons it'll end badly.

view more: next ›

modeler

joined 1 year ago