|
Definitely not homework wow bit condescending there my dude, have you seen the code? I was basically just trying to optimize. The part where I have to create another file for writing but I already have the decompressed txt file open, the target of the copy to
(Also, not posting code here merely referring to the Q&A where I posted the code. If this breaks the bylaws still, my apologies). Will stop here, thanks
|
|
|
|
|
I'm with Chill on that - it has the structure of a homework question, and I have to admit when I saw it my immediate thought was just that: "not another lazy student posting his assignment and expecting use to finish it for him!"*
Maybe it is, maybe it isn't. But ... it doesn't ask a question, it just posts an assignment and some code which doesn't appear to try and solve it. I'd say it was closed for good reason.
* Well ... the actual version involved words which aren't KSS
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Fair enough, I'll structure my question better and repost. Bit tired atm
|
|
|
|
|
That's a good idea!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Just to reiterate what was said, you'll get better responses if you ask a specific question that shows you at least went through the code rather than just post a problem and a code dump. The peeps here love to help, but nobody will do the thinking for you.
Jeremy Falcon
|
|
|
|
|
These six monarchs were much reviled (7)
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
These six VI
monarchs KINGS
were much reviled
VIKINGS
I was just going to post you an "Oi!" and you posted it.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Must be some kind of a record time
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
Dogbert Builds User Interface - Dilbert[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
What was that quote that goes along the lines 'or you live long enough to be the villain'
|
|
|
|
|
|
If you live even longer, you become calcium.
My dentist agrees.
Never mind I am sleep deprived.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I just spent a delightful (and obscenely expensive) weekend in Las Vegas, attending the Xfinity and Cup Series NASCAR races. Wow! What a great time!
But what a noise! I just got home to Bullhead City, and I'm nearly deaf, even though I wore earmuffs for most of the time. Earmuffs work great, but at those sound levels, it's impossible to talk to your buddy sitting in the next seat. And I like to eavesdrop on the drivers as they talk to their crews, but it's impossible to understand what the scanner is picking up during the race. Yes, it's possible to hear during a Caution, but not under full throttle.
The product I'm looking for is an earmuff/headset that has a Noise Reduction Ratio of 124 dB or better, and speakers that can connect to a Bearcat 125AT handheld scanner. For the bonus round, I'd love to have BlueTooth capability and noise-cancelling microphones built in to allow voice communications between two people attending the race together.
If there's a product out there that can do this, I'd love to hear about it. If someone here would like to tackle the project - I'm looking at you, Honey the Code Witch, but anyone is invited to join in - I'm in for two units, and available for Beta testing. If it turns out to be useful and reliable, I think I can safely guarantee many thousands of sales, and I wont charge you a thing for the idea. But I do expect to get mine free, no matter how many millions you rake in. And that's for the life of the product, all upgrades included. Heck, my idea is making you a millionaire - that's the least I deserve.
So go and put on your thinking caps, consume your creative herbal products. I think this is a product idea that can extend well beyond NASCAR, and has the potential to generate some serious profits. I look forward to buying stock in your company, after you make this idea a reality.
Will Rogers never met me.
|
|
|
|
|
WOW! 124dB is a lot...
For all the other specs check "3M peltor" devices, they offer different solutions from industrial to militar.
|
|
|
|
|
Oops. Fat fingers. I meant to type 24 dB, which most ear muffs currently provide.
Will Rogers never met me.
|
|
|
|
|
Motorcycle riders use little intercom units. Maybe you could use one of those. Here are a few : Motorcycle Intercoms - MOTORCYCLEiD.com[^]
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Great idea! I'll look into those.
Will Rogers never met me.
|
|
|
|
|
Well, you are certainly not referencing me!
Rock bands (the Who) play almost that loud, if not louder. They wear custom fit earplugs, earphones. Try your local music store or music stores on line.
I am sure they are quite expensive.
Don't go to any more NASCAR events.
btw: In the Navy, on an Aircraft Carrier, shop immediately under the #1 catapult and playing in a rock band did it for me. All my highs are gone and 20% of everything else.
Ed
|
|
|
|
|
I hear you, or rather, I used to could. For me, firearms did most of the hearing damage. Growing up, no one used hearing protection. Heck, I can't even remember seeing PPE in sporting goods stores at all! I'm not sure how loud my .30-06 BAR is, but when I go to the range, I get to keep it all to myself.
It's amazing what a difference seating makes, though. Last year we were 24 rows higher up, and could carry on a conversation, albeit a loud one. This year, sitting closer to the track, it was impossible to shout loud enough to be heard except under a caution. I can barely talk this morning...
By the way, being there is a unique (and costly) experience, and worth doing a couple times a year, but you get a better view on TV.
Will Rogers never met me.
|
|
|
|
|
btw: In the Navy, on an Aircraft Carrier
If you haven't already done so, you may be able to get hearing aids through the VA.
>64
Some days the dragon wins. Suck it up.
|
|
|
|
|
Roger Wright wrote: The product and I'm nearly deaf ... of 124 dB or better
"Loud noise above 120 dB can cause immediate harm to your ears."
What Noises Cause Hearing Loss? | NCEH | CDC[^]
Sounds (pun admitted but sort of unintentional) like what you really need is a lawyer. Especially if there was no notification of that. And probably a release form.
Roger Wright wrote: The product I'm looking for is an earmuff/headset
Googling the following would seem to suggest that protection already exists.
ear protection for shooting
|
|
|
|
|
I have used several products for protection from shooting noise; the damage was done before such things were ever popular. The best of them work very well, blocking sharp reports from a gunshot. None work very well in a continuous field of roaring engines. I can get a set of muffs that will plug into my scanner, which I plan to do, but the technical breakthrough I'm looking for adds the ability to communicate between two people while filtering out the ambient noise. I'm thinking something in the way of a Bluetooth walkie talkie with an amazing front end filter and wide dynamic range. In retrospect, I should have recorded the day and run the audio through a spectrum analyzer to determine a stop band profile. Oh well, I'll be doing it again come October; this time I'll record more of it.
Will Rogers never met me.
|
|
|
|
|
My pilot friends have pretty good headsets with microphones.
Small planes are noisy, you sitting behind a V8 with no mufflers.
The versions I have used are hardwired(minus) and plug into the radio(plus)
|
|
|
|
|
That's kind of what I'm looking for. What I really want is a headset with bluetooth connectivity, but adding a jack to connect to an external audio source.
Will Rogers never met me.
|
|
|
|
|
If you are okay with a jack for the radio feed, then go wired all the way!
The big issue with the wired is what happens when you have to use the restroom!?
I see why you want wireless.
|
|
|
|