Showing posts with label knowledge. Show all posts
Showing posts with label knowledge. Show all posts

Saturday, April 27, 2013

к вопросу о промывке мозга


Вкратце, существует четыре варианта запила информации в среднестатистическую особь Homo Sapiens.
1. Гены. 
Доставшееся от папы с мамой ДНК, определяющее цвет глаз, размеры ушей, длину МПХ и наделяющее хомячка безусловными инстинктами: жрать, срать, размножаться и еще кое-что по мелочи. Зашивать кошерные вещи в ДНК было бы клёво, но наука пока так далеко не продвинулась. По крайней мере официально. Посему, что предки запилили на входе, то и получится на выходе.

Tuesday, March 27, 2012

нативный браузер для андроида как платформа для апликаций

очень интересный подход к программированию для андроида:
http://www.codeproject.com/Articles/353661/Writing-Android-Programs-with-HTML-and-JavaScript


вообще на их сайте интересные вещи есть:
http://togosoft.com/index.php

  • работа с андроидным девайсом через jscript
  • интересные апликации для андроида
  • jscript  библиотеки для некоторых гугловский сервисов (графики, карты, геолокация, бар-код)
картинка, конечно, ужасная.

Saturday, March 3, 2012

ксюше-2


вопрос: Чем С отличается от С++?

один из ответов по Google:

The C programming language is a very general purpose programming language. It is used to solve problems ranging from operating system kernels, over compilers to graphical user interfaces. C was conceived in the early 1970s by Dennis M. Ritchie. The C programming language was first standardized in the mid 1980s.
The C++ programming language was initially created by Bjarne Stroustrup, as a "better C". C++ was an attempt to extend and (to some extent) change the C programming language to overcome some of the common and big problems with the language. C++ was first standardized in 1998, and as such, is a much younger language than C.

Wednesday, February 29, 2012

ксюше

Языков много. 


Их было порядко 2 500 десять лет назад, и сейчас столько же: одни умерли, другие появились. Но самые распространенные языки так и остаются самыми распространенными. Хотя это тоже может измениться - и изменится.
Распространенность и востребованность языка очень выжны: чем больше на данном языке создается программ, тем больше сообщество, в котором можно задавать вопросы и быстро находить ответы, то есть легче на этом языке работать, а значит, быстрее сообщество будет расти.
Ниже выложена динамика за последние десять лет.

Sunday, November 27, 2011

в продолжение еще одного разговора



под катом еще кое-что...

Thursday, October 13, 2011

джеф клэйз

BUILDING SMALL THINGS
Jef Claes


Due to the nature of things we build in our day to day job, writing software can wear out even the most fit of us.

Most software jobs make you constantly deal with complexity. The amount of things which can lead to a complex software project are immense. A poor first design, and failure to redesign. External dependencies, which seem to behave different every time around. Or just the complexity of the problems itself.
You are almost always working in a team, which can be exhausting as well. If the team doesn't share your passion and you have a hard time getting your ideas across, you will get frustrated, real soon. Add some coroporate politics to the mix and you'll be on your way to Paranoia.

It feels like I'm turning this into a rant, but I'll stop right here, you get where I'm going at. Building software in the real world can be hard. Very hard.

I like to think building something small on your own once in a while can be extremely liberating. It can help you keep your sanity and not lose your passion towards software. You pick what to build. Something small. Something new. Something built with your favorite tools, on your favorite platform. Something that can be shipped. Something which takes only you and your machine.

Having problems finding something meaningful to make? Look around you, the most trivial problem can lead to a satisfying little sideproject. Look for things that bother you, and try making them bother you less. Listen to others, maybe you can help solve their problems. Who cares if it already exists in one way or the other? Look for something that looks fun. And just build it.

Thursday, October 6, 2011

Wednesday, October 5, 2011

мысли от умных

http://eli.thegreenplace.net/2011/10/04/what-tdd-means-to-me/

What I do before writing code is thinking about the testability of my design. Thinking hard.
Design usually means breaking the solution into components (or modules, or whatever you want to call them), figuring out the responsibility of each component and the interactions between them. There are many aspects to consider when judging a certain design, and I add testability as an important first-class criterion. A design that doesn’t lend itself to being tested, is in my view a bad design, so I start thinking about alternatives.

 How does a design lend itself to being tested? By being composed of components that can be tested in isolation.
Isolation is extremely important for debugging problems when they unavoidably arise. It is not easy to achieve – good isolation (a.k.a. encapsulation) of components is a kind of holy grail – you never really find the best division into components, you only approximate it.
I think that testability serves as a good guide – components that are easy to test in separation usually make up a pretty good design. This is because testability and isolation usually go hand in hand. The more coupled a design is, the harder it makes testing its components in isolation. As a corollary – when components are easy to test in isolation, the design is well decoupled.

Wednesday, September 28, 2011

Monday, September 12, 2011

что такое синхронно и что такое асинхронно


When you execute something synchronously, you wait for it to finish before moving on to another task. When you execute something asynchronously, you can move on to another task before it finishes.
That being, said, in the context of computers this translates into executing a process or task on another "thread." A thread is a series of commands--a block of code--that exists as a unit of work. The operating system can manage multiple threads and assign a thread a piece ("slice") of processor time before switching to another thread to give it a turn to do some work. At its core (pardon the pun), a processor can simply execute a command--it has no concept of doing two things at one time. The operating system simulates this by allocating slices of time to different threads.
Now, if you introduce multiple cores/processors into the mix, then things CAN actually happen at the same time. The operating system can allocate time to one thread on the first processor, then allocate the same block of time to another thread on a different processor.
All of this is about allowing the operating system to manage the completion of your task while you can go on in your code and do other things. Asynchronous programming is a complicated topic because of the semantics of how things tie together when you can do them at the same time...


Tuesday, August 30, 2011

Sunday, August 21, 2011

Глобализм и Образование
Как русскому студенту прослушать курсы лекций звезд Стенфорда, Беркли и Йеля.


Возможно вы знаете, что не обязательно платить 50 тысяч долларoв в год чтобы прослушатъ курсы звезд MIT или Стенфорда? Стартовые страницы к систематическим курсам тут, или тут, или тут (много курсов истории, языков, и т.п.) отсылают в сайтам соответствующих Университетов. Среди них MIT (пионер этого дела), Berkeley, Stanford, Yale, Notre Dame, NYU, University of Washington. Курсы адресованы студентов всех уровней, от старшеклассников и первокурсников до аспирантов, их читают известные ученые, например, легендарный Gilbert Strang. Кстати, полулярные видео лекции лучших ученых мира тоже висят в Интернете.

Эти видеокурсы, учебники с emule и торрентов плюс Wiki позволяют умным и мотивированным ребятам получить все лучшее и современное, дома, бесплатно. Валить не обязательно. Подумайте, еще 10 лет назад никому было невозможно прослушать сразу двух лекторов разных Университетов. Утверждалось, что большинство стран навсегда отрезаны от передовой науки из–за неподъемных цен на Университеты и учебники. И вот проблема начала решаться, без Сколково и Фурсенко.

Я очень рекомендую видеокурсы студентам (смотреть параллельно своим курсам), преподавателям (теперь вы nolens volens с ними конкурируете), аспирантам, специалистам и любителям. Пожалуйста, оповестите своих коллег и знакомых студентов и присоединяйтесь сами. Не осталось причин для неученой тьмы.

Saturday, July 2, 2011