Author Topic: Topre switches are great for debugging code  (Read 5937 times)

0 Members and 1 Guest are viewing this topic.

Offline keyboardlover

  • Thread Starter
  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
Topre switches are great for debugging code
« on: Fri, 19 November 2010, 08:20:56 »
I noticed this as soon as I started using my Realforce at work. If you're like me and you work on a very large software system, you probably often have to set a lot of breakpoints in a lot of different areas of the code, then step over a lot of them in order to get to a places where you want to step into the code. Because of the capacitive switch, if you hold down F5 (in Visual Studio) it FLIES over those breakpoints - probably at least twice as fast as a rubber dome board. This is because of the capacitive switch triggering the keypress before you bottom out. This has actually made me more productive! More proof that Topre switches kick ass!

Offline rantenki

  • Posts: 114
    • http://armyofevilrobots.com/
Topre switches are great for debugging code
« Reply #1 on: Fri, 19 November 2010, 14:13:00 »
Quote from: keyboardlover;249115
I noticed this as soon as I started using my Realforce at work. If you're like me and you work on a very large software system, you probably often have to set a lot of breakpoints in a lot of different areas of the code, then step over a lot of them in order to get to a places where you want to step into the code. Because of the capacitive switch, if you hold down F5 (in Visual Studio) it FLIES over those breakpoints - probably at least twice as fast as a rubber dome board. This is because of the capacitive switch triggering the keypress before you bottom out. This has actually made me more productive! More proof that Topre switches kick ass!



Offline msiegel

  • Posts: 1230
Topre switches are great for debugging code
« Reply #2 on: Fri, 19 November 2010, 14:22:52 »
shhh, he's justifying expensing one from work ;)

Filco Zero (Fukka) AEKII sliders and keycaps * Filco Tenkeyless MX brown * IBM F/AT parts: modding
Model F Mod Log * Open Source Generic keyboard controller

Offline keyboardlover

  • Thread Starter
  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
Topre switches are great for debugging code
« Reply #3 on: Fri, 19 November 2010, 14:31:32 »
Those settings were the same ones I had when I had a Keytronic though, and it was nowhere near as fast. So how do you explain that?

Offline itlnstln

  • Posts: 7048
Topre switches are great for debugging code
« Reply #4 on: Fri, 19 November 2010, 14:38:26 »
Keyboard firmware.  Some of older ones had a switch or dial to set the internal repeat rate.  It's nothing special about the switches.  As for the activation point, pretty much all mechanical switches share the same advantage.

EDIT: There is no difference in repeat rate between my Cherry G80-3000 and my Topre 103.
« Last Edit: Fri, 19 November 2010, 14:40:33 by itlnstln »


Offline keyboardlover

  • Thread Starter
  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
Topre switches are great for debugging code
« Reply #5 on: Fri, 19 November 2010, 14:39:29 »
Oh ok that makes sense. Thanks for the clarification.

Offline Fwiffo

  • Posts: 358
Topre switches are great for debugging code
« Reply #6 on: Fri, 19 November 2010, 14:48:51 »
Real men xset r rate 100 255
You can call me... Keyboard Otaku... or not quite...

woody

  •  Guest
Topre switches are great for debugging code
« Reply #7 on: Fri, 19 November 2010, 14:50:49 »
With USB it's all about the keyboard sending first event, which should be in the range of few msecs, then delay and repeat are in the HID driver.

Now with PS/2, you can turbo all the way.

Offline JBert

  • Posts: 764
Topre switches are great for debugging code
« Reply #8 on: Sun, 28 November 2010, 17:04:38 »
Real programmers use logging. Needs far less breakpoints and can be extracted from running code.
Unless it's code made by your ignorant co-workers who don't know how to code well.
IBM Model F XT + Soarer's USB Converter || Cherry G80-3000/Clears

The storage list:
IBM Model F AT || Cherry G80-3000/Blues || Compaq MX11800 (Cherry brown, bizarre layout) || IBM KB-8923 (model M-style RD) || G81-3010 Hxx || BTC 5100C || G81-3000 Sxx || Atari keyboard (?)


Currently ignored by: nobody?

Disclaimer: we don\'t help you save money on [strike]keyboards[/strike] hardware, rather we make you feel less bad about your expense.
[/SIZE]

Offline keyboardlover

  • Thread Starter
  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
Topre switches are great for debugging code
« Reply #9 on: Sun, 28 November 2010, 17:07:17 »
Quote from: JBert
Real programmers use logging. Needs far less breakpoints and can be extracted from running code.
Unless it's code made by your ignorant co-workers who don't know how to code well.


We already log at runtime...how many breakpoints you have depends on how large the software is more than anything else. Unless you're talking about something else? Like logging at compile time (no clue why you'd want to do that).

Edit: since logging occurs at runtime, it's more useful in the maintenance phase than when you're doing new development, so I still don't understand your point =)
« Last Edit: Sun, 28 November 2010, 17:10:18 by keyboardlover »

Offline panda-R

  • Posts: 721
Topre switches are great for debugging code
« Reply #10 on: Sun, 28 November 2010, 19:05:48 »
can i buy a topre if i'm not a codemonkey?
DO YOU FEEL THE BEAT? I DO.
One Keyboard to DOOM them all, REALFORCE.

Offline theferenc

  • Posts: 1327
Topre switches are great for debugging code
« Reply #11 on: Sun, 28 November 2010, 19:13:01 »
If you do, it breaks the stereotype that exists here. Are you sure you want to go and do something as silly as that?

Though, if I recall correctly, it is most strongly associated with the HHKB, but I've noticed that most people who list a topre board in their sigs tend to be developers of some sort.

Then again, it's gamers and code monkeys on this board, isn't it? Who else cares enough about their keyboards?
HHKB Pro 2 -- Custom UNIX layout Unicomp Customizer 101 -- IBM Model M 1391401 (modded to UNIX layout) -- IBM 1397000 (also UNIX layout) -- SSK in UNIX layout -- Model F 122 key in UNIX layout (Soarer USB "native")
 
CST L-TracX trackball -- Kensington Expert Mouse trackball

Offline patrickgeekhack

  • Posts: 1460
Topre switches are great for debugging code
« Reply #12 on: Sun, 28 November 2010, 19:25:43 »
Quote from: ripster;253567

Show Image


This guy can speak French in Russian.

Offline keyboardlover

  • Thread Starter
  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
Topre switches are great for debugging code
« Reply #13 on: Sun, 28 November 2010, 19:25:48 »
Personally I would imagine that a writer or journalist would love a Realforce. Pretty much anyone who has to do large amounts of writing - topre switches just makes the whole task much more pleasant =)

Offline theferenc

  • Posts: 1327
Topre switches are great for debugging code
« Reply #14 on: Sun, 28 November 2010, 19:31:31 »
That's true. I tend to bounce between my HHKB and my Customizer 101. Both are in the same layout, so the only real difference for me is the mechanics involved.

There's just something about the sound of the Customizer that I find quite relaxing while I'm writing code. And while it feels so very different from my HHKB, I find both an immense pleasure to use. It really just depends on mood for me.

Edit: If only I could get a 103UB 55g in my preferred layout, I'd have even less money...keyboardlover, do you know if that's even possible?
« Last Edit: Sun, 28 November 2010, 19:39:24 by theferenc »
HHKB Pro 2 -- Custom UNIX layout Unicomp Customizer 101 -- IBM Model M 1391401 (modded to UNIX layout) -- IBM 1397000 (also UNIX layout) -- SSK in UNIX layout -- Model F 122 key in UNIX layout (Soarer USB "native")
 
CST L-TracX trackball -- Kensington Expert Mouse trackball

Offline panda-R

  • Posts: 721
Topre switches are great for debugging code
« Reply #15 on: Sun, 28 November 2010, 19:33:57 »
i wish i was a journalist, a monkey or a bearded man. Not necessarily in that order.
DO YOU FEEL THE BEAT? I DO.
One Keyboard to DOOM them all, REALFORCE.

Offline keyboardlover

  • Thread Starter
  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
Topre switches are great for debugging code
« Reply #16 on: Sun, 28 November 2010, 19:41:26 »
Quote from: theferenc

Edit: If only I could get a 103UB 55g in my preferred layout, I'd have even less money...keyboardlover, do you know if that's even possible?


What exactly is your preferred layout?

Offline theferenc

  • Posts: 1327
Topre switches are great for debugging code
« Reply #17 on: Sun, 28 November 2010, 19:42:50 »
Oh, sorry, it's the UNIX/Sun type 3/HHKB layout, whichever term you prefer.

I'm a bearded UNIX geek, and it just works better for me.
HHKB Pro 2 -- Custom UNIX layout Unicomp Customizer 101 -- IBM Model M 1391401 (modded to UNIX layout) -- IBM 1397000 (also UNIX layout) -- SSK in UNIX layout -- Model F 122 key in UNIX layout (Soarer USB "native")
 
CST L-TracX trackball -- Kensington Expert Mouse trackball

Offline keyboardlover

  • Thread Starter
  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
Topre switches are great for debugging code
« Reply #18 on: Sun, 28 November 2010, 19:45:20 »
Hmm...how did you configure your Customizer in this layout? Using software? If so, the same software should work with the Realforce.

Offline theferenc

  • Posts: 1327
Topre switches are great for debugging code
« Reply #19 on: Sun, 28 November 2010, 19:50:32 »
I had it custom programmed at the factory. The key remapping itself is fairly easy, but there are physical key changes (splitting the backspace key into 2 distinct switches) that can't be overcome by software, unfortunately. Unicomp also took care of that physical difference for me.



And apparently only the BS keyboards can be (relatively) easily modded that way after the fact.
« Last Edit: Sun, 28 November 2010, 19:54:21 by theferenc »
HHKB Pro 2 -- Custom UNIX layout Unicomp Customizer 101 -- IBM Model M 1391401 (modded to UNIX layout) -- IBM 1397000 (also UNIX layout) -- SSK in UNIX layout -- Model F 122 key in UNIX layout (Soarer USB "native")
 
CST L-TracX trackball -- Kensington Expert Mouse trackball

Offline keyboardlover

  • Thread Starter
  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
Topre switches are great for debugging code
« Reply #20 on: Sun, 28 November 2010, 19:57:30 »
In that case, I know of no way other than somehow modding it yourself...

Offline theferenc

  • Posts: 1327
Topre switches are great for debugging code
« Reply #21 on: Sun, 28 November 2010, 20:01:01 »
The blank keys on the bottom of my board send the windows key scancodes. And the blank key where ESC usually is? That's caps lock.

Weird, I know, but Jim at Unicomp insisted that caps lock be SOMEWHERE on the board, and since I wasn't using that key, that's where it ended up.

But I definitely prefer my alt keys next to my space bar, so the corner keys went the windows route.
HHKB Pro 2 -- Custom UNIX layout Unicomp Customizer 101 -- IBM Model M 1391401 (modded to UNIX layout) -- IBM 1397000 (also UNIX layout) -- SSK in UNIX layout -- Model F 122 key in UNIX layout (Soarer USB "native")
 
CST L-TracX trackball -- Kensington Expert Mouse trackball

Offline theferenc

  • Posts: 1327
Topre switches are great for debugging code
« Reply #22 on: Sun, 28 November 2010, 20:03:23 »
Quote from: keyboardlover;253595
In that case, I know of no way other than somehow modding it yourself...


Yeah, the idea of modding a $250 keyboard by hand (which would also require getting a complete switch from somewhere else)...not something I really want to be doing.

But it was only $20 extra for Unicomp to do a custom programming job on this one, maybe I can get Topre to do the same thing, for a similar amount...assuming I can find someone there who speaks english, of course.
HHKB Pro 2 -- Custom UNIX layout Unicomp Customizer 101 -- IBM Model M 1391401 (modded to UNIX layout) -- IBM 1397000 (also UNIX layout) -- SSK in UNIX layout -- Model F 122 key in UNIX layout (Soarer USB "native")
 
CST L-TracX trackball -- Kensington Expert Mouse trackball

Offline theferenc

  • Posts: 1327
Topre switches are great for debugging code
« Reply #23 on: Sun, 28 November 2010, 20:05:16 »
Apparently someone there can, since they were able to do it for me. Except they swapped some keycaps for no apparently reason. The '-' and '=' keycaps were swapped when I got the board. The keys sent the correct scan codes for their position, but were labeled incorrectly.

How weird is that?
HHKB Pro 2 -- Custom UNIX layout Unicomp Customizer 101 -- IBM Model M 1391401 (modded to UNIX layout) -- IBM 1397000 (also UNIX layout) -- SSK in UNIX layout -- Model F 122 key in UNIX layout (Soarer USB "native")
 
CST L-TracX trackball -- Kensington Expert Mouse trackball

Offline JBert

  • Posts: 764
Topre switches are great for debugging code
« Reply #24 on: Mon, 29 November 2010, 16:32:09 »
Quote from: keyboardlover;253529
We already log at runtime...how many breakpoints you have depends on how large the software is more than anything else. Unless you're talking about something else? Like logging at compile time (no clue why you'd want to do that).

Edit: since logging occurs at runtime, it's more useful in the maintenance phase than when you're doing new development, so I still don't understand your point =)
Logging is the poor man's debugger. Consider that every time you need a breakpoint to figure out what your code is doing, some poor schmuck might cuss later on when he's sitting at a customer's office and trying to find out what goes wrong.

Therefore it's far wiser to put some extra logging in your code. When you're debugging your code, you are running it and can use the logging to your advantage, then drop into the debugger to learn the flow of the program.

Of course, all of this assumes you're using a logging framework you can adjust at will - something "decent" like log4j or Logback (Java) or their offspring on other platforms/languages. This technique won't do you any good if you have to go in and comment out code to disable certain output, or if your logging framework causes too much overhead.
IBM Model F XT + Soarer's USB Converter || Cherry G80-3000/Clears

The storage list:
IBM Model F AT || Cherry G80-3000/Blues || Compaq MX11800 (Cherry brown, bizarre layout) || IBM KB-8923 (model M-style RD) || G81-3010 Hxx || BTC 5100C || G81-3000 Sxx || Atari keyboard (?)


Currently ignored by: nobody?

Disclaimer: we don\'t help you save money on [strike]keyboards[/strike] hardware, rather we make you feel less bad about your expense.
[/SIZE]