|
I want to store the data returned by $_SERVER["REMOTE_ADDR"] in PHP into a DB field, pretty simple task, really. The problem is that I can't find any proper information about the maximum length of the textual representation of an IPv6 address, which is...
Started by Gilles on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
|
|
I'm looking for a script to generate the graphical-ish textual representations of directory structures that you see around. Something that I can run like this:
james@computer:/.../basedir$ listdir . basedir |-firstsubdir | |-file | `-subsubdir | |-file...
Started by eegg on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Type tree /? (windows) or man tree for the....
Http://malektips.com/xp%5Fdos%5F0040.html
http://www.centerkey.com/tree/
tree (on Windows as well as Linux - might require a apt-get install tree or similar on Linux) .
Use tree command under Windows and Linux.
|
|
I'm looking for a hash function that:
Hashes textual strings well (e.g. few collisions) Is written in Java, and widely used Bonus: works on several fields (instead of me concatenating them and applying the hash on the concatenated string) Bonus: Has a...
Started by ripper234 on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I'm not aware of a function but here's an idea that might... .
It is inefficient for hashing longer text, or text containing non-alphabetic characters .
DISCLAIMER: This solution is applicable if you wish to efficiently hash individual natural language words .
|
Ask your Facebook Friends
|
Are there any cases where I can have a textual field such as a description in a fact table?
I currently have a fact table of meeting events (grain: row per meeting) with a number of dimensions such as date, client, location etc. I need to put the meeting...
Started by NabilS on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Product ....
I have done this many times where I have a structure of a primary key, a combination of foreign keys and a string column to denote a name .
What you are describing sounds like a dimension derived from other dimensions rather than a fact table .
|
|
I have a project where I need to compare multi-chapter documents to a second document to determine their similarity. The issue is I have no idea how to go about doing this, what approaches exist or if their are any libraries available.
My first question...
Started by jptacek on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
"what is similar" we can't tell you that, this is a statement of a fundamental requirement... .
Try one of these to help you measure the number of differences (and hence how similar they are) .
Diff tools used by all source control systems do almost exactly this .
|
|
I am trying to see from an SQL console what is inside an Oracle BLOB.
I know it contains a somewhat large body of text and I want to just see the text, but the following query only indicates that there is a BLOB in that field:
select BLOB_FIELD from TABLE...
Started by Roland Tepp on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The following query will let you see the first 32167 characters (at most) of the text inside... .
First of all, you may want to store text in CLOB/NCLOB columns instead of BLOB, which is designed for binary data (your query would work with a CLOB, by the way) .
|
|
I have an application in Perl that reads in HTML based mark up and converts it to a textual output. One of the things I have encountered is the need to easily convert a HTML table to a fixed font output.
<table border="1"> <tr><td>Hello...
Started by Tim K on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I don't know if any of them can handle....
If available, I would use an external program like lynx , links or w3m .
In combination with something like HTML::TreeBuilder it should be pretty easy .
I've used Text::Table with great success.
Lynx is your friend.
|
|
I have an HTML page with some textual spans marked up something like this
... <span id="T2" class="Protein">p50</span> ... <span id="T3" class="Protein">p65</span> ... <span id="T34" ids="T2 T3" class="Positive_regulation">...
Started by Kaarel on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
It uses a canvas tag for each individual....
Have a look at this WireIt Demo.
From the looks of it you don't need these arrows to have any particular mathematical form, you just need them to go between elements .
You have a couple options: svg or canvas.
|
|
I'm making a simple web-based, turn-based game and am trying to determine what modules exist out there to help me on this task.
Here's the web app I'm looking to build:
User visits the homepage, clicks on a "play game" link This takes the user to a "game...
Started by RexE on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you're not going to have huge numbers of concurrent users... .
It works great for IM, but was designed for use by other types of systems as well and there's already a set of bindings for Python since it has become so popular .
Try the Jabber protocol ...
|
|
We are making extensive use of the logical volume manager (LVM) on our Debian servers. But I find it hard to get a good overview on which partitions (LVM as well as native) I have mounted where, from which LV (logical volume) from which VG (volume group...
Started by Signum on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
I might actually look into that myself, the next time I have my weekly day-of-scripting ;-)
GNU Parted can give you most of the information you need with
parted -l... .
Would be a pretty cool thing to script though.
No, I don't think such a script exists.
|