Tuesday, December 15, 2009
How To Make A Pellet Trap
"I can not run faster, it sucks" "I can not function as the user wants, will have to wait until the next version
- "If I used X or Y or that product, would instantly. But with this, only battle"
- In reality your program almost always runs a little faster. And that may, in fact, run
- just the way the user wants. And while each product has its limitations, strengths and weaknesses, should never have to wait until the next version. Is not it more rewarding to be able to tell your therapist that you entered the problem head on, do not put excuses, and when you put together a solution?
Tuesday, December 1, 2009
London Fruit And Herb Tea, Canada
To create a schema, just use the command: CREATE SCHEMA
esquema1;
If we create a table in our new scheme we will:
CREATE TABLE esquema1.tabla1 (id_tabla1 integer, name text);
Now to create postgres users will be used: CREATE USER daniel
;
You can assign users to various types of authorization for different parts of the database. For example:
* The authorization of reading.
* push authorization.
* The authorization to upgrade.
* The permit deletion.
privileges grant-list-on-behalf of relationship or view-to-list or role-
esquema1.tabla1 to grant select on daniel
authorization may be granted update on all attributes of the relationship or only on some. If authorization is included in an update education grant, the list of attributes on which the authorization is given in brackets can update just after the update keyword, if you omit the attribute list, the update privilege is granted on all the attributes of the relationship.
grant update (name) on esquema1.tabla1 to daniel
privilege insert can also specify a list of attributes, any inclusion in the list must specify only those attributes and the system assigns the rest of the defaults (if any for them) or set to zero.
now to remove authorization revoke statement is used. grant is very similar to the syntax is:
revoke privileges-list-on-behalf of the relationship and name of the view-from-user list or role-
therefore to remove the previous privileges would be as follows:
esquema1.tabla1 to revoke select on daniel
revoke update (name) on esquema1.tabla1 to daniel
far this introductory article, there is much to even try, I hope to these items on the users, schemas and privileges.
Greetings!
Sources:
Database Fundamentals. fifth edition Silberschatz, Korth, Sudarshan
Official List of postgres
http://www.postgresql.org/
Monday, November 2, 2009
Netflix To Router Settings
Joe, an old developer with a team of six, has a problem with your code. Reviewing it for hours, increasing their frustration and can not find where the bug. Can not think of even thinking about asking for help to their peers because none of them has the experience of it. Finally, his head does not give you more and ends up "giving up". Sighing, he lifted his phone and dials an extension: "Sandra, could you come and give a look to my code?" I have a problem which can not find where it can be. " Sandra goes for his place and a quick Joe revised code says what it should have been obvious for a long time. Hooray! The code works, and Joe thanks him, but actually feels sorry inside. Thoughts like "How come I did not see before?" and "If I had spent five minutes doing my tests I had found" go through the mind of Joe. It is understandable but also very stupid. The point here is that they often fail to see our problems because estamos muy metidos en nuestro propio código. Algunas veces todo lo que necesitamos es una nueva perspectiva, la visión relativamente objetiva de alguien sin nada en juego. No tiene nada que ver con la antigüedad, pericia o competencia.
Steven recomienda fuertemente establecer dentro de la organización los siguientes lineamientos:
Retribuye admisiones de ignorancia
Ocultar lo que no sabes acerca de una aplicación o su código es muy peligroso. Desarrolla una cultura de preguntas y peticiones de ayuda.
Pide ayuda
Si no puedes encontrar la causa de un bug en 30 minutos, pide ayuda inmediata. Puedes incluso idear un "sistema amigo", de tal manera que everyone has someone assigned to the group who is expected
prompted support. Do not let yourself (or others in your group) spend hours hitting you against the wall in a fruitless search for answers.
process establishes a code review by a fellow
Let no rise to production code without having read and criticized (in a positive and constructive manner) by one or more developers in your team
Saturday, October 31, 2009
Shingles And Swimming
False. If we get well soon and fully converting the code to build exactly the requirements in the hundreds, thousands or even hundreds of thousands of lines of code, we'll end up with total chaos that is almost impossible to debug and maintain.
should not panic before deadlines, it is likely to be met if you do careful planning. Steven recommended to resist the pressure of delivery and to ensure the following before starting a new application or even a specific part of the application: Building
cases and test scripts before writing the code must
determine how you will ensure a successful implementation before writing a single line of program code. Doing so is more likely that the interface of your program is correct, and fully identify what your program needs to do.
Establish clear rules for how developers write SQL statements in the application
In general, Steven does not recommend that every developer to write lots of SQL. Instead, the queries that return a single record, inserts and updates should be "hidden" in procedures and functions pre-built and well tested (called
information encapsulation). These programs can test, optimize and maintain a more effective way than just SQL statements (some of them redundant) scattered throughout the code.
clear rules on how the developers handle the exceptions in
team All developers should launch, manage and log errors in the same way. To achieve this, it's best to create a single package error-handling that hides the details of how to record these, setting out as exceptions thrown and spread upward through nested blocks, and to avoid hard coding specific exceptions-de-la-application. Ensure that all use that package and
not write their own error handling code complicated, time consuming and error prone.
Use the refinement step by step "(also called top-down design) to limit the complexity of the requirements to face at any given time
If you use this approach, you will see that run parts of your modules are short and easy to understand, which makes the code easier to maintain and improve it over time. Local or nested modules play a key role in monitoring this design principle.
These are just a few important things to take into account
before starting to write all that code. Just remember: the software development world, haste not only makes things fragile, almost guaranteed a generous offer of bugs and lost weekends.
Tuesday, October 13, 2009
If I'm Due October 4 When Did I Conceive
" Poker is 100% skill and 50% luck "
| | Become a professional poker player in weeks | |
| | Exclusive materials and practices for free | |
| | Start your banking from 0 € and reap the rewards | |
| | Learn how to earn thousands of euros from home | |
One of the best sites to be informed of the latest in the most popular card game online. Updated daily with the latest news and information about the wonderful world of poker. The site has a useful function to calculate your chances to play a hand of someone discover, in addition to a calendar to organize your tournament, so when they move into the world of poker . The only annoying Site, are your ads, although they are not focused and are less obtrusive, they try to block them because they are GIIFS that bother to change constantly.
Wednesday, October 7, 2009
Complex Hemorrhagic Ovarian Cysts
Wednesday, September 30, 2009
Calculating Interest With Recurring Deposit
Hi everyone this is my first contribution, we present a tool useful, we may need at any time. I especially have taken the decision that all my contributions will be using this tool.
Who has not gone through anything recorded by on-screen for example the most difficult part of a game, making a record with your computer, or may have simple needs, like making more practical tutorials that do not include a ton of long, dense text, as ScreenToaster does all that, but very simple and line.
With ScreenToaster can create screencasts from the web application, with a very impressive image quality and the ability to add subtitles to audio and even videos. And everything is limited to the environment of your website, making it very accessible and easy to use.
| |
To do this, you must register on the site. ScreenToaster currently is in private Beta, so you will require an invitation code to register and then start making screencasts. For the high demand for access to test the beta.
Once you register, you can record your movie just by clicking the giant button on the home page. You just have to install an applet to start the recorder, and the rest is history. Use some simple commands to record (Alt + S) and stop recording (of Again, Alt + S), and you can even record anything more than one area and not the entire screen (Alt + Shift + S). When you've finished the video, you can add some subtitles (which are not very conventional) and record your voice on the video or any audio you want. You can then choose to publish the video or keep it private. In either mode, your video can always be seen from a URL or html code inserting it into another web.
Pd. I apologize for the video recording of that happened to me that the tool was in English, sorry I did not realize. Greetings.
Saturday, September 26, 2009
Wednesday, September 23, 2009
Swelling Ankles After Drinking Alcohol
the project is hosted on sourceforge and is in full development but you can download a trial version (which is pretty decent).
Sources:
http://linux.softpedia.com/progDownload/OpenGoo-Download-40218.html
http://www.carlosleopoldo.com/post/opengoo/
http:// es.wikipedia.org / wiki / OpenGoo
Saturday, September 12, 2009
Jelly Bracelets Color Meanings 2011
Login.js
Login, is based on a FormPanel , which is configured by default with layout: 'form', which correctly renderisa labels and text fields.
on lines 29 to 36, declaring the array of buttons, here there is only one setting:
- monitoring this button (line 31)
- an icon (line 33)
- its label (line 34 )
- layout: will use the type 'fit'.
- width: 317 pixels wide.
- height: 148 pixels high.
- title: title of the window.
- closeAction: 'hide', closing the window will only light, so that may be invoked again without instantiated.
- closable: Draw the button on the "x" to close the window.
- draggable: false set-up a window to be fixed, not floating.
- border: false, does not draw its border.
- defaults: Their behavior is similar to DefaultType, all set in this property will be taken by the child components in accordance declarandos items.
- items: has a son, the component called panel. Finally in
example.
Thursday, September 3, 2009
How Much Hcl And Nahco3 For One Liter
efficiency is a measure of how much resources is consuming the execution of a task. Efficiency is the inverse of how much of the total service time of the execution of the task can be eliminated without sacrificing capacity or increase their business function.
occupation is the value of using a resource whose transfer rate is maximized with minimal impact on response times. The value of occupancy for a given number of service channels is less than or equal to the value shown below:
#
| 1 2 4 | 8 | 16 32 64 | 128 | Occupation | ||||
| 50% 57% 66% | 74% 81% 86% | 89% 92% | load |
execution speed performance of the task, measured either as a transfer rate or response time.
Decomposition tabular profile of response time, usually listed in descending order of the response time contribution of the component.
delay in queue length that a task spends glued on a given resource, waiting for their opportunity to consume, as measured by task execution time: click
seconds. response time duration of execution of a task, measured in time per task: click
seconds. The response time is the sum of the delay in the queue and service time. sequence diagram is a diagram specified in the Modeling Language Unified (UML), used to show interactions between objects in the sequential order in which they occur. This diagram is useful to visualize the response time.
service channel A sub-resource sharing a single queue with other sub-resources, a toll booth in a mall or a CPU in an SMP computer.
service time duration that a task passes a given resource consuming, as measured by task execution time: click
seconds. task-oriented work unit business. These can be nested:
print invoices
is a task, print an invoice -subtask- is also a task. Count transfer rate of executions completed the task within a specific time interval:
clicks per second. Using resource use divided by capacity for a specific time interval, a quantitative measure of load.
Principles 1. A
sequence diagram is a useful tool to conceptualize the response time, however, for tasks that run thousands of invocacioes (even dozens), it is more useful
profile. 2. The transfer rate is the reciprocal of the time response. If you add load to create high transfer rates change the response time as you add
waiting in line. 3. The difference between the response time of a task that has a resource with light load and response time under heavy load is waiting in the queue. 4. The duration of a task in the queue for a resource depends on the number of service channels
of this resource in addition to its load
: Add service channels reduces the wait in line for a given load. However, the benefit decreases when the add.
- Reduce the load decreases in the queue waiting for a given architecture. There is no limit to reduce the load scalability
- 5. The occupation is the use value that defines the threshold between light and heavy load on a resource.
- In an action under heavy loads, response times are degraded when the load grows exponentially.
- In an action under heavy loads, improve response times when the load decreases exponentially
- 6. For systems with service requests random time, allowing sustained heavy expenditure of resources to the value of occupancy results in severely degraded response times and transfer rates that fluctuate constantly with microscopic changes in the load.
- 7. For a set of resources of a computer, you can improve performance by making the code run fast
eliminating unnecessary instructions in the code or code that competes against your code to seize resources. 8. Improve your code approach efficiently reduces the time and service charge, which improves response time, which improve performance exponentially resources too heavy.
9. Can not optimize the transfer rate of a task ineffective. To analyze the efficiency of a task, you must analyze its response time. Hence, to optimize the transfer rate must first analyze the response time. 10. Do not guess the first in which a program is time consuming, and ineffective attempt to optimize anything you see. Analyze their behavior helps to write code that is faster.
Go
Wednesday, September 2, 2009
Aloha Sign Pinkie And Thumb Sign
Dear colleagues, in these few lines I will make my contribution to our blog. Sorry for the tardiness, and I hope they serve something.
for days experiencing a bit of a script based language (javascript), try implementing the OOP paradigm, following the general rules by creating classes with their properties and methods.
class Person {
/ / attributes
public Person () {}
/ / methods public
method1 () {}
} Surprise
javascript is a object-oriented language but uses a special style of this paradigm, and by that I mean the prototypes, that if you refer to the same ideas of OOP, such as code reuse, inheritance, polymorphism, encapsulation, hiding among others.
Programming based prototypes is a style of object-oriented programming in which "classes" are not present, and re-use of processes (known as inheritance in class-based languages) is obtained through cloning existing objects that serve as prototypes, extending its functionality. This model is known as prototypes oriented or instance-based programming .
http://en.wikipedia.org/wiki/Prototype-based_programming .
This topic of interest try to explain this in code.
The following case wanted to get the next number multiple of 6 earlier of a number X.
create our archive lies the POO.
clases.js
html file
An example simple and easy to make I give you some link for if they want to implement some other stronger features such as inheritance and polymorphism.
Greetings to all and take care.
a good
PDF
Saturday, August 29, 2009
Can You Use An Interim License To Get Into A Bar?
and other publishers you know?.
sources:
http://www.esdebian.org/wiki/jedit-instalacion-debian
http://www.vivaserver.com.ar/blog/2007/09/21/jedit-el -TextMate-of-the-poor
Wednesday, August 26, 2009
Indian Wedding Invitations In Brampton
AJAX Introduction
Well first of all let's see php, like other tools we use, apache , html, javascript AJAX, and MySQL famosillos but this makes sense when technologies come together:
Installation
apt-get install apache2 apt-get
install php5 apt-get install mysql-server-5.0
apt-get install php5-mysql
apt-get install libapache2-mod-php5
apt-get install phpmyadmin
In the first three lines are the basic tools for our web server, the other two are what we are linked together and the last is a frontend of our base manager data (this is also found in Appserv), if all went well until now we can type in your web browser as follows: localhost / phpmyadmin from here we can manage our MySQL, create users, databases data, etc.
Interaction tools
Now let's start with a small example in php:
this small example will print 10 times the word synergy, for more details on programming in php can view this league.
now see an example of connection to a MySQL database, but first we will create our base
Snipplr
and now the code to interact with it:
As we connect the procedure involves using a source (the local host in this case), user (login1), and password (password1) if no successful connection to exit the script with an error message, if the connection is achieved chose to base we connect (test), then perform a query and display each field on the page , to finish closing the flow to the connection, to dig deeper into the php-mysql functions please see the following page .
The first code submitted is responsible for displaying the initial screen using HTML code, we see that within the code HTML code is php from here we see to be interpetado after the browser as the php code never see but only the result of this, we create an element called div javascript pass through to the inside of this div servior see there is a text field and off the see a button that links to a javascript function, note that the code can be mixed with HTML as long as they do for separation by using tag.
The second code is the one that creates the interface between the client and the server, find the start nuevoAjax function we create the XMLHTTPRequest element, the second function is the function name where using the DOM make use of HTML elements and get their values; the Open method of our object gives us the pattern ajax of how to bind asynchronously, to file and that will lead you step method parameters it will, in this case POST, and you specify with the true that it is an asynchronous call, we have also the onreadystatechange event listener which was shot in the asynchronous call is done, so that "we will stick" the HTML that we send our server to our div (div noted previously that the way to the variable results) and the number 4 indicates that the transfer is completed successfully, with the method setRequestHeader send Content-type attribute indicating the contents of the file, finally use the send method to send as a parameter to the value of the textfield to the server, if will send non-null parameters.
Now we have the last file is the one side of the server this file is called by us. Js file using the open method is charged with the send method is called, this file contains HTML code that is sent through php creates a table and are created rows and columns using two nested for the second for use within the predefined variable $ _POST ["variable"] variable that we serve to capture the information previously sent from our js code and all that we throw (to throw everything I mean to send echo) this file is sent to the js file and sticking to the div object (remember the event handler onreadystatechange ).
Conclusion:
As we have seen the use of scripting languages \u200b\u200bare increasing and how they are interacting we can navigate a bit at the beginning and if we add the management of the database from one of them it becomes a bit tangled, but After entering this, just a matter of practice.
Links:
http://www.tufuncion.com/tutorial_basico_ajax
http://www.cristalab.com/tutoriales/introduccion-a-ajax-con-php-y-formularios-c165l/
http://www.librosweb.es/ajax/capitulo7/interaccion_con_el_servidor.html
http://www.lugmen.org.ar/pipermail/lug-list/2005-May/035613.html
http://www.webestilo.com/php/php09b.phtml
Monday, August 24, 2009
Dermapet Lime Sulfur Dip For Cats
its class hierarchy is:
say it is special because:
- automatically renders the HTML document body (document.body).
- Adjust the size of the window as this will be resized. (Try resizing the window in the demo ).
- can only be one object per page Ext.Viewport.
- displacement does not support (Scrolling), if needed, it must be implemented by child components, such as a Ext.Panel.
Example:
Explaining a little:
- anchor: This option should be used when the container has been configured with a content management AnchorLayout.
- disabled: Enable or disable the component, the default value is false.
- hidden : This property sets the object to determine whether it should be shown or not.
- HideBorders : Indicates whether or not to be painted the borders, default value false
- layout: Indicate the size and position to take the objects inside the container.
- items: May be an object or an array of objects. This is one of the ways in which we can add child components inside another object, in this case the container Ext.Viewport. Example
- a single object: items :{...}
- several objects: items_ [{...}, {...}]
- A complete instance :
being: items: {name}
- U n object literal (literal object , dynamic object) that contains a set of properties and values \u200b\u200bthat:
2 .- If xtype is not specified, the value of the container DefaultType (Contein) will be used and this 'panel'.
being:
The result is the following:
View demo: Viewport
know it sounds a little thing anything, but I hope to move forward, to see examples useful.
Conclusion:
Links:
Ext JS API
Material support.
Saturday, August 22, 2009
Saturday, August 15, 2009
Lacquer Thinner Primer Type
Tuesday, August 11, 2009
Optimax Rough Idle Cold Start Troubleshooting
Sunday, August 9, 2009
Kidney Stone Stuck Infection
- Design QtDesigner graphical interface.
- code generation in Python pyuic4 with the tool.
- Create a class to contain object with the window and manage their events, as well as entry point (main) for our program.
Requirements.
- python (we use version 2.4 onwards).
- The Qt4 libraries, which will automatically install dependencies to python-qt4.
- python-qt4 (the interface between the Qt4 libraries, programmed in C + +, and the language we will be using).
- qt4-designer.
- PyQt4-dev-tools (this package provides the command pyuic4).
Introduction to Python.
I recommend you read this tutorial to a quick start. To easily understand the example on this post, you must know the structure of a program in Python, data types, functions, and to a lesser extent, inheritance, modules and packages.
Moving on.
Our example is based on this material , still highly recommended reading, and from the slide 41 begins to use QtDesigner. They should be something like:
The buttons for the four operations we have the names: sum, res, mul and div, on the other hand, the text fields will be named num1, num2, and result, and finally to the window we called calc. Well, we will keep this form with the name calc.ui and now comes the magic: with the command pyuic4 take that file. Ui and generate the code in Python. The command is: calc.ui-o calc_ui.py pyuic4
The result is illustrated below:
calc_ui.py
Noten QtDesigner that we have done all the dirty work, have modified added more properties or more components, write, test and maintain the code manually would be an unwelcome activity.
Here's an important point to treat, and every time we change our interface (. Ui) we have to regenerate the code in Python, so it is not advisable to make changes to the latter, as they will be overwritten without mercy .
calc.py
One difference we see between the code above and shown on slide 57 of presentation, is that in our class have not controlled event clicked () on the exit button . Instead, we defined a handler for this event from the same QtDesigner, redirecting the method close () of the form. In slide 44 we can see where is the editor of signals. Here is a screenshot of this tool:
more about the code, lines 13 through 16 we see how we link to a specific signal buttons, with four different methods located in the same class (line 18 to 28). The block from line 30 onwards is outside the definition of the class, and will be executed when the module is invoked as an entry point for the application.
To run the program: python
calc.py
Well, that we and our powerful calculator running. In a later entry we see the changes or problems that arise in doing this in windows, and more important things, we will use another method of communication between QtDesigner and Python, which is charged directly to the. Ui at runtime, ie without pre-generate the code with pyuic4.
links and attachments.
Python for all
Presentation
PyQt PyQt-calculadora.zip
Saturday, August 8, 2009
How Much Does Menchies Cost ?
Today there are many tools for developing applications Rich Internet as (RIA ) , one of them are JavaScript frameworks, and within these, is where it is located Ext JS , which allows us to develop applications with a speed considerable and looks very nice ( look and feel), it is noteworthy that there are already many "look and feel" to give a different look than conventional . His pronunciation (x'D) may be found in this official forum thread (Here) .
This library was initially developed as an extension of the library Yahoo! User Interface (YUI ) , and thanks to its good structure can now interact with jQuery, Prototype and YUI also Ext JS has its own library which is called Ext -base.
When programming with this library will which is very similar to use Java, because they can create windows, panels, grids , layouts, tooltips, tabs, control forms, menus , check box, radio button , trees, toolbar, combobox, date fields and many widget more, which is well documented.
There are three types of licenses:
Commercial- : If want to develop proprietary software that is the choice , its price ranges from $ 329 to $ 16.449, depending on the number of licenses desired.
- Open Source : This means your a explanation must be released under license GNU GPL V3 .
- Reseller: This type of license is required when you want to make a purchase framework or library based on Ext JS . To find the cost is necessary to contact the team Ext JS . Currently
Ext JS this in version 3.0 and can be downloaded from their official site here .
Installation:
- ext-3.0.0/resources/css/ext-all.css
- Ext-3.0.0/adapter/ext/ext-base.js
- ext-3.0.0/ext-all.js
Result:
Conclusion :
This library is currently being used by various entities of which we can cite some examples: Adobe , Amazon. Com , Boeing, Borland , Cisco, CNN , Down Jones & Co , HP, IBM ...
NOTES: also exists version to work with Google Web Toolkit (GWT ). Http://www.extjs.com/products/gxt/
Links:
Examples:
http://www.quizzpot.com/ (Course with videos, examples and materials. Very illustrative)
http://extjs.com/deploy/dev/examples/samples.html
http://extjsmexico. com / demos / modulo_usuarios / modulo_usuarios.php
http://www.sdsimple.es/app/ Username: passer password: passer HOT !
http://es.wikipedia.org/wiki/ExtJS
http://extjsmexico.com/