Seunthomas's Posts
Nairaland Forum › Seunthomas's Profile › Seunthomas's Posts
1 2 3 4 5 6 7 8 ... 31 32 33 34 35 36 (of 36 pages)
Steps: a. Open the sqlite database file in read lock mode as a temporary file(e.g appdb.db.tmp) . b. Modify the data in the database. c. With the file handle you have opened, encrypt the file. d. Write the encypted file to app.db and delete app.db.tmp. |
Did you read the article? Because sounds like an algorithm is an equation(or process of solving a problem). |
Contact me for a software that does this. Price is 20k though. The software will scrape both sites and present you with a csv/sql file you can import into your database. |
Anyone looking for benchmarks. Just google it. LOL |
micodon:I dont need to provide benchmarks. No point reinventing the wheel. Others have done that many times. The only languages that can compete with Java like i mentioned earlier are .Net Languages. The challenges in performance are not just in the interpretation/compilation, they also include memory management(many languages cant use the available memory on the machine efficiently, if you run a php script and a java file, check your process monitor,php will definately use more memory than Java for a single thread and for each new thread php will create another process which is very very poor design while Java or the other languages i discussed would still stay in 1 thread except explictly required to fork another process). As for facebook implementation, i used in 2012 to see how good it was. Really no much difference from the original language in terms of performance. Its only more scalable(works across multiple machines easier). |
micodon:Facebook is doing the extra work on php because they had no choice. The original Facebook core is written purely in php. |
@micodon PHP no matter the level of optimization cant outperform Java. Java has a lot of neat features that makes it very powerful and really faster. The only languages that can outperform Java are the .Net languages,C/C++, Assembly as well as some other languages. To emphasize this well, even the Java bytecode is further optimized during runtime. I know many languages and if am looking for application speed and dont mind spending time on a project, i will always go for Java else i go closer to the hardware with c. |
ignore first posting this is correct: greetings = "HEELO GOOGLE" numOfChars = greetings.split() for char in numOfChars: print greetings |
greetings = "HEELO GOOGLE" numOfChars = len(greetings) # numOfChars = the number of characters in greetings for char in numOfChars: print greetings # output greetings till i equals numOfChars |
OP. You just posted crap. What you have is an algorithm. I think what you mean is an implementation for that algorithm. If you need the implementation, what Language do you want it in?? |
nairaland is probably built on top a cms framework. Also they probably use a CDN and minimize their code for speed. |
@larisoft If you think on performance. Java cant compare to PHP. Java outperforms PHP well. |
There is no such thing as average salary. It all depends on your skillset. Someone like me would command as much as 1 million in some companies and other companies may offer 300-400k so it depends on your skillset and the company hiring you. |
What i think they probably did is customize a android webview which is a part of the SDK that allows you render html. They did not write the browser from scratch. Not sure they can have the resources to do that. But even with that i laud their efforts and passion. |
@AAinEqGuinea You say OS X is reliable. I dont think you use a MAC. I have been using one for more than 3 years now and its not even Reli(not to talk of --able). |
Its simple again. You cant view source for an image. The developer did not gray out anything. |
What platform are your working on windows,linux or os X? If you are on os x or linux most likely you already have a c compiler. But for windows you need to download Cygwin (https://cygwin.com/) or Mingw(http://www.mingw.org/). |
If you got experience using python flask, kindly contact me for a small project. Need to complete it fast. |
Word of advice. Wait a year before jumping on the bad wagon. My experience with new languages is they are merely experiments in developer adoption. If swift does not get adopted by the community apple may probably yank it off and stop the project. So be a little patient. |
Best of luck guys. Dont fall along the way though. Many fall and give up. Words advice from a pro, NEVER EVER GIVE UP. |
You can start with openx(or what ever name they call it now). But building a real ad server is a complex thing. Its a real time system and would require you to learn a lot along the way. |
If you want to work cross platform use GCC. If you want to stick to windows use Visual Studio or Borland. |
Irrelevant question. It depends on your skill set and what you want to achieve. |
Very funny, you cant compare a Ferrari to a 1980 model Volkswagen bettle. Javascript is a very primitive language does not have the muscle of what Java can do. Even though we have frameworks like nodejs coming with async programming it still cant compete with Java. Java was from ground up well thought of. The only language that can compare with Java would be C# and the newer languages springing up right now like Go,Dart. |
Add me on skype:hackiprog |
LOL. its not so difficult, what they did is regenerate an image every few secounds. The page itself is an image. If you examing the code using developer console, you will see that the server is just spitting out jpeg file. Basically your page is just generating an image. |
Personally i think apple will soon start to go under. Right now they are leaders when it comes to product launch but apple is losing the most important attribute that made it relevant which is innovation. I use almost all their products and lets face it, they are not superior to android or windows in anyway. Apple just as a way about selling premium stuff. Their product design is world class but thats all apple is good at right now. Designing great looking products. Sorry to say if Jonny Ive leaves then they are finished. |
add me on skype:hackiprog |
Upload pictures. |
This is a very old mac(2008). Serious buyer offering you 80K for it. |
What year is this mac? |