Larisoft's Posts
Nairaland Forum › Larisoft's Profile › Larisoft's Posts
1 2 3 4 5 6 7 8 9 10 11 12 (of 12 pages)
While one week is sufficient to wet their appetites, saying "they ll be taught all they need to know about the Java language" in that time frame is a little dishonest, Dan. You should have anticipated before posting this that the error will be uncovered and criticised here...what with all the Java devs prowling... Good luck with the program shaa |
Am really grateful for how far this has spread and thought you guys should know that this app is currently being upgraded to incorporate the new features demanded by esteemed users. The new version amongst other things Will be 1. Very fast: This Will be achieved by preventing repeat messages and closing all background data apps without allowing for 'are you sure dialogs'. 2. Less obtrusive. A widget Will be used to control it now... Not a window.... 3. Better ui 4. Notification sounds. 5. Many more... Pls watch out for it. |
. |
adedolapo4: |
liliian:are u entering '1' rather than 1? do not enter quotation marks pls |
here: I wrote a program that does what I described. It accepts students names and their scores, then it asks the user to select what format the output should be in. option 1 is FIFO queue, option 2 is priority queue. Its written in such a way that you can easily add more features by adding more properties to the student class. will love to hear your feedback. |
Your assignment, as I understand it, requires you to accept students scores, grade them, and output them based on 1. First to submit 2. Highest scorers. You will use an ordinary queue for the first output method and a priority queue for the second. I imagine the user will have the option of choosing in what format he wants the output from amongst the two options. I could make this app (console) this evening if I find time on my side. It never hurts to add something to my github account I guess. |
asalimpo:I feel you... |
asalimpo:I see what you mean, bro...but it just doesnt work that way in javascript. IF you run that code, you will see that I is actually just an index...not an array element. |
<script language="JavaScript">you are using braces instead of brackets here: document.write { "The Players are : " + Players_Name[i] + "<br>" }; change it to document.write("...." ;also remove the ';' in front of your 'for' statement here for(var i in Players_Name) ';' it should be for(var i in Players_Name) { } keep coding, bro. |
eNelo:mmm... am always happy to criss-cross productive opinions like we are doing now. |
Craigston:Thanks, Craig. |
mbatuku2:For me, its always been; what software do I need that I dont have cause its not available? If you are not the type of guy who reasons that way, you can pick up a project that's already done and make your own version of it. I know a girl that made a personalized version of windows calendar and her version accepts diaries and a lot of cool stuff the original one doesn't offer. Keep coding. |
crotonite:thanks for reading, bro. |
Am just a guy who feels really lucky to be in this amazing industry and am still learning like most of us. But having passed the fledgling stages where some of our upcoming badoos currently are, I thought it wise to share common pitfalls they will …or are already facing which can stop them from learning to become programmers. 1. Wait till you find the perfect language: if I was given a dollar for every time I heard someone say, larisoft, I want to learn programming, which language should I start with? I’d never have to work again. The problem is; the language you start with really doesn’t matter most of the time. Every language you start with has something essential to teach you. While starting with a generally difficult language like C++ can be daunting and protracted for most people, it makes up for the delay by teaching you programming principles you will learn ‘years to come’ if you start with a higher-level language. On the other hand, starting higher up with a language like PHP hurries you to those ‘years to come’. Pick a language…any language and start! There is no way you wont learn something that will guide you for the rest of your journey. If I may recommend I’d say, choose any amongst PHP, python, or javascript. But end that language search right now!!! 2. Start Coding without a project in mind: Programming is not like academics where you are handed down theory and expected to regurgitate months later. It’s a practical field. You need to have something towards which you are coding. It could be a simple personal website, or an organizer, or a calculator, or an idea of an app you have which you’d be proud to share with friends. Till date, I don’t know any badoo who learnt to code only by reading tutorials and repeating the examples in them. Maybe I will after this article. Roll up your sleeves and build something! I’d be happy to review any any app you share with me anyday. 3. Don’t ever try to solve a problem yourself: this is one of the reasons why there are so very few female programmers. There are usually so many guys flocking around…trying to help! Programming is not just about writing code that works. Its also about writing code that doesn’t work, understanding why it doesn’t work, and making it work. If you spend 4 hours figuring out why a script doesn’t work…yeah! That’s the spirit. If even after staring at code for a long time, you don’t understand it; use google first before contacting someone you know. Not only will internet resources show you the ‘standard’ and ‘non standard’ way of doing things, they will also subconsciously teach you how to learn programming (i.e. how to follow tutorials)…and boy! Is there a lot of learning to do? 4. Start Making huge sums of money as soon as you can: This is where a lot of people get it wrong. Mark Zuckerberg is a billionaire today, but before he became that; he coded for at least 7 years. (Built stuff for his dentist father at age 14). Bill Gates had being coding for a long time before he started Microsoft. Without a donkey-years experienced programmer like Wozniac, apple would have kicked its pants no matter how much of a sales Genius Steve Jobs was. If your major aim in learning to code is to make money FAST, consider saving yourself the trouble by getting a friend that will do the coding while you do the business. Better still, you could spend your time acquiring bogus certificates. Serious tech firms will reject you, but a lot of prejudiced firms will welcome you and pay you well. If however, you insist on making money from programming, you should know that nothing in programming happens FAST. Let your efforts for the first 2 years be focused on gathering as much knowledge as you can. Am not saying you shouldn’t make money every now and then, but put your learning first and where both conflict, choose learning over money. It is worthy of note to mention that about 4 years ago, you could come into the Nigerian tech landscape and become really super rich from building wordpress sites and crappy unscalable applications. Very few people knew tech then. Today, things are fast changing. Wordpress sites are getting done for 15k and Nigerians expect your app to be fast, bug-free and elegant, just like all the international apps they are used to. The best gift you can give yourself right now is proficiency-not money. Money will come in tons later if you know your stuff. 5. Do not allocate too much time to coding everyday: You should have a life-code balance.: [/b]the truth is, once you start learning to code, your life should experience a paradigm shift. You should begin to have fewer friends…begin to appear in public less frequently. If you are doing it right, you should be spending so much time with your computer that sometimes, you realize the day has come and gone without you stepping out of your house. If you eventually drop out from school, or do something really socially awkward BECAUSE YOU JUST CANT STOP CODING …Halleleluyahh…the spirit is firmly planted in you and its only a matter of time. If you are just starting to code and you are not spending up to 3hours a day coding…I am not an authority; but I have my doubts ooo. [b] 6. Once you have accumulated a couple of projects and are now accepted as a programmer in many circles; relax: you have arrived: It’s unfortunate that many many coders in Nigeria never go beyond the stage of writing crappy software, collecting money and leaving clients’ business to flounder in a matter of months. Programming is not easy. If you think it is; it’s a sure fire sign you have no idea what it is yet. At the stage where you can now make usable software, you should immediately identify programmers that are better than you and understand why they are better than you. Engage in competitions at sites like codeforce, codechef, topcoder, coderbytes e.t.c. Always have a new technology/language you are learning. I would add and “Be humble”, but there is no way you would be doing this and not feel very humble knowing how much you still have to learn. There it is! I would really appreciate it if senior developers in the house can chip in their own advice for future badoos on Nairaland. |
[quote author=proxy20 post=44576741][/quote]We are talking optimized algorithms here. Besides, any one asking you to process images and recordings of an entire nation probably knows or should know what they are up against. I'd be thrilled to hear better solutions though. |
asalimpo:for computers to be bought into the equation, we have to assume that relevant data is already available and need to be processed into information. how these data are gotten is not our businesses but that of the law enforcement agents |
uhmmm...let me try I d have a listener triggered every time a new batch of data is received,make objects of these data and pass the objects, each with fields like type, content, sender, receiver etc, as parameters to a 'process' method. in this method, using several objects, algorithms and libs, I ll search for occurrences of terrorist-like words in the data like " bombs, explode , target. Match pictures to faces of known terrorists. match recordings to vocals of radical sentences. and grade each object based on the frequency by which these words/pictures/audio occur before inserting into db and notifying listeners that new information is ready. at the front end, an Ajax call simply monitors one of these listeners every 5 or so seconds (could be a txt file containing the no of updates made to db so far) once it detects a change, it queries the.database and refreshes the screen with new results of the highest threats. pretty much all technologies can be used but java and c# could be favored since this system will require a lot of processing power that ll be missed in interpreted languages... ngwa, correction, sir. |
the likeliest problem is that your mysql is not running. This maybe because you have not installed mysql (benchmark is just a front end) or you have it installed but its not running. if you have installed mysql navigate to C:\Program Files\MySQL\MySQL Server your versoon\bin using command line and type 'mysqld' to start the mysql server. if you have not installed it at all, download and install it first and do the above. keep coding, bro |
SupremeDimeji:Has it encountered and closed any background program at all? the app sets the options of the exceptions by saving the names and ids of the programs it encounters in its war against background data consumption. Hence, if it has not encountered any program, it will not have any options for exceptions. If this is the case, just make sure its running, connect to the internet and wait for it to encounter and close the programs you will like to be able to consume background data. Now, go to exceptions, you will see them there. Select and add each of them individually, and they wont be closed henceforth. Please keep me posted. |
SupremeDimeji:Thanks, bro. |
geosilbert:Any text editor will do. e.g. emacs, sublime_text, notepad++. This is where you will write your code. Then you will need a compiler. This is what will convert your code to a file the computer can execute. For windows, download and install mingw from https://sourceforge.net/projects/mingw/files/ . Then when you open it, mark mingw-base, gcc++ , msys-base, and mingw-developer tools for installation. after they have been downloaded, you will set your variable path to include the directory of your mingw installation so you can compile and run your code from the commandline without having to navigate to that directory every time. Please, if you do not understand some of these things, just calm down and google them. Never ever give up. |
izyericson:Will do that soon, bro. Thanks for downloading and using. Please share with friends. |
paranorman:You use the modulus operator "%", bro. The modules operator returns the remainder from dividing a number by another. for instance <?php $a = 3 % 2; echo $a; //output will be 1 $b = 2 % 2; echo $b; //output will be 0 ?> hence any number that when divided by 2, has a remainder of 0 is even. To check if a number is a factor of another number, you also use the modulus operator. A number is a factor of another, if the number can divide the other number without remainder. E.g. 2 is a factor of 4. 3 is a factor of 6. Thus, by simply doing ($num1 % num2==0) you will get true if the second number is a factor of the first. Keep coding, bro. |
emmaak2:Thank you my brother. |
Depends on the app. You have to take into consideration such factors as whether the app will be hybrid (browser based) or native (relies on core phone functionalites) ...will it require a backend? will this backend be so data intensive you will contemplate using cloud services amongst others. Also, are you doing it with a company (500k and above but you get great after-deployment support, speed, assurance and other perks) or an individual developer (100k upwards). Anyway, I charge 150k to 300k for native android apps. excluding hosting costs. The price shifts forward based on the number of object classes I foresee the app will require. (more classes, more complexity). Finally, speaking from experience, its not wise to do an app for IOS, Android,Windows, e.t.c at the same time. You should target one platform and if you succeed on it, expand. |
This is the part where you post what problem exactly you are facing, what you are trying to optimize, and what error you are getting. And you should also be generous with your code. |
stkingz89:Yes. xender also accesses your SMS, Call log, e.t.c. |
The major problem here is that the guys behind flashshare are not known and are therefore not regulated. Google, Microsoft, MTN, AIRTEL, e.t.c. are all heavily regulated companies and the most they can do with your data is serve you ads that are personalized to your tastes. However, with random, unknown developers, you might become a public figure tommorrow and they will use it to blackmail you. And the government, or other regulatory agencies have no business tracking these people. PLEASE, UNINSTALL EVERY APP ON YOUR PHONE WHOSE VENDOR IS NOT TRUSTWORTHY AND WHOSE PERMISSIONS ARE UNECESSARY FOR THE PROPER FUNCTIONING OF THE APP. EXCEPT YOU ARE A CRIMINAL (UNDER WHICH CIRCUMSTANCES YOU CAN BE TRACED SO LONG AS YOU USE THE INTERNET), YOUR PRIVATE DATA SHOULD NOT BE IN THE HANDS OF PEOPLE YOU DO NOT KNOW. PERIOD. My recently released app called "This Nonsense Must Stop!", blocks all background data activites on laptops/desktops so viruses can't send your data to their makers. You can use this to protect yourself too. Here is the link to the app:https://www.nairaland.com/3011574/new-c-open-source-app The source code is open for all to view and see that their is no monkey business going on. |
thanks bro @leopantro |
lakefist:because you can view the source code for yourself and see exactly what is going on when its going on. that's why its open source |
Donald3d:My dear, you have a point; but you should know that 1. Google is regulated by several agencies/standards and what they do with your data is supposed to be innocuos as the data is de-personalized first. 2. Your network provider is regulated by many agencies including government and if they breach user privacy, they will answer to NCC. In this case however, flash share is distributed by an unknown, unregulated vendor. No one knows what they do with your data and they are not answerable to anyone! AND THE ONLY REASON IT CAN DO WHAT IT DOES IS THAT IT COMES PRE-INSTALLED WITH MOST TECNO PHONES AND USERS DONT EVEN GET TO READ THE IMPLICATIONS OF ALLOWING IT IN THEIR PHONES FIRST! And if you take care to protect your phone by installing a security app in your phone that checks every outgoing data packet (I have already written an app like that for Desktops/Laptops named "This Nonsense Must Stop!" link: https://www.nairaland.com/3011574/new-c-open-source-app#44117476 ) there is no way hackers can access your data except they come to you in person and physically copy it. So, its not a must to be spied on. |

, bro whether you like it or not you would be spied on , anything that was created by man can be cracked by man, even if you be ultimate hacker wey fit protect yourself from spying , extra ultimate hackers fit open your yansh within the blink of an eye.So what am i saying ,just do what is right and forget about who is spying on you, protect yourself the best you can , if something is extra private , discuss it in person, even MTN dey recored your call u no know. Bros this is what technology was created for , we have to live with the repercussions and consequences.I don dey talk too much already.even Microsoft dey spy on you . sorry i ay i no go talk again
