Author Topic: Live chat  (Read 2974242 times)

Orca

  • Hero Member
  • *****
  • Posts: 2280
  • Karma: +54/-3
    • View Profile
Re: Live chat
« Reply #6585 on: January 04, 2018, 05:36:19 pm »
Thanks for the explanation. Looks easy to follow. Yes. Sigh.  ???
I started here with nothing and still have most of it left.

gcr

  • Hero Member
  • *****
  • Posts: 1008
  • Karma: +28/-1
    • View Profile
Re: Live chat
« Reply #6586 on: January 04, 2018, 06:43:16 pm »
Thanks for the "dogs breakfast" explanation - too many years ago that I dabbled in SQL to check your coding - so accept that your intent is still honourable.
Your "system" is still malleable in the sense that I can see on my live prices that a certain share has increased in value over your 15 min delay prices and can then buy on your system and as such get the benefit of the "delay" between pricing - I am sure I could do the converse with price falls - but then I would in essence be trading rather than investing - which to my understanding is what the competition is all about
Maybe consider restricting frequent buyers/sellers to remove the trading aspect from the competition - just a thought 
Not everything that counts, can be counted, and, not everything that can be counted counts - Albert Einstein

Hamster

  • Hero Member
  • *****
  • Posts: 535
  • Karma: +13/-0
    • View Profile
    • Off Topic
Re: Live chat
« Reply #6587 on: January 04, 2018, 08:54:57 pm »
You are a brave man posting site code with db statements constructed using simple concatenation.

1=1; drop ... and all that.

PlatinumWealth.co.za

  • Sr. Member
  • ****
  • Posts: 322
  • Karma: +10/-1
  • Weekend Investor
    • View Profile
    • Platinum Wealth Group
Re: Live chat
« Reply #6588 on: January 04, 2018, 11:18:26 pm »
My paranoid senses went haywire.

Exploits everywhere
www.PlatinumWealth.co.za <- South African Investment and Finance forum.

Patrick

  • Administrator
  • Hero Member
  • *****
  • Posts: 2552
  • Karma: +47/-2
    • View Profile
Live chat
« Reply #6589 on: January 05, 2018, 09:55:24 am »
Lol, I know, I know. One day when I don't have a day job I'll rewrite it fully. Post will now vanish :)

gcr

  • Hero Member
  • *****
  • Posts: 1008
  • Karma: +28/-1
    • View Profile
Re: Live chat
« Reply #6590 on: January 05, 2018, 10:03:32 am »
Lol, I know, I know. One day when I don't have a day job I'll rewrite it fully. Post will now vanish :)
Shouldn't - use it as a frame of reference when you rewrite O:-)
Not everything that counts, can be counted, and, not everything that can be counted counts - Albert Einstein

Snapcase

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +1/-0
    • View Profile
Live chat
« Reply #6591 on: January 05, 2018, 03:31:48 pm »
haha, too many developers on here

Bread

  • Full Member
  • ***
  • Posts: 218
  • Karma: +6/-0
    • View Profile
Re: Live chat
« Reply #6592 on: January 06, 2018, 06:36:48 am »
Your "system" is still malleable in the sense that I can see on my live prices that a certain share has increased in value over your 15 min delay prices and can then buy on your system and as such get the benefit of the "delay" between pricing - I am sure I could do the converse with price falls - but then I would in essence be trading rather than investing - which to my understanding is what the competition is all about
Maybe consider restricting frequent buyers/sellers to remove the trading aspect from the competition - just a thought
I was also under the impression we wouldn't be able to conduct ourselves as traders but as chairmen of investment clubs. When I ran our office competition I had rules to exclude traders.

Patrick

  • Administrator
  • Hero Member
  • *****
  • Posts: 2552
  • Karma: +47/-2
    • View Profile
Live chat
« Reply #6593 on: January 06, 2018, 08:39:21 am »
The live pricing advantage is killed off by the pending delay. You might think you can see the future using your using account, but then your price is adjusted to the actual live price when you purchased.

Patrick

  • Administrator
  • Hero Member
  • *****
  • Posts: 2552
  • Karma: +47/-2
    • View Profile
Live chat
« Reply #6594 on: January 06, 2018, 08:39:58 am »
if you'd like to see it in action take note of the live price on your next purchase here.

Johnie

  • I've just arrived
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Live chat
« Reply #6595 on: January 08, 2018, 10:10:17 am »
leaderboard

Patrick

  • Administrator
  • Hero Member
  • *****
  • Posts: 2552
  • Karma: +47/-2
    • View Profile
Live chat
« Reply #6596 on: January 08, 2018, 11:11:45 am »
I had to change my security question, too many bots getting through. What do you think of: When something is really nice, in afrikaans we say "Dis baie l****r"

Hamster

  • Hero Member
  • *****
  • Posts: 535
  • Karma: +13/-0
    • View Profile
    • Off Topic
Re: Live chat
« Reply #6597 on: January 08, 2018, 08:05:04 pm »
Nah, multiple questions and you give a random one when he signs up.

I would load that question and its key via an Ajax request and generate it client side plus a honeypot. So you'll end up with:

input 1, hidden, name="questions"
label, question text
input 2, name="answer"
input 3, hidden, name="telephone"

Reason:
1. It is generated client side so bots must support JavaScript
2. Random question so difficult to specifically target you
3. If that honeypot (telephone) comes back with a value you know a bot entered it

...or just use Google CAPTCHA

jaDEB

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4553
  • Karma: +31/-3
    • View Profile
Live chat
« Reply #6598 on: January 09, 2018, 07:21:01 am »
TSLA up 5% :)
jaDEB

If it scares you, it's a sign you need to do it

mutengesi

  • I've just arrived
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Live chat
« Reply #6599 on: January 09, 2018, 09:51:43 am »
My value is down 3%