5,331 Posted Topics

Member Avatar for Bijendra_1
Re: php

Maybe he just wants to illustrate proper PHP or HTML code? :-)

Member Avatar for rubberman
0
154
Member Avatar for Latrell_vie

This is why I hate WordPress. They totally misuse PHP, mixing their PHP and HTML code. I would fire the lot of their developers if I was a senior/principal/managing engineer there. PHP should be written much like C++. Place the HTML and other client-side code (javascript, etc) in string variables …

Member Avatar for rubberman
0
509
Member Avatar for Rajan_7

Also, at the root, Android is Linux. So, become a proficient Android programmer and you will learn both Java and Linux. You can also use other low-level languages with Android such as C, C++, and Python.

Member Avatar for rubberman
0
190
Member Avatar for divinity02

It should be RelayRace implements Runnable, not RelayRacer. Or in the immortal words of Captain Kidd - ARR!

Member Avatar for JamesCherrill
0
187
Member Avatar for lewashby

Try running fsck on the partition of the sd card. Unfortunately, most use FAT file systems, so you may need to use fsck.fat to fix it.

Member Avatar for rubberman
0
2K
Member Avatar for kim_boto

Try a major SQL DBMS such as MySQL or Postgres. They are free, and are better than SQLCE.

Member Avatar for rubberman
0
95
Member Avatar for Rajan_7

Android is NOT an RTOS. It is Linux with some RT extensions, but is is not hard real time. The QNX OS (used on some Blackberry phones) is a hard RTOS. You can make sure that certain operations and interrupt handlers will meet hard deadlines in terms of system response.

Member Avatar for rubberman
0
305
Member Avatar for UI

$value is a dynamic variable that only lives within the scope of the loop it is used in. You have declared it with the loop declaraction.

Member Avatar for diafol
0
312
Member Avatar for can-mohan

Any particular reason why you are using the Boost serialization library? Also, what is the raw format that Boost puts the data into? XML? TCL? Proprietary?

Member Avatar for can-mohan
0
330
Member Avatar for Leeroy_1

Homework I presume. We don't do your homework for you. Make an honest effort to do the work and when you run into coding problems, post the code and errors here and then we may be able to help you.

Member Avatar for rubberman
0
2K
Member Avatar for Dani

Dani, did you install Zend "out-of-the-box", or did you rebuild it for OSX? I've had to rebuild it in the past for specific versions of Linux.

Member Avatar for Dani
0
388
Member Avatar for TECH_8

You just need a standard GNU C compiler to build a kernel module. You have to learn how to unpackage kernel source with dependencies so you get the headers and such that you need to build the module. In any case, your question indicates that you have some serious studying …

Member Avatar for rubberman
0
583
Member Avatar for Josh_3

You need a list of structures that are arranged by title, with a sub-structure of the comments associated. Then you can use either an array of structures (or in C++ a map ordered by title) or linked list. Make an effort to solve this and then post your code here …

Member Avatar for tinstaafl
0
450
Member Avatar for Luis_8

Have you looked on the Microsoft web site? This is not likely a problem we can answer for you without more information.

Member Avatar for James_80
0
381
Member Avatar for Dani

So, what happened earlier today with the forums? There was no response until just a bit ago. It looked like your ISP or other service provider was totally down. Anyway, glad you are back.

Member Avatar for Dani
0
350
Member Avatar for UI

Booleans are integral values. Floating point values (including doubles) are not. Comparing one to the other results in NAN (not a number) result. Time for you to refresh your math.

Member Avatar for Reverend Jim
0
282
Member Avatar for UI

I always cap them because then you can detect them in your code a LOT easier! Also, I am not sure, but they may need to be all caps anyway. I'd have to refer to the reference documentation to be sure.

Member Avatar for diafol
0
323
Member Avatar for _1_14

So, what does the SQL Server documentation tell you? Do you know enough Transact-SQL to process this in a stored procedure?

Member Avatar for _1_14
0
174
Member Avatar for Stat_1

Not enough information. Need server specs, operating system, and a lot of other stuff. With this "nugget" of information, you are on your own!

Member Avatar for rubberman
0
190
Member Avatar for SalmiSoft

Just get your timezone set properly and the proper clock time will take care of itself. When I go elsewhere, in another timezone, I just reset the clock timezone, and the rest is handled for me!

Member Avatar for rubberman
0
264
Member Avatar for simon_9

What the Reverend said - 5 meters is a REALLY long USB cable and unless it is designed to handle those distances (double-shielded tight twisted pair wires in the cable) you are not going to get much power through. Also, your system may not recognize the device. Post the output …

Member Avatar for rubberman
-1
312
Member Avatar for Prasad_4

The pointer just points to NULL. It has no storage space. you need to allocate space. You could use strdup to do that. IE, `sentence = strdup("helloworld");` strdup will allocate space for the string (including terminating NUL character) and copy the string to the newly allocated space that "sentence" now …

Member Avatar for Reverend Jim
-2
1K
Member Avatar for Sabik

I had to write barcode scanning and decoding software back in the mid-1980's so our customers could use barcode scanners to log in/out workers from the plant (a major steel manufacturer). I had to research all of that so that the software could store the data (login/logout times) into the …

Member Avatar for vini_1
1
380
Member Avatar for palash_1

I think that Android is trying to tell you that "D:\MyApplication3.idea\workspace.xml" is not a valid key file. Not sure how to fix other than going to the Android web site and doing some research on keystore files.

Member Avatar for rproffitt
0
4K
Member Avatar for UI
Member Avatar for Verlaine
Member Avatar for Reverend Jim

This cruft is why I refuse to use Windows. I run Linux on my systems, even my laptop.

Member Avatar for Ronn_1
0
1K
Member Avatar for davy_yg
Member Avatar for Selomie

Note that Java is not deterministic. You can do and time an operation once, but the next time the timing may be completely different. If you do this, and the garbage collector kicks in, your times will be wildly different. Do a hundred measurements of the same operations and average …

Member Avatar for rubberman
0
292
Member Avatar for rjadkins

So, where is your finite state machine (FSM)? A state machine looks at the state of the system and acts appropriately (hopefully) to transition to the next run state. Do you really understand them?

Member Avatar for rjadkins
0
291
Member Avatar for James_78

I would agree with rproffitt. It will probably be cheaper (as well as faster and easier) to get something from Fry's or Best Buy or wherever. It will be new, and have a warranty.

Member Avatar for James_78
0
1K
Member Avatar for nadiam

What rproffitt said. In addition, FYI, pen/thumb drives (and sd cards) have a limited number of write cycles for each sector (512+ bytes). As that number is approached, the write time slows down, and then that sector is no longer accessible. There is more recent software that will attemp to …

Member Avatar for Floret
0
519
Member Avatar for Fredczj

You can use select() with multiple file descriptors. You should also set a timeout value which is one of the arguments to select(). You need to more reading on this. It is very basic TCP/IP programming.

Member Avatar for rubberman
0
343
Member Avatar for SARDEN

What's with the array declaration on line 35? Do you need that? Also, knowing where the error is occuring would be helpful.

Member Avatar for diafol
0
3K
Member Avatar for Catchamouse

RTFM? The differences between them are minor, but significant. There is no "magic" way to convert mysql to mysqli. It has to be done manually, and painstakenly. Not hard, but patience and attention to detail is important.

Member Avatar for rproffitt
0
842
Member Avatar for Sammy_3

Very good questions, and none of them have simple answers. It is after midnight here right now so I will try to respond to some of them tomorrow. Bed is calling. :-)

Member Avatar for happygeek
1
364
Member Avatar for necrovore

You should check the POST (power-on self test) error log in the BIOS. Also, configure the BIOS to report all errors when booting up.

Member Avatar for Reverend Jim
0
672
Member Avatar for diafol

I started with PHP 5.4.1 some years ago when it first came out. It had a built-in web server that allowed me to test code without a full LAMP stack. It did have home serious errors with its outgoing HTTP code that I had to patch at the source level, …

Member Avatar for rubberman
1
398
Member Avatar for abu taher
Member Avatar for Dani

Well, we don't call it Comcrap for nothing! :-) Good speed though, but I hate their data caps and such. Let us know how it works out for you. I don't know when I'll be out in PA again, though I have family in Sacramento and PA/East PA. If you …

Member Avatar for Dani
0
305
Member Avatar for wilsonchama

Usually, formatting wipes the drive completely and makes recovery very difficult, if not impossible. :-( Sorry, but you may be SOL...

Member Avatar for Daze
0
469
Member Avatar for tenten..

Posting 200+ lines of code for a simple problem is disrespectul of the time we spend to help you. Please show the relevant code for review.

Member Avatar for Raj chanda
0
2K
Member Avatar for Justin Kent

Some of us are professional software engineers. For long term contracts I get $70-100USD per hour. For short term ones, $200. So you can see that the time I spend here and on the Linux Forums is valuable to me. Happygeek and Armand_2 have it just right.

Member Avatar for rubberman
0
8K
Member Avatar for batoolhussain

Show your work where you try to deal with this and then we can help you. FWIW, it isn't difficult and you may want to read the manual (they are online at google.com).

Member Avatar for rubberman
0
185
Member Avatar for francis_6

We don't do your homework for you. Make an effort and code it as you think it should be, and then we may be able to help you.

Member Avatar for happygeek
0
148
Member Avatar for rproffitt
Member Avatar for rproffitt
0
472
Member Avatar for lewashby

RTFM! This is a simple system configuration setting, to instruct the system to restart on power-on. If you can't figure it out by yourself, you should not be doing what you are trying to do! Google will help...

Member Avatar for rproffitt
0
377
Member Avatar for Naveen_20

Books by Niklaus Wirth and Donald Knuth are good for this. Not cheap, but worth having on hand - they all have places of honor on my book shelf.

Member Avatar for ddanbe
0
328
Member Avatar for G_S

This is a good academic paper on function programming in C++: https://people.cs.umass.edu/~yannis/fc++/fc++.main.pdf

Member Avatar for ddanbe
1
501
Member Avatar for MA_2

Please read the terms of service for these forums. We don't do your homework for you. Make an effort to solve this on your own, post your code and issues/errors you are getting, and then we can help.

Member Avatar for rubberman
0
294

The End.