Back to Profile: sokhaty


  • Ushering in the Era of Programmable Hardware

    Any plans to add FPGA support to SQL Server? Restrictions, projections, hashing and other functions that require single row to produce result seem like a logical candidates for offloading.

  • Silverlight TV 76: Animations on Windows Phone in the Bird Hunt Game

    @Duncanma: Controls works as long as player is not buffering. When it is buffereing none of the controls work in neither IE9 nor FF4. What's worse, there seem to be some bug in the player code that after a number of clicks on various buttons player just hangs and the only resolution is to close and restart the browser (at least that's true for IE9).

  • Tech·Ed North America 2011 Keynote Address

    Video is pain to watch in IE9 with SL. Link to high res WMV is broken.

  • A New NUI - Tobii Eyetracking Hardware

    Pretty cool technology.
    Blink once two select, double blink to execute action Wink

    Oh, and your boss will know exactly how long did you spend in front of the monitor looking at the code versus watching videos on C9 [blink, blink]

  • Cloud Cover Episode 41 - Windows Azure Toolkit for Windows Phone 7

    Good as always.

    So, was Steve making some sort of a point by playing only A major? Azure-Majure?

  • C9 Lectures: Yuri Gurevich - Introduction to Algorithms and ​Computation​al Complexity, 2 of n

    It seems that discussion about "sameness" of two or more algorithms has no point unless participating parties agrees on what sameness means. Which it turn requires definition of a meta algorithm to measure various properties of algorithms of interest and compute measure of sameness. So, question "are two algorithm the same" has no aswer in general case.

    For similar reasons, in order to pick a better algorithm, one has to disclose all the constaints and assumptions used to compute measure of "goodness".

  • Programming Streams of Coincidence with Join and GroupJoin for Rx

    Not sure if I get all of it, I guess I have to watch it again.

    It would be very helpful to look at some samples. Also, it looks like the discussion is based on embedded assumption that observations of the events are direct. I wonder how it all change if observations were indirect - for example when you are trying to reconstruct flow of events based on gathering clues. Stream of clues is directly observable (and ordered in time), while pointers to the event stream of interest can be to the past or future times or be just durations without definite starting time points. Would Rx be useful in this case?

  • Accepting Input and Assigning Values from a TextBox - Day 1 - Part 10

    It looks like mystery about lost update to myTextBlock.Text revolves around implementation specifics of event processing in Silverlight on WP7 (or may be Silverlight in general?).
    Apparently, when assignment myTextBox.Text = ""; happens, "on text change event" is being added to the end of the queue of events waiting to be processed. So, queued event will be picked up for porcessing only after myButtonClick event handler completes. And when that happens, all your changes to the myTexBlock.Text will be effectively undone, lost or what have you. This is quite esy to validate by clicking "Clear" button without entering any text immediately after application loads, or clicking it twice in a row after some text was entered. In this case "on text change" event won't be fired (presumably changing text form "" to "" doesn't constitute a change). You'll note that text block won't display any text.

    I guess a real take away from this episode is how easy it is to mess thing up big, whithout understanding what events are and how they are being processed at run time.

  • Expert to Expert: Inside LINQ-​to-​SharePoint

    Good discussion. Interesting perspective on how customer-extensible application meta-data affect all the layers above.

    And it's rather obvious that "like.. you know" Bart now works for Eric.


    Just out of curiosity, what is so special about SharePoint security that computation has to happen in the business layer as opposed to a stored procedure or even a correlated subquery in a SQL statement?

  • E2E2E: Meijer, Rys and Vick - Programming Data

    Oh, my. So many good discussion topics, so little time. I stopped counting after the first five. More E2E sessions would be nice.

    I'd like to hear more about developments in the area of type systems, relational (im)purity,  and programming languages to replace SQL.

    Cost based optimization and how things are evolving in that area would be interesting too.


    On a side topic, calling SQL relational is a blasphemy. It's as relational as a cow is a noble steed.

  • E2E: Erik Meijer and Patrick Dussud - Inside Garbage Collection

    On a loosely related subject, It would be interesting to know why SQL Server is still being shipped with two VMs - .NET one and a specialized one to run T-SQL code. Is .NET VM too generic (insufficently specialized) to provide good run-time for T-SQL?

    Is it the same or similar reason why guys from Jane Street Capital hint at .NET GC not being quite good enough to meet demands placed on run-time by a functional programming language (F#)?


    It looks logical to assume that any engineering solution (software or otherwise) has its range of applicability. Going below or above the applicable range requires some other engineering solutions. Is there any info out there on applicability limits of .NET GC and .NET VM for that matter (and how one would express those limits anyways - in terms of lattency or memory allocations per unit of measure, when being general purpose VM starts and ends?).

  • E2E: Erik Meijer and Dave Campbell: Data, Databases and the Cloud

    In a database of the future, I'd like to be able to declare my taxonomy, interval (including temporal) properties of objects and their attributes and functions to derive new truths about objects based on the truths obtained so far. Then I might want to specify how much of those computational graphs I want to store precomputed (which would allow me to have OLTP, data warehouses, cubes and whatever funky terms are currently used to descripbe various stages of truth discovery/derivation). Are there any developments in those directions?

    (I guess inclusion of MDM services into 2008 R2 may seem to hit that the answer is "soft of").


    To the subject of the code running closer to the data, this was obvious for quite a while now that shipping bits over network to have a copy in application memory and process it using (more often than not) less sophisticated algorithms than those already present at the point of storage doesn't make much sense. Database is a computational engine, so it should have a powerful language to create computational expressions. Unfortunately SQL in general is not quite that, and T-SQL in particular isn't either.

    Having F# inside database engine would be nice. Add "pure mode" for querying (which should be side effects free) and use imperative mode to produce side effects (data modifications).