This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2010-06-13 16:03:52] make | |
eval.c: In function ‘rb_eval_string_wrap’: | |
eval.c:1742: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘rb_eval_cmd’: | |
eval.c:1883: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘call_trace_func’: | |
eval.c:2734: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘rb_raise_jump’: | |
eval.c:4765: warning: assignment discards qualifiers from pointer target type | |
eval.c: In function ‘method_missing’: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% computes the prime factorization of N | |
primeFactorization(N, P) :- | |
primeFactorization_prime(N, [N], [], Q), | |
P = Q. | |
primeFactorization_prime(_N, [], P, Q) :- | |
Q = P. | |
primeFactorization_prime(N, [FH |FT], P, Q) :- | |
factorization(FH, F_factors), | |
pfp_helper([FH|FT], F_factors, N, P, P_prime, F_prime), | |
primeFactorization_prime(N, F_prime, P_prime, Q). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Lnk: | |
<https://Anniepoo:xxxx@api.github.com/search/code?q=member+user%3AAnniepoo&per_page=10&page=2>; | |
rel="next", | |
<https://api.github.com/search/code?q=member+user%3AAnniepoo&per_page=10&page=10>; | |
rel="last" | |
Arfon sez | |
Actually you don't need to include a username or repo. You can make queries like this: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:00] <eazar001> i know it's vague | |
[20:00] <Anniepoo> ok | |
[20:00] <eazar001> Anniepoo: i don't mean to be rude | |
[20:00] <Anniepoo> vague is AI's middle name | |
[20:00] <eazar001> but i must run some errands | |
[20:00] <Anniepoo> ok | |
[20:00] <eazar001> please ask me questions | |
[20:00] <eazar001> or hit me with info while i'm gone | |
[20:00] <Anniepoo> sure | |
[20:00] <eazar001> if you will |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# socket_multicast_sender.py | |
# https://pymotw.com/3/socket/multicast.html | |
# | |
# This was working | |
# | |
# in one terminal | |
# | |
# sudo tcpdump -A -i lo port 20005 | |
# | |
# in a second terminal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
One day Pomatia was invited to tea at the mushrooms beyond the pond. | |
Froggy lived there, and always gave such grand tea parties. | |
They crawled along to the brick path that wound through the garden. | |
They crawled along to a nice ornamental pond, with a little fountain, and lily pads that Froggy loved. | |
They crawled along to a large group of mushrooms under a willow tree, where Mr. Froggy lived. | |
Suddenly old Mrs. Cratchet, who owned the garden, appeared! All the creatures were afraid of Ms. Cratchet, | |
who threw stones at them. | |
They all had a grand time at the tea party. | |
They drank tea, and ate scones, or leaves, or whatever suited them. | |
Finally it was time to leave. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
''' | |
cam_server.py | |
''' | |
import SimpleHTTPServer | |
import SocketServer | |
from urlparse import urlparse | |
from urlparse import parse_qs | |
from threading import Thread, Lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am attempting to install node-red opencv on an Ubuntu 16.04 desktop that already has opencv installed. | |
I attempt to install opencv using the directions on the node-red-contrib-opencv README.md page | |
anniepoo@annieslinux:~/.node-red$ sudo apt-get install libopencv-dev | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Some packages could not be installed. This may mean that you have | |
requested an impossible situation or if you are using the unstable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anniepoo@annieslinux:~/.node-red$ npm install node-red-contrib-opencv | |
npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer | |
node-red-project@0.0.1 /home/anniepoo/.node-red | |
├── hoek@5.0.4 extraneous | |
└── node-red-contrib-opencv@0.1.2 extraneous | |
npm WARN node-red-project@0.0.1 No repository field. | |
npm WARN node-red-project@0.0.1 No license field. | |
a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anniepoo@annieslinux:~/.node-red$ npm install pengines | |
node-red-project@0.0.1 /home/anniepoo/.node-red | |
├── hoek@5.0.4 extraneous | |
└── pengines@1.0.2 extraneous | |
npm WARN enoent ENOENT: no such file or directory, open '/home/anniepoo/.node-red/node_modules/js-yaml/package.json' | |
npm WARN enoent ENOENT: no such file or directory, open '/home/anniepoo/.node-red/node_modules/opencv/package.json' | |
npm WARN node-red-project@0.0.1 No repository field. | |
npm WARN node-red-project@0.0.1 No license field. | |
anniepoo@annieslinux:~/.node-red$ |
OlderNewer