New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Good job on your bc implementation. You should add it to wikipedia #59
Comments
That is correct, and thank you for noticing! Unfortunately, Wikipedia has a policy of not accepting changes from "primary sources," and by their definition, I'm the primary source for my It is mentioned in the footnote though. And my |
I didn't see anything in their policies about a primary source being restricted. It looks to me like your programs definitely deserve equal mention alongside the others. Tell me what to write and I'll add them to wiki if you want. I happened across your bc by chance (was looking to calculate a large product - result is 57 digits). Saw your very detailed 'Hit by a bus' article. It's good stuff. How much of the code did you write? (it says 'Gavin Howard and contributors'). Did you start fresh from the POSIX specs? |
Whoops. I mixed up primary and non-independent sources. You are correct; there are no real restrictions on primary sources. The real restrictions are on non-independent sources, not primary sources. It's hard to find the policies, but here is probably the rule that would be used to reject my edits. More information is here, but Wikipedia's policies here are convoluted and hard to follow. However, the second link has a "this page in a nutshell" which says,
I figure that editing Wikipedia to add my
Thank you very much!
You should only add them if you would like to since you are the independent party. I also think that you should write what you want to write. But some things that could be useful would be that my
This may not be a comprehensive list, but it should help. I've also added this list to the
Oh, really? That's HUGE! (The Voyager spacecraft only needed
Thank you. :) I'm proud of that article. I wrote it for the sake of the FreeBSD people, since they depend on it now, and I liked it so much that it's now a tradition for me to do on all of my software before they hit production use.
I haven't crunched the numbers before, but here they are. (All of these were done on the current commit, 2893dd2.) Using
Adding all of that up, there are 5662 commits, and I have 5437 of them. So I made just over 96% of all commits. In pure lines of code still existing, which I calculated by using the first comment at this link and combining authors again, I get:
This gives a total of 235,997, of which I have 234,180, which means I have 99.2% of all existing lines of code in the repo. However, this is not fair for two reasons:
First, let's take away the manpages. I used:
And got (after combining):
Which gives a total of 169,931, of which I have 168,114, or 98.9%. Now let's include all lines, included deleted ones, since I rewrite almost everything. I wrote the following using this link:
And got (after combining):
Adding up all of the additions and deletions, we get a total of 1,002,024, of which I have 993,761, which is 99.2%. But that still includes the generated manpages. If I change the
And rerun, I get the following (after combining):
The sum is 434,205, of which I have 426,037, which is 98.1%. This seems more realistic to me. Since I have 96% of the commits and 98% of the changes, my contributions should count somewhere in that range.
Yes, but not all at once. I started fresh from the POSIX specs for the parsing of So I started fresh again from the POSIX specs, for the math this time, and wrote my own math in about two weeks. Needless to say, I took off on my own. By the way, my git repo says the first commit was January 3, 2018. So these programs are just short of PS: Sorry for the long comment. I hope it helps. |
Give me some days and I'll look into putting your bc on that wiki page under 'Implementations', and remove the entry under 'External Links' The 57-digit number came from a silly online challenge. Someone claimed the prime factors of that number couldn't be calculated on Windows in any reasonable time. I found a public domain libary for factoring large integers, and it found the 4 primes in 0.057s. Then I used GNU bc to confirm the product of those 4 primes was the 57-digit number. I came across your bc via a Google search for 'bc Linux calculator'. I also confirmed the product of the primes using your bc. Then I saw how thorough your readme was, how serious you are about development, and that your code was well- commented. In particular I liked this from bc_parse.c: // Before you embark on trying to understand this code, have you read the ha! I saw somewhere you said 'So and so insulted my programming skills'. Well, you've written an incredibly difficult program from scratch in C, so I'd say your skills are now top-notch. |
Take your time! I would simply be grateful to be in the article at all. :) I love it when arrogance gets proven wrong, especially when it comes to factoring. I like that story, and I'm glad my Er, yeah, that comment is slightly embarrassing now. I was tired from trying to finish the bus factor document and commenting the actual code. But I'm glad you found it funny. And thank you so much for your compliment. :) I'm glad you think so. |
https://en.wikipedia.org/wiki/Bc_(programming_language)
Under history they state there are 3 implementations. Yours would be the 4th, correct?
The text was updated successfully, but these errors were encountered: