There is value in tutorials written by early pioneers of the field Updated 2024-12-15 +Created 1970-01-01
Everyone is beginner when the field is new, and there is value in tutorials written by beginners.
For example, Ciro Santilli felt it shocking how direct and satisfying Richard Feynman's scientific vulgarization of quantum electrodynamics were, e.g. at: Richard Feynman Quantum Electrodynamics Lecture at University of Auckland (1979), and that if he had just assumed minimal knowledge of mathematics, he was about to give a full satisfactory picture in just a few hours.
Other supporters of this:
- Ron Maimon: the same also applies to early original papers of the field, not just tutorials
- Dean Kamen: quick mention at: fi.edu/en/awards/laureates/dean-kamen, but a better longer mention on Dreamer (2020), nearby section from trailer: youtu.be/Cj2VKVJKf1I?t=16
Ah, Ciro Santilli was not expecting this. What a unique mixture of humour, technology, politics and bravery. No wonder it was a box flop, there's something good about this film.
A young Ciro Santilli really liked this game, the way it makes you feel.
Ciro Santilli's joke version of the Chinese Four Treasures of the Study!In the past, Ciro used to use file managers, which would be the fourth tresure. But he stopped doing so for years due to his cd alias... so it became three. He actually had exactly three windows open when he was checking if there was anything else he could not open hand of.
- web browser
- Text editor
- terminal. Though to be honest, circa 2022, Ciro learned of the ctrl + click to open file (including with file.c:123 line syntax) ability of Visual Studio Code (likely present in other IDEs), and he was starting considering dumping the terminal altogether if some implementation gets it really really right. The main thing is that it can't be a tinny little bar at the bottom, it has to be full window and super easily toggleable!
This will likely be the best TV adaptation of Water Margin for all eternity, until AGI deepfakes a better one.
Official CCTV YouTube playlist: www.youtube.com/playlist?list=PLIj4BzSwQ-_sEAJsZnbcxV7sBc51XE8Z5. No English subs however.
The music is amazing. A full playlist: www.youtube.com/playlist?list=PLGOZmHa7O-aHQsIx_XVoGk8IwOCas6pgX. This is the opening: www.youtube.com/watch?v=t6p3ks3IyA8&list=PLGOZmHa7O-aHQsIx_XVoGk8IwOCas6pgX&index=19.
The only downside is the usage of slightly Supernatural Martial Arts.
It must be said that the series gets worse as it progresses. The best part of it is the backstory of individual characters, and how noble men are made fight their government. As things progress however, it becomes more of a mass battles thing, so less interesting. This is perhaps a problem of the novel itself, which an adaption cannot avoid. The good part basically ends with the end of Wu Song's story at episode 22.
One of the most amazing things about this series is learning about how people lived in the past. It feels very realistic. Some amazing details:
- on the pharmacy, they used a leg powered grinder. Ciro Santilli's wife said she had actually seen one those in use in China
- to indicate that something is for sale, the would attach some straws around it
- it is totally fine to talk to an old person about giving them money to buy a nice coffin
- some dudes drink baijiu from bowls. One wonders how much truth there can be in that.
- Gao Qiu
- 1 the rise of Gao Qiu:
- Gao Qiu and his gang bully a street performer. Wang Jin, a military officer responsible for training the troops, beats the fuck out of the gang upon seeing the scene.
- Gao is politely fired from the pharmacy and given a recommendation letter for a new position somewhere else. He is bounced again, and finally accepted as assistant to a wealthy household. The actor and the way Gao Qiu is portrayed is very subtle. Makes you almost like him or feel sorry for him. Good job.
- while delivering two small jade statues to a wealthy friend of his current master, he stumbles upon the friend playing cuju with some attendants, and shows off his incredible abilities. The friend soon asks his current master to give him over, and the old master complies.
- the new master much appreciates Gao Qiu because of his playing. Gao Qiu's old gang of misfits comes looking for him, and he invites them to restaurant the next day. But at the restaurant, he menaces his old friends who adore him, saying that they must never try to find him again. Gao then orders his men to beat the old friends with sticks. He asks the men to not beat the old friend who adored him the most so as to look as if he were an accomplice with Gao, and the other old friends then beat him up as well themselves.
- Gao's new master becomes the emperor for some reason. The new master, now emperor, then also promotes Gao, of whom he is very fond of, to a very high military rank for which he has no qualifications. Want Jin learns of this as Gao will now be his boss, and foreseeing trouble asks for fake sick leave on the first day that Gao will be there.
- Upon learning about the sick leave, Gao remembers Wang Jin, and calls him in regardless, and orders his men to beat him severely with sticks as a punishment for faking to be sick. An advisor pleads him to stop as that would look bad in his first day in charge.
- while Wang Jin's mother nurses him to recovery, they decide that it is best if they escape to another city to avoid Gao's persecution. Wang Jin the flees carrying his mother on a wheeled cart. Upon learning of this, Gao orders Wang to be arrested for leaving his post. The shirtless scene in which Wang is treated by his mother shows how physically prepared the actor was, well done. Might be on steroids.
- 1 the rise of Gao Qiu:
- Lu Zhishen
- 2 Beating up the Lord of the West.A Shi Jin comes to a new city, Weizhou (TODO modern location) looking for Wang Jin, and instead finds another officer called Lu Zhishen.Lu was doing a feat of super Strength by saving some damsel in distress from a cart with out of control horses by simply holding the cart up, which impresses Shi Jin.Shi Jin then tells Zhishen how he met Wang Jin by chance who coached him in the martial arts, and some more backstory that is impossible to follow. Shi Jin's story is told properly in chapter 2 and 3 of the novel according to Wikipedia, before Lu's own story is told on chapters 3-7, but this adaptation skips it.While they are talking, there is some lady crying nearby, and Zhishen ends up helping her out. She had been deceived by the butcher Zheng, and now ows him money and cannot leave town.Butcher Zheng is a ruthless fellow, one amazing scene shows him throwing a knife at a dog that was stealing some of his meat, and telling his men to skin the dog so they can eat it, saying:in Chinese:
You eat from me for free, so I eat from you for free!
你白吃我,我白吃你!
Next morning, Shi Jin leaves whil Zhishen is sleeping his drunkenness off, and when Zhishen wakes up he goes to escort the damsel out of town. When he arrives, Lu's hotel keeper underling is causing trouble, and he slaps him hard and forces him to massage his legs while the lady can escape.After that, he pays butcher Zheng a visit. First he pisses Zheng off by making an order of 5 kg of lean minced meat. Minced meat was produced by cutting it up with two meat cleavers, a rather tiring job Ciro's mother in law sometimes did that when there was no pork mince but there was a piece of pork laying around, can you believe it!Lu then asks Zheng to produce 5 kg of minced fatty, a weird request, but to which Zheng complies, causing him much effort.Lu then finally asks for 5 kg of minced bones! Zheng understands that Lu is not trying to buy from him, and a fight ensues, in which Lu soon kills Zheng with his bare fists, and then escapes to avoid justice.Lu ends up finding the damsel he had helped earlier in another town, and she's doing fine as the concubine of a wealthy man, who then helps him become a monk to avoid justice, but entering a monastery to which the man had donated money. - 3 Lu can't follow the monastery rules, notably not drinking alcohol and not eating meat, and gets kicked out, sent to find work in another monastery at the Capital
- Lin Chong
- 4 Lu arrives at the new monastery at the capital and is assigned to take care of the vegetable garden that was being pilfered, which he does well. In a remarkable scene, he shows his might to the thieves by uprooting a willow three. Later on, while demonstrating his fighting skills to his new acquired followers, Lin Chong is passing by and takes notice. The two fight a few rounds to measure each others strengths and are impressed by one another.
- 5 The magistrate, possibly after some bribing, does not dare accuse Lin of attempting murder, which would mean the death sentence. So he reduces it to 20 beatings with a stick and banishment to TODO Chang something. They then plan to kill him on the way and make it look like an accident.
- 6 On the way to prison which is in another town, while crossing a forest, the two underlings attempt to murder Lin Chong, but Lu Zhishen appears and saves him.
He intimidates the men by breaking a tree with his staff, Lu really has something against trees it seems. Lin Chong decides to still go to prison so as to not become a fugitive, and arrives safely in prison. - 7 Men from the capital are sent to the prison to kill Lin Chong. They transfer him to a barn, and try to set the barn on fire, but Lin Chong happens to be staying at a small nearby temple in which he made an offer to the Gods of the mountain. The killers then come by to take cover, and Lin Chong murders them with his spear, thus sealing his fate as a fugitive forever. The killing is represented in this painting: en.wikipedia.org/wiki/File:Yoshitoshi-Lin_Chong.jpg
- 8 Lu's followers lure Gao Qiu's adopted son into a trap, and cut off his genitals. Lin Chong goes to Mount Liang marsh. He head of the bandit group there does not want to take him in afraid that he will steal his leadership post, but his second in commands badly want Lin Chong to stay, recognizing his worth. The leader asks him to kill someone to prove his commitment, but Lin refuses to kill innocent people. Still, ends up staying having nowhere else to go. At the end, the Yang Zhi, the Blue Faced Demon, passes by the Mount Liang marsh. Je has just lost a stone shipment for the Emperor's stone garden due to a storm while he was on boat. The garden is a useless pursuit directly supervised by Gao Qiu.
- Chao Gai and the original 7:
- 9 The Blue faced demon returns to the capital. He tries to bribe bribe Gao Qiu for forgiveness for losing the stones, but it fails and he is thrown into jail. He is then forced to use all his money to bribe his way out of jail, and after leaving has to sell his precious family inherited sword to eat. A local bully who often eats merchants food without paying, because he has connection to corrupt officials, asks to see the sword. Although the does not appear serious about buying, the Blue faced demon displays it to him and the crowd. The incredible sword can:In order to demonstrate the cutting of a man, the demon asks for someone to bring a dog, but the bully keeps insisting that a man must be used. When he starts to get physical, the demon kills the bully by semi-accident with the sword. After being cut and just before dying, the bully recognizes that the sword is truly a magnificent weapon.
- cut copper without denting. He demonstrates this on some copper coins
- cut a hair placed on it by simply blowing the hairs
- cut through a man without being stained by blood
The demon turns himself in for the killing, but because it was a semi accident with many witnesses to support him, all of which hated the bully, he is exiled to another city rather than put to death. Upon arriving in the new city, the governor of the new city seems happy to have him as a great warrior and releases him and gives him a good reception, having him demonstrate his weapon skills to court. - 10 The Blue faced demon is tasked by his new master with delivering some expensive birthday gifts from the new city to the capital, a dangerous task. He proposes transporting the gifts as ordinary goods in cheap looking packages to divert the attention of thieves.The scene then cuts to the Red Haired Devil and other men plan to steal the gifts, which is morally justified because they are being sent from one corrupt official to another. The leader of the group of thieves dreams about the Big Dipper and the number of stars coincides with the number of accomplices that ends up forming somewhat by chance. The band makes a formal oath to their goal and intentions, in which they burning papers (presumably with written promises) and drink baijiu ritually. The seven are:
- Chao Gai, the leader
- Red Haired Devil: en.wikipedia.org/wiki/Liu_Tang#:~:text=Liu%20Tang%20is%20a%20fictional,the%20108%20Stars%20of%20Destiny.
- en.wikipedia.org/wiki/Wu_Yong strategist
- en.wikipedia.org/wiki/Gongsun_Sheng taoist warrior
- 3 Ruan brothers Ruan Xiao'er, Ruan Xiaowu, Ruan Xiaoqi,
- 11 The gifts are stolen after the party carrying them is tricked into drinking poisoned baijiu which makes them sleepy.
- Song Jiang becomes a murderer
- 12 The investigation to find the gifts discovers who the culprits are, but they manage to escape to Mount Liang marsh after Song Jiang tips them off that the authorities are coming.
- 13 The thieves reach Mount Liang marsh to seek refuge. The boss is hesitant about taking them in, because their crime is so serious that it would lead to increased attention from the emperor, and also because he's afraid they would take up his place. Lin Chong on the other hand is happy they came, since he's in a similar situation to them. He also tries to separate the men, but they simply refuse to be put apart, as they are sworn brothers. It is quite homoerotic. He eventually gets so mad he murders the chief, and declares Chao Gai as chief.
- 14 Song Jiang marries some cute unfortunate chick who sings and plays the pipa really well just to help her out. But unlike his clerk, he doesn't want to fuck her, he's likely thinking about his brothers all sweaty in the marsh. One day he even invites the clerk to stay with his wife because he's not interested. Unwise. The clerk then sings to her, as he also sings and plays pipa very well. The red haired devil drops buy and wants to give 100 taels of gold to both Song Jiang and to the captain that let Chao Gai escape. Song Jiang refuses, taking only 1 bar as a token. The captain accepts. Song Jiang's wife then willingly confesses that she is having an affair, and Song Jiang doesn't care, he gladly signs a divorce agreement, and gives her the house. She later finds the letter from Chai Gai which would implicate Song Jiang with the bandits. She tries to bribe Song Jiang into fucking her, only then will she give the letter back, but Song Jiang is not happy with that, and instead pulls out a knife, and in the struggle kills her by semi accident. People in this novel should really learn not struggle around with open blades!!
- Wu Song
- 15 Song Jiang escapes to his father's home, and his father hides him. The authorities were supposed to arrest his father and torture him in-lieu of the missing son, but the father has an official document in which he had previously cut ties with his son. Song then goes to Lord Chai. At Lord Chai's he meets martial artist Wu Song, who is about to leave Chai to go home.
The scene then follows Wu Song. He goes into a bar and drinks superhuman amounts of baijiu: 18 bowls, and in a place that prides itself for having a specially strong baijiu, the bar is called "3 bowls and you can't cross the bridge". When leaving, the bar keeper tells hims that here is a tiger on the loose, but he's not scared. While he sleeps, the tiger comes, and after some struggle he manages to kill the tiger by beating it to death with his bare hands!The scene then cuts to a dwarf Wu Dalang that sells some king of bun, and who has a beautiful wife. They call the buns 炊饼. Here they ask if those are mantou or not: www.zhihu.com/question/20248788. They show their deep love for each other, despite being poor. Rape incoming.- 16 Wu Song arrives in the city that was offering a bounty for the tiger and is received as a hero. He was about to go off searching for his brother in another town, but surprise, Wu Dalang is his brother. So he takes a job from the local magistrate who appreciated him having killed the tiger, and starts to live with his brother. The beautiful wife then starts to become sexually interested in him, the scenes that show that are very good. At the end of the episode, she proposes openly to Wu Song, in a cliffhanger ending.
- 17 Wu Song refuses her and moves out and does not tell his brother what happened Wu Song then is sent for a few months in a task At the same time another rich dude Master Ximen from the city has become interested and asks the older innkeeper lady who lives nearby how to fuck the wife This is where she drops the porn quote from Wikipedia
- 18 The wife starts fucking the rich dude regularly. They hide it from Wu Dalang but gossip is already out on the street and the pear seller friend warns Dalang who doesn't believe it One day he comes home early to check but he misses them and the wife lies and pretends to be offended With the help of the pear seller Dalang finally catches them however but the rich dude just kicks the dwarf and walks away This cause serious internal injuries to the dwarf and the wife appears ashamed and goes buy medicine But unfortunately the rich dude owns the medicine shops in town and they proceed to continue fucking in the medicine shop The dwarf says that hell annul the marriage so they can do it legally but he is still very sick and if he dies before his brother comes back Wu Song is going to kill everybody. They then decide to poison the dwarf instead and the proceed killing him. The rich dude bribes the coroner and some men beat up the pear seller to keep him shut.
- 19 Wu Song returns home and finds his brother died. The big character on the grave is 祭 (dian4) from 祭奠 (make an offering to the dead). Everyone is avoiding him. The pear seller and his father moved away to another place. But he stumbles upon the boy who tells the truth. The coroner then confirms, and says he was forced to make a false statement, but already has a letter ready with the truth, including samples as proof. Wusong takes the proof and witnesses to the local magistrate, who basically dismisses the case. Guards are posted at Dalangs home to protect the wife from Wu Song, but also to prevent the wife from confessing.Wu Song starts inviting the neighbours to come over to eat one day. They try to avoid him, but he insists. They come. He asks for them to say who the killer is. The old lady tries to deny it, but the wife is so guilty she cant even speak. Wu Song cuts her throat in front of the little offering place for his brother. Wu Song sends the head of the to the rich dude, and then proceeds to murder him. He does put up a fight though. everybody Was Kung-Fu Fighting. Wu Song then burns his brothers belongings to return it to them, and places both heads, of the wife and rich dude, on the altar. He then hands himself in to the authorities, and is sentenced to a beating plus exile, the usual.
- 20 Wu Song is being transported to prison. They just take the cangue off, as he is so strong he could escape anyways. They arrive at an inn run by Sun Erniang, an innkeeper lady that makes mantou out of human meat. Before they arrive, we see a scene of two random men refusing to stay at the tavern because they've heard humours of the human meat thing. But Wu Song's party don't know about it and decide to stay and drink regardless. She tries to drug them but Wu Song only pretends to drink and fall asleep. They then fight a bit and he wins. Her husband arrives, discovers that he is Wu Song, asks for excuse, and they become good friends, since they are all Justified Criminal. Wu Song asks her to spare the guards, who wake up next morning both having dreamt that they were on a chopping board. The arrive at the destination, and due to Wu Songs reputation, he is treated extremely well by the prison ward, given food and even a bath. The reason for this is that the warden needs him to beat up some business rival, and so Wu Song beats up the bully.
- 21 A general comes and takes Wu Song from the constable pretending to like him. But in the end the general was in collusion with the bully, and frame Wu Song for theft. He is re-exiled somewhere else. On the way, they try to kill him, but Wu Song kills all the killers instead. He then goes to the general's home and murders everyone.
- 22 Wu Song is helped escape by the human meat mantou lady who dresses him as a taoist monk as a disguise. Wu Song meeds Song Jiang on his way to Mount Erlong, which is where Lu Zhishen is staying. But Song Jiang is going to Qingfeng Fort, a new place never mentioned before.
The story now follows Song Jiang. He reaches some other bandit dude Qingfeng Fort. After another evil woman, they take over Qingfeng Fort, it is quite trivial and boring. Song Jiang receives a letter saying that his father died, and he returns home ashamed for not having been there when he died, the other men go to Mount Liang marsh. Song Jiang gets home, but finds that his father is still alive, it was a trick just to bring him home. But his father is a bit sick to be honest. - Song Jiang joins the outlaws definitively
- 23 Song Jiang's father asks him to serve sentence to not become an outlaw forever, he complies. There's also the fact that a new emperor took power, and so they usually grant a general amnesty. So here we go again, exile to some random place. The brothers from Mount Liang even take out the two guards he's with, but he insists on going through with it. When will they learn. In the end, the amnesty is declared, but he's not included.
- 24 Song Jiang learns that he wasn't pardoned because they believe he is collusion with Mount Liang, and rebellion is an unpardonable crime. Song Jiang drinks a lot and writes a rebellious poem on the wall of an inn, and signs it. Someones sees it, and they arrest him for real, and ask the Capital how to punish them. The messenger however is in Song Jiang's side, and brings the letter to Mount Liang instead. They then fake a reply from the capital telling to bring Song Jiang over, and planning to free him in transit. Just after the messenger leaves, the rebels notice that they didn't fake the letter well enough, and that it will be found to be a fake.
- 25 Due to circumstances the execution is expedited. But the rebels still manage to come in time and save Song Jiang and the messenger who was going to be killed with him while they are being taken to the execution ground. Song Jiang reveals his banner, 替天行道 ("Enforcing the Way in Heaven's Name")
Ciro Santilli approves of this one, related: Section "Free gifted education".
The downside of the Thiel Fellowship is that it is realistically impossible for its fellows to do anything in deep tech, only information science startups would be possible, as they would not have the labs, or lab skills required for any deep tech if they drop out before a PhD. Related: Section "The only reason for universities to exist should be the laboratories".
The only solution is the harder process of actually remodelling our very broken educational system.
Of course, this only made sense when Apple was more of an underdog to IBM, and Ciro Santilli greatly admires their defiance of the norm.
As of 2020 however, Apple is kind of on the top of the mobile world, and Think different simply makes no sense anymore, notably because it relies on closed source offline software used by millions.
it's Popular Now It Sucks comes to mind.
This is a trap every company that prides itself on it's "alternative culture" sets for itself. If they succeed, they could become the norm.
This is Ciro Santilli's favorite laptop brand. He's been on it since the early 2010's after he saw his then-girlfriend-later-wife using it.
Ciro doesn't know how to explain it, but ThinkPads just feel... right. The screen, the keyboard, the lid, the touchpad are all exactly what Ciro likes.
The only problem with ThinkPad is that it is owned by Lenovo which is a Chinese company, and that makes Ciro feel bad. But he likes it too much to quit... what to do?
Ciro is also reassured to see that in every enterprise he's been so far as of 2020, ThinkPads are very dominant. And the same when you see internal videos from other big tech enterprises, all those nerds are running... Ubuntu on ThinkPads! And the ISS.
Those nerds like their ThinkPads so much, that Ciro has seen some acquaintances with crazy old ThinkPad machines, missing keyboard buttons or the like. They just like their machines that much.
ThinkPads are are also designed for repairability, and it is easy to buy replacement parts, and there are OEM part replacement video tutorials: www.youtube.com/watch?v=vseFzFFz8lY No visible planned obsolescence here! With the caveat that the official online part stores can be shit as mentioned at Section "Lenovo".
Further more, in 2020 Lenovo is announced full certification for Ubuntu www.forbes.com/sites/jasonevangelho/2020/06/03/lenovos-massive-ubuntu-and-red-hat-announcement-levels-up-linux-in-2020/#28a8fd397ae0 which fantastic news!
The only thing Ciro never understood is the trackpoint: superuser.com/questions/225059/how-to-get-used-of-trackpoint-on-a-thinkpad Why would you use that with such an amazing touchpad? And vimium.
To talk about something without giving the real name to not scare off the audience Updated 2024-12-15 +Created 1970-01-01
Ciro Santilli hates it when an expert does this!!!
If you estimate that the audience won't know the name of the concept, that's fine, do explain it as well.
But you must also give the name!!!
This also manifests itself when news outlets omit foreign names from healines, notably Chinese, but likely happens to all non-european languages too.
Ciro Santilli really likes this genre.
The premise that "we can't make AGI, but we know enough about the human brain to upload on to a computer" is flawed. Edit: after reading Superintelligence by Nick Bostrom (2014), Ciro Santilli was convinced otherwise. What is flawed is of course just the "extracting connectome with macroscopic probes part". A post mortem connectome extraction with microtome is much more believable. But of course they weren't going to show fake slices of Jonny Depp's brain, are they? Famous actor bodies are sacred! What a huge lost opportunity. On the other hand however, the scale of the first connectome extraction would be arguably too huge to be undertaken by a random pair of rogue researchers. The same would also likely apply to any first time human brain connectome. It would much more likely be a huge public effort, much like the Human Genome Project.
But this film does have the merit of exploring how an AGI might act to take over the AGI might act to take over the world once created, notably by creating its own physical research laboratory. Though it doesn't feel likely that it could go under the radar for 2 years given the energetic requirements of the research. Even the terrorists find it before the FBI!
I also wish they had shown the dildo (or more likely, direct stimulation!) computerized Jonny Depp used to use with his wife before he managed to re-synthesized his body. But you know, 18+ would cut too much profits. Ah, what a shame.
Turing machine regex tape notation is Ciro Santilli's made up name for the notation used e.g. at:Most of it is just regular regular expression notation, with a few differences:
- denotes the right or left edge of the (zero initialized) tape. It is often omitted as we always just assume it is always present on both sides of every regex
A
,B
,C
,D
andE
denotes the current machine state. This is especially common notation in the context of the BB(5) problem<
and>
next to the state indicate if the head is on top of the left or right element. E.g.:indicates that the head11 (01)^n <A 00 (0011)^{n+2}
A
is on top of the last1
of the last sequence of n01
s to the left of the head.
This notation is very useful, as it helps compress long repeated sequences of Turing machine tape and extract higher level patterns from them, which is how you go about understanding a Turing machin in order to apply Turing machine acceleration.
TypeScript is good. It does find errors in your JavaScript. But it is a form of "turd polishing". But Ciro Santilli would rather have a polished turd than a non-polished one.
Part of the reason TypeScript became popular is due to the universality of asset bundlers. Once you are already using an asset bundler, changing the
.js
extension into .ts
to get a less shitty experience is an easy choice.The other big reason is that JavaScript is so lose with type conversions, notably undefined happily converting to strings without problems, and any missing properties of Object happily being undefined. We should actually use ES6 Map everywhere instead of using Objects as maps.
Since TypeScript is not the default form of the language however, it inevitably happens that you need to add external types for a gazillion projects that are using raw JavaScript, and sometimes fight a lot to get things to work. And so we have: github.com/DefinitelyTyped/DefinitelyTyped. Not sure if this is beautiful, or frightening.
But in the end, as with other type of static linters, TypeScript generally transforms a few hard to debug runtime issues, into a bunch of stupid to solve compile time issues, which is generally a good thing.
The fact that this it parses comments JSDoc comments in JavaScript files is quite amazing.
Examples under typescript. Run each one of them with:Helper:
npx tsc example.ts
node example.js
tsr() (
# ts Run
f="$1"
npx tsc "$f"
node "${f%.*}.js"
)
tsr example.ts
- typescript/inferFromInit.ts. Should fail with:since TypeScript infers the type of
hello.ts:2:1 - error TS2322: Type 'string' is not assignable to type 'number
i
from first assignment asstring
, and we then attempt anumber
assignment later on - typescript/inferAfterInit.ts. Does not fail, as the first assignment cannot be computationally determined at runtime without breaking computer science.
- typescript/js-from-ts/main.ts: call JavaScript file typescript/js-from-ts/notmain.js from TypeScript.TODO we are unable to make it typecheck that require, i.e. make that fail, but we've seen cases in complex codebases where that did happen and www.typescriptlang.org/docs/handbook/intro-to-js-ts.html has infinite information on supporting it. So... how to make it fail??
npx tsc jsFromTs.ts && node jsFromTs.js
- typescript/functionArgument.ts: basic argument tests
- typescript/functionOptionalArgument.ts:
f(n?: number)
- typescript/functionOptionalArgument.ts:
- typescript/functionOptions.ts:
f({n, s}: {n: number, s: string})
Some major annoyances of TypeScript:
- destructuring assignment in function arguments requires repeating all arguments:
- stackoverflow.com/questions/12710905/how-do-i-dynamically-assign-properties-to-an-object-in-typescript how to dynamically assign properties to objects without defining explicit interfaces? We really need a syntax of type:
const myobj = { i: 2, [s string], } if (something) { myobj.s = 'asdf' }
Ciro Santilli's Linux distro of choice as of 2019.
It ain't perfect, but it's decent enough.
The greatest advantage of it being that it has the likely largest desktop user base, and therefore the highest likelihood that your problems are solved on Ask Ubuntu, and goes together with Ciro's philosophy that "people should do everything in the same way to factor stuff out", especially the open source losers.
Ciro considers that the killer flaw of Ubuntu, and most desktop distros of 2020, is that no one under the Sun knows how to build them fully from source: Linux distribution buildable from source. This is why Ciro based the Linux Kernel Module Cheat on Buildroot, see also: Linux distribution buildable from source.
Ubuntu 24.04 installer "Erase disk and install Ubuntu" doesn't work when BitLocker enabled Updated 2024-12-15 +Created 1970-01-01
Ciro Santilli reproduced on Dell Inspiron 15 3520 with factory defaults. This bug prevents "wipe windows" installation without workarounds, one of which is to disable encryption in Windows.
Unconditional basic income is Ciro Santilli's ultimate non-transhumanist technological dream: to reach a state of technological advancement and distribution of resources so high that everyone gets money for doing nothing, enough for:
- basic survival needs: food, housing, clothes, hygiene, etc.
- two children to keep the world going. Or immortality tech, but is harder and borderline transhumanist :-)
- high speed computer and Internet
Once a person has that, they can "learn, teach" and create whatever they want. Or play video games all day long if they wish.
Ciro Santilli will not live to see this, and is content with helping it happen faster by increasing the efficiency of the world as. And having at least two well educated kids to carry on the project after he dies :-)
Technologies which would help a lot towards unconditional basic income, and might be strictly required required are:
- artificial general intelligence
- affordable humanoid robots with human-like energy efficiency and power-to-weight ratio.This is even less likely than AGI due to the end of silicon Moore's Law and at the start of the Genome's Moore's law: information doubles, small sizes halve, but macroscopic mechanical artifacts stay the same.brain-computer interfaces are pretty certain to happen however after Ciro Santilli dies.
So in the worst case we can just grow brainless bodies and replace the cavity hole with a computer that controls the body, possibly with high level decisions coming from a remote building-sized genetically engineered biological AGI brain.
Of course, it is all about costs. A human costs about 130k 2010 USD/year. So how cheap can we make the AGI / robot human equivalent / year for a given task?
AGI + humanoid robots likely implies AI takeover though. It would then come down to human loving bots vs human hating bots fighting it out. It will be both terrifying and fun to watch.
AGI alone would be very dangerous, in case it can get control of our nuclear arsenals through software zero days or social engineering. Although some claim that is unlikely.
Humanity's best bet to achieve silicon AGI today is to work on: Ciro's 2D reinforcement learning games.
By Charles Bukowski mentioned e.g. at tatyanany.medium.com/slavery-was-never-abolished-it-was-only-extended-to-include-all-the-colors-6ca21d586e7e:
Slavery was never abolished, it was only extended to include all the colors.
Bibliography:
- www.youtube.com/watch?v=bldeaDRWJYcLecture 24: Unemployment, Re-employment & Income Security by Ian Shapiro (2019)