Pages:
Author

Topic: BitcoinTalk++ script - v0.2.96 - page 41. (Read 114219 times)

legendary
Activity: 1764
Merit: 1000
September 06, 2013, 03:19:44 PM



By the way guys: http://www.theguardian.com/world/2013/sep/05/nsa-gchq-encryption-codes-security
I'll (try to) implement a system replacing SSL in the server.
Would this be an overkill for a tiny script like BT++? Absolutely.
The idea behind that is more selfish, it's to develop and debug such a system. This would be opt-in of course.




well, why not. I'd opt-in!
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
September 06, 2013, 02:35:48 PM
Thanks for the suggestions!

1/ I know... It was planned but I started to lack time before I had the chance to do it.

2/ That's great. That makes me think that would be cool to make "auto load next page", like with google image. For threads or whatever. I'll look at both when I have some time.

3/ Ok, why not. If nobody's against I'll change that in the next update.




By the way guys: http://www.theguardian.com/world/2013/sep/05/nsa-gchq-encryption-codes-security
I'll (try to) implement a system replacing SSL in the server.
Would this be an overkill for a tiny script like BT++? Absolutely.
The idea behind that is more selfish, it's to develop and debug such a system. This would be opt-in of course.



I'll implement a pic uploading form right in the bitcointalk pages
See https://bitcointalksearch.org/topic/images-on-this-site-288728
hero member
Activity: 784
Merit: 1000
Casper - A failed entrepenuer who looks like Zhou
September 06, 2013, 10:28:31 AM
hero member
Activity: 784
Merit: 1000
Casper - A failed entrepenuer who looks like Zhou
September 06, 2013, 10:22:14 AM
Hey JackJack, been using your service for quite a while. Collected plenty of plus and minus and evened everything out to Zero. Figured out some suggestions Smiley
Those pluses are kinda bulky to load on a lengthy page and often create plenty of pings to your server. And I guess most data would goes to the header instead of data. What if when the page initialize, fetch a JSON of all pluses and minuses (Cache for 1 or 2 minutes if you would consider even saving more DB processing power) and match it locally. So there would be less request to your server.

Extra thing that I had made to made reading new post on forum like reading your Facebook Stream at https://bitcointalk.org/index.php?action=unread with this script (I code in a very ugly way, much of a newbie coder with 3 years of experience)

Made a snippet for the Unread Post since last visit page to auto update itself without all the refresh, ugly code Tongue

At least it updates and you can catch up the latest news!

Code:
var script = document.createElement('script');
script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js';
script.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(script);
script.onload = function() {
setTimeout('confirminit()',1000)
};
function confirminit(){
$('#bodyarea').prepend('
Press to start autoupdates (12 seconds interval)
')

}
var audioElement = document.createElement('audio'); audioElement.setAttribute('src', 'http://chromaticcreative.net/bitcoin/p.mp3')
var $page
var iaa=0
function ajaxinit(){
iaa++
if(iaa>50){
$('#bodyarea').prepend('

Timeout, press to reconnect updates
');return false;
}
$.get(location.href, function(data) {
  $page = $(data);
if($('#bodyarea table.bordercolor table.bordercolor tr:nth-child(2) td:nth-child(3)').html()!=$page[42].children[2].children[0].children[0].children[0].children[0].children[0].children[1].children[2].innerHTML){
audioElement .play()
}
$('#bodyarea').html($page[42].innerHTML)
setTimeout('ajaxinit();$(".catbg span").text("Bitcoin Forum")',12000)
setTimeout('$(".catbg span").text("Until Next Update: 5")',7000)
setTimeout('$(".catbg span").text("Until Next Update: 4")',8000)
setTimeout('$(".catbg span").text("Until Next Update: 3")',9000)
setTimeout('$(".catbg span").text("Until Next Update: 2")',10000)
setTimeout('$(".catbg span").text("Until Next Update: 1")',11000)

});
}
legendary
Activity: 858
Merit: 1000
September 05, 2013, 03:07:27 PM
I installed everything!  May I have my password?

To get is faster, PM him. But eventually, he will see this and send it to you.
legendary
Activity: 1008
Merit: 1005
September 04, 2013, 09:01:33 PM
I installed everything!  May I have my password?
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
September 01, 2013, 04:12:29 PM
Any preference whiskers75?


Wow, quoted. Now I know all the colors I can choose from!

Also, just add a setting for the color. I like the blue for the record Tongue

Actually all the colors are possible, this was only a subset but I didn't want to post 255 (255*255)-squares Grin
Yeah I knew blue was great!
I'll add the settings then (for negative, neutral and positive)

Any preference whiskers75?

-snip-

I laughed. A lot. I guess that took you quite a while.
Not exactly Grin
I lolled, smart move!
Hey, what did you expect?
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
September 01, 2013, 03:55:47 PM
Any preference whiskers75?

-snip-

I laughed. A lot. I guess that took you quite a while.
Not exactly Grin
I lolled, smart move!
legendary
Activity: 858
Merit: 1000
September 01, 2013, 03:48:49 PM
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
September 01, 2013, 03:14:39 PM
Any preference whiskers75?

-snip-

I laughed. A lot. I guess that took you quite a while.
Not exactly Grin

Code:
#!/usr/bin/env python
ret=''
n=4
for rrr in range(n+1):
rr=int(255.0*rrr/n)
for vvv in range(n+1):
vv=int(255.0*vvv/n)
for bbb in range(n+1):
bb=int(255.0*bbb/n)
r,v,b=map(lambda x:'%02x'%x, [rr,vv,bb])
ret+='[[b][color=#'+r+v+b+']0%[/color][/b][size=5pt]/8[/size]] '
ret+='\n'
ret+='\n'
print ret
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
September 01, 2013, 03:06:53 PM
Any preference whiskers75?

-snip-

I laughed. A lot. I guess that took you quite a while.
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
September 01, 2013, 03:02:01 PM
Any preference whiskers75?

[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]

[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]

[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]

[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]

[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]
[0%/8] [0%/8] [0%/8] [0%/8] [0%/8]

legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
September 01, 2013, 12:23:02 PM
Changing their usernames doesn't have any effect on voting because BT++ accounts (on the server) are not tied to bitcointalk's ones.
For now BT++ (client) guesses the username by reading the "Hello, username" and you can't modify that without messing (a bit) with the code.
If someone changes his username, I just have to add a setting that allows setting one's BT++ username by hand instead of just guessing it. It's a matter of a few lines.

Tell me if I'm not clear


For instance, if I change my username to 'Putin', my BT++ client will read 'Hello Putin' at the top of the page. So each time I'll vote it will send username=Putin and password=passwordForJackjack. As Putin!=jackjack, the server will refuse my votes. In order to fix that I'll add a setting to force my BT++ client to use username=jackjack.
legendary
Activity: 858
Merit: 1000
September 01, 2013, 11:33:33 AM
If someone changes their username, does it effect voting? Does it use Username or Display name? (I recommend Username for back-end data because it cannot change unless someone edits the SQL database.) 

For those that do not know:
DisplayName is what people see, Username is what you login with. They are usual the same unless you have had a username change.
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
September 01, 2013, 11:14:33 AM
(also, it's VERY tempting to hit that -1 button on your perfect score Grin)
Did I mention that the first one to put me a -1 will be banned? Grin

So it's a dictatorship is it!
(create alt account, neg him on the alt Cheesy)

EDIT: 50% looks horrible - it doesn't even have a % sign! Tongue Make it at least bold, maybe green Tongue
I made that because I wanted to make the null score discrete (as MANY people have null a score)
But yeah, when the 0 comes from multiple votes and not because of no votes at all I should make it prettier (not sure whether I'm clear...)
Not green though, blue I think
Yuck! Blue looks horrible! Sad
Also, it's confusing to have a black 0 and then a red +0%.
I don't have enough time currently to waste it on colors, but if you find a better color that is not green or red I can change it
To find one, preview a post with this, and change #aabbcc:
Code:
[[b][color=#aabbcc]0%[/color][/b][size=5pt]/8[/size]] [color=lightgray][+ −][/color]

And everything is blue here, I don't see any red
hero member
Activity: 658
Merit: 502
Doesn't use these forums that often.
September 01, 2013, 10:08:30 AM
(also, it's VERY tempting to hit that -1 button on your perfect score Grin)
Did I mention that the first one to put me a -1 will be banned? Grin

So it's a dictatorship is it!
(create alt account, neg him on the alt Cheesy)

EDIT: 50% looks horrible - it doesn't even have a % sign! Tongue Make it at least bold, maybe green Tongue
I made that because I wanted to make the null score discrete (as MANY people have null a score)
But yeah, when the 0 comes from multiple votes and not because of no votes at all I should make it prettier (not sure whether I'm clear...)
Not green though, blue I think
Yuck! Blue looks horrible! Sad
Also, it's confusing to have a black 0 and then a red +0%.
legendary
Activity: 1176
Merit: 1260
May Bitcoin be touched by his Noodly Appendage
September 01, 2013, 06:29:29 AM
(also, it's VERY tempting to hit that -1 button on your perfect score Grin)
Did I mention that the first one to put me a -1 will be banned? Grin

So it's a dictatorship is it!
(create alt account, neg him on the alt Cheesy)

EDIT: 50% looks horrible - it doesn't even have a % sign! Tongue Make it at least bold, maybe green Tongue
I made that because I wanted to make the null score discrete (as MANY people have null a score)
But yeah, when the 0 comes from multiple votes and not because of no votes at all I should make it prettier (not sure whether I'm clear...)
Not green though, blue I think

nice feature, when will someone become a scammer? how to use this feature (i found the button, i mean when should i click)? just report people after they scammed? or report very untrustworthy people as well?
Reporting has nothing to do with tags
If one is reported a lot, then we'll have a nice discussion here to decide what to do with him (tag him or not, if so which tag)
It's more a "this guy deserves some attention" button, so you can report untrustworthy people and potential scammers
You can always contact me if you mistakenly reported someone

just reported BT++ for scamming, hell his hey makes me so aggressive Smiley

btw, can't up-/downvote BT++, "Error: Values not matching", because he's already tagged as scammer?
I didn't see his thread received some attention!
And no, I used a check that wasn't very reliable and that is now useless anyway. Working now.

hero member
Activity: 672
Merit: 500
September 01, 2013, 06:26:55 AM
Could I get my password?
hero member
Activity: 658
Merit: 502
Doesn't use these forums that often.
September 01, 2013, 03:09:28 AM
(also, it's VERY tempting to hit that -1 button on your perfect score Grin)
Did I mention that the first one to put me a -1 will be banned? Grin

So it's a dictatorship is it!
(create alt account, neg him on the alt Cheesy)

EDIT: 50% looks horrible - it doesn't even have a % sign! Tongue Make it at least bold, maybe green Tongue
sr. member
Activity: 376
Merit: 312
Can you say... nighty-night?
September 01, 2013, 12:03:41 AM
Added scammer reports
The list of reports is here: http://jackjack.alwaysdata.net/btpp/scamreports/
Reports can't be revoked

nice feature, when will someone become a scammer? how to use this feature (i found the button, i mean when should i click)? just report people after they scammed? or report very untrustworthy people as well?

just reported BT++ for scamming, hell his hey makes me so aggressive Smiley

btw, can't up-/downvote BT++, "Error: Values not matching", because he's already tagged as scammer?
Pages:
Jump to: