The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
It's basically how much the two wheels point in the same direction, and making sure they both point forward!
If it's wrong, it causes uneven wear, the car to veer to one side when accelerating or braking and such like - it's pretty simple, if you have the measuring equipment.
Never underestimate the power of stupid things in large numbers --- Serious Sam
I woke up this morning with some ideas on the Semantic Types project my associate is working on - he's doing low level C code and I thought I'd look at implementing some of his ideas in C#, so I've been working on the declarative side of things leveraging a lot of FP concepts and whacky features of C# that I hardly ever use, like the dynamic keyword and runtime code generation and execution.
Had a lovely breakfast with my gf, shoveled the snow off her car (note, "shoveled", not "brushed") and kissed her goodbye as she went off to take care of the sheep and other animals at the farm where she works. The rest of the day will be spent earning $$$ working on my client's upgrades to a couple Ruby on Rails websites, then tonight, off to the Saturday poker game where I will hopefully make more $$$. Ironically, I make about as much money playing poker per hour (on average) as I do doing contract programming! Too bad it's not full-time game playing!
I'm almost 50% done with my SyncFusion e-book on "From Imperative to Functional Programming - How to Think Functionally" (anyone interested in giving me feedback, I'd be happy to send them what I have so far), but I'm putting that aside today - the next big thing is to really understand monads (computational expressions) so I can write about it intelligently. None of the online descriptions, though excellent in one way, really explain monads in a way that can be applied practically, and FP (and specifically F#), being what it is (immutable if we stay pure to the idea of FP) needs monads to manage state, so I'm trying to wrap my head around that with some practical examples.
Oh, and weirdly, the hot water pipes downstairs seem to have frozen, but we still get hot water upstairs. Debugging that is a lot harder than most programming problems!
Heading out of town to have a new mirror put on my new truck. The car wash ripped the original one to pieces. While I'm there, I'll stop by a few stores to see if, unlike my town, Lake Havasu has ammo available on the store shelves. If so, I may have to buy some; I went through rather a lot of it at the range last week.
I'm also gathering up addresses of people who, months ago, expressed an interest in sharing the bounty when an old fellow in a local gun shop gave me about 200 lbs of fired brass. I've finally got it all sorted, and I'm giving away the stuff I don't shoot. Happily, I have a bunch of cases I can reload in a couple of my favorite calibers - ~9000 in 9mm Luger, ~1000 in .380 Auto. I've got the extras bagged and tagged and ready to ship, just waiting on addresses.
Just came back from nice little motorcycle ride. Watching big bang theory now.
OT: There is a really old article[^] of Pete about query performance. Those articles do not really cover how execution plan can be really used to improve queries. Now since you have picked up on SQL and are busy writing, how about an addendum? Or may be a brand new series on, probably, this much ignored area.
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[^]
I am a AWS newbe. I am mucking about with an AWS playtime account, tied to my personal credit card, my costs last month did not exceed $20. My network topologies though seem to quickly get out of hand and am having a hard time visualizing them. Again this is just so I can become familiar with this stuff, playtime as I have said.
Several tools are available to allow me to do visualization, one that I'm interested in is in beta and is based overseas, well actually most of the free ones are (not in friendly countries either). There is one that costs, it is a release version but their visualizations don't look like the Amazon network diagrams you see in AWS help, in addition I have to contact a sales rep to get pricing (no prices on the menu if you will).
The problem is you have to give the visualization people your AWS account info so the diagrams can be generated/ or toplogy generated from the diagram you draw. I hesitate to do that even with a play time account, lest in an hour my AWS account gets abused by the visualization vendor in ways I'm just beginning to imagine.
I have noticed that AWS has a cloud monitor that sends an email if you exceed <edit> a costing </edit> threshold. Hmmm... that's next to worthless.
I am looking for some help using the Discrete Wavelet Transform (DWT) Library found here: wavelet2d.sourceforge.net/
The trouble is a run time error, which occurs at the DWT function call. It seems to be associated with the length vector in the function call. I want to note that this code was published as is and was reported working by a post doctorate from MIT. Im pretty sure this error is due to something I am doing incorrectly. I created a project file for Microsoft Visual Studio 2013 which I have included here: skydrive.live.com/redir?resid=DF1EA4AE66DE04A3%21128
Note: I placed the two dll files in the system32 folder and the .lib file is included in the MSVC++ Project file which links to the dll’s. I used the release dll's but i get the same result with the debug files. The signal.txt is used by the wavedem1.cpp project file and is operated on.
The error can be easily generated but here is the unhandled exception I am getting: “Unhandled exception at 0x7555D36F in WaveletCode.exe: Microsoft C++ exception: std::length_error at memory location 0x002EF574.”
Here is the call stack: http://img198.imageshack.us/img198/4306/9jdl.jpg It looks like line 65 is causing an issue which is the DWT function call. I tried to look at the "intermediate window" in MSVC++ 2013 but it was empty during execution.
And some more from MSVC++: 'WaveletCode.exe' (Win32): Loaded 'C:\Users\Matt\Desktop\WaveletCode\Debug\WaveletCode.exe'. Symbols loaded. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\wavelet2d.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\libfftw3-3.dll'. Module was built without symbols. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\msvcp100d.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\msvcr100d.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\msvcp120d.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120d.dll'. Cannot find or open the PDB file. First-chance exception at 0x644921A9 (wavelet2d.dll) in WaveletCode.exe: 0xC0000005: Access violation reading location 0x9F8ED620. Unhandled exception at 0x644921A9 (wavelet2d.dll) in WaveletCode.exe: 0xC0000005: Access violation reading location 0x9F8ED620. The program ' WaveletCode.exe' has exited with code 0 (0x0).
The end goal is to use this library on a microcontroller for some DSP. Thank you for any help/suggestions you can provide. If you need more information please ask I am relitively new to this.
Welcome to the Lounge, for lazing about and discussing anything in a software developer's life that takes your fancy.
Technical discussions are welcome, but if you need specific help please use the programming forums.
A rant against Windows is not a programming question (unless the OP happens to work on the Windows development team)
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
Oh I know. My issue wasn't with you at all. I was just pointing out that when people of certain "stature" ask questions (even unintentional ones) they tend to get answers but new members get told very quickly where to go.
It's no big deal, I really didn't mean much by it.
There are only 10 types of people in the world, those who understand binary and those who don't.
The end goal is to use this library on a microcontroller for some DSP
Just a note if you're wanting to do real time processing I doubt that a uController would be able to sample at a very fast rate as most are limited to 20MHz. Additionally uControllers do not have a FPU so all calculations would be done in firmware which is slow.
As always, it depends on the problem you're trying to solve.
True and after posting did some digging in an Atmel uController instruction set reference and found some instructions that deal with fractional data that are ideal for signal processing. So I only shot off 2 toes instead of the whole foot.