Node.js -understanding callback when you have to wait


2017/09/12
By
Node.js -understanding callback when you have to wait

This post demonstrates: – how to write a callback function so that results from your database are returned by the time you are ready to render; – how to use multi-field LIKE syntax in a SELECT statement. The most important thing to understand in Node.js is a callback mechanism and its purpose.  It is all fine and dandy, when you just type something for the training session, or copying code from an Internet example, but things are different, when you need to write you own function that must rely on a callback function.  Here I will show no-blocking code that would process POST request, call for MySQL to execute a SELECT query and…

Read more »


13 August 28, 2010: Seewen – Rapperswil-Jona – Winkel

2017/09/11
By
Rendezvous with Swiss Police

Wake up in Airolo On Saturday, August 28 we woke up in Airolo.  I had all mine and Lira’s warm clothes on me to stop the cold. I was able to delay the actual cold till September 10.   Breakfast was included, so we eat along with all the bikers, who arrived here for their festival.  That is why all the hotel were completely booked for Saturday night. Hotel Alloggio Girasole doesn’t take credit cards, so I paid for two nights in cash: 68€ and 95 CHF. [08:46] We took a couple of pictures right from the car.  You can probably see a rainbow and  a slight traffic in front of the…

Read more »

Error 2155348315 in Windows 7 Backup – Resolved

2017/09/10
By
Windows 7 Backup Error 2155348315

I started getting this error 2155348315 in Windows 7 Backup, when I switched from wired to a Wi-Fi connection on my desktop PC. Here is what happened...

Read more »

Эмоциональное Затишье

2017/09/09
By
Дай же мне прожить и умереть...

Эмоциональное Затишье [Media Timeout] Перестать заливать  себя звуковым мусором.  [20:18] Объявить мараторий на новые впечатления.  Остановиться затоплять себя все новыми роликами, звуками и картинами.  Дать каркасу индивидуальности высохнуть от постоянного дождя инфомации.  Защитить себя от TV, DVD, Internet, радио, музыки, книг, болтовни, шума, voice mail, returning phone calls and emails – объявить эмоциональный штиль. Найти свою тихую гавань сплошного молчания.   Почему это важно?  Потому что ничего нового и своего не рождается на постоянно замусоренной затопленной почве.  Залитая шумом и гамом  душа перечтает воспринимать, отличать, желать нового, смотреть со стороны.  Дайте немного эмoциональной засухи. Есть нельзя перестать совсем, однако уходить в тишину на часы или недели – очень полезно. Найти свое «тихое…

Read more »

How Not to Write Professionally – Emotional System Integration

2017/09/08
By
We-Help-Intergate-Your-Syst

You have all these great investments into infrastructure and software. Let’s draw a mental picture.  Infrastructure represents bridges and tunnels.  Software stands for masses of land.  But you do not really want all those islands to be indigenous.  You want all your pockets of data and applications talk to each other, or at least have capable, reliable translators along side. Everything comes in Excel nowadays.  And Oracle did a great job to integrate JD Edwards with Excel.  Information is now seamlessly flowing in and out of Excel to and out of your JD Edwards system.  Do you wish sometimes that everything would be that easy? As soon as your data leaves…

Read more »

12 August 27, 2010: St. Gotthard Pass and Lake Lucendro

2017/09/07
By
Suvorov Memorial near Devil's Bridge

Next day, Friday, August 27 2010 we woke up in Swiss-Italian Airolo. During breakfast we met a Swiss couple, who traveled on the rail, because it was “free” for them. They pay over 3000 CHF per year each to use the rial system for everyday commute.  So they decided to cross Switzerland without a car – rails only.  She was originally from New York, and he was native Swiss and worked at some point back in 1990s at on factory in Krasnodar.  World is coming together at the breakfast table. The main attraction here is St. Gotthard Pass (over 2000m high) and we planned an extensive walk around all the lakes…

Read more »

Где Начинается Река Ока?

2017/09/06
By
Source-of-Oka-River

На карте http://maps.yandex.ru/ ищите Дружовец Орловской области. Если вы будете искать “село Александровка Глазуновского района Орловской области”, то yandex покажет вам не ту Александровку.  Может быть в Глазуновском районе две Александровки?     Так же по теме: Description  Link  Схема бассейна Оки (приток Волги)  http://ru.wikipedia.org/wiki/%D0%A4%D0%B0%D0%B9%D0%BB:Oka_basin.png  Река Ока  http://riverforum.ru/showthread.php?t=143  Фотографии и Комментарии http://yablor.ru/blogs/oka/822261  Ока Мистическая – инересно и непонятно http://www.geocaching.su/?pn=101&cid=2646

Read more »

Only in America – Talking and Lying Icons (or eat a live armadillo)

2017/09/05
By
eat a live armadillo

I was very surprised to learn that in America icons can talk.  For some reason, no one was amazed or shocked.  Who cares what icon had to say, the surprise is that it can talk at all.  Wow! Some technology advancements America have.  But can you imagine my total amazement several days later when this very patriotic icon was caught in lie?  Only in America you can have a true talking icon that can lie right to your face.  That is truly magical. Now it is up to scientist to determine if this was a true icon or just a mummy.  Because obviously, if this was a mummy, then you can suspect…

Read more »

IE opens blank new tabs instead of your home page

2017/09/04
By
IE - Blank page on new tab

You have  masterfully designed custom home page for your Internet Explorer (IE).  All of a sudden, only first tab displays your home page.  All other new tabs in IE open as a blank page.  What happened?  Something is changing IE settings  back to “A blank page” ? This particular fix for this article was tested on Win7 x64 with IE9. In a few words, you need to delete this registry entry vprot.exe from location HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run   A little bit more radical solution is to run a 3 line script on Startup to delete all intruding entries from all 3 possible Startup locations in Registry. This solution is absolutely great, because it…

Read more »

11 August 26, 2010: Back to Switzerland – Airolo

2017/09/03
By
San Gottardo - Traffic Just before the Tunnel

Next day – Thursday, August 26, 2010 – it was time to leave Bellagio and Italy and return to Switzerland.  First, we had to drive using the same narrow and picturesque road along lake Come and enter Switzerland through Chiasso.  Just a second ago we were driving on a busy Como street with buses and usual city traffic, and all of a sudden – the Swiss border – and we are driving on a busy Chiasso street. At 11:23 we couldn’t find a soy yogurt in Consorzio Agrario – an Italian supermarket in Bellagio, and at 13:08 we couldn’t find a soy yogurt in Coop Supermercato on via Maestri Comacini 10…

Read more »

Как Писать Стихи + Как Работает Эта Машина

2017/09/02
By

  2014/11/18   Tuesday          12:21 Н а п и с а н о 2001-11-16 п я т н и ц a 13 лет назад Том  2001-2002 Стр. 48-49                                      

Read more »