Author Topic: My new toy..  (Read 19872 times)

0 Members and 1 Guest are viewing this topic.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: My new toy..
« Reply #15 on: September 04, 2007, 10:52:01 pm »
I started development my bot primarily on a single-core machine. When I got my X2, I realized I was missing quite a bit of synchronization. Fortunately, it's very easy to solve those problems in Java. While it's not impossible for these types of issues to come up in a single-core operating environment, it's less likely by an extremely large factor. Before you dive in, I'd strongly recommend learning about synchronization, in addition to the aforementioned topics.

By synchronization, do you mean methods running synchronously and asynchronously? I've already learned a bunch of that kind of stuff through threading, especially in the ways I work with sockets.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: My new toy..
« Reply #16 on: September 05, 2007, 12:12:04 am »
Talk to GS, he sells fleshlights :D

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: My new toy..
« Reply #17 on: September 05, 2007, 12:27:43 am »
The book I have (An earlier version of this one) is easily beyond your level but you might try this one if you can find it at the library or something:
Optimizing-Applications-Multi-Core-Processors-Performance

I haven't read it but I've seen it lying around and the synopsis seems like you would understand it better.  Be forewarned that it is most likely a very dry read.

edit:
This one looks good too.  Talks more about the hardware side and embedded system (your truly).
Multiprocessor Systems-on-Chips
« Last Edit: September 05, 2007, 12:31:13 am by unTactical »

Offline Killer360

  • Hero Member
  • *****
  • Posts: 752
    • View Profile
Re: My new toy..
« Reply #18 on: September 07, 2007, 12:47:01 pm »
Why the fuck do you have netnanny installed?  :D

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: My new toy..
« Reply #19 on: September 07, 2007, 01:36:24 pm »
Why the fuck do you have netnanny installed?  :D

My school == gay^2, apparently.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: My new toy..
« Reply #20 on: September 07, 2007, 02:01:51 pm »
Your school is ? ;D

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: My new toy..
« Reply #21 on: September 07, 2007, 02:08:25 pm »
« Last Edit: September 07, 2007, 02:17:59 pm by Camel »

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: My new toy..
« Reply #22 on: September 07, 2007, 02:17:33 pm »
Since he used ==, one usually would assume that ^ is the exclusive or operator, which is mathematically expressed with .

Really, though, I'm just giving him a hard time. :P

And, in response to your edit:


Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: My new toy..
« Reply #23 on: September 07, 2007, 03:07:22 pm »
Gay squared, to be precise.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: My new toy..
« Reply #24 on: September 07, 2007, 03:10:55 pm »
Gay squared, to be precise.

Yep, I know, but ^ is pretty ambiguous when you're in a "programming" context. :)

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: My new toy..
« Reply #25 on: September 07, 2007, 03:13:52 pm »
I was ignoring that. :P
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: My new toy..
« Reply #26 on: September 07, 2007, 03:26:29 pm »
I always try to use "**" for exponents, I was taught that in school. But that seems to confuse people even more than "^". :-o

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: My new toy..
« Reply #27 on: September 07, 2007, 06:26:43 pm »
People are stupid :D

** is power, ^ is eXclusive Or

Not difficult to remember :\

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: My new toy..
« Reply #28 on: September 07, 2007, 07:31:38 pm »
I always try to use "**" for exponents, I was taught that in school. But that seems to confuse people even more than "^". :-o

I'd never seen that notation until you mentioned it a while ago.  When writing in an environment where superscripts and subscripts aren't trivially available, I've always copied the notation that calculators use, which is ^.  TeX uses ^ to indicate exponents too. :-\

People are stupid :D

** is power, ^ is eXclusive Or

Not difficult to remember :\

Since it's totally arbitrary, "remembering" can't occur when there isn't a standard...

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: My new toy..
« Reply #29 on: September 07, 2007, 08:26:33 pm »