Return - Entire thread - Last 10 posts

[HELP] Single questions & Help Thread [n00b] (59)


1 Name: chester copperpot : 2008-04-30 00:02 ID:Heaven

Why do we need a method to determine if a stack is empty?

50 Name: #!/usr/bin/anonymous : 2008-08-15 14:51 ID:Heaven

>>49

http://www.crimsoneditor.com/

Entire post...

51 Name: #!/usr/bin/anonymous : 2008-08-15 17:11 ID:Heaven

>>49

Programmer's Notepad is pretty lightweight and has syntax support for those languages.

Entire post...

52 Name: 48 : 2008-08-15 17:15 ID:8LZSGSWU

>>49

You out of hand rejected a large class of editors; the kind that are "hard to use". I couldn't possibly recommend "ex" because at best you would whine about how "ex" isn't anything like a "source code editor" because it lacks syntax hilighting, bracket matching and autocompletion. Or maybe you would just say it is hard to use.

Entire post...

53 Name: #!/usr/bin/anonymous : 2008-08-15 21:14 ID:Heaven

Same goes for vim

54 Name: #!/usr/bin/anonymous : 2008-08-18 13:39 ID:Heaven

>>50
Thanks, that works good enough.

55 Name: #!/usr/bin/anonymous : 2008-09-04 07:52 ID:VsF/SKrW

What's the relationship between the Linux kernel and glibc? Is there some kind of circular dependency or does one not link against the other?

56 Name: #!/usr/bin/anonymous : 2008-09-04 11:46 ID:Heaven

>>5
5
glibc is an implementation of the C library.
gcc is an implementation of a C compiler.

Entire post...

57 Name: #!/usr/bin/anonymous : 2008-09-04 11:46 ID:Heaven

>>56
Of course, I meant to quote >>55 not >>5.

58 Name: #!/usr/bin/anonymous : 2008-09-05 08:21 ID:wncl2fNG

So i just read through some basic tutorials on Ruby and I'm trying to get the following to work with my laziness, limited Ruby and general programming knowledge.
I basically have a hex string that looks like "0x0011223344..." and I want to cut out every byte/2 hex values into an array where I then append a "%" before every byte so I can decode it in another program (I know this is probably possible with Ruby itself).

Entire post...

59 Name: #!/usr/bin/anonymous : 2008-09-05 13:38 ID:8LZSGSWU

>>58

x.gsub(/[0-9a-fA-F]{2}/,'%\0')

or was there a particular reason you wanted it to be an array?

Entire post...