- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
SRE at Google, Inc.
- PC Specs
- Series 7 Chronos
31 Posted Topics
Re: I'm sorry, but what is it that you need help with? | |
Re: Perhaps all the 20-year old legacy systems are so good because 99% of them have already been thrown in a dumpster? At this point, you're really looking at the best of the best. It's easy to be nostalgic about the past and think that the programmers of yore were better, … | |
Re: "getting jiggy with it" means to dress up for the purpose of looking good when you go out. | |
Re: Try defining accessor functions that return particular elements of the list using car and cdr. | |
Re: Of what use would tokenizing the string be? The question isn't to reverse the words in a string. This looks suspiciously like a question intended by a job interviewer to filter out the people who can't code at all. | |
Re: If you're talking about removing everything in it, that's a really bad idea. If you mean to free some disk space, you should figure out what's eating it all up. You can also try rm -r /var/tmp/* to get rid of temporary files. | |
Re: It has to do with the magic variables setting. Try using $_REQUEST['id'] and $_REQUEST['lang'] instead. | |
Re: Are you sure it's using port 25? Try using PuTTY instead of MS Telnet - it's a far superior program. | |
Re: It looks as though you're trying to write a function that returns a function, which I'm sure is not what you intended. Also, the LET form takes either an atom or a two-element list of atoms. What's the matter with just: [code] (define (volumec6 d h) (let ((pi 3.14159265)) (* … | |
Re: Have you thought about using recursion? After all, the maximum of a list of numbers is the maximum between the first number and the maximum of the rest of the numbers. | |
Re: Try adding this to the end: [code] print "Press ENTER to exit: " gets [/code] | |
![]() | Re: The READ function will return a lisp object just like the representation in your code, but PARSE-INTEGER only takes strings. You probably want to use READ-LINE instead, which returns only strings. |
Re: Use CSS to eliminate any margin and padding of the body tag: [code] body { margin: 0; padding: 0; } [/code] | |
Re: [code] (defun palindrome () (format t "Please enter your word or phrase: ") (force-output) (let ((word (read-line))) (format t "Your word '~a' ~:[is not~;is~] a palindrome" word (string-equal word (reverse word))))) [/code] | |
Re: Try testing the parents of the current person, then recurse if neither parent has blue eyes. | |
Re: It wants to know the directory under which the CD is mounted. | |
Re: It won't work like you want. Try this instead: [code] <script type="text/javascript" lang="Javascript" src="headerfile.js"/> <script> // your script </script> [/code] | |
Re: You're on the right track. You want to use the fread() and fwrite() functions with a pointer to an instance of your structure and the FILE pointer. | |
Re: That won't work in common lisp for a number of reasons. This would, though: [code=lisp] (defun row-and-column () '((1 2 3 4 5) (6 7 8 9 0) (1 2 3 4 5) (6 7 8 9 0) (1 2 3 4 5))) [/code] Honestly, though, I can't figure out … | |
Re: Have you tried using another mouse? You might also be able to use the accessibility controls to move your mouse if you have the extension enabled. | |
Re: Sure. You have a salesman who travels from city to city by car. There are roads connecting every city to each other, but they're all of different lengths. All you have to do is write a program to figure out the shortest round-trip path the salesman can take while visiting … | |
Re: [quote=Ene Uran;242588]What is a closure? I keep reading this word in programming, but never got a good explanation.[/quote] People always come up with the generator case, and I think that's the worst way of all to show off closures. Where they really come in handy is introducing lexical scoping. Lexical … | |
Re: I notice a few things... There's no need to declare [inlinecode]push()[/inlinecode] and [inlinecode]display()[/inlinecode] as being friends of [inlinecode]abc[/inlinecode], since abc has no protected members. The designation of [inlinecode]head[/inlinecode] and [inlinecode]top[/inlinecode] is kind of confusing. Why not [inlinecode]head[/inlinecode] and [inlinecode]tail[/inlinecode], or [inlinecode]top[/inlinecode] and [inlinecode]bottom[/inlinecode]? The [inlinecode]top[/inlinecode] variable isn't being updated, in … | |
Re: If you're using XWindows on both your local computer and the server, you can use ssh X forwarding to get the server's GUI. Use the -Y option with ssh to enable this. X forwarding must be enabled by the server's sshd. Hope this helps. | |
Re: Try using the CGI module. It makes doing CGI development in Perl extremely easy (at least the CGI bits). Try this at a command line: [code]perldoc CGI[/code] | |
Re: One possibility is that the burnt wire might have damaged other wires inside your case - specifically the one to the power button. If you can, try shorting out the jumper on your motherboard that hooks to the power switch with a screwdriver. If it comes on 100% of the … | |
Re: [quote=sdripps](function (lambda (example) (if (= 0 (aref example i)) nil T))) Why does this line of code give me an error that says: Free reference to undeclared variable EXAMPLE assumed special.[/quote] What implementation of lisp are you using? The error should be that I was assumed special, since it wasn't … |
The End.