<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Olexandr Melnyk - Latest Comments</title><link>http://omelnyk.disqus.com/</link><description></description><atom:link href="https://omelnyk.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 22 May 2010 13:34:21 -0000</lastBuildDate><item><title>Re: Misc</title><link>http://omelnyk.knopok.net/misc/#comment-162390746</link><description>&lt;p&gt;Olexander ?± am too glad to meet u..?± wish we had met before..?± think we will be good friends..as you know my english isn??™t good so we are lack of commun?±cation.this summer ?± will go to summer language school to develop my english...?±f u go abrod ?± would l?±ke to see you..this is my msn adres if you add me we can talk on msn hande.655@hotmail.com ??¦please keep my wrist band as a rememberance??¦take good care k?±sses&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hande</dc:creator><pubDate>Sat, 22 May 2010 13:34:21 -0000</pubDate></item><item><title>Re: Misc</title><link>http://omelnyk.knopok.net/misc/#comment-162390743</link><description>&lt;p&gt;Mr. Alex are you use lessons for build this web-resourse from this:&lt;br&gt;&lt;a href="http://shaybakova.com/lessons/links_img/links_img.html?" rel="nofollow noopener" target="_blank" title="http://shaybakova.com/lessons/links_img/links_img.html?"&gt;http://shaybakova.com/lesso...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Mr.Anderson&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">?????????»?°??</dc:creator><pubDate>Thu, 03 Dec 2009 08:18:16 -0000</pubDate></item><item><title>Re: Swedish</title><link>http://omelnyk.knopok.net/misc/swedish/#comment-162390736</link><description>&lt;p&gt;i??m learning swedish too, so we can practice together!!&lt;/p&gt;&lt;p&gt;i like your page.&lt;/p&gt;&lt;p&gt;see you soon&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lorena</dc:creator><pubDate>Fri, 14 Aug 2009 12:10:56 -0000</pubDate></item><item><title>Re: The trip to Hrebeniv</title><link>http://omelnyk.net/blog/2006/07/29/the-trip-to-hrebeniv/#comment-162390690</link><description>&lt;p&gt;Hello.&lt;br&gt;My father was born in Hrebeniv, but left for Canada as a young adult.&lt;br&gt;I know he would love to see any pictures for his home town.&lt;br&gt;Any photos that you could offer would be appreciated.&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dennis</dc:creator><pubDate>Thu, 30 Jul 2009 15:23:43 -0000</pubDate></item><item><title>Re: The Knowledge Day</title><link>http://omelnyk.knopok.net/blog/2006/09/01/the-knowledge-day/#comment-162390728</link><description>&lt;p&gt;The style of writing is very familiar to me. Did you write guest posts for other bloggers?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vince Delmonte</dc:creator><pubDate>Tue, 14 Apr 2009 17:16:01 -0000</pubDate></item><item><title>Re: Using views with variables in MySQL</title><link>http://omelnyk.net/blog/2007/06/18/using-views-with-variables-in-mysql/#comment-162390721</link><description>&lt;p&gt;I get an error when running your code on MySQL 5.0.51&lt;/p&gt;&lt;p&gt;#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar(64) as&lt;br&gt;return @book_subject' at line 2&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ketil</dc:creator><pubDate>Tue, 09 Sep 2008 16:57:44 -0000</pubDate></item><item><title>Re: PHP short open tag</title><link>http://omelnyk.net/blog/2006/12/23/php-short-open-tag/#comment-162390717</link><description>&lt;p&gt;or instead of turning off such a useful feature, in rare scenario of creating an xml template where php naggingly turns on, you could simply echo out the xml definition before closing your php tags as such.&lt;/p&gt;&lt;p&gt;echo'' ."\n"&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">spazdaq</dc:creator><pubDate>Mon, 08 Sep 2008 16:56:20 -0000</pubDate></item><item><title>Re: STL sort strangeness</title><link>http://omelnyk.knopok.net/blog/2008/08/02/stl-sort-strangeness/#comment-162390751</link><description>&lt;p&gt;Although Fisher-Yates shuffle (unlike the one above) is evenly distributed in theory, its rand()-based implementation will still have a small deviation from the uniform distribution due to the modulo bias (small numbers will have higher probabilities).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olexandr Melnyk</dc:creator><pubDate>Mon, 04 Aug 2008 06:24:43 -0000</pubDate></item><item><title>Re: STL sort strangeness</title><link>http://omelnyk.knopok.net/blog/2008/08/02/stl-sort-strangeness/#comment-162390749</link><description>&lt;p&gt;If it works for your application that's fine, but your shuffle algorithm will have non-uniform distribution.  Look up the Fisher-Yates shuffle, which is about as simple and almost certainly what std::random_shuffle uses.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">josh</dc:creator><pubDate>Mon, 04 Aug 2008 03:57:11 -0000</pubDate></item><item><title>Re: STL sort strangeness</title><link>http://omelnyk.knopok.net/blog/2008/08/02/stl-sort-strangeness/#comment-162390747</link><description>&lt;p&gt;stick,&lt;/p&gt;&lt;p&gt;no doubt the problem arised on a plain surface, but hopefully this post will save those many hours for someone who reads it. ;)&lt;/p&gt;&lt;p&gt;Rexxar,&lt;/p&gt;&lt;p&gt;didn't know about that one -- thanks for pointing out.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olexandr Melnyk</dc:creator><pubDate>Sun, 03 Aug 2008 16:26:16 -0000</pubDate></item><item><title>Re: STL sort strangeness</title><link>http://omelnyk.knopok.net/blog/2008/08/02/stl-sort-strangeness/#comment-162390744</link><description>&lt;p&gt;Why you don't you use "std::random_shuffle" defined in  ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rexxar</dc:creator><pubDate>Sun, 03 Aug 2008 15:44:40 -0000</pubDate></item><item><title>Re: STL sort strangeness</title><link>http://omelnyk.knopok.net/blog/2008/08/02/stl-sort-strangeness/#comment-162390742</link><description>&lt;p&gt;Wow it seems like an incredible amount of energy went into something as absolutely braindead as shuffling the elements of an array.&lt;/p&gt;&lt;p&gt;Perhaps if you had used an array instead of relying on some esoteric use of the stl you could have saved yourself and all your readers many HOURS of time.&lt;/p&gt;&lt;p&gt;Live and learn. Have fun blogging instead of writing working code.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">stick</dc:creator><pubDate>Sun, 03 Aug 2008 15:16:25 -0000</pubDate></item><item><title>Re: MySQL views gotcha</title><link>http://omelnyk.net/blog/2007/10/23/mysql-views-gotcha/#comment-162390733</link><description>&lt;p&gt;Yo man , ???? ???????°?????&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">???°???°??</dc:creator><pubDate>Tue, 15 Apr 2008 14:13:18 -0000</pubDate></item><item><title>Re: MySQL views gotcha</title><link>http://omelnyk.net/blog/2007/10/23/mysql-views-gotcha/#comment-162390732</link><description>&lt;p&gt;Hello Brik,&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;Seems I also want to update my view(s) with a trigger if an underlying table changes!&lt;/blockquote&gt;&lt;p&gt;&lt;br&gt;MySQL doesn't support schema-level triggers, so you'll have to handle that in your application.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;Any examples for me? One example of a trigger that creates a view, using a fieldname as the viewname and also a fieldname in the where clause for the view? TIA. &lt;/blockquote&gt;&lt;p&gt;&lt;br&gt;I don't understand this part, could you elaborate on that?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;How about a trigger that keeps track and updates all views? (I need that less)&lt;/blockquote&gt;&lt;p&gt;&lt;br&gt;When you change &lt;b&gt;data&lt;/b&gt; in a table, a related view gets automatically updated.  Please, read my post again carefully: view doesn't get updated on table &lt;b&gt;structure&lt;/b&gt; changes.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olexandr Melnyk</dc:creator><pubDate>Sat, 22 Dec 2007 08:21:52 -0000</pubDate></item><item><title>Re: MySQL views gotcha</title><link>http://omelnyk.net/blog/2007/10/23/mysql-views-gotcha/#comment-162390729</link><description>&lt;p&gt;WOW - I did not know that!!! I was about to mess up a bunch of stuff!&lt;/p&gt;&lt;p&gt;I am sort of new to mySQL and my DB experience is pretty slim in general. I am forced to work on a data collection app... long story.&lt;/p&gt;&lt;p&gt;Anyway - I have been researching how to create views with database triggers. Seems I also want to update my view(s) with a trigger if an underlying table changes!&lt;/p&gt;&lt;p&gt;Any examples for me? One example of a trigger that creates a view, using a fieldname as the viewname and also a fieldname in the where clause for the view? TIA. How about a trigger that keeps track and updates all views? (I need that less)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brik</dc:creator><pubDate>Wed, 19 Dec 2007 16:50:29 -0000</pubDate></item><item><title>Re: Local .NET conference</title><link>http://omelnyk.net/blog/2006/08/27/local-dotnet-conference/#comment-162390701</link><description>&lt;p&gt;Sorry, if I was unclear in my explanations. Npgsql has a different purpose than plMono. Npgsql allows you to access PostgreSQL from your .NET application, while plMono was intended to provide you with the ability to extend PostgreSQL using Mono (write own stored procedures, triggers etc), like you can do with PL/Perl and plpython.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olexandr Melnyk</dc:creator><pubDate>Mon, 30 Oct 2006 09:39:29 -0000</pubDate></item><item><title>Re: Local .NET conference</title><link>http://omelnyk.net/blog/2006/08/27/local-dotnet-conference/#comment-162390700</link><description>&lt;p&gt;Have a look at&lt;br&gt;&lt;a href="http://npgsql.projects.postgresql.org/" rel="nofollow noopener" target="_blank" title="http://npgsql.projects.postgresql.org/"&gt;http://npgsql.projects.post...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">RobertJ</dc:creator><pubDate>Mon, 30 Oct 2006 06:03:00 -0000</pubDate></item><item><title>Re: Joined the university</title><link>http://omelnyk.net/blog/2006/07/24/joined-the-university/#comment-162390696</link><description>&lt;p&gt;Thank you for warm words!&lt;br&gt;Happy to see your website back online, BTW!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olexandr Melnyk</dc:creator><pubDate>Fri, 04 Aug 2006 17:21:07 -0000</pubDate></item><item><title>Re: Joined the university</title><link>http://omelnyk.net/blog/2006/07/24/joined-the-university/#comment-162390689</link><description>&lt;p&gt;Congrats on finishing high school and starting university. :)&lt;/p&gt;&lt;p&gt;I bet you'll be in the top of your class...&lt;/p&gt;&lt;p&gt;Good luck and have fun!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jordan Freeland</dc:creator><pubDate>Mon, 24 Jul 2006 20:35:35 -0000</pubDate></item><item><title>Re: The Leaver's Day</title><link>http://omelnyk.net/blog/2006/07/08/the-leavers-day/#comment-162390685</link><description>&lt;p&gt;School is good. But holidays are better :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MAd</dc:creator><pubDate>Thu, 20 Jul 2006 10:00:50 -0000</pubDate></item><item><title>Re: Happy Birthday!</title><link>http://omelnyk.net/blog/2006/06/03/happy-birthday/#comment-162390684</link><description>&lt;p&gt;it*s so nice :)))))))&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yan</dc:creator><pubDate>Sun, 02 Jul 2006 04:07:35 -0000</pubDate></item><item><title>Re: Crazy calculations</title><link>http://omelnyk.net/blog/2006/05/05/crazy-calculations/#comment-162390680</link><description>&lt;p&gt;Good idea. :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Olexandr Melnyk</dc:creator><pubDate>Fri, 02 Jun 2006 04:28:24 -0000</pubDate></item><item><title>Re: Crazy calculations</title><link>http://omelnyk.net/blog/2006/05/05/crazy-calculations/#comment-162390678</link><description>&lt;p&gt;What about GZIP`ing?&lt;br&gt;=)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mad</dc:creator><pubDate>Fri, 12 May 2006 07:54:57 -0000</pubDate></item></channel></rss>