vansickle's shared items

Tuesday, October 27, 2009

Great song – great covers: Little Wing

Есть произведения которые прекрасны не только в своем оригинальном исполнении, но и в множестве альтернативных версий.

Услышав сегодня по радио версию Skid Row решил начать с Little Wing  Джими Хендрикса

Инструментальный шедевр от Stevie Ray Vaughan’а (и кстати отличное видео):

Моя любимая, тяготеющая к Джазу версия от Стинга:

http://www.youtube.com/watch?v=aZjmrb3bjVo

Великолепная (как и все их совместное творчество в Derek and the Dominos) версия Клэптона и Дуэйна Оллмана:

И более современные:

Monday, October 19, 2009

How it's made - Traceroute

Эта утилита используются вами очень часто, но догадываетесь ли вы как она работает, приговаривая "сейчас проверим трасертом"? По сути traceroute - это тот же пинг (не зря они часто совмещены в одной программе), т.е. программа, посылающая ICMP-пакеты, но использующий такой параметр IP-пакета как TTL.

Этот числовой параметр пакета каждый роутер при прохождении пакета через себя уменьшает на 1, а в случае если TTL пакета при этом становится равным 0 (т.е. весь лимит израсходован) - посылает сообщение ICMP Time Exceeded в ответ.

image

Таким образом меняя это число мы можем изучить все шлюзы, через которые лежит путь до хоста. Сначала задаем 1 - таким образом наш локальный роутер при прохождении пакета уменьшает значение до 0 - и посылает нам Time Exceeded - смотрим источник ответа - это первый шлюз.

Tracing route to yandex.ru [213.180.204.11]

over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  router [192.168.1.1]

Далее посылаем новый запрос - уже с 2 в TTL - теперь наш роутер успешно пропустит пакет, а провайдерский - вернет Time Exceeded со своим адресом – это  второй:

  2    <1 ms    <1 ms    <1 ms  10.2.1.1

И так далее:

  3    <1 ms    <1 ms    <1 ms  81.200.10.1

  4     1 ms     1 ms     1 ms  h-210.core.superlannet.ru [81.200.12.210]

  5    18 ms    11 ms     1 ms  ix2-m9.yandex.net [193.232.244.93]

  6     1 ms     1 ms     1 ms  rhodium-vlan309.yandex.net [77.88.56.126]

  7     1 ms     1 ms     1 ms  hummer-vlan2.yandex.net [87.250.228.136]

  8     2 ms     2 ms     2 ms  yandex.ru [213.180.204.11]

Trace complete.

Т.е. столь распространенная утилита использует свойство протокола, предназначенное совсем для других целей - согласно википедии, TTL был введен чтобы избавиться от блуждающих пакетов, которые не могут быть доставлены:

The purpose of the TTL field is to avoid a situation in which an undeliverable datagram keeps circulating on an internet system, and such a system eventually becoming swamped by such immortal datagrams.

А его рекомендуемое значение по умолчанию – 64 (RFC 1700):

The current recommended default time to live (TTL) for the
Internet Protocol (IP) [45,105] is 64.

Best UI improvement in Win7

Среди многих восторгов по поводу нового Таск-Бара, который и правда интересен (я до сих пор не отключил группировку окон по типу приложения, что уже показатель), остался не замеченным во всяких обзорах значительно более существенная вещь – они наконец-то сделали удобным Tray.

Теперь скрытые иконки можно просматривать в отдельном окошке, а не в этом ужасном “slider” интерфейсе XP/Vista, когда ты не успеваешь кликнуть на нужную иконку, а все уже “съехалось” обратно.

image

Saturday, October 3, 2009

Gorky park reunion?

Среди продвинутых музыкальных слушателей, тех молодость кого пришлась на конец 80-х – начало 90-х нередко пренебрежительное отношение к Парку Горького, но мне кажется что они лукавят – что это просто следствие желания контраста с западными исполнителями и априорной оценки этого сравнения.

Мне же всегда эта группа была весьма по душе, несмотря на понимание того факта что они не более чем одни-из большого количества glam-rock/metal команд тех лет в масштабах мировых.

Вот оказывается у них недавно было несколько одноразовых воссоединений (увы без Носкова). И хотя исполнение послабее оригиналов, оно до сих пор великолепное – за прошедшие годы ведь не появилось ни одной альтернативы.

Оригинал:

Acer Revo R3600

intro2Получил возможность "поиграть" с неттопом acer revo r3600 - причем в отличие от большинства обзоров, в частности на хабре, задача под которую приобреталось -  офисные приложения. Судя по никсу - десктоп аналогичной цены будет выигрывать у неттопа только в процессоре, а по диску (160 против 250), памяти (1 гб против 2) будет уступать.

Впечатлений особенных нет (отличных от ожиданий и обзоров) - просто работает все что нужно - посмотрим как он на практике себя проявит. Но определенно как минимум в качестве “усиленного” терминала интересное решение - а если бы на этой платформе NAS да диска на 4 - вот это была бы вещь при нормальном контроллере. Ну и так как серверочек – самое оно (только зачем такая видео система на нем…)

Из минусов - в биосе SLIC 2.0, а не 2.1 - из-за этого полдня потратил на активацию win7 ;) - изучил все варианты в целом и все активаторы в частности - принципиальных отличий от висты нет. Другую половину заняли попытки отформатировать диск от всякого оем-ного мусора - сами win при установке делать это отказались (не совсем понял почему – есть подозрение что я его случайно динамическим сделал). Ни один из множества загрузочных дисков (хотя точнее говоря загрузочных usb-флешек) на базе win xp pe не взлетел (драйверов под ион не знает, а самому интегрировать - так официальных под xp при беглом осмотре не нашел), акронис взлетел но диск не увидел - уже думал взять pe от висты и интегрировать туда драйвера - как положение неожиданно спас gparted – рекомендую, теперь буду начинать с него.

Numb3rs

Увы, я совсем не лишен таких страстей как просмотр периодических телевизионных фильмов (хотя естественно не в эфире, а в записанном-скачанном виде). Одним из таких фильмов является Numb3rs. Собственно, он наверное и лучший – несмотря на то что математика в нем обычно “притянута за уши” – он хорош одной простой вещью – дает пищу для дальнейшего чтения после просмотра.

Существует ряд блогов, в котором разбираются с научной точки зрения эпизоды – в частности - http://nuweb2.neu.edu/math/cp/blog/ и http://numb3rs.wolfram.com. Но поскольку мой просмотр значительно позже выхода в эфир происходит, то приходится каждый раз по оригинальной дате выхода искать статьи в первом блоге, да и прочие ссылки, чтобы залить на pda и почитать в метро. Соответственно решил собрать все это в одной пополняемой таблице здесь.  За формат и оформление (в частности эти ужасные 3d-границы) прошу прощения – по мере наполнения данными постараюсь и их поправить.

Title Description Airdate Mathematics used Articles
401 Trust Metric
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416 Atomic No. 33 A cult is poisoned with Arsenic, but refuses medical help. Their new leader is trying to change that and other things about his church. When they find that the old leader was also poisoned with Arsenic, the mystery gets deeper. May 2, 2008 Bayesian network analysis, Non-Newtonian fluid, social network analysis, affinity analysis, K-optimal pattern discovery Walking on Oobleck; Data Mining (11/13/05); Social Network Theory (3/1/06); more Social Network Theory (5/5/07)
417 Pay to Play A rapper is killed after a celebration thrown by the record label. Megan is taking some time off and Charlie finally meets Amita's parents. May 9, 2008 String metric, Gröbner basis Gröbner bases; Face Recognition Algorithms (1/19/06).
418 When Worlds Collide Charlie and the FBI have their differences about a Pakistani charity group suspected of funding terrorism. May 16, 2008 Byzantine fault tolerance, Figure-Ground, Wallpaper group, M. C. Escher, Hyperbolic geometry, Six degrees of separation Charlie stands up for principle;
501 High Exposure Don and his team hunt for killers of two rock climbers found in possession of a large diamond. Charlie decides he should get his FBI clearance reinstated and a new agent joins the team. October 3, 2008 Percolation Threshold and geometrical analysis Locating the diamond thieves; Squishing and Squashing (5/08/05).; reflection seismology; GPS, Cell Phones and Einstein.
502 The Decoy Effect After a woman is murdered in what appears as an ATM robbery a series of kidnaps, rapes and murders turns into a hunt for the gang leader. New girl Nikki agrees to be the decoy, and Charlie's involvement leads to trouble for Don. October 10, 2008 Decoy effect, Hall effect and scheduling algorithm
503 Blowback When eight people, including two police officers, are executed in a coffee shop, an LAPD detective gets the team on the case, and they uncover a trail of blackmail, romance and corruption. Also, McGowan's investigation of Charlie and Don deepens. October 17, 2008 Aggregation modeling and Hidden Markov model
504 Jack of All Trades Don's team joins FBI Agent Bloom (Played by Henry Winkler) in tracking an elusive con man. Meanwhile, decisions are announced on Charlie's FBI clearance and disciplinary action for Don. October 24, 2008 Belief propagation Distorted reflections
505 Scan Man The team hunts a crew stealing high-end goods from a shipping service and looks to an employee with savant-like abilities to lead them to those behind the scheme. October 31, 2008 Geographic network, supply chain analysis, fractals Error-correcting codes'; Error Correcting Codes.; Binary Numbers and Cellular Automata (12/31/05)
506 Magic Show While on a date, David catches a disappearing act at a magic show but quickly becomes involved in the performance when the magician really vanishes. November 7, 2008 Design Recovery Pascal's Law (12/18/05); We want to pump you up (part II)
507 Charlie Don't Surf One of Don and Charlie's friends dies in what is deemed an accident. Not convinced, the brothers investigate further. November 14, 2008 Deconvolution, neural network, hyperspectral imaging and site-prediction modeling
508 Thirty-Six Hours The team is sent to investigate and help with the recovery at a train crash; however the train is carrying dangerous chemicals. During its original run, David Krumholtz gave a public service announcement stating that the episode was not in fact based on a similar train crash in the California area that occured after taping, but before the episode aired. November 21, 2008 Infotaxis and swarm robotics
509 Conspiracy Theory A bomb goes off during a high profile meeting and a documentary film maker has a conspiracy theory about it. December 5, 2008 Simpson's paradox
510 Frienemies harlie and his rival Marshall Penfield race against time to solve a case. December 19, 2008 Pattern of crowd, western, three way duel
511 Arrow of Time A convicted criminal breaks out of jail, with thoughts of revenge. Don must face his past and turn to his new-found religious beliefs. January 9, 2009 Hidden Markov model and Maxwell's Demon
512 Jacked When 18 tourists on a bus are taken hostage, the team has only four hours to stop the hijackers. January 16, 2009 Articulate, inverse game theory, poker, paradox
513 Trouble In Chinatown An undercover agent disappears, leading the FBI team deep into Chinatown's black market. The FBI gets help from the returning psychic Simon Kraft (John Glover). January 23, 2009 Digital Signal Processing, Lévy flight
514 Sneakerhead When a pair of valuable sneakers is stolen from the vault of a foreign ambassador, the team delves into the world of sneaker collecting. February 6, 2009 Pinball
515 Guilt Trip When Robin's seemingly bulletproof case fails and a dangerous weapons smuggler is released, the team investigates the possibility of jury tampering. February 13, 2009 Probability, Mersenne twister, scientific jury selection and social networking potential
516 Cover Me Liz works undercover to take a new illegal drug off the streets after Charlie predicts it is going to be the next big thing to hit the drug market. David is assigned to be her handler and he worries when she varies from his plan and puts her trust in a fellow undercover agent who may be an addict himself.

February 27, 2009

Supply & Demand Theory
517 First Law The FBI team investigates the death of visionary scientist Daniel Robertson; the prime suspect is Robertson's computer project, Baley. Charlie considers an enticing job offer. March 6, 2009 Turing test
518 12:01 AM The FBI team rushes to track down evidence that could save a mob boss from the death penalty; new information comes in that could exonerate him, leaving the team with only hours to run down the new lead. March 13, 2009 Rainbow Beam, Basketball
519 Animal Rites The investigation into the death of a CalSci professor exposes possible links to animal rights extremists. April 10, 2009
520 The Fifth Man Things go terribly wrong when Don gets injured during an investigation. Charlie and Alan have to put things into perspective, when the thought of possibly having to lose a part of their family comes to face them. April 24, 2009
521 Disturbed Charlie focuses his attention on tracking a previously undetected serial killer to help deal with his guilt over Don's almost-fatal stabbing. He receives help from a geeky amateur sleuth and a retired accountant, who each research serial murders as a hobby. The investigation reveals that the killer may be responsible for over two dozen unsolved deaths. May 1, 2009
522 Greatest Hits The team investigates a string of bank robberies and believe that ex-FBI Agent Roger Bloom (played by Henry Winkler) is responsible for them. Amita is abducted at gunpoint in front of Charlie in the last scene. May 8, 2009
523 Angel and Devils When Amita is abducted by the leader of a cult with female followers, it will take Don, Charlie, the whole team, and even some outside help in the form of Ian Edgerton to get her home safely. At the end of the episode, Charlie proposes to Amita. May 15, 2009 Angel problem, burr puzzle