tag:blogger.com,1999:blog-79199284711784775792024-03-05T09:47:05.991-08:00So You Think You're SmartA blog of challenges intended to stimulate smart people. Also, a collection of links and info related to the XO laptop. Any worthwhile suggestion will be allowed as a comment.Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.comBlogger67125tag:blogger.com,1999:blog-7919928471178477579.post-40356476478161855472017-02-05T12:56:00.003-08:002017-02-05T12:56:45.309-08:00Rubik's Cube Stuck PositionHmmm... can't get out of this one.<br />
<br />
What do you do when you end up with something like this that doesn't fit the existing frameworks?<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifDGG7608YYnhPXxwbF-3Q7cG0GRaeLRFlDsRe64XwD7jzVGkK2Mt5ZyiRu6e8D9Lg2nFo2z3KWsR9uyXDIlVbUwCnhS4W2waVVxUK-c8C29OzW3hGy9yLYJq26ZZEiRS1GM_X6GNhMco/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifDGG7608YYnhPXxwbF-3Q7cG0GRaeLRFlDsRe64XwD7jzVGkK2Mt5ZyiRu6e8D9Lg2nFo2z3KWsR9uyXDIlVbUwCnhS4W2waVVxUK-c8C29OzW3hGy9yLYJq26ZZEiRS1GM_X6GNhMco/s320/Capture.PNG" width="313" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
The off-top yellows aren't <a href="https://www.rubiks.com/blog/how-to-solve-the-rubiks-cube-stage-5">where I want them</a> :(</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuqiNejUIL0xrrg37Z7Hhr-aqU2sXSNSL6J5DYkEe-i0PGkQLU8Am_cT6fF0B0EaR3bJZ9vzEsUpoxHfZnXNO0DOhfRF-fkdnfMlrRlHt9iyiRd51LSpn4k-rwsjvdpsOYbpDX4v4ah44/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="207" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuqiNejUIL0xrrg37Z7Hhr-aqU2sXSNSL6J5DYkEe-i0PGkQLU8Am_cT6fF0B0EaR3bJZ9vzEsUpoxHfZnXNO0DOhfRF-fkdnfMlrRlHt9iyiRd51LSpn4k-rwsjvdpsOYbpDX4v4ah44/s400/Capture.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-49894161068843511862016-06-04T01:35:00.001-07:002016-06-04T01:35:35.194-07:00Why Windows Computers Slow DownHere's a good question - do Windows virtual machines slow down?<br />
<br />
If I install a Windows VM on my Mac, will I see it slow down like Dells and HPs do? Forget Lenovos, they're slow to start with.Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-62883285050593010412016-02-14T21:25:00.000-08:002016-02-14T21:25:16.073-08:00Africa's Next Top ModelSo, you also saw the Economist rave about the fabulous investing opportunity in Africa's gyms.<br />
<br />
Idiots! Why not tell us how to get in? What mutual funds are interested?Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-9375444465349571032015-10-31T12:07:00.000-07:002015-10-31T12:07:31.213-07:00How to Tell if You're Safe?Here's a Google search that didn't give me a good hit :<br />
<br />
how to know what activity on your network was initiated outside of your network?<br />
<br />
Know the answer?<br />
<br />
How about an instructable on this?Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-10595225139491150222015-02-10T09:23:00.001-08:002015-02-10T10:00:53.652-08:00perl debugger on Cygwin Cannot Handle BackspaceWhat's a brother to do?<br />
<br />
<span style="font-family: Courier New, Courier, monospace;"> DB<1> p @prims</span><br />
<span style="font-family: Courier New, Courier, monospace;">Unrecognized character \x08; marked by <-- HERE after UT} @prin<-- HERE near column 104 at (eval 8)[/usr/lib/perl5/5.14/perl5db.pl:640] line 2.</span><br />
<span style="font-family: Courier New, Courier, monospace;"> at (eval 8)[/usr/lib/perl5/5.14/perl5db.pl:640] line 2</span><br />
<span style="font-family: Courier New, Courier, monospace;"> eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop;</span><br />
<span style="font-family: Courier New, Courier, monospace;">print {$DB::OUT} @prinms;</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">;' called at /usr/lib/perl5/5.14/perl5db.pl line 640</span><br />
<span style="font-family: Courier New, Courier, monospace;"> DB::eval called at /usr/lib/perl5/5.14/perl5db.pl line 3436</span><br />
<span style="font-family: Courier New, Courier, monospace;"> DB::DB called at /usr/lib/perl5/5.14/perl5db.pl line 9566</span><br />
<span style="font-family: Courier New, Courier, monospace;"> DB::fake::at_exit() called at /usr/lib/perl5/5.14/perl5db.pl line 9137</span><br />
<span style="font-family: Courier New, Courier, monospace;"> DB::END() called at (eval 8)[/usr/lib/perl5/5.14/perl5db.pl:640] line 2</span><br />
<span style="font-family: Courier New, Courier, monospace;"> eval {...} called at (eval 8)[/usr/lib/perl5/5.14/perl5db.pl:640] line 2</span><br />
<div>
<br /></div>
<div>
<br /></div>
<div>
<span style="font-family: inherit;">It got prinms because it didn't interpret the backspace correctly.. Hmmm...</span><br />
Turns out to be the fault of the freaking xterm - Go to "Main Options" and uncheck "Backarrow Key (BS/DEL)" and all is well. Why can't they get linux/cygwin to just work??</div>
<!------>Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-33434206997876604572015-01-22T13:18:00.001-08:002015-01-22T14:23:20.962-08:00Why Would the Vacuum Level Vary?Go to slide 12 of Lecture 25 : <a href="https://nanohub.org/resources/5829/download/2009.03.11-ECE606-L25.pdf">https://nanohub.org/resources/5829/download/2009.03.11-ECE606-L25.pdf</a> (video : <a href="https://nanohub.org/resources/5749/about">https://nanohub.org/resources/5749/about</a>)<br />
<br />
Textbooks say that the Fermi level shouldn't vary at equilibrium. Really? There's no intuitive explanation why. And with respect to what?<br />
<br />
Then, on this slide, he's showing the Vacuum level varying. How can that be? The vacuum level should be an absolute. According to his diagram, an electron can be taken to the vacuum level on the left, so it's no free and then moved to the vacuum level on the right - for which, truly no energy should be necessary, and yet, it would now have gained kinetic energy. WT*??<br />
<br />
Here's what I would do : make it clear in the beginning what the students should leave with, don't put bullet points saying what topics you're going to cover. In the case of Schottky barriers :<br />
<ol>
<li>They are majority carrier devices - and give the intuitive explanation.</li>
<li>Remind students that the Fermi level is above the bottom of the conduction band.</li>
<li>Why does it need to be MET-n? Why not MET-p? </li>
<li>Tell us how to think about it - why is Al-n one type (ohmic or schottky) and Al-p the other?</li>
</ol>
<div>
Slide 9 is another masterpiece - pulling a rabbit out of a hat. What the h is Nc? We've gotten used to Nd and Na and ni. Why be like this and upset the OCDs?<br />
<br />
On the metal side - a sea of electrons. On the N-type - free electrons. When you do p-n, the electrons diffuse over to the P side and you get ionized donors on the N side. So, what happens in the case of Metal-N? Why would you have ionized donors like the the case of the classic pn junction? Explain man!! For the record, Streetman isn't any better. Now you know why Google and Apple rake it in while the Semi companies keep struggling - just poor education, due to which the researchers use trial-and-error methods to advance the state of the art.. Pity.</div>
Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-78528902304594267072015-01-20T18:01:00.001-08:002015-01-20T18:01:56.756-08:00How to Serve Folders on Windows PC Through XAMPP Without Changing DocumentRootA complete failure of the online community.<br />
<br />
Why no set of clear instructions to make a directory like "C:\User\Me\Videos" available on LAN through 192.168.1.100:PORTNUM/Videos?<br />
<br />
Changing the DocumentRoot in httpd.conf works, but that's the wimp approach..<br />
<br />
Come on smart people :)<br />
<br />
And when you're done with that one, why doesn't my cheezy LG phone that only uses WiFi not get there with 192.168.1.100:PORTNUM saying DNS lookup failed? The iPad doesn't have a problem..Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-60596947942700871312014-12-14T21:02:00.001-08:002014-12-14T21:02:48.662-08:00Why Isn't The AppData Folder Visible. What the H Does M$ Have to HideI try to open a video on my phone and Windows 7 copies it to some obscure folder. Fortunately, the search tool is working okay, and searching for it, shows that the file is in<br />
<br />
C:\Users\Jul\AppData\Local\Temp\WPDNSE\{000076DD-0001-0002-0000-000000000000}<br />
<br />
So, why the H does the crappy software OS designers at M$ do something like this? Is this folder going to be purged someday? When?<br />
<br />
And why is it not pos to see the AppData folder when you go to Users\Jul?Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-64770047257936412662014-10-05T11:12:00.003-07:002014-10-05T11:12:49.113-07:00Decide for Yourself<a href="http://www.quora.com/What-do-the-top-1-of-software-engineers-do-that-the-other-99-do-not">http://www.quora.com/What-do-the-top-1-of-software-engineers-do-that-the-other-99-do-not</a><br />
<br />
Computer science is a deep field, and to be good at it, you need at least a working understanding of everything. If you think assembly code or linear algebra or strong static typing is "scary" or "too deep" you'll never reach 2.0. That doesn't mean you need to be an expert in everything because you can't. You can't have "I won't go there" areas. You probably don't want to be hand-writing assembly code very often, but if you take the attitude that it's "black magic" or "grunt work" or "unclean", then it will hinder your learning. (You see some Java programmers take this attitude toward manual-memory languages like C.) I would probably use Haskell (a high-level language with strong static typing) given a clean slate; but I've exposed myself to Clojure, C, and even Python (data science libraries) because they cover important topics from computer science. You can't have the "Will this be on the test?" mentality. You have to be curious about everything CS-related. (Mathematical curiosity helps.) You also need to learn about the industry itself. Why do so many software projects fail? What mistakes (technical and nontechnical) lead to that and how might they be prevented? What makes a good startup CTO? What things are worth building, and what patterns betray a death march?Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-57209433483007017592013-12-25T21:27:00.000-08:002013-12-25T21:27:32.503-08:00How to GIve the Gift of LumosityProblem : My friend has a Lumosity subscription. But, she can't use it cause her laptop runs Win XP and is super slow. It may not be Windows' fault - it could be the hardware has quit -<br />
<br />
Assuming Linux is the answer, what flavour of Linux will you use, considering the hardware ain't so great, to provide the optimal user experience - i.e., the computer shouldn't limit speed - so that Lumosity apps function flawlessly?Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-23340434186437951692013-11-29T07:49:00.004-08:002013-11-29T07:49:57.650-08:00Unix Sort and ManThis reeks of "M$ and AAPL" trying to kill off linux :<br />
<div>
<br /></div>
<div>
Noticed the new distribution at work gives you the manpage in a new *ing window? Who the hell asked for that? The font is so tiny I have to do ctrl-scroll to magnify it. Goodbye productivity from getting where I want with keyboard only.</div>
<div>
<br /></div>
<div>
Please : how can I get a manpage to display in the terminal?</div>
<div>
<br /></div>
<div>
Your second challenge of the day :</div>
<div>
<br /></div>
<div>
How do you get a unix sort command to behave as before, but pretend it's reading Hebrew or Arabic? You get my meaning - start numbering fields from the right...</div>
<div>
<br /></div>
<div>
Please... How?</div>
<div>
<br /></div>
<div>
I tried these searches in vain :</div>
<div>
<br /></div>
<div>
how to prevent manpages from opening in new window<br />
unix sort starting with fields from the right<br />
how to unix sort based on columns starting from the right</div>
Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-17598010951830334802011-09-07T23:43:00.000-07:002011-09-07T23:43:47.981-07:00Times that I Wish I Were a Software GuyThis would be a no-brainer for a CS type :<br />
<br />
Firefox sucks - you go to a directory (i.e., no index.htm(l) file, so you get the listing of files) and you see all files are image files.<br />
<br />
You click on one of the files and it displays the image. Good.<br />
<br />
But, it could be better (think of Windows). A smart browser can see that the majority (maybe all) the files are image files and give you a thumbnails, and, when you're viewing one, depending on its position, give Previous and Next buttons to let you navigate easily.<br />
<br />
How?Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-32530528124508705992010-11-14T19:11:00.000-08:002010-11-14T19:11:53.400-08:00Why Linux Can Only TrySomeone said Java swing is worth considering for building GUIs. Here's how my fair trial went :<br />
<br />
~/LEARN/swing/ 67> java HelloWorldFrame<br />
Exception in thread "GtkMain" java.lang.UnsatisfiedLinkError: gtkInit<br />
at _Jv_LookupJNIMethod (/usr/lib64/libgcj.so.5.0.0)<br />
at _Jv_JNIMethod.call(ffi_cif, void, ffi_raw, void) (/usr/lib64/libgcj.so.5.0.0)<br />
at gnu.java.awt.peer.gtk.GtkMainThread.run() (Unknown Source)<br />
at java.lang.Thread.run() (/usr/lib64/libgcj.so.5.0.0)<br />
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib64/libgcj.so.5.0.0)<br />
at GC_start_routine (/usr/lib64/libgcj.so.5.0.0)<br />
at __clone (/lib64/tls/libc-2.3.4.so)<br />
<br />
IOW : Utter crap!Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com1tag:blogger.com,1999:blog-7919928471178477579.post-56740681226906344502010-09-27T08:38:00.000-07:002010-09-28T22:53:58.587-07:00Insert a Tree Object Into Your Word or OOD DocumentIs this possible? Where the reader sees the first (settable) few nodes and branches and has to click on nodes to make other nodes/branches visible. Maybe this is one place OpenO can leapfrom M$.<br />
<br />
Die Meister sagt es ist moeglisch, but probably takes some VB hacking even in a Word doc :<br />
<br />
http://msdn.microsoft.com/en-us/library/microsoft.office.tools.word.controls.treeview(VS.80).aspx<br />
<br />
I say, OOD should make this much easier.<br />
<br />
At the end of the day, OpenO still sucks in LAF compared to M$ Office. You get what you pay for. Fair enough. For $25, you can't beat what you can get from M$.Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-51059451610692590902010-09-06T23:41:00.001-07:002010-09-06T23:41:52.022-07:00Why You Should Not Buy the Samsung EPIC 4G Phone from Sprint1) After searching, I could not find a way to capture Audio. With my Moto W490, it was 2 menus and about 5 button presses in all, and I thought THAT one was a crappy phone<br />
<br />
2) I don't know how to terminate an application. There doesn't seem to be a way.<br />
<br />
3) This whole idea of a gmail phone is a bit risky. On gmail, you enter a strong password each time. But, with your phone, once you've set your account up, anyone can get into your gmail if they know the 4 digit pin to unlock your phone. Nuts!<br />
<br />
4) You send 2 emails each time you send one from your phone. Go figure. Obviously the geniuses at Google don't work in the marketing department.<br />
<br />
5) I could not find a way to use the "Call phone" feature that gmail has. Obviously, the geniuses at Google don't work in the marketing department. If the phone is being marketed as a gmail phone or a google phone, you'd expect them to delight the customer with this thing up and ready. Go figure.<br />
<br />
6) I cannot select text (like a phone number) in the Email application or the gmail app.<br />
<br />
7) When using the gmail app, you don't get email address completion - which is ridiculous - on the PC, if you're using gmail, that's one of the best things about it. WTF? Really? WTF are they trying to prove to the world?<br />
<br />
8) In the mail application, the delete button doesn't delete the email. Go figure. Should you make your stuff intuitively easy to use or what?<br />
<br />
9) Sprint cannot import your contacts from your SIM card you used with an older phone.<br />
<br />
10) After umpteen attempts, this phone has failed to pair with my Plantronics 233 bluetooth headset. With my Moto W490, it takes about 5 seconds. Also, the EPIC SPH-D700 doesn't find my Moto when looking for devices. It looks like it can only pair with Sprint devices. WTF?<br />
<br />
11) It's not clear how to sign out of the email. I've got gmail and Email running and now, each one has an orgasm when a new email arrives.<br />
<br />
12) With the gmail app, you can't zoom in. You can with the Email app though.<br />
<br />
13) The phone is delivered to you (if you're as unlucky as me) with the USB Debugging enabled. Somehow, this doesn't prevent Linux from accessing the SD card. But, Windows has no clue what to do unless you put on your geek had and go into Notifications and turn USB Debugging off, so that, next time you plug in the cable, you can select the Mass Storage option.<br />
<br />
14) There is no way to rightclick. With the advanced technology available, you'd expect they'd have figured out a way (like Apple) to use multitouch to implement this, but no. In fact, it seems like multitouch only applies to zooming.<br />
<br />
15) Blogspot does not work cleanly. I could not tap in the post area and start entering text. It was terrible.<br />
<br />
Go iPhone guys! Go iPhone!Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-81246927811541857882010-09-06T23:21:00.000-07:002010-09-06T23:21:31.344-07:00Gnome Keyboard ShortcutsAnyone know how to configure Gnome to send send Alt-V, O, down,down,down with a keyboard shortcut? Or, is there a way to fire up kghostview from the command line in landscape mode? :)<br />
<br />
On Windows, you'd use Autohotkey.Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-993260202274593142010-08-29T17:06:00.000-07:002010-08-29T17:06:05.014-07:00How to Backup Phonebook from a Motorola W490Looks like you can access video, music and audio wihout trying very hard, but the contact list - no. I'm surprised the open-source community hasn't figured this one out yet.<br />
<br />
BTW, 1-800-937-8997 is the T-mobile customer support line.Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-14764112770553591192010-01-21T20:41:00.001-08:002010-01-21T20:41:32.365-08:00Why Linux FailedBecause it assumes the user is root on his system and most stuff people design isn't Lite. You need to do a heavy, full-fledged install of everything. So, if you're not a super-genius, goodbye.Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-5697578552497046822010-01-10T21:07:00.001-08:002010-01-10T21:07:26.201-08:00RealPlayer WoesVLC Media Player gets RealPlayer to display video. Who would guess?<br />
<br />
<a href="http://tersamgt.blogspot.com/2010/01/when-realplayer-wont.html">http://tersamgt.blogspot.com/2010/01/when-realplayer-wont.html</a>Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-48987367646330984292010-01-06T22:16:00.000-08:002010-01-06T22:16:58.246-08:00Why Linux is For GeeksIf you want to use Autokey :<br />
<br />
<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 18px;">First of all, this is a very old version. You should get the latest one from the home page at <a href="http://autokey.googlecode.com/" style="color: #2a5db0;" target="_blank">autokey.googlecode.com</a><br />
<br />
On the home page there is also a link to the users group ("Help for users"), please consider joining this group and posting there for any future help you need, rather than contacting me directly.<br />
<br />
Some people have had success installing on Mandriva (redhat-based). First you will need to install the dependencies. The following packages are needed, install them with whatever package manager is in your distribution (probably yum):<br />
<br />
python-gtk2, python-gtksourceview2, python-glade2, python-xlib, python-notify, wmctrl, python-setuptools<br />
<br />
Then once you have extracted the tar file, cd into the directory created by the extraction process, then:<br />
<br />
python2.6 setup.py install<br />
cp debian/autokey.init /etc/init.d/autokey<br />
chmod a+x /etc/init.d/autokey<br />
chkconfig --add autokey<br />
<br />
service autokey start<br />
<br />
This last command starts a daemon that does the keyboard monitoring. With any luck you should now be able to start the program using the shortcut in your main menu. </span><br />
<span style="font-family: arial, sans-serif;"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 26px;"><br />
</span></span><br />
<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 18px;">Bottom line - Linus Torvalds did something good, but we need someone to do better - make linux accessible and edible by the masses. User experience is the key. Until then, Apple, Google and Microsoft will keep getting your money without being evil.</span>Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-48791854615277237472009-09-13T22:56:00.000-07:002009-09-13T22:59:19.817-07:00Reverse ProxyingWhatever that means:)<br />Here's what needs to be done :<br /><br />Install a piece of software on one machine on which you have administrator rights. This is a daemon of course - runs all the time as a server.<br />Know the IP address of this machine, which has internet access.<br /><br />Enter this IP address in some field of your Mozilla Firefox browser setup/preferences/options/etc and access the internet through the first machine.<br /><br />How?<br /><br />Tell me and see your name in big lights - or get another equivalent reward in the case of identities that need to be protected:)Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-62869908954732356002009-09-05T09:46:00.000-07:002009-09-05T09:47:43.380-07:00Processing's Serial.available()How do they do it? They use java of course - and there's an input.available() in their source. But how do you do with Win32 C++ DLLs? I only see CreateFile, ReadFile and WriteFile.Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-45930362973125393712009-08-21T00:23:00.001-07:002009-08-21T00:23:54.586-07:00Dear RealTermIs it possible somehow to run realterm from the cmd line on a one-shot basis <br /><br />realterm -hidden -com28 -baud9600 -hex f3 0 f3 1<br /><br />that is, have it run like a command line program - do its job and exit?<br /><br />if not, can you suggest a way I could write such a program?Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-28293503926880630992009-08-20T17:08:00.001-07:002009-08-21T08:02:28.839-07:00Missing printf()What the world needs is a simple program that can be run from the MS-DOS command prompt like this :<br /><br />writeCom -id com28 -parity none -baud 9600 -stop 1 -data 8<br /><br />Apparently, even with millions of smart people loose out there, we don't have something as simple as this that people can use. !$@!$#!$#!<br /><br />The google search that finally got me somewhere was :<br /><br />dos command line com port writing<br /><br />Here are some resources :<br /><br /><a href="http://www.experts-exchange.com/Programming/Languages/C/Q_21148982.html">http://www.experts-exchange.com/Programming/Languages/C/Q_21148982.html</a><br /><br /><a href="http://electrosofts.com/serial/index.html">http://electrosofts.com/serial/index.html</a><br />( conio.h outportb bios.h bioscom )<br /><br />Available ports?<br /><a href="http://electrosofts.com/parallel/">http://electrosofts.com/parallel/</a><br /><br />As it turned out later, all of this stuff is utter crap if you're on WinXP. Why don't people update stuff?Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0tag:blogger.com,1999:blog-7919928471178477579.post-84968792727604565312009-08-18T21:33:00.001-07:002009-08-20T18:28:35.022-07:00Autohotkey on Unix?Anyone know what the equivalent of AHK is on Unix? How would you do hotkeys dependent on the Window name, etc?<br /><br />Guruspeak :<br /><br /><a href="http://autokey.sourceforge.net/">http://autokey.sourceforge.net/</a><br /><br />Went there; my reaction - it's for supergeeks only. AHK was lighter - if you're not a god at package installation, you're looking at sleepless nights here.Masterhttp://www.blogger.com/profile/15429251949830905484noreply@blogger.com0