Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 57
61  Using Arduino / Programming Questions / Re: Migrating Mac to PC Arduino Library on: April 18, 2012, 12:03:57 pm
I've been using a mac to do Arduino program for a while.  I have to agree with the OP that it sounds more like an upgrade.  It seems like lately everything is harder to do on the Mac, for example, where are the built-in libraries hidden on the mac if I need to adjust pins?
62  Community / Exhibition / Gallery / Re: Simple prime number printer on: August 14, 2011, 10:53:20 am
Cute little project.  Primes are a lot of fun to play with.

When you count through your for loop, you don't need to compare any even numbers (after 2), so you can increment by 2 which should double your program's speed.

If a number is not prime, it will have factors that are prime, so if you want to get a lot more advanced and a lot faster, you can keep a table of all the primes you've already computed and iterate through those instead of testing every odd number every time.  That gets into a programming technique called "dynamic programming".
63  Using Arduino / General Electronics / Re: Mobile news broadcasts on: August 09, 2011, 08:16:28 pm
Thanks for your reply.  So if they're 5-10 miles from the CN Tower but surrounded by tall towers in every direction so there is no line of sight, they will use a shorter range wireless transmitter?  Would it be omnidirectional then?  If the area is surrounded by things like streetcar power lines (with nice big sparks), glass, steel, and concrete towers and other sources of interference, can they still get a high quality signal over that distance with a short range transmitter?

Since you mention Helical antennas, I think they also have that.  It looks like the same sort of telescoping tower with a spiral up the outside of the central pillar.
64  Using Arduino / General Electronics / Mobile news broadcasts on: August 08, 2011, 09:29:27 pm
I hope this isn't too far off topic, but I was wondering if someone could take a few minutes to help me understand something.

There's mobile news vans around the city that have tall extending antenna towers to transmit their feeds back to the station.  I'm in Toronto where the receiving antenna is the CN Tower, so usually there's a little dish pointed right at the tower.   My question is in areas where there's lots of tall buildings so there's no line of site and areas where RF reception is horrible, what does the van broadcast to.

I was with someone who tried to tell me they bounce the signal from building to building until it gets to the CN Tower, but that sounds like bull to me.  The only other things I could think of though are bouncing off a satellite or the ionosphere, neither of which sound much better.

Thank you if anyone knows the answer.
65  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: LiquidCrystal and HD44780 on: April 11, 2009, 10:46:20 pm
I've been having the same problem with my LCD but I was waiting until I had my project a lot more developed before dealing with it.   I made the changes to the library mem suggested and it now works perfectly.

I found this thread by searching, and I would second diego's request to have the change made to the original library.  If I wasn't lucky enough to find the thread, I could have been struggling for a long time.  My project is very harsh on the power supply, and I would have been adding decoupling caps all over the place figuring it was a brownout problem, especially since it was intermittent.

I'm using the seeedstudio 2x8 blue LCD.
66  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Spam fighting request on: September 12, 2008, 01:01:21 pm
Quote
[You're even more of an addict than me! :-)
--Phil.

I just read something about that.  Supposedly it's the same sort of addiction as a slot player.  Each time you visit it's like pulling the handle, and the jackpot is a good posting to reply to.
67  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Spam fighting request on: September 11, 2008, 11:59:50 am
Quote
I'm keen to minimise the impact on legitimate new (or existing) users. If things get "bad enough" I guess we could consider moderation of initial messages but my suggestion would be to see how long the "deletion regime" remains effective.

I tend to agree, if the sign-up process is too invasive, I generally don't sign up for a site.  One forum I'm on has an initial period where you can't post links, can't sent private messages, etc.  I think their threshold is 10 legit posts.  

But for now I'm just enjoying my spam-free Arduino experience, so thank you, Phil smiley.

And for the record, I'm in Eastern time in Canada smiley-wink
68  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Spam fighting request on: September 11, 2008, 09:38:06 am
Quote
Phil, the improvement was almost immediatly noticeable, thanks for volunteering. I will help out if no-one else steps up. It would be useful if the other mod was in a very different time zone to you, are you are in the US?

I did notice the improvement right away, even without knowing it was Phil at work.  It's so nice to go to that forum and not see spam as the top 20 posts.

I wouldn't mind helping, but you're right about the time zone issue and I am in Canada.
69  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Spam fighting request on: September 10, 2008, 08:49:21 am
This is getting really bad, we're past the point of it "not being a huge problem"  and might be getting to that "90% spam 10% content ratio" that Massimo talked about.

FWIW, I'm willing to help any way I can.
70  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Spam fighting request on: August 28, 2008, 04:00:13 pm
Quote

The attacks Arduino.cc's has been suffering, are Bot attacks, and bots "cannot" navigate sites protected by "good" implementations of CAPTCHAs, such as the format used over at Yahoo.

It's trivial to break any captcha.  You simply link it into a "free porn" site and have users answer the captchas.  They type the captcha, the bot automatically enters it into the victim site, and if it's right, the script lets the viewer have their porn.   There is no such thing as a good implementation because any captcha can be defeated with this sort of attack.
71  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Spam fighting request on: August 28, 2008, 12:37:55 pm
Quote
To be honest I don't understand the reluctance to enable a couple of people to implement this. Is there something about the situation I'm not understanding?

From the point of view of the core team, Arduno is their baby, the built it up, and it's very hard to let go of control.  It's the same sort of feeling that parents have as their children grow up.

As the Arduino community grows, I suspect it will become more and more necessary to have some help, but I can certainly understand the reluctances of the core team to give up control of their baby.

I'd say just be patient right now, they are dealing with the spam.  The only real downside right now is they're spending time that could go into helping users or further developing Ardunio on deleting spam.

As the legitimate user base grows, it's not simply deleting spam, but more subjective things mods would have to do.  Moving threads to more appropriate forums for example.  Should a mod only delete spam or a grossly off-topic thread?  Where do you draw the line?  
72  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Spam fighting request on: August 21, 2008, 10:33:24 am
Quote
what about to use a captcha system for the borad?

http://www.yabbforum.com/community/YaBB.pl?num=1186785854/0

I'm not conviced captchas work, when I added them to my own site it barely slowed them down.  Though by the time I added them, I was getting about 200 spams a day and legit traffic had pretty much died out.

From my experience though, it is important to do something more than just deleting the spam.  It started out as a trickle on my site, and grew and grew until it was almost a full time job deleting them.
73  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: attachinterrupt limitation?? on: August 15, 2008, 09:33:50 pm
Use a static variable in the interrupt handler to store the current status.  Have have the interrupt occur every time the blinker status needs to change.  Then all your handler has to do is check and then change the status and toggle the blinker.
74  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: attachinterrupt limitation?? on: August 15, 2008, 09:42:48 am
I'd like to hear more about the application.  I can't think of a good example of when it would be a good idea to have a delay in an interrupt handler.  As Bens says, interrupt handlers should be as short as possible.

75  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: LCD Library on: April 23, 2008, 07:34:21 am
Quote
If the old method was still supported and the change was clearly documented in the code and wiki then I don't think it would be a great inconvenience to existing users.

Is there a way to delcare library functions as depricated?  So for now printIn will raise a comple-time warning to change your code.  Then 1-2 years from now, take it out completely and let is raise an error.
Pages: 1 ... 3 4 [5] 6 7 ... 57