Coder Social home page Coder Social logo

gnu-pricing's Issues

Replace hardcoded bash with /usr/bin/env bash

Especially with OS X, /bin/bash is a very old version of bash. Using /usr/bin/env bash, we can fetch the user's preferred version (for example, I used brew to install an up-to-date version).

Pricing for gunzip

Although gzip is properly priced, it makes sense to also charge for gunzip. Thank you for this helpful tool!

bin/gnu-pricing: line 37: -2: substring expression < 0

When I try to do cat --pricing I get:

bin/gnu-pricing: line 37: -2: substring expression < 0
bin/gnu-pricing: line 47: -2: substring expression < 0

I'm using GNU bash, version 4.3.33(1)-release (x86_64-apple-darwin14.1.0).

Pricing

The idea is kinda cool. But the pricing seems not optimal.

1 ) Compare pricing to windows cost on Amazon EC2 per hour.
Use uptime mult per linux usage houre rate at 1/1000 of M$.
Use tuptime for total uptime.

2 ) Per application :
Parse https://www.gnu.org/manual/blurbs.html and look at packages installed in system. Price per install at 0.05$.
Parse all those packages to locate the binary and use that list to look in history. Price at 0.0001$ per usage.

That should give a more realistic base pricing.
Add a support GNU multiplying ratio of :

1X = Lame
5X = Poor student
50X = Graduated student
150X = Wealthy geek
5000X = CEO of a small company
500000X = CEO of medium company
50000000X = CEO of large company

Remember that FreeBSD got 1M from Jan Koum, the CEO and co-founder of the WhatsApp.

Any way, nice idea this app :)

Spaces in arguments

Hello,

there is a bug with arguments containing spaces not correctly passed to the real binary:

$ mv Downloads/carnet\ pl\ sout.pdf /media/mmcblk0p1
mv: cannot stat ‘Downloads/carnet’: No such file or directory
mv: cannot stat ‘pl’: No such file or directory
mv: cannot stat ‘sout.pdf’: No such file or directory

it can be fixed by changed the last line of pricing.sh to

$THISCMD "$@"

or better

exec $THISCMD "$@"

The Raw Deal

Dear diagify,

the GNU philosophy says about "sharing computing across world". I think you should look in your dictionary (or Wiktionary if you don't have one) and check word "Foundation". Please mention that a foundation is usually non-profit.

The idea to donate the FSF is great. I'll donate it when I'll get a credit card.

Hope your project grows,
Jakub

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.