Search Results

Search found 6702 results on 269 pages for 'niel de wet'.

Page 193/269 | < Previous Page | 189 190 191 192 193 194 195 196 197 198 199 200  | Next Page >

  • How to get better at solving Dynamic programming problems

    - by newbie
    I recently came across this question: "You are given a boolean expression consisting of a string of the symbols 'true', 'false', 'and', 'or', and 'xor'. Count the number of ways to parenthesize the expression such that it will evaluate to true. For example, there is only 1 way to parenthesize 'true and false xor true' such that it evaluates to true." I knew it is a dynamic programming problem so i tried to come up with a solution on my own which is as follows. Suppose we have a expression as A.B.C.....D where '.' represents any of the operations and, or, xor and the capital letters represent true or false. Lets say the number of ways for this expression of size K to produce a true is N. when a new boolean value E is added to this expression there are 2 ways to parenthesize this new expression 1. ((A.B.C.....D).E) ie. with all possible parenthesizations of A.B.C.....D we add E at the end. 2. (A.B.C.(D.E)) ie. evaluate D.E first and then find the number of ways this expression of size K can produce true. suppose T[K] is the number of ways the expression with size K produces true then T[k]=val1+val2+val3 where val1,val2,val3 are calculated as follows. 1)when E is grouped with D. i)It does not change the value of D ii)it inverses the value of D in the first case val1=T[K]=N.( As this reduces to the initial A.B.C....D expression ). In the second case re-evaluate dp[K] with value of D reversed and that is val1. 2)when E is grouped with the whole expression. //val2 contains the number of 'true' E will produce with expressions which gave 'true' among all parenthesized instances of A.B.C.......D i) if true.E = true then val2 = N ii) if true.E = false then val2 = 0 //val3 contains the number of 'true' E will produce with expressions which gave 'false' among all parenthesized instances of A.B.C.......D iii) if false.E=true then val3=( 2^(K-2) - N ) = M ie. number of ways the expression with size K produces a false [ 2^(K-2) is the number of ways to parenthesize an expression of size K ]. iv) if false.E=false then val3 = 0 This is the basic idea i had in mind but when i checked for its solution http://people.csail.mit.edu/bdean/6.046/dp/dp_9.swf the approach there was completely different. Can someone tell me what am I doing wrong and how can i get better at solving DP so that I can come up with solutions like the one given above myself. Thanks in advance.

    Read the article

  • Cloud Infrastructure has a new standard

    - by macoracle
    I have been working for more than two years now in the DMTF working group tasked with creating a Cloud Management standard. That work has culminated in the release today of the Cloud Infrastructure Management Interface (CIMI) version 1.0 by the DMTF. CIMI is a single interface that a cloud consumer can use to manage their cloud infrastructure in multiple clouds. As CIMI is adopted by the cloud vendors, no more will you need to adapt client code to each of the proprietary interfaces from these multiple vendors. Unlike a de facto standard where typically one vendor has change control over the interface, and everyone else has to reverse engineer the inner workings of it, CIMI is a de jure standard that is under change control of a standards body. One reason the standard took two years to create is that we factored in use cases, requirements and contributed APIs from multiple vendors. These vendors have products shipping today and as a result CIMI has a strong foundation in real world experience. What does CIMI allow? CIMI is both a model for the resources (computing, storage networking) in the cloud as well as a RESTful protocol binding to HTTP. This means that to create a Machine (guest VM) for example, the client creates a “document” that represents the Machine resource and sends it to the server using HTTP. CIMI allows the resources to be encoded in either JavaScript Object Notation (JSON) or the eXentsible Markup Language (XML). CIMI provides a model for the resources that can be mapped to any existing cloud infrastructure offering on the market. There are some features in CIMI that may not be supported by every cloud, but CIMI also supports the discovery of which features are implemented. This means that you can still have a client that works across multiple clouds and is able to take full advantage of the features in each of them. Isn’t it too early for a standard? A key feature of a successful standard is that it allows for compatible extensions to occur within the core framework of the interface itself. CIMI’s feature discovery (through metadata) is used to convey to the client that additional features that may be vendor specific have been implemented. As multiple vendors implement such features, they become candidates to add the future versions of CIMI. Thus innovation can continue in the cloud space without being slowed down by a lowest common denominator type of specification. Since CIMI was developed in the open by dozens of stakeholders who are already implementing infrastructure clouds, I expect to CIMI being adopted by these same companies and others over the next year or two. Cloud Customers who can see the benefit of this standard should start to ask their cloud vendors to show a CIMI implementation in their roadmap.  For more information on CIMI and the DMTF's other cloud efforts, go to: http://dmtf.org/cloud

    Read the article

  • Apple Event le 8 avril consacré à l'Iphone OS 4

    [IMG]http://www.developpez.net/forums/attachment.php?attachmentid=60736&stc=1&d=1270501060[/IMG] C'est cette invitation là que les journalistes ont reçu pour un Apple Event qui se tiendra le 8 avril dans les locaux d'Apple à Cupertino. Apple leur présentera la version 4 de l'iPhone OS. Rendez-vous donc jeudi soir pour en savoir plus....

    Read the article

  • More Than a Map - Ubilabs

    More Than a Map - Ubilabs In Hamburg, Germany we met with certified Google Maps API development partner Ubilabs. Ubilabs founders Michael Pletziger and Martin Kleppe showed us some of the Google Maps API driven projects they have built for Germany's largest brands such as Deutsche Telekom, Blitzer.de, and BMW. Read more on morethanamap.com #morethanamap From: GoogleDevelopers Views: 6 0 ratings Time: 01:48 More in Science & Technology

    Read the article

  • Windows 8 : le comparatif des quatre éditions. Quelles différences entre Windows RT, Windows 8, et les versions Pro et Entreprise ?

    Windows 8 : le comparatif des fonctionnalités des quatre éditions Quelles sont les différences entre Windows RT, Windows 8, et les versions Pro et Entreprise Windows 8 est arrivé. Après nous être penchés sur les prix et les conditions matérielles requises, voici un tableau comparatif (le plus exhaustif possible, mais qui ne l'est évidemment pas totalement) pour faire le point sur les différences et les points communs entre les 4 éditions du nouvel OS de Microsoft. [IMG]http://ftp-developpez.co...

    Read the article

  • More Than a Map - Upande

    More Than a Map - Upande In Nairobi, Kenya, we met with Mark de Blois and Bernadette Ndege. Upande has created a variety of geospatial solutions using Google Maps and Earth for a diverse range of business clients, UN organizations, Government, Non-Governmental Organizations and the public sector. Upande project Virtual Kenya is an online geospatial platform to visualize and share data about Kenya. Read more on morethanamap.com #morethanamap From: GoogleDevelopers Views: 11 0 ratings Time: 02:05 More in Science & Technology

    Read the article

  • Advantages of not Javascript/HTML/CSS for front-end web development?

    - by user2202911
    So I've recently been getting into front-end web development from an embedded systems background and have always thought Javascript/HTML/CSS are not only the de-facto standards but the ONLY tools for the job, similar to what C is for embedded systems. Recently, I've stumbled upon things like Dreamweaver, JSP, facelets, and GWT. While researching these to find out if they are worth learning, I can't get over the idea of why someone wouldn't just use Javascript/HTML/CSS instead. Why deviate from the defacto standards?

    Read the article

  • Chrome : 4 ans seulement et déjà 500 "Experiments", Google sort une WebApps pour e-musiciens faite avec Go et des technos webs

    Chrome : 4 ans seulement et déjà 500 Experiments Google fait une WebApps avec Go et des technos webs pour e-musiciens Chrome est certainement un des succès les plus remarquables de Google. Lorsque le navigateur a été lancé il y a à peine 4 ans, beaucoup se demandaient l'intérêt d'un tel projet. Et s'il allait réussir à se faire une place sur le marché entre Internet Explorer et Firefox. [IMG]http://ftp-developpez.com/gordon-fowler/History%20of%20Browsers.png[/IMG] "Evolution of The Web", une ligne chronologique en technos Web (Google...

    Read the article

  • Windows 8.1 : IE11 et Google ne s'accordent pas, plusieurs utilisateurs notent des soucis avec l'affichage des résultats Google dans IE11

    Windows 8.1 : IE11 et Google ne s'accordent pas, plusieurs utilisateurs notent des soucis avec l'affichage des résultats Google dans IE11 Peu après une mise à jour vers Windows 8.1, plusieurs utilisateurs ont déjà constaté des soucis avec l'affichage des résultats de recherche Google dans Internet Explorer 11. La page devient difficilement déchiffrable et l'affichage des résultats se fait sur une colonne. Cela affecte aussi bien une navigation avec IE11 sur le Bureau qu'en environnement Modern...

    Read the article

  • Google gagne plus d'argent avec l'iPhone qu'avec Android d'après The Guardian, quatre fois plus

    Google gagne plus d'argent avec l'iPhone qu'avec Android D'après The Guardian, quatre fois plus même Le monde des mobiles est décidément étonnant. Après Microsoft - qui gagne de l'argent grâce à Android, ses brevets et des royalties versées par plusieurs constructeurs (lire ici et là) - on apprend aujourd'hui que c'est Google qui engrange des revenus grâce à un concurrent. Et pas n'importe lequel puisqu'il s'agit du leader du marché lui-même : l'iPhone. Ces revenus seraient même tellement importants que, toujours d'après The Guardian, Google gagnerai...

    Read the article

  • TROUG Day - 11 Ekim 2012

    - by TUFEKCIOGLU,FATIH
    http://www.troug.org/?p=278   ACE Panel sirasinda yapilacak çekilisle bir kisiye Oracle sertifikasyon egitimi bir kisiye de Java sertifikasyon egitimi sponsorumuz BILGINÇ IT Academy tarafindan hediye edilecektir. Egitimi kazanabilmek için “ön kayit” yaptirmaniz ve çekilis aninda ACE Panel’de bulunmaniz sarttir. Etkinlik Yeri: Bahçesehir Üniversitesi Besiktas Kampüsü Etkinlik Tarihi: 11 Ekim 2012 (09:00-17:00) Kayit Islemleri: http://apex.oracle.com/pls/apex/f?p=222333:1

    Read the article

  • Google ouvre la beta d'Analytics Mobile App et sort deux SDK pour le Google Analytics des applications Android et iOS

    Google ouvre la beta d'Analytics Mobile App Le Google Analytics pour applications Android et iOS En juin, Google avait lancé une beta privée de « Mobile Analytics App », son service permettant à la fois d'évaluer l'audience des applications mobiles et différents éléments (versions, etc.). Cette beta est désormais disponible en version publique. Première amélioration qui accompagne cette arrivée, les deux SDK pour Android et iOS ont été entièrement refaits et simplifiés pour générer des rapports en 5 minutes. [IMG]http://ftp-developpez.com/gordon-fowler/GoogleAppAnalytics.png[/IMG] Des rapports qui contiennent à présent beaucoup plus ...

    Read the article

  • I have Ubuntu 12.04 installed on my pc and the pc hangs and does not restart more (translated)

    - by adail
    Translated from google My pc is an intel atom + Yes, it came with windows 7, formatted and installed Ubuntu 12.04, but the pc is unstable, it will not turn off properly and alone, appearing msg that there is no image signal, what to do? Meu pc é um Sim+ intel aton, veio com o windows 7, formatei e instalei o ubunto 12.04, mas o pc está instavel, ele não liga corretamente e desliga sozinho, aparecendo a msg que não ha sinal de imagem, o que fazer?

    Read the article

  • Multilingual Publishing Pack (MLP): make a link to the corresponding page in the another language?

    - by lyle
    I am helping to build a bilingual website using MLP on TextPattern. It's trivial to put a link to the top level page of another language, but how to put a link to the current page in another language? Eg. /en/contact should link to /de/kontakt (the same article in another language). I'm sure there are some variables somewhere that I could put into the template that would be filled with the correct links.

    Read the article

  • GZipped Images - Is It Worth?

    - by charlie
    Most image formats are already compressed. But in fact, if I take an image and compress it [gzipping it], and then I compare the compressed one to the uncompressed one, there is a difference in size, even though not such a dramatic difference. The question is: is it worth gzipping images? the content size flushed down to the client's browser will be smaller, but there will be some client overhead when de-gzipping it. Please advise.

    Read the article

  • Using MLP, how to make a link to the according page in the other languages?

    - by lyle
    the question says it all, but here's a bit more detail: I help building a bilingual website using MLP on TextPattern. It's trivial to put a link to the top level page of another language, but how to put a link to the current page in another language? Eg. /en/contact should link to /de/kontakt (the same article in another language). I'm sure there are some variables somewhere that I could put into the template that would be filled with the correct links. Thankx in advance. :)

    Read the article

  • Opera passe la barre symbolique des 100 millions d'utilisateurs et serait le troisième navigateur le

    Mise à jour du 12/04/10 [Les commentaires de cette mise à jour commencent ici] Opera passe la barre symbolique des 100 millions d'utilisateurs Et serait le troisième navigateur le plus utilisé en Europe devant Chrome Après avoir doublé ses téléchargements en Europe depuis l'arrivée du "Ballot Screen" sur Windows (lire ci-avant), Opera annonce aujourd'hui avoir passé la barre symbolique des 100 millions d'utilisateurs. Ce chiffre prend en compte toutes les versions du navigateur à...

    Read the article

  • CLI on the Web

    <b>Miguel de Icaza's web log:</b> "We could do this by linking Mono directly into the browser. This would allow developers to write code like this:"

    Read the article

  • Mozilla : le projet d'écosystème d'applications Web se concrétise, la fondation sort une première version avec une API stable

    Mozilla : le projet d'écosystème d'applications Web se concrétise La fondation sort une première version avec une API stable Mise à jour du 04/03/11 par Idelways La fondation Mozilla vient d'annoncer la disponibilité d'une première version du projet «*Mozilla Web Application*». Un projet très ambitieux, destiné à créer un écosystème de boutiques d'applications Web (gratuites ou payantes), ouvert à tous les navigateurs modernes et à tous les périphériques (lire ci-devant). Des applications écrites, bien entendu, avec les standards Web : HTML5, JavaScript, etc. Ce premier Build du projet embarque une API stable, des utilitaires pou...

    Read the article

  • Chrome 5, une beta riche en nouvelles fonctionnalités et encore plus rapide : Flash, HTML 5 et navig

    Mise à jour du 05/05/10 NB : Les commentaires sur cette mise à jour commencent ici dans le topic Chrome 5, une nouvelle beta qui vaut le détour Encore plus rapide, elle intègre de très nombreuses fonctionnalités : Flash, HTML 5 et navigation privée au menu Chrome 5.0.375.29 vient d'arriver sur le beta channel. Cette fois-ci, et contrairement à la précédente (lire ci-avant), on peut qualifier cette évolution d'importante tant les nouvelles fonctionnalités et les améliorations sont nom...

    Read the article

< Previous Page | 189 190 191 192 193 194 195 196 197 198 199 200  | Next Page >