Slashdot Mirror


User: bhtooefr

bhtooefr's activity in the archive.

Stories
0
Comments
5,794
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 5,794

  1. Re:Beauty and the Geek! on Nerds Make Better Lovers · · Score: 1

    I'm actually in an area where The WB is on broadcast.

    However, if I were to ever want to watch it, I'd have to make a HUGE antenna, and probably a yagi or dish focused on the tower. All I've ever gotten on channel 53 is a slight hint of an image in the static.

  2. Re:Nerds were always in! on Nerds Make Better Lovers · · Score: 1

    No. Now they've got wrl... ;-) ;-) ;-) ;-) ;-)

    This is a JOKE!

    I'm still working on getting a human, but I THINK I'm making progress...

  3. Re:Tiger Woods? on Nerds Make Better Lovers · · Score: 1

    i a, utypinbg tishj crossed...

    (back to normal) Don't try this with a touchpad...

    I've noticed that I gravitate to the keys that my hands normally use...

  4. Re: "Revenge of the Nerds" on Nerds Make Better Lovers · · Score: 1

    My stance on that is that I don't want a girl to like me for something I'm not. I'm not British. I don't want someone to like me for being British, when I'm NOT BRITISH!

    One of peers (can't say friend, because he's a pompous ass that abused his last girlfriend, who I AM friends with, and then dumped her for a 13 year old) told me I should wear pink hair(?!?!?), and all sorts of goth chicks would be all over me. I made the point that I've made in this post... I'm not pink hair.

  5. Re:The blessings of the Pr0n Industry on Porn in Your Pocket · · Score: 1

    I'd heard that they're going to license the format to device manufacturers, so UMD movies WILL be able to be played elsewhere from a PSP...

  6. Re:naturally... on Nerds Make Better Lovers · · Score: 1

    My god, that's manipulation! I wouldn't DARE try that to get a girl.

    Also, that POV, that the girl is always wrong, is the worst possible POV to have. By not having that POV, I have a very good friend that I wouldn't have had if I always assumed that she was wrong about everything, and held the elitist view that I was perfect.

    This guide seems to be good for purely sexual relationships ONLY - and not long lasting ones, either. NO connection whatsoever. (Not that I know what I'm talking about, but I can analyze the concepts, and logically deduce that TRIEventHorizon is a pompous ass...)

  7. Re:naturally... on Nerds Make Better Lovers · · Score: 1

    I know that. I knew that all along.

    I actually wrote this as a joke - and it worked quite well as that. However, it really started to suck having nobody to talk to...

    (Oh, and I know that the code looks bad. Copy and paste can be your friend, or your enemy. I only had 2 days, and this only had to work for three hours. I didn't care about clean code.)

  8. Re:naturally... on Nerds Make Better Lovers · · Score: 1
    Screw it... Here goes...

    Oh, and this program will RUN in regular Python - you just have to run PythonWin to make a python module for the speech SDK.

    FWIW, this was made in the context of a prom - that's why some of the sayings are the way they are. Also, there's some loose ends that I didn't bother fixing, because I was going to put time and weather modules in, but didn't get around to it (I only had two days to write this whole thing).

    # grobot-ai.py
    # AI subsystem for girl robot by bhtooefr <bhtooefr at gmail dot com>
    # 2005-05-19
    # Based upon therapist.py,
    # a cheezy little Eliza knock-off by Joe Strout <joe at strout dot net>
    # with some updates by Jeff Epler <jepler dot inetnebr dot com>

    import pyTTS
    import string
    import regex
    import whrandom

    #Added stuff for speech recognition
    from win32com.client import constants
    import win32com.client
    import pythoncom

    class SpeechRecognition:
    """ Initialize the speech recognition with the passed in list of words """
    def __init__(self, wordsToAdd):
    # For text-to-speech
    self.speaker = win32com.client.Dispatch("SAPI.SpVoice")
    # For speech recognition - first create a listener
    self.listener = win32com.client.Dispatch("SAPI.SpSharedRecognizer" )
    # Then a recognition context
    self.context = self.listener.CreateRecoContext()
    # which has an associated grammar
    self.grammar = self.context.CreateGrammar()
    # Do not allow free word recognition - only command and control
    # recognizing the words in the grammar only
    self.grammar.DictationSetState(0)
    # Create a new rule for the grammar, that is top level (so it begins
    # a recognition) and dynamic (ie we can change it at runtime)
    self.wordsRule = self.grammar.Rules.Add("wordsRule",
    constants.SRATopLevel + constants.SRADynamic, 0)
    # Clear the rule (not necessary first time, but if we're changing it
    # dynamically then it's useful)
    self.wordsRule.Clear()
    # And go through the list of words, adding each to the rule
    [ self.wordsRule.InitialState.AddWordTransition(None , word) for word in wordsToAdd ]
    # Set the wordsRule to be active
    self.grammar.Rules.Commit()
    self.grammar.CmdSetRuleState("wordsRule", 1)
    # Commit the changes to the grammar
    self.grammar.Rules.Commit()
    # And add an event handler that's called back when recognition occurs
    self.eventHandler = ContextEvents(self.context)
    # Announce we've started
    self.say("Della Inspurona Version 1.0 Initialized")
    """Speak a word or phrase"""
    def say(self, phrase):
    self.speaker.Speak(phrase)

    """The callback class that handles the events raised by the speech object.
    See "Automation | SpSharedRecoContext (Events)" in the MS Speech SDK
    online help for documentation of the other events supported. """
    class ContextEvents(win32com.client.getevents("SAPI.SpSh aredRecoContext")):
    """Called when a word/phrase is successfully recognized -
    ie it is found in a currently open grammar with a sufficiently high
    confidence"""
    def OnRecognition(self, StreamNumber, StreamPosition, RecognitionType, Result):
    newResult = win32com.client.Dispatch(Result)
    inputsystem(newResult.PhraseInfo.GetText())

    # translate: take a string, replace any words found in dict.keys()
    # with the corresponding dict.values()

    def translate(str,dict):
    words = string.split(string.lower(str))
    keys = dict.keys();
    for i in range(0,len(words)):
    if words[i] in keys:
    words[i] = dict[words[i]]
    return string.join(words)

    # respond: take a string, a set of regexps, and a corresponding
    # set of response lists; find a match, and return a randomly
    # chosen response from

  9. Re:naturally... on Nerds Make Better Lovers · · Score: 1

    Oh, and if you want the Python code, e-mail me.

    You need the following:

    Python (I used 2.4.1, but I'm not sure that that's necessary)
    PythonWin (win32com is in this, and it's necessary)
    SAPI5SpeechInstaller.msi (from Microsoft - speech synthesis engine)
    SAPI5VoiceInstaller.msi (also from MS - two extra voices, including MSMary, used by the program)
    speechsdk51.exe (again, from MS - the SAPI speech recognition engine and SDK for it)
    pyTTS (connects the SAPI speech synthesis to Python)

    You then have to start PythonWin (NOT Python or IDLE), go to Tools>COM Makepy Utility, and make "Microsoft Speech Object Library (5.0)" (it may be 5.1, but on my system, it's 5.0. Even though it's the speech SDK version 5.1 - oh, and speech SDK 5.0 doesn't work...)

    Then, it should work...

  10. Re:naturally... on Nerds Make Better Lovers · · Score: 1

    FWIW, I'm reading the "How To Be Sexy" part of the Sex Tips For Geeks, and I even did everything right - without having read this...

    I've got the talent down - and I KNOW she saw, and liked it (and even tried the poetry angle AFTER she rejected me, and found that she REALLY liked it). (She especially liked her replacement - "Della Inspirona" - a Python program tied into MS SAPI, running on my Dell laptop, and strapped to a wooden frame with speakers and a microphone)
    The kindness angle? Got it. And it's why she's a friend.
    Wealth? Well, I've got POTENTIAL wealth down, but certainly not current wealth (current wealth: $87, and falling)...
    Social status? Top of my class. She definitely knows it, too...

    Of course, going to "The Art of the Pickup", I can see that I emitted TONS of fear... I'm such an idiot ;-)

    I should really stop, I'm reopening wounds that I really shouldn't open...

  11. Re:naturally... on Nerds Make Better Lovers · · Score: 2, Informative
    I thought VB didn't allow spaces...

    Ah... here it is (Programming in Visual Basic .NET, Bradley & Millspaugh):
    A programmer has to name (identify) the variables and named constants that will be used in a project. Basic requires identifiers for variables and named constants to follow these rules: names may consist of letters, digits, and underscores; they must begin with a letter; they cannot contain any spaces or periods; and they may not be reserved words.
    (my emphasis)

    So, no, that's not even valid VB variable naming ;-) (Of course, that's nowhere near VB syntax - VB's ruined me with = being used for both assignment and equality testing - I haven't even touched VB in forever, and I STILL accidentally use = for equality testing in Python (Python requires ==))

    FWIW, to get back on topic, I've almost gotten a girl BECAUSE I'm a geek (and she most definitely wasn't, FWIW). Then, I try to get the girl with a few geek qualities (but not a geek), and... that didn't work. At least she's a good friend... </rant>
  12. Re:The blessings of the Pr0n Industry on Porn in Your Pocket · · Score: 2, Insightful

    Looks like Sony's been burned in the past (Betamax), and decided that UMD might fly if they did porn...

  13. Re:Congratulations are in order! on A Decade of PHP · · Score: 1

    Come to think of it, I could print out the hex bytes that make up the WAV file, and use OCR to take them in...

    The graph wouldn't be much work from there, though - once I have the hex bytes, it's trivial to make a graph...

  14. Re:Congratulations are in order! on A Decade of PHP · · Score: 1

    RPG IV? (Is that even POSSIBLE, seeing as sound output on an AS/400 terminal consists of beeps (IIRC)? Of course, WAV output could be done, but RPG aims for a printer - not even a screen)

  15. Re:additional question on Slashback: OS Xi, Sarge, Statistics · · Score: 1

    Hmm... there's already an OS X driver for the iGMA900 (apparently, the devstation has an i9xxG-series chipset). So, onboard video is taken care of on P4 and P-M systems (if the P-Ms are running on an i915GM-based board)...

  16. Re:20 Minutes? Why bother? on Disposable Camcorder · · Score: 1

    That's no good for bullet time.

    Bullet time uses STILL cameras, one firing 1/(desired FPS - normally around 1000) of a second after the other.

    Unless you tried a rail that this camera was on, but you'd practically have to have a rocket, and this thing ISN'T going to hit the necessary FPS for it to be unobvious what's going on...

  17. Re:Wait a second... on Disposable Camcorder · · Score: 1

    Yeah, but those quality printers (especially Lexmark) break when you LOOK at them wrong.

    I've tried to convince a friend of mine to switch to Canon - they'll at least last for a little while, and the ink's cheap... but, it seems that the $30 Lexmark Special of the Week at WalMart is all she can afford... (I've tried to convince her to save up for a Canon, buy that, and she'll be MUCH better off in the long run. Of course, if she saved up for a laser, like I did, then she'd be set for a LONG time...)

  18. Re:I've said it once... on Intel Readying Dual-Core Desktop Chip · · Score: 1

    I know that it is in alphabetical order.

    However, this is the list of "leading" members - IBM is not on this list. Apple IS above IBM in the hierarchy.

  19. Re:Previous name on Microsoft's Most Successful Failure · · Score: 1

    Apcompat.exe would have fixed that for you. I'm assuming that it needed "NT5" (which IS Windows 2000...) if you were running NT - as in, it would run on something like 98. Apcompat.exe can lie to a program, and tell it that it's running on, say, 98.

    It's built into the shortcut manager in Windows XP, but it WAS available in Windows 2000.

  20. Re:I've said it once... on Intel Readying Dual-Core Desktop Chip · · Score: 3, Informative

    Hmm...

    "The Consortium is led by founding members Advanced Micro Devices, Alliance Semiconductor, Apple Computer , Broadcom Corporation, Cisco Systems, NVIDIA, PMC-Sierra, Sun Microsystems, and Transmeta." (my emphasis)

    IBM wasn't a founding member. Sure, they're a member, but Apple is higher up in the hierarchy than IBM. If Apple wants HyperTransport on an Intel chip, they can get it, because they've got power to license it, AFAICT.

  21. Re:Disposable printers - the solution? on U.S. Supreme Court Refuses to Hear Lexmark Case · · Score: 1

    That's not too bad for an inkjet...

    I have a friend who really does treat inkjets like disposable printers. Whenever she runs out of ink, she simply goes to WalMart and buys a $30 Lexmark...

    I tried telling her to go to Canon for inkjets, or get a laser, but that didn't work...

    Myself, I've got a Minolta-QMS PagePro 1250W (B&W laser) and a Konica Minolta (build quality is better than the Minolta-QMS unit (same model) that it replaced after two days, but firmware quality is a LOT worse) magicolor 2300DL (color laser).

  22. Re:Interesting on Hand-made Web Server, Built From 200 TTL Chips · · Score: 1

    This guy's a masochist.

    He said that he WANTED to do one using TTLs. He didn't WANT to use an FPGA (but said that Magic-2, the successor, may use one).

  23. Re:From the same man who brought you: Abuses r fun on Gaming Glitches Add Character · · Score: 2, Informative

    Well, there are actually open-source projects to remake Stunts.

    Ultimate Stunts appears to be actually progressing, as opposed to most of the other projects, where someone hacked together a 3D engine, and then ignored it...

  24. Re:Hemos shows his evil side on Hand-made Web Server, Built From 200 TTL Chips · · Score: 1

    Exactly. Hell, a ~1MHz computer (I know the C64 varies depending on whether it's NTSC or PAL) stood up to a slashdotting with dynamic content, VNC servers, and RealAudio.

    And it's not the TCP/IP stack either - both the C64 and this system are using uIP.

  25. Re:3 MHz? on Hand-made Web Server, Built From 200 TTL Chips · · Score: 2, Informative

    Actually, that was the first demo of uIP. Oh, and he was running dynamic pages, TWO VNC servers, and a RealAudio(!) server (from the cassette).

    And it took the /.ing.