Skip to main content

Home/ Advanced Concepts Team/ Group items tagged Python

Rss Feed Group items tagged

Francesco Biscani

STLport: An Interview with A. Stepanov - 2 views

  • Generic programming is a programming method that is based in finding the most abstract representations of efficient algorithms.
  • I spent several months programming in Java.
  • for the first time in my life programming in a new language did not bring me new insights
  • ...2 more annotations...
  • it has no intellectual value whatsoever
  • Java is clearly an example of a money oriented programming (MOP).
  •  
    One of the authors of the STL (C++'s Standard Template Library) explains generic programming and slams Java.
  • ...6 more comments...
  •  
    "Java is clearly an example of a money oriented programming (MOP)." Exactly. And for the industry it's the money that matters. Whatever mathematicians think about it.
  •  
    It is actually a good thing that it is "MOP" (even though I do not agree with this term): that is what makes it inter-operable, light and easy to learn. There is no point in writing fancy codes, if it does not bring anything to the end-user, but only for geeks to discuss incomprehensible things in forums. Anyway, I am pretty sure we can find a Java guy slamming C++ ;)
  •  
    Personally, I never understood what the point of Java is, given that: 1) I do not know of any developer (maybe Marek?) that uses it for intellectual pleasure/curiosity/fun whatever, given the possibility of choice - this to me speaks loudly on the objective qualities of the language more than any industrial-corporate marketing bullshit (for the record, I argue that Python is more interoperable, lighter and easier to learn than Java - which is why, e.g., Google is using it heavily); 2) I have used a software developed in Java maybe a total of 5 times on any computer/laptop I owned over 15 years. I cannot name of one single Java project that I find necessary or even useful; for my usage of computers, Java could disappear overnight without even noticing. Then of course one can argue as much as one wants about the "industry choosing Java", to which I would counterargue with examples of industry doing stupid things and making absurd choices. But I suppose it would be a kind of pointless discussion, so I'll just stop here :)
  •  
    "At Google, python is one of the 3 "official languages" alongside with C++ and Java". Java runs everywhere (the byte code itself) that is I think the only reason it became famous. Python, I guess, is more heavy if it were to run on your web browser! I think every language has its pros and cons, but I agree Java is not the answer to everything... Java is used in MATLAB, some web applications, mobile phones apps, ... I would be a bit in trouble if it were to disappear today :(
  •  
    I personally do not believe in interoperability :)
  •  
    Well, I bet you'd notice an overnight disappearance of java, because half of the internet would vanish... J2EE technologies are just omnipresent there... I'd rather not even *think* about developing a web application/webservice/web-whatever in standard C++... is it actually possible?? Perhaps with some weird Microsoft solutions... I bet your bank online services are written in Java. Certainly not in PHP+MySQL :) Industry has chosen Java not because of industrial-corporate marketing bullshit, but because of economics... it enables you develop robustly, reliably, error-prone, modular, well integrated etc... software. And the costs? Well, using java technologies you can set-up enterprise-quality web application servers, get a fully featured development environment (which is better than ANY C/C++/whatever development environment I've EVER seen) at the cost of exactly 0 (zero!) USD/GBP/EUR... Since many years now, the central issue in software development is not implementing algorithms, it's building applications. And that's where Java outperforms many other technologies. The final remark, because I may be mistakenly taken for an apostle of Java or something... I love the idea of generic programming, C++ is my favourite programming language (and I used to read Stroustroup before sleep), at leisure time I write programs in Python... But if I were to start a software development company, then, apart from some very niche applications like computer games, it most probably would use Java as main technology.
  •  
    "I'd rather not even *think* about developing a web application/webservice/web-whatever in standard C++... is it actually possible?? Perhaps with some weird Microsoft solutions... I bet your bank online services are written in Java. Certainly not in PHP+MySQL :)" Doing in C++ would be awesomely crazy, I agree :) But as I see it there are lots of huge websites that operate on PHP, see for instance Facebook. For the banks and the enterprise market, as a general rule I tend to take with a grain of salt whatever spin comes out from them; in the end behind every corporate IT decision there is a little smurf just trying to survive and have the back covered :) As they used to say in the old times, "No one ever got fired for buying IBM". "Industry has chosen Java not because of industrial-corporate marketing bullshit, but because of economics... it enables you develop robustly, reliably, error-prone, modular, well integrated etc... software. And the costs? Well, using java technologies you can set-up enterprise-quality web application servers, get a fully featured development environment (which is better than ANY C/C++/whatever development environment I've EVER seen) at the cost of exactly 0 (zero!) USD/GBP/EUR... Since many years now, the central issue in software development is not implementing algorithms, it's building applications. And that's where Java outperforms many other technologies." Apart from the IDE considerations (on which I cannot comment, since I'm not a IDE user myself), I do not see how Java beats the competition in this regard (again, Python and the huge software ecosystem surrounding it). My impression is that Java's success is mostly due to Sun pushing it like there is no tomorrow and bundling it with their hardware business.
  •  
    OK, I think there is a bit of everything, wrong and right, but you have to acknowledge that Python is not always the simplest. For info, Facebook uses Java (if you upload picture for instance), and PHP is very limited. So definitely, in company, engineers like you and me select the language, it is not a marketing or political thing. And in the case of fb, they come up with the conclusion that PHP, and Java don't do everything but complement each other. As you say Python as many things around, but it might be too much for simple applications. Otherwise, I would seriously be interested by a study of how to implement a Python-like system on-board spacecrafts and what are the advantages over mixing C, Ada and Java.
Marcus Maertens

Python is becoming the world's most popular coding language - Daily chart - 3 views

  •  
    In the past 12 months Americans have searched for Python on Google more often than for Kim Kardashian, a reality-TV star. The number of queries has trebled since 2010, while those for other major programming languages have been flat or declining.
  •  
    Likely this is correlated with the increased interest in machine learning in the past decade - all the popular DL libraries are Python-based after all...
ESA ACT

Giant, Python Powered Robots. - 0 views

  •  
    Long life Python!!! Check the Alec Thomas comment.
Francesco Biscani

YouTube - Advanced Python or Understanding Python - 0 views

  •  
    Nice explanation of Python's internals.
Juxi Leitner

Google's Go: A New Programming Language That's Python Meets C++ - 6 views

  •  
    Big news for developers out there: Google has just announced the release of a new, open sourced programming language called Go. The company ...
  • ...2 more comments...
  •  
    Ugh... no operator overloading, no efficient generic programming and no lambda expressions... Only time will tell, but I don't understand who the intended audience is: I think that Python guys won't care about the (supposedly) increased performance (and you can interface C/C++ with Python easily) and that C++ programmers (I mean, the hardcore serious C++ Boost-like programmers, no the Java-like whiners :P) won't have their beloved templates pried from their cold dead hands with ease.
  •  
    yeah though I think especially operator overloading is not going to be a main problem, it is as with the JS library though quite thinkable that lots of users will switch or use it (or being put to use it...) because it is done by Google
  •  
    Having Google backing it will certainly help, even though they are presenting it as a "system level" (i.e., hard-core) language, and in that domain it is much more difficult to bullshit your way to a position of relevance. Look at Java: Sun pushed it like hell and it is certainly widely used in many contexts (corporate, web and embedded markets mostly), yet it completely failed to win the hearts of "open-source" developers (or, more generally, of those developers who are not forced to use it by virtue of some management-driven decision).
  •  
    "or, more generally, of those developers who are not forced to use it by virtue of some management-driven decision" completely agree with that!!
Marcus Maertens

pyrasite: Tools for injecting code into running Python processes - 2 views

shared by Marcus Maertens on 26 Jul 19 - No Cached
  •  
    Need to tap into a python session? Look no further!
Luís F. Simões

Pattern | CLiPS - 2 views

  • Pattern is a web mining module for the Python programming language. It bundles tools for data retrieval (Google + Twitter + Wikipedia API, web spider, HTML DOM parser), text analysis (rule-based shallow parser, WordNet interface, syntactical + semantical n-gram search algorithm, tf-idf + cosine similarity + LSA metrics) and data visualization (graph networks).
  •  
    Intuitive, well documented, and very powerful. A library to keep an eye on. Check the example Belgian elections, June 13, 2010 - Twitter opinion mining
jmlloren

Hack the multiverse - 1 views

shared by jmlloren on 20 Jul 11 - Cached
LeopoldS liked it
  •  
    Interesting blog maintained by the people from D-Wave, who developed the first commercial quantum computer. The blog presents a python implementation to program the D-Wave and some examples.
LeopoldS

The Go Programming Language - 3 views

  •  
    new programming language - hybrid between c and python .... from google .... of any interest for us?
  •  
    See the other post for my comments....
  •  
    sorry - did not see Juxi's entry ....
Marcus Maertens

Explain python global interpreter lock (GIL) Like I'm Five - 3 views

  •  
    Best explanation of the GIL so far
Annalisa Riccardi

An open-source MDAO framework written in Python - 1 views

shared by Annalisa Riccardi on 03 Apr 13 - No Cached
LeopoldS liked it
  •  
    Multidisciplinary Design Analysis and Optimization framework developed by NASA since 2010
jcunha

Quantizer - 1 views

  •  
    A sonification experiment taking data from ATLAS and translating it into music. The outcome was played at Montreux jazz fest, listen to the results in soundcloud https://soundcloud.com/sonification-quantizer. The way it works is "A tiny subset of collision data from the ATLAS Detector (in CERN, Switzerland) is being generated and streamed in real-time into a sonification engine built atop Python, Pure Data, Ableton, and IceCast." Code's in github https://github.com/cherston/Quantizer_public
Joris _

International Space Apps Challenge - 3 views

  •  
    The International Space Apps Challenge is now over, it is interesting to have a look at the solutions ...
  • ...1 more comment...
  •  
    can't find much interesting in the list ...
  •  
    what sort of "app" is this e.g. http://spaceappschallenge.org/challenge/brightest-night/solution/132 "We started of by trying to set our camera in raw mode, howsoever this can't be done for current logitech modules and without a high risk of permanently destroying the camera (reflashing the EEPROM). we use a logitech c920 and captured a raw image from it using guvcview on ArchLinux we then wrote some python code to calculate the average BGR value of our Image. We are currently workin on automiztion, but this will take much longer as there will be a lot of reverse engineering of the USB-Protocol needed."
  •  
    c'mon really! To name a few: - Tour of the Solar System ... that is one of the numerous specialities of the ACT. - Satellite data correlation tool ... solution is flawed, but I really like the idea. Lot of added value. I definitely think are interestung stuffs to do there for cheap. - Aurora project: Model & Data ... space weather not interesting?! - Kepler ... a classic Do not expect the solutions to be tremendous just after 3 days of work, but the proposed list of challenges are "seeds" for innovation to me.
jmlloren

QuTiP - Quantum Toolbox in Python - 1 views

shared by jmlloren on 10 Sep 13 - No Cached
H H liked it
  •  
    It is a very interesting projecto to easily perform quantum optics calculations.
LeopoldS

OpenStack: An Open Source Cloud Project Emerges - 1 views

  •  
    Francesco, check this one out ... seems like coming at the right time for us ... Leopold
  •  
    Sure looks interesting, hopefully it will gain some traction. Bonus point it uses Python heavily :) First versions are coming out in Sept/Oct, according to their roadmap, we could start playing with it as soon as it gets out.
Francesco Biscani

Pi Computation Record - 4 views

  •  
    For Dario: the PI computation record was established on a single desktop computer using a cache optimized algorithm. Previous record was obtained by a cluster of hundreds of computers. The cache optimized algorithm was 20 times faster.
  • ...6 more comments...
  •  
    Teeeeheeeeheeee... assembler programmers greet Java/Python/Etc. programmers :)
  •  
    And he seems to have done everything in his free time!!! I like the first FAQ.... "why did you do it?"
  •  
    did you read any of the books he recommends? suggest: Modern Computer Arithmetic by Richard Brent and Paul Zimmermann, version 0.4, November 2009, Full text available here. The Art of Computer Programming, volume 2 : Seminumerical Algorithms by Donald E. Knuth, Addison-Wesley, third edition, 1998. More information here.
  •  
    btw: we will very soon have the very same processor in the new iMac .... what record are you going to beat with it?
  •  
    Zimmerman is the same guy behind the MPFR multiprecision floating-point library, if I recall correctly: http://www.mpfr.org/credit.html I've not read the book... Multiprecision arithmetic is a huge topic though, at least from the scientific and number theory point of view if not for its applications to engineering problems. "The art of computer programming" is probably the closest thing to a bible for computer scientists :)
  •  
    "btw: we will very soon have the very same processor in the new iMac .... what record are you going to beat with it?" Fastest Linux install on an iMac :)
  •  
    "Fastest Linux install on an iMac :)" that is going to be a though one but a worthy aim! ""The art of computer programming" is probably the closest thing to a bible for computer scientists :)" yep! Programming is art ;)
Francesco Biscani

The Semicolon Wars » American Scientist - 2 views

  •  
    Pretty interesting piece on computer languages.
  •  
    Yes, very good, but I don't get what all the fuss is about... everyone knows Python is the ultimate programming language! :) Follow up reading: If programming languages were religions... (quite accurate actually) Great quote from the article you linked to: In 1975 Edsger W. Dijkstra, a major figure in the structured-programming movement, wrote a memo titled "How Do We Tell Truths that Might Hurt?" The "truths" were mostly Dijkstra's opinions of programming languages; how he told them was very bluntly. Fortran is "an infantile disorder," PL/I "a fatal disease," APL "a mistake, carried through to perfection." Students exposed to COBOL "are mentally mutilated beyond hope of regeneration," he said. "The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."
  •  
    Fool! You can pry my templates from my cold dead hands!
Thijs Versloot

Scikit-learn is an open-source machine learning library for Python. Give it a try here! - 5 views

  •  
    Browsing Kaggle...
  •  
    Very nice library, we actually use it for GTOC7.
Alexander Wittig

IBM Makes Quantum Computing Available on IBM Cloud - 1 views

  •  
    IBM for the first time ever is making quantum computing available to the public, providing access to a quantum processor via the cloud. Users can create algorithms and run experiments and get inspired by the possibilities of a quantum computer.
  •  
    Looks interesting.. Have you tried it?
  •  
    Mathias Troyer from ETH Zurtich gave a talk in Leiden where he showed what he wants to be the replacement to this IBM programming or the best ally of it - program quantum computers with, for instance, python code. Nice developments coming from the quantum coding field, besides the fact we are ages away from a practical quantum computer.
eblazquez

GitHub - Aerospace-AI/Aerospace-AI.github.io - 3 views

  •  
    Cool repository with python source code for GNC applications of AI technology.
1 - 20 of 20
Showing 20 items per page