Posts

Where is csc.exe? - Visual Studio .Net

I'm new to this, so when you are looking or don't have the right path set globally in your Windows System for csc.exe [a Microsoft Visual C# compiler tool], in my system, this can be found in, C:\WINDOWS\Microsoft.NET\Framework\v3.5\csc.exe For a sample usage of csc.exe, Z:\devel\c#-apps\dotnettattributes_src>C:\WINDOWS\Microsoft.NET\Framework\v3.5\csc.exe /out:test.exe /target:exe *.cs The /out specifies the resulting executable file and the /target specifies what kind of file type it will be, then the *.cs will compile all *.cs files in the current directory where in that directory contains the file that has the main() function.

Just adding more sense and enjoying with Microsoft Visual Studio .Net

Here we go, MS! lol. I'm not really a fan of Microsoft but it seems that I am really enjoying there .Net and its languages specially C#. Now, I'm starting again to go back and code using .Net and I'm enjoying myself very much. I love programming and I love anything else that makes sense to me and then enjoy myself coding. I feel going back as geek now and I love it. Currently, I'm enjoying programming and learning Game Theory, Mathematics, Probabilistic Graph Model, Search Engine, etc. and etc.

MySQL insert a record by checking if record exist then add

I just figured out this trick in MySQL with the INSERT ... SELECT statement functionality. How to do it, so I have a table named OFFERS and table named ACCOUNTS. Let's assumed that I have fields on these table, and it has OFFERS.CODE, OFFERS.USERID and ACCOUNTS.USERID. What I want is, I want to check if ACCOUNTS.USERID exist in OFFERS table in just one SQL statement. To do this, just do      INSERT INTO OFFERS (USERID, CODE)     SELECT         ' 22 ',' XXHH22BBMM '     FROM         ACCOUNT a     WHERE     A.USERID=' 22 ' AND A.USERID  NOT IN (     SELECT OFFER.USERID FROM  OFFER     WHERE OFFER.USERID=' 22 ' )     LIMIT 1 Now, the 22 is the USERID and the XXHH22BBMM values are used as my return value that I wanted actually to be inserted into the database. What exactly is happening here is that, this is equivalent to, INS...

what does "granularity" mean when speaking of database

I'm kinda confused what exactly does "granularity" or "grain"means in database world. So I just understand that this means "it's a measure of level of details of your data in a database". It's how you could get a minimal grains of your data or how you could get a detailed information of your data that's make sense. From Wikipedia, it means, Data granularity The  granularity  of data refers to the fineness with which data fields are sub-divided. For example, a postal address can be recorded, with  low granularity , as a single field: address = 200 2nd Ave. South #358, St. Petersburg, FL 33701-4313 USA or with  high granularity , as multiple fields: street address = 200 2nd Ave. South #358 city = St. Petersburg postal code = FL 33701-4313 country = USA or even higher granularity: street = 2nd Ave. South address number = 200 suite/apartment number = #358 city = St. Petersburg state = FL postal-code = 33701 postal-code-add-o...

Product Rule, Chain Rule and then Factoring

Image
I found this video is really cool and easy to understand. Please have your attention during factoring because the author of the video did a long factorization of polynomials to make it shorten for the derivatives. and this example also is quite easy,

Finding Partial Derivatives

Image
In this video, I find this tutorial very easy for me to understand what is a partial derivative. It has good examples including a chain rule.

Calculus: Implicit Differentiation

Image
From this video, I found it very easy to understand. Staring 07:23, he use the formula of " Point-Slope Equation of a Line ", which is "y - y1 = m(x - x1)". So y1 = -1, x1 = 1, m = -1 [the result from the derivative using implicit differentiation] so, y - y1 = m(x - x1) y - -1 = m(x - 1) y + 1 = -1 (x -1) y = -x + 1 - 1 y = -x Note that, Point-Slope Equation of a Line is different from Equation of a Straight Line formula .