Tagged Questions
-1
votes
0answers
56 views
Which programming language should i learn first? [on hold]
I don't know any programming language. I want to be a programmer. Which programming language should I learn first? Some people say that python is better and some others say that Perl is. Please guide ...
0
votes
1answer
26 views
How to find Semantic Relationship between two synsets in WordNet
I am working with WordNet 3.0.
I would like to know how could i find semantic relation between two synsets in WordNet hierarchy.
As in, given two words as input i want to find the relationship ...
-1
votes
3answers
37 views
Compare two files in perl / python and print matching entries [closed]
I have two files
File1.txt
123 abc
254 ded
256 ddw
File2.txt
123
256
output ( only matching entries in file1.txt)
123 abc
256 ddw
2
votes
8answers
102 views
selecting lines according certain criteria
I have a list of data in ten columns as shown below. It has few thousands lines.
$1 $2 $3 $4 $5 $6 $7 $8 $9 $10
| 8455 105@O13 | 8132 101@H13 8131 101@O13 | 68.43
| ...
-3
votes
0answers
60 views
Feasible to use python for etl testing Source to target validation [closed]
Im working in ETL testing were i used to extract the data from [Oracle 11g] both [Source and Target] by running queries and put them [result extracts] into excel sheet and validate the same using ...
0
votes
1answer
82 views
Program to check and change IP address ranges and not allow overlap
I need to enter network zones and their names into a network monitoring software program with a csv file. This software will only take the zone name, the IP address start, and the IP address stop. ...
2
votes
2answers
87 views
Efficient way to split files based on size
I do splitting of my zipped input file which is of 10 GB normally as follows,
zcat file|split -b 1024m - file.part
The above command will create 10 split files for 10 GB input.
Here comes my ...
1
vote
1answer
40 views
Writing a RDS file outside R
I need to feed an R code with a vector from an external source and be fast, so I want to avoid reading generic files, such as csv.
I thought that writing outside R a RDS file could be a good idea.
Is ...
0
votes
0answers
67 views
Language for simple scripting tasks [closed]
After reading many articles on python vs perl, I decided to use python for a simple scripting task which I had previously written in bash script. After tinkering around here and there, I finally came ...
3
votes
3answers
135 views
Combine lines with matching keys
I have a text file with the following structure
ID,operator,a,b,c,d,true
WCBP12236,J1,75.7,80.6,65.9,83.2,82.1
WCBP12236,J2,76.3,79.6,61.7,81.9,82.1
WCBP12236,S1,77.2,81.5,69.4,84.1,82.1
...
2
votes
2answers
114 views
Why do we need two equality operators (“==” and “eq”) in Perl? [duplicate]
In Python I can use "==" to compare strings or numbers. But in Perl there are "==" and "eq". Using "==" with strings can lead to bugs. Why are there two operators? Is it safe to just always use "eq"?
0
votes
1answer
22 views
Dual debugger Java + (Perl/Python) script
This question just came up in a discussion and i am curious to know .
Is it possible to have a debugger that can debug 2 languages . For example . If i have Java program that ...
3
votes
10answers
148 views
Merge/Discard overlapping words
I want to merge strings (words) that are similar (string is within other string).
word
wor
words
wormhole
hole
Would make:
words
wormhole
As wor overlaps with: word, words, ...
0
votes
1answer
71 views
Escape sequences vs predefined character classes (aka special regex characters) when encapsulated by double quotes
Perl, like Java and Python, has \s, the special regex character that matches whitespace, in addition to other special characters.
In Perl, the following would not be valid:
my $sentence = "The ...
-2
votes
1answer
43 views
Finding specific text in webpages (with Google?) [closed]
I want to use Google to search for text within the "Experience" section of public LinkedIn profiles that are indexed by Google. What is the best way to do this?
So far I only know how to limit my ...