Show Posts
Pages: 1 ... 155 156 [157] 158 159 ... 357
2341  Using Arduino / Project Guidance / Re: Can I secure my code from being copied on arduino boards? on: May 07, 2013, 07:02:36 pm
Open Source language does not require applications to be Open Source as well.

 smiley-roll


2342  Using Arduino / Programming Questions / Re: Reduce Uno RAM usage on: May 07, 2013, 10:01:00 am
Dynamic arrays are a bad idea in small RAM environments. It's better to define permanent buffer space and swap in and out as necessary. Even for strings, make a char array and use it even if for general use. Yes, avoid C++ String objects on Arduino. Sure, you need to do more design work but you'll have more RAM to use better if you do the design work up front.

2343  Community / Bar Sport / Re: Arduino based replicator on: May 02, 2013, 01:44:30 am
OK, now it has become just laughable that I am the one being political here.  I'm not even going to attempt to address all of these points.  All I wanted to do was make a point about the affordable care act, in the way it is structured, it is almost certainly doomed to failure.  It's going to upend the entire healthcare insurance industry while trying to run the entire healthcare system in the country through that industry.  I stand by my prior comment that a central system, like the one that was proposed by President Clinton, has the possibility of working and is superior to the one adopted by President Obama.  Frankly, I don't understand how the person who posted the prior post wouldn't be in favor of that system anyway.

The healthcare system has been on a crash course since the 80's.

All attempts to change the course have been blocked by the GOP except this one which was just watered-down compromised into something that can't work.

Obama's signature success was getting ANY CHANGE AT ALL.

Now there's a choice. Fix it or go back to what wasn't working since the 80's.

As one WWII USAAF Ace stated, "You have to do something or you lose. If you do the wrong thing then you can fix that but if you do nothing then you lose.". The GOP has been the do-nothings, the don't change party. I thank GOD that change happened just because it might happen again --away from the old, broken system--.

GOP attitude would have condemned Jesus for healing the poor at no charge. Yet so many of the same bunch expect to be forgiven their own sins and act as if they have been already. There's a parable about that too.
2344  Community / Bar Sport / Re: can't touch this! on: May 02, 2013, 01:33:40 am
First globally? There were women's panties with a pager pocket back in the 90's, but the people going from "one led to many" probably couldn't read and don't seem to have been told back then.

I see on the web all the time people talking about firsts when the reality is 'first they know of'.

2345  Community / Bar Sport / Re: Arduino based replicator on: May 02, 2013, 01:27:29 am
LOL. Liudr, there is no both sides when it comes to facts. But of course the right wing is and was fact-free and continued to repeat their lies after they were exposed. The GOP supporters never believed the lies were exposed, most stayed willfully ignorant of any such thing.

I don't write this for JoeN. JoeN either can't or won't face facts. When the GOP rodeo clowns tell JoeN to eat their shit, he tells how good it tastes.

In 2001 President Bush give the national surplus to his supporters instead of PAYING OFF DEBT, cut taxes, increase spending multiple times over (it was our duty to get those WMD's that were never there after all, as intelligence actually stated at the time), arrange what taxes there are to benefit more companies leaving the country (after his father's program PAID TAX MONEY to export industry back in the days when AMERICANS MADE THINGS -- I was there Pal, I MADE THINGS for a living not just got fat off finance changes) and do his best to hand Social Security over to Wall Street and mainly Saks-Goldman who can't be trusted...

and no, the GOP can't allow it said that THOSE are the policies that wrecked the economy even though they ACTUALLY DID BEFORE 2009. You clowns damn well know it and that's why Bush and Cheney were not at the 2012 Republican Convention.

Taxes were CUT DEEPLY in 2001 and 2003. If the Voodoo Rhetoric of your crackhead party is correct then there should have been more JOOOOOOOBS than at any time in the previous few decades yet when the GOP BORROW AND SPEND SPREE slowed down in 2007 the economy started to break.
By the end of 2008 the US was LOSING 850,000 JOOOOOOOOBS per month, the stock market was down and the banks were ready to do a 1929-1930 style crash. BTW, 2008 included the REGULAR BUSH per-vote STIMULUS PACKAGE that was hailed as a GOOD THING even though a SMALLER STIMULUS the very next year was TOTALLY COMMUNIST while the previous handouts were verboten topics.

Cutting taxes creates JOOOOOOOOBS? The taxes were cut and cut again and yet again and I have to ask WHERE'S THE JOBS?
Oh? I've been hearing from the GOP since THE CRASH THAT GEORGE ATTEMPTED that it's DOUBLE DOWN ON STUPID TIME, if we have zero taxes on the rich then there will be a surfeit of JOOOOOOOBS.
Naturally the great majority of those jobs will pay just enough to afford a nice cardboard box and plastic tarp on the side of a toxic dump somewhere, but they would be jobs and that's all that counts.

Shit. What's really happened is that the rich reeled in the BUSH handouts either directly or through finance charges even as inflation has squeezed the standard of living and wages both white and blue collar here constantly down. The Privately Owned Federal Reserve prints a ton of money year in and year out and HANDS IT TO THE BANKS (themselves) to loan out at interest. Every so often there's a market shake-up that wipes out a whole load of retirement funds, companies and JOOOOOOOBS, with minor apologies to the losers and rewarding payoffs and bailouts to the CROOKS THAT SET IT UP.

In November 2008 the GOP on camera got up and pledged that "Obama will be seen to fail." and ever since that group of bastards have taken every step possible to tear this country down while filling people with hate and fear. Those HYPOCRITES fillibustered budget after budget and then crowed how there was no budget, only continuing resolutions. It's in the RECORD but who cares about that as long as short memory idiots don't know and aren't told by their single-source "news" channel and hate-talk radio ("its only for entertainment purposes, ho-ho-ho" says fatboy Limbaugh and nutcase Beck but y'all take every word and nuance as fact) and such "luminaries" as that idiot Palin.

Sure, there's billionaires who will crash the economy and you lot will buy the bullshit story that it's Obama's failed policies that caused it. Which is really rich since most every policy he's tried to get out has been blocked through the exploit known as fillibuster which makes the real failure to "fix the economy" (funny how Wall Street is doing GREAT and the top 7% of the country got 28% richer in the last year alone, but f__k the USA) is due to the legislative lock-down of the GOP. What a bunch of HYPOCRITES! And that includes their Christian In Name Only supporters.

If it wasn't for Obama, this nation would be an Oligarchy by now split up between Monsanto and a number of lesser evils but definitely EVIL.

From 2009 to 2013 taxes were lower than previous. Where's the jobs? The taxes were set LOW, it was up to industry and the JOB CREATORS to make them. "Obamacare" hadn't started up yet so please don't try that LAME EXCUSE. Fact is that the ultra-rich are playing for ALL THE MARBLES and that is why things are so f__ked up.

Either learn some math and recent history or quit limiting your information sources to the Propaganda Channel, aka FOX.

The same thing going on here is going on in Europe and elsewhere so I wouldn't laugh too hard no matter where I lived, unless I lived in China where all except the rich have problems of their own.

If you are a Christian then go find the parable about the servants in the house, IIRC told at the Last Supper. If you can't identify the players then shame on you. If you are a Christian and watch context-cut video of Obama without seeking the whole speech actually saying the opposite of what the cut would have then you are a pretend Christian since you disrespect the truth and pay service to lies. Get yourself right and seek the real truth. You won't find it on Fox, you have to check many sources and I don't mean Palin style "I read ALL the papers, want to hear my talking points? It's, it's all about the economy and.... babble, babble, babble.
2346  Community / Bar Sport / Re: Arduino based replicator on: May 01, 2013, 07:43:06 pm
It's equally simple to point out that when healthcare for a growing segment of the population is unpaid-for ER visits and hospital stays that medical costs will continue to skyrocket as they have under those same conditions.

Please don't puke up the same one-sided lines you've been fed as if that's all there is to it and look at the bottom line: middle class America pays most of the bills on every-decreasing wages, lower class and poor America supplies most of the soldiers (go enlist if you need an inside view, don't take my word for it, just BE THERE) and the rich get the lion's share of the wealth.

When a minority control so much wealth and power there should be no question as to who is most responsible for the state of the economy. If a crash will profit those then there will be crash. If a war will pay off better then there will be a war. Every time since 2009 there has been positive news about the economy, 100's more people lose their jobs within weeks. And funny thing, the jobs that most of the ones who get another job pay significantly LESS for the same or more work. If you don't recognize a shake-down then sorry when it happens to you and you blame it on the poor or Obama.

2347  Community / Bar Sport / Re: Arduino based replicator on: May 01, 2013, 05:29:55 pm
The man said it would cost him 15 cents a pizza. People tip dollars but 15 cents more is too much to give his workers, the people who really earn the money, healthcare.

Because as we all know, 15 cents multiplied by millions is more for everyone BUT the workers. The price of the pizza is what the market will bear rather than the cost to make, etc, plus a fair profit. That 15 cents would have to come out of profits, the Holy Profits of the Church of Mammon which Shall Not Be Touched except by followers deemed Worthy in the Eyes of Mammon or Suitable Representatives that All Should Suck Up To. Profits Above All, Praise Be The Almighty Dollar!

And no, that's not how I really feel. I can't post how I really feel.



2348  Community / Bar Sport / Re: Arduino based replicator on: May 01, 2013, 01:21:12 pm
I see Cubex starting at $2500 with cartridges for $100. I would guess the ID chip is to keep people from buying their feed stock elsewhere at a more reasonable price. And still they don't ensure that for the much-extra cost they don't ensure trouble-free operation. That's Yet Another Reason to keep to Open Source design.

In the 80's Tandy (Radio Shack) sold a PC-XT called the TRS-80 that we tech-heads called the Trash-80. It was inferior to PC-XT clones built from standard parts. While it was cheaper than the average 'store-bought' model, it still cost about 50% or so more than what you could build yourself once you knew some simple tech. So nice and cheaper than other stores, right? Well there were nasty gotcha hooks built in. The card slots were 1/8th inch shorter than standard so you -had- to buy Tandy cards at over 3x the price of standard cards. The drives used non-standard cabling to include special lines there only to ensure that even more overpriced drives *had* to be bought from Tandy.
As years went by they slowly changed to use more standard parts when they learned to bury the hooks deeper but then from fixing Dell, Leading Edge, Gateway, etc PC's, I learned that the "buy here and we OWN YOU" practice is common among Big Name Brands.

I remember learning about Schwinn bicycles in 1973. I never had one because I was too lucky back then being too poor to get one. Every part of their mediocre-at-best bicycles was made non-standard so that every part had to be bought at a Schwinn shop. Even the threads on the bolts and frames were a special (less efficient and heavier) non-standard form. The rims and tires, same way. You had to buy -every- part from them at jacked-up prices and every part weighed more for the same strength by design. That not to mention the frames were flexy crap made to take a beating which robbed the rider of energy with every turn of the cranks.
And yet the US car industry made them look almost normal. But of course it was the Unions that destroyed the car companies, not their predatory planned-obsolescence design practices set up just to squeeze wads of money from the pwned consumers.

Why make a good product at a fair price when you can trap customers ignorant of details kept secret until they do wise up? At that point they 'have invested' and continue to be victims until they become ex-customers. But the big shiny point is that most never learn and many develop brand-loyalty even as they are being screwed to the wall.

Expect it. Papa John has his own golf course so the other economic opportunists must have their private golf course to be successful. And car-elevators and private jets and all the rest plus more to one-up the other rich kids. The kid who dies with the most toys, wins.
Where is the money for it all to be squeezed from? The toothpaste tube known as the world, of course!
2349  Using Arduino / Programming Questions / Re: 5 LEDs blink 5 times in a minute at random times on: May 01, 2013, 12:34:16 pm
You're missing a pair of braces.
2350  Community / Bar Sport / Re: New version or old version boards for Arduino starter? on: May 01, 2013, 02:56:45 am
I see a difference in getting around auto-reset when using Arduino as ISP and funny enough, the Duemilanove isn't supposed to need any of those.

Also to program blank 328's you can't just pop them into an UNO socket and go. They need a bootloader loaded which you can do using an ISP. I've done it using my old UNO, a breadboard and a few jumpers and cheap components... but only using IDE 0023. Yeah. I am soooo out of date! And yet, my sketches work once I get the program bugs out.

I get Mega328P-PU AVR's for about $2.50 ea in small quantities. At 10+ they get even cheaper.
2351  Using Arduino / Programming Questions / Re: Millis Accuracy Again on: May 01, 2013, 02:19:32 am
GoForSmoke,

True, getting rid of delay() was suggested several times.   It was just very counter-intuitive.

Back to Unix-land, using sleep() allow other processes to run (or lets the CPU go into low-power mode, if there are no runnable processes), but using a do-nothing loop spins the CPU which keeps power consumption up.

While the Arduino is single-tasking, I would have thought that allowing it to power-down when doing nothing was good.  Or maybe delay() isn't smart enough for that.. or the AVR CPU doesn't have that capability.  The STM32 CPU's do have the capability to clock down to 4MHz and even go into deep sleep, then wake up on interrupt.

(incidentally I will probably port this code to an STM32 going forward, the boards are laughably cheap and the processors significantly more powerful)

That is true but whether powered down or using blocking code like delay, the Arduino cannot also be watching the I/O pins or sensors. A multitasking system can if the watching is done with a different task.

I look at the ability to watch and time as the 'attention' of the computer and write my state machines with that as a budget. I know that the attention budget of an UNO or MEGA is far more than enough to do the job you set -if- nothing else is grabbing too many cycles in between, like may be or have been happening with the print load you also have.

I am just up from 'can't sleep' and not remembering details but will you be running the project while connected to a PC? If so then all the math and verbose output can be done on the PC using the free PC language that Arduino is based on, Processing. If you have both worlds then you might as well have the best of both worlds. I even wonder if there's a way to get an accurate timing signal from the PC, possibly through the parallel port using Linux.
 
2352  Using Arduino / Programming Questions / Re: Writing data to file on: April 30, 2013, 08:07:15 pm
From back in the 80's I found that most every spreadsheet has both export and import. When I didn't have answers (no internet, book cost more than I wanted) the thing to do was make a test sheet, export that to a file and print it as hex. You see everything in hex.


2353  Using Arduino / Programming Questions / Re: Accessing a "Wire" object from an interrupt routine == hang, need solution on: April 30, 2013, 08:01:09 pm
And for getting simultaneous i/o, and as pin multipliers....

Some time I should start collecting logic gates and flip-flops.

2354  Using Arduino / Programming Questions / Re: Millis Accuracy Again on: April 30, 2013, 07:55:53 pm
In Unix-land you have a multi-tasking OS. With Arduino you write your own tasking.

Nice to see you finally dumped the code-blocking delay that was screwing your results up.
How many times was that suggested in how many ways?

2355  Using Arduino / Programming Questions / Re: Accessing a "Wire" object from an interrupt routine == hang, need solution on: April 30, 2013, 08:30:44 am
Got, not used. Got surface mount by mistake and I'm bad enough soldering pins.

What I should have bought are the 74F299 in PDIP 20-pin, just over US$1 ea.
http://www.futurlec.com/74F/74F299.shtml

If you're going to use enough of something like in a product, a bit of code is no big deal.
Pages: 1 ... 155 156 [157] 158 159 ... 357