I need to do this:
(sorry not in javascript syntax-still learning object language :) )
object=car
attibutes:top-speed, brand....
now I want to sort the list of those cars in order by top-speed, brand...
How do I do this (please note the solution must be javascript only, no php or other stuff) ?
I've only ever learned to "program" with notepad when I was learning to create batch files in Windows.
I would appreciate if you can explain to me the benefits of working with an IDE over a text editor or vice versa. Please don't give emotional responses or argue someone else's suggestion/advice. I use Linux primarily. Also, I would like to be able to make programs that can be used in Windows, but programmed in Linux. Thanks.
Learning the basics of XML for the first time from W3C tutorials. How are most XML files generated? Does the server side application usually print a complete XML file to be parsed each time there is new data?
I have a CGI application in C and it includes the SQLite API. Is the best way to do some sort of printf to a XML file (using my data from the database) so it can be parsed?
Thanks.
I have installed xcode 3.2 with iphone SDK. (without Mac OS 10.4 SDK). WHen i create new project i only got these options for Mac OS
-- Application
-- Framework and Library
-- Application plugin
-- System plugin
--Other
But a book named: Programming Object C 2.0. From which i am learning object C. Its showing XCode with these templates for Mac OS
--Application
--Audio Units
--Automater actions
--Bundles
--Command Line Utility
--dynamic library
--Framework
--Java
--Kernal Extensions
--Standard Apple plugin
--Static Library
--Other
I need the Command Line Utility template so that can create sample projects mentioned in book.
I have been learning php for sometime now. Besides reading books and doing tutorials i also like to sometimes read other programmers code. I have came across this:
<?php
// authentication.
include_once($sys_root."/inc/authenticate_check.php");
I understand the use for $sys_root, but what i dont understand is, how is $sys_root bieng assigned a value.
I have checked and made sure that $sys_root is not a special var of PHP's.
Hello everyone
I have been coding procedural php for a while and I feel I got a pretty good hang of it.
I feel like learning something new. Any ideas on what is good/hot to know?
I have read some about zend mvc and it seems interesting, but im not sure..
I feel like procedural php is so unorganized and hard to debug when the project grows big.
help me out thanks
When i started learning function in C++ its all around pass by value and reference.
Is there something similar we have in javascript ?
If yes/not how it works in case of javascript?
Thanks all.
To a developer who is about to delve into learning how to use Silverlight would you recommend its worth the effort OR would you say its better to focus on HTML5? I am asking from a purely from a marketability perspective
I'm currently typing about 90 wpm (from http://speedtest.10-fast-fingers.com/ 90 correct 0 missed) using two fingers and the occasional ring or index. This probably grew from learning to type at an early age, before home-row was presented to me.
Is this acceptable? Do people religiously endorse home-row even with low-mistake poking without looking at the keyboard?
I have committed to learning C now, I'm good with Python/PHP/Bash but I've decided I'm limited by not being fluent in C. However I cannot imagine working in a language without lists and hashes, maybe I'm just jumping a gun, but surely there are 'standard' collection libraries. I do not see any in the GNU standard lib though, any suggestions?
I want to start learning Zend Framework. My only concern is that the most recent ZF book on Amazon with good reviews teaches version 1.8 of the framework, which is now about a year old. Do you think it would be a good idea to still pick up that book or is it too old now?
I m learning python c api functions and keen to learn python 3.1 stable version.
Found an unresolved issue recently and tried
PyModule_AddIntConstant(PyObject *module, const char *name, long value)
Runtime error occurred for this function call.
Is there something wrong with the function in python 3.1?
I'm interested in learning about the alternative patterns to Model-View-Controller, specifically the Model-View-Adapter and Application-View-Controller patterns.
Google results tend to be either a high-level overview or Java-based.
Can anyone either provide, or point me to, an example of these patterns in either PHP, Python or JavaScript?
in this book i have I'm learning pointers, and i just got done with the chapter about OOP (spits on ground) anyways its telling me i can use a member selection operator like this ( - ). it sayd that is is like the "." except points to objects rather than member objects. whats the difference, it looks like it is used the same way...
Book I’ learning from claims that intArray has two dimensions. But since calling intArray.GetLength(1) will result in an IndexoutOfRange exception, couldn’t we claim that unlike rectangular arrays, intArray isn’t really multidimensional and thus has only one dimension?
int[][] intArray=new int[3][];
thank you
Hi,
I am learning bash.
I would like to do a simple script that, when not arguments given, shows some message. And when I give numers as argument,s depending on the value, it does one thing or another.
I would also like to know suggestions for the best online manuals for beginners in bash
Thanks
I have seen a few times people using -1 as opposed to 0 when working with neural networks for the input data. How is this better and does it effect any of the mathematics to implement it?
Edit: Using feedforward and back prop
Edit 2: I gave it a go but the network stopped learning so I assume the maths would have to change somewhere?
Hi!
I'm learning C right now and so I'm fiddling about with pointers. Is there a way to determine the word width of the CPU in C because I'm writing a small program which prints it's own stack (Because I'm curious how it is structured), so that information would come in handy. Right now I'm using an int pointer, as an integer is 4 Bytes wide and I'm using a 32-bit Intel Atom CPU.
Thanks in advance, C gurus ;o)
I'm still at the beginning in learning scala in addition to java and i didn't get it how is one supposed to do DI there? can or should i use an existing DI library, should it be done manually or is there another way?
I know this question may well be the silliest question you've herd today, but to me it is a big question at this stage of my programming learning.
Why is the second empty line needed in this Python code? What does that line do?
print 'Content-Type: text/plain'
print ''
print 'Hello, world!'
I am learning about pmap and wrote the following function:
(pmap #((println "hello from " (-> (Thread/currentThread) .getName))
(+ %1 %2))
[1 1 1] [-1 -1 -1])
When run, the result is a NullPointerException
(hello from clojure-agent-send-off-pool-4
hello from clojure-agent-send-off-pool-3
hello from clojure-agent-send-off-pool-5
NullPointerException user/eval55/fn--56 (NO_SOURCE_FILE:11)
Why is this happening? I have understood and observed the body of a fn to be an implicit do.
Hi people,
I am comfortable with Java SE 6 and I wanted to go deeper into Java by learning Java EE 6. However, I am confused and I don't know which book(s) should I read to master Java EE 6 (I have never learned Java EE previously). Could you please suggest any appropriate book(s) to help me master Java EE completely?
Thank you for reading
when i read through source files of opensource projects i often come across some weird phrases in the comments
/*
@brief ......
@usage.....
@remarks....
@par....
*/
questions
1.What are they?(were not mentioned when i was learning c++)
2.Do they have any documentation(where)
Hello I've started to learning AS3 from one book and found something I don't understand.
Ellipse(_board[row][column]).fill = getFill(row, column);
_board is two dimensional array of Ellipse type, so I just dont understand why is Ellipse(Ellipse object) used when it apparently works without it, or I haven't seen any changes when I omitted it.