Secondly, you assert that pretty much everything I consume is heavily subsidized. To the point where I am getting a heck of a deal, receiving goods and services that exceed in value and cost what I pay for them. As I am an average joe, most of the country must be getting the same benefit. My question is, where the hell is all the money coming from to pay the difference?
He's right, you are getting a heck of a deal. As to the question of where the money is coming from: We're borrowing the money. Same as we have been for the past 20 years.
At some point, it will be time to pay the piper. The sooner we face the reality, the easier it will be. If we wait for the next financial crisis, it could be Greece all over again.
Ah, but can you prove that any individual in the class was affected? No? No standing.
Individually: No. As a logical statement, you can assert that someone in the population belongs to the class that does. You could make the legal argument that it is then the responsibility of the defendant to eliminate people from the class, as the plaintiff has already established that the class exists and has standing. The way that the agencies could establish the individuals do not belong to the class is quite clear. either prove that any given individual is not part of the class (was not spied upon), or has no standing (The spying was properly warranted). Either way, the argument should be that the plaintiff can prove the class exists, but has no way of proving who is is or is not in class, and can prove that the class has had its constitutional rights violated. The plaintiff is dependant on the defendant as the only entity that knows the specific individuals rights have been violated. The plaintiff has made the claim that all Americans are part of the class. Given that only the defendant has the ability to prove true or false, the bench should exercise their authority to force that information out from the defendant. This must be done because the bench has to recognize that this is the only viable option for preventing violations of the constitution, and doing anything other than forcing these agencies to properly defend themselves renders the constitution unenforceable.
Regardless of what they are intended to be, the Raspberry Pi and Beaglebone *are* commodity OEM parts and are being used in mass production systems. That is the entire impetus behind the compute module. The BBB is a better option as it is an open board. Our BBB supply house has 4 major customer who between them use more than 100K units per month, and they are just one supply house. Element14 is rumoured to be selling over 1M units per month now. Our designs are made to be flexible, and we can use either the Pi, the compute or the BBB. In the event that someone decides to stop making the RPI, we can switch to the BBB. The BBB already has 3rd party manufacturers who make the system specifically for the OEM market. Even the RPI guys *want* people to buy the RPIs for OEM use because they make money on them, and the more they sell, the better their margins get. Simply put, there is no compelling reason to spin your own processor board unless you need to fit mechanical constraints that the PI / BBB cant meet. Unless you are making 10M+ units per year, you wont be able to be cost competitive with those parts.
And "I already have the Arduino DMX controller in the drawer"
That is the worst possible reason for selecting components unless you are a hobbyist with no real prospects for commercial application of your project. The proper way to select parts is to do a complete cost benefit analysis of a couple of different options to determine which one will have the overall best ROI. The company I work for has several products where the analysis was not done, and the engineer simply went with what they were familiar with in the face of overwhelming disadvantages. That one decision has cost our company over half a million dollars a year in excess unit costs. It is so large that we have hired two more engineers just to redo all of the designs that he had done. (When they found out how much money he had cost the company, he was let go).
If you are trying to make a commercially viable product, and you don't do the analysis, it can mean the difference between life and death for a startup. I can understand the use of the arduino possibly, if time to market is critical and all you know is the arduino. Even then, it might be in your best interest to bring in someone who is capable to do your engineering work, as doing it yourself could very well ensure failure...
And "I already have the Arduino DMX controller in the drawer" means the unit cost is zero. The development cost of doing real time on a Pi is quite a bit higher than zero. Therefore, it makes sense to use the zero cost option (attach the Arduino you already have) rather than the higher cost, higher complexity option (use the Pi as a DMX controller along with everything else it's doing).
Unit cost doesn't mean what your post indicates you think it means.
(and why wouldn't you just drive the 4+ synced steppers from the raspi? RT is hard. nobody has gotten it to work well on it. you can do a concept printer but they're just that, concepts barely functioning(when compared to a friggin atmel ran bot). there's a kickstarter thats supposedly shipping now..)
I agree, a dedicated microcontroller is the right ticket for that application, but The arduino isn't it. The arduino system is not well suited to fine grained real time control. What you want is the PSOC I mentioned. It has built in hardware for precise control of the printer. Given the PSOCs capabilities, you can get faster 3D printer performance and better precision that the arduino will ever be capable of handling, and the PSOC costs less, communicating between the PSOC and the PI will be simpler, as the PSOC can do USB, or even ethernet (with the right PHY).
> if its simple enough for an arduino, but you need the OS / USB / ethernet of the Pi, just skip the arduino and use a Pi by itself.
Which is the same as saying:
> if one part simple enough for a microcontroller, but you need the OS / USB / ethernet of a computer, just skip the microcontroller and use a PC by itself.
The two two are not identical. The difference is immediately obvious to a professional embedded system engineer. Cost. For an engineer, cost is the second and third most important factors. Second is unit cost, and third is development cost. Replacing a Pi with a PC fails the unit cost test, and using an arduino and Pi together when only one is necessary fails both tests. The key difference between an amateur designer and a professional engineer, is that typically the amateur is on a constrained budget which dictates that development cost is paramount. For an engineer, the equation is a lot more complex, which is why an engineer can justify spending $1,500 for an anual Orcad license, and an amateur can't.
Which means no add-in cards or USB peripherals, ever. After all, your Core i5 COULD be used to bit-bang ethernet. Therefore it should, right - no use case for an ethernet controller.
Full speed ethernet can't be bit-banged. There are too many timing related issues that would make a bit-banged solution unreliable. Audio on the other hand can and is done by bit banging with a little DMA. That is why CPU based "sound cards" are a thing. Ethernet and USB by contrast use different voltages from CPU core voltage requiring external hardware anyway. In modern PCs, this hardware also handles the protocol, so there is no cost advantage to using a phy only chipset and bit-banging USB.
As another example, the Pi can connect directly to a wifi chip, so it would be stupid use a separate wifi module like the wipi, right? You'd never do that, because you COULD skip module and integrate everything onto one board.
Depends on the unit cost vs engineering cost. If the total cost of development of the chip version is $X, and the unit cost difference $Y times the total estimated unit sales Z is less than $X, then there is no point in using the chip version, the USB wifi has the greater ROI, and should be selected.
I could continue, but apparently/. doesn't like long posts anymore...
An Arduino makes a good DMX controller. If you want to run DMX under Linux, it makes sense to connect a DMX controller (Arduino) to your Linux system (Pi). It's not about pin count, it's about building and connecting components that each do something. Just like you'd use PCI to connect a board (with a micro) to a PC running Linux or Windows.
Its funny you should mention DMX, we use DMX extensively where I work, and we actually built an ethernet/wifi to DMX bridge. Its an RPI, a wipi and the associated connectors. no need for an arduino.
There isn't any use case where a PI+arduino makes any sense. Even for the hobbyist, if its simple enough for an arduino, but you need the OS / USB / ethernet of the Pi, just skip the arduino and use a Pi by itself. No problem. If it is complicated enough to need more than the Pi alone can handle, then the arduino is most likely NOT what you want. You would be better served with one of the PSOCs I mentioned. its cheaper, and far more versatile. The arduinos day has come and gone. The Pi and beaglebone fill that need far better than the arduino ever did. If you need more, use the PSOC+ Pi / beaglebone.
Trust me, I do this for a living. what the arduino brings in terms of simplicity is decimated when you have to connect it to a Pi. at that point, get a real embedded SOC, and at least you have the peace of mind that your system has the horsepower you will need for your project.
You'd use it to connect your Raspberry Pi to an Arduino
The idea of connecting an RPI to an arduino is just bafflingly dumb. If you need raw pincount that bad, just use a beaglebone. The arduino simply adds another unnecessary layer of complexity. For almost every *normal* I2C use case, The RPI I2C works just fine. I2C was never intended for connecting two micro controllers together, so no one should be surprised when it doesn’t work well. Connecting two micro controllers together is going to be trouble whenever one is significantly faster than the other. SPI is better suited for that, but you'd better have DMA to handle the incoming data. The arduino just isn't going to cut it. At the end of the day if you're trying to do anything more complex than turning a light on and off, the arduino isn't the right tool for the job.
If you really want pincount, get one of these
They are vastly more capable than the arduino and can connect to the RPI by USB. These are fully featured micro-controllers with on board everything. They might even be fast enough for you to skip the PI...
It really is awesome. I suck at using it though, but I have a blast learning the ins and outs of a new system. I would be rightly pissed if someone plopped a new linux system in place of my current windows work mess without training.
I have recently embarked on a retraining mission to replace the existing PCs at work with Linux machines. I really turned some heads when I started replacing the work cell machines with RPI2s running xubuntu. I spend about 5 minutes with each employee showing them how to use openoffice to open the excel spreadsheets they need, and how to use the new file manager to connect to the remote servers.
At first the IT guys were dead set opposed to it, as they didn't want to support yet another platform in the mix, but when the head of IT realised my approach saves him $10,000 annually in PC replacement costs, he got on board fast. We got an SDcard duplicator and just keep a pile of boot images laying around. If someone gets one of the shop floor machines fouled up, we pop a new SDcard in it, and re-image the old one for future use. If they truly bork the machine, were out $35 for a new Pi. It beats blowing up $500 PCs all the time. Even the techs have come around now, since most shop floor service calls are 5 minutes in and out. They don't even bother to trouble shoot. Just put a new SDcard in and boot. If it comes up, done. If not, swap the Pi and done.
The workers on the shop floor haven’t even really noticed the difference. A few of them have asked about playing around with the machines because they want to learn about linux. Given how easy they are to fix when broken, we let them do pretty much as they please with them, with the understanding that if they hose the thing, were not going to troubleshoot it, just wipe it and start over.
delete or delete [] every time you allocate, or for that matter initialize a bunch of variables to 0 manually every single time?
It's really not that difficult unless you are not very clear on how your memory is being used and how the algorithms around it perform. With a clear understanding of the system being designed, cleaning up your memory allocation is a no brainer. The only time it presents anything remotely complicated is when the programmer doesn't understand the system they are working on. Under those circumstances, I would posit that the programmer should probably not be programming that particular project. I am well ware that stringent guidelines to that effect would knock 50% or more of the programmers out of the pool, and I am OK with that. Anyone with any sense at all should be OK with that, especially for safety critical systems.
Ok, I will bite. I am an Arduino enthusiast. While I know there are lots of microcontrollers out there, are there any platforms out there that allows a hobbyist to quicjly build a few circuits because the infrastructure around the controller chip is very easy and foolproof to us.
Try the PSOC line of SOC systems. You can buy an eval kit that has the processor and labelled breakouts for all the pins. It also has the programmer built right into the board (usb connector on one end). The dev environment is very good, and the chips are awesome (think MCU, FPGA and programmable analog all in one package). They have tons of sample projects, and the whole thing is very easy to use.
You can get them here. If you're willing to bargain hunt, you can get them from a bunch of different places. You can even get them direct from cypress.
Plenty of microcontroller programmers allow for active debugging in an IDE. Off the top of my head, a PICKIT2 for PICs or any of the Cypress PSOC kits. A lot of older microcontrollers required an expensive debugger, but now some of these are quite cheap, for example the SWD debugger on a $10 PSOC5LP board.
While I agree that Cypress has some excelent tools, debugging firmware is bitchy hard whether you have good tools or not. You can't use SWD to effectively debug interrupt handlers, and if you're writing firmware without using *lots* of interrupt handlers, you're doing it wrong.
Debugging firmware is still one of the black arts. It requires patience, creativity and more than a little tolerance for blowing up a part and having to solder a new one on. On the up side at least we're pretty much out of the bad old days of needing a bus analyser to follow execution control since the advent of JTAG and SWD, but these are not the solution to everything.
Actually the idea of meal replacement liquids has been around for a long time. They exist in hospitals for people who can't eat normally. Studies have been done on them and they are considered to be safe and effective sources for nourishment.
Soylent isn't an experiment, it's just commoditization of something that is already in place and well-studied.
Soylent is different from what you would get in a hospital in some key ways. First, unlike Soylent, the hospital variety is created by a company that specializes in creating *hospital grade* food. This means it is sterile, and really does contain everything its supposed to and nothing it shouldn't. In short, its expensive, but it is medically necessary. Second, Hospital grade liquid nourishment is regularly tested to ensure that it is made exactly per the specification. Much of Soylent is provided by Chinese companies, which have a history of very poor quality control, bordering on criminal negligence. Clearly, some of Soylents ingredients *contain large quantities of heavy metals*. This can be deduced from the fact that the final product contains higher than acceptable levels of these metals. It is easy to conclude that some number of ingredients in Soylent are not acceptable food products and yet are being used as such. Third, hospital grade nourishment is not intended as a long term food replacement. It is intended to be used short term when regular food cannot be ingested. Its long term use *must* be complimented with proper care to verify vitamin levels, and supplement as needed.
Soylent is turning out to be some ugly crap. Somebody higher up compared it to Kibble, and that description is strikingly accurate on several levels, except that I wouldn't feed my dog some of the stuff that appears to be in Soylent.
Not a hobbyist.... for God's sake, don't trust this to a hobbyist.
I've seen some mighty capable hobbyists and some downright retarded experts. If you're looking to admin this on a budget, you're not going to get a windows *or* Linux expert. On the other side, a windows admin is likely going to be far less versatile than a comparably capable Linux admin. This is largely due to the fact that windows admins usually get taught, and Linux admins usually teach themselves. If you want a problem solver, which do you think would make a better candidate?
A linux hobbyist will probably be able to get the job done, just be prepared for it to take a little longer.
If you really want to try something different, replace all of those new PCs with RPi2's. Where I work, we have PCs on the manufacturing floor, but they have a realtively low life expectancy as they get pushed around a lot. I've been actively replacing them with Pi2's. At first, the admins were unhappy about it, but when the CIO found out how much were were saving by virtue of not having to replace $500 PCS all the time, I got the green light to replace *existing* machines before they were destroyed. The old PCs that still worked are now being re purposed and used elsewhere. Admining the Pi2s is pretty damn easy too, we have a master Image of the SDCard, and when something gets hosed, we just pop a new SDcard with a default image into the Pi, and off to the races. Even copying the images doesn't cost us much time anymore, since we got a 1 to 7 SDcard burner. Just plug em in, kick it off an 20 minutes later, 7 brand new boot cards...
Even an 8GB card has plenty of room on it for running a full LAMP server, X server, and all the Linux based tools. Granted you cant run unity (would you really want to?) and it would take a while to compile something hefty, but for most classroom type projects it would compile fast enough (I use them for doing compilation work, and the results are acceptable) and xubuntu is pretty damn easy to use considering how little resources it needs. With a little extra work, you could configure them to load a home directory from a single file server so that the students wouldn't even need to worry about loosing their work if they damage the Pi.
There are plenty of open spaces where a hobbyist can go to fly their drone without bothering people. Pick any county in the country and do some quick searching and you will find an amateur RC plane group that will hold regular meetings and events. Some areas even have a field designated for amateur flights so that no one interferes with regular flight patterns if they happen to stray above 500 ft.
End of the day, you wouldn't send an RC car out into public places with a video camera attached and expect it to come back unmolested, why would you think a drone is any safer?
Is it wrong to become financially secure? Is it wrong that someone gets ahead due to study and hard work? Is it wrong to want to be able to afford to put money away for retirement instead of becoming a burden on society? I don't aspire to be a millionaire; I just want enough to pay off my mortgage survive two or three months should I become unemployed.
If you're having that much trouble paying your mortgage, then why did you buy such an expensive house? I'm just curious because 50% of Americans are behind on one or more bills. In my own experience with many levels of society, people tend to outspend their means. Over my career I have seen many people get a promotion to full time that included a near doubling of salary, and damned if almost all of them didn't show up with a brand new car less than a week later... Getting that windfall may very well not be too good for the long term financial health of the individuals who got it, especially if this company folds or lays them off...
If i just spent 100 grand on a 4 year degree and gave 2 years to this company i wouldnt be as happy about it
Why? Nobody except the CEO took a pay cut. In fact everyone got at least a small raise. These guys are actively unhappy because *someone else* got a fair shake for a change? Thats just retarded, mean and more than a little childish. I could see if they had been given a paycut, but they were in no way affected except that someone they work with got a windfall. If you weren't getting a fair wage, then why were you still working there? If you were getting a fair wage then GROW UP.
I once had a car lighter socket to USB power adapter that started to flake out on me. When I opened it I found ten diodes in series. That was the whole show. Turned out the "problem" was my car battery was about to die, which was why the "power adapter" was not producing 5 volts anymore...
Lets be honest, if Toyota were any good at building the electric part of a hybrid, they would be building the cars that tesla is building. There is a reason Tesla motors is king of the electrics and everyone else is playing second fiddle. You wont find an AC induction motor powering a teal any time soon. The only advantage that Induction motors have is that they are cheaper to build than DC brushless. That is the only real advantage. They are harder to control, have worse efficiency, the control electronics costs more. It is not at all surprising to me that an established auto company is doing things all crabbed when it comes to electric vehicles. They are still functionally retarded when it comes to electronics.
AC has one significant advantage in that it generates much less heat on the wire, and the higher voltages, within reason, allow for smaller wires to do the same work, as wire size need is a function of amps.
That advantage is not intrinsic to AC vs DC, it is a result of the voltage involved. The transmission losses of a DC system running at 120V is pretty much the same as the losses from an AC system running at 120V. (I know that power factor and all that, but with more and more AC to DC converters pulling power from the AC lines, the power factors are getting royally borked anyways) In many ways DC has an actual advantage. AC transmission lines have a capacitance associated with them. This causes additional losses on the transmission lines that do not occur with DC. (Think of it this way: The line has a giant capacitor on it, and an AC source has to charge and then discharge that capacitor 60 times a second. With DC, the capacitor gets charged and stays charged.) This means that the *effective* resistance of a DC transmission line is lower than the same exact line transmitting AC power.
Secondly, you assert that pretty much everything I consume is heavily subsidized. To the point where I am getting a heck of a deal, receiving goods and services that exceed in value and cost what I pay for them. As I am an average joe, most of the country must be getting the same benefit. My question is, where the hell is all the money coming from to pay the difference?
He's right, you are getting a heck of a deal. As to the question of where the money is coming from: We're borrowing the money. Same as we have been for the past 20 years.
At some point, it will be time to pay the piper. The sooner we face the reality, the easier it will be. If we wait for the next financial crisis, it could be Greece all over again.
Ah, but can you prove that any individual in the class was affected? No? No standing.
Individually: No. As a logical statement, you can assert that someone in the population belongs to the class that does. You could make the legal argument that it is then the responsibility of the defendant to eliminate people from the class, as the plaintiff has already established that the class exists and has standing. The way that the agencies could establish the individuals do not belong to the class is quite clear. either prove that any given individual is not part of the class (was not spied upon), or has no standing (The spying was properly warranted). Either way, the argument should be that the plaintiff can prove the class exists, but has no way of proving who is is or is not in class, and can prove that the class has had its constitutional rights violated. The plaintiff is dependant on the defendant as the only entity that knows the specific individuals rights have been violated. The plaintiff has made the claim that all Americans are part of the class. Given that only the defendant has the ability to prove true or false, the bench should exercise their authority to force that information out from the defendant. This must be done because the bench has to recognize that this is the only viable option for preventing violations of the constitution, and doing anything other than forcing these agencies to properly defend themselves renders the constitution unenforceable.
Regardless of what they are intended to be, the Raspberry Pi and Beaglebone *are* commodity OEM parts and are being used in mass production systems. That is the entire impetus behind the compute module. The BBB is a better option as it is an open board. Our BBB supply house has 4 major customer who between them use more than 100K units per month, and they are just one supply house. Element14 is rumoured to be selling over 1M units per month now. Our designs are made to be flexible, and we can use either the Pi, the compute or the BBB. In the event that someone decides to stop making the RPI, we can switch to the BBB. The BBB already has 3rd party manufacturers who make the system specifically for the OEM market. Even the RPI guys *want* people to buy the RPIs for OEM use because they make money on them, and the more they sell, the better their margins get. Simply put, there is no compelling reason to spin your own processor board unless you need to fit mechanical constraints that the PI / BBB cant meet. Unless you are making 10M+ units per year, you wont be able to be cost competitive with those parts.
And "I already have the Arduino DMX controller in the drawer"
That is the worst possible reason for selecting components unless you are a hobbyist with no real prospects for commercial application of your project. The proper way to select parts is to do a complete cost benefit analysis of a couple of different options to determine which one will have the overall best ROI. The company I work for has several products where the analysis was not done, and the engineer simply went with what they were familiar with in the face of overwhelming disadvantages. That one decision has cost our company over half a million dollars a year in excess unit costs. It is so large that we have hired two more engineers just to redo all of the designs that he had done. (When they found out how much money he had cost the company, he was let go).
If you are trying to make a commercially viable product, and you don't do the analysis, it can mean the difference between life and death for a startup. I can understand the use of the arduino possibly, if time to market is critical and all you know is the arduino. Even then, it might be in your best interest to bring in someone who is capable to do your engineering work, as doing it yourself could very well ensure failure...
And "I already have the Arduino DMX controller in the drawer" means the unit cost is zero. The development cost of doing real time on a Pi is quite a bit higher than zero. Therefore, it makes sense to use the zero cost option (attach the Arduino you already have) rather than the higher cost, higher complexity option (use the Pi as a DMX controller along with everything else it's doing).
Unit cost doesn't mean what your post indicates you think it means.
(and why wouldn't you just drive the 4+ synced steppers from the raspi? RT is hard. nobody has gotten it to work well on it. you can do a concept printer but they're just that, concepts barely functioning(when compared to a friggin atmel ran bot). there's a kickstarter thats supposedly shipping now..)
I agree, a dedicated microcontroller is the right ticket for that application, but The arduino isn't it. The arduino system is not well suited to fine grained real time control. What you want is the PSOC I mentioned. It has built in hardware for precise control of the printer. Given the PSOCs capabilities, you can get faster 3D printer performance and better precision that the arduino will ever be capable of handling, and the PSOC costs less, communicating between the PSOC and the PI will be simpler, as the PSOC can do USB, or even ethernet (with the right PHY).
> if its simple enough for an arduino, but you need the OS / USB / ethernet of the Pi, just skip the arduino and use a Pi by itself. Which is the same as saying: > if one part simple enough for a microcontroller, but you need the OS / USB / ethernet of a computer, just skip the microcontroller and use a PC by itself.
The two two are not identical. The difference is immediately obvious to a professional embedded system engineer. Cost. For an engineer, cost is the second and third most important factors. Second is unit cost, and third is development cost. Replacing a Pi with a PC fails the unit cost test, and using an arduino and Pi together when only one is necessary fails both tests. The key difference between an amateur designer and a professional engineer, is that typically the amateur is on a constrained budget which dictates that development cost is paramount. For an engineer, the equation is a lot more complex, which is why an engineer can justify spending $1,500 for an anual Orcad license, and an amateur can't.
Which means no add-in cards or USB peripherals, ever. After all, your Core i5 COULD be used to bit-bang ethernet. Therefore it should, right - no use case for an ethernet controller.
Full speed ethernet can't be bit-banged. There are too many timing related issues that would make a bit-banged solution unreliable. Audio on the other hand can and is done by bit banging with a little DMA. That is why CPU based "sound cards" are a thing. Ethernet and USB by contrast use different voltages from CPU core voltage requiring external hardware anyway. In modern PCs, this hardware also handles the protocol, so there is no cost advantage to using a phy only chipset and bit-banging USB.
As another example, the Pi can connect directly to a wifi chip, so it would be stupid use a separate wifi module like the wipi, right? You'd never do that, because you COULD skip module and integrate everything onto one board.
Depends on the unit cost vs engineering cost. If the total cost of development of the chip version is $X, and the unit cost difference $Y times the total estimated unit sales Z is less than $X, then there is no point in using the chip version, the USB wifi has the greater ROI, and should be selected.
I could continue, but apparently /. doesn't like long posts anymore...
An Arduino makes a good DMX controller. If you want to run DMX under Linux, it makes sense to connect a DMX controller (Arduino) to your Linux system (Pi). It's not about pin count, it's about building and connecting components that each do something. Just like you'd use PCI to connect a board (with a micro) to a PC running Linux or Windows.
Its funny you should mention DMX, we use DMX extensively where I work, and we actually built an ethernet/wifi to DMX bridge. Its an RPI, a wipi and the associated connectors. no need for an arduino.
There isn't any use case where a PI+arduino makes any sense. Even for the hobbyist, if its simple enough for an arduino, but you need the OS / USB / ethernet of the Pi, just skip the arduino and use a Pi by itself. No problem. If it is complicated enough to need more than the Pi alone can handle, then the arduino is most likely NOT what you want. You would be better served with one of the PSOCs I mentioned. its cheaper, and far more versatile. The arduinos day has come and gone. The Pi and beaglebone fill that need far better than the arduino ever did. If you need more, use the PSOC+ Pi / beaglebone.
Trust me, I do this for a living. what the arduino brings in terms of simplicity is decimated when you have to connect it to a Pi. at that point, get a real embedded SOC, and at least you have the peace of mind that your system has the horsepower you will need for your project.
You'd use it to connect your Raspberry Pi to an Arduino
The idea of connecting an RPI to an arduino is just bafflingly dumb. If you need raw pincount that bad, just use a beaglebone. The arduino simply adds another unnecessary layer of complexity. For almost every *normal* I2C use case, The RPI I2C works just fine. I2C was never intended for connecting two micro controllers together, so no one should be surprised when it doesn’t work well. Connecting two micro controllers together is going to be trouble whenever one is significantly faster than the other. SPI is better suited for that, but you'd better have DMA to handle the incoming data. The arduino just isn't going to cut it. At the end of the day if you're trying to do anything more complex than turning a light on and off, the arduino isn't the right tool for the job.
If you really want pincount, get one of these They are vastly more capable than the arduino and can connect to the RPI by USB. These are fully featured micro-controllers with on board everything. They might even be fast enough for you to skip the PI...
It really is awesome. I suck at using it though, but I have a blast learning the ins and outs of a new system. I would be rightly pissed if someone plopped a new linux system in place of my current windows work mess without training.
I have recently embarked on a retraining mission to replace the existing PCs at work with Linux machines. I really turned some heads when I started replacing the work cell machines with RPI2s running xubuntu. I spend about 5 minutes with each employee showing them how to use openoffice to open the excel spreadsheets they need, and how to use the new file manager to connect to the remote servers.
At first the IT guys were dead set opposed to it, as they didn't want to support yet another platform in the mix, but when the head of IT realised my approach saves him $10,000 annually in PC replacement costs, he got on board fast. We got an SDcard duplicator and just keep a pile of boot images laying around. If someone gets one of the shop floor machines fouled up, we pop a new SDcard in it, and re-image the old one for future use. If they truly bork the machine, were out $35 for a new Pi. It beats blowing up $500 PCs all the time. Even the techs have come around now, since most shop floor service calls are 5 minutes in and out. They don't even bother to trouble shoot. Just put a new SDcard in and boot. If it comes up, done. If not, swap the Pi and done.
The workers on the shop floor haven’t even really noticed the difference. A few of them have asked about playing around with the machines because they want to learn about linux. Given how easy they are to fix when broken, we let them do pretty much as they please with them, with the understanding that if they hose the thing, were not going to troubleshoot it, just wipe it and start over.
delete or delete [] every time you allocate, or for that matter initialize a bunch of variables to 0 manually every single time?
It's really not that difficult unless you are not very clear on how your memory is being used and how the algorithms around it perform. With a clear understanding of the system being designed, cleaning up your memory allocation is a no brainer. The only time it presents anything remotely complicated is when the programmer doesn't understand the system they are working on. Under those circumstances, I would posit that the programmer should probably not be programming that particular project. I am well ware that stringent guidelines to that effect would knock 50% or more of the programmers out of the pool, and I am OK with that. Anyone with any sense at all should be OK with that, especially for safety critical systems.
Ok, I will bite. I am an Arduino enthusiast. While I know there are lots of microcontrollers out there, are there any platforms out there that allows a hobbyist to quicjly build a few circuits because the infrastructure around the controller chip is very easy and foolproof to us.
Try the PSOC line of SOC systems. You can buy an eval kit that has the processor and labelled breakouts for all the pins. It also has the programmer built right into the board (usb connector on one end). The dev environment is very good, and the chips are awesome (think MCU, FPGA and programmable analog all in one package). They have tons of sample projects, and the whole thing is very easy to use.
You can get them here. If you're willing to bargain hunt, you can get them from a bunch of different places. You can even get them direct from cypress.
Plenty of microcontroller programmers allow for active debugging in an IDE. Off the top of my head, a PICKIT2 for PICs or any of the Cypress PSOC kits. A lot of older microcontrollers required an expensive debugger, but now some of these are quite cheap, for example the SWD debugger on a $10 PSOC5LP board.
While I agree that Cypress has some excelent tools, debugging firmware is bitchy hard whether you have good tools or not. You can't use SWD to effectively debug interrupt handlers, and if you're writing firmware without using *lots* of interrupt handlers, you're doing it wrong.
Debugging firmware is still one of the black arts. It requires patience, creativity and more than a little tolerance for blowing up a part and having to solder a new one on. On the up side at least we're pretty much out of the bad old days of needing a bus analyser to follow execution control since the advent of JTAG and SWD, but these are not the solution to everything.
At least at gitmo, you know you are a prisoner....
And there is a slim chance you might get out someday...
Actually the idea of meal replacement liquids has been around for a long time. They exist in hospitals for people who can't eat normally. Studies have been done on them and they are considered to be safe and effective sources for nourishment. Soylent isn't an experiment, it's just commoditization of something that is already in place and well-studied.
Soylent is different from what you would get in a hospital in some key ways. First, unlike Soylent, the hospital variety is created by a company that specializes in creating *hospital grade* food. This means it is sterile, and really does contain everything its supposed to and nothing it shouldn't. In short, its expensive, but it is medically necessary. Second, Hospital grade liquid nourishment is regularly tested to ensure that it is made exactly per the specification. Much of Soylent is provided by Chinese companies, which have a history of very poor quality control, bordering on criminal negligence. Clearly, some of Soylents ingredients *contain large quantities of heavy metals*. This can be deduced from the fact that the final product contains higher than acceptable levels of these metals. It is easy to conclude that some number of ingredients in Soylent are not acceptable food products and yet are being used as such. Third, hospital grade nourishment is not intended as a long term food replacement. It is intended to be used short term when regular food cannot be ingested. Its long term use *must* be complimented with proper care to verify vitamin levels, and supplement as needed.
Soylent is turning out to be some ugly crap. Somebody higher up compared it to Kibble, and that description is strikingly accurate on several levels, except that I wouldn't feed my dog some of the stuff that appears to be in Soylent.
Not a hobbyist.... for God's sake, don't trust this to a hobbyist.
I've seen some mighty capable hobbyists and some downright retarded experts. If you're looking to admin this on a budget, you're not going to get a windows *or* Linux expert. On the other side, a windows admin is likely going to be far less versatile than a comparably capable Linux admin. This is largely due to the fact that windows admins usually get taught, and Linux admins usually teach themselves. If you want a problem solver, which do you think would make a better candidate?
A linux hobbyist will probably be able to get the job done, just be prepared for it to take a little longer.
If you really want to try something different, replace all of those new PCs with RPi2's. Where I work, we have PCs on the manufacturing floor, but they have a realtively low life expectancy as they get pushed around a lot. I've been actively replacing them with Pi2's. At first, the admins were unhappy about it, but when the CIO found out how much were were saving by virtue of not having to replace $500 PCS all the time, I got the green light to replace *existing* machines before they were destroyed. The old PCs that still worked are now being re purposed and used elsewhere. Admining the Pi2s is pretty damn easy too, we have a master Image of the SDCard, and when something gets hosed, we just pop a new SDcard with a default image into the Pi, and off to the races. Even copying the images doesn't cost us much time anymore, since we got a 1 to 7 SDcard burner. Just plug em in, kick it off an 20 minutes later, 7 brand new boot cards...
Even an 8GB card has plenty of room on it for running a full LAMP server, X server, and all the Linux based tools. Granted you cant run unity (would you really want to?) and it would take a while to compile something hefty, but for most classroom type projects it would compile fast enough (I use them for doing compilation work, and the results are acceptable) and xubuntu is pretty damn easy to use considering how little resources it needs. With a little extra work, you could configure them to load a home directory from a single file server so that the students wouldn't even need to worry about loosing their work if they damage the Pi.
There are plenty of open spaces where a hobbyist can go to fly their drone without bothering people. Pick any county in the country and do some quick searching and you will find an amateur RC plane group that will hold regular meetings and events. Some areas even have a field designated for amateur flights so that no one interferes with regular flight patterns if they happen to stray above 500 ft.
End of the day, you wouldn't send an RC car out into public places with a video camera attached and expect it to come back unmolested, why would you think a drone is any safer?
Bing never scraped Google for results.
Yes they did. They pretty much admitted they were doing it.
Is it wrong to become financially secure? Is it wrong that someone gets ahead due to study and hard work? Is it wrong to want to be able to afford to put money away for retirement instead of becoming a burden on society? I don't aspire to be a millionaire; I just want enough to pay off my mortgage survive two or three months should I become unemployed.
If you're having that much trouble paying your mortgage, then why did you buy such an expensive house? I'm just curious because 50% of Americans are behind on one or more bills. In my own experience with many levels of society, people tend to outspend their means. Over my career I have seen many people get a promotion to full time that included a near doubling of salary, and damned if almost all of them didn't show up with a brand new car less than a week later... Getting that windfall may very well not be too good for the long term financial health of the individuals who got it, especially if this company folds or lays them off...
There is an entire parable about this in the Bible, in Matthew 20.
Funny thing about the Bible. Once you get past the crazy religious parts, its got a lot of good advice about living a happy fulfilled life...
If i just spent 100 grand on a 4 year degree and gave 2 years to this company i wouldnt be as happy about it
Why? Nobody except the CEO took a pay cut. In fact everyone got at least a small raise. These guys are actively unhappy because *someone else* got a fair shake for a change? Thats just retarded, mean and more than a little childish. I could see if they had been given a paycut, but they were in no way affected except that someone they work with got a windfall. If you weren't getting a fair wage, then why were you still working there? If you were getting a fair wage then GROW UP.
A DC brush-less motor is nothing more than an AC synchronous motor with a variable voltage/variable frequency drive bolted onto the casing.
Some are, some are not. It all depends how its designed. Typically, PM motors with PWM drive controllers are refereed to as brushless DC motors.
I once had a car lighter socket to USB power adapter that started to flake out on me. When I opened it I found ten diodes in series. That was the whole show. Turned out the "problem" was my car battery was about to die, which was why the "power adapter" was not producing 5 volts anymore...
Lets be honest, if Toyota were any good at building the electric part of a hybrid, they would be building the cars that tesla is building. There is a reason Tesla motors is king of the electrics and everyone else is playing second fiddle. You wont find an AC induction motor powering a teal any time soon. The only advantage that Induction motors have is that they are cheaper to build than DC brushless. That is the only real advantage. They are harder to control, have worse efficiency, the control electronics costs more. It is not at all surprising to me that an established auto company is doing things all crabbed when it comes to electric vehicles. They are still functionally retarded when it comes to electronics.
AC has one significant advantage in that it generates much less heat on the wire, and the higher voltages, within reason, allow for smaller wires to do the same work, as wire size need is a function of amps.
That advantage is not intrinsic to AC vs DC, it is a result of the voltage involved. The transmission losses of a DC system running at 120V is pretty much the same as the losses from an AC system running at 120V. (I know that power factor and all that, but with more and more AC to DC converters pulling power from the AC lines, the power factors are getting royally borked anyways) In many ways DC has an actual advantage. AC transmission lines have a capacitance associated with them. This causes additional losses on the transmission lines that do not occur with DC. (Think of it this way: The line has a giant capacitor on it, and an AC source has to charge and then discharge that capacitor 60 times a second. With DC, the capacitor gets charged and stays charged.) This means that the *effective* resistance of a DC transmission line is lower than the same exact line transmitting AC power.