published by dereine on 14. September 2011 - 9:43
Leider geschieht es von Zeit zu Zeit dass man nicht seine gewollte Produktivitaet erreichen kann.
Oft ist man selber daran schuld, aber wenn z.B. das System mit welchem man arbeiten, beziehungsweise deren Konfiguration
sich als das Hindernis erweist ist es schon sehr aergerlich.
Gerade passiert es mir dass ich etwa 10mal langsamer bin als ich sein koennte. Echt schade, aber auch wenn man Geld
dafuer bekommt, das ist eigentlich keine Arbeit, fuer die es sich lohnt.
So hoffentlich hilft das erstmal gegen den Frust.
published by dereine on 14. June 2011 - 14:59
Usually I use gnuplot to plot some data.
If you calculate things in c++ you have to see the output using gnuplot quite often, so there should be some automation
to generate the plots. python is perfect for it.
Let's assume you have "programm.dat" with your data.
# Import the gnuplot packages
import Gnuplot, Gnuplot.funcutils
plot = Gnuplot.Gnuplot()
plot('set terminal eps')
plot("set output 'programm.eps'")
plot("plot 'programm.dat' title 'Data'")
plot('quit')
That's it.
published by dereine on 3. June 2011 - 14:03
If you don't use the c functions to output data you can use the following code
to write stuff into the output/file
std::cout << scientic << variable << std::endl;
published by dereine on 2. June 2011 - 8:44
Seit langem war bekannt dass die beiden Sunden Pioneer 10[1] und Pioneer 11 [2] ein wenig von
ihrer Bahn abwichen. Die Sonden schienen von einer unbekannten Kraft abgebremst.
Dabei konnte man sich lange nicht erklären woher der Effekt kam, so dass diverse Theorien aufgebracht wurden
published by dereine on 29. May 2011 - 12:17
We are doing some numeric calculations for university directly in c++, so it's as fast as possible.
One thing which makes c++ such fast are the compiler optimisations which helps to reduce the amount of code and speed things up by applying some logic.
For example
if (a + b > b)
can be converted to
if (a > 0)
You think this is a good optimisation? Often yes but in general no. Here is an example which cost me more then one day of debugging/deassembling etc.
published by dereine on 23. April 2011 - 20:40
Bei verschiedenen Mathematischen/Physikalischen Problemen benutzt man die Numerische Mathematik
um eine Lösung zu erhalten.
Dabei gibt es zwei unterschiedliche Hauptgründe:
published by dereine on 18. February 2011 - 7:56
/**
* Move form elements into fieldsets for presentation purposes.
*
* Many views forms use #tree = TRUE to keep their values in a hierarchy for
* easier storage. Moving the form elements into fieldsets during form building
* would break up that hierarchy. Therefore, we wait until the pre_render stage,
* where any changes we make affect presentation only and aren't reflected in
* $form_state['values'].
*/
published by dereine on 12. September 2010 - 21:17
Inspired by http://drupal4hu.com/node/266 in started to write a small python script which fills out the cisco "network authentication system" on my home.
Therefore the script has to fill out a form and click a Login button. My connection drops every 8 hours so i thought it would be cool to automatically login every 8-N hours so i don't have to do it automatically any more.
So here is a small script
Inspired from http://drupal4hu.com/node/266
These lines will get us the modules we need.
from PyQt4.QtCore import QUrl, SIGNAL
from PyQt4.QtGui import QApplication
published by dereine on 12. September 2010 - 21:08
Inspired by http://drupal4hu.com/node/266 in started to write a small python script which fills out the cisco "network authentication system" on my home.
Therefore the script has to fill out a form and click a Login button. My connection drops every 8 hours so i thought it would be cool to automatically login every 8-N hours so i don't have to do it automatically any more.
So here is a small script
Inspired from http://drupal4hu.com/node/266
These lines will get us the modules we need.
from PyQt4.QtCore import QUrl, SIGNAL
from PyQt4.QtGui import QApplication
published by dereine on 25. August 2010 - 18:51
Drupal is indeed unique.
It's not the software, it's not the money, it's not the drupalcon itself, it's the community.
Every person i met here on drupalcon is so friendly that i cannot find words for this.
Sorry for everyone which had other experiences but you might do something wrong.
Drupalcon is the community!
Pages