Search found 3841 matches
- Mon Jul 31, 2017 3:50 pm
- Forum: General discussion
- Topic: Legally extending Zero WiFi?
- Replies: 10
- Views: 2600
Re: Legally extending Zero WiFi?
The subject is " Legally extending Zero WiFi". Whatever hack you do will break certification. It is illegal to transmit on an uncertified device, even if your hack does not result in illegal EIRP. If, and only if, the Zero is not capable of transmitting at full legal EIRP in the country yo...
- Mon Jul 31, 2017 2:51 pm
- Forum: General discussion
- Topic: Legally extending Zero WiFi?
- Replies: 10
- Views: 2600
Re: Legally extending Zero WiFi?
If the legal limit is Effective Isotropically Radiated Power (EIRP), then you cannot increase it using an antenna of any sort. The antenna is included in the calculation; if you use more gain then you must use less power. It's not a matter of debate, merely rumour, misinformation and how proactive y...
- Mon Jul 31, 2017 2:00 pm
- Forum: General discussion
- Topic: STICKY: NEW FORUM SKIN - Comments here please.
- Replies: 289
- Views: 69146
Re: STICKY: NEW FORUM SKIN - Comments here please.
Twitter has just announced the new theme (RPI) is available. So maybe the icon was fixed at the same time as that was rolled out. I did switch to RPI and back to Prosilver, so there's a chance that did it, but the icon is now in the Prosilver header that I'm getting and it wasn't before so I think i...
- Mon Jul 31, 2017 11:17 am
- Forum: General discussion
- Topic: STICKY: NEW FORUM SKIN - Comments here please.
- Replies: 289
- Views: 69146
- Mon Jul 31, 2017 9:17 am
- Forum: General discussion
- Topic: [Advice needed] Documentation issues encountered during TELEC (Japan) certification process for our hardware (with Pi3)
- Replies: 5
- Views: 1635
Re: [Advice needed] Documentation issues encountered during TELEC (Japan) certification process for our hardware (with
I will flag this up in the moderator's forum.
- Mon Jul 31, 2017 9:14 am
- Forum: General discussion
- Topic: STICKY: NEW FORUM SKIN - Comments here please.
- Replies: 289
- Views: 69146
Re: STICKY: NEW FORUM SKIN - Comments here please.
Here are the HTML <head> sections.
RPI Prosilver
RPI Prosilver
- Sun Jul 30, 2017 10:37 pm
- Forum: General discussion
- Topic: STICKY: NEW FORUM SKIN - Comments here please.
- Replies: 289
- Views: 69146
Re: STICKY: NEW FORUM SKIN - Comments here please.
I agree; no icon on prosilver.
- Sun Jul 30, 2017 11:16 am
- Forum: General discussion
- Topic: STICKY: NEW FORUM SKIN - Comments here please.
- Replies: 289
- Views: 69146
- Wed Jul 26, 2017 10:18 pm
- Forum: General discussion
- Topic: STICKY: NEW FORUM SKIN - Comments here please.
- Replies: 289
- Views: 69146
- Wed Jul 26, 2017 4:29 pm
- Forum: General discussion
- Topic: STICKY: NEW FORUM SKIN - Comments here please.
- Replies: 289
- Views: 69146
Re: STICKY: NEW FORUM SKIN - Comments here please.
I note that some recent posts in this thread refer to "IP banning" (or some similar word construction). Is there any reason to believe that the banning has anything to do with IP addresses Yes, because it does. Rest assured that we are aware of such issues as dynamic IP addresses. These r...
- Wed Jul 19, 2017 8:17 am
- Forum: HATs and other add-ons
- Topic: how to sense 220v input -solved- I hope
- Replies: 59
- Views: 63392
Re: how to sense 220v input -solved- I hope
I'm stupid with electronics too. Generally, if I build anything with mains, I hide behind the chair the first time I switch it on. The obvious thing to test is the voltage across the LEDs. You'll probably want to attach (and double-check) the probes before turning it on. If the LEDs have failed you ...
- Sun Jul 16, 2017 8:23 am
- Forum: C/C++
- Topic: How would you ...... in C ? (+ other C discussions)
- Replies: 187
- Views: 26947
Re: How would you ...... in C ? (+ other C discussions)
It was the Microsoft C compiler. And it was many years ago -- probably the version just before it became Visual C.
And it was not a bug. The compiler is allowed to use any translation it likes with the same effect. The expression it doubled had no side effects.
And it was not a bug. The compiler is allowed to use any translation it likes with the same effect. The expression it doubled had no side effects.
- Sat Jul 15, 2017 2:13 pm
- Forum: C/C++
- Topic: How would you ...... in C ? (+ other C discussions)
- Replies: 187
- Views: 26947
Re: How would you ...... in C ? (+ other C discussions)
Note that subtracting 65 is an improvement over rurwin's solution. I'm happy enough that I got as close as one instruction to the optimum. It reminds me of the Two Laws of Optimisation: Don't do it. (For experts only) Don't do it now. I've also seen horrible code coming out of a compiler (compiling...
- Sat Jul 15, 2017 11:12 am
- Forum: C/C++
- Topic: How would you ...... in C ? (+ other C discussions)
- Replies: 187
- Views: 26947
Re: How would you ...... in C ? (+ other C discussions)
A nasty way of doing it would be to build an array of char (0 to 255 or -128 to 127 depending on the system) with each element set to 0 or 1, then use something like if( validchars[ch] == 1 ) printf( "is alpha" ); Sometimes a lookup table is the fastest way to do things. It will only take...
- Sat Jul 15, 2017 10:44 am
- Forum: C/C++
- Topic: How would you ...... in C ? (+ other C discussions)
- Replies: 187
- Views: 26947
Re: How would you ...... in C ? (+ other C discussions)
Interesting fact: isalpha() is not a valid replacement for that code and might even crash. Certain C libraries (<achem>Microsoft</achem>) throw an exception if they are given a negative argument. If you check the BSD sources you will find a comment to the effect that this might be a good idea. At le...
- Mon May 22, 2017 5:00 pm
- Forum: C/C++
- Topic: How would you ...... in C ? (+ other C discussions)
- Replies: 187
- Views: 26947
Re: How would you ...... in C ?
That fails if the first character not to match is the correct first key of the sequence. For example "12123#". That's why mine is complicated with the gotos. Nice compact state machine though.PeterO wrote:I like the "state machine" approach. Here's my take on it....
- Mon May 22, 2017 1:57 pm
- Forum: C/C++
- Topic: How would you ...... in C ? (+ other C discussions)
- Replies: 187
- Views: 26947
Re: How would you ...... in C ?
void loop() { typedef enum { Start, Got1, Got12, Got123} States; static States state = Start; States FailState; bool printit = true; char keypressed = myKeypad.getKey(); if (keypressed != NO_KEY) { if (keypressed == '1') FailState = Got1; else FailState = Start; switch (state) { case Start: if (key...
- Fri Apr 21, 2017 8:55 am
- Forum: Astro Pi
- Topic: Shock resistance of the Raspberry Pi
- Replies: 3
- Views: 2338
Re: Shock resistance of the Raspberry Pi
I don't see any reason why not. 20g is rather small. If you were getting transients of 100g or more then I would have more concern. The one issue you might have is the plugs and sockets momentarily disconnecting or becoming stressed from repeated flexing. So I would tie down all the cables so that t...
- Sun Mar 26, 2017 4:45 pm
- Forum: HATs and other add-ons
- Topic: 5" touchscreen calibration troubles.
- Replies: 7
- Views: 2881
Re: 5" touchscreen calibration troubles.
First Law of System Programming: Never check for an error condition that you don't know how to handle. Or in this case, don't bother reporting an error so deep in the pre-boot phase that nobody will ever see it. It might even only have the serial console available. Variable size strings are always a...
- Sun Mar 26, 2017 3:52 pm
- Forum: Off topic discussion
- Topic: Snarky non-responses to questions - grumpy man ramblings
- Replies: 252
- Views: 45039
Re: Snarky non-responses to questions - grumpy man ramblings
Since I've proved:
0
- I can do snark with the best of them.
- I can't bear to do it even to someone I know doesn't mind.
0
- Sun Mar 26, 2017 3:27 pm
- Forum: HATs and other add-ons
- Topic: 5" touchscreen calibration troubles.
- Replies: 7
- Views: 2881
Re: 5" touchscreen calibration troubles.
RTFM
https://www.raspberrypi.org/documentati ... ce-tree.md
(Snarky enough? And yes, the answer is there... somewhere.
)
Hint 2: Hint 1
Hint 3: Section 3.2
https://www.raspberrypi.org/documentati ... ce-tree.md
(Snarky enough? And yes, the answer is there... somewhere.

Hint 2: Hint 1
Hint 3: Section 3.2
- Thu Mar 23, 2017 8:23 am
- Forum: Off topic discussion
- Topic: Snarky non-responses to questions - grumpy man ramblings
- Replies: 252
- Views: 45039
Re: Snarky non-responses to questions - grumpy man ramblings
Forum Incompetency Theorem: When a question is asked on a public forum, the supplied answers will split as follows 10% will report having the same problem but offer no help. 10% will report having an entirely different problem. 20% will answer a different question. 15% will answer incorrectly. 5% w...
- Tue Mar 14, 2017 11:39 am
- Forum: Off topic discussion
- Topic: Snarky non-responses to questions - grumpy man ramblings
- Replies: 252
- Views: 45039
Re: Snarky non-responses to questions
This special thread gets to live in General discussion and Off topic discussion at the same time. :) It showed that way for me for a while, now I only see it in Off-Topic (had to go looking for it so I could keep complaining and trying to sidetrack everything). It's still there on page two. Secrets...
- Mon Mar 13, 2017 4:16 pm
- Forum: Off topic discussion
- Topic: Snarky non-responses to questions - grumpy man ramblings
- Replies: 252
- Views: 45039
Re: Snarky non-responses to questions
It used to be the case that for any half-way complex application, you could depend on the user being willing to put a few hours into learning how to use it. Not so much, now. There are several reasons for that. They are not paying huge amounts of money for every copy, there are many competing produc...
- Mon Mar 13, 2017 10:29 am
- Forum: Off topic discussion
- Topic: Snarky non-responses to questions - grumpy man ramblings
- Replies: 252
- Views: 45039
Re: Snarky non-responses to questions
So vi is the editor that has the greatest economy of finger movement so long as you remap the keys? I was an emacs man through and through but the last straw came in 2014 when they deleted the cookie recipes. jEdit all the way now. Key-only editors do have one disadvantage. A colleague once told me ...