[-] modeler@lemmy.world 7 points 1 day ago

Just to add - Thai has a tonal system and distinguishes rising, low, medium, high and falling tones. This requires a bit more time to say so that there is time for the tone to change (or not change).

[-] modeler@lemmy.world 10 points 1 day ago

Some languages have fewer vowel sounds while others have an insane number (in Europe that would be Danish).

Thai has a lot, so speakers need to speak more slowly so the listener has time to distinguish words. But it also means that you can have more words per syllable.

It's not about efficiency per se - it's data and error correction

[-] modeler@lemmy.world 9 points 3 days ago

I'm a bit of an OCD logic nerd. When I eat something, I need to immediately gulp down another 7 otherwise I could never have ate them.

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

In short, we could, but the cost would be incredible.

All vertebrates are animals that develop from a series of segments, with a vertebra at the core. In our time from eel-like fish, we've specialised these segments so, for example, we have ribs on the vertebra corresponding to the rib cage.

To support arms and legs, specific vertebra have become highly specialised in the form of hips and shoulders.

Gills are composed of a series of gill arches, one on each vertebra in the neck area. These structures have (in eels) a lot of blood vessels to carry the blood that needs reoxygenation.

An interesting thing happened as the eel-like creatures differentiated, evolved jaws and ultimately ended up as mammals and humans: nature co-opted the specific vertebra that had these gill features and turned them into jaws and ears and a variety of other features in the head and neck. For example the tiny bones in your ear were once fish jawbones which were previously one (or more) gill arches.

The stupendously complex anatomy in this area comes from all the short-term 'decisions' evolution took to make all the magnificent creatures that inhabit the earth.

For example the nerve that connects the brain to the larynx (the recurrent laryngeal nerve) emerges from a vertebra high up in the neck, decends down under the aorta in the chest and then back up into the neck to the larynx. In the giraffe, the nerve is many meters long, even as it's direct path could be a few centimeters. The reason is that the heart used to be close to the gills in fish and sharks. As the heart moved in land animals, the nerve was caught in a loop around the critical aorta and it was 'pulled' along for the evolutionary ride.

So, in order to turn your gills back on, you need to unprogram 450m years of evolution of the structures you call your head, face and neck.

I'd recommend 'Your inner fish' by Shubin - it's a wonderful read and explains this in far more detail that I can manage.

80

Spotted an owl in the woods in Bishan Park in central Singapore early in the evening. Logically this makes it a spotted wood owl.

Sorry for the low quality - it was at the limits of my Pixel 6 camera.

[-] modeler@lemmy.world 34 points 2 months 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 3 months 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 40 points 3 months ago

Great news - apparently if the President orders it, it's not illegal! Thanks, supreme court!

[-] modeler@lemmy.world 40 points 3 months ago* (last edited 3 months 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 3 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 35 points 6 months ago

That lectern as pictured is a cheap copy worth way less than $1000. The allegation is that she paid her friend for costs of a trip to Paris of which there are social media photos at expensive nightlife locations.

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

Exactly!

While the continents might look like they fit together, and the rock types and ages and fossils match at key points all down the coasts from Canada/Scotland all the way down to South America and South Africa, how on earth (sorry) would you explain how the continents are thousands of miles apart?

One theory posited the earth spinning so fast centrifugal forces ripped ehat would become the moon out of the Pacific, sucking Eurasia and America into the void.

That's a Randall Monroe WhatIf if ever I saw one. Think of the energy involved! All life on earth would be extinct.

So these theories were laughed out of scientific court. Until Vine and Matthew's seminal paper on magnetic stripes being mirrored over the mid ocean ridge showed there had to be something forcing the plates apart.

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

My god that brought back memories. The first commands when sitting at a new terminal was always, always:

stty sane

stty erase '^H'

It was well into the 2000s before Unix had useable defaults.

view more: next ›

modeler

joined 1 year ago