Go to advanced search

by frodo
Sat Feb 08, 2014 8:51 am
Forum: General discussion
Topic: RaspBerry Pi(e) Model C (imaginations & wants)
Replies: 431
Views: 150011

Re: RaspBerry Pi(e) Model C (imaginations & wants)

I don't wish for stronger hardware as the current config is really getting the job done and has a lot of idle machine cycles left. Well, maybe there's some cheap way to get away from those unreliable sd-cards. I just had to put my second card to sleep. This is getting annoying and costly over time. ...
by frodo
Sat Feb 01, 2014 8:18 am
Forum: C/C++
Topic: Problems compiling with #ifdef
Replies: 8
Views: 2239

Re: Problems compiling with #ifdef

Let's get the first obstacle out of the way: These preprocessor instructions DO NOT identify cpu architecture! A preprocessor macro is just like a trained monkey sitting in front of a desk with scissors, glue and lots of paper. He reads the source file (let's call it src.c) and if he reads "#include...
by frodo
Fri Jan 31, 2014 4:54 am
Forum: Other programming languages
Topic: Terminal "undo"
Replies: 6
Views: 4718

Re: Terminal "undo"

You need some overview of the Linux/UNIX operating system architecture (kernel, init, network, processes, daemons, filesystem, shell, documentation, printing system, configuration, X11) some introduction into major concepts like pipes, "one tool - one job", domain specific languages, the client-serv...
by frodo
Thu Jan 30, 2014 3:47 pm
Forum: Other programming languages
Topic: Common Lisp on Raspian
Replies: 13
Views: 9585

Re: Common Lisp on Raspian

Didn't have time for CL lately because I had to read some haskell code, and I never learned haskell or monads whatsoever. So, this was a distraction and I still have some tutorial stuff to read there. However, I had so far no problems with ccl on the raspi. I installed hunchentoot and restas via qui...
by frodo
Mon Jan 27, 2014 10:21 am
Forum: C/C++
Topic: where I can study opencv c++ image processing for raspberry
Replies: 9
Views: 2378

Re: where I can study opencv c++ image processing for raspbe

Thx thats helpfull... but I still not really know how to use argv and argc at raspberry for image processing Didn't you say you knew your way around in C++? In C/C++ argv is the argument vector of your process (a table of C-language strings) and argc is the number of the command line arguments. I r...
by frodo
Wed Jan 22, 2014 8:56 am
Forum: Beginners
Topic: Connection of printers.
Replies: 2
Views: 494

Re: Connection of printers.

lsusb
by frodo
Wed Jan 22, 2014 6:16 am
Forum: General discussion
Topic: FreeBSD 10 Builds
Replies: 4
Views: 1381

Re: FreeBSD 10 Builds

I second that. :mrgreen:
by frodo
Sat Jan 18, 2014 11:25 pm
Forum: C/C++
Topic: is there a real advantage to use C++ over Python?
Replies: 42
Views: 12238

Re: is there a real advantage to use C++ over Python?

That's one of the don't-outsmart-hardware-engineers category. Array copy is a built-in with all modern CPUs and only limited by cache sizes. We got megabytes in the caches nowadays, so if the process has a good run at a core on it's own... Actually this is one of my motives to have a new look at Lis...
by frodo
Sat Jan 18, 2014 10:58 pm
Forum: C/C++
Topic: is there a real advantage to use C++ over Python?
Replies: 42
Views: 12238

Re: is there a real advantage to use C++ over Python?

Modern processors have caches (in multiple levels) and pipelines and branch prediction and all sorts of go faster tricks. This means that actually knowing how long your instructions are going to take to run becomes almost impossible. For example if an instruction causes a cache miss it can be hundr...
by frodo
Sat Jan 18, 2014 10:16 pm
Forum: C/C++
Topic: is there a real advantage to use C++ over Python?
Replies: 42
Views: 12238

Re: is there a real advantage to use C++ over Python?

Well that hardware programming stuff in Ada was never meant for UNIX application development. It's for bare bones work in aviation and weapons control. It does a better job at that than inline asm though. It fully integrates the low level stuff into the language via the Ada type system. However, mos...
by frodo
Sat Jan 18, 2014 10:09 pm
Forum: Other programming languages
Topic: what language?
Replies: 5
Views: 1244

Re: what language?

Use python for design and hacking, C++ for implementation.

(And have a look at SDL-Basic. It's meant for game programmers, maybe it's an option on the raspi too.)
by frodo
Sat Jan 18, 2014 9:50 pm
Forum: C/C++
Topic: is there a real advantage to use C++ over Python?
Replies: 42
Views: 12238

Re: is there a real advantage to use C++ over Python?

Plenty of safety critical systems with stringent timing requirements are written in Ada or C++. Think fly by wire control systems as on the Boeing 777 (Ada) or Joint Strike Fighter (C++). Someone should add that Ada contains a sub-language that is, in effect, an assembler with Ada syntax and can be...
by frodo
Sat Jan 18, 2014 10:59 am
Forum: Raspbian
Topic: How to update raspbian to same level.
Replies: 3
Views: 921

Re: How to update raspbian to same level.

If I read this right, the second one is the newer and more up-to-date installation. So, maybe, you should try to update the first one? Also, look at the apt utilities and their documentation. There should be some tool to extract the current list of installed packages on a machine and one tool to fee...
by frodo
Sat Jan 18, 2014 10:10 am
Forum: General programming discussion
Topic: History; the first JIT is 30 years old
Replies: 3
Views: 1571

Re: History; the first JIT is 30 years old

Some would simply call this an optimized interpreter with delayed evaluation. But in Java you always need some layers of EnterpriseCodeObfuscatorObjects creating BusinessSourceCodeFactoryCreationSchemeClasses that iterateThroughXMLLogicalFuBarProducers according to a CoffeeOrTeeApplianceInventoryCre...
by frodo
Sat Jan 18, 2014 9:55 am
Forum: C/C++
Topic: where I can study opencv c++ image processing for raspberry
Replies: 9
Views: 2378

Re: where I can study opencv c++ image processing for raspbe

Then it's time to collect and read a small library of scientific papers, I guess.
I just browsed opencv.org to see what the problem is... Oh, well.
This is really library time. :mrgreen:

http://answers.opencv.org/question/5067 ... n-an/#5072
by frodo
Sat Jan 18, 2014 12:15 am
Forum: Beginners
Topic: Total Beginner advice!
Replies: 7
Views: 1043

Re: Total Beginner advice!

-> https://wiki.python.org/moin/

If an affordable book might be a choice despite the online preference: Learning Python.
It's real beginner stuff. :)

Make sure to browse http://www.python.org/ too, as it is the ultimate source for everything regarding python.
by frodo
Fri Jan 17, 2014 9:09 pm
Forum: C/C++
Topic: Unable to link header file with CMakeLists
Replies: 4
Views: 2004

Re: Unable to link header file with CMakeLists

You seem to mix absolute(1) and relative pathnames(2). Are you sure you really want to do this? What is the code in '/home/pi/git/emobot/core_prog/main.cpp:11:36'? What is the output of 'find /home -name RaspiCamCV.h'? (1) /usr/bin/cmake -H/home/pi/git/emobot/core_prog -B/home/pi/git/emobot/core_pro...
by frodo
Fri Jan 17, 2014 6:12 pm
Forum: General discussion
Topic: Console text colors
Replies: 2
Views: 884

Re: Console text colors

There's a couple of places where color is configured. On the GUI you should browse that options or preferences menu for "appearance" and "color theme". There are b/w-themes for the GUI. Lxterminal probably has it's own apearances menu with color schemes or themes. (I don't use it, I'm a xterm guy. )...
by frodo
Fri Jan 17, 2014 4:37 pm
Forum: C/C++
Topic: is there a real advantage to use C++ over Python?
Replies: 42
Views: 12238

Re: is there a real advantage to use C++ over Python?

A programmer that has been trained in Java or Python at university or college will write horrible C or C++. Intelligent memory management, low level string handling and writing fast code (as opposed to calling prefabricated modules) is something that has to be learned the hard way and (well-written)...
by frodo
Fri Jan 17, 2014 3:44 pm
Forum: C/C++
Topic: where I can study opencv c++ image processing for raspberry
Replies: 9
Views: 2378

Re: where I can study opencv c++ image processing for raspbe

Can you write C++ applications for UNIX now? If yes, the online documentation of opencv++ should be pretty much anything you need. If you don't understand the documentation, learn C++ first. This world really has no shortcuts to avoid skill acquisition. If learning a complex construction language li...
by frodo
Thu Jan 16, 2014 1:08 am
Forum: Advanced users
Topic: Translate OS to Mayan
Replies: 2
Views: 646

Re: Translate OS to Mayan

The most popular operating system and software collection on raspberry pi is a customized debian, called raspian. Here's a an overview of the technical details of Debian internationalization (language translation) stuff: http://www.debian.org/doc/manuals/intro-i18n/ An even more important page is th...
by frodo
Wed Jan 15, 2014 10:10 pm
Forum: C/C++
Topic: Best programming environment
Replies: 6
Views: 2485

Re: Best programming environment

So, and all this hassle is supposed to be more comfortable and more user friendly than just 'slogin -X [email protected] xterm'? :?
by frodo
Wed Jan 15, 2014 2:26 pm
Forum: C/C++
Topic: Restrict to Pi
Replies: 3
Views: 757

Re: Restrict to Pi

Use gpio.
by frodo
Tue Jan 14, 2014 3:00 pm
Forum: Raspbian
Topic: sockets on raspbian
Replies: 9
Views: 1557

Re: sockets on raspbian

Have you tried rebuilding the Ada stuff for your raspian environment?
by frodo
Tue Jan 14, 2014 5:14 am
Forum: Deutsch
Topic: [OT] Fragen zum Informatikstudium [+TLDR]
Replies: 2
Views: 676

Re: [OT] Fragen zum Informatikstudium [+TLDR]

Das Interessante beim Informatikstudium ist nicht das Erlernen von konkreten Sprachen, sondern die Frage, was man dann eigentlich mit diesen Sprachen (und mit Hardwaresystemen) anstellen kann. Programmieren ist ein Handwerk, Informatik ist eine Wissenschaft: Informationsmathematik. Du bist Deiner Se...

Go to advanced search