Author Topic: Arduino venting  (Read 26723 times)

0 Members and 1 Guest are viewing this topic.

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Arduino venting
« on: August 14, 2015, 02:33:02 am »
Although I usually code with vim and avr-gcc from the shell, I decided to modify the ArduinoISP code instead of writing an avrisp compatible programmer from scratch.  I found out that despite the updated SPI code in 1.6, there's still some dumb stuff going on.
https://github.com/arduino/Arduino/issues/3666

Rhetorical question: does Marchese Banzi know what a code review is?

Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Re: Arduino venting
« Reply #1 on: August 14, 2015, 10:29:48 am »
Theory: Banzi is a lousy programmer, and his delusions of grandeur keep him from realizing it.  Therefore some of the people he hires are just as clueless (and by chance a few are clueful).  They all have the ability to modify the Arduino core, and the one or two clueful people there are too "polite" to complain about working with morons...
Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: Arduino venting
« Reply #2 on: August 14, 2015, 11:08:39 am »


no doubt he is a crap, he is also a complete ignorant about "debugging", when he launched Arduino/Zero, he was really thinking that (and he said that) - "to debug something you just need the serial print" - oh my goodness  :palm: :palm: :palm: :palm:

also, he appeared on a few RS videos arguing - "with Arduino, you can build interfaces for spaceships" - Really, why so serious, buddy ?  :palm: :palm: :palm: :palm:

 

Offline george graves

  • Super Contributor
  • ***
  • Posts: 1257
  • Country: us
Re: Arduino venting
« Reply #3 on: August 14, 2015, 11:29:37 am »
So who wants to write a better IDE/core?  Any takers?

Offline shebu18

  • Frequent Contributor
  • **
  • Posts: 309
  • Country: ro
Re: Arduino venting
« Reply #4 on: August 14, 2015, 12:27:04 pm »
Quote from: george graves on Today at 21:29:37
So who wants to write a better IDE/core?  Any takers?



>
Why that? There are enough alternatives to the arduino IDE
 

Online tszaboo

  • Super Contributor
  • ***
  • Posts: 7987
  • Country: nl
  • Current job: ATEX product design
Re: Arduino venting
« Reply #5 on: August 14, 2015, 12:27:34 pm »
I stopped looking at Arduino libraries, when I realized they contain:

#include whatever.c


 :scared: <- this smiley 20 times.
 

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Re: Arduino venting
« Reply #6 on: August 14, 2015, 12:34:25 pm »
So who wants to write a better IDE/core?  Any takers?

Already been done, but Banzi's peeps are too clueless to look for something better.
www.wiring.org.co/
uecide.org/
https://github.com/mikaelpatel/Cosa

You can also use the atmel avr toolchain (i.e. avr-gcc & avr-libc) with Eclipse.
Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Re: Arduino venting
« Reply #7 on: August 14, 2015, 12:40:09 pm »
no doubt he is a crap, he is also a complete ignorant about "debugging", when he launched Arduino/Zero, he was really thinking that (and he said that) - "to debug something you just need the serial print" - oh my goodness  :palm: :palm: :palm: :palm:

also, he appeared on a few RS videos arguing - "with Arduino, you can build interfaces for spaceships" - Really, why so serious, buddy ?  :palm: :palm: :palm: :palm:

And unfortunately most humans naively associate authority and fame with intelligence and ability.  i.e. He's the head of Arduino, so he's an expert on embedded computing.
But anyone who has seen how many people get their medical advice from Jenny McCarthy won't be surprised by Banzi's pack of lemmings.
http://dangerousminds.net/comments/even_c3po_and_r2d2_think_jenny_mccarthy_is_an_idiot
Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Re: Arduino venting
« Reply #8 on: August 14, 2015, 12:55:43 pm »
I stopped looking at Arduino libraries, when I realized they contain:

#include whatever.c


 :scared: <- this smiley 20 times.

While I suspect when you see that in the Arduino libraries someone didn't realize what they are doing.
However I, reluctantly, have done that as a way to have pin definitions evaluated at compile time.
i.e. in main.c:

Code: [Select]
#define LCD_EN 2
#define LCD_RS 3
...
#define LCD_PORT PORTB

#include "lcd.c"

void main(void)
{
   lcd_print('x');
}

My preferred solution is to define configuration information like LCD_PORT in a Makefile, but when I did the #include "lcd.c" hack I didn't have a good build framework.  Now I use DMBS.
https://github.com/nerdralph/dmbs

« Last Edit: August 14, 2015, 12:58:31 pm by ralphd »
Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3339
  • Country: gb
Re: Arduino venting
« Reply #9 on: August 14, 2015, 02:24:42 pm »
Although I usually code with vim and avr-gcc from the shell, I decided to modify the ArduinoISP code instead of writing an avrisp compatible programmer from scratch.  I found out that despite the updated SPI code in 1.6, there's still some dumb stuff going on.
https://github.com/arduino/Arduino/issues/3666

Rhetorical question: does Marchese Banzi know what a code review is?

Irrespective of the quality of the Arduino code (and I agree it's not great), your attitude stinks.  If you want the Arduino team to fix something, why do you think abusing them is either acceptable or likely to help?  It's not a professional or mature way to behave.
 

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Re: Arduino venting
« Reply #10 on: August 14, 2015, 07:03:18 pm »
Although I usually code with vim and avr-gcc from the shell, I decided to modify the ArduinoISP code instead of writing an avrisp compatible programmer from scratch.  I found out that despite the updated SPI code in 1.6, there's still some dumb stuff going on.
https://github.com/arduino/Arduino/issues/3666

Rhetorical question: does Marchese Banzi know what a code review is?

Irrespective of the quality of the Arduino code (and I agree it's not great), your attitude stinks.  If you want the Arduino team to fix something, why do you think abusing them is either acceptable or likely to help?  It's not a professional or mature way to behave.
I don't care if the Arduino core stays crappy.  I pointed out a couple bugs and got a dumb and condescending response, so screw them.
The eevblog forums are not for prudes and sissies.  You'd fit in better on the Arduino forums, or even avrfreaks.
Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4316
  • Country: us
Re: Arduino venting
« Reply #11 on: August 14, 2015, 07:04:29 pm »
Quote
there's still some dumb stuff going on.
>https://github.com/arduino/Arduino/issues/3666
"Pins left as output mode after SPI.end()" - that's a pretty mild "bug" to elicit such a vehement reaction.  I'd even call it a "design decision."
 

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Re: Arduino venting
« Reply #12 on: August 14, 2015, 07:29:09 pm »
Quote
there's still some dumb stuff going on.
>https://github.com/arduino/Arduino/issues/3666
"Pins left as output mode after SPI.end()" - that's a pretty mild "bug" to elicit such a vehement reaction.  I'd even call it a "design decision."

The bigger bug is the SS handling.  You are a smarter coder than the Arduino folks, so I'm sure if you read the begin() code you'll see how stupid it is.
And there's the library docs that are wrong.

At least they have enough clue to admit thepins being left as output is a bug instead of pulling the 'design intent' excuse...
Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: Arduino venting
« Reply #13 on: August 14, 2015, 07:36:29 pm »
One of the problems with Banzi is that he thinks the open source is always better, but,  trying to figure out his vision of "what is open", we discover he means that he is always open with other people's source code, especially sad with the customer care (that he gets almost for free)

 

Offline Bruce Abbott

  • Frequent Contributor
  • **
  • Posts: 627
  • Country: nz
    • Bruce Abbott's R/C Models and Electronics
Re: Arduino venting
« Reply #14 on: August 14, 2015, 08:01:03 pm »
So who wants to write a better IDE/core?  Any takers?
Don't be silly. The only 'takers' here are those who are too lazy to write their own code - then complain when free stuff doesn't do what they think it should.



 
 

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Re: Arduino venting
« Reply #15 on: August 14, 2015, 08:01:34 pm »
One of the problems with Banzi is that he thinks the open source is always better, but,  trying to figure out his vision of "what is open", we discover he means that he is always open with other people's source code, especially sad with the customer care (that he gets almost for free)
And most people are ignorant of the fact that the Arduino core is a copy of Wiring, which is based on MITs Processing language.
Despite Banzi's pleas to support Ardino, he hasn't shared any profits with Hernando's team or MIT.
If I were going to support anyone it would be Sparkfun, who designed and open sourced basic boards like the pro mini.  Living outside of the US, the shipping cost from Sparkfun is prohibitive.
Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Re: Arduino venting
« Reply #16 on: August 14, 2015, 08:09:56 pm »
So who wants to write a better IDE/core?  Any takers?
Don't be silly. The only 'takers' here are those who are too lazy to write their own code - then complain when free stuff doesn't do what they think it should.

Yup, I'm too lazy to write my own code.  Unless you count two bootloaders written in AVR assembler, a HD44780 library written in C, a bit-bang UART written in AVR assembler, C code (and a simple circuit) for doing time-division duplexed SPI with 2 pins, the fastest available bit-bang SPI master code for the AVR (both in C and assembler), ...
Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline Maxlor

  • Frequent Contributor
  • **
  • Posts: 565
  • Country: ch
Re: Arduino venting
« Reply #17 on: August 14, 2015, 08:36:30 pm »
I don't get this arduino bashing. It's a tool that works a lot better than one'd think for the price. But if you're surprised when it fails to fulfill your specs as soon as they get detailled, or if you think it saves you from doing your job, you're delusional. Take it for what it is, something to build quick and dirty hacks with, and it's good for that. Once you get to the point where you're reviewing their libs for bugs (and... no, it's not a bug if you "feel" it should work differently) you're probably better off doing your project in a proper, controlled fashion.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8550
  • Country: us
    • SiliconValleyGarage
Re: Arduino venting
« Reply #18 on: August 14, 2015, 08:57:51 pm »
is';t the name a dead giveaway ? it's pronounced hardwhino ...
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline jnz

  • Frequent Contributor
  • **
  • Posts: 593
Re: Arduino venting
« Reply #19 on: August 14, 2015, 09:38:38 pm »
I don't get this arduino bashing. It's a tool that works a lot better than one'd think for the price. But if you're surprised when it fails to fulfill your specs as soon as they get detailled, or if you think it saves you from doing your job, you're delusional. Take it for what it is, something to build quick and dirty hacks with, and it's good for that. Once you get to the point where you're reviewing their libs for bugs (and... no, it's not a bug if you "feel" it should work differently) you're probably better off doing your project in a proper, controlled fashion.

Seemingly true.

If you need a micro for a professional project and are using Arduino, well, that's pretty much a telltale to me that something is wrong. I never thought people were basing real designs on them until I saw one show up in a product I was looking over.  Honestly, I'm just still pissed at myself for being on PIC for so many years before moving to ARM. I see anyone using Arduino now in a production environment as making that same mistake I was (granted there is some merit with the DSP if you really utilize it, but their tools and pricing are just so terrible I'd take a slower more expensive ARM in a heartbeat). Looking over Atmel's non-ARM line, I just don't get it.
 

Offline jancumps

  • Supporter
  • ****
  • Posts: 1273
  • Country: be
  • New Low
Re: Arduino venting
« Reply #20 on: August 14, 2015, 09:46:54 pm »
Although I usually code with vim and avr-gcc from the shell, I decided to modify the ArduinoISP code instead of writing an avrisp compatible programmer from scratch.  I found out that despite the updated SPI code in 1.6, there's still some dumb stuff going on.
https://github.com/arduino/Arduino/issues/3666

Rhetorical question: does Marchese Banzi know what a code review is?
what a poor issue you've logged there, man. Low.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Arduino venting
« Reply #21 on: August 14, 2015, 09:55:03 pm »
Quote from: nerdralph
@facchinim You're only half right. SS does NOT have to be configured as output. One reasonable option is to enable the pullup, which the first part of SPI.begin() does... before setting it to OUTPUT.

From looking at your github account it seems you actually work for Arduino. I guess Marchese Banzi hires people with no more clue about writing good software than he does, hence the arduino core being the piece of shit it is...
... and I'm the fool for thinking I could help make it better...

So, is marching right into a bug report insisting the person responsible is an idiot and insulting the project typical behavior for you?

Does it work?
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6289
  • Country: 00
Re: Arduino venting
« Reply #22 on: August 14, 2015, 09:55:06 pm »
Although I usually code with vim and avr-gcc from the shell, I decided to modify the ArduinoISP code instead of writing an avrisp compatible programmer from scratch.  I found out that despite the updated SPI code in 1.6, there's still some dumb stuff going on.
https://github.com/arduino/Arduino/issues/3666

Rhetorical question: does Marchese Banzi know what a code review is?
what a poor issue you've logged there, man. Low.

Yes, not nice.

"From looking at your github account it seems you actually work for Arduino. I guess Marchese Banzi hires people with no more clue about writing good software than he does, hence the arduino core being the piece of shit it is...
... and I'm the fool for thinking I could help make it better..."
 

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Re: Arduino venting
« Reply #23 on: August 14, 2015, 11:00:18 pm »
Quote from: nerdralph
@facchinim You're only half right. SS does NOT have to be configured as output. One reasonable option is to enable the pullup, which the first part of SPI.begin() does... before setting it to OUTPUT.

From looking at your github account it seems you actually work for Arduino. I guess Marchese Banzi hires people with no more clue about writing good software than he does, hence the arduino core being the piece of shit it is...
... and I'm the fool for thinking I could help make it better...

So, is marching right into a bug report insisting the person responsible is an idiot and insulting the project typical behavior for you?

Does it work?
What makes you think I want the Arduino project to fix their bugs?
Does Dave care if the Batterizer fixes their product?  No.

I don't have to kiss anyone's ass.
Unthinking respect for authority is the greatest enemy of truth. Einstein
 

Offline ralphdTopic starter

  • Frequent Contributor
  • **
  • Posts: 445
  • Country: ca
    • Nerd Ralph
Re: Arduino venting
« Reply #24 on: August 14, 2015, 11:02:12 pm »
Although I usually code with vim and avr-gcc from the shell, I decided to modify the ArduinoISP code instead of writing an avrisp compatible programmer from scratch.  I found out that despite the updated SPI code in 1.6, there's still some dumb stuff going on.
https://github.com/arduino/Arduino/issues/3666

Rhetorical question: does Marchese Banzi know what a code review is?
what a poor issue you've logged there, man. Low.
Were you too lazy to read the begin() code, or are you to dumb to see the bug?
Unthinking respect for authority is the greatest enemy of truth. Einstein
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf