lucent | transparent systems programming language
kandi X-RAY | lucent Summary
kandi X-RAY | lucent Summary
A transparent systems language for linking and development on freestanding and embedded environments.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of lucent
lucent Key Features
lucent Examples and Code Snippets
Community Discussions
Trending Discussions on lucent
QUESTION
I want to merge two dataframes based on two conditions.
The first Dataframe looks like this:
...ANSWER
Answered 2020-Aug-15 at 15:37Firstly change the datatype of the Year column in the first dataframe. It's in float. use:
QUESTION
I am running 3-zookeeper-cluster and 3-kafka-cluster on Kubernetes.
Kafka seems to be running.
However if I produce some message to a topic and check the topic, there's no message at all.
Here's my broker saying. That says some invalid receive or something, the funny thing is trying to make topics work well but producing.
also I could watch topics or schemas which i made early on Topics-ui which is GUI tool for broker.
Schema-registry, Connect, Rest's log is fine so the broker seems to be running well.
ANSWER
Answered 2020-Apr-14 at 09:26My initial guess would be that you might be trying to receive a request that is too large. The maximum size is the default size for socket.request.max.bytes
, which is 100MB. So if you have a message which is bigger than 100MB try to increase the value of this variable under server.properties
.
QUESTION
ANSWER
Answered 2020-Mar-31 at 12:48Since in the group by, you are creating an object with keys and arrays as it's values, you have to first iterate on the object (you can use Object.entries()
) and then it's arrays.
Try passing the grouped object to the function below and you should get the array with correct counts. Here's a sample to play with - https://stackblitz.com/edit/js-d2xcn3
NOTE: I have used pivot.lamp_id
(and added it in the object as well) to use as the key for the map. You can choose to change it to some other unique property.
QUESTION
I'm trying to find a specific piece of string inside a bigger whole of a string.
Here's the string, and the bold words are the ones that i want to extract using the re.findall function inside the re library of python.
text|p1_1_SNtestfilefri01|ANTENNA SYSTEM|@|text|p1_2_SNtestfilefri01|ALCATEL-LUCENT|@|text|p1_3_SNtestfilefri01|MW ANTENNA|@|text|p1_4_SNtestfilefri01|DIA 0.6 M 13 GHZ SINGLE POLARIZED|@|text|p1_5_SNtestfilefri01|L1AF10018AAAA|@|text|p1_6_SNtestfilefri01|SNtestfilefri01
Here's my code :
...ANSWER
Answered 2019-Nov-26 at 06:24re.findall('[^|]+(?=\|\@\|)', doc)
QUESTION
I stop one Ignite server, and restart agagin, it throws exception with Too many open files, i have change the ulimt of open file with
...ANSWER
Answered 2018-May-03 at 05:48- Please get count of open handlers by command: sudo lsof -u user | wc -l . Where user is the user name.
- Check the system configuration for file descriptors: sudo sysctl fs.file-nr . You could increase limit in file /etc/sysctl.conf
- Please check your application for properly closing of the file resources and resolve what process consumes file descriptors.
QUESTION
I've a vob, please find my vob detail
...ANSWER
Answered 2019-Mar-12 at 05:39You can find two avenues to pursue in "Different epoch values":
- either on the target side (if you have access), import any pending sync packet (
multitool syncreplica -import -receive
) - or (my solution) re-exporting the all vob:
multitool mkreplica -export -maxsize 200m -nc...
and importing it
Check also the technote "Replicated VOB cannot import or export packets from scheduled jobs"
QUESTION
I have an app on cloudant :
How can i plug an elastic search online version, for making full text queries ?
I want to use the river plug in because the new one is too complex .
For now, the only way for me is to do it on localhost, and install elastic 1.6 on localhost, but i'd like to be able to make queries directly online.
Maybe I should use a LUCENT javascript library for couchDb instead ?
Thank you.
...ANSWER
Answered 2018-Jul-16 at 13:05What is the problem you're solving here? Cloudant has sophisticated built-in full-text indexing capabilities on top of Lucene:
https://console.bluemix.net/docs/services/Cloudant/api/search.html#search
Whilst it's possible to hook ES onto the Cloudant changes feed, it seems like an overly complex solution that gains little advantage compared with Cloudant's built-in Lucene.
QUESTION
I have an Array of images that need to be called depending on the cell that was tapped on. For example, let's say you have five cells and each cell has its own information pertaining to that particular cell. When you tap on cell one, it opens to a new page, and the image shows for that cell that's in the array along with the information that goes along with it. Now when you tap on cell 2 the image populates as well as the information that is specifically for cell two. How can I call an image from an array that pertains to the cell that was tapped? I know how to do it with a string, but I can't seem to figure out how to do it with an image. When I try to do it the same way as I did with the string all I get is errors.
here is one part of the code:
...ANSWER
Answered 2018-Mar-16 at 19:20#imageLiteral(resourceName:)
gives us a UIImage
so in your case:-
detailImage
should also be a UIImage
instead of a String
Change:
QUESTION
when i want to implemented file .tcl in ns2 appear an error, i couldn't solve this . i use ns2 version 2.34 in ubuntu 15.
Please if anyone can help me to solve the error and run the .tcl code.
my code is
[code]
set val(chan) Channel/WirelessChannel ;# channel type
set val(prop) Propagation/TwoRayGround ;# radio-propagation model
set val(netif) Phy/WirelessPhy ;# network interface type
set val(mac) Mac/802_11 ;# MAC type
#set val(ifq) Queue/DropTail/PriQueue ;# interface queue type
#set val(ifq) CMUPriQueue ; #This is the change for DSR
set val(ll) LL ;# link layer type
set val(ant) Antenna/OmniAntenna ;# antenna model
set val(ifqlen) 50 ;# max packet in ifq
set val(nn) 10 ;# number of mobilenodes
set val(rp) DSR ;# routing protocol
set val(x) 500 ;# X dimension of topography
set val(y) 500 ;# Y dimension of topography
set val(stop) 200 ;# time of simulation end
#this is the change for DSR
if { $val(rp) == "DSR" } {
set val(ifq) CMUPriQueue
} else {
set val(ifq) Queue/DropTail/PriQueue
}
#================================================================================
Queue set limit_ 50
LL set mindelay_ 50us
LL set delay_ 25us
LL set bandwidth_ 0 ;# not used
LL set off_prune_ 0 ;# not used
LL set off_CtrMcast_ 0 ;# not used
Agent/Null set sport_ 0
Agent/Null set dport_ 0
Agent/CBR set sport_ 0
Agent/CBR set dport_ 0
Agent/TCPSink set sport_ 0
Agent/TCPSink set dport_ 0
Agent/TCP set sport_ 0
Agent/TCP set dport_ 0
Agent/TCP set packetSize_ 512
Queue/DropTail/PriQueue set Prefer_Routing_Protocols 1
# unity gain, omni-directional antennas
# set up the antennas to be centered in the node and 1.5 meters above it
Antenna/OmniAntenna set X_ 0
Antenna/OmniAntenna set Y_ 0
Antenna/OmniAntenna set Z_ 1.5
Antenna/OmniAntenna set Gt_ 1.0
Antenna/OmniAntenna set Gr_ 1.0
# Initialize the SharedMedia interface with parameters to make
# it work like the 914MHz Lucent WaveLAN DSSS radio interface
Phy/WirelessPhy set CPThresh_ 10.0
Phy/WirelessPhy set CSThresh_ 1.559e-11
Phy/WirelessPhy set RXThresh_ 3.652e-10
Phy/WirelessPhy set Rb_ 2*1e6
Phy/WirelessPhy set Pt_ 0.2818
Phy/WirelessPhy set freq_ 914e+6
Phy/WirelessPhy set L_ 1.0
#==================================================================================
set ns [new Simulator]
$ns use-newtrace
set tracefd [open dsr.tr w]
$ns trace-all $tracefd
#$ns namtrace-all-wireless $namtrace $val(x) $val(y)
set nf [open out6.nam w]
$ns namtrace-all-wireless $nf $val(x) $val(y)
#$ns namtrace-all $nf
proc finish {} {
global ns nf
$ns flush-trace
close $nf
exec nam out6.nam
exit 0
}
# set up topography object
set topo [new Topography]
$topo load_flatgrid $val(x) $val(y)
set god_ [create-god $val(nn)]
$ns node-config -adhocRouting $val(rp) \
-llType $val(ll) \
-macType $val(mac) \
-ifqType $val(ifq) \
-ifqLen $val(ifqlen) \
-antType $val(ant) \
-propType $val(prop) \
-phyType $val(netif) \
-channelType $val(chan) \
-topoInstance $topo \
-agentTrace ON \
-routerTrace ON \
-macTrace OFF \
-movementTrace ON
for {set i 0} {$i < $val(nn) } { incr i } {
set node_($i) [$ns node]
}
# Provide initial location of mobilenodes
#
# nodes: 10, pause: 2.00, max speed: 10.00, max x: 500.00, max y: 500.00
#
$node_(0) set X_ 230.458099147138
$node_(0) set Y_ 199.978104581927
$node_(0) set Z_ 0.000000000000
$node_(1) set X_ 249.761442525866
$node_(1) set Y_ 329.181336325062
$node_(1) set Z_ 0.000000000000
$node_(2) set X_ 354.684092284714
$node_(2) set Y_ 314.083348454287
$node_(2) set Z_ 0.000000000000
$node_(3) set X_ 31.274134527198
$node_(3) set Y_ 416.891035673519
$node_(3) set Z_ 0.000000000000
$node_(4) set X_ 201.659846921742
$node_(4) set Y_ 335.060794067719
$node_(4) set Z_ 0.000000000000
$node_(5) set X_ 441.872011266970
$node_(5) set Y_ 153.838035184497
$node_(5) set Z_ 0.000000000000
$node_(6) set X_ 125.845499610497
$node_(6) set Y_ 9.518591216734
$node_(6) set Z_ 0.000000000000
$node_(7) set X_ 455.849914885308
$node_(7) set Y_ 425.143852580786
$node_(7) set Z_ 0.000000000000
$node_(8) set X_ 107.906715349433
$node_(8) set Y_ 366.497006554012
$node_(8) set Z_ 0.000000000000
$node_(9) set X_ 372.772820651705
$node_(9) set Y_ 291.999735807987
$node_(9) set Z_ 0.000000000000
$god_ set-dist 0 1 1
$god_ set-dist 0 2 1
$god_ set-dist 0 3 2
$god_ set-dist 0 4 1
$god_ set-dist 0 5 1
$god_ set-dist 0 6 1
$god_ set-dist 0 7 2
$god_ set-dist 0 8 1
$god_ set-dist 0 9 1
$god_ set-dist 1 2 1
$god_ set-dist 1 3 1
$god_ set-dist 1 4 1
$god_ set-dist 1 5 2
$god_ set-dist 1 6 2
$god_ set-dist 1 7 1
$god_ set-dist 1 8 1
$god_ set-dist 1 9 1
$god_ set-dist 2 3 2
$god_ set-dist 2 4 1
$god_ set-dist 2 5 1
$god_ set-dist 2 6 2
$god_ set-dist 2 7 1
$god_ set-dist 2 8 2
$god_ set-dist 2 9 1
$god_ set-dist 3 4 1
$god_ set-dist 3 5 3
$god_ set-dist 3 6 3
$god_ set-dist 3 7 2
$god_ set-dist 3 8 1
$god_ set-dist 3 9 2
$god_ set-dist 4 5 2
$god_ set-dist 4 6 2
$god_ set-dist 4 7 2
$god_ set-dist 4 8 1
$god_ set-dist 4 9 1
$god_ set-dist 5 6 2
$god_ set-dist 5 7 2
$god_ set-dist 5 8 2
$god_ set-dist 5 9 1
$god_ set-dist 6 7 3
$god_ set-dist 6 8 2
$god_ set-dist 6 9 2
$god_ set-dist 7 8 2
$god_ set-dist 7 9 1
$god_ set-dist 8 9 2
$ns_ at 2.000000000000 "$node_(0) setdest 113.561924924348 380.474029490398 5.012234894686"
$ns_ at 2.000000000000 "$node_(1) setdest 226.942668600025 416.193239523143 8.239808486281"
$ns_ at 2.000000000000 "$node_(2) setdest 45.863534915171 398.899570100734 8.246285918920"
$ns_ at 2.000000000000 "$node_(3) setdest 296.143683976933 438.900817835557 8.967255229407"
$ns_ at 2.000000000000 "$node_(4) setdest 66.994012551092 278.791597459617 0.761636918974"
$ns_ at 2.000000000000 "$node_(5) setdest 430.400494724350 75.410724078638 9.732857268405"
$ns_ at 2.000000000000 "$node_(6) setdest 347.964190965647 316.394400971484 4.362064233820"
$ns_ at 2.000000000000 "$node_(7) setdest 245.368757177308 425.216835910711 3.176385346029"
$ns_ at 2.000000000000 "$node_(8) setdest 259.416390899245 263.317134759846 1.440425191449"
$ns_ at 2.000000000000 "$node_(9) setdest 77.252354488822 49.861937382092 1.346166296863"
$ns_ at 2.238600454126 "$god_ set-dist 2 8 1"
$ns_ at 6.407773518113 "$god_ set-dist 0 3 1"
$ns_ at 6.407773518113 "$god_ set-dist 3 5 2"
$ns_ at 6.407773518113 "$god_ set-dist 3 6 2"
$ns_ at 7.003427216796 "$god_ set-dist 2 5 2"
$ns_ at 7.435975009945 "$god_ set-dist 0 5 2"
$ns_ at 7.435975009945 "$god_ set-dist 3 5 3"
$ns_ at 7.435975009945 "$god_ set-dist 5 6 3"
$ns_ at 7.435975009945 "$god_ set-dist 5 8 3"
$ns_ at 7.455869251739 "$god_ set-dist 2 3 1"
$ns_ at 10.143737743753 "$node_(5) setdest 430.400494724350 75.410724078638 0.000000000000"
$ns_ at 10.899610693580 "$god_ set-dist 4 7 1"
$ns_ at 12.143737743753 "$node_(5) setdest 365.267898416082 162.012025760138 3.758699484591"
$ns_ at 12.917032083302 "$node_(1) setdest 226.942668600025 416.193239523143 0.000000000000"
$ns_ at 13.820198054819 "$god_ set-dist 5 8 2"
$ns_ at 13.820198054819 "$god_ set-dist 8 9 1"
$ns_ at 14.917032083302 "$node_(1) setdest 154.140740647277 174.968923766524 8.677142366032"
$ns_ at 15.973245097143 "$god_ set-dist 3 5 2"
$ns_ at 15.973245097143 "$god_ set-dist 3 9 1"
$ns_ at 16.413435143119 "$god_ set-dist 3 7 1"
$ns_ at 18.381350487206 "$god_ set-dist 5 6 1"
$ns_ at 21.804264291933 "$god_ set-dist 4 6 1"
$ns_ at 21.804264291933 "$god_ set-dist 6 7 2"
$ns_ at 24.079807344719 "$god_ set-dist 6 9 1"
$ns_ at 24.363326273085 "$god_ set-dist 1 6 1"
$ns_ at 25.172852210015 "$god_ set-dist 0 7 1"
$ns_ at 27.381095890208 "$god_ set-dist 7 8 1"
$ns_ at 27.953683799626 "$god_ set-dist 6 8 1"
$ns_ at 31.193283148042 "$god_ set-dist 1 5 1"
$ns_ at 31.639219521928 "$node_(3) setdest 296.143683976933 438.900817835557 0.000000000000"
$ns_ at 31.703855308475 "$god_ set-dist 2 9 2"
$ns_ at 32.315825316726 "$god_ set-dist 2 7 2"
$ns_ at 33.639219521928 "$node_(3) setdest 488.496969013328 245.729238635786 5.692964169229"
$ns_ at 35.426922185176 "$god_ set-dist 1 7 2"
$ns_ at 38.276329613589 "$god_ set-dist 2 3 2"
$ns_ at 38.784437342397 "$god_ set-dist 1 3 2"
$ns_ at 40.836397184144 "$node_(2) setdest 45.863534915171 398.899570100734 0.000000000000"
$ns_ at 40.973043461046 "$node_(5) setdest 365.267898416082 162.012025760138 0.000000000000"
$ns_ at 41.073600214663 "$god_ set-dist 3 5 1"
$ns_ at 42.836397184144 "$node_(2) setdest 240.698943162658 94.742856735018 9.960592922709"
$ns_ at 42.973043461046 "$node_(5) setdest 191.825072257690 417.829360209523 1.964677858318"
$ns_ at 43.551282473529 "$god_ set-dist 4 5 1"
$ns_ at 43.955487787410 "$node_(1) setdest 154.140740647277 174.968923766524 0.000000000000"
$ns_ at 44.584299641389 "$god_ set-dist 0 6 2"
$ns_ at 44.903616965502 "$node_(0) setdest 113.561924924348 380.474029490398 0.000000000000"
$ns_ at 45.453041721346 "$god_ set-dist 0 6 1"
$ns_ at 45.751740111792 "$god_ set-dist 3 6 1"
$ns_ at 45.955487787410 "$node_(1) setdest 20.418763218239 434.846110746262 8.651826840262"
$ns_ at 46.903616965502 "$node_(0) setdest 276.104678150679 270.942272817714 5.977054404381"
$ns_ at 47.359162927842 "$god_ set-dist 2 7 1"
$ns_ at 48.008451365368 "$god_ set-dist 2 6 1"
$ns_ at 48.968456467505 "$god_ set-dist 5 8 1"
$ns_ at 50.446950143240 "$god_ set-dist 6 7 1"
$ns_ at 50.474551767468 "$god_ set-dist 2 9 1"
$ns_ at 54.509369876780 "$god_ set-dist 1 7 1"
$ns_ at 56.586128792946 "$god_ set-dist 0 5 1"
$ns_ at 56.692178592167 "$god_ set-dist 2 5 1"
$ns_ at 56.803541764673 "$god_ set-dist 1 5 2"
$ns_ at 56.994062712831 "$god_ set-dist 5 7 1"
$ns_ at 61.853959710748 "$god_ set-dist 3 4 2"
$ns_ at 66.190770307152 "$god_ set-dist 1 9 2"
$ns_ at 68.065809892613 "$god_ set-dist 1 6 2"
$ns_ at 68.264368907395 "$node_(7) setdest 245.368757177308 425.216835910711 0.000000000000"
$ns_ at 68.602475930167 "$god_ set-dist 2 7 2"
$ns_ at 68.662775662111 "$god_ set-dist 3 8 2"
$ns_ at 70.264368907395 "$node_(7) setdest 200.410813718440 11.636943188609 6.923182273754"
$ns_ at 71.030042351737 "$god_ set-dist 1 2 2"
$ns_ at 74.541172195941 "$god_ set-dist 3 7 2"
$ns_ at 75.678908552504 "$god_ set-dist 0 1 2"
$ns_ at 75.678908552504 "$god_ set-dist 1 3 3"
$ns_ at 79.100230162000 "$node_(2) setdest 240.698943162658 94.742856735018 0.000000000000"
$ns_ at 79.696266416500 "$node_(0) setdest 276.104678150679 270.942272817714 0.000000000000"
$ns_ at 79.735995105771 "$node_(1) setdest 20.418763218239 434.846110746262 0.000000000000"
$ns_ at 81.100230162000 "$node_(2) setdest 384.921049364744 52.810063349198 5.283278585161"
$ns_ at 81.524267062779 "$node_(3) setdest 488.496969013328 245.729238635786 0.000000000000"
$ns_ at 81.696266416500 "$node_(0) setdest 258.497594335931 227.391816861345 9.456737166504"
$ns_ at 81.735995105771 "$node_(1) setdest 371.382772514507 20.446494862640 8.880333657635"
$ns_ at 82.227291269643 "$god_ set-dist 2 7 1"
$ns_ at 83.524267062779 "$node_(3) setdest 106.746579800567 7.390865017031 9.072763695646"
$ns_ at 84.799691924606 "$god_ set-dist 2 4 2"
$ns_ at 86.007347749395 "$god_ set-dist 1 3 2"
$ns_ at 86.007347749395 "$god_ set-dist 3 7 1"
$ns_ at 86.077668463964 "$god_ set-dist 2 3 1"
$ns_ at 86.663625634036 "$node_(0) setdest 258.497594335931 227.391816861345 0.000000000000"
$ns_ at 88.589683708940 "$god_ set-dist 3 8 1"
$ns_ at 88.663625634036 "$node_(0) setdest 228.164706485872 325.408836287688 7.524668370637"
$ns_ at 88.845682456311 "$node_(6) setdest 347.964190965647 316.394400971484 0.000000000000"
$ns_ at 89.007036426795 "$god_ set-dist 0 1 1"
$ns_ at 90.845682456311 "$node_(6) setdest 349.301343354089 158.466272861926 6.059078937464"
$ns_ at 91.981342722274 "$god_ set-dist 1 9 1"
$ns_ at 93.282189453789 "$god_ set-dist 1 5 1"
$ns_ at 96.279396756836 "$god_ set-dist 1 6 1"
$ns_ at 98.783925047944 "$god_ set-dist 0 2 2"
$ns_ at 101.251929662959 "$god_ set-dist 2 8 2"
$ns_ at 102.193088967194 "$god_ set-dist 1 3 1"
$ns_ at 102.299205590466 "$node_(0) setdest 228.164706485872 325.408836287688 0.000000000000"
$ns_ at 104.299205590466 "$node_(0) setdest 53.352551906679 183.071466763240 7.639719429207"
$ns_ at 106.245005462422 "$god_ set-dist 3 4 1"
$ns_ at 109.528497785644 "$node_(2) setdest 384.921049364744 52.810063349198 0.000000000000"
$ns_ at 111.324553936857 "$god_ set-dist 4 6 2"
$ns_ at 111.528497785644 "$node_(2) setdest 226.544921896733 403.524189007709 1.040146757465"
$ns_ at 113.001012877590 "$god_ set-dist 1 2 1"
$ns_ at 116.911325496558 "$node_(6) setdest 349.301343354089 158.466272861926 0.000000000000"
$ns_ at 118.911325496558 "$node_(6) setdest 416.505866132961 426.982145363532 5.732529627244"
$ns_ at 119.365114344371 "$god_ set-dist 2 8 1"
$ns_ at 121.781999508119 "$god_ set-dist 3 4 2"
$ns_ at 122.331871539839 "$god_ set-dist 2 5 2"
$ns_ at 122.427605729452 "$god_ set-dist 4 7 2"
$ns_ at 122.580929732787 "$god_ set-dist 3 5 2"
$ns_ at 124.163472273148 "$god_ set-dist 5 7 2"
$ns_ at 124.223348806923 "$god_ set-dist 0 6 2"
$ns_ at 125.861178527021 "$god_ set-dist 3 6 2"
$ns_ at 126.945433605630 "$god_ set-dist 3 8 2"
$ns_ at 128.307932367730 "$god_ set-dist 1 4 2"
$ns_ at 128.780529893172 "$god_ set-dist 6 7 2"
$ns_ at 129.105331893930 "$god_ set-dist 7 8 2"
$ns_ at 129.258594800506 "$node_(8) setdest 259.416390899245 263.317134759846 0.000000000000"
$ns_ at 129.901499377481 "$god_ set-dist 2 3 2"
$ns_ at 130.354694785179 "$node_(7) setdest 200.410813718440 11.636943188609 0.000000000000"
$ns_ at 130.825441879314 "$god_ set-dist 0 1 2"
$ns_ at 131.258594800506 "$node_(8) setdest 258.191758930657 232.405501264228 8.769708891422"
$ns_ at 132.246883069141 "$god_ set-dist 7 8 1"
$ns_ at 132.354694785179 "$node_(7) setdest 12.398316659697 493.011444585021 4.810270173600"
$ns_ at 133.127985983024 "$node_(3) setdest 106.746579800567 7.390865017031 0.000000000000"
$ns_ at 133.806987963031 "$node_(0) setdest 53.352551906680 183.071466763240 0.000000000000"
$ns_ at 134.786178509905 "$node_(8) setdest 258.191758930657 232.405501264228 0.000000000000"
$ns_ at 135.127985983024 "$node_(3) setdest 331.086138348541 217.131377468660 7.784960858820"
$ns_ at 135.425991083044 "$god_ set-dist 1 5 2"
$ns_ at 135.806987963031 "$node_(0) setdest 490.958411623572 362.808600409000 4.256760735392"
$ns_ at 136.786178509905 "$node_(8) setdest 215.614653855527 193.185174880204 4.459505055001"
$ns_ at 137.516017444030 "$god_ set-dist 3 8 1"
$ns_ at 138.946838571606 "$god_ set-dist 2 3 1"
$ns_ at 141.098092877777 "$god_ set-dist 1 6 2"
$ns_ at 142.454273210092 "$god_ set-dist 4 7 1"
$ns_ at 142.827796380296 "$god_ set-dist 3 4 1"
$ns_ at 142.887922220640 "$node_(1) setdest 371.382772514507 20.446494862640 0.000000000000"
$ns_ at 144.887922220640 "$node_(1) setdest 381.059656096718 454.046276267996 6.678949601301"
$ns_ at 149.767036437453 "$node_(8) setdest 215.614653855527 193.185174880204 0.000000000000"
$ns_ at 151.155848699284 "$god_ set-dist 3 5 1"
$ns_ at 151.409332184412 "$god_ set-dist 2 6 2"
$ns_ at 151.584676013452 "$god_ set-dist 6 9 2"
$ns_ at 151.767036437453 "$node_(8) setdest 229.063588926854 204.514778577507 0.662407362317"
$ns_ at 152.935420312189 "$god_ set-dist 5 7 1"
$ns_ at 156.070021061078 "$god_ set-dist 1 6 3"
$ns_ at 156.070021061078 "$god_ set-dist 2 6 3"
$ns_ at 156.070021061078 "$god_ set-dist 6 8 2"
$ns_ at 159.383231001941 "$god_ set-dist 0 1 1"
$ns_ at 159.537531635641 "$god_ set-dist 0 2 1"
$ns_ at 165.263265529924 "$god_ set-dist 1 5 1"
$ns_ at 165.263265529924 "$god_ set-dist 1 6 2"
$ns_ at 167.196843150832 "$node_(6) setdest 416.505866132961 426.982145363532 0.000000000000"
$ns_ at 168.851692650539 "$god_ set-dist 1 6 1"
$ns_ at 168.851692650539 "$god_ set-dist 2 6 2"
$ns_ at 169.196843150832 "$node_(6) setdest 390.723844121806 229.212053044724 3.654852407102"
$ns_ at 170.612446016674 "$god_ set-dist 3 6 1"
$ns_ at 172.453310574311 "$god_ set-dist 3 4 2"
$ns_ at 174.577703464411 "$node_(3) setdest 331.086138348541 217.131377468660 0.000000000000"
$ns_ at 174.613150573494 "$god_ set-dist 1 7 2"
$ns_ at 175.508348841760 "$god_ set-dist 2 7 2"
$ns_ at 176.577703464411 "$node_(3) setdest 446.812037713105 316.221474035193 4.722531836547"
$ns_ at 176.583942776355 "$god_ set-dist 0 6 1"
$ns_ at 178.314211268978 "$node_(8) setdest 229.063588926854 204.514778577507 0.000000000000"
$ns_ at 180.314211268978 "$node_(8) setdest 492.646238992554 412.146709912111 7.819444208044"
$ns_ at 181.031477100407 "$god_ set-dist 6 8 1"
$ns_ at 181.559969010225 "$god_ set-dist 5 9 2"
$ns_ at 184.429318277099 "$god_ set-dist 3 7 2"
$ns_ at 185.426889354599 "$god_ set-dist 1 9 2"
$ns_ at 185.764710729980 "$god_ set-dist 2 6 1"
$ns_ at 191.886491445872 "$god_ set-dist 3 9 2"
$ns_ at 193.625421989055 "$node_(4) setdest 66.994012551092 278.791597459617 0.000000000000"
$ns_ at 194.620865596447 "$god_ set-dist 4 8 2"
$ns_ at 195.625421989055 "$node_(4) setdest 152.643541281544 230.996835522200 0.369531248431"
$ns_ at 197.661807402845 "$god_ set-dist 7 8 2"
$ns_ at 197.798048786103 "$god_ set-dist 3 5 2"
$ns_ at 199.328978694236 "$god_ set-dist 1 2 2"
$ns_ at 199.489145410220 "$god_ set-dist 8 9 2"
#
# Destination Unreachables: 0
#
# Route Changes: 120
#
# Link Changes: 106
#
# Node | Route Changes | Link Changes
# 0 | 14 | 14
# 1 | 30 | 26
# 2 | 29 | 27
# 3 | 36 | 30
# 4 | 14 | 14
# 5 | 27 | 21
# 6 | 32 | 25
# 7 | 26 | 25
# 8 | 20 | 18
# 9 | 12 | 12
#
# Generation of movements
#$ns at 10.0 "$node_(0) setdest 250.0 250.0 10.0"
#$ns at 15.0 "$node_(1) setdest 45.0 285.0 10.0"
#$ns at 110.0 "$node_(0) setdest 480.0 300.0 10.0"
#$ns at 70.0 "$node_(3) setdest 180.0 30.0 10.0"
# Set a TCP connection between node_(0) and node_(1)
#
# nodes: 10, max conn: 10, send rate: 0.0, seed: 0
#
#
# 0 connecting to 1 at time 150.95099582846788
#
set tcp_(0) [$ns_ create-connection TCP $node_(0) TCPSink $node_(1) 0]
$tcp_(0) set window_ 32
$tcp_(0) set packetSize_ 512
set ftp_(0) [$tcp_(0) attach-source FTP]
$ns_ at 150.95099582846788 "$ftp_(0) start"
#
# 1 connecting to 2 at time 55.757610404751084
#
set tcp_(1) [$ns_ create-connection TCP $node_(1) TCPSink $node_(2) 0]
$tcp_(1) set window_ 32
$tcp_(1) set packetSize_ 512
set ftp_(1) [$tcp_(1) attach-source FTP]
$ns_ at 55.757610404751084 "$ftp_(1) start"
#
# 2 connecting to 3 at time 137.75441297225393
#
set tcp_(2) [$ns_ create-connection TCP $node_(2) TCPSink $node_(3) 0]
$tcp_(2) set window_ 32
$tcp_(2) set packetSize_ 512
set ftp_(2) [$tcp_(2) attach-source FTP]
$ns_ at 137.75441297225393 "$ftp_(2) start"
#
# 4 connecting to 5 at time 11.758482294044683
#
set tcp_(3) [$ns_ create-connection TCP $node_(4) TCPSink $node_(5) 0]
$tcp_(3) set window_ 32
$tcp_(3) set packetSize_ 512
set ftp_(3) [$tcp_(3) attach-source FTP]
$ns_ at 11.758482294044683 "$ftp_(3) start"
#
# 4 connecting to 6 at time 155.6568584570926
#
set tcp_(4) [$ns_ create-connection TCP $node_(4) TCPSink $node_(6) 0]
$tcp_(4) set window_ 32
$tcp_(4) set packetSize_ 512
set ftp_(4) [$tcp_(4) attach-source FTP]
$ns_ at 155.6568584570926 "$ftp_(4) start"
#
# 7 connecting to 8 at time 57.100370422518054
#
set tcp_(5) [$ns_ create-connection TCP $node_(7) TCPSink $node_(8) 0]
$tcp_(5) set window_ 32
$tcp_(5) set packetSize_ 512
set ftp_(5) [$tcp_(5) attach-source FTP]
$ns_ at 57.100370422518054 "$ftp_(5) start"
#
#Total sources/connections: 5/6
#
for {set i 0} {$i < 9 } { incr i } {
$ns at $val(stop) "$ftp_($i) stop";
}
#$ns at $val(stop) "$ftp stop"
$ns at 201.0 "finish"
# Telling nodes when the simulation ends
# ending nam and the simulation
#$ns at $val(stop) "$ns nam-end-wireless $val(stop)"
#$ns at $val(stop) "stop"
#$ns at 150.01 "puts \"end simulation\" ; $ns halt"
#Call the finish procedure after 5 seconds of simulation time
$ns run
[/code]
...ANSWER
Answered 2017-Apr-26 at 21:21In line 66 you define ns as ns
: set ns [new Simulator]
In lines 195 - 380 ns has another name = ns_
, which of course isn't working. So you can either edit ns
to ns_
in the few lines where ns
appears, or edit all lines 195 - 380 from ns_
to ns
.
QUESTION
data = {"query":{"0":"playstation 4","1":"playstation 4","2":"playstation 4","3":"playstation 4","4":"playstation 4","5":"playstation 4","6":"playstation 4","7":"playstation 4","8":"playstation 4","9":"playstation 4","10":"playstation 4","11":"playstation 4","12":"playstation 4","13":"playstation 4","14":"playstation 4","15":"playstation 4","16":"playstation 4","17":"playstation 4","18":"playstation 4","19":"playstation 4","20":"playstation 4","21":"playstation 4","22":"playstation 4","23":"playstation 4","24":"playstation 4","25":"eye cream","26":"eye cream","27":"eye cream","28":"eye cream","29":"eye cream","30":"eye cream","31":"eye cream","32":"eye cream","33":"eye cream","34":"eye cream","35":"eye cream","36":"eye cream","37":"eye cream","38":"eye cream","39":"eye cream","40":"eye cream","41":"eye cream","42":"eye cream","43":"eye cream","44":"eye cream","45":"eye cream","46":"eye cream","47":"eye cream","48":"eye cream","49":"eye cream","50":"routers","51":"routers","52":"routers","53":"routers","54":"routers","55":"routers","56":"routers","57":"routers","58":"routers","59":"routers","60":"routers","61":"routers","62":"routers","63":"routers","64":"routers","65":"routers","66":"routers","67":"routers","68":"routers","69":"routers","70":"routers","71":"routers","72":"routers","73":"routers","74":"routers","75":"shaver panasonic","76":"shaver panasonic","77":"shaver panasonic","78":"shaver panasonic","79":"shaver panasonic","80":"shaver panasonic","81":"shaver panasonic","82":"shaver panasonic","83":"shaver panasonic","84":"shaver panasonic","85":"shaver panasonic","86":"shaver panasonic","87":"shaver panasonic","88":"shaver panasonic","89":"shaver panasonic","90":"shaver panasonic","91":"shaver panasonic","92":"shaver panasonic","93":"shaver panasonic","94":"shaver panasonic","95":"shaver panasonic","96":"shaver panasonic","97":"shaver panasonic","98":"shaver panasonic","99":"shaver panasonic"},"product_link":{"0":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-PS4-Latest-Model-500-GB-Jet-Black-Console-\\/321459436277?pt=LH_DefaultDomain_0&hash=item4ad879baf5","1":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-Latest-Model-500-GB-Jet-Black-Console-\\/131467224962?pt=LH_DefaultDomain_0&hash=item1e9c0ea782","2":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-PS4-500-GB-Jet-Black-Console-\\/171564913575?pt=LH_DefaultDomain_0&hash=item27f210d3a7","3":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-500GB-The-Last-of-Us-Remastered-Bundle-Black-\\/261867581805?pt=LH_DefaultDomain_0&hash=item3cf886316d","4":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-PS4-Latest-Model-500-GB-Jet-Black-Console-\\/121512215166?pt=LH_DefaultDomain_0&hash=item1c4ab1427e","5":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-PS4-Latest-Model-500-GB-Jet-Black-Console-\\/321739452651?pt=LH_DefaultDomain_0&hash=item4ae92a70eb","6":"http:\\/\\/www.ebay.com\\/itm\\/BRAND-NEW-Sony-PlayStation-4-BUNDLE-500gb-\\/281672602591?pt=LH_DefaultDomain_0&hash=item4194fed3df","7":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-500GB-Dualshock-Wireless-Control-HDMI-Gaming-Console-Refurb-\\/291398220855?pt=LH_DefaultDomain_0&hash=item43d8affc37","8":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-Latest-Model-500-GB-Jet-Black-Console-w-2-Controllers-\\/191563117865?pt=LH_DefaultDomain_0&hash=item2c9a0d3529","9":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-Latest-Model-500-GB-Jet-Black-Console-NEW-\\/191323651417?pt=LH_DefaultDomain_0&hash=item2c8bc73d59","10":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-Latest-Model-500-GB-Jet-Black-Console-wth-Mortal-Kombat-X-\\/261867577701?pt=LH_DefaultDomain_0&hash=item3cf8862165","11":"http:\\/\\/www.ebay.com\\/itm\\/Genuine-SONY-PS4-Playstation-4-500GB-Gaming-Console-Black-\\/281675418359?pt=LH_DefaultDomain_0&hash=item419529caf7","12":"http:\\/\\/www.ebay.com\\/itm\\/Sony-Playstation-4-PS4-Video-Game-Console-Black-Latest-Model-\\/221619727695?pt=LH_DefaultDomain_0&hash=item339990ad4f","13":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-Latest-Model-500-GB-Jet-Black-Console-\\/121492378177?pt=LH_DefaultDomain_0&hash=item1c49829241","14":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-500-GB-Jet-Black-Console-WITH-LAST-OF-US-REMASTERED-\\/181703768765?pt=LH_DefaultDomain_2&hash=item2a4e637abd","15":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-Latest-Model-500-GB-Jet-Black-Console-\\/321739448586?pt=LH_DefaultDomain_0&hash=item4ae92a610a","16":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-Latest-Model-500-GB-Jet-Black-Console-\\/281668431061?pt=LH_DefaultDomain_0&hash=item4194bf2cd5","17":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-500-GB-Jet-Black-Console-3-controllers-3-games-included-\\/141650033710?pt=LH_DefaultDomain_0&hash=item20fafffc2e","18":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-500GB-Console-with-2-Controllers-\\/181674777653?pt=LH_DefaultDomain_0&hash=item2a4ca91c35","19":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-500GB-The-Last-of-Us-Remastered-Bundle-Black-\\/271852505826?pt=LH_DefaultDomain_0&hash=item3f4bac0ae2","20":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-Latest-Model-500-GB-Jet-Black-Console-\\/191567367225?pt=LH_DefaultDomain_0&hash=item2c9a4e0c39","21":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-Latest-Model-500-GB-Jet-Black-Console-\\/261868106780?pt=LH_DefaultDomain_0&hash=item3cf88e341c","22":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-Latest-Model-500-GB-Jet-Black-Console-\\/131492408652?pt=LH_DefaultDomain_0&hash=item1e9d8eed4c","23":"http:\\/\\/www.ebay.com\\/itm\\/Sony-PlayStation-4-Latest-Model-500-GB-Jet-Black-Console-\\/251935643425?pt=LH_DefaultDomain_0&hash=item3aa888d721","24":"http:\\/\\/www.ebay.com\\/itm\\/Sony-Playstation-4-PS4-1105A-Video-Game-Console-500GB-White-Latest-Model-\\/331397300323?pt=LH_DefaultDomain_0&hash=item4d28d18063","25":"http:\\/\\/www.ebay.com\\/itm\\/NEW-Clinique-Repairwear-Laser-Focus-Wrinkle-Correcting-Eye-Cream-5ml-\\/141015736665?pt=LH_DefaultDomain_0&hash=item20d5316159","26":"http:\\/\\/www.ebay.com\\/itm\\/Obagi-Elastiderm-Eye-Treatment-Cream-0-5-oz-15g-Authentic-NiB-Sealed-5-\\/121451624128?pt=LH_DefaultDomain_0&hash=item1c4714b6c0","27":"http:\\/\\/www.ebay.com\\/itm\\/Lancome-Renergie-Eye-Anti-Wrinkle-Firming-Eye-Cream-0-5oz-New-\\/231520361001?pt=LH_DefaultDomain_0&hash=item35e7b05a29","28":"http:\\/\\/www.ebay.com\\/itm\\/OZ-Naturals-The-BEST-Eye-Gel-Eye-Cream-For-Dark-Circles-Puffiness-and-\\/251819088513?pt=LH_DefaultDomain_0&hash=item3aa1965a81","29":"http:\\/\\/www.ebay.com\\/itm\\/Elastiderm-Eye-Cream-0-5oz-15g-\\/271852609134?pt=LH_DefaultDomain_0&hash=item3f4bad9e6e","30":"http:\\/\\/www.ebay.com\\/itm\\/new-CLINIQUE-Repairwear-Laser-Focus-Wrinkle-Correcting-Eye-Cream-0-17-oz-5-ml-\\/151418586012?pt=LH_DefaultDomain_0&hash=item234140439c","31":"http:\\/\\/www.ebay.com\\/itm\\/NIB-Full-Size-Dermalogica-Multivitamin-Power-Firm-Eye-Cream-\\/331534991663?pt=LH_DefaultDomain_0&hash=item4d3106812f","32":"http:\\/\\/www.ebay.com\\/itm\\/24K-Gold-Collagen-Anti-Dark-Circles-Anti-Aging-Bio-Essence-Repairing-Eye-Cream-\\/171439126019?pt=LH_DefaultDomain_0&hash=item27ea917603","33":"http:\\/\\/www.ebay.com\\/itm\\/Clinique-Repairwear-Laser-Focus-Wrinkle-Correcting-Eye-Cream-Full-Size-5oz-15mL-\\/291408235326?pt=LH_DefaultDomain_0&hash=item43d948cb3e","34":"http:\\/\\/www.ebay.com\\/itm\\/NEW-Clinique-Repairwear-Laser-Focus-Wrinkle-Correcting-Eye-Cream-5ml-\\/141643099643?pt=LH_DefaultDomain_0&hash=item20fa962dfb","35":"http:\\/\\/www.ebay.com\\/itm\\/3-Clinique-Repairwear-Laser-Focus-Wrinkle-Correcting-Eye-Cream-17-oz-5-ml-Each-\\/271850259596?pt=LH_DefaultDomain_0&hash=item3f4b89c48c","36":"http:\\/\\/www.ebay.com\\/itm\\/Lancome-High-Resolution-Eye-Cream-95-Oz-Refill-3X-25-Oz-Plus-20-Oz-Lot-\\/161679604684?pt=LH_DefaultDomain_0&hash=item25a4dafbcc","37":"http:\\/\\/www.ebay.com\\/itm\\/NEW-Clinique-Repairwear-Laser-Focus-Wrinkle-Correcting-Eye-Cream-5ml-\\/251936161971?pt=LH_DefaultDomain_0&hash=item3aa890c0b3","38":"http:\\/\\/www.ebay.com\\/itm\\/Neutrogena-Rapid-Wrinkle-Repair-Eye-Cream-0-5-Oz-New-\\/221755779183?pt=LH_DefaultDomain_0&hash=item33a1aca86f","39":"http:\\/\\/www.ebay.com\\/itm\\/20g-Snail-Repair-Eye-Cream-Natural-Anti-Dark-Circles-Puffiness-Aging-Wrinkles-\\/400900136107?pt=LH_DefaultDomain_0&hash=item5d57829cab","40":"http:\\/\\/www.ebay.com\\/itm\\/Vichy-Neovadiol-GF-Eye-Lip-Contour-Cream-0-5-Fl-Oz-\\/141643942775?pt=LH_DefaultDomain_0&hash=item20faa30b77","41":"http:\\/\\/www.ebay.com\\/itm\\/Obagi-Elastiderm-Eye-Cream-0-5-oz-New-In-Box-100-Authentic-New-Packaging-\\/331533153857?pt=LH_DefaultDomain_0&hash=item4d30ea7641","42":"http:\\/\\/www.ebay.com\\/itm\\/NEW-Clinique-Repairwear-Laser-Focus-Wrinkle-Correcting-Eye-Cream-17oz-5ml-\\/231504943626?pt=LH_DefaultDomain_0&hash=item35e6c51a0a","43":"http:\\/\\/www.ebay.com\\/itm\\/Kiehls-CREAMY-EYE-TREATMENT-cream-with-AVOCADO-0-5-oz-FULL-SIZE-\\/291442921806?pt=LH_DefaultDomain_0&hash=item43db5a114e","44":"http:\\/\\/www.ebay.com\\/itm\\/Clinique-repairwear-laser-focus-wrinkle-correcting-eye-cream-5-oz-15ml-\\/171757581139?pt=LH_DefaultDomain_0&hash=item27fd8cb353","45":"http:\\/\\/www.ebay.com\\/itm\\/Caudalie-Premier-Cru-The-Eye-Cream-La-Creme-New-Anti-Aging-Eye-Treatment-\\/271844794220?pt=LH_DefaultDomain_0&hash=item3f4b365f6c","46":"http:\\/\\/www.ebay.com\\/itm\\/Jeunesse-Instantly-Ageless-New-Box-Of-50-Sachets-Eye-Face-Wrinkle-Cream-\\/191488765385?pt=LH_DefaultDomain_0&hash=item2c959eadc9","47":"http:\\/\\/www.ebay.com\\/itm\\/VELOUR-SKIN-EYE-CREAM-5-FL-OZ-15ML-NEW-NIP-ANTI-AGING-WRINKLE-CREAM-\\/171762640740?pt=LH_DefaultDomain_0&hash=item27fdd9e764","48":"http:\\/\\/www.ebay.com\\/itm\\/Shiseido-White-Lucent-Anti-Dark-Circles-Puffiness-Eye-Cream-15ml-53oz-Full-Size-\\/231416090984?pt=LH_DefaultDomain_0&hash=item35e1795168","49":"http:\\/\\/www.ebay.com\\/itm\\/Murad-Resurgence-Renewing-Eye-Cream-Anti-Aging-25-oz-NEW-Dark-Circles-Wrinkle-\\/141647993816?pt=LH_DefaultDomain_0&hash=item20fae0dbd8","50":"http:\\/\\/www.ebay.com\\/itm\\/D-Link-DIR-615-300Mbps-Wireless-N-Router-4-Port-w-Firewall-\\/221417068842?pt=LH_DefaultDomain_0&hash=item338d7c592a","51":"http:\\/\\/www.ebay.com\\/itm\\/Triton-MOF001-2-1-4hp-dual-mode-precision-Router-New-3-day-auction-\\/321735833636?pt=LH_DefaultDomain_0&hash=item4ae8f33824","52":"http:\\/\\/www.ebay.com\\/itm\\/Porter-Cable-3-1-4-HP-Five-Speed-Router-7518-Power-Tools-Routers-\\/181728302109?pt=LH_DefaultDomain_0&hash=item2a4fd9d41d","53":"http:\\/\\/www.ebay.com\\/itm\\/Linksys-EA6900-AC1900-Wi-Fi-Wireless-Router-Dual-Band-with-Gigabit-USB-3-0-Port-\\/301378755139?pt=LH_DefaultDomain_0&hash=item462b92da43","54":"http:\\/\\/www.ebay.com\\/itm\\/Linksys-EA6500-1300-Mbps-4-Port-Gigabit-Wireless-AC-Router-\\/261859894284?pt=LH_DefaultDomain_0&hash=item3cf810e40c","55":"http:\\/\\/www.ebay.com\\/itm\\/Makita-RT0700CX3-1-1-4-Horsepower-Compact-Router-Kit-Trimmer-NEW-\\/331535015609?pt=LH_DefaultDomain_0&hash=item4d3106deb9","56":"http:\\/\\/www.ebay.com\\/itm\\/NETGEAR-R6250-AC1600-Smart-WiFi-Dual-Band-Gigabit-Router-802-11ac-300-1300-Mbps-\\/331538466703?pt=LH_DefaultDomain_0&hash=item4d313b878f","57":"http:\\/\\/www.ebay.com\\/itm\\/NETGEAR-Nighthawk-AC1900-Dual-Band-Wi-Fi-Gigabit-Router-R7000-BRAND-NEW-SEALED-\\/131493764346?pt=LH_DefaultDomain_0&hash=item1e9da39cfa","58":"http:\\/\\/www.ebay.com\\/itm\\/Netgear-WNDR3400-N600-Wireless-Dual-Band-Router-WNDR3400-100-\\/171742747875?pt=LH_DefaultDomain_0&hash=item27fcaa5ce3","59":"http:\\/\\/www.ebay.com\\/itm\\/Netgear-N600-300-Mbps-4-Port-10-100-Wireless-N-Router-WNDR3400-\\/321732099037?pt=LH_DefaultDomain_0&hash=item4ae8ba3bdd","60":"http:\\/\\/www.ebay.com\\/itm\\/NETGEAR-N600-WNDR3400-Wireless-Dual-Band-Router-F-S-\\/371314644524?pt=LH_DefaultDomain_0&hash=item567413d62c","61":"http:\\/\\/www.ebay.com\\/itm\\/Netgear-NIGHTHAWK-AC1900-1300-Mbps-4-Port-Gigabit-Wireless-AC-Router-R7000-\\/111655240550?pt=LH_DefaultDomain_0&hash=item19ff2bc366","62":"http:\\/\\/www.ebay.com\\/itm\\/Netgear-N900-450-Mbps-4-Port-Gigabit-Wireless-N-Router-WNDR4500-\\/281668416613?pt=LH_DefaultDomain_0&hash=item4194bef465","63":"http:\\/\\/www.ebay.com\\/itm\\/Netgear-R6300V2-AC1750-1300-Mbps-4-Port-Gigabit-Wireless-AC-Router-\\/281672628800?pt=LH_DefaultDomain_0&hash=item4194ff3a40","64":"http:\\/\\/www.ebay.com\\/itm\\/Makita-RT0701C-1-1-4-HP-Compact-Router-With-FACTORY-WARRANTY-\\/181578856229?pt=LH_DefaultDomain_0&hash=item2a46f17725","65":"http:\\/\\/www.ebay.com\\/itm\\/CISCO-LINKSYS-EA4500-DUAL-BAND-N9000-WIRELESS-ROUTER-802-11N-UP-TO-450-MBPs-\\/301601427715?pt=LH_DefaultDomain_0&hash=item4638d89103","66":"http:\\/\\/www.ebay.com\\/itm\\/Netgear-N300-v-3-300-Mbps-5-Port-10-100-Wireless-N-Router-WNR2000-\\/261865282319?pt=LH_DefaultDomain_0&hash=item3cf8631b0f","67":"http:\\/\\/www.ebay.com\\/itm\\/Netgear-Nighthawk-R7000-2330-Mbps-4-Port-Gigabit-Wireless-N-Router-\\/261865168887?pt=LH_DefaultDomain_0&hash=item3cf8615ff7","68":"http:\\/\\/www.ebay.com\\/itm\\/Netgear-N900-450-Mbps-4-Port-Gigabit-Wireless-N-Router-R4500-FreE-ShiPPinG-\\/171763023276?pt=LH_DefaultDomain_0&hash=item27fddfbdac","69":"http:\\/\\/www.ebay.com\\/itm\\/D-Link-Wireless-Router-Model-DIR-625-\\/231542580777?pt=LH_DefaultDomain_0&hash=item35e9036629","70":"http:\\/\\/www.ebay.com\\/itm\\/D-Link-DIR-657-300-Mbps-4-Port-Gigabit-Wireless-N-Router-Hd-Media-Router-1000-\\/111656833712?pt=LH_DefaultDomain_0&hash=item19ff4412b0","71":"http:\\/\\/www.ebay.com\\/itm\\/D-Link-DIR-860L-AC1200-4-Port-Cloud-Router-Gigabit-Wireless-802-11-AC-\\/221756712042?pt=LH_DefaultDomain_0&hash=item33a1bae46a","72":"http:\\/\\/www.ebay.com\\/itm\\/D-Link-DIR-862L-Wireless-AC1600-Dual-Band-Gigabit-Router-\\/321732104185?pt=LH_DefaultDomain_2&hash=item4ae8ba4ff9","73":"http:\\/\\/www.ebay.com\\/itm\\/LINKSYS-AC1600-DUAL-BAND-SMART-WI-FI-ROUTER-EA6400-BRAND-NEW-\\/301604725310?pt=LH_DefaultDomain_0&hash=item46390ae23e","74":"http:\\/\\/www.ebay.com\\/itm\\/Netgear-AC1900-1300-Mbps-4-Port-Gigabit-Wireless-AC-Router-R7000-\\/281674411691?pt=LH_DefaultDomain_0&hash=item41951a6eab","75":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES-LA63-Cordless-Rechargeable-Mens-Electric-Shaver-\\/201337911294?pt=LH_DefaultDomain_0&hash=item2ee0acb7fe","76":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ARC-5-Best-Mens-Shaver-\\/111651584739?pt=LH_DefaultDomain_0&hash=item19fef3fae3","77":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-Es8092-Wet-Dry-Electric-Razor-Shaver-Cordless-\\/111651556626?pt=LH_DefaultDomain_0&hash=item19fef38d12","78":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ARC4-ES-RF31-s-Rechargeable-Electric-Shaver-Wet-dry-4-Nanotech-Blade-\\/321597257608?pt=LH_DefaultDomain_0&hash=item4ae0b0b788","79":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES3831K-Single-Blade-Travel-Shaver-Black-New-\\/351276044722?pt=LH_DefaultDomain_0&hash=item51c9af11b2","80":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES8103S-Arc3-Electric-Shaver-Wet-Dry-with-Nanotech-Blades-for-Men-\\/221755293448?pt=LH_DefaultDomain_0&hash=item33a1a53f08","81":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES8103S-Arc3-Electric-Shaver-Wet-Dry-with-Nanotech-Blades-\\/291427211284?pt=LH_DefaultDomain_0&hash=item43da6a5814","82":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES8243A-Arc4-Electric-Shaver-Wet-Dry-missing-cleaning-brush-\\/121545690510?pt=LH_DefaultDomain_0&hash=item1c4cb00d8e","83":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-Electric-Shaver-Rechargeable-Wet-Dry-Cordless-Foil-ES-RT51s-\\/251931974994?pt=LH_DefaultDomain_0&hash=item3aa850dd52","84":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES3831K-Single-Blade-Wet-Dry-Travel-Shaver-New-Sealed-\\/251856984391?pt=LH_DefaultDomain_0&hash=item3aa3d89947","85":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES8103S-Arc-3-E-W-O-POUCH-MANUAL-Mens-Wet-Dry-Rechargeable-Shaver-\\/181719323897?pt=LH_DefaultDomain_0&hash=item2a4f50d4f9","86":"http:\\/\\/www.ebay.com\\/itm\\/PANASONIC-ES3831K-Pro-Curve-Battery-Operated-Travel-Wet-Dry-Shaver-\\/201264418020?pt=LH_DefaultDomain_0&hash=item2edc4b4ce4","87":"http:\\/\\/www.ebay.com\\/itm\\/PANASONIC-ARC3-ES-LT33-S-WET-DRY-WASHABLE-RECHARGEABLE-MENS-ELECTRIC-SHAVER-NIB-\\/221751055080?pt=LH_DefaultDomain_0&hash=item33a16492e8","88":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES-LV81-k-Arc-5-Wet-Dry-Rechargeable-Mens-Foil-Shaver-New-\\/221751343180?pt=LH_DefaultDomain_0&hash=item33a168f84c","89":"http:\\/\\/www.ebay.com\\/itm\\/NEW-Panasonic-ES-RF31-S-4-Blade-Mens-Electric-Razor-Wet-Dry-Factory-Sealed-\\/291443144053?pt=LH_DefaultDomain_0&hash=item43db5d7575","90":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES8243A-E-Arc4-Mens-Electric-Shaver-Wet-Dry-\\/181670746515?pt=LH_DefaultDomain_0&hash=item2a4c6b9993","91":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES-3833-Wet-Dry-Men-Shaver-Razor-Battery-Operate-Compact-Travel-ES3833-\\/261300467953?pt=LH_DefaultDomain_0&hash=item3cd6b8b8f1","92":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-Pro-Curve-ES3831K-Shaver-Dry-Wet-Technology-Stainless-Steel-Foil-\\/400907349382?pt=LH_DefaultDomain_0&hash=item5d57f0ad86","93":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-Wet-and-Dry-Shaver-ES-RW30s-ES-RW30-S-\\/161543065028?pt=LH_DefaultDomain_0&hash=item259cb78dc4","94":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES-LF51-A-Arc4-Electric-Shaver-Wet-Dry-with-Flexible-Pivoting-Head-\\/201322707162?pt=LH_DefaultDomain_0&hash=item2edfc4b8da","95":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES8103S-Arc3-Mens-Electric-Shaver-Wet-Dry-with-Nanotech-Blades-\\/251927885898?pt=LH_DefaultDomain_0&hash=item3aa812784a","96":"http:\\/\\/www.ebay.com\\/itm\\/panasonic-ARC3-shaver-es8103s-\\/331535358676?pt=LH_DefaultDomain_0&hash=item4d310c1ad4","97":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-ES-534-Mens-Electric-Shaver-New-ES534-Battery-Operated-Compact-Travel-\\/261304623906?pt=LH_DefaultDomain_0&hash=item3cd6f82322","98":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-Portable-Shaving-Machine-Cclippers-Washable-Single-Blade-Shaver-Brush-\\/321716684950?pt=LH_DefaultDomain_0&hash=item4ae7cf0896","99":"http:\\/\\/www.ebay.com\\/itm\\/Panasonic-Arc3-ES-8103S-Wet-Dry-Rechargeable-Shaver-A491-\\/321712866709?pt=LH_DefaultDomain_0&hash=item4ae794c595"},"relevance":{"0":3.67,"1":4.0,"2":4.0,"3":3.67,"4":3.33,"5":3.2,"6":4.0,"7":4.0,"8":3.75,"9":2.33,"10":4.0,"11":4.0,"12":3.33,"13":3.0,"14":3.4,"15":4.0,"16":2.8,"17":4.0,"18":3.0,"19":2.33,"20":4.0,"21":4.0,"22":4.0,"23":4.0,"24":4.0,"25":4.0,"26":3.4,"27":4.0,"28":3.75,"29":4.0,"30":4.0,"31":4.0,"32":4.0,"33":3.67,"34":3.75,"35":4.0,"36":4.0,"37":4.0,"38":4.0,"39":3.4,"40":3.0,"41":4.0,"42":4.0,"43":4.0,"44":4.0,"45":4.0,"46":3.67,"47":3.67,"48":4.0,"49":4.0,"50":4.0,"51":3.0,"52":2.6,"53":4.0,"54":2.33,"55":1.33,"56":4.0,"57":4.0,"58":4.0,"59":3.67,"60":3.67,"61":4.0,"62":3.75,"63":4.0,"64":2.0,"65":4.0,"66":4.0,"67":4.0,"68":4.0,"69":4.0,"70":4.0,"71":4.0,"72":4.0,"73":3.67,"74":4.0,"75":3.33,"76":2.8,"77":2.0,"78":4.0,"79":3.2,"80":2.8,"81":4.0,"82":4.0,"83":4.0,"84":4.0,"85":3.67,"86":4.0,"87":4.0,"88":3.67,"89":3.33,"90":4.0,"91":4.0,"92":3.67,"93":4.0,"94":4.0,"95":3.0,"96":4.0,"97":4.0,"98":3.4,"99":2.33}}
df = pd.DataFrame(data=data)
...ANSWER
Answered 2017-Sep-20 at 03:33Option 1
With transform
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install lucent
Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms, so there are many builds of Rust available at any time. Please refer rust-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page