Intel's Ronler Acres Plant

Silicon Forest
If the type is too small, Ctrl+ is your friend

Saturday, February 4, 2017

Because We Can


Y2k mtt VS Jet fighter .. unfair for the bike , See what happen

Inspired by rumors of a Ducati with a jet exhaust, via older son. Previous use of  title.

Update July 2019 replaced missing video

Friday, February 3, 2017

Thinking

Posthip Scott sent me a story about some guys who were going to fix the WiFi connection problem using 'machine learning', which I suspect is a primitive form of AI (Artificial Intelligence). So I'm reading this story and they are talking about what goes on when your computer (or phone) tries to make a WiFi connection. They run through various scenarios and then instead of tackling the problem with logic, deduction and reasoning, they dump it on a machine learning system. That system runs through various scenarios and 'learns' which sequences are able to establish a connection the quickest.

To my mind this is being lazy. The problem doesn't sound that hard. If these guys just applied themselves they could probably work out a efficient design without having to resort to this 'machine learning' stuff, however involved, complicated or resource intensive it is. ('however' means that while I may have my suspicions, I have no idea.)

Steam Train to Hell
Then I realized a couple of things. One, using the 'machine learning' technique allows them to throw a popular buzzword around and let people know that they are on the band-wagon (full-steam ahead to Armageddon).

Two, the problem is kind of mundane and kind of time consuming to solve. You've got a bunch of things to try. Certain sequences will work better than others, but the only way to find out is to try it, and as you know, establishing a new WiFi connection can take time. If you only have to do that once or twice, it's tolerable, but imagine having to do it a thousand or even ten thousand times. Ain't nobody got time for that.

Fire up your 'machine learning' program and let it try to make a connection a couple of thousand times. That might take a week, but since nobody needs to sit there and watch it, you can work on other things. Presuming, that is, that the 'machine learning' program itself is reliable. Still have to use good old testing by humans to get that part down.

Three, the problem may not actually be amenable to solving by human logic and reason. There are some problems that at first are very simple, but then you add another set of conditions and it gets a little more complicated. Add another set of conditions and the problem becomes complex. Add another one or two and all of sudden the problem requires a super-computer running for a month of Sundays to solve. (Actually I wonder about that. Do we have any working computer programs that are designed to solve real-world problems that would take six months of run-time on the government's weather-forecasting computers?)

I was trying to think of a real-world problem that could be used to illustrate this idea. I mean with all my experience you'd think I'd be able to come up with something, but I quickly latched onto the Traveling Salesman Problem and while it is not exactly what I was trying to convey, it will do.

The Traveling Salesman Problem briefly involves plotting the most efficient route for a person to visit some number of cities. If there are only two cities the problem is trivial: you visit one and then you visit the other. Likewise, it the cities are all on a line like, say, I-70, the solution is easy: start at one end and then drive to the next city on the line.

It's when you have several cities scattered across the state that the problem becomes difficult. If you have four cities you have six possible routes, if you have five cities there are 24 routes, six cities means there 120 routes. By the time you get to ten cities you have more than a quarter of a million routes. A person could solve the six city problem, and any smart phone could solve the ten city problem in less than a second, but bump up the number of cities to a hundred, which might be rural salesman's monthly tour, or a bit city salesman's annual tour, and ain't nobody got time for that.

As I recall, Knuth wrote Algorithms and and Data Structures, one of the textbooks I used in school (actually, Donald E.Knuth wrote The Art of Computer ProgrammingNichlaus Wirth wrote Algorithms and + Data Structures = Programs. Whatever.)  Knuth has been writing algorithms ever since. He has something like a zillion algorithms for doing I don't know what. Everything that could possibly be done by computer, I suppose.  In Computer Science they teach you some basic stuff, like the difference between an address and its contents, how the contents of a memory location can be interpreted as a letter (an alphanumeric character), a number, or as address to another location (a pointer!). Then you move up to linked lists (or down into machine code). The next step up is algorithms. The only one I remember is Quick Sort, and I'm actually a little hazy on how it works. We went over half a dozen inferior sort algorithms before we got to Quick Sort, but once I got out of school I didn't use it until I started programming in C, and once you get there you don't need to know it anymore because it's part of the standard C library.

The point is that there might already be an algorithm to solve this problem, but how would you know? How could you possibly find out? And would you be willing to spend the $200 necessary to buy the book that explains it?

So 'machine learning' may not be all that special or miraculous, it's just another tool that we can use to bend the machines to our will.



Last year or so I've been playing on Codingame.com, working on writing programs to solve various puzzles. A number of their puzzles involve a rectangular grid, roughly the size of a chessboard, and solving these problems often involved using recursion. Recursion, for me, has always been a bit tricky. I can often see what needs to be done, but translating that vision into variables, and then knowing what question to ask of that variable, can be difficult. If the answer does not appear immediately, stewing on it for a couple of days will generally produce a solution.

But all these problems are so similar! I should be able to design a structure that could be used for all of these problems and so enable me solve the problem sooner.

But then I got some other ideas that I wanted to pursue, and building a general purpose recursive structure didn't seem all that important.

The curious part is that I don't have, or am not aware of having, a procedure for designing recursive procedures. I could tell you what is going on in any one problem. It's complicated and would take some effort to record that. But to make any use of that, you would have to make recordings of the process I used to solve other recursive problems, and then compare them to see if there is, in fact, any similarities.

Maybe machine-learning is the way to go.


We've been infidels for a long time.

Jacqueline Dubut, the first female airline pilot for the French domestic airline Air Inter, sits in the cockpit of her plane in 1967. Express / Getty Images.
Via FlightAware

Holy Infidels, Batman!

Police officers take position outside the Louvre museum in Paris,Friday, Feb. 3, 2017 (Picture: AP)
Paris police sent a woman to deal with the lunatic mussleman this morning. A woman! That should really piss off the lunactic Islamists, at least I hope it would. You go, girl! Via Sharon.

Tuesday, January 31, 2017

The Illusionists

The Illusionists
Playing at Keller Auditorium this week. Tonight was opening night in Portland and it was a great show. All us super-nerdy technologists know that there is no such thing as magic. Some magicians make use of special equipment to facilitate some tricks, and slight of hand accomplishes things that are apparently impossible, but a magicians stock in trade is misdirection: getting you to watch what he's showing you, while is other hand is busy stuffing the rabbit into the hat.

But there were some tricks performed this evening that I really have no idea how they were done. Oh, I can imagine all kinds of arcane methods, but dang, these guys were good. They did some things that were just flat out impossible.

The MC (the Trickster) was comedic tour-de-force. His stage persona was gay and he played it to the hilt. He was hilarious.

There were eight (or nine?) different magicians and each had a unique act. There was an escape artist who modeled himself after Houdini, though he forgoes the strait jacket and being wrapped in chains. But then he does this five nights a week, so I can forgive him for not really risking his life. Well, it was risky being hung by your ankles, upside down in a tank of water. I probably wouldn't have been able to pick the lock on the handcuffs in that situation.

There was a trick shot artist who did not perforate either of his lovely young assistants with his crossbow bolts, and a guy who managed to conceal about a hundred decks of cards in his clothes. I mean he was pulling cards out the air and throwing them away for the better part of, oh, I dunno, how long does it take to throw away a hundred decks of cards, a quarter deck at a time?

There was a mind reading act by Sherlock Holmes, and the scientist who put people together out of body parts. There was a guy dressed as, I dunno, a corpse? A death metal rocker? Is there such a thing as death metal? Kind of reminded me Heath Ledger's performance as the Joker. He was really good. His act was full of all kinds of bizarre and ridiculous stuff, designed to make you think he is an incompetent flake, and then something miraculous happens. How did this weirdo pull this off?

I'm missing at least one. If I remember I will update this.


Sunday, January 29, 2017

Sunday

Matthew McConaughey and Edgar Ramírez in Gold (2016)
My wife and I were planning to go see the 4PM showing of Gold with Matthew McConaughey this afternoon. About 3PM, dearest wife tells me she is going to go take a nap. Her naps are always short, so it should not be a problem. But since she's going to take a nap, I take this as an opportunity to catch a little shut eye myself.

I wake up a 5:30PM. When I find my wife she tells me that she thought stinky daughter and I were studying Chemistry in the basement. When I find my sweet daughter, she tells me she thought Mom and I went to the movies. Our communication skills are second to none.

But now it's Chemistry time and we need some distilled water. We go rooting around in all the obscure cupboards underneath of sinks and find bumpkis. Fine, we'll go to the store and buy some stupid distilled water. So we enlist Osmany to drive, since he now has a license and insurance, and we head over to Plaid Pantry, the closest retail establishment that might possible stock distilled water. We are 3/4 of the way there when Osmany realizes what we are after and tells us that he has some squirreled away in the choo-choos. Oh, right, back when he was on his coin cleaning rampage. So right turn back to the house instead of a left turn to Plaid Pantry. Like I said, our communication skills are second to none.

A word about choo-choo's, or maybe chew-choose, because that's what it sounds like. Osmany is working on his English, but it's hard row to hoe, and sometimes we just need a word to fill in the place of the object and the word of choice these days is choo-choo's. This is a little weird because in that Russian Science Fiction movie I was watching the other day (the title, to me, is unpronounceable, which makes it difficult to remember, something with a bunch of K's, D's and Z's), the natives of the alien planet have words for some specific things, but for everything else the word is 'Koo'.

Now it could be that they have a tonal language and speaking the word at one pitch conveys a different meaning than the same word spoken at a different pitch, but since I didn't grow up with a tonal language, it is unlikely I will ever detect the difference. There might be some inflection, and I think I would be able to pick up on that. So one word can fill a number of roles in spoken speech. Just look at what we do with fuck.

A Real Stand-Up Friend

Wondermark by David Malki
Aren't people wonderful?