Go to advanced search

by OtherCrashOverride
Fri Oct 18, 2013 5:28 pm
Forum: Off topic discussion
Topic: Pi NoIR - A Shadow on the Horizion
Replies: 12
Views: 1978

Re: Pi NoIR - A Shadow on the Horizion

I have no use for a Pi Camera. I have so many other devices with more capable cameras all of which I can program. An IR camera, however, brings something new that these other devices do not have. I can software correct the image of an IR camera to make it work as a daytime camera. The opposite, thou...
by OtherCrashOverride
Fri Oct 18, 2013 7:19 am
Forum: General discussion
Topic: Legal Question on Raspbian
Replies: 34
Views: 3525

Re: Legal Question on Raspbian

If they are running squeezelite, then GPLv3 applies to it. https://code.google.com/p/squeezelite/ Code license GNU GPL v3 Version 3 of the GPL has far more implications http://www.gnu.org/licenses/gpl.html 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed...
by OtherCrashOverride
Fri Oct 18, 2013 5:37 am
Forum: Off topic discussion
Topic: Pi NoIR - A Shadow on the Horizion
Replies: 12
Views: 1978

Pi NoIR - A Shadow on the Horizion

When the Pi camera was first released, it sold out quick. Stock became available again after about three months. Unfortunately, here in the USA there is a 41% “tax” on it from MCM (USA branch of Farnell). We fought a war with the British over something similar involving tea. Suffice it to say, its b...
by OtherCrashOverride
Thu Oct 17, 2013 8:50 pm
Forum: Other programming languages
Topic: Mono (C#) 2.11.4 hard-float for Raspberry Pi (EXPERIMENTAL)
Replies: 168
Views: 77317

Re: Mono (C#) 2.11.4 hard-float for Raspberry Pi (EXPERIMENT

Tried to download compiled experimental mono from link in the post, but got 404. if someone has it now, may I ask you to re-post, or share somehow. Thanks. This usually happens when copying from a post other than the original first post due to the habit of the forum software to 'shorten' links by p...
by OtherCrashOverride
Thu Oct 17, 2013 8:32 pm
Forum: OpenGLES
Topic: GLES fragment shader troubles
Replies: 7
Views: 2645

Re: GLES fragment shader troubles

I am able to resolve the issue by setting an alpha channel on the frame buffer when I call eglChooseConfig. All of my tests were done from various color depths (8,8,8; 5,6,5 or 4,4,4 for RGB with no alpha) and I never once tried using alpha on the frame buffer. It appears that once I give the frame...
by OtherCrashOverride
Thu Oct 17, 2013 1:45 pm
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 120824

Re: BASIC - more harmful than useful?

C++ templates might be necessary, but they are definitely the third hump of the camel. I probably should state that C#/VB.Net *generics* are very different from C++ *templates*. They are also true generics in that they are implemented in the bytecode unlike Java's. Explaining the difference is beyo...
by OtherCrashOverride
Thu Oct 17, 2013 1:16 pm
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 120824

Re: BASIC - more harmful than useful?

Though if that is the direction that VB has evolved in recent years I definitely would not recomend it to any one. That is almost as bad as using templates in C++. I have demonstrated that VisualBasic.Net is the most modern, flexible, capable version of BASIC! I win the internets and this thread! :...
by OtherCrashOverride
Thu Oct 17, 2013 12:38 pm
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 120824

Re: BASIC - more harmful than useful?

And where is the definition of the class that apears to be type Z???? There is no type Z. Its a generic. Common practice is to call it T but that was already used as a parameter and I chose to keep the code as similar as possible to the original while offering modern functionality. I am speaking of...
by OtherCrashOverride
Thu Oct 17, 2013 12:04 pm
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 120824

Re: BASIC - more harmful than useful?

Here's a BBC BASIC version of the same thing, pulled shamelessly from (google's cache of) rosettacode.org Here is a VisualBasic.Net version of the BBC BASIC version: REM Search ordered array A%() for the value S% from index B% to T% Function FNWhere(Of Z As IComparable)(ByVal A As Z(), ByVal S As Z...
by OtherCrashOverride
Thu Oct 17, 2013 10:42 am
Forum: OpenGLES
Topic: GLES fragment shader troubles
Replies: 7
Views: 2645

Re: GLES fragment shader troubles

Another possibility is that you or a 3rd party component have set a special blending mode in opengl.
by OtherCrashOverride
Thu Oct 17, 2013 10:40 am
Forum: OpenGLES
Topic: GLES fragment shader troubles
Replies: 7
Views: 2645

Re: GLES fragment shader troubles

vec4 color = texture2D( sTexture, vTexCoord ); gl_FragColor = color.brga; reduces all values to 25% of their actual values (ie. white pixels appear as 25% gray) If this is happening it most likely means that the alpha component of your texture is not 1.0. This could be an issue with uploading the d...
by OtherCrashOverride
Thu Oct 17, 2013 10:36 am
Forum: OpenGLES
Topic: GLES fragment shader troubles
Replies: 7
Views: 2645

Re: GLES fragment shader troubles

The most common scenario is that someone is running a GLES program from a SSH session. In this scenario, the screen saver is usually active on the PI resulting in a solid black console framebuffer. EGL on the PI always renders to an overlay instead of the framebuffer. So mathematically what happens ...
by OtherCrashOverride
Thu Oct 17, 2013 10:01 am
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 120824

Re: BASIC - more harmful than useful?

Burngate wrote:Please do - I read carefully and thoroughly the examples in scheme, and understood zero. Somewhat like reading Manderin transliterated into Greek with the help of a French-English dictionary
:lol:
by OtherCrashOverride
Thu Oct 17, 2013 8:04 am
Forum: OpenGLES
Topic: GLES fragment shader troubles
Replies: 7
Views: 2645

Re: GLES fragment shader troubles

One of the unexpected things that occurs on the Pi that does not on other platforms is that the egl dispmanx window is typically overlaid on something else like a console framebuffer. This has the unexpected side effect that alpha becomes visible as the overlay is mixed on the output. So, for exampl...
by OtherCrashOverride
Wed Oct 16, 2013 7:12 pm
Forum: Other programming languages
Topic: Visual basic on raspberry pi
Replies: 4
Views: 18995

Re: Visual basic on raspberry pi

So my question is if it would be possible to run the visual basic software on my raspberry tablet. The short answer is "Yes, if you are referring to Visual Basic.Net". The longer answer is: You must use a soft-float linux (which are no longer available) for it to work out-of-the-box. -or- Follow th...
by OtherCrashOverride
Tue Oct 15, 2013 6:51 pm
Forum: Off topic discussion
Topic: A Peaceful FairTrade Thread
Replies: 35
Views: 6928

Re: A Peaceful FairTrade Thread

I've been deleting posts from this thread that I feel don't contribute anything I'm good with that. I don't feel a sense of entitlement regarding forum posts. Those entrusted with moderating the forum empowered by those who own the forum are certainly justified in this action. So no worries about a...
by OtherCrashOverride
Tue Oct 15, 2013 1:27 am
Forum: Off topic discussion
Topic: A Peaceful FairTrade Thread
Replies: 35
Views: 6928

Re: A Peaceful FairTrade Thread

I don't get it. Why is this such an important thing? All I can see is its advertisement for that phone that keeps getting linked. I had to google to find out what Fairtrade was about: Fairtrade is about better prices, decent working conditions, local sustainability, and fair terms of trade for farme...
by OtherCrashOverride
Mon Oct 14, 2013 6:33 pm
Forum: C/C++
Topic: C# DateTime.Now failing
Replies: 8
Views: 2735

Re: C# DateTime.Now failing

deeves wrote:Please tell me what I need to do to resolve this issue.
Mono does not work properly on Raspbian or any other hard-float ARM linux. The solution had been to use a soft-float linux from the "Download" page but they have been removed recently.
by OtherCrashOverride
Mon Oct 14, 2013 6:29 pm
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 120824

Re: BASIC - more harmful than useful?

My argument against BASIC (of any form) is that is too restrictive; too, if you'll forgive the pun, "basic". Sure, you can teach the very first fundamentals of programming* using it, but you will rapidly hit a wall where you absolutely have to move onto another language. It's also horribly platform...
by OtherCrashOverride
Sun Oct 13, 2013 11:12 pm
Forum: C/C++
Topic: Easy C++ to C++ and C to C conversion?
Replies: 5
Views: 1443

Re: Easy C++ to C++ and C to C conversion?

and then there are things like the implementation of #pragma packed, and a few others that are just weird. My favorite is "#pragma once"! Include guards are for suckers! :P Or is there any other help that may be available for this task? All the cool kids are using llvm/clang to automate the manipul...
by OtherCrashOverride
Sun Oct 13, 2013 9:35 pm
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 120824

Re: BASIC - more harmful than useful?

Lets see if there is a 'high road' to take here ... Yes, BASIC is worth teaching. The important consideration is you are not just teaching the language. You are teaching logic, problem solving, critical thinking and creative expression. These fundamentals are language agnostic. While some are likely...
by OtherCrashOverride
Sun Oct 13, 2013 2:20 pm
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 120824

Re: BASIC - more harmful than useful?

I hope that you are not attempting to say that VB is BASIC. VB has little relation to BASIC despite its name. Visual Basic.Net is as much BASIC as BBC BASIC is BASIC. Neither is ANSI BASIC. Both are extended dialects. You are entitled to your opinion, so no need to debate that one. by M$ Oh, I see ...
by OtherCrashOverride
Sun Oct 13, 2013 10:45 am
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 120824

Re: BASIC - more harmful than useful?

Putting this thread back on track: Yes, BASIC is still worth teaching. Visual Basic.Net is structured, garbage collecting, has exceptions, can call C/ASM, is reflective, strictly typed, dynamically generatable at runtime, compiled, and most importantly: there are currently many jobs that will pay yo...
by OtherCrashOverride
Sun Oct 13, 2013 10:25 am
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 120824

Re: BASIC - more harmful than useful?

That's not "more verbose", it's an atrocity. Yup. It goes a lot better with C++11 and lambdas. You also only require one finalizer class. class TryCatchFinally { private: std::function<void()> tryLambda; std::function<void()> catchLambda; std::function<void()> finallyLambda; public: TryCatchFinally...
by OtherCrashOverride
Sat Oct 12, 2013 7:55 pm
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 120824

Re: BASIC - more harmful than useful?

But they don't work with C++, because C++'s exception model is broken. You can implement "finally" behavior in C++. Its just more verbose. class MyFinallyHandler { public: MyFinallyHandler(); ~MyFinallyHandler() { // Perform clean up operations } } int main() { MyFinallyHandler finally; try { DoSom...

Go to advanced search