Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #2K
~10K People Reached
About Me

SRE at Google, Inc.

PC Specs
Series 7 Chronos
Favorite Tags

31 Posted Topics

Member Avatar for xzhang
Member Avatar for RebeccaGill

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, …

Member Avatar for RebeccaGill
0
179
Member Avatar for newsguy
Member Avatar for Infarction
0
303
Member Avatar for ninjajake
Member Avatar for lastcylon
Member Avatar for nanaman

Try defining accessor functions that return particular elements of the list using car and cdr.

Member Avatar for Duoas
0
117
Member Avatar for Anoop Dogra

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.

Member Avatar for Narue
0
139
Member Avatar for arimsam

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.

Member Avatar for arimsam
0
99
Member Avatar for Lomas

It has to do with the magic variables setting. Try using $_REQUEST['id'] and $_REQUEST['lang'] instead.

Member Avatar for Eko
0
135
Member Avatar for japala

Are you sure it's using port 25? Try using PuTTY instead of MS Telnet - it's a far superior program.

Member Avatar for azimuth0
0
100
Member Avatar for vladdy19

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)) (* …

Member Avatar for azimuth0
0
87
Member Avatar for vladdy19

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.

Member Avatar for azimuth0
0
108
Member Avatar for level007

Try adding this to the end: [code] print "Press ENTER to exit: " gets [/code]

Member Avatar for azimuth0
0
87
Member Avatar for dmmckelv

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.

Member Avatar for indienick
0
135
Member Avatar for linux

Use CSS to eliminate any margin and padding of the body tag: [code] body { margin: 0; padding: 0; } [/code]

Member Avatar for linux
0
109
Member Avatar for raleman

[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]

Member Avatar for vegaseat
0
164
Member Avatar for Soccerplayer13

Try testing the parents of the current person, then recurse if neither parent has blue eyes.

Member Avatar for MidiMagic
0
160
Member Avatar for laconstantine
Member Avatar for bondi007
Member Avatar for bondi007
0
86
Member Avatar for realnsleo
Member Avatar for thirunavukaras

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]

Member Avatar for alpha_foobar
0
1K
Member Avatar for sofianos

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.

Member Avatar for Aia
0
135
Member Avatar for mikeallen

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 …

Member Avatar for azimuth0
0
76
Member Avatar for Karen Denison

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.

Member Avatar for Karen Denison
0
185
Member Avatar for achi143

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 …

Member Avatar for lemm
0
77
Member Avatar for Ene Uran

[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 …

Member Avatar for Ene Uran
0
284
Member Avatar for comwizz

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 …

Member Avatar for Lerner
0
4K
Member Avatar for brounemmanuel

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.

Member Avatar for brounemmanuel
0
132
Member Avatar for brounemmanuel

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]

Member Avatar for demo
0
215
Member Avatar for mat4ijo

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 …

Member Avatar for Kn10
0
225
Member Avatar for sdripps

[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 …

Member Avatar for azimuth0
0
128

The End.