(defn bmi-metric [height weight] (/ weight (* height height)))
user=> (bmi-metric 1.8 90.0)
(defn bmi [height weight] (* 703.00 ( / weight (* height height))))
user=> (bmi 72 200)
formula via http://www.whathealth.com/bmi/formula.html
Toyota has formulated six rules for the application of kanban
More than ninety per cent of American hospitals have been computerized during the past decade, and more than half of Americans have their health information in the Epic system. Seventy thousand employees of Partners HealthCare—spread across twelve hospitals and hundreds of clinics in New England—were going to have to adopt the new software. I was in the first wave of implementation, along with eighteen thousand other doctors, nurses, pharmacists, lab techs, administrators, and the like.
user=> (println “Hello World!”)
Bye for now!
check out ->
Leiningen is the easiest way to use Clojure. With a focus on project automation and declarative configuration, it gets out of your way and lets you focus on your code.
Build Your Functional Skills One Idea at a Time, by Russ Olsen
3BLUE1BROWN SERIES. HIGHLY recommended if you are looking to grok linear algebra.
Ordered a book and gloves and it says they were delivered and they weren’t.
You are now connected to Cyrene from Amazon.com
Hello, my name is Cyrene. I’m here to help you today.
Oh! I’m sorry that you did not receive the item that was scanned as delivered.
The order in question says delivered on Friday.
Ok. Continue reading “Amazon help chatbot Turing test”
“Docker is a tool for running applications in an isolated environment.”
Learn Docker in 12 Minutes
Docker is all the rage right now. In 12 minutes I’ll give you comprehensive introduction to docker, covering:
1. What is Docker
2. Virtual Machines vs. Docker
3. Introduction to Dockerfiles, images and containers
4. The Docker Hub
5. Writing a Dockerfile
6. Building an image
7. Running a container
8. Mounting volumes
9. One process per container
Three versions of Madame Bovary:
Original French via Project Gutenberg
Elle dessinait quelquefois; et c’était pour Charles un grand amusement que de rester là, tout debout à la regarder penchée sur son carton, clignant des yeux afin de mieux voir son ouvrage, ou arrondissant, sur son pouce, des boulettes de mie de pain. Quant au piano, plus les doigts y couraient vite, plus il s’émerveillait. Elle frappait sur les touches avec aplomb, et parcourait du haut en bas tout le clavier sans s’interrompre. Ainsi secoué par elle, le vieil instrument, dont les cordes frisaient, s’entendait jusqu’au bout du village si la fenêtre était ouverte, et souvent le clerc de l’huissier qui passait sur la grande route, nu-tête et en chaussons, s’arrêtait à l’écouter, sa feuille de papier à la main.
French to English via Google Translate
She drew sometimes; and it was for Charles a big fun only to stand there, while standing at the bend over his cardboard, blinking to see his work better, or rounding, on his thumb, balls of bread crumbs. As at the piano, the faster the fingers ran, the more marveled. She struck the keys with aplomb, and walked up and down the entire keyboard without interrupting. So shaken by her, the old instrument, whose strings curling, was heard to the end of the village if the window was open, and often the clerk of the bailiff who was passing on the high road, bareheaded and in slippers, stopped to listen to him, his sheet of paper in his hand.
Human Translator – Margaret Mauldon, via Amazon
She used to draw sometimes; and Charles found it most entertaining to stand there at her side, watching her concentrate on her sketch, screwing up her eyes to see her work more clearly, or rolling breadcrumbs into little erasers with her thumb. As for the piano, the faster her fingers flew about, the more was he amazed. She struck each note with a confident touch, sweeping across the whole keyboard from top to bottom without a pause. The old piano with its badly stretched strings shook under her hands and could be heard, if the window was open, right across the village; often the bailiff’s clerk, shuffling along the road with his head bare and his feet in slippers, would stop to listen, holding the document he was delivering in his hand.
It’s Labor Day week 2018, and “The American Worker” doesn’t fit any single poster shot. Is it the Uber driver – working flex time in the ‘gig’ economy, for a magic dispatcher of taxis around the world? Is it the brainiac Google engineers insisting to their CEO that “we need to know what we’re building?” In a gilded, globalized, unequal economy of work today, the old industrial unions are almost gone. But suddenly non-union professionals feeling dealt out of pay and power are shouting, we’re workers, too, and forming unions: graduate students at great universities, magazine writers at the ritzy New Yorker. Prisoners, too, and sex workers, coming out of the shadows to claim rights, and respect, as workers, with skills, thank you. Plus hospital nurses and public school teachers coast to coast.
The midterm measure of the American mood in Trump-time may well turn out to be not – or not just – the off-year House and Senate election scorecard, but the work-place turbulence all over the map this year. Workers who never organized before – in grad schools, in media, in sex work, in prisons – are talking solidarity. And notice the word “strike” is back in circulation, inspired maybe by the furious telemarketers in the seriously funny fantasy film, Sorry to Bother You. In the movie they shout “Phones down!” In real Boston, this week, housekeepers in three Marriott-owned hotels downtown could soon be shouting “Mops down!” in their fight for a new contract.
We’re in the work-place, not the political arena, this hour, though of course they’re connected as soon as workers say it’s all about the power of the corporate class, a fight about places at the table and restoring an idea of people-power democracy.
The ‘lambda operator’. It’s read as ‘goes to’. As in, x => 2 * x is read as “x goes to 2 times x .”
A lambda expression is an anonymous function that you can use to create delegates or expression tree types. By using lambda expressions, you can write local functions that can be passed as arguments or returned as the value of function calls. Lambda expressions are particularly helpful for writing LINQ query expressions.
To create a lambda expression, you specify input parameters (if any) on the left side of the lambda operator =>, and you put the expression or statement block on the other side. For example, the lambda expression x => x * x specifies a parameter that’s named x and returns the value of x squared.
via ms docs
Chinese room thought experiment
“Searle’s thought experiment begins with this hypothetical premise: suppose that artificial intelligence research has succeeded in constructing a computer that behaves as if it understands Chinese. It takes Chinese characters as input and, by following the instructions of a computer program, produces other Chinese characters, which it presents as output. Suppose, says Searle, that this computer performs its task so convincingly that it comfortably passes the Turing test: it convinces a human Chinese speaker that the program is itself a live Chinese speaker. To all of the questions that the person asks, it makes appropriate responses, such that any Chinese speaker would be convinced that they are talking to another Chinese-speaking human being.
The question Searle wants to answer is this: does the machine literally “understand” Chinese? Or is it merely simulating the ability to understand Chinese? Searle calls the first position “strong AI” and the latter “weak AI”.
Searle then supposes that he is in a closed room and has a book with an English version of the computer program, along with sufficient paper, pencils, erasers, and filing cabinets. Searle could receive Chinese characters through a slot in the door, process them according to the program’s instructions, and produce Chinese characters as output. If the computer had passed the Turing test this way, it follows, says Searle, that he would do so as well, simply by running the program manually.
Searle asserts that there is no essential difference between the roles of the computer and himself in the experiment. Each simply follows a program, step-by-step, producing a behavior which is then interpreted as demonstrating intelligent conversation. However, Searle would not be able to understand the conversation. (“I don’t speak a word of Chinese,” he points out.) Therefore, he argues, it follows that the computer would not be able to understand the conversation either.
Searle argues that, without “understanding” (or “intentionality“), we cannot describe what the machine is doing as “thinking” and, since it does not think, it does not have a “mind” in anything like the normal sense of the word. Therefore, he concludes that “strong AI” is false.”
In social psychology, pluralistic ignorance is a situation in which a majority of group members privately reject a norm, but incorrectly assume that most others accept it, and therefore go along with it.This is also described as “no one believes, but everyone thinks that everyone believes“.
Bad Blood, John Carreyrou
page 45 –
“He told himself that if the company was moving to prime Palo Alto office space, then it must be doing something right.”
page 199 –
“George said a top surgeon in New York had told him the company was going to revolutionize the field of surgery and this was someone his good friend Henry Kissinger considered to be the smartest man alive. And according to Elizabeth, Theranos’s devices were already being used in medevac helicopters and hospital operating rooms, so they must be working.”
pages 271/272 –
“That thesis, as Mr. Carreyrou explained in discussions with us, is that all of the recognition by the academic, scientific, and health-care communities of the breakthrough contributions of Theranos’ achievements is wrong”
Do you remember the last busker you saw on the tube? There’s a chance they remember you. If you had any kind of interaction with me, I would. If you smile, wave, cover your ears or sing along, I’ll record it.
One such notable interaction occurred at Leicester Square on a Saturday afternoon during a bog-standard rendition of Bruno Mars’s The Lazy Song. It has a catchy chorus which is preceded by the line, “I said it ’cause I can!”.
Just as I started the “…I can”, I noticed a huge group of school kids approach my busking pitch, staring with huge grins on their faces. As they approached, I watched in slow motion as their mouths opened. They all took deep breaths and in a moment my one-man performance was joined by a chorus of voices in perfect sync and harmony and we became an unexpected choir right there on the Underground.
Cool react based static site generator. Dig it.
Gatsby is a blazing-fast static site generator for React.
Install Gatsby’s command line tool
npm install –global gatsby-cli
Using the Gatsby CLI
Create a new site.
gatsby new gatsby-site
gatsby develop — Gatsby will start a hot-reloading development environment accessible at localhost:8000
gatsby serve — Gatsby starts a local HTML server for testing your built site.
Q – What’s a good Document Scanning app for my phone?
A – Office Lens
See test run below.
Phone Camera image:
The shift-to-contrast reflex is designed so that it is suppressed when neurons in the central processing part of the model are firing at a high rate. When the firing rate drops off, say through fatigue, the reflex is released. We can, somewhat fancifully, think that the reflex is released when central processing is tired of (bored with) the current observation. For simple geometric figures, the net effect of the reflex is to cause the eye to shift to a new vertex of the observed figure.
Testing with this. Check it out.