![]() |
#28261 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
OK... when refactoring a function, I'll just retype the entire function from now on
![]() Quote:
Quote:
buffer[5] = (byte)(button4.Text.Split(" ")[1]) (Split the text on button 4 into two parts, take the second part, and then convert it to a byte. It's not really obvious at first glance what value goes into buffer[5], to say the least, especially because button4.Text can change depending on the state of the program ![]() edit: Together with the help of a colleague I've managed to unravel the stuff. I've been writing my own (new) test program, transferring and rewriting the parts of the network code I need, isolating it into a single object. Sending works now; the device reacts as expected if I send commands (by setting the correct bits). Last edited by Katsunami; 08-03-2016 at 07:03 AM. |
||
![]() |
![]() |
![]() |
#28262 |
Treasure Seeker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
Why on earth would my neighbor have big rats in a cage outside their door? Had to text the landlady on that one.
Snake maybe is the only thing we can think of? What else eats rats the size of a three month kitten? Sent from my Nexus 7 |
![]() |
![]() |
Advert | |
|
![]() |
#28263 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
Ouch, that is bad programming... Using generic variable names and not giving controls logical names is not good nor smart. It was excusable when I started programming in the 80s, because there was hardly any memory to play with and every byte counted. Not anymore though, not even for a 'fast track'. |
|
![]() |
![]() |
![]() |
#28264 | |
Just a Yellow Smiley.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
|
Quote:
Sounds more like pets than food unless the snake is over 12 feet long. Though maybe they are breeding the rats for snake food. |
|
![]() |
![]() |
![]() |
#28265 | ||
New York Editor
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Zoos can be fun. Exhausting, but fun.
At one trade show in NYC I attended, a vendor (and I don't recall which), decided "Amazing Grace" played on bagpipes was a good promotional gimmick, and would periodically set it off, played way too loud, to announce their next dog and pony show. At another, I spent an enjoyable half hour or so chatting with a magician another vendor had hired to do prestidigitation. He described the gig as Industrial Theater, and had an agent who had secured it for him. He did a good show and I was happy he had the work, but was a little bemused about where he was hired to perform. Quote:
I assume the hotels were using them for reservations? (Another hobby here is helping to plan and run literary SF conventions, and I'm usually the guy who deals with the venue on behalf of the con. Reservations are one of the things I have to keep an eye on, with lots of communication with attendees about "Don't try to make this special request through central reservations for the chain. They won't have a clue. Drop me a note and I'll see the property accommodates you." Just did one for an observant Jewish couple who wanted a low floor so they wouldn't be climbing lots of stairs on Shabbos. Easily done, once I know it needs to be. At last year's event, a Jewish couple complained about trying to get that through central reservations and failing. "Don't even try. That will fail. Contact me...") Quote:
I got a 32GB microSD card for the new tablet I'm configuring, and it cost a whopping $8. For that matter, I still have my ancient PC clone running MSDOS 5 on a shelf. It has a 10 mhz NEC V20 CPU, 640 KB of RAM, a megabyte of expansion RAM on a card, a Hercules graphics card driving a mono monitor, and two 20[b]MB[/i] Seagate ST-225 hard drives. My Palm TX PDA has 128MB NVRAM, 4GB of storage in an SD card, and a 312mhx Intel PXA CPU. Everything gets smaller, faster, more powerful, and cheaper. Alas, users don't get smarter... ![]() ______ Dennis Last edited by DMcCunney; 08-03-2016 at 03:32 PM. |
||
![]() |
![]() |
Advert | |
|
![]() |
#28266 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,555
Karma: 64462893
Join Date: Jan 2008
Location: Harrisburg outskirts
Device: Palms, K1-4s, iPads, iPhones, KV, KO1
|
My co-worker's wife used to keep rats as pets, and spend hours driving across country for "rat rescue" missions. They had more than a dozen, at one point. So yeah, it may be for pets.
Hitch: Basic 4 ! My Dad started a business installing and writing software for those. The company is still going strong, tho not with *those* computers, of course! Dad's been gone for 19 years, but one brother still works there. And what was the name for the DEC conventions?? I saw Clifford Stoll talk at one of them. Last edited by badgoodDeb; 08-03-2016 at 01:23 PM. |
![]() |
![]() |
![]() |
#28267 | ||
New York Editor
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Quote:
Quote:
______ Dennis |
||
![]() |
![]() |
![]() |
#28268 | |
Illiterate
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,279
Karma: 37848716
Join Date: Mar 2009
Location: The Sandwich Isles
Device: Samsung Galaxy S10+, Microsoft Surface Pro
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#28269 | ||
New York Editor
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Quote:
![]() ______ Dennis Last edited by DMcCunney; 08-03-2016 at 01:34 PM. |
||
![]() |
![]() |
![]() |
#28270 | |
Treasure Seeker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
Quote:
I should mention no one is home. It's been seriously raining poor things are probably soaked. Sent from my XT1528 Last edited by Blossom; 08-03-2016 at 02:23 PM. |
|
![]() |
![]() |
![]() |
#28271 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I've considered making the patio into a catio, but, a) it's large (72' x 12) and thankfully covered, and b) it wouldn't keep the snakes out at all, nor scorpions or other things. {sigh} I've played with rats. Quite smart, really. And fun. Hitch |
|
![]() |
![]() |
![]() |
#28272 |
Treasure Seeker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
There is no sunshine it's been pouring rain since 2AM which is why I called it in. We got flash floods out.
Sent from my XT1528 |
![]() |
![]() |
![]() |
#28273 | |
Treasure Seeker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
Quote:
Hubby got home from work this morning and noticed it and called me out onto the walkway. It was raining pretty hard so I texted the landlady. We don't have porches here just a narrow rickety walkway with a short banister that any kid could fall over. So this was very odd. Sent from my XT1528 |
|
![]() |
![]() |
![]() |
#28274 |
Just a Yellow Smiley.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
|
Is it possible someone dropped off the rats?
You said no one is home and I am assuming you didn't see the people bringing the rats outside. And that you have never seen the rats before. Odd behavior for owners if they are pets or even snake food since snakes prefer live food. |
![]() |
![]() |
![]() |
#28275 | |
Treasure Seeker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
Quote:
Sent from my XT1528 |
|
![]() |
![]() |
![]() |
Tags |
creepy crawlers!, dell computers, monteverdi, thread that never ends, tubery, unutterable silliness |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
I just have to vent... | lacymarie7575 | Sony Reader | 5 | 08-18-2010 07:59 PM |
I need to vent! Booksonboard! Ugh! | Mrgauth | News | 25 | 12-17-2009 09:26 AM |
Why, Oh Why! [RANT] | Vesper | Lounge | 19 | 06-19-2008 11:50 AM |
Am I allowed to vent here? | sborsody | Which one should I buy? | 25 | 06-12-2007 01:30 PM |