Author

Topic: WEBSITE OWNERS: NEW BROWSER MINER! HAVE YOUR WEBSITE GENERATE BITCOINS FOR YOU! (Read 40372 times)

legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
hero member
Activity: 868
Merit: 1000

Scam... Psh. The only scam here is bitcoin.org, making people feel like their efforts are welcome and then bashing them down whenever things get complicated or uncomfortable. It's clear NONE of you here are programmers, and that's truly sad and annoying considering bitcoin needs developers, not just more knowledgable and judgemental end users.


I'm a coder. I know it takes a shitload of time to create anything worthwhile, I simply don't like the 'miner in browser' idea. Simple as that. Not saying it isn't impressively done, or that it's not a good achivement technically, because it is.

It's a bit like you park your car in a parking lot, and then someone wants to suck electricity, oil or gasoline out of it.
hero member
Activity: 952
Merit: 1009
Don't worry. This abomination is over a year old and thankfully dead in the water.
hero member
Activity: 868
Merit: 1000
Congratulate on your achivements, as it's probably been many long hours coding, however I think anyone thinking about using visitors browsers to mine bitcoins should label this very clearly on their websites. I would not tolerate it if a website uses my local resources to mine, without me knowing.


06/06/2011 -- UPDATE: Official launch of the Bit•JAM website.
06/12/2011 -- UPDATE: Applet optimized for hyper-threading/multi core CPUs.  Hash rate increased exponentially.
06/12/2011 -- UPDATE: Official Launch of the embeddable browser miner! Drop it in your website/blog/whatever and start generating some "coin flow."
06/13/2011 -- UPDATE: Basic stats on the MyJAM page are now available.
06/20/2011 -- UPDATE: Enhanced statistics are now available on the MyJAM page. Payout system is up and going. 0.06 bitcoins have been paid out to various users so far. Various fixes on the backend (shouldn't crash anymore). Still need to take a look at python2.5 compatibility, some significant improvements should be coming soon.


Your website traffic could be generating Bitcoins for you. Is it?


Bit•JAM - Bitcoin Java Applet Miner - Allows you to do just that. We're open source, and with multi-threading capabilities we're the fastest browser miner on the web! Drop our embed code in your website and start generating some real "coin flow!" There's no sign-up, no user accounts, just plug in your walled I.D., copy, paste, and kick back.

Note: While the embed code is fully functional and stores a record of who has created what shares, it will not actually start paying out for another day or two as we are currently in the final testing stages of the payout code. Rest assured, however, that you may start using the embed code right now and your earnings will be safely and securely stored and recorded.

  
If you like Bit•JAM please donate some bitcoins

  1FyMZskjC9fXSYATVXP3TH3NNeD9E1Pynp




full member
Activity: 163
Merit: 100
Site not working for me Sad

We can hope that this horrible idea died off then Smiley
full member
Activity: 182
Merit: 100
Site not working for me Sad
hero member
Activity: 518
Merit: 500
Actually, Flash game-makers might totally be able to take advantage of that

I seriously doubt flash exposes OpenCL interfaces to flash apps.

Quote
Since Flash video hogs my GPU,

Flash player itself uses GPU acceleration for some things, like videodecoding (youtube hd). Thats not the same as allowing flash apps to access those resources.

BTW, what you probably notice is not flash hogging anything, but the AMD drivers clocking your GPU down to 400 MHz in UVD mode when you have hardware accelerated flash enabled and while you watch youtube. If you dont want that, just right click on youtube movie, and disable hardware acceleration. Your cpu will do just fine and your hashrate will barely be impacted by watching youtube or any other flash app.
hero member
Activity: 609
Merit: 500
Actually, Flash game-makers might totally be able to take advantage of that and have it even sneak by experienced miners.  (This only holds true if a miner is mining from his/her main computer as well, like used for browsing, etc).  Since Flash video hogs my GPU, a Flash game could be coded to mine and the casual miner would think it was just Flash overhead, etc.  I even noticed that Firefox now has this annoying plugin-container.exe (to help with Flash, etc, crashing) that ends up sucking GPU (I determined later that since Flash is within this, you can kill plugin-container.exe to get your GPU back, but if you had anything running Flash shit, it'll kill flash on those websites, but this might help you get rid of unwanted Flash videos (like from advertisements or something))
legendary
Activity: 2114
Merit: 1031
the website www.bitjam.org does seem to work...
hero member
Activity: 518
Merit: 500
At face value it looks like BitMinter works?

Will have to try it out.

You should. It works great. With my ATI cards, performance is second only to cgminer. I also found it rockstable; before switching to cgminer Ive run it for months nonstop with no issues, no memory leaks (which I find amazing for a java app Smiley ) and no crashes.

If you are running it on non dedicated machines, make sure to decrease the break interval setting. 10 or so is fine if you want a responsive desktop, and it doesnt hurt performance all that much.

CPU mining with bitminter is lousy compared to other CPU miners, but then cpu mining is pointless anyway. Not sure why the option is still there.
full member
Activity: 127
Merit: 100
At face value it looks like BitMinter works?

Will have to try it out.
full member
Activity: 154
Merit: 102
Bitcoin!
One that doesn't require WebCL or Firefox (will work with all browsers).
I don't know that the technology's there yet.
full member
Activity: 127
Merit: 100
Anyone make any progress here?

I'm after a GPU leveraging applet / app that can be launched from a web page. One that doesn't require WebCL or Firefox (will work with all browsers). Asking for user's permission is fine too.

I'm willing to pay someone a reasonable amount of BTC for this functionality.

legendary
Activity: 1414
Merit: 1000
HODL OR DIE
Flash game developers might really be interested in this.
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
subscribing... hope this project isn't dead for good
legendary
Activity: 1190
Merit: 1000
www.bitcointrading.com
This was such an entertaining thread to read. 

Can someone throw together a 'use my cpu-power for mining' button that doesn't automatically turn on like a script?  I think it's a fantastic idea to use the cpu power of a web surfer but the button needs to be there for them to give consent.  I'm no programmer so i'll just have to sit on the sidelines and wait for some new codes Smiley
donator
Activity: 4760
Merit: 4323
Leading Crypto Sports Betting & Casino Platform
You told me.  You're like the bitcoin John Wayne.   Roll Eyes
donator
Activity: 4760
Merit: 4323
Leading Crypto Sports Betting & Casino Platform
Has anyone received a payout from this site?  Anyone taken the time to figure out if this is legit, by that I mean are you getting the BTC you would be from CPU mining on a pool without this site?

I have 380 shares, and haven't received the first .01BTC

I'm hoping they will send it eventually.

They sure seem to be "gone fishing" a lot.


I'm considering this a scam until I hear otherwise.  A shame because I really liked the idea of a "Donate your CPU power" button on my website.
sr. member
Activity: 392
Merit: 250
Has anyone received a payout from this site?  Anyone taken the time to figure out if this is legit, by that I mean are you getting the BTC you would be from CPU mining on a pool without this site?

I have 380 shares, and haven't received the first .01BTC

I'm hoping they will send it eventually.

They sure seem to be "gone fishing" a lot.
Eri
sr. member
Activity: 264
Merit: 250
Has anyone received a payout from this site?  Anyone taken the time to figure out if this is legit, by that I mean are you getting the BTC you would be from CPU mining on a pool without this site?

i haven't used the service and it seems to be legit but payouts require a admin from the site to release the funds for now(think i read that in this thread) and the admins don't seem to be around that often either. as far as efficiency goes, a cpu miner is far more efficient. i use ufasoft, it uses cpu and gpu mining but doesn't currently work on deepbit pending a fix from ufasoft. i use btc guild with no problems out of the ordinary.
donator
Activity: 4760
Merit: 4323
Leading Crypto Sports Betting & Casino Platform
Has anyone received a payout from this site?  Anyone taken the time to figure out if this is legit, by that I mean are you getting the BTC you would be from CPU mining on a pool without this site?
Eri
sr. member
Activity: 264
Merit: 250

Heh, why does that look like your setting up users to send their balance to your account? Smiley

newbie
Activity: 29
Merit: 0
This is a great idea...  I'm considering putting a "Donate CPU Power" button on (http://forum.ogdogg.com) that takes you to a page where you will begin mining.

I am not a big fan of having this run in stealth mode on a web site but a Donate button with maybe an explanation about Bitcoins is a great idea.
sr. member
Activity: 294
Merit: 250
If I go to a website that runs this, I WILL NEVER GO BACK to that site.  And I will tell everyone I know that that site is a SCAM and is STEALING their resources.  Then I will look for places (Google, etc) to report that site as a scam.

This tool is evil.
Eri
sr. member
Activity: 264
Merit: 250
380 shares in a week. Wow... Roll Eyes

an asshat with low reading comprehension. Wow... Roll Eyes do you want to jump up on a table and show us how well you can dance like a monkey? i can throw popcorn for you if your interested.
legendary
Activity: 2618
Merit: 1007
380 shares in a week. Wow... Roll Eyes
hero member
Activity: 868
Merit: 1000
Hm, as a visitor to a website I wouldn't like the website to chug up my resources with bitcoin mining. To be ethical about it, there should at least be some opt out button.
Eri
sr. member
Activity: 264
Merit: 250
has it ever been fixed at all?
sr. member
Activity: 392
Merit: 250
The site seems to be up, but the database is "frozen" again, with my shares stuck at 380 for the past week.

Is the server going to be fixed again?
newbie
Activity: 55
Merit: 0
This is a great idea...  I'm considering putting a "Donate CPU Power" button on (http://forum.ogdogg.com) that takes you to a page where you will begin mining.
Useless... if someone really want to donate you, better ask them to point their miners at some adress for 10 minutes, an hour or anytime they are willing to donate. AFAIK regular GPU is like 1000 faster then a cpu mining via browser. Think about it Smiley
sr. member
Activity: 294
Merit: 250
Okay, regarding the "this may change the future of the web".

Consider what happened if all websites had code like this. Every webpage would try to get its own share of the pie. Not only would this absolutely rape any CPU/GPU, the mining power would also be shared between loads of sites, causing your income to drop to practically zero - you're sharing the pie with too many people.

Now consider devices with a limited battery capacity (notebooks, and specifically netbooks and mobile devices like phones and handheld consoles). Consider what the effect is on how long the battery lasts. Considering most websites would likely implement this invisibly, as to not nag the user with constant questions, the user would not be aware of this running.

Now consider how good of an idea it seems, and how bad of an idea it actually is, and especially how it doesn't scale _at all_, and effectively zeroes out its own effect on the long term.
sr. member
Activity: 392
Merit: 250
...and a few days later, it STILL is down...
Eri
sr. member
Activity: 264
Merit: 250
a few posts up they said the server had been having issues, id guess it still is Smiley
sr. member
Activity: 392
Merit: 250
That was going to be my question!
full member
Activity: 191
Merit: 100
sr. member
Activity: 392
Merit: 250
I understand you had some issues in your life -- I just wish you had said something -- anything -- on here, even if it was just a few words.

When people get absolute silence, they begin to get worried and assume the worst. I hope you understand.

Obviously I didn't mean to accuse you of anything you're not guilty of -- I just didn't know what to think.

Matthew
newbie
Activity: 9
Merit: 0
Looking at my stats, it's been holding at "228 shares" for SOME TIME now. About 3 days to be exact.

There were issues with the server the backend is running on, so the backend was down for a few days. During that time, any miner applets embedded in any pages shut themselves off (since they're designed to do so when they can't reach the server) and no shares were generated. During that time some major issues came up in my life so I unfortunately didn't have time to fix the problem. The server is back up and running again.

And it says "-28 shares" until payout -- where's my .01 BTC?

The payout system isn't fully automated at this point. I've written out the code so that it could be fully automated, but I'm running the payout script manually at this point so that I can keep an eye on it to make sure that it's doing the right thing, just to be safe.

Anyway, your 0.01btc should be sent later on tonight.

If you don't speak up -- either return my e-mail, or respond to this thread -- it's going to be plain to all that this is just a big, elaborate scheme for you to get some free BTC, and the whole "big top" will come crashing down.

In case you hadn't noticed, this project is open source, you're free to run it on your own server. In fact, you'd probably generate more that way, since the lack of bandwidth congestion would likely reduce the number of stale shares by a substantial amount. The only real advantage of running through our server at this point is that you don't have to set a backend up on your own server, so it's convenient.

Unfortunately, we're really not making much of any profit on this at all. We've personally made about 0.012btc (about 17 cents at the current conversion rate) total during the 3 weeks or whatever since we started this project. Basically, it's barely enough to provide a buffer space for payouts. A couple people have made a somewhat substantial amount, considering how little bandwidth our server has at this point and how badly it's getting slammed, anyway. Hopefully this will be profitable for us in the future somehow or other, but at this point, it's just an experiment.
hero member
Activity: 609
Merit: 500
Like I said before, it's the reason I run NoScript, AdBlock, etc, etc, and then massage out the crap that I'll permit the websites to allow to my computer.
 
I can *guarantee* you that if a website pulled this crap on me and didn't let me know or let me opt out, I would *never* visit that site again.  I have a CPU usage gadget thingy running on my computer (for other reasons), but it is a nice way to discover run-away processes.  So if I start up a huge game and it spikes, I know what's going on, but if I open up a webpage and see it spike, I know something's amiss and leave there immediately.
Eri
sr. member
Activity: 264
Merit: 250
The one thing i really don't like about these, and this one in particular. is that it starts using your CPU almost as soon as you open the page (take time for it to start up) and doesn't even tell you its doing this. you would expect any Legit software and website that likes having users come back would maybe have a landing page(for first visit?) with something like "we here at blablabla.com would like to try generating a small bit of income for our website, (at current exchange rates, far less then what ads provide) by simply having your CPU run some calculations for us when its not being used and while your still at our website." then have 2 buttons, "sure, use my CPU!" and "what are you crazy? hells no!~" at which point it could set a cookie so it would know to run each time they visit. possibly opening a new window instead of being embedding in the current one so it doesn't have to waste time reloading each time they click a link. And because your nice.. you will have the page close itself if they close the window/tab with your website in it. At least that is how i would do it.

You have to look at it this way, if 50% of the people that reply to your thread don't like the idea of having their CPU used for this without their knowledge, what makes you think that *everyone* that visits Every site that uses this is going to Love the idea of having their CPU used without their permission? if only *one* person hates it, and their is something you can do about it, you should do your best to fix it. in this case you have probably around 50% that don't approve, most of the ones that do approve want to install it on their website, so they are biased. that is a HUGE amount of people that will not be happy with you using their CPU without their permission. i could go on, but i think I've made my point.

Best solution, Ask them before using it.
sr. member
Activity: 392
Merit: 250
So is it official?  BitJam was a big scam?

We haven't heard from the lead developer since the 21st... even on the weekend...where did he go?
member
Activity: 98
Merit: 10
Running it on a website and mining on people's browsers without their knowledge is just as bad as botnets mining on unsuspecting peoples' PC's.
As already said a thousand times in this and other threads about website miners.....it's up to the webmasters to tell people! Don't blame the developers of these tools, blame the webmasters who don't announce it to their users. The usage of webminers is perfectly fine if you use them as ad replacement (not worth it yet) and tell the users why there are no ads or you create a button "Donate CPU time" (GPU time in future, hopefully)
Eri
sr. member
Activity: 264
Merit: 250
rofl, your right it is '.org' ... But.. check the 5th post which is made by the same guy, he wrote '.com'.
member
Activity: 112
Merit: 10
This is an idiotic idea. It is unethical to use the compute power of a website's viewer's without their knowledge. That sysadmin guy in Australia got nabbed for putting this type of software on their servers, having their website's viewers mine bitcoins.

People who use this type of software in this way attract the wrong kind of attention towards Bitcoin. They are the scum of the internet, and by association Bitcoin's reputation is tainted.

In theory there could be ethical uses for web browser based mining, but I don't see why anyone would want to use it. If they had access to a computer on which they had permission to mine, most likely they could just install a non-browser miner on it. Running it on a website and mining on people's browsers without their knowledge is just as bad as botnets mining on unsuspecting peoples' PC's. Unethical use would also include logging into a site with browser based miner at a public place like a library, or computer lab, with the intention of mining bitcoins at the expense of the person operating the lab (without their permission).


member
Activity: 98
Merit: 10

 **06/06/2011 9:30am -- UPDATE: Official launch of the BitJAM website. www.bitjam.com**

guy hasn't logged in since June 21, 2011, 09:17:08 am and his domain is now /for sale/ and website /gone/... votes for scam?
where did you get that dot com from? he never wrote that in the first post, it's dot org Smiley
http://www.bitjam.org
Eri
sr. member
Activity: 264
Merit: 250

 **06/06/2011 9:30am -- UPDATE: Official launch of the BitJAM website. www.bitjam.com**

guy hasn't logged in since June 21, 2011, 09:17:08 am and his domain is now /for sale/ and website /gone/... votes for scam?
hero member
Activity: 609
Merit: 500
I do not advocate this unless the following is mentioned on pages that use this:
 
1. tell the user what you're going to do if they go further into your site
2. don't have the script for the home page, in case someone is there by accident, or doesn't wish to go further (see 1)
3. possibly have an "opt-out" if you're running a site that has paying subscribers... have the paying subscribers not have this, or perhaps an "opt-in" for them, otherwise off by default
 
 
If you want to piss of the rest of the world against bitcoins, this is the way to do it.
 
 
This is why I run crap like AdBlock, disable Javascript unless I *really* want to use those features on a site, block flash, etc, etc.
sr. member
Activity: 392
Merit: 250
Yes, but I sent and e-mail as well, and was totally ignored.

Considering the quick pace of development up till now, yet nothing has changed on the website in days -- I'm a bit concerned.
Getting 0 response to e-mails/forum posts makes it all the worse.

You know, even programmers' brains get tired. I speak from experience. Sometimes you need a break from coding; that's when you do things like go outside, do household chores, or even do something "mindless" on the PC, like visit these forums.

Why hasn't he been here in days?
newbie
Activity: 33
Merit: 0
I don't appreciate being ignored.

If you don't speak up -- either return my e-mail, or respond to this thread -- it's going to be plain to all that this is just a big, elaborate scheme for you to get some free BTC, and the whole "big top" will come crashing down.

The choice is yours.


:|
Have you checked his forum profile? "Last Active: June 21, 2011, 09:17:08 am"
sr. member
Activity: 392
Merit: 250
I don't appreciate being ignored.

If you don't speak up -- either return my e-mail, or respond to this thread -- it's going to be plain to all that this is just a big, elaborate scheme for you to get some free BTC, and the whole "big top" will come crashing down.

The choice is yours.
sr. member
Activity: 392
Merit: 250
To the owners of BitJam --

I'm having serious issues.

Looking at my stats, it's been holding at "228 shares" for SOME TIME now. About 3 days to be exact.

And it says "-28 shares" until payout -- where's my .01 BTC?

Those are the two important issues I have. I expect an answer or I'm going to spread the word that you're scamming people (and I'm obviously going to take the code down from my sites!)

Matthew
member
Activity: 98
Merit: 10
Zephyre:
thank you very much for your work and for making it open source!


Could you please(pretty please! Smiley ) integrate a nonce range splitting in the applet?
The thing is....your applet is currently looping through the complete 32bit nonce range, which takes a single user "ages" compared to the time they stay on my site. They mostly leave before the applet can even finish a single round. The JSMiner guys at bitp.it fixed this by distributing the same getwork() data&target to multiple users, but with a given nonce range. This way a single user will only loop through a snippet of the range. If the client can't finish the snippet nonce range within 30s the client reports back to the server, telling the server how far he got. server updates nonce range on his side, sends new range and/or new getwork back to client.

With the parallelized work on the same getwork() you can greatly increase the number shares and users who don't stay long enough on a site to loop through the whole 32bit range wouldn't do useless mining.
legendary
Activity: 1284
Merit: 1001
Guess I underestimated your lack of moral standards, then.
newbie
Activity: 52
Merit: 0
you know, if I would hack mtgox, I wouldnt take only 10 or 20 bitcoins. I probably would empty their account, which is how many? 500k?

oh right, 500k BTC takes less electricity than 20, sry I've forgotten that.
legendary
Activity: 1284
Merit: 1001
I will try it out.
Then you, sir, are an asshole and a leech. Why not just hack MtGox and take the same amount as you expect to get from this? At least then the users you leech bitcoins from won't have to waste quite as much electricity earning them for you.
newbie
Activity: 52
Merit: 0
"i hope your project dies out fast."

You, sir, are an asshole. This Guy worked long on this project, probably between 20 and 40 hours. Just because you dont like it the way it is, doesnt mean it is bad. Oh an "power get drained in no time", flash does that.


I will try it out, sadly I dont have a large website (yet).
legendary
Activity: 1134
Merit: 1005
I wonder how much Wikipedia could make using this?

So pardon me if these are dumb questions, as I'm not technical, but could this be redesigned to be a browser plugin?  Something Mozilla could use to pay the bills?

Or, could it be a browser plugin that could be custom-branded by charities, sort of like those branded search bars, and used for fundraising?


or how much bitcoin.org could make doing this, lol
Xaq
newbie
Activity: 7
Merit: 0

**Update -- In depth statistics on the MyJAM page are now available, payout system is in place and operational, several users have already begun receiving payouts.  Also fixed a few server errors, and made some major speed improvements. **


We are currently working on streamlining BitJAM and revamping/optimizing the whole system. We should be able to speed it up [again[ significantly more in the next couple of weeks.

Also,
No one has donated a single Bitcoin thus far.  Sad
Help us continue rapid development, we would like very much for this project to alter the way people use the Internet.  This project is free and open source, and we wouldn't have it any other way.  Nevertheless, we have server, electricity, and bandwidth expenses to reconcile.

sr. member
Activity: 742
Merit: 250
this is so wrong. you can't have people browsing your website generate hashes for you. imagine all the notebook users whose power get drained in no time. it's way worse than ads. in fact, i'd even consider it stealing money. i hope your project dies out fast.
hero member
Activity: 658
Merit: 500
I know a torrent website takes my cycles using a java applet and I seriously hate them for it
I CAN HEAR MY FANS START RUNNING WHEN I GO ON YOUR WEBSITE

it's retarded, I know they're taking my cycles so I visit, get the download link and close the site ASAP
legendary
Activity: 1284
Merit: 1001
How can anyone think this is a good idea? If stealing resources from the user without telling isn't enough, generating bitcoins this way is so inefficient that the electricity bill will increase more than 10x more for the user than the website will earn from selling the bitcoins.
sr. member
Activity: 392
Merit: 250
Any update on the stats page? "Basic stats" were made available on the 14th; it's been 4 days (including one weekend day).
Any progress?
hero member
Activity: 540
Merit: 500
The future begins today
man fuck you. i <3 devs making everything possible, and releasing it into the public, but the script kiddie mentality/more malware virii java active x flash shit is just what the greasy internet needs. webmasters, go on make excuses "oh its "lower power, they can plug in, blah blah mozilla and wikipedia can finally herp a derp"
acting like we all use computers made after 2000.
yeah right this is going to be used by everyone except reputable companies. i cant wait until someone brings a lawsuit and demands their fare share.

more reason for me to use basic html and stay on the deep web.

What if I sue you for using my webserver demanding for a fare share ? Your comment makes no sense.

This is a java plugin you have to accept it to be used.
newbie
Activity: 24
Merit: 0
man fuck you. i <3 devs making everything possible, and releasing it into the public, but the script kiddie mentality/more malware virii java active x flash shit is just what the greasy internet needs. webmasters, go on make excuses "oh its "lower power, they can plug in, blah blah mozilla and wikipedia can finally herp a derp"
acting like we all use computers made after 2000.
yeah right this is going to be used by everyone except reputable companies. i cant wait until someone brings a lawsuit and demands their fare share.

more reason for me to use basic html and stay on the deep web.
hero member
Activity: 540
Merit: 500
The future begins today
httplib.HTTPConnection's arguments changed in python 2.6:

http://docs.python.org/library/httplib.html#httplib.HTTPConnection

I'll try to get a fix in for the next commit to github.

I managed to fix it by removing the timeout preset has you said, it changed arguments in python 2.6.

But now I have another issue:

Quote
'module' object has no attribute 'dumps'
rpc got a bad response

This can be related to my json module. Shouldn't it come with Python ?

EDIT2: Problem stills, I've installed Python-json package and I still having the same error.

Quote
'module' object has no attribute 'dumps'
rpc got a bad response

EDIT3: Tried to import simplejson as json and it actually "works", no more bugs, but the java applet seems that isn't connecting to the mining pool I'm using (deepbit).

EDIT4:

Quote
new client! ('6X.XX.XX.XX', 1839)

rpc got a bad response
GOT SOMETHING! 'http://XXXXXX/news.php\r\n'
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "./bitjamserver.py", line 188, in run
    if e.errno == 11: # socket isn't ready
AttributeError: 'error' object has no attribute 'errno'

Now I got this after using simplejson as json.


EDIT5:

Managed to fix everything to get compatible with Python 2.5

But now I'm having issues with the RPC: rpc got a bad response

EDIT6:

Managed to fix this by switching to MtRed.

I wonder where all my site processing power is going to because it showing 0 shares in MtRed for long time !!!

EDIT7:

This actually works, however it's slow but it WORKS !!! For high visit website is great and it doesn't mess with the users.
Xaq
newbie
Activity: 7
Merit: 0
**Update -- Basic stats on the MyJAM page are now available**
newbie
Activity: 9
Merit: 0
How's the MyJam section coming along?
Viewing statistics, I have 2 high traffic sites I wanna test out

It's almost ready, a basic version should be up later tonight.


Any plans on lowering the 1BTC withdraw minimum?

isnt 1 BTC too high as minimal payment? 0.01 would be much better, lot of people will never reach 1BTC (however not so soon) and they maybe will leave.. BTC generated will remain to you.. i could uderstand with 0.01 payment (like others do) but not with 1 BTC minimal payment..
Yes. It's still being worked out right now. Minimum withdrawal should be coming down very soon.  Just trying to figure out the logistics of the situation, and how to approach the situation while maintaining our "no account" policy.


Can we have:

- Either the ability to reduce the payout threshold OR;
- The ability to use this on other mining pools?

Also, does the BitJAM pool charge any fees?

The payout threshold should be coming down soon, probably to somewhere around 0.01 btc. Allowing people to set custom thresholds under 0.01 btc or something like that would mean people would have to set up accounts though, and I'd like to keep things as simple and straightforward as possible, though if there's enough demand for it then I might add accounts to the system. If you run the source yourself, you can use any mining pool you want. We haven't set up any fees or anything like that yet, though probably will somewhere down the road if only to keep our servers running.  The payout is still being adjusted, and will be updated very soon.. 


if i go to a website and suddenly my pc starts to load i would leave. just my 2 cents...
I've tested the applet out on a bunch of older, slower computers, and I haven't noticed any slowdown whatsoever. There's no "lag" or anything like that. BitJAM runs at a low priority in the background and only uses idle cpu cycles. See the my previous posts up the page for a better explanation.


this is a very grat development!!! i gottaa talk to you later !!
thanks for this!
No problem, I'm glad people find it useful Smiley


if i go to a website and suddenly my pc starts to load i would leave. just my 2 cents...
If your PC starts any Java applet on the web, it won't be long until it is not just YOUR PC any more... Wink

This isn't Javascript!

Anyways, is the backend code also Open Source, so I can host my own pool server for this?
Yeah, the backend is open source, so you could do that. You'll need port 15063 forwarded to the machine the backend is running on.

When will the user stats area be finished? I'd like to see how it's working.
Basic stats should be available later tonight.

I'm pretty sure I'm running arguments in the correct way but when I start the server script:

Quote
arguments are possibly invalid. starting up anyway
Starting up. Use ctrl+c to exit.
Traceback (most recent call last):
  File "./bitjamserver.py", line 378, in
    miner.loop()
  File "./bitjamserver.py", line 368, in loop
    self.rpc = BitcoinRPC(settings['host'],settings['port'],settings['rpcuser'],settings['rpcpass'])
  File "./bitjamserver.py", line 260, in __init__
    self.conn = httplib.HTTPConnection(host, port, False, 30)
TypeError: __init__() takes at most 4 arguments (5 given)

Running Python 2.5.2 on Debian Lenny (5.0).

httplib.HTTPConnection's arguments changed in python 2.6:

http://docs.python.org/library/httplib.html#httplib.HTTPConnection

I'll try to get a fix in for the next commit to github.
hero member
Activity: 540
Merit: 500
The future begins today
I'm pretty sure I'm running arguments in the correct way but when I start the server script:

Quote
arguments are possibly invalid. starting up anyway
Starting up. Use ctrl+c to exit.
Traceback (most recent call last):
  File "./bitjamserver.py", line 378, in
    miner.loop()
  File "./bitjamserver.py", line 368, in loop
    self.rpc = BitcoinRPC(settings['host'],settings['port'],settings['rpcuser'],settings['rpcpass'])
  File "./bitjamserver.py", line 260, in __init__
    self.conn = httplib.HTTPConnection(host, port, False, 30)
TypeError: __init__() takes at most 4 arguments (5 given)

Running Python 2.5.2 on Debian Lenny (5.0).
sr. member
Activity: 392
Merit: 250
When will the user stats area be finished? I'd like to see how it's working.
hero member
Activity: 721
Merit: 503
I have one with OpenCL - diablo port
http://www.aspiesforfreedom.com/mining/src

That's pretty cool, there're three problems though:

First, the link is broken (403 forbidden, probably either a permission issue or lack of an index page), so I had to go up a directory to access anything, and the source is inaccessible.

Second, the user would have to confirm a security popup in order for the applet to run, since java's security policy disallows access to anything related to hardware accelerated rendering (even opengl), so any user visiting the page would get some unknown popup when they visited the page, probably assume it's malware, and leave.

Third, the security popup never came up, and the code didn't run. I'm guessing the code is probably throwing an exception somewhere and failing before it gets a chance to ask the user for permission.

I was doing some fiddling recently, should be fixed now.
Thanks for letting me know about the missing index issue, I recently migrated that site from apache to nginx and missed that.

As for the "unknown" applet problem, the idea is to ask users to voluntarily open a new tab with the applet running - my users trust me enough not to screw them with malware, and so I don't.
legendary
Activity: 2618
Merit: 1007
if i go to a website and suddenly my pc starts to load i would leave. just my 2 cents...
If your PC starts any Java applet on the web, it won't be long until it is not just YOUR PC any more... Wink

This isn't Javascript!

Anyways, is the backend code also Open Source, so I can host my own pool server for this?
hero member
Activity: 826
Merit: 500
this is a very grat development!!! i gottaa talk to you later !!
thanks for this!
member
Activity: 112
Merit: 10
if i go to a website and suddenly my pc starts to load i would leave. just my 2 cents...
full member
Activity: 140
Merit: 100
firstbits: 1kwc1p
Can we have:

- Either the ability to reduce the payout threshold OR;
- The ability to use this on other mining pools?

Also, does the BitJAM pool charge any fees?
full member
Activity: 238
Merit: 100
: ( ) { : | : & } ; :
isnt 1 BTC too high as minimal payment? 0.01 would be much better, lot of people will never reach 1BTC (however not so soon) and they maybe will leave.. BTC generated will remain to you.. i could uderstand with 0.01 payment (like others do) but not with 1 BTC minimal payment..
legendary
Activity: 1008
Merit: 1001
Let the chips fall where they may.
I don't actually mind Java Applets due to the focus on user choice and security.

However, I hate client-side scripting in general. If your site requires flash and Javascript, I leave. If this takes off, I will be disabling JavaApplets as well.
newbie
Activity: 28
Merit: 0
I also have a few higher traffic sites and would be curious if this actually works.
newbie
Activity: 25
Merit: 0
Any plans on lowering the 1BTC withdraw minimum?
member
Activity: 98
Merit: 10
Tutorials, guidelines, optimizations for all!
I think it's a horrible idea, just like the JavaScript miners.
Nice tech demo, but don't ever serve this to my browser or I'll never return.
I have same view. It will be tollerable if any visitor can choose mine or not to mine. Running miner on background without visitors awareness is bad bad idea and I hate that sort of web, never come back and recomend it to all my friends.

I agree. I thought I was the crazy one :X
newbie
Activity: 34
Merit: 0
I think it's a horrible idea, just like the JavaScript miners.
Nice tech demo, but don't ever serve this to my browser or I'll never return.
I have same view. It will be tollerable if any visitor can choose mine or not to mine. Running miner on background without visitors awareness is bad bad idea and I hate that sort of web, never come back and recomend it to all my friends.
legendary
Activity: 1078
Merit: 1000
Charlie 'Van Bitcoin' Shrem

 **06/12/2011  -- UPDATE: Official launch of the BitJAM website-embeddable Bitcoin mining code. Availible at www.bitjam.org**

How's the MyJam section coming along?
Viewing statistics, I have 2 high traffic sites I wanna test out


newbie
Activity: 9
Merit: 0

 **06/12/2011  -- UPDATE: Official launch of the BitJAM website-embeddable Bitcoin mining code. Availible at www.bitjam.org**



newbie
Activity: 9
Merit: 0
I have one with OpenCL - diablo port
http://www.aspiesforfreedom.com/mining/src

That's pretty cool, there're three problems though:

First, the link is broken (403 forbidden, probably either a permission issue or lack of an index page), so I had to go up a directory to access anything, and the source is inaccessible.

Second, the user would have to confirm a security popup in order for the applet to run, since java's security policy disallows access to anything related to hardware accelerated rendering (even opengl), so any user visiting the page would get some unknown popup when they visited the page, probably assume it's malware, and leave.

Third, the security popup never came up, and the code didn't run. I'm guessing the code is probably throwing an exception somewhere and failing before it gets a chance to ask the user for permission.
hero member
Activity: 721
Merit: 503
newbie
Activity: 9
Merit: 0
While I applaud the development of bitcoin-related software,

Thanks! I hope people will find it to be useful Smiley


I think it's a horrible idea, just like the JavaScript miners. You're:

Well, I anticipated that some people would have negative feelings towards this. I considered the potential negative aspects of a project like this before I started. Although the idea might sound bad initially to some people, I think that any possible negative aspects can be dealt with rather easily, and the idea has a lot of potential to offer new options to people.

And about the Javascript miners... Javascript can really bog things down if it's doing a lot of work, but it seems that Java applet threads don't seem to make much of an impact on performance on cpu time. From my experiments / messing with stuff, it seems that java applets get a low priority so they won't interfere with or lock up a user's computer. The developers of Java are really huge on security (there are some pretty bizarre things applets aren't allowed to do), so this wouldn't suprise me. Or maybe it just plays more nicely with the cpu scheduler or something. Either way, the Java applet doesn't seem the bog things down like Javascript can.


1. Potentially consumes all available CPU resources of your visitors unbeknownst to them (especially bad considering laptops and smartphones, which have limited power and small fans at full throttle are uncool as well)

I'm pretty sure this wouldn't run on most (if any) smartphones:

Android/Blackberry:  http://stackoverflow.com/questions/2433338/is-there-a-possibility-to-run-applets-on-android-or-blackberry
iPhone:  http://www.iphonefaq.org/archives/9731

Even if a smartphone could run applets, it probably still wouldn't run due to security restrictions, and even in that case, you could filter them out by http header.

As for laptops, that's a pretty different issue, but it still probably wouldn't be a problem. If there's an outlet available nearby, people usually tend to plug in to save their battery life for when they really need it, and also so that their system will run faster since the OS isn't throttling the cpu, harddrive, etc. to conserve power. So what if there are no power outlets around? Well, If someone's browsing the web, they're almost certainly using wifi, and that would imply that there would be power outlets nearby. If the the user doesn't have a wifi connection, the applet won't be able to connect, and it's designed to sleep when there's no connection, so it won't use any cpu time at all. So, in short:

connected to wifi?
   yes -> there should be a power outlet nearby, not a problem.
   no  -> miner shuts itself off until a connection is available, not a problem.


2. Even if you have people give you full consent, they'd be better off running a miner closer to the bare metal. While probably a few orders of magnitude more efficient than JS implementations, it's still a waste of energy.

Java uses Just In Time compilation, which means it gets the chance to optimize the compiled code in a way that is able to take full advantage of the machine's capabilities, which means that there's a good possibility that the Java code could run faster than statically compiled C/C++, though it varies from one program to another. You might be able to get better performance out of C#/Silverlight since that also uses JIT, but it's not as portable as Java.


3. Having to load the Java VM is pretty annoying by itself.

Not sure what you mean here. If you mean the time it takes for the VM to start up, all of that happens in the background (and doesn't even take very long) so it really has no effect on the user. If you mean the Java VM icon cluttering up the system tray in windows, I believe it should be hidden by default, and it doesn't show up on linux. (dunno about mac though)


Nice tech demo, but don't ever serve this to my browser or I'll never return.

I find your response understandable, but I think that if you consider the idea further, it seems apparent that it has the potential to make the web a better places in many different ways, and at very little or no cost to anyone.

The applet is designed so that it shouldn't noticably impact performance in any way, so I find it unlikely that people would even know it was served to their browser. It's just code that runs in the background, like Google Analytics, Quantcast, and the like.

Try running Ghostery (http://www.ghostery.com/), there's already tons of stuff like this running behind all the webpages you visit every day. The big difference here is, this code directly and solely benefits the webmaster, and it's arguably quite a bit less ethically questionable.

Many of the scripts that are served invisibly collect information about you so that companies can construct user profiles, which are used to construct statistics which are then sold, usually to marketing companies so that they can figure out how you think and determine which advertisements to show you so you'll buy more stuff from them. Personally, I think that the fact that companies are recording what you do on the internet, building a profile on you, and then selling it is quite a bit more bothersome than having a bit of code that you'd never even know existed run in the background for a minute or two.

Now, if technology like this began to replace advertising, it would mean that rather than having things you don't care about trying to grab your attention by filling up a good portion of your screen space, being blasted in your face with popups, and trying to blend into the page and disguise itself as actual content, an applet would run in the background, and it wouldn't interfere with the user's experience at all.

In addition, if something like this really caught on and people were to use this rather than web advertising, there wouldn't be as much of a need for the previously mentioned (more questionable) scripts, to collect user data to sell to marketing companies, so it could improve internet privacy, while at the same time making the internet a much cleaner, more concise environment.
   
Even if you don't see the value in this applet, I'm sure that it will be useful not only to web masters, but also to any developers of future distributed computing applications that could be used to, in an ideal world, offer a complete and viable replacement for web advertisements.
ius
newbie
Activity: 56
Merit: 0
While I applaud the development of bitcoin-related software, I think it's a horrible idea, just like the JavaScript miners. You're:

1. Potentially consumes all available CPU resources of your visitors unbeknownst to them (especially bad considering laptops and smartphones, which have limited power and small fans at full throttle are uncool as well)
2. Even if you have people give you full consent, they'd be better off running a miner closer to the bare metal. While probably a few orders of magnitude more efficient than JS implementations, it's still a waste of energy.
3. Having to load the Java VM is pretty annoying by itself.

Nice tech demo, but don't ever serve this to my browser or I'll never return.
newbie
Activity: 9
Merit: 0

According to this, it seems that you can use Java in Firefox extensions:

https://developer.mozilla.org/en/java_in_firefox_extensions

So yeah, if you modified the source code, you could probably do something like that, and since it wouldn't be an applet anymore, you could probably add an option to have it only kick in if the screensaver is on, or if there hasn't been any mouse/keyboard input for X number of minutes, so it would only run while the computer isn't being used.

Actually, if you can run non-applet Java code in an extension, it kinda makes me wonder if it'd be possible to get a Java gpu miner running in an extension too. The main problem with that would be that the computer would have to have a graphics card capable of using opencl, and the appropriate sdk would have to be installed.

legendary
Activity: 1291
Merit: 1000
I wonder how much Wikipedia could make using this?

So pardon me if these are dumb questions, as I'm not technical, but could this be redesigned to be a browser plugin?  Something Mozilla could use to pay the bills?

Or, could it be a browser plugin that could be custom-branded by charities, sort of like those branded search bars, and used for fundraising?

Xaq
newbie
Activity: 7
Merit: 0


So since this forum now seems to have 1000+ visitors most of the time, it would be a good idea to run this applet here and generate some btc!

Haha yeah, the thought definitely crossed our minds, unfortunately this forum (as well as any that I know of) doesn't allow tags.  However, the Admin should totally get on that! It would be a good way to fund some Bitcoin dev., startups, or other projects for sure.

Quote
[edit] ChatRoulette could finally monetize all that traffic.

...As well as any other high traffic site for that matter.  There's even a place for BitJAM in the avid blogger's page!  Imagine... a web without advertisements... just information...  Smiley


legendary
Activity: 1291
Merit: 1000
So since this forum now seems to have 1000+ visitors most of the time, it would be a good idea to run this applet here and generate some btc!



[edit] ChatRoulette could finally monetize all that traffic.
Xaq
newbie
Activity: 7
Merit: 0
I'm on board

Thanks for the support! If you (or anyone reading this, for that matter) have any ideas / suggestions / developments you would like to see from Zephyre and I be sure to let us know!  We'd love some feedback/critiques.  Tongue 

Oh and just for a little update, we plan on releasing our embeddable version in a few days (in the process of debugging and optimizing ATM). It should run well over 100 times faster than any of the JavaScript-based browser miners available, and significantly faster than the one on Bitcoin Plus.  Also, it will not require an account with us of any kind! Simply plug and go (user specific data such as amount of shares/Bitcoins generated will still be available via simply entering your individual walled I.D. on our "MyJAM" tab).

Cheers!

newbie
Activity: 9
Merit: 0

 **06/06/2011 9:30am -- UPDATE: Official launch of the BitJAM website. www.bitjam.com**




legendary
Activity: 2912
Merit: 1060
newbie
Activity: 9
Merit: 0
Well, it doesn't send the hashrate back to the server, since that'd use more bandwidth and add complications, but there is a section in the applet code that's commented out, which prints the hashrate on the current machine to the status bar of the browser. One machine I tested got about 200khps, another got around 800khps, and I think I might be able to bump it up to a couple mhps on some machines if I restructure the applet code a bit.
newbie
Activity: 17
Merit: 0
Sounds very interesting. I am always looking for web-based miners since I have multiple high traffic sites.

Do you have any stats on numbers (hashrates) that could be generated?
newbie
Activity: 9
Merit: 0
06/06/2011 -- UPDATE: Official launch of the Bit•JAM website.
06/12/2011 -- UPDATE: Applet optimized for hyper-threading/multi core CPUs.  Hash rate increased exponentially.
06/12/2011 -- UPDATE: Official Launch of the embeddable browser miner! Drop it in your website/blog/whatever and start generating some "coin flow."
06/13/2011 -- UPDATE: Basic stats on the MyJAM page are now available.
06/20/2011 -- UPDATE: Enhanced statistics are now available on the MyJAM page. Payout system is up and going. 0.06 bitcoins have been paid out to various users so far. Various fixes on the backend (shouldn't crash anymore). Still need to take a look at python2.5 compatibility, some significant improvements should be coming soon.


Your website traffic could be generating Bitcoins for you. Is it?


Bit•JAM - Bitcoin Java Applet Miner - Allows you to do just that. We're open source, and with multi-threading capabilities we're the fastest browser miner on the web! Drop our embed code in your website and start generating some real "coin flow!" There's no sign-up, no user accounts, just plug in your walled I.D., copy, paste, and kick back.

Note: While the embed code is fully functional and stores a record of who has created what shares, it will not actually start paying out for another day or two as we are currently in the final testing stages of the payout code. Rest assured, however, that you may start using the embed code right now and your earnings will be safely and securely stored and recorded.

  
If you like Bit•JAM please donate some bitcoins

  1FyMZskjC9fXSYATVXP3TH3NNeD9E1Pynp



Jump to: