₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,465 members, 8,445,595 topics. Date: Wednesday, 15 July 2026 at 09:51 AM

Toggle theme

Seunthomas's Posts

Nairaland ForumSeunthomas's ProfileSeunthomas's Posts

1 2 3 4 5 6 7 8 9 10 (of 36 pages)

ProgrammingRe: Why You Cant Write 100k LOC In A Year by seunthomas: 2:13am On Dec 04, 2017
asalimpo:
As usual, ppl like u are full of bluff. I said y ur claim was likely a lie.
You turned to copy and paste - huh!!
Now it's selling pepper. Empty hollow poster.
That's y this room goes no where!!!
Personally i think you are retard.
If you think you are better programmer than me, then you can challenge me openly and stop dancing around what i said or did not say.
Really dont care if your room goes anywhere you can sleep in it permanently.
I am open to you challenging me RETARD.
ProgrammingRe: Why You Cant Write 100k LOC In A Year by seunthomas: 3:11pm On Dec 03, 2017
asalimpo:
copy and paste other people's code? ARe you even logical?
@the bolded. Then count the lines of borrowed codes as your output!
For frustration,you've got it backwards.
Frustrated over what? not being able to write 100k loc or not being able
to get a software to do what it was meant to do?
You and nobody can pour out 100k lines of code without herculean cost in a year!!
That's what i'm saying because, there's a human limit to your output measured in lines of code per hour!!
Get the jerk.
Stop being ignorant.
Your article was a lie.
Like i said, 100k will take your btw 2000 (i'm being very very lenient here) - 4000+ hrs.
Do you code for 2000hrs a year!! you think 2000 hrs is joke! record the time on your projects and lets see when it hits the first 1000hrs!!
Dont come and spout crap.
Also by the time the project starts hitting a few thousand lines, you dont code fast, you have to think of design choices that will prevent your from massive headache cuz if the architecture isnt robust, at larger code sizes, say more thousands of lines of code, refactoring it to make changes to accomodate design chances can take you weeks if not months.!!!
Even pumping out 100k loc in 3 years is a massive achievement.
Again,use ur head. Can u work 4000hrs a year,just on coding - sure certainly. But,
that's ~ 333hrs/month, which is ~11hrs/day!. For 1 year!!
if you work 11hrs a dy for one year, yes you could hit 100k loc. is it possible . Yes,
feasible yes. Easy!! No!!!
You practically have to live at your computer for 1 year!!
Stop being daft and bluffing over here.
To reply to anything you have written above would be coming down to your level.
I pass.....
Please dont mention me when you want to sell pepper on NL.
I appreciate you respect that.
ProgrammingRe: Why You Cant Write 100k LOC In A Year by seunthomas: 1:34pm On Dec 03, 2017
asalimpo:
Not very possible sir.
No matter how fast you code,whether its python or whatever, on a long project, your output per hour converges on an average.
That's y 100k/year is herculean. Again,i repeat,not very possible. But possible with ernomous effort.
I've pumped out , 500 lines at a stretch a couple of times, does that mean my output converges on 83lines/per hour? The answer is yes and no. For short projects , say less than 40hrs. it will be more but for long projects, say 100+ hrs, the output will approach a limit. Also with large projects, lots of refactoring means removing redudant codes, making the program as short and dense as possible, eliminating verbosity,
etc - so as a good progrmmer,you'll be removing more code than your put in. In the end, your output should be circa 20+ - at most 40+ lines/hr.
Do the math.

actually a 100k/lines can be done in 4000 - 2000 hrs. i.e at btw 50/lines hr to 25/lines hr.
Can it be done in a year? Sure. work 400hrs/month and you've done it in 10 months at 25/lines hr.
Or work 400 hrs a month and you've done it in 5 months (working at 50 lines/hr) but 50 lines is just a theoretical limit. I know no one operating at that speed. And 400hrs/month is a herculean undertaking.
It's immense.
Eitherway, pumping out 100k/yr is not easy. Not a cake walk. You'll literally have to work full time to reach that target in a year-hence that article by the op was likely very likely a farce. Bluff.
Some of us type faster than you can come up with your articles.
The point is you dont have to type everything out(who types everything out).
You borrow code from old projects and make modifications to them by copy pasting.
Anyway i can appreciate your frustration.
ProgrammingRe: Why You Cant Write 100k LOC In A Year by seunthomas: 1:32pm On Dec 03, 2017
asalimpo:
in response to the claim made by the poster of this thread:
https://www.nairaland.com/3391067/how-many-lines-code-largest
by seunthomas.

you cant write a 100k lines of code in a year. Why?
There's a limit to your average output.
it will range btween say 20+ - 30+ lines of code /hr.
if you're very fast it will be maybe 40.
I assume your are working on solving a problem instead of just coding against some design handed down
by some1 else who'se fleshed out all the issues and designed the program,leaving you with just the task of coding to specs.

if so, 100k loc will take btw 4000hrs/25lines per hour to 2500/40loc per hour.
even if we get very generous and say - you're a speed demon and code at the rate of 50 lines/hr,
2 000 hrs is still a huge workload.
Note this isnt hours spent getting to work, idle chatting , idle browsing, or being stuck in traffic.
as is counted in typical work.
It's time spend pondering and solving and designing and coding.

it can be done in one year but would be a herculean task no matter how u look at it that will require not only full time dedication but complete shut out of any other work and a very focused lifestyle all year long . This is unlikely to be the case for many.
So based on this,i say, it's very unlikely for a coder to pull off 100k/loc per year.


To compute your coding average:
divide the lines of code on ur current project or other projects if you record the input (i.e the time cost)
by the lines of code in the source files of the project.
An average figure will begin to emerge.
Joker, i do more than 100k lines in a year.
Stop sizing everybody by your own limitations.
ProgrammingRe: Challenge Me by seunthomas(op): 8:17pm On Nov 11, 2017
Ikennablue:
Good evening, am almost done creating my first hybrid android app, it works very well but am stuck somewhere about controlling user access. Please can i get your phone number, I'll prefer talking to you about it. Thanks a lot
Send me a PM.
ProgrammingRe: Challenge Me by seunthomas(op): 10:37am On Nov 03, 2017
privatetisa:
I need a 'statistical' mobile app. Can you develop it for me?
A brief 'statement algorithm' of the app is:
1.)Do
2.)Do
3.)Do
4.)Select any 5 different numbers from numbers 00 to 89.
5.) Put the 5 numbers selected randomly in a list labelled ListA; eg ListA = {74 37 00 89 10}.
6.) Create an updatable list (that I'll be able to update from time to time). This list will be labelled ListB. It is a list of infinite series of random numbers selected from 00 to 89; eg, ListB = {23 56 77 03 65 65 71 15 23 32 30 48 ......}.
7.) 'ListC = ListA intersection ListB'
3b.)Until
8.) Number of elements/items (or cardinality) of ListC >= 26..
9.) Take the last element in List C and count the number of elements between where it is as the last element and where it appears before its last appearance.
2b.)Until
10.) The number obtained/counted in (9.) above is between 6 and 9; ie, 6<=count<=9.
Example: Count{...... 12 58 87 43 09 67 12} = 6
11.) Then count the number of elements between the appearance of the element at its first to the last position and its second to the last position.
1b.)Until
12.) The number obtained/counted in (11.) above is between 16 and 25; ie, 16<=count<=25.
Example: Count{..... 12 34 68 79 32 11 54 34 69 80 89 65 74 19 05 05 06 12 58 87 43 09 67 12} = 17.

13.) Output (a.) the count in (9.), eg, {6};
(b.) the count in (11.), eg, {17}; and,
(c.) the last number/element in ListC, eg, {12}.

End.
Send me a PM.
ProgrammingRe: Challenge Me by seunthomas(op): 6:50am On Nov 03, 2017
For those interested in the buildable glass interpreter for windows
I uploaded it here
https://filebin.ca/3fzH0DfZetPc
You can use "make" on windows to compile the source code.
Happy Glassing..
ProgrammingRe: Challenge Me by seunthomas(op): 6:44am On Nov 03, 2017
4kings:
This is what the page returns; Sorry, the file you requested was not found. You may wish to upload your own file at the main page.

Please do check again, thanks.
Will re-upload it on several sites.
ProgrammingRe: Challenge Me by seunthomas(op):
For those interested in the buildable glass interpreter for windows
I uploaded it here
https://filebin.ca/3fzH0DfZetPc
You can use "make" on windows to compile the source code.
Happy Glassing..
ProgrammingRe: Challenge Me by seunthomas(op): 9:34am On Nov 01, 2017
dhtml118:
I want to see this glass solution still o!
The language is actually hard but i already have an insight into it. Let him up the stakes na....
I want to say there will be only a handful of people that can actually solve it using this glass lang.
ProgrammingRe: Challenge Me by seunthomas(op): 9:32am On Nov 01, 2017
DanielTheGeek:
Lol, I would've really loved to see you eat my money... Should I reopen the challenge till tomorrow?
If it won't be the one that i will be chasing you around over 10k. I am giving you 100% guarantee that i can do it in glass but if despite this warning you still feel like losing the 10k, then fine with me extend it till tomorrow evening 8pm (will make out time for it). If we want to make it even interesting we can make it 50k and extend to friday evening and if i dont solve it you get 50k.
Let me hear from you before 12pm today to know if you want to waste your money.
I can of my own solve it and upload it anytime this week (just for the fun of it).
ProgrammingRe: Challenge Me by seunthomas(op): 7:12am On Nov 01, 2017
DanielTheGeek:
You have tried bro.
I actually solved it but dont want to eat your money. I may put up the code and the binaries online later this week (Just for fun).
ProgrammingRe: Challenge Me by seunthomas(op): 3:19pm On Oct 31, 2017
4kings:
But were you able to compile any sample code successfully?
All the codes successfully. I will see if i can finish the task and then build the interpreter for windows also. So i can upload a windows binary.
ProgrammingRe: I Am Stuck In My Project...i Need Help From A Good Java Programmer by seunthomas: 3:09pm On Oct 31, 2017


import java.io.*;
import java.util.*;

class Help{
private File file;

protected File createFile(String filename){
try{
file = new File(filename);

if (!file.exists()) {
file.createNewFile();
}


}
catch(Exception ex){
ex.printStackTrace();
}

return file;
}

public String readFile(String filename){
String output="";
try{
file = new File(filename);

FileReader fr = new FileReader(file.getAbsolutePath());
BufferedReader br = new BufferedReader(fr);

String data;

while ((data = br.readLine()) != null) {
output = output + data ;
}

}
catch(Exception ex){
ex.printStackTrace();
}
return output;
}

public void appendToFile(String filename,String data){

try
{
boolean append=true;
writeToFile(filename, data,append);
}
catch(Exception ex)
{
ex.printStackTrace();
}

}

//String filename
//String data to write
//boolean append or just write
public void writeToFile(String filename,String data,boolean append){
try
{
File f = createFile(filename);
FileWriter fwrite = new FileWriter(f.getAbsoluteFile(),append);
fwrite.write(data);
fwrite.close();
}
catch(Exception ex)
{
ex.printStackTrace();
}

}

public File[] getDir(String dir){

File folder = new File(dir);
File[] files = folder.listFiles();
return files;
}



public static void main(String args[]){
String filename="test.txt";
Help hlp = new Help();
hlp.writeToFile(filename,"Hello World\n",false);
for(int i=0;i<=1000;i++){

hlp.appendToFile(filename,"Hello World "+String.valueOf(i)+"\n" ) ;

}
}



}



ProgrammingRe: A Client Needs Url Shortner Website by seunthomas: 2:39pm On Oct 31, 2017
gentlekeny:
Hi webmasters and programmers.
A friend of mine needs someone good to help her build a url shortener site like , tinyurl, etc

She wants to be paying $3 for every 1,000 shortened link that is visited.


Tinyurl

Has anyone done it?
Can you work on this project?
Send me a PM.
ProgrammingRe: Challenge Me by seunthomas(op): 2:11pm On Oct 31, 2017
I have not really had time to seat and face the challenge ohhh.
ProgrammingRe: Challenge Me by seunthomas(op): 7:42pm On Oct 30, 2017
I thought by now we would have gotten the solution to @DanielTheGeek's challenge to me. Abi una no even try am at all ?
ProgrammingRe: Challenge Me by seunthomas(op): 10:45pm On Oct 28, 2017
dhtml118:
My eyes don dey gum, i don sleep be that.
Dont worry will send the binary for MacOS and the solution. So you go fit check am..
ProgrammingRe: Challenge Me by seunthomas(op): 10:19pm On Oct 28, 2017
okwyee:
can i enter this contest too?
Its not a contest but a challenge. Its for me alone.
ProgrammingRe: Challenge Me by seunthomas(op): 9:57pm On Oct 28, 2017
g++ -O2 -g -c builtins.cc -o builtins.o
g++ -O2 -g -c func.cc -o func.o
g++ -O2 -g -c glass.cc -o glass.o
glass.cc:117:48: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (fread(input, 1, sbuf.st_size, fin) < 0) continue;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
1 warning generated.
g++ -O2 -g -c klass.cc -o klass.o
g++ -O2 -g -c klassi.cc -o klassi.o
g++ -O2 -g -c parseq.cc -o parseq.o
g++ -O2 -g -c variable.cc -o variable.o
g++ -O2 -g builtins.o func.o glass.o klass.o klassi.o parseq.o variable.o -o glass
ProgrammingRe: Challenge Me by seunthomas(op): 9:25pm On Oct 28, 2017
DanielTheGeek:
I'm sorry the challenge is fixed at three days, best I can do is to extend it to 8pm by Tuesday. I think it's feasible because if I were to take part I could attempt it within the time frame. The other brah has accepted the challenge and is prolly working already...
Mr man, i thought the challenge was for only mehuh
ProgrammingRe: Challenge Me by seunthomas(op): 9:19pm On Oct 28, 2017
dhtml118:
The MAC no gree o, the thing taya me - na okrika mac im be. As e see the code like this, im shout - WAYO ALLAH - and refused to compile.
dont run make with any arguments.
ProgrammingRe: Challenge Me by seunthomas(op): 9:17pm On Oct 28, 2017
dhtml118:
May mac failed to compile it, i for on my kali linux, but no, i don tire, need to sleep - i had to use cutlass clear plenty grass today (lazy boy like me), na sleep i dey go sleep, will watch out for the winner.
Your mac no dey developer compliant. grin Na one time my own cook am....
just run make
only...
ProgrammingRe: Challenge Me by seunthomas(op): 9:15pm On Oct 28, 2017
DanielTheGeek:
Challenge ends 6am on Tuesday.
Oga we need 1 week for this. The language is not the average language
grin
Though am getting a hang of it. I need 7 days.
Have to finish stranger things before am in work mode....
ProgrammingRe: Challenge Me by seunthomas(op): 9:08pm On Oct 28, 2017
dhtml118:
You guys will need to pay the tithe of the 10k to me - as the master troll of this thread.
I dont mind. Do you have a *nix system that has GCC on it so you can build the interpreter?? We go need umpire because i no trust that boy..
You can find the glass interpreter here
http://codu.org/eso/glass/
I am using this one..
http://codu.org/eso/glass/glass-0.12.tar.bz2
ProgrammingRe: Challenge Me by seunthomas(op): 8:54pm On Oct 28, 2017
DanielTheGeek:
Maybe 4Kings may eat it before you even though you have a big mouth...
See this man. I don dey learn the syntax already....
ProgrammingRe: Challenge Me by seunthomas(op): 8:51pm On Oct 28, 2017
DanielTheGeek:
Which one be compiling of interpreter again?
Lol, abeg o, grant me parole on that case o.

No dies jarey, all these is just to catch fun...
Na beg you dey beg?? But you were so confident about this your 10K bet ohhh. If this boy waste my time, na annihilate i go annihilate am ohhhh.
ProgrammingRe: Challenge Me by seunthomas(op): 8:47pm On Oct 28, 2017
dhtml118:
Santa maria! egba mi o! 10k!!
Una i go chop dat boy money.
ProgrammingRe: Challenge Me by seunthomas(op): 8:43pm On Oct 28, 2017
DanielTheGeek:
It's more of a personal stuff, but you're welcome.

Concerning duration, I don't know o, maybe 7days, too much? Okay, I'm setting 5 days as the deadline, y'all are mature programmers to an extent...

And very important, please don't post code here...once you have a working solution I'd, test it myself on your computer, thanks to
When i finish eating your money. I will still go back to insulting you until you confirm you lied....

I don compile the interpreter now now....
grin
ProgrammingRe: Challenge Me by seunthomas(op): 8:37pm On Oct 28, 2017
DanielTheGeek:
Is it that you find it difficult to assimilate or what? I'm getting pissed o.

I'm talking bout the Glass challenge. How can I get your account number? So, once you do it I'd send the bounty in.
No need to get insultive. I will setup the glass environment and start tommorrow on your challenge. Will send my account number once am done.
ProgrammingRe: Challenge Me by seunthomas(op): 8:02pm On Oct 28, 2017
DanielTheGeek:
You are just hiding and beating around the bush, I figured it's your best hobby...



If we go into a bit of psychology, at the point of writing the above, you didn't know what you were opting in for, you thought it was one of those languages you could Google as usual..

And after you did your homework you decided to play hide and seek.



Now I'm taking this serious and I'm adding a 10k bounty. It's a cheap task right? So 10k will at least be enough to cover your data fees for next month.
10k for which of the challenges??
Una don here am. Confirm the challenge and you will pay the 10k bounty if i do solve the problem..
ProgrammingRe: Challenge Me by seunthomas(op): 6:28pm On Oct 28, 2017
DanielTheGeek:
O boy, I already dropped the first punch.. It seems to me you're dodging for some reasons... I threw a small punch and you couldn't defend now you're forming Paquiao here after bragging you'd come up with a solution early in the morning after few hours of learning the language.. I'm really not in the mood for long talks let's just continue... Just please help me solve the problem 4kings dropped so I can learn from you. I haven't done anything like that before and I ain't shy to say it...
I can solve the problem that 4kings dropped once you admit you are a liar. And you never asked me to solve the challenge
DanielTheGeek:
On the contrary, this is actually a mad punchline grin

1 2 3 4 5 6 7 8 9 10 (of 36 pages)