Search results

  1. toughwimp11

    good cheap phone

    The phone I've had for the past four years (Nokia 6103) has been very good to me but unfortunately it's beginning to break down. Now, I'm not a big phone person so I dont really need a smart phone or any advanced features since I only use my phone for calls. Any suggestions on a good cheap...
  2. toughwimp11

    Buca Di Beppo -- Free lasagna w/ purchase

    Thursday the 29th is national lasagna day so Buca Di Beppo is offering free lunch sized lasagna with purchase of small or large entree or pasta. http://www.bucadibeppo.com/Make-A-Reservation/ They also seem to have a $10 off coupon on a $20+ purchase but I can't seem to find the coupon link...
  3. toughwimp11

    difference between feature and leisure hotel room

    I need to book hotel rooms and I'm seeing One King Bed Leisure rooms along with One King Bed Feature. does anyone know the difference between the two? thanks
  4. toughwimp11

    Haskell: defining types which include classes

    Is it possible to define types in Haskell which include as one of the fields an element which is a member of a certain class? For example, say I want to define rational numbers as a tuple of two Nums, how would i do something along these lines: type (Num a) => Q b = (a,a) Currently that...
  5. toughwimp11

    mark zuckerberg secrets

    with all the facebook privacy issues, i sorta wish this was a meme
  6. toughwimp11

    Makefile issues

    This isn't really an urgent issue but I'm trying to learn to make better Makefiles and I've run into an issue and I have no idea why it's happening. I have the following makefile: CC = gcc CFLAGS = -Wall -g -std=gnu99 -lpthread .PHONY: all clean all: tests tests: timerQueue.o...
  7. toughwimp11

    foldr in Haskell

    Does anyone know why foldr in Haskell is not defined in a tail-recursive manner? It seems like it's be more efficient to have a foldr sort of like this: foldr0 f init [] [] = init foldr0 f init (x:xs) [] = foldr0 f (f x init) xs [] foldr0 f init xs (y:ys) = foldr0 f init (y:xs) ys foldr...
  8. toughwimp11

    Download mp3 from flash

    So i'm trying to download the "a prairie home companion" shows to listen to them on the go. they're online for free but they're played via a flash player. does anyone know i could somehow download the mp3 file. example: http://prairiehome.publicradio.org/programs/2010/01/02/ clicking the...
  9. toughwimp11

    address of "this" in c++

    In c++, I'm have a node class which can make other nodes and when it does, it sets up that node's parent field (which is of type Node *) to the node that is making it. Now, I'm not sure how to pass the address of the object I'm currently working in. I figured, it'd be &this but that gives me an...
  10. toughwimp11

    shortest path in a polygon space

    Suppose you have a 2-d space with (non-intersecting) convex polygons in it and you're trying to get from one vertex on a polygon to another vertex on some other (or potentially the same) polygon without going through any polygon. Why does the shortest path between any two vertices only consist...
  11. toughwimp11

    pass data from one class to another in java

    This seems like it should be really simple and maybe it is and I'm just not seeing it. Anyway, in netbeans, i created a simple project with a main.java. I then created a jframe which created a jframe class which has a jtable in it. Now, I want to fill the jtable in with values from a data...
  12. toughwimp11

    origin of moustaches.gif

    Does anyone know where this is from or what youtube clip it comes from since you can see the little you in the bottom right. http://i3.photobucket.com/albums/y51/migital/Animated/moustaches.gif
  13. toughwimp11

    Find links with javascript

    I recently started scripting with greasemonkey and JS. i'm trying to make a script that will find if a link exists on the page (that executes some javascript). I want to check if that link exists and if it does, it automatically executes it. any ideas on how to do this?
  14. toughwimp11

    screen volume bar/generic keyboard driver

    i recently bought a new keyboard (logitech comfort wave 450) but to my surprise, logitech does not offer drivers for this keyboard. i tried several versions of setpoint but none of the identify my keyboard. anyway, i'm fine with using the generic xp drivers for keyboards since all the multimedia...
  15. toughwimp11

    Rss forum feeds

    Are there still rss feed for all the different forums?? I usually followed the hot deals thread but now I can't seem to. Moved from Free Stuff. Sr Moderator allisolm
  16. toughwimp11

    Regular expression property

    I have to prove: (R*S*)* = (R*S)*R* = R*(SR*)* but I can't seem to do it. Anyone help? EDIT: more specifically, I need help proving that (R*S*)* is a subset of either of the other equalities PS: sorry if this is in the wrong forum
  17. toughwimp11

    customize keyboard special keys

    I just bought a logitech comfort wave 450. The keyboard has some special keys such as play, volume, home, etc but not stop, or next/prev track. i knew this when i bought it but i used to have a microsoft comfort curve 2000 and the microsoft intellitype let me customize the keys so i could set...
  18. toughwimp11

    secondary hard drive not working

    so i got a secondary hard drive, formatted it, put stuff on it. i then wanted to install ubuntu (dual boot, both OS installed on first hdd) and for some reason, grub wasn't working. so i simply unplugged the second hard drive (when pc was shut off of course). i then did my thing and grub...
  19. toughwimp11

    type of farm

    I'm trying to think of a word. it starts with s I think. It's a type of farm where people grow food but only for themselves and their survival and not really extra to sell for profit or anything.
  20. toughwimp11

    problem reinstalling win xp

    I'm trying to reinstall win xp pro but when I tell it to boot from CD, it gives me the error that CDBOOT: Couldn't Find NTLDR and I have no idea how to fix it. Any suggestions? EDIT: It's not the CD either because I've tried it on another computer and it booted fine.
  21. toughwimp11

    auto-indenting with emacs

    I have some c source and header files that I want to automatically intend in emacs and I was wondering if there was a way to do a whole file at a time. I can go line by line and press tab but that takes too much time, is there a way to just apply it to the whole file?
  22. toughwimp11

    oldies website

    So I'm doing a scav hunt and I'm trying to find a company website updated in the last year (but not in the last four days) that features embedded MIDI, animated GIFs, and blinking text. Anyone know of any?
  23. toughwimp11

    piping to C

    I'm trying to make a program in c that will print the output from another program, along with some other stuff but I'm having trouble doing this Basically, let's say I have a file test.txt which contains the text "hi" and I have a program "abcd" $cat test.txt | ./abcd hi $./abcd <...
  24. toughwimp11

    look at mass number of web pages

    I'm trying to find a certain web page that's withing a certain range of URL. in other words, lets say i have the url http://www.example.com/page_id=0000 basically i want to look at pages with id 0000-9999 and then look at the html <title> until i find my match. does anyone know a easy way...
  25. toughwimp11

    arrays within structs

    I'm working in C and basically, I would like to use arrays of a stuct in another struct. example: struct dum { int a; }; typedef struct dum dum; struct hor { dum *hordum; }; typedef struct hor hor; int main() { hor *hd; hd= (hor *) malloc(sizeof(hor))...
  26. toughwimp11

    shortcut to accented letter

    is there any way i a can make a "?" (U+021B) without having to copy and paste all the time. in word, i can do alt+539 but that only works in word and not firefox or pidgin. here's the wiki article just in case you're interested http://en.wikipedia.org/wiki/%C8%9A
  27. toughwimp11

    GTA4 on steam

    So I just just curious who else preordered GTA4 on steam? I was kinda disappointed that the gift was vice city since I (and probably a lot of other people who preorder) already own it. woulda much rather have 5 bucks off or something but aw well, still really looking forward to it!
  28. toughwimp11

    set up remote connect

    So my friend who's running vista home premium and who lives very far away is having some computer issues. she's pretty computer illiterate so i cant really instruct her so i was wondering if it was possible for me (using xp pro) to remote connect to her computer? this is a home computer with a...
  29. toughwimp11

    sum of reciprocals

    so i'm trying to create a program in drScheme that can basically add the reciprocals of the first n natural numbers. so if n=3 then it should return 1/1+1/2+1/3=1.833333. now i'm supposed to do this program iteratively and i've figured out how to do that but it runs VERY slow. when n=10000000...
  30. toughwimp11

    refresh brightness after bioshock

    So after i play bioshock which has slightly increased brightness and i exit to windows, my brightness stays increased and everything is bright and white and annoying. i cant find a way to return it to normal other than restarting. anyone have a possible solution?
  31. toughwimp11

    using GNU tools to package installer

    I have a C program, let's say helloworld.c . I would like to use GNU tools to make a package and the program must be installed using /.configure prefix=$HOME/apps i tried autoconf and automake and other tools but it's just not working for me. Could someone please explain the steps i need to...
  32. toughwimp11

    backing up gmail

    So I want to close one of my gmail accounts but I want to back up all the emails I have on that account (only 33mb). Is there a way I can just download all my emails to my computer or something so that I can look at them in the future if I need to even after I've closed my account. I think you...
  33. toughwimp11

    matlab help

    So let's say i have a 100x100 matrix full of zeros called 'init' and i want to change the zeros to a one at (5,8) and (7,3) and i have that in a matrix as pts=[5,8;7,3]. Is there a simple way to change the points? It definately seems like there should be and there probably is but i just dont...
  34. toughwimp11

    graphing in matlab

    How do i make a graph in matlab so that it shows a "dot dot dot" format with graphs. For example. I'm trying to make a bar graph of 4 points which are 2000, 100, 50, 10. I dont want the graph to be split equally distributed to 2000 because then the other points all seem very similar, so is there...
  35. toughwimp11

    w key not working with other keys

    So recently, I've discovered that my keyboard no longer allows w to work at the same time as other keys. this isnt problematic if i'm typing or something but it is annoying in games because it means i cant go diagonally since w+a or w+d doesnt work. i have a microsoft comfort curve 2000...
  36. toughwimp11

    calculating specific exponential fit

    So I'm trying to find the method of calculating the exponential fit y=A*exp(x/-B)+C for a data set (x,y). I'm trying to program this into matlab and i have no idea how i would go about it. any help is appreciated. edit: if this doesn't belong here, please move it
  37. toughwimp11

    password character

    so i just installed firefox 3 and noticed they have adopted the dot as the password character, which i dont really like. i know this is a minor thing but is there a way to change the password character maybe even to something unique (not just *) in firefox?
  38. toughwimp11

    pidgin time error

    So whenever i mouse over a person on my buddy list it always adds 58 minutes to their logged in time. I discovered this was because it was taking my computer time and subtracting from it the login time which comes from server which is probably in a different time zone. if i move back my clock by...
  39. toughwimp11

    remote connection shortcut

    i was wondering if there was a shortcut to quickly switch between your computer and the remote connection, sort of like a alt-tab sort of thing. i switch frequently between the two and find it annoying to go up and minimize every time, and i also hate not having the remote connection in full...
  40. toughwimp11

    classpath matlab and java

    i'm trying to get a class working which allows matlab to be called from java. i'm trying to follow the instructions on this page http://www.cs.virginia.edu/~wh...matlab/JavaMatlab.html to get it to work but i can not seem to get the classpath working for matlab. i'm not quite sure how to...