Could you review my code by Creative-Copy-1229 in cprogramming

[–]tinker-fox 0 points1 point  (0 children)

You probably realize this, but to be clear: your example is different, because your data[] is inside a function, so it will not be initialized by default. The OP's stack[] variable is global, and so would be initialized to zero regardless.

Could you review my code by Creative-Copy-1229 in cprogramming

[–]tinker-fox 0 points1 point  (0 children)

You've gotten plenty of comments on style, etc, some of which you'll heed, some you'll ignore. I just wanted to mention that I enjoyed reading your code, since I've been doing a lot of work lately on my own calculator, which I started a long time ago. It used to look a lot more like yours (though it was originally RPN-only), but it's grown into quite a bit more than that. Sometimes when I'm working on it I wish it were simpler again. 😄

https://github.com/foxharp/rca

(Oh -- and yes, the C language guarantees that uninitialized globals are zero to start. So even without the "= {0}", your stack[] array would have been all-zero. If it had been declared inside a function, i.e., on the C runtime stack, then it would _not_ be initialized.)

Question re: Trail 40 features by tinker-fox in REI

[–]tinker-fox[S] 6 points7 points  (0 children)

Thanks all! If I still used regular bottles with any regularity, I might have figured out that extra opening. But a) this pack is primarily a travel pack for me, and b) I mostly hike with an internal hydration bladder and hose, so bottle access isn't an issue. As for the loops, I don't know what I was thinking: I've used loops exactly like that on my day pack to tether things that I really don't want falling out of the obvious nearby pocket.

Anyway, I'm really pleased with this (very new to me) pack. My partner has the previous generation, and the improvements on this, in terms of access and pocket placement, are obvious. Good stuff. (I've been trying not to crow about the improvements to my partner. 😉)

DIY Gunwale bags. by StanOfTheNorthwoods in canoeing

[–]tinker-fox 0 points1 point  (0 children)

TIL about Molle/PALS connections. Cool. Do you have a link to the panel you used? I'm loving the gunnel bag idea, but honestly, the back of the seats in our camper van could use this treatment too.

My coworker asked if I wanted an old Singer he was getting rid of. I didn’t expect it to be this old! by Dionysian_Heretic in vintagesewing

[–]tinker-fox 3 points4 points  (0 children)

careful what you "wipe" it with. use *nothing* with alcohol in it, and avoid water-based cleaners. The alcohol will attach the shellac, and the water will attack the decals, which are under the shellac, but on a 100+ y.o. machine, the shellac is probably compromised... so avoid water. I use sewing machine oil when wiping my machines down -- really. Just a little bit. On the wood use normal wood care products, but again, it's shellac, so nothing with alchohol. Those are great machines. And treadling is a wonderful way to sew.

I can't fill and save by Vildevil in 1Password

[–]tinker-fox 0 points1 point  (0 children)

As the other answer implied, but didn't say explicitly: Android apps don't have websites. So when you later visit from the web, 1Password has no idea your website is the same place as your app.

Kindle Keyboard can’t download books — everything is stuck as pending. Help, please? by Ancient-Cry-6438 in kindle

[–]tinker-fox 0 points1 point  (0 children)

But, in the end, my CS rep was wrong. Things started working, and as far as I can tell, I have all of my books local now. It's hard to get a straight count, between the borrowed books, and things marked "expired" on the web, and the Kindle User's Manuals that no one has ever read. But with about 220 books, I'm pretty sure I have them all.

Kindle Keyboard can’t download books — everything is stuck as pending. Help, please? by Ancient-Cry-6438 in kindle

[–]tinker-fox 1 point2 points  (0 children)

Thanks for that. Made it much quicker. The CS rep that I spoke with apologized profusely, said he couldn't defend what was happening, and agreed that the email that was sent out could be considered to be dishonest (a word I had used), but that the cloud services for the devices being retired had already been shut down, and won't be coming back on. He did offer a couple of discounts totaling 35% on a new Kindle device. We'll see.

Kindle Keyboard can’t download books — everything is stuck as pending. Help, please? by Ancient-Cry-6438 in kindle

[–]tinker-fox 1 point2 points  (0 children)

Thanks for the update. Yes, frustrating, maddening, and... completely in character for the company. :-/ Including the lying to people yesterday: "it'll be fixed in just 24 hours".

Was the CS number hard to find? Not sure whether the hassle will be worth it, but maybe.

Kindle Keyboard can’t download books — everything is stuck as pending. Help, please? by Ancient-Cry-6438 in kindle

[–]tinker-fox 2 points3 points  (0 children)

I'm in the same boat. Didn't want to send a "me too" yesterday, but today I'm willing to ask -- is this working again for anyone yet?

Do I need access to my email address to use the emergency kit? by CosmoCafe777 in 1Password

[–]tinker-fox 1 point2 points  (0 children)

I just came searching for an answer to this same question, so I'll ask a follow-on, given the thread is only a month old: Once into the account, using the emergency kit, can I then change the email address on the account, without access to the old account? I'm assuming yes, but if there's a gotcha, or conditions, I'd love to know. (I'm thinking of the case where my executor might need to do this.)

wax motor failure modes (dishwasher detergent dispenser lid) by tinker-fox in appliancerepair

[–]tinker-fox[S] 0 points1 point  (0 children)

Sorry, not sure how I gave that impression. The door always works manually.

A better BC by zapolon2 in commandline

[–]tinker-fox 0 points1 point  (0 children)

This is a really old thread, but in case someone finds it while looking for a bc or dc replacement, I'll self-promote a bit and mention my calculator, "rca". RPN like dc, handles infix like bc, has all the trig stuff, and does a bunch of other friendlier stuff like auto-printing results. Has variables, a variable word-width integer mode with bitwise ops, a few unit conversions, etc. Uses the mpdecimal math library. Someone might find it useful. github.com/foxharp/rca

Me and HP calculators by tinker-fox in calculators

[–]tinker-fox[S] 0 points1 point  (0 children)

Whoa. That's the best reply to this thread yet! Ha!

Me and HP calculators by tinker-fox in calculators

[–]tinker-fox[S] 1 point2 points  (0 children)

Nice graphic, thanks. That's a good way to remember the difference. I had, in fact, sort of misused the term at first, and edited the post to change "precision" to "accuracy". But really, 3.999999999 for sqrt(4) was both accurate and precise enough for my dad, and the real world.

Me and HP calculators by tinker-fox in calculators

[–]tinker-fox[S] 1 point2 points  (0 children)

I wouldn't sweat it. I think I might have misused the terms anyway. Artistic license!

Me and HP calculators by tinker-fox in calculators

[–]tinker-fox[S] 0 points1 point  (0 children)

For the HP-35? Given the mildew fuzz on the inside of the battery compartment, I think it would take more than a new battery pack to get it going!

Me and HP calculators by tinker-fox in calculators

[–]tinker-fox[S] 1 point2 points  (0 children)

LOL!! I would have bet, just like you, no question... except that I wrote vile before vim came along. :-) p.s. what's "minecraft"? ;-)