Programming › Re: Difference Between Java And Javascript by seunthomas: 11:25pm On Jun 15, 2015 |
Febup: Now you can. Read what the big companies are doing below with node.js:
How replacing Java with JavaScript is paying off for PayPal PayPal reveals that writing server-side software in node.js rather than Java is allowing it to serve web pages more rapidly and simplifying web development. http://www.zdnet.com/article/how-replacing-java-with-javascript-is-paying-off-for-paypal Paypal does not use node.js for any core application dude. Do your finding properly. They are just moving into nodejs gradually. |
Tech Jobs › Python Developer by seunthomas(op): 5:46pm On Jun 15, 2015 |
Need a very good python developer. Experience in Flask is an added advantage. |
Programming › Re: Best Of Both Worlds: HTML5 Mobile Web Vs Native Apps by seunthomas: 5:37pm On Jun 15, 2015 |
Borwe: What do you guys mean by Native, like using NDK for C++ apps on android instead of basic SDK apps? Or native as in run on the system and not via some browser? in which case the SDK android apps will also count as native and so as any other java app or VM based app Native means the official SDK for the platform, whether it be NDK or SDK for android or Objective C (IOS SDK),or Blackberry Java,Blackberry 10 SDK, Blackberry Webworks is not native(It uses a webkit(browser) as runtime)). etc. |
Programming › Re: Dear Programmers , I Really Need Your Help by seunthomas: 3:38pm On Jun 15, 2015 |
malailayi: Please how do u I create an app that shows location of a specific place and distance Add me on skype:hackiprog |
Programming › Re: Try This Algorithm Question. by seunthomas: 11:44am On Jun 15, 2015 |
gmus: I guese this is what you are saying:
An "enumerably infinite set" is one whose elements can be put into one-to-one correspondence with the integers. Thus, Boolos and Jeffrey are saying that an algorithm implies instructions for a process that "creates" output integers from an arbitrary "input" integer or integers that, in theory, can be arbitrarily large. Thus an algorithm can be an algebraic equation such as y = m + n—two arbitrary "input variables" m and n that produce an output y.
But you should have also seen the succeeding statement:
But various authors' attempts to define the notion indicate that the word implies much more than this, something on the order of (for the addition example):
and the statement:
Precise instructions (in language understood by "the computer" [17] for a fast, efficient, "good"[18] process that specifies the "moves" of "the computer" (machine or human, equipped with the necessary internally contained information and capabilities)[19] to find, decode, and then process arbitrary input integers/symbols m and n, symbols + and = ... and "effectively"[20] produce, in a "reasonable" time,[21] output-integer y at a specified place and in a specified format.
In this age and time in computer science, an algorithm cannot be said to be an equation. I f you still don't see this then I have nothing more to say. Read the article and stop guessing what am saying(Assumptions). |
Programming › Re: Try This Algorithm Question. by seunthomas: 11:40am On Jun 15, 2015 |
gmus: Post-Addition: I skimmed through the article. I couldn't find any section that stated, suggested or implied that an aticle is an equation as you posited earlier above. You owe the op. an apology for calling his post crap.
That is an equation that would require an algorithm to solve such that the algorithm can be implemented in any programming language. Dont skim. Read. Skimming is why you make assumptions. Also read the wikipedia link above. |
Programming › Re: Best Server Side Language Your Opinion by seunthomas: 11:34am On Jun 15, 2015 |
micodon: Im actually stunned by this. If the above is correct, then PHP and Python are the same cos they are just abstractions from the C language.
If Jsp is Java and Scala is Java, then C# is VB.Net and ASP.Net is C# and all what not BUSHMAN. |
Programming › Re: Best Server Side Language Your Opinion by seunthomas: 11:32am On Jun 15, 2015 |
micodon: Im actually stunned by this. If the above is correct, then PHP and Python are the same cos they are just abstractions from the C language.
If Jsp is Java and Scala is Java, then C# is VB.Net and ASP.Net is C# and all what not You are a bushman and not a programmer. Do you know what a superset means. Have you even programmed in scala. I program in scala and sometimes i even decide to write it in Java. Scala is scripting. Before you start ranting on what you know very little about. Go to scala language page and read their mission statement. Also any language in the whole world can be converted to run in the .Net runtime. Thats why .Net is special. |
Programming › Re: See What Adedayo Moshood Did To An App From Infoware Limited Using CSS by seunthomas: 11:27am On Jun 15, 2015 |
dharyour93: Okay. If you don't mind, can you show me some of your bootstrap sites? Add me on skype:hackiprog. Dude i be baba ohhhhhhh. |
Programming › Re: Try This Algorithm Question. by seunthomas: 11:25am On Jun 15, 2015 |
gmus: Ok. I will read the article. Yes, what you stated above is a correct description of an algorithm. But most certainly an algorithm cannot be an equation as you stated earlier above. Guy you too argue sha. https://en.wikipedia.org/wiki/AlgorithmThus an algorithm can be an algebraic equation such as y = m + n—two arbitrary "input variables" m and n that produce an output y. But various authors' attempts to define the notion indicate that the word implies much more than this, something on the order of (for the addition example): |
Programming › Re: See What Adedayo Moshood Did To An App From Infoware Limited Using CSS by seunthomas: 10:50am On Jun 15, 2015 |
dharyour93: @Seunthomas read the intro well, I updated JUST a CSS FILE to create this. I don't have access to the html file to use bootstrap
If you're talking about responsiveness, wait for my next post.
PS: If I may ask, what do you know about bootstrap? I have been using bootstrap since inception. And your fit is no magic. Just a few hours work for someone very versatile in using CSS. |
Programming › Re: Try This Algorithm Question. by seunthomas: 10:40am On Jun 15, 2015 |
gmus: I did not read the article. I posted it for you. I know what an algorithm is.
Simply stated, an algorithm is a clearly stated step-by-step process of solving a problem.
An algorithm could be written inform of a flow chart or in statement form or such similar form, but definitely not in any programming language.
Programmer can then implement the algorithm in their programming language of choice.
Here is an algorithm for solving a quadratic equation using completing the square method:
1. Declare three variables A,B and C. 2.Get the value of the qaudratic constants a,b and c from the users into variables A,B and C respectively. 3......
and so on and so forth.
post-addition: Algorithms can be written down any were. They are mostly written down in our mind from where we write the implementation. Go and read the article. Also you just described one aspect of an algorithm. An algorithm in itself can also be solution to a problem as well as the way to solve it. a process or set of rules to be followed in calculations or other problem-solving operations |
Programming › Re: Best Server Side Language Your Opinion by seunthomas: 10:36am On Jun 15, 2015 |
larisoft: Still I maintain:
USE WHAT YOU KNOW BEST WHERE ITS ACCEPTABLE TO DO SO
I have been among the "I Know 15 languages...I use 5 everyday" and am telling you; that might be the first step towards knowing no language at all.
Those of us here who know PHP well know that there are functions in it that call direct C functions, while there are other functions that do the same job and yet; require interpretation to execute.
As for Java; knowing the language in and out is often the difference between "slow" and "fast". For instance, do you know how performance tasking creating objects are?
and you see someone write code like this:
for(int i = 0; i < database of 10000000 entries; i++){
User johnny = new User('asd ');
if(johnny.isAboy()){
System.out.println(" I am a fool" ;
}
} ....
And this GENIUS programmer who was using php only an hour ago, and has done little or no OP programming would expect it to run fast.
ONCE YOU UNDERSTAND YOUR TOOL WELL; THE DIFFERENCE IN PERFORMANCE BETWEEN LANGUAGES AFTER OPTIMIZATION IS USUALLY NEGLIGIBLE PERIOD! (EXCEPT YOU ARE USING C/C++ -WHICH YOU ARE PROBABLY NOT USING ANYWAYS) You miss it bro. Its actually a good thing to know many languages. It makes it considerably easier to identify the pitfalls of one language over another. As for your example. Its not even good enough because in java garbage collection would kick in as soon as that object is not used any longer. There is actually very little performance bottle neck in creating an object. So go and do your homework again. |
Programming › Re: Best Of Both Worlds: HTML5 Mobile Web Vs Native Apps by seunthomas: 8:13am On Jun 15, 2015 |
laxx: I do not agree. Not especially with the advent of phonegap. Developing is not just for the fun of it, at least not to people who intend to become relevent in the world of apps and eventually in the tech world. I believe both will remain. And developers will choose whichever they deem perfect for whatever purpose they're interested in. HTML5 has obviously come to stay. The support for it has been like wildfire. Even Adobe had to buy phonegap because they saw something. We native language dudes tend to look down on peeps that code with html5 and the likes for mobiles. But frankly the world doesn't care. All the world wants is to open a great app on their device and use it. The language or style by which it was built is immaterial.  Phonegap is crap on steriods. It cant be used for all apps and its performance suffers in some apps. I have used both approaches. I only use phonegap on cheap budget apps. If client can afford native i always recommend that. |
Tech Jobs › Re: Very Good Android Developers Are Required by seunthomas: 8:11am On Jun 15, 2015 |
You mind sharing a little info on what this idea is about?? |
Programming › Re: See What Adedayo Moshood Did To An App From Infoware Limited Using CSS by seunthomas: 8:08am On Jun 15, 2015 |
Its nice. But you are still going old school. You can create a much beautiful dashboard/portal using bootstrap. I am betting your current work is not responsive(Would look horrible on mobile). |
Programming › Re: This Nairaland has a lot of problems by seunthomas: 8:05am On Jun 15, 2015 |
Its not an error bro. Its just Seun not buying a larger CDN package. His CDN quota is running out. Abeg OGA Seun can you buy a larger quota or move NL to the cloud(autoscaling). PLEASSSEEEEEEEE....... |
Programming › Re: Anybody Here Know How One Can Password/encrypt Sqlite Database in C++? by seunthomas: 8:01am On Jun 15, 2015 |
You are still on this job. Haba by now you should have finished.  |
Programming › Re: Dear Programmer In Nigeria: How Much Is Your Salary? by seunthomas: 8:00am On Jun 15, 2015 |
eesy: I take coding to be a profession that is not flowing. I mean there is uncertainty in it. What if all the apps that is needed is developed what then will the coders be doing It seems you have not worked as a developer in a company before. You can never ever ever ever solve all the software needs of a company. ITS TECHNICALLY IMPOSSIBLE except the company has gone bankcrupt. There is always something new to build for an innovative company. That's why companies hire new hands. I worked for a company that started our using excel to do most things and as soon as we finished our work. We were asked to quote on converting all their manual process to automated process. Which by the way is a very big job. So my broda/or sister. You cant build all the apps finish. |
Programming › Re: Best Server Side Language Your Opinion by seunthomas: 7:53am On Jun 15, 2015 |
micodon: Scala is not Java You got your facts wrong again. Its a superset of Java. A language consists of the syntax(code) and the core(execution environment). Scala runs on the JVM. You can actually write Java code in scala and it would still run. Because JSP uses different syntax does not mean its not Java is it?? |
Programming › Re: 13 & 15 Years From Nigeria Built Mobile Web Browsing Alternative To Google Chrom by seunthomas: 1:03pm On Jun 14, 2015 |
FincoApps: haha its not as impossible as you think. I've seen enough large apps that was built by just 1 person. I mean browser kind of large. Its very possible for 1 person to write a browser. May take several months. I started such a project way back 2010. Had to stop because i was not sure how to monetize it. Do i make money from the SSL guys etc  . |
Programming › Re: Anybody Here Know How One Can Password/encrypt Sqlite Database in C++? by seunthomas: 12:30pm On Jun 14, 2015 |
gmus: I suppose dt this what you mean add me on skype:hackiprog I have a few minutes. |
Tech Jobs › Re: Need A Very Good Python Programmer To Work With by seunthomas: 12:21pm On Jun 14, 2015 |
WebSurfer: i am not on skype, rather on YIM or whats app, you can drop your ID if you are too If you are not on skype then your must be pre-historic. LOL. |
Programming › Re: Dear Programmer In Nigeria: How Much Is Your Salary? by seunthomas: 12:19pm On Jun 14, 2015 |
eesy: I dont understand you. To understand me is simple. If you go to an interview tell them you can code in all programming languages and all platforms. Then you will understand its not about average salary. The idea of average means you know everyone's salary and you compute it. But basically when you go for interviews its always about how well you can sell yourself and your skillset. Average is what HR creates so that they can determine the value of developers. POINT IS A DEVELOPER's VALUE CANT BE MEASURED. na about your content and packaging. |
Programming › Re: Anybody Here Know How One Can Password/encrypt Sqlite Database in C++? by seunthomas: 12:12pm On Jun 14, 2015 |
gmus: It is not locking files that is strange to me, it is opening it in the temporary mode using the extension you gave that is strange to me. Dude you are not a learner but let me break it down to you. In most sqlite libraries you have an option to specify the filename for the db. Now the idea of locking the file is so no one can access it while your are making edits. The temp file is so your application thread can still make edits like do an insert. The default file name of sqlite is .db and in some cases no extension. Its simple. You just create a function that does this for you. I cant give u the details. char[] openFileWithLock(char *filename){ //do your implementation here //decrypt the file return filename(so your application can work with the file(.tmp) } //your file would be converted back to .db or whatever extension void releaseFileLock(){ //encrypt the file } void decryptFile(char *filename){ //decrypt the file } void encryptFile(char *filename){ //encrypt the file } |
Programming › Re: Difference Between Java And Javascript by seunthomas: 12:01pm On Jun 14, 2015 |
pcguru1: lol JavaScript can do anything Java can, please don't say this outside, JavaScript talks to another language to do something on anything platform
e.g Nodejs JS talks to C++, Qt Framework JS talks to C++ , Unity JS talks to C++ so seunthomas has a point Thanks bro. Dont mind him. He is a learner. Na only him waka come(Patience GEJ). |
Programming › Re: Anybody Here Know How One Can Password/encrypt Sqlite Database in C++? by seunthomas: 11:55am On Jun 14, 2015 |
gmus: Now this is funny, I have been programming in C++ for years but do not think I know how to open a file in read lock mode as temporary file as u indicated here. Is the highlighted operation an SQLite operation or a normal c++ file operation or a Win32/MFC operation? By the way I am using MFC for this app and it means I am programming for windows.
If it is an SQLite3 operation I could quickly check the manual online and get the details, but if it a c++ file operation, I am afraid I don't know it and I will really appreciate it if you can give me a brief explantion on that. I assure that I will quickly get the gist if you give me a brief explanation. Even though I am progrmming with MFC, I can use any C/C++ construct that I desire.
The lesson, I am learning today is never to underrate nairaland. Many popular glabally acclaimed forum that I belong to have failed me. So also has google on this. Talk of something being in the pocket of your sokoto....
Please, friend kindly help me with more detailed info as requested. http://stackoverflow.com/questions/853805/locking-files-using-c-on-windowsThe idea of locking the file is so that no one else can access it while you use it. Also depend on the library you can also lock the db from sqlite. https://www.sqlite.org/lockingv3.html But since you want to encrypt the database this wont be appropriate. |
Programming › Re: Difference Between Java And Javascript by seunthomas: 11:38am On Jun 14, 2015 |
FincoApps: I don't really agree. I can say Java is better when it comes to embedded systems, but trust me Javascript can do all other things Java can do. That's why it is possible to convert a Processing sketch made in Java to Javascript using ProcessingJs. You just started programming right  We have been in this game for a while.LOL. |
Programming › Re: Help Needed On Complier by seunthomas: 11:36am On Jun 14, 2015 |
Just use visual studio. You need to setup your system as a developer system. That means probably no antivirus.(Do at your own risk though) |
Programming › Re: Best Server Side Language Your Opinion by seunthomas: 11:34am On Jun 14, 2015 |
@micodon 1. Jsp consumes more memory than php.(Wrong JSP does not because its usually compiled the first time the application runs into byte code. First time its slow but after that its much more faster than PHP) 2. you re wrong about php creating another process. very wrong. that is the work of the web server. Apache does that. and its because apache is based on a thread per request model. Hhvm wont. again it's not the language but the implementation. Maybe you should read about ReactPHP. P (Wrong again. This is actually the job of php which does not have native threads implemented in earlier versions <5). What threading does is at allows portions of the code execution to be split by sub units which execute them). PHP is just introducing this feature after many years. I am an active member of the php developer forum and made a few contributions. 3. Java or jsp can never compete with Scala, Erlang, Nodejs, C/C++, GoLang etc when it comes to performance. (Scala uses the same JVM as Java its just a superset built on top of Java. Erlang is pretty fast for OTP but not in all uses cases like web application development. C/C++ yes and if you read my post you will noticed i mentioned them as the baba of languages. NodeJS is a crap language and full of hype. It cant even use more than 2GB ram. I used it in a very high concurrent solution(100K uses online at a time) and was very disappointed. I had to use cluster which is a node module to create new node processes). It also cant use all the cores on the hardware so its very wasteful. GoLang (new languages) yes i said its built on top of the principles of c and some Java tips too.
In fact, Scala (Scala is Java) which is based on Java was created because of Java's performance and concurrency problems. Bro, i know Java, the .Nets Python, Php and Ror. i currently porting to GoLang i know what im saying |
Programming › Re: Best Server Side Language Your Opinion by seunthomas: 11:26am On Jun 14, 2015 |
@drealboy Before you argue in a forum try to do your research first. You will be amazed at how little you actually know.  |
Programming › Re: Best Server Side Language Your Opinion by seunthomas: 11:25am On Jun 14, 2015 |
@drealboy The way you argue, you are apparently a rookie programmer that has build some few applications in php. Point is Java is faster than PHP. If you can pay for the test, i will generate some benchmarks for you. Also you are very wrong. Java was designed to run on very very minimal footprint machines(under 200kb memory). There are different versions of the JVM(Java on Desktop is slightly different from the one that runs on the server(same JVM can execute all bytecodes though)). I am speaking based on the fact that i can code in more than 20 programming languages. Java is one of a kind. I still insist on my earlier statements. |