пятница, 12 ноября 2010 г.

“Flash Is Great.” — Anonymous Flash Developer

“Flash Is Great.” — Anonymous Flash Developer

  • 153 Comments
  • MG Siegler

    8 hours ago

    I used to think that Android fanboys worked themselves into the biggest tizzy when you suggest their favorite device of the week may not be the absolute bee’s knees. I was wrong. Flash fanboys are much worse. They’re worse not only because they go absolutely ape-shit if you disrespect their platform, but also because at the end of the day at least Android fans have a leg to stand on. At least their object of love is ultimately pretty good and has a bright future. Flash? Yeah…

    Adobe’s CTO paints a rosy picture of the platform. But that’s his job. The reality is what many of us see with our own eyes: Flash is a massive pain point in our day to day computing. If it’s not crashing our browsers left and right, it’s causing our computers to cook our thighs (or worse). If it’s not draining our batteries 33 percent faster, it’s opening gaping security holes.

    Let’s look at just the most recent headlines. Yesterday, Apple released the latest OS X update, 10.6.5. A huge portion of the update was dedicated to security updates. Of those, a full 42 percent were security patches related to Flash.  Should anyone be surprised that Apple has decided to no longer bundle it with OS X?

    Meanwhile, Flash is now fully baked into Google’s Chrome browser. If you read the update notes or bug reports on the various channels, you’ll see that a massive number are related to Flash.

    What about Flash on other devices? It’s the killer feature of the new Samsung Galaxy Tab, right? Wrong. Even the most glowing reviews of the new tablet rip its Flash support.

    Meanwhile, on the smartphone side of things, Adobe just released an update for Flash for Android likely ahead of the 2.3 roll-out. Does it fix any of the performance issues? Nope. I’m using it right now. Playback is still jittery as hell.

    So you’ll forgive me if when Kevin Lynch announces all these great-sounding things about Flash that are just around the corner, I’m highly skeptical. How long have we been promised Flash on mobile devices? 5 years? It’s still not where it needs to be. Hell, it’s not where it needs to be on the desktop.

    The fact of the matter is that if everything was peachy keen in the state of Flash, Adobe wouldn’t have anything to worry about. Apple could go on the offensive against them, but it wouldn’t matter. Nothing would change. But things are changing. And Adobe is scared to death.

    But all of these reports across various sectors must be wrong. Flash is just great. People are screaming about how wonderful it is. It’s a pure coincidence that they all happen to be Flash developers.

    Exclusive: Samsung 'flagship' phone with Gingerbread and huge display coming in early 2011 (update) -- Engadget

    Exclusive: Samsung 'flagship' phone with Gingerbread and huge display coming in early 2011 (update)

    Okay, so you're not feeling Samsung's Nexus S. We'd say that's a little premature, but still, we get it. We understand. How about this, then? Is this more to your liking? We've just been tipped with a few morsels on what should become Samsung's flagship Android device early next year -- February, to be specific, suggesting we could see an unveiling at MWC -- and it's looking promising. Different parts of the slide deck describe it as having either a 4.3- or 4.5-inch "sAMOLED2" display, presumably standing for "Super AMOLED 2" and implying that Sammy's made some advancements over the screens we've been seeing on the Galaxy S series this year. It'll naturally have Android Gingerbread and be equipped with an 8 megapixel camera capable of 1080p video capture, 14.4Mbps HSPA, Bluetooth 3.0, a 1.2GHz core of some sort, and 16GB of storage onboard. The deck describes it as having an "ultra sleek design," and judging from the side shot, we'd tend to agree. So who's holding out for this?

    Update: We're confident that the above slide comes from Samsung, but one of the pictures therein is most definitely not of a new Samsung phone -- but rather a VoIP handset by Apiotek from several years ago. Considering the image in question pops up right away in a Google Image search for "ultra slim phone," we're inclined to think Samsung got a little hasty putting together the PowerPoint this time round. [Thanks, Nathan H.]

    четверг, 11 ноября 2010 г.

    Написал выполнение взаимной рекурсии без рекурсии на c#(trampoline из clojure)

    Вчера мне при попытках разобраться с вложенной рекурсией посоветовали посмотреть на функцию trampoline в clojure. Для лучшего понимания я ее переписал на c#. Определение trampoline в clojure здесь (http://pramode.net/clojure/2010/05/08/clojure-trampoline/).

     

     

    using System;

     

    namespace Trampoline

    {

        class Program

        {

            static void Main()

            {

                //Console.WriteLine(FunA(100000));//stack overflow

                Console.WriteLine(Trampoline(FunAT(100000)));

                Console.ReadLine();

            }

     

            public static long FunA(long n)

            {

                return n == 0 ? 0 : FunB(n - 1);

            }

     

            private static long FunB(long n)

            {

                return n == 0 ? 0 : FunA(n - 1);

            }

     

            public static object FunAT(long n)

            {

                if (n == 0) return 0;

                return new Func<object>(() => FunBT(n - 1));

            }

     

            private static object FunBT(long n)

            {

                if (n == 0) return 0;

                return new Func<object>(() => FunAT(n - 1));

            }

     

            private static long Trampoline(dynamic result)

            {

                while (true)

                {

                    if (result is Func<object>)

                    {

                        result = result.Invoke();

                    }

                    else

                    {

                        return result;

                    }

                }

            }

     

        }

    }

     

    А теперь надо подумать поможет ли мне это с вложенной рекурсией по типу функции Аккермана. 

     

    среда, 10 ноября 2010 г.

    Сравнение Erlang и Clojure в несколько строк.

    Erlang: The Movie  <=> Clojure: The Podcast  :-)

    Erlang распределенный, Clojure нет.

    Агент в ерланг это легковесный поток, над потоками стоит шедулер.

    Агент в кложа это объект и вы асинхронно можете посылать сообщение (функцию) этому объекту. Каждый объект имеет очередь и по очереди обрабатывает сообщения. Не надо путать агентов с потоками. Агент это просто объект и вы можете иметь миллионы в памяти безо всякой нагрузки. Обработка сообщений агентов распределяется по пулу потоков. Шедулера нет.

    Короче говоря если вы посылаете агенту сообщение с бесконечным циклом, то тред в котором он будет выполнятся заблокируется. В ерланг оно понятно таких проблем нет.

    вторник, 9 ноября 2010 г.

    iPad в России: где купить и сколько стоит?


    re:Store ©

    Сегодня, 9 ноября в 19:00 по московскому времени, в России начинаются долгожданные продажи легендарного планшетника от Apple. Скептики курят в сторонке, пока iМаньяки готовятся стать первыми владельцами РСТ-таблеток по вкусной цене. У кого, где и почём сегодня можно купить правильный «русский» iPad — в нашем эксклюзивном материале.

    Как и ожидалось, первыми среди равных выступили «МВидео», «Re:Store» и «Белый Ветер Цифровой». Все три ритейлера запланировали торжественные мероприятия на 7 часов вечера. Выбираем по вкусу, предпочтениям и ближайшему месту расположения.

    «МВидео» предлагают заглянуть на огонёк за «таблеткой» в целый ворох магазинов в Москве и Санкт-Петербурге. Приятный сюрприз «в красном» так же поджидает жителей Ростова-на-Дону и Волгограда:

    Москва:
    — Олимпийская деревня, Мичуринский проспект, д.3, корп.1, ТРЦ «ФЕСТИВАЛЬ»
    — ул. Красная Пресня, д. 23Б, стр. 1
    — ул. Садовая-Спасская, д. 3, стр. 3
    — ул. Зеленодольская, д. 40, ТЦ «Будапешт», 3 этаж
    — Славянский б-р, дом 13, стр. 1
    — Проспект Мира, дом 91, корпус 1
    — Ленинградское шоссе, дом 16, ТЦ «Метрополис»
    — МО, г. Химки, Микрорайон 8, стр. 1, ТРК «МЕГА»
    — ул. Генерала Белова, дом 35
    — ул. Народного ополчения, дом 28, к. 1
    — МО, Люберецкий район, г. Котельники, 1-й Покровский проезд, д. 5, ТЦ «МЕГА Белая Дача»

    Санкт-Петербург:
    — Московский проспект, д. 44
    — ул. Пражская, д.48/50, ТРК «Южный полюс»
    — пересечение КАД и проспекта Энгельса, ТРЦ «МЕГА-Парнас»

    Ростов-на-Дону:
    — ул. Красноармейская, д.157

    Волгоград:
    — пр-т им. В.И. Ленина, д. 65К, ТЦ «Стройград»

    В стороне от столь ожидаемого события не остались и Re:Store. Специальные мероприятия, посвященные старту продаж, пройдут в двух таких разных, но столицах одной страны по адресам:

    Москва:
    — 1-я Тверская-Ямская, д. 28

    Санкт-Петербург:
    — ТРК «Сенная», Ефимова, д.3

    «Белый Ветер Цифровой» так же проводит праздничную церемонию в Москве по случаю старта продаж iPad. Желающие проходят на Тверскую улицу, д. 19А. Приобрести планшет так же можно в следующих магазинах БВЦ:

    Москва, торговые центры:
    — «Горбушкин двор»
    — «Европейский»
    — «Черемушки»
    — «Щука»
    — «Мега Теплый Стан»
    — «Мега Химки»
    — «Мега Белая дача»
    — «Пражский пассаж»

    Магазины «БВЦ» рядом с метро:
    — Октябрьское поле,
    — Маяковская,
    — Лубянка,
    — Пушкинская

    Санкт-Петербург, торговые центры:
    — «Мега Дыбенко»,
    — «Мега Парнас»,
    — «Рамстор Удельный парк»

    Казань:
    — ТЦ «Кольцо»

    Нижний Новгород:
    — ТЦ «Фантастика»

    Ярославль:
    — ТЦ «Вернисаж»

    Все три сети рапортуют о наличии у них всех шести моделей планшета. Сколько стоит каждая? За шесть часов до старта продаж, «МВидео» поделились с редакцией iPhones.ru официальными ценами на каждую модель:

  • iPad WI-FI 16Gb — 19 990 руб.;
  • iPad WI-FI 32Gb — 23 990 руб.;
  • iPad WI-FI 64Gb — 27 990 руб.;
  • iPad WI-FI +3G 16Gb — 24 990 руб.;
  • iPad WI-FI +3G 32Gb — 28 990 руб.;
  • iPad WI-FI +3G 64Gb — 32 990 руб.
  • Желаем всем российским iМаньякам поменьше очередей, побольше айпэдов и, конечно, приятных покупок.

    Фотографии и отчёты с события национального i-масштаба принимаются от читателей с 18:00 по МСК в секции комментариев.

    Clojure введения на великом и могучем

    Хм а clojure вполне себе работает на Dot Net.

    Linux.org.ru News

    Вебпланета - все новости

    CNews - Издание о высоких технологиях