Exactly! I often find when trying to teach programming to beginners that starting with a register machine is easiest. Then you can gradually explore why functions or data structures exist. Then they...
Type: Posts; User: ehrt74; Keyword(s):
Exactly! I often find when trying to teach programming to beginners that starting with a register machine is easiest. Then you can gradually explore why functions or data structures exist. Then they...
I haven't had any problems yet with the csv or json parser libraries, so I have high hopes with the others.
Correcting the client code of jsonrpc to support multiple arguments seems to me to mean...
That does seem odd. Go is extremely standard-conform for most things, and the standard libraries are quite exhaustive. I've posted a reply to your post on the mailing list requesting clarification. ...
Well, there's no magic about writing good concurrent code. You just need to limit the possibilities the architecture offers down to an amount that you can reason about. A good way to do this is...
As far as I know, python doesn't have its own windowing system and widgets. Java does (swing).
Mm, try to create and coordinate a million posix threads on a Core i5. You can do that with minimal overhead in Go.
For the exact same reasons you may want to have a look at Go. This is a modern, open-source language with a large, active community and unparalleled support for concurrency. You can start programs...
No, no, no. Don't download the sdk from oracle.
Instead open a terminal and type:
sudo apt-get install openjdk-7-jdk
This will install the jdk and automatically update it, when updates...
Usually you use header files ( myfunctionaliy.h ) to declare things which are implemented in the source files ( myfunctionality.c ). This makes scanning the code quickly a lot easier.
Apart from...
Programming for me consists of a number of things which can be regarded seperately:
1/ learning to structure my thoughts clearly and algorithmically,
2/ translating this structure to the...
A programming language which is coming very fast is Dart (http://www.dartlang.org/). There's a single download with a development environment.
Dart is a language for building web applications. It...
If you're just trying to learn html, don't bother with php/python and the like. Just open a text editor and try some things out:
<html>
<body>
<h1>hello world!</h1>
</body>
</html>
for...
I think the language I'm most productive with nowadays is Dart. I know it's not a language for native application programming on Ubuntu, but you can write web apps with it which work on any modern...
C has some overloaded syntax which makes life difficult, and a book can help get a grasp of it.
For example, the asterisk has at least 3 distinct meanings. It either means "I'm defining something...
http://en.wikipedia.org/wiki/Integer_factorization
I wonder which format for Gimp you mean. PPM for example contains a header with the height and width of the file.
What you want to read up on are TLBs and page tables :)
Have you tried playing around with something like:
for i in `find . -type d`
do
echo $i
ls $i
done
trent.josephsen is quite correct that you can assemble and link an executable without using the label 'main'. an example would be:
.section .text
.globl _start
_start:
...
There's one thing worth mentioning as the book has certain problems. The world has changed since 2002!
For example, the book states that an assembly program starts at the _start label. I tried...
Here's a fairly short example:
.section .text
.globl main
main:
movl $1, %eax
movl $5, %ebx
Good to see Dart gradually crawling up the list. It's a very clear language for demonstrating OOP, and the developer tools are really good too :)
Well a TUI is just a shell or console or terminal or whatever you want to call it.
The trouble is that the TUI was developed in the days when a width of 80 characters was immense and computer...
I think the TUI could stage a comeback. It would be a different sort of device, but could find a niche, rather like the chromebook is doing but in the other direction.
One thing that would...
I think what the OP is talking about is for example why does the terminal open images in a new window? theoretically you could have these displayed in the terminal in an equally high quality.
How...