AI past and future
A fun cartoon by Tom Gauld Tweet
A fun cartoon by Tom Gauld Tweet
Опубликовано 26 февраля 2010 г. 11:06 | Coding4Fun Брайен Джепсон (Brian Jepson) из журнала «Make Magazine» вместе с Шимоном Кобальчиком (Szymon Kobalczyk) опубликовали статью о том, как им удалось поиграть с линейкой микроконтроллеров FEZ, управляемых из .NET (EN)
Live Geometry is an interactive geometry designer built using Silverlight. It can be used to visualize and solve geometry problems, and help make geometry lessons more fun and interactive for teachers and students.
Опубликовано 16 февраля 2010 г.
Chris Smith had a talk at the CodeMash conference in January 2010 titled “Being an Evil Genius with F# and .NET”. Chris created a post about his talk and doing Computer Vision, Speech Recognition, and shooting missiles at people all with F#! Here is a bit of his speech recognition code using the System.Speech.dll: let recognizerEvent = getWordRecognizer() // Main handler – convert spoken text into RL commands let handleWord spokenText = printfn "Recognized Word: %s" spokenText let action = match spokenText with | "up" // Has a hard time recognizing this
| "north" -> MoveUp(20) | "down" -> MoveDown(20) | "left" -> MoveLeft(20) | "right" -> MoveRight(20) | "fire" -> Fire | _ -> NoOp performAction rocketLauncher action |> ignore // Exit handler – specifically look for exit/quit let terminateLoop = ref false let terminateLoopHandler = function | "exit" | "quit" -> terminateLoop := true | _ -> () // Hook up event handlers recognizerEvent.Add(handleWord) recognizerEvent.Add(terminateLoopHandler) while terminateLoop.Value = false do System.Threading.Thread.Yield() |> ignore () Chris happily provided the source code as well, RocketLauncher_v1.0.zip .
Опубликовано 04 декабря 2009 10:25 | Coding4Fun | Мы будем ежемесячно публиковать по одному проекту, а сейчас посмотрите на стенд Coding4Fun на конференции профессиональных разработчиков — PDC 2009! Вы можете даже увидеть турнир между настоящим барменом и барменом-автоматом на GeekFest! Краткий обзор каждого проекта Бармен-автомат!
Опубликовано 2 декабря 2009 23:27 | Coding4Fun | Джоэл Айвори Джонсон (Joel Ivory Johnson) написал весьма функциональную программу для своего Zune HD — пузырьковый уровень , использовав встроенный в Zune HD акселерометр, который позволяет определять наклон устройства. На основе данных, получаемых от акселерометра, и всеми любимой теоремы Пифагора он создал настоящий ватерпас! Джоэл также поясняет математические операции, необходимые для расчетов, в том числе для определения направления и величины отклонения. Vector3 accelReading = accelState.Acceleration; tiltDirection = (float)Math.Atan2(accelReading.Y, accelReading.X); tiltMagnitude = (float)Math.Sqrt(accelReading.X * accelReading.X + accelReading.Y * accelReading.Y );
Несмотря на повсеместное распространение и эксклюзивную поддержку на многих платформах, модель параллелизма, основанная на потоках операционной системы, имеет ряд принципиальных недостатков, которые усложняют написание корректных и масштабируемых параллельных программ. Во-первых, программисту доступен лишь самый низкий уровень абстракции для общения между параллельно выполняющимися задачами – разделяемое состояние (shared state). В такой модели дополнительно к работе со данными каждая задача должна прилагать усилия по координации этой работы с другими задачами
Charlie Calvert has created great post covering the XNA Role Playing Game Starter Kit from the XNA team . Charlie talks about the tile engine and the quest engine. The tile engine supports several layers to create a complex final level. The first layer allows you to define a basic landscape or the interior of a building. A second layer allows you to decorate it with trees, chairs, or other objects.
Опубликовано 25 августа 2009 в 09:47:00 | Coding4Fun Если вам понравились новинки Windows 7 — познакомьтесь с новыми возможностями панели задач для создания впечатляющего интерфейса пользователя. Эйриен Т. Калп (Arian T.
Wow, I really like the new Expression 3.0 Blend, you can build games using no code! What a lot of fun. But what if you want to extend the code, you can easily use VB or C#, or both! But what if you want to do something more functional, like maybe you need to do a simulation using a parallel processing to do something complicated. Or something simple, but a billion times. Then you need to connect your silverlight solution to the parallel processors, how would you do that? In future entries I will use F#, then if you need to use F# with parallel processing, you can will have some examples.
So far in my previous blog posts, I talked about the following items: Use of C, which is a requirement for the class Write and test your first program for security issues (Intro to C#) Use media in your programs (Designing Applications) 3. Variables and types Goal: Learn about variables and types Outcome: Student will be able to demonstrate: How to create and use a variable in a program How to what is the difference between value, nullable, reference types and generic types A buffer…( read more )