Why	O	O
does	O	O
:	O	O

not	O	O
compile	O	O
but	O	O
:	O	O

compiles	O	O
.	O	O

In	O	O
Java	O	B-Language
+	O	B-Code_Block
=	O	I-Code_Block
operator	O	O
has	O	O
an	O	O
implicit	O	O
cast	O	O
to	O	O
the	O	O
left	O	O
hand	O	O
type	O	O
.	O	O

This	O	O
goes	O	O
for	O	O
all	O	O
composed	O	O
operators	O	O
.	O	O

As	O	O
everyone	O	O
already	O	O
stated	O	O
,	O	O
the	O	O
+	O	B-Code_Block
=	O	I-Code_Block
has	O	O
an	O	O
implicit	O	O
cast	O	O
.	O	O

To	O	O
help	O	O
illustrate	O	O
that	O	O
,	O	O
I	O	O
'm	O	O
going	O	O
to	O	O
use	O	O
an	O	O
app	O	O
I	O	O
wrote	O	O
a	O	O
while	O	O
back	O	O
that	O	O
is	O	O
perfect	O	O
for	O	O
these	O	O
types	O	O
of	O	O
questions	O	O
.	O	O

It	O	O
's	O	O
an	O	O
online	O	O
disassembler	O	O
so	O	O
you	O	O
can	O	O
check	O	O
out	O	O
the	O	O
actual	O	O
bytecode	O	O
that	O	O
's	O	O
being	O	O
produced	O	O
:	O	O
http://javabytes.herokuapp.com/	O	O

And	O	O
a	O	O
table	O	B-User_Interface_Element
of	O	O
their	O	O
meanings	O	O
:	O	O

http://en.wikipedia.org/wiki/Java_bytecode_instruction_listings	O	O

So	O	O
let	O	O
's	O	O
take	O	O
a	O	O
look	O	O
at	O	O
the	O	O
bytecode	O	O
from	O	O
some	O	O
simple	O	O
Java	O	B-Language
code	O	O
:	O	O

Disassembled	O	O
code	O	O
.	O	O

My	O	O
comments	O	O
will	O	O
have	O	O
a	O	O
//	O	B-Value
in	O	O
front	O	O
.	O	O

Say	O	O
,	O	O
I	O	O
have	O	O
a	O	O
vector	O	B-Data_Structure
name	O	O
"	O	O
str	O	B-Variable
"	O	O
,	O	O
which	O	O
contain	O	O
many	O	O
strings	O	B-Data_Type
like	O	O

And	O	O
,	O	O
I	O	O
have	O	O
a	O	O
data	O	B-Class
frame	O	I-Class
named	O	O
'	O	O
States	O	B-Variable
'	O	O
:	O	O

Now	O	O
I	O	O
want	O	O
to	O	O
generate	O	O
an	O	O
extra	O	O
column	O	B-Data_Structure
names	O	O
"	O	O
State	O	B-Variable
"	O	O
for	O	O
"	O	O
str	O	B-Variable
"	O	O
.	O	O

I	O	O
want	O	O
to	O	O
use	O	O
the	O	O
city	O	O
name	O	O
as	O	O
pattern	O	O
to	O	O
"	O	O
grep	O	B-Code_Block
"	O	O
the	O	O
str	O	B-Variable
vector	O	B-Data_Structure
,	O	O
if	O	O
match	O	O
"	O	O
houston	O	O
"	O	O
then	O	O
put	O	O
"	O	O
TX	O	O
"	O	O
in	O	O
the	O	O
new	O	O
column	O	B-Data_Structure
,	O	O
if	O	O
match	O	O
Phoenix	O	O
then	O	O
put	O	O
AZ	O	O
,	O	O
and	O	O
so	O	O
on	O	O
.	O	O

Finally	O	O
I	O	O
want	O	O
to	O	O
get	O	O
a	O	O
data	O	B-Class
frame	O	I-Class
like	O	O
this	O	O
:	O	O

What	O	O
's	O	O
the	O	O
best	O	O
way	O	O
to	O	O
do	O	O
this	O	O
,	O	O
without	O	O
using	O	O
sapply	O	B-Code_Block
or	O	O
for	O	B-Code_Block
loop	O	I-Code_Block
?	O	O

First	O	O
,	O	O
construct	O	O
pattern	O	O
string	O	B-Data_Type
of	O	O
state	O	O
names	O	O

Then	O	O
,	O	O
use	O	O
stringr::str_extract_all	B-Code_Block	B-Function
or	O	O
stringr::str_extract	B-Code_Block	B-Function
to	O	O
extract	O	O
state	O	O
names	O	O
from	O	O
string	O	B-Data_Type
and	O	O
add	O	O
new	O	O
column	O	B-Data_Structure
to	O	O
data	O	B-Class
frame	O	I-Class
.	O	O

Then	O	O
merge	O	O
earlier	O	O
data	O	B-Class
frames	O	I-Class
to	O	O
obtain	O	O
suitable	O	O
data	O	B-Class
frame	O	I-Class
.	O	O

Although	O	O
the	O	O
previous	O	O
answers	O	O
work	O	O
great	O	O
,	O	O
here	O	O
is	O	O
another	O	O
solution	O	O
not	O	O
relying	O	O
on	O	O
external	O	O
packages	O	O
:	O	O

which	O	O
gives	O	O
:	O	O

I	O	O
want	O	O
to	O	O
remove	O	O
a	O	O
container	O	O
defined	O	O
in	O	O
docker-compose.yml	O	B-File_Name
file	O	O
when	O	O
we	O	O
run	O	O
in	O	O
composition/override	O	O
with	O	O
another	O	O
file	O	O
docker-compose.prod.yml	O	B-File_Name
,	O	O
by	O	O
example	O	O
:	O	O

override	O	O
with	O	O
:	O	O

Then	O	O
,	O	O
when	O	O
running	O	O
:	O	O

Actually	O	O
,	O	O
i	O	O
have	O	O
www	B-Code_Block	B-Code_Block
and	O	O
db_for_development	B-Code_Block	B-Code_Block
together	O	O
.	O	O

I	O	O
want	O	O
only	O	O
www	B-Code_Block	B-Code_Block
container	O	O
,	O	O
not	O	O
others	O	O
.	O	O

Live	O	O
Demo	O	O
on	O	O
Shdr	O	B-Application
Editor	O	I-Application
.	O	O

You	O	O
will	O	O
NEED	O	O
to	O	O
change	O	O
the	O	O
top	O	O
right	O	O
to	O	O
cube	O	O
and	O	O
zoom	O	O
in	O	O
to	O	O
see	O	O
the	O	O
effect	O	O
properly	O	O
.	O	O

Vertex	O	O
Shader	O	O
Code	O	O

Fragment	O	O
Shader	O	O
code	O	O

The	O	O
intention	O	O
here	O	O
is	O	O
that	O	O
when	O	O
this	O	O
is	O	O
used	O	O
,	O	O
it	O	O
will	O	O
render	O	O
to	O	O
a	O	O
16x16	O	O
window	O	B-User_Interface_Element
,	O	O
thus	O	O
why	O	O
I	O	O
constrain	O	O
it	O	O
so	O	O
.	O	O

My	O	O
hard	O	O
coding	O	O
of	O	O
the	O	O
mat4	B-Code_Block	B-Class
is	O	O
temporary	O	O
.	O	O

The	O	O
real	O	O
life	O	O
application	O	O
of	O	O
this	O	O
code	O	O
will	O	O
generate	O	O
intelligent	O	O
values	O	O
and	O	O
uniform	O	O
them	O	O
in	O	O
.	O	O

Each	O	O
ivec4	B-Code_Block	B-Class
represents	O	O
a	O	O
quarter	O	O
of	O	O
the	O	O
screen	O	O
(	O	O
64	O	O
pixels	O	O
)	O	O
;	O	O
each	O	O
int	B-Code_Block	B-Data_Type
of	O	O
a	O	O
vector	O	B-Data_Structure
represents	O	O
a	O	O
row	O	B-User_Interface_Element
on	O	O
the	O	O
screen	O	O
(	O	O
16	O	O
pixels	O	O
)	O	O
;	O	O
each	O	O
bit	O	O
of	O	O
an	O	O
int	O	B-Data_Type
represents	O	O
one	O	O
pixel	O	O
.	O	O

Thus	O	O
the	O	O
hard	O	O
coded	O	O
matrix	O	B-Data_Structure
value	O	O
in	O	O
hash	B-Code_Block	B-Variable
should	O	O
highlight	O	O
the	O	O
left	O	O
half	O	O
of	O	O
the	O	O
bottom	O	O
row	O	B-User_Interface_Element
.	O	O

I	O	O
'm	O	O
thoroughly	O	O
confused	O	O
here	O	O
,	O	O
and	O	O
I	O	O
mostly	O	O
need	O	O
someone	O	O
who	O	O
has	O	O
n't	O	O
seen	O	O
my	O	O
code	O	O
before	O	O
to	O	O
have	O	O
a	O	O
look	O	O
through	O	O
it	O	O
and	O	O
find	O	O
where	O	O
I	O	O
went	O	O
wrong	O	O
.	O	O

I	O	O
'm	O	O
stumped	O	O
at	O	O
the	O	O
frag	O	O
shader	O	O
last	O	O
two	O	O
lines	O	O
,	O	O
for	O	O
bit	B-Code_Block	B-Variable
is	O	O
the	O	O
floor	O	O
of	O	O
a	O	O
value	O	O
's	O	O
mod	O	O
2	O	O
:	O	O
either	O	O
0	O	B-Value
or	O	O
1	O	B-Value
,	O	O
but	O	O
what	O	O
's	O	O
rendered	O	O
does	O	O
n't	O	O
show	O	O
that	O	O
.	O	O

Here	O	O
s	O	O
my	O	O
code	O	O
trying	O	O
to	O	O
extend	O	O
a	O	O
textbox	O	B-User_Interface_Element
with	O	O
microsoft	O	B-Website
ajax	O	B-Library
libary	O	O

On	O	O
Page	O	O
code	O	O
is	O	O
as	O	O
follows	O	O
:	O	O

Code	O	O
in	O	O
the	O	O
.js	O	B-File_Type
file	O	O

The	O	O
error	O	O
on	O	O
debug	O	O
is	O	O
as	O	O
follows	O	O

what	O	O
wrong	O	O
am	O	O
i	O	O
doing	O	O
in	O	O
my	O	O
code	O	O
?	O	O

i	O	O
have	O	O
a	O	O
webapp	O	O
written	O	O
with	O	O
spring	O	B-Library
3	O	B-Version
and	O	O
struts	O	B-Library
2	O	B-Version
that	O	O
is	O	O
hosted	O	O
on	O	O
a	O	O
glassfish	O	B-Application
server	O	I-Application
.	O	O

In	O	O
this	O	O
app	O	O
i	O	O
have	O	O
two	O	O
webservices	O	O
that	O	O
need	O	O
to	O	O
do	O	O
some	O	O
background	O	O
work	O	O
without	O	O
delaying	O	O
the	O	O
accessed	O	O
method	O	O
response	O	O
.	O	O

So	O	O
,	O	O
now	O	O
i	O	O
use	O	O
a	O	O
spring	O	B-Class
bean	O	I-Class
that	O	O
uses	O	O
an	O	O
instance	O	O
of	O	O
org.springframework.core.task.TaskExecutor	B-Code_Block	B-Class
and	O	O
from	O	O
there	O	O
i	O	O
run	O	O
my	O	O
new	O	O
thread	O	O
.	O	O

Is	O	O
this	O	O
the	O	O
correct/best	O	O
practice	O	O
approach	O	O
in	O	O
context	O	O
of	O	O
using	O	O
this	O	O
app	O	O
on	O	O
glassfish	O	B-Application
?	O	O

or	O	O
should	O	O
find	O	O
another	O	O
method	O	O
of	O	O
doing	O	O
this	O	O
?	O	O

It	O	O
's	O	O
discouraged	O	O
to	O	O
create	O	O
your	O	O
own	O	O
threads	O	O
because	O	O
the	O	O
app	O	B-Application
server	O	I-Application
is	O	O
meant	O	O
to	O	O
be	O	O
in	O	O
charge	O	O
.	O	O

See	O	O
the	O	O
answers	O	O
to	O	O
Why	O	O
is	O	O
spawning	O	O
threads	O	O
in	O	O
Java	O	B-Language
EE	O	B-Version
container	O	O
discouraged	O	O
?	O	O

However	O	O
in	O	O
practice	O	O
,	O	O
especially	O	O
if	O	O
it	O	O
's	O	O
the	O	O
only	O	O
application	O	O
on	O	O
there	O	O
,	O	O
you	O	O
might	O	O
be	O	O
OK	O	O
,	O	O
especially	O	O
if	O	O
you	O	O
use	O	O
a	O	O
fixed	O	O
thread	O	O
pool	O	O
.	O	O

Be	O	O
sure	O	O
all	O	O
the	O	O
threads	O	O
are	O	O
gone	O	O
when	O	O
you	O	O
undeploy	O	O
the	O	O
app	O	O
.	O	O

(	O	O
I	O	O
expect	O	O
Spring	O	B-Library
classes	O	O
will	O	O
handle	O	O
disposal	O	O
on	O	O
undeploy	O	O
/	O	O
shutdown	O	O
correctly	O	O
,	O	O
if	O	O
you	O	O
declare	O	O
them	O	O
within	O	O
the	O	O
Spring	O	B-Library
container	O	O
)	O	O
.	O	O

I	O	O
'd	O	O
like	O	O
to	O	O
send	O	O
to	O	O
a	O	O
PHP	O	B-Language
page	O	O
a	O	O
FormData	O	B-Class
value	O	O
and	O	O
some	O	O
String	O	B-Data_Type
values	O	O
.	O	O

Here	O	O
's	O	O
my	O	O
code	O	O
on	O	O
the	O	O
JS	O	B-Language
side	O	O
:	O	O

And	O	O
on	O	O
the	O	O
PHP	O	B-Language
side	O	O
:	O	O

Then	O	O
,	O	O
I	O	O
get	O	O
an	O	O
error	O	O
saying	O	O
that	O	O
type	O	B-Variable
and	O	O
id	O	B-Variable
are	O	O
not	O	O
set	O	O
.	O	O

I	O	O
'm	O	O
guessing	O	O
that	O	O
this	O	O
comes	O	O
from	O	O
the	O	O
processData	O	B-Variable
:	O	O
false	O	B-Value
from	O	O
my	O	O
ajax	O	B-Function
call	O	O
.	O	O

But	O	O
without	O	O
this	O	O
,	O	O
I	O	O
get	O	O
the	O	O
inevitable	O	O
Illegal	O	B-Error_Name
Invocation	O	I-Error_Name
,	O	O
coming	O	O
from	O	O
trying	O	O
to	O	O
send	O	O
the	O	O
FormData	O	B-Class
.	O	O

Is	O	O
there	O	O
any	O	O
way	O	O
to	O	O
send	O	O
the	O	O
FormData	O	B-Class
AND	O	O
my	O	O
String	O	B-Data_Type
values	O	O
on	O	O
the	O	O
same	O	O
call	O	O
?	O	O

Thanks	O	O
!	O	O

I	O	O
assume	O	O
you	O	O
are	O	O
using	O	O
the	O	O
FormData	B-Code_Block	B-Class
object	O	O
,	O	O
in	O	O
that	O	O
case	O	O
you	O	O
need	O	O
to	O	O
append	O	O
the	O	O
string	O	B-Data_Type
values	O	O
to	O	O
the	O	O
FormData	B-Code_Block	B-Class
object	O	O
,	O	O
and	O	O
pass	O	O
the	O	O
object	O	O
in	O	O
as	O	O
the	O	O
data	B-Code_Block	B-Variable
parameter	O	O
in	O	O
jQuery	B-Code_Block	B-Library
's	I-Code_Block	O
$	I-Code_Block	B-Function
.ajax	I-Code_Block	I-Function
.	O	O

You	O	O
can	O	O
append	O	O
data	O	O
to	O	O
the	O	O
FormData	B-Code_Block	B-Class
object	O	O
,	O	O
with	O	O
the	O	O
method	O	O
append	B-Code_Block	B-Function
.	O	O

This	O	O
should	O	O
work	O	O
:	O	O

The	O	O
app	O	O
will	O	O
reside	O	O
on	O	O
the	O	O
phone	O	B-Device
.	O	O

But	O	O
not	O	O
visible	O	O
through	O	O
an	O	O
icon	O	B-User_Interface_Element
.	O	O

It	O	O
should	O	O
not	O	O
be	O	O
possible	O	O
to	O	O
close	O	O
the	O	O
app	O	O
through	O	O
background	O	O
refresh	O	O
or	O	O
in	O	O
any	O	O
other	O	O
way	O	O
.	O	O

Is	O	O
It	O	O
Possible	O	O
to	O	O
do	O	O
this	O	O
?	O	O

This	O	O
is	O	O
not	O	O
possible	O	O
.	O	O

It	O	O
may	O	O
be	O	O
possible	O	O
,	O	O
if	O	O
you	O	O
will	O	O
change	O	O
appicon	O	B-User_Interface_Element
to	O	O
transparent	O	B-User_Interface_Element
icon	O	I-User_Interface_Element
,	O	O
but	O	O
Apple	O	B-Website
Documentation	O	O
says	O	O
:	O	O

https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/	O	O

So	O	O
your	O	O
transparent	O	O
part	O	O
will	O	O
become	O	O
black	O	O

I	O	O
'm	O	O
having	O	O
problems	O	O
with	O	O
indexed	O	O
assignments	O	O
in	O	O
the	O	O
vector	O	B-Class
STL	O	B-Library
container	O	O
.	O	O

I	O	O
need	O	O
to	O	O
count	O	O
all	O	O
values	O	O
of	O	O
a	O	O
given	O	O
vector	O	B-Class
(	O	O
called	O	O
_assignments	O	B-Variable
)	O	O
,	O	O
so	O	O
I	O	O
wrote	O	O
this	O	O
function	O	O
(	O	O
with	O	O
extra	O	O
printing	O	O
for	O	O
demonstration	O	O
)	O	O
.	O	O

But	O	O
it	O	O
is	O	O
not	O	O
assigning	O	O
the	O	O
count	O	O
data	O	O
to	O	O
_counts	O	B-Variable
.	O	O

Also	O	O
,	O	O
it	O	O
only	O	O
prints	O	O
in	O	O
(	O	O
1)	O	O
:	O	O
only	O	O
a	O	O
blank	O	O
line	O	O
is	O	O
printed	O	O
in	O	O
(	O	O
2)	O	O
.	O	O

Ex	O	O
.	O	O

If	O	O
_assignments	O	B-Variable
is	O	O
:	O	O

it	O	O
prints	O	O

(	O	O
in	O	O
(	O	O
2)	O	O
the	O	O
output	O	O
should	O	O
be	O	O
spaced	O	O
)	O	O

Edit	O	O
:	O	O
As	O	O
suggested	O	O
in	O	O
the	O	O
comments	O	O
,	O	O
I	O	O
changed	O	O
reserve	O	B-Function
to	O	O
resize	O	B-Function
and	O	O
it	O	O
fixed	O	O
the	O	O
problem	O	O
!	O	O

My	O	O
goal	O	O
is	O	O
to	O	O
create	O	O
new	O	O
entity	O	O
of	O	O
a	O	O
new	O	O
type	O	O
and	O	O
push	O	O
it	O	O
to	O	O
manager	O	O
.	O	O

I	O	O
've	O	O
created	O	O
new	O	O
entity	O	O
type	O	O
:	O	O

To	O	O
be	O	O
able	O	O
to	O	O
create	O	O
new	O	O
entity	O	O
of	O	O
this	O	O
type	O	O
I	O	O
need	O	O
to	O	O
fetch	O	B-Function
metadata	O	I-Function
first	O	O
:	O	O

The	O	O
problem	O	O
is	O	O
that	O	O
I	O	O
have	O	O
an	O	O
error	O	O
on	O	O
the	O	O
line	O	O
entityManager.fetchMetadata()	O	B-Function
:	O	O
"	O	O
TypeError	O	B-Error_Name
:	O	O
Cannot	O	O
call	O	O
method	O	O
'	O	O
then	O	O
'	O	O
of	O	O
undefined	O	O
"	O	O

Why	O	O
I	O	O
'm	O	O
seeing	O	O
this	O	O
error	O	O
?	O	O

does	O	O
fetchMetadata()	O	B-Function
tries	O	O
to	O	O
http	O	O
:	O	O
GET	O	O
metadata	O	O
from	O	O
somewhere	O	O
?	O	O

I	O	O
do	O	O
n't	O	O
have	O	O
it	O	O
anywhere.	O	O
.	O	O
How	O	O
to	O	O
create	O	O
the	O	O
metadata	O	O
then	O	O
?	O	O

UPDATE	O	O
:	O	O

following	O	O
suggestions	O	O
I	O	O
've	O	O
rewrite	O	O
code	O	O
into	O	O
:	O	O

Breeze	O	B-Library
metadata	O	O
is	O	O
information	O	O
about	O	O
all	O	O
the	O	O
objects	O	O
you	O	O
have	O	O
to	O	O
work	O	O
with	O	O
.	O	O

You	O	O
can	O	O
fetch	O	O
metadata	O	O
from	O	O
server-side	O	O
or	O	O
you	O	O
can	O	O
create	O	O
metadata	O	O
by	O	O
yourself	O	O
and	O	O
work	O	O
with	O	O
it	O	O
.	O	O

If	O	O
you	O	O
want	O	O
to	O	O
work	O	O
with	O	O
your	O	O
server-side	O	O
objects	O	O
in	O	O
breeze	O	B-Library
you	O	O
create	O	O
an	O	O
entity	O	O
manager	O	O
with	O	O
var	B-Code_Block	B-Code_Block
entityManager	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
new	I-Code_Block	I-Code_Block
breeze.EntityManager('api/Db')	I-Code_Block	I-Code_Block
;	I-Code_Block	I-Code_Block
where	O	O
api/db	O	O
is	O	O
your	O	O
asp.net	O	B-Library
controller	O	O
.	O	O

This	O	O
controller	O	O
should	O	O
have	O	O
a	O	O
Metadata()	B-Code_Block	B-Function
method	O	O
which	O	O
returns	O	O
repository.Metadata()	B-Code_Block	B-Function
.	O	O

In	O	O
js	O	B-Language
you	O	O
call	O	O
entityManager.fetchMetadata()	B-Code_Block	B-Code_Block
.then(success,failed)	I-Code_Block	I-Code_Block
;	I-Code_Block	I-Code_Block
After	O	O
the	O	O
promise	O	O
of	O	O
fetchMetadata()	B-Code_Block	B-Function
is	O	O
resolved	O	O
,	O	O
breeze	O	B-Library
metadata	O	O
of	O	O
variable	O	O
entityManager	B-Code_Block	B-Variable
is	O	O
full-filled	O	O
and	O	O
you	O	O
can	O	O
start	O	O
working	O	O
with	O	O
your	O	O
server-side	O	B-Application
objects	O	O
in	O	O
js	O	B-Language
with	O	O
breeze	O	B-Library
!	O	O

But	O	O
you	O	O
can	O	O
also	O	O
work	O	O
without	O	O
any	O	O
metadata	O	O
from	O	O
server-side	O	B-Application
and	O	O
create	O	O
it	O	O
on	O	O
the	O	O
fly	O	O
in	O	O
your	O	O
js	O	B-Language
code	O	O
.	O	O

You	O	O
create	O	O
your	O	O
own	O	O
metadataStore	O	B-Class
,	O	O
attach	O	O
it	O	O
to	O	O
entitymanager	O	B-Class
.	O	O

Pseudo	O	O
code	O	O
:	O	O

Here	O	O
is	O	O
a	O	O
working	O	O
sample	O	O
from	O	O
breeze	O	B-Library
with	O	O
on-the-fly	O	O
metadata	O	O
http://www.breezejs.com/breeze-labs/breezedirectivesvalidation	O	O

You	O	O
click	O	O
on	O	O
code	O	O
button	O	B-User_Interface_Element
or	O	O
just	O	O
go	O	O
to	O	O
http://plnkr.co/edit/lxPAbIJmRaLmyagXQAFC?p=info	O	O
to	O	O
see	O	O
sources	O	O

Also	O	O
take	O	O
a	O	O
look	O	O
at	O	O
this	O	O
link	O	O
in	O	O
breeze	O	B-Library
docs	O	O
http://www.breezejs.com/documentation/metadata	O	O

I	O	O
'm	O	O
trying	O	O
the	O	O
new	O	O
Firefox	O	B-Application
Developer	O	I-Application
Edition	O	I-Application
.	O	O

I	O	O
'm	O	O
struggling	O	O
to	O	O
get	O	O
the	O	O
WebIDE	O	B-Application
to	O	O
run	O	O
a	O	O
project	O	O
in	O	O
my	O	O
smartphone	O	B-Device
.	O	O

In	O	O
the	O	O
documentation	O	O
,	O	O
it	O	O
's	O	O
said	O	O
you	O	O
can	O	O
debug	O	O
an	O	O
app	O	O
using	O	O
Chrome	O	B-Application
37+	O	B-Version
on	O	O
android	O	B-Operating_System
.	O	O

When	O	O
I	O	O
connect	O	O
it	O	O
to	O	O
my	O	O
mac	O	B-Device
,	O	O
I	O	O
can	O	O
get	O	O
the	O	O
WebIDE	O	B-Application
to	O	O
recognize	O	O
the	O	O
device	O	O
,	O	O
but	O	O
when	O	O
I	O	O
try	O	O
to	O	O
run	O	O
it	O	O
,	O	O
I	O	O
get	O	O
this	O	O
error	O	O
:	O	O
"	O	O
Operation	O	B-Error_Name
failed	O	I-Error_Name
:	O	O
installing	O	O
and	O	O
running	O	O
app	O	O
:	O	O
Ca	O	O
n't	O	O
install	O	O
"	O	O
.	O	O

What	O	O
am	O	O
I	O	O
missing	O	O
?	O	O

I	O	O
already	O	O
setup	O	O
developer	O	O
mode	O	O
on	O	O
android	O	B-Operating_System
and	O	O
turned	O	O
on	O	O
debugg	O	O
usb	O	O
mode	O	O
.	O	O

Thanks	O	O
in	O	O
advance	O	O
!	O	O

When	O	O
my	O	O
program	O	O
comes	O	O
to	O	O
this	O	O
method	O	O
it	O	O
never	O	O
seems	O	O
to	O	O
update	O	O
the	O	O
target	O	B-Variable
value	O	O
.	O	O

If	O	O
I	O	O
input	O	O
"	O	B-Value
dave	O	I-Value
"	O	I-Value
it	O	O
will	O	O
remain	O	O
"	O	B-Value
dave	O	I-Value
"	O	I-Value
no	O	O
matter	O	O
how	O	O
many	O	O
calls	O	O
to	O	O
the	O	O
method	O	O
are	O	O
made	O	O
.	O	O

If	O	O
I	O	O
add	O	O
a	O	O
friend	O	B-Class
via	O	O
this	O	O
addFriend	O	B-Function
method	O	O
firstFriend	O	B-Variable
will	O	O
end	O	O
up	O	O
printing	O	O
whatever	O	O
the	O	O
last	O	O
added	O	O
name	O	O
was	O	O
.	O	O

If	O	O
the	O	O
inputted	O	O
named	O	O
were	O	O
rob	O	B-Value
bill	O	I-Value
and	O	O
travis	O	B-Value

The	O	O
output	O	O
would	O	O
be	O	O
travis	O	B-Value
travis	O	I-Value
travis	O	I-Value
.	O	O

The	O	O
else	O	O
part	O	O
needs	O	O
to	O	O
go	O	O
away	O	O
.	O	O

The	O	O
effect	O	O
of	O	O
this	O	O
code	O	O
is	O	O
that	O	O
it	O	O
only	O	O
checks	O	O
the	O	O
first	O	O
value	O	O
and	O	O
if	O	O
it	O	O
is	O	O
not	O	O
the	O	O
value	O	O
that	O	O
you	O	O
want	O	O
to	O	O
look	O	O
up	O	O
it	O	O
is	O	O
coming	O	O
out	O	O
straight	O	O
away	O	O
.	O	O

Change	O	O

to	O	O
return	B-Code_Block	B-Code_Block
null	I-Code_Block	I-Code_Block
;	I-Code_Block	I-Code_Block

and	O	O
remove	O	O
the	O	O
else	O	B-Code_Block
part	O	O
mentioned	O	O
above	O	O

You	O	O
always	O	O
return	O	O
in	O	O
the	O	O
first	O	O
iteration	O	O
of	O	O
the	O	O
loop	O	O
.	O	O

If	O	O
the	O	O
person	O	B-Class
is	O	O
found	O	O
it	O	O
's	O	O
returned	O	O
(	O	O
the	O	O
if	B-Code_Block	B-Code_Block
branch	O	O
)	O	O
,	O	O
and	O	O
if	O	O
it	O	O
is	O	O
n't	O	O
,	O	O
null	B-Code_Block	B-Value
is	O	O
returned	O	O
(	O	O
the	O	O
else	B-Code_Block	B-Code_Block
branch	O	O
)	O	O
.	O	O

Instead	O	O
,	O	O
you	O	O
should	O	O
keep	O	O
iterating	O	O
until	O	O
you	O	O
find	O	O
the	O	O
correct	O	O
person	O	B-Class
or	O	O
exhaust	O	O
the	O	O
list	O	B-Data_Structure
.	O	O

The	O	O
first	O	O
condition	O	O
,	O	O
BTW	O	O
,	O	O
is	O	O
a	O	O
subset	O	O
of	O	O
the	O	O
loop	O	O
(	O	O
if	O	O
firstPerson	B-Code_Block	B-Variable
is	O	O
null	B-Code_Block	B-Value
target	O	B-Variable
will	O	O
just	O	O
become	O	O
null	B-Code_Block	B-Value
immediately	O	O
)	O	O
,	O	O
and	O	O
can	O	O
(	O	O
should	O	O
!	O	O
)	O	O

also	O	O
be	O	O
removed	O	O
:	O	O

I	O	O
have	O	O
asked	O	O
a	O	O
question	O	O
before	O	O
about	O	O
retrieving	O	O
a	O	O
pdf	O	B-File_Type
file	O	O
from	O	O
database	O	O
,	O	O
and	O	O
got	O	O
the	O	O
answer	O	O
for	O	O
my	O	O
question	O	O
.	O	O

Eventhough	O	O
that	O	O
code	O	O
was	O	O
working	O	O
for	O	O
me	O	O
earlier	O	O
,	O	O
I	O	O
am	O	O
currently	O	O
not	O	O
able	O	O
to	O	O
retrieve	O	O
file	O	O
contents	O	O
,	O	O
only	O	O
file	O	O
name	O	O
from	O	O
the	O	O
database	O	O
(	O	O
like	O	O
:	O	O

"	B-Code_Block	B-Code_Block
%	I-Code_Block	I-Code_Block
PDF-1.4	I-Code_Block	I-Code_Block
1	I-Code_Block	I-Code_Block
0	I-Code_Block	I-Code_Block
obj	I-Code_Block	I-Code_Block
<</AcroForm	I-Code_Block	I-Code_Block
<</DR	I-Code_Block	I-Code_Block
<</Font	I-Code_Block	I-Code_Block
<</Helvetica	I-Code_Block	I-Code_Block
220	I-Code_Block	I-Code_Block
0	I-Code_Block	I-Code_Block
R>>	I-Code_Block	I-Code_Block
/ProcSet	I-Code_Block	I-Code_Block
[/PDF	I-Code_Block	I-Code_Block
/Text]>>	I-Code_Block	I-Code_Block
/Fields	I-Code_Block	I-Code_Block
"	I-Code_Block	I-Code_Block
)	I-Code_Block	I-Code_Block
.	O	O

Here	O	O
is	O	O
my	O	O
code	O	O
:	O	O

My	O	O
uploaded	O	O
code	O	O
:	O	O

In	O	O
the	O	O
database	O	O
filed	O	O
is	O	O
a	O	O
varchar	B-Code_Block	B-Data_Type
.	O	O

suppose	O	O
that	O	O
using	O	O
a	O	O
JFilechooser	O	B-Class
,	O	O
we	O	O
choosed	O	O
a	O	O
text	O	B-File_Type
file	O	O
which	O	O
contained	O	O
1	O	O
line	O	O
,	O	O
say.	O	O
.	O	O
"	O	B-Value
hello	O	I-Value
world	O	I-Value
"	O	I-Value

when	O	O
we	O	O
print	O	O
the	O	O
file	O	O
contents	O	O
we	O	O
get	O	O
"	B-Code_Block	B-Value
hello	I-Code_Block	I-Value
world	I-Code_Block	I-Value
"	I-Code_Block	I-Value

but	O	O
what	O	O
happens	O	O
if	O	O
we	O	O
changed	O	O
the	O	O
text	O	B-File_Type
file	O	O
contents	O	O
and	O	O
added	O	O
some	O	O
new	O	O
lines	O	O
,	O	O
and	O	O
printed	O	O
again	O	O
,	O	O
does	O	O
java	O	B-Language
stores	O	O
the	O	O
file	O	O
in	O	O
memory	O	O
?	O	O

or	O	O
it	O	O
will	O	O
reads	O	O
it	O	O
again	O	O
,	O	O
and	O	O
consequently	O	O
prints	O	O
the	O	O
new	O	O
lines	O	O
we	O	O
added	O	O
?	O	O

That	O	O
depends	O	O
on	O	O
what	O	O
you	O	O
do	O	O
.	O	O

The	O	O
rules	O	O
are	O	O
simple	O	O
:	O	O
when	O	O
you	O	O
read	O	O
it	O	O
again	O	O
by	O	O
using	O	O
a	O	O
FileInputStream	B-Code_Block	B-Class
or	O	O
a	O	O
FileReader	B-Code_Block	B-Class
,	O	O
you	O	O
will	O	O
always	O	O
get	O	O
the	O	O
latest	O	O
content	O	O
.	O	O

The	O	O
OS	O	O
might	O	O
optimize	O	O
this	O	O
in	O	O
memory	O	O
,	O	O
if	O	O
the	O	O
file	O	O
is	O	O
not	O	O
edited	O	O
.	O	O

If	O	O
you	O	O
simply	O	O
keep	O	O
the	O	O
file	O	O
contents	O	O
into	O	O
a	O	O
self	O	O
constructed	O	O
buffer	O	O
(	O	O
e.g	O	O
.	O	O
:	O	O
a	O	O
String	B-Code_Block	B-Data_Type
or	O	O
a	O	O
byte[]	B-Code_Block	B-Data_Type
)	O	O
,	O	O
and	O	O
the	O	O
file	O	O
changes	O	O
,	O	O
of	O	O
course	O	O
the	O	O
buffer	O	O
will	O	O
remained	O	O
unchanged	O	O
.	O	O

When	O	O
you	O	O
create	O	O
a	O	O
File	B-Code_Block	B-Class
,	O	O
nothing	O	O
actually	O	O
happens	O	O
.	O	O

The	O	O
location	O	O
of	O	O
the	O	O
file	O	O
is	O	O
stored	O	O
,	O	O
nothing	O	O
else	O	O
.	O	O

It	O	O
's	O	O
like	O	O
setting	O	O
your	O	O
GPS	O	B-Device
to	O	O
go	O	O
somewhere	O	O
versus	O	O
driving	O	O
there	O	O
.	O	O

From	O	O
the	O	O
Javadoc	O	B-Application
:	O	O

When	O	O
you	O	O
read	O	O
from	O	O
the	O	O
file	O	O
,	O	O
you	O	O
'll	O	O
get	O	O
the	O	O
contents	O	O
of	O	O
the	O	O
file	O	O
.	O	O

I	O	O
have	O	O
a	O	O
table	O	B-User_Interface_Element
that	O	O
has	O	O
a	O	O
column	O	B-User_Interface_Element
with	O	O
Yes/No	O	B-Value
as	O	O
possible	O	O
values	O	O

I	O	O
need	O	O
to	O	O
show	O	O
the	O	O
row	O	B-User_Interface_Element
if	O	O
ActiveYN	O	B-Variable
is	O	O
'	O	B-Value
Yes	O	I-Value
'	O	B-Value
and	O	O
Hide	O	O
id	O	O
ActiveYN	O	B-Variable
is	O	O
'	O	B-Value
No	O	I-Value
'	O	B-Value

How	O	O
can	O	O
i	O	O
access	O	O
the	O	O
ActiveYN	O	B-Variable
inside	O	O
JQuery	O	B-Library
and	O	O
show/hide	O	O
accordingly	O	O
?	O	O

You	O	O
can	O	O
do	O	O
it	O	O
from	O	O
server	O	B-Application
side	O	O
itself	O	O
.	O	O

I	O	O
do	O	O
n't	O	O
know	O	O
the	O	O
razor	O	B-Language
syntax	O	O
,	O	O
but	O	O
you	O	O
get	O	O
the	O	O
idea	O	O
.	O	O

To	O	O
be	O	O
able	O	O
to	O	O
do	O	O
it	O	O
from	O	O
client-side	O	B-Application
,	O	O
add	O	O
a	O	O
class	O	O
.	O	O

And	O	O
then	O	O
in	O	O
jQuery	O	B-Library
:	O	O

Edited	O	O
again	O	O
after	O	O
your	O	O
question	O	O
was	O	O
edited	O	O
,	O	O
now	O	O
if	O	O
we	O	O
forget	O	O
the	O	O
server-side	O	B-Application
altogether	O	O
:	O	O

Use	O	O
this	O	O
statement	O	O
in	O	O
your	O	O
button	O	B-User_Interface_Element
click	O	O
handler	O	O
function	O	O
.	O	O

But	O	O
,	O	O
remember	O	O
it	O	O
will	O	O
also	O	O
find	O	O
any	O	O
text	O	O
which	O	O
contains	O	O
"	O	B-Value
No	O	I-Value
"	O	I-Value
anywhere	O	O
in	O	O
a	O	O
row	O	B-User_Interface_Element
.	O	O

To	O	O
make	O	O
it	O	O
more	O	O
precise	O	O
,	O	O
use	O	O
regular	O	O
expressions	O	O
to	O	O
search	O	O
exactly	O	O
a	O	O
"	O	B-Value
No	O	I-Value
"	O	I-Value
.	O	O

DEMO	O	O

I	O	O
am	O	O
using	O	O
sort	B-Code_Block	B-Code_Block
command	O	O
in	O	O
Linux	O	B-Operating_System
to	O	O
sort	O	B-Code_Block
strings	O	B-Data_Type
.	O	O

The	O	O
problem	O	O
is	O	O
that	O	O
my	O	O
strings	O	B-Data_Type
contains	O	O
non	O	O
letter	O	O
characters	O	O
such	O	O
as	O	O
!	B-Code_Block	B-Code_Block
{%^$@#)(	I-Code_Block	I-Code_Block
.	O	O

I	O	O
have	O	O
noticed	O	O
that	O	O
sort	B-Code_Block	B-Code_Block
in	O	O
Linux	O	B-Operating_System
ignores	O	O
these	O	O
characters	O	O
and	O	O
sort	O	B-Code_Block
based	O	O
on	O	O
letters	O	O
only	O	O
.	O	O

However	O	O
,	O	O
I	O	O
want	O	O
to	O	O
sort	O	B-Code_Block
based	O	O
on	O	O
these	O	O
characters	O	O
'	O	O
ASCII	O	O
code	O	O
also	O	O
.	O	O

Use	O	O
a	O	O
locale	O	O
of	O	O
"	O	B-Value
C	O	I-Value
"	O	I-Value
to	O	O
force	O	O
bitwise	O	O
collation	O	O
.	O	O

well	O	O
i	O	O
have	O	O
this	O	O
string	O	B-Data_Type

how	O	O
do	O	O
i	O	O
get	O	O
the	O	O
value	O	O
of	O	O
iddiagrama	O	B-Variable
,	O	O
nombre	O	B-Variable
,	O	O
tipo	O	B-Variable
,	O	O
descripcion	O	B-Variable
!	O	O

note	O	O
,	O	O
there	O	O
are	O	O
more	O	O
than	O	O
1	O	O
of	O	O
everyone	O	O
!	O	O

for	O	O
example	O	O
i	O	O
would	O	O
to	O	O
get	O	O
i	O	O
dont	O	O
know	O	O
!	O	O

maybe	O	O
in	O	O
a	O	O
array	O	B-Data_Structure
something	O	O
so	O	O

and	O	O
the	O	O
same	O	O
with	O	O
tipo	O	B-Variable
,	O	O
and	O	O
description	O	B-Variable

some	O	O
idea	O	O
?	O	O

*	O	O
other	O	O
thing	O	O

the	O	O
lenght	O	O
of	O	O
characteres	O	B-Data_Type
Change	O	O
!	O	O

because	O	O
it	O	O
is	O	O
a	O	O
query	O	O
since	O	O
a	O	O
webservice	O	O
!	O	O

i	O	O
am	O	O
trying	O	O
it	O	O
manuallity	O	O
does	O	O
someone	O	O
has	O	O
a	O	O
example	O	O
for	O	O
to	O	O
do	O	O
it	O	O
with	O	O
a	O	O
library	O	O
?	O	O

one	O	O
way	O	O
is	O	O
to	O	O
concatenate	O	O
the	O	O
strings	O	B-Data_Type
in	O	O
the	O	O
array	O	B-Data_Structure
to	O	O
form	O	O
a	O	O
string	O	B-Data_Type
by	O	O
running	O	O
a	O	O
for	O	B-Code_Block
loop	O	O
around	O	O
each	O	O
array	O	B-Data_Structure
.	O	O

Is	O	O
that	O	O
what	O	O
you	O	O
're	O	O
trying	O	O
to	O	O
do	O	O
?	O	O

It	O	O
seems	O	O
like	O	O
your	O	O
string	O	B-Data_Type
contains	O	O
data	O	O
coded	O	O
in	O	O
JSON	O	B-File_Type
format	O	O
.	O	O

You	O	O
may	O	O
use	O	O
a	O	O
JSON	O	B-File_Type
library	O	O
like	O	O
google-gson	O	B-Library
.	O	O

Then	O	O
you	O	O
do	O	O
n't	O	O
have	O	O
to	O	O
parse	O	O
the	O	O
string	O	B-Data_Type
manually	O	O
.	O	O

So	O	O
I	O	O
am	O	O
fairly	O	O
new	O	O
to	O	O
iOS	O	B-Operating_System
development	O	O
and	O	O
have	O	O
decide	O	O
to	O	O
create	O	O
a	O	O
project	O	O
of	O	O
my	O	O
own	O	O
.	O	O

This	O	O
app	O	O
is	O	O
using	O	O
Parse	O	B-Library
as	O	O
it	O	O
's	O	O
backend	O	O
.	O	O

I	O	O
know	O	O
that	O	O
it	O	O
is	O	O
better	O	O
to	O	O
have	O	O
all	O	O
the	O	O
database	O	O
calls	O	O
in	O	O
one	O	O
class	O	O
,	O	O
but	O	O
am	O	O
unsure	O	O
of	O	O
the	O	O
best	O	O
way	O	O
to	O	O
do	O	O
it	O	O
.	O	O

So	O	O
far	O	O
I	O	O
have	O	O
two	O	O
options	O	O
:	O	O

Create	O	O
separate	O	O
.h	O	B-File_Type
and	O	O
.m	O	B-File_Type
files	O	O
and	O	O
put	O	O
all	O	O
database	O	O
accessors	O	O
there	O	O
as	O	O
static	O	B-Data_Type
methods	O	O

Create	O	O
base	O	O
.h	O	B-File_Type
and	O	O
.m	O	B-File_Type
files	O	O
(	O	O
that	O	O
inherit	O	O
from	O	O
UIViewController	O	B-Class
)	O	O
and	O	O
put	O	O
all	O	O
the	O	O
calls	O	O
there	O	O
.	O	O

Then	O	O
derive	O	O
all	O	O
my	O	O
other	O	O
view	O	O
controllers	O	O
in	O	O
the	O	O
app	O	O
from	O	O
this	O	O
one	O	O
.	O	O

Which	O	O
of	O	O
these	O	O
two	O	O
options	O	O
is	O	O
better	O	O
?	O	O

Or	O	O
is	O	O
there	O	O
a	O	O
better	O	O
way	O	O
to	O	O
do	O	O
this	O	O
than	O	O
these	O	O
two	O	O
options	O	O
?	O	O

While	O	O
this	O	O
is	O	O
purely	O	O
opinion	O	O
based	O	O
I	O	O
would	O	O
argue	O	O
for	O	O
solution	O	O
1	O	O
.	O	O

This	O	O
creates	O	O
a	O	O
good	O	O
separation	O	O
of	O	O
code	O	O
and	O	O
makes	O	O
it	O	O
clear	O	O
where	O	O
the	O	O
database	O	O
methods	O	O
are	O	O
located	O	O
both	O	O
when	O	O
looking	O	O
at	O	O
a	O	O
view	O	O
controller	O	O
.	O	O

Compare	O	O
[	B-Code_Block	B-Code_Block
DBConnector	I-Code_Block	I-Code_Block
performDatabaseMethod	I-Code_Block	I-Code_Block
]	I-Code_Block	I-Code_Block
to	O	O
[	B-Code_Block	B-Code_Block
self	I-Code_Block	I-Code_Block
performDatabaseMethod	I-Code_Block	I-Code_Block
]	I-Code_Block	I-Code_Block
the	O	O
second	O	O
one	O	O
seems	O	O
weird	O	O
and	O	O
out	O	O
of	O	O
place	O	O
if	O	O
self	B-Code_Block	B-Variable
is	O	O
a	O	O
UIViewController	B-Code_Block	B-Class
subclass	O	O
.	O	O

Another	O	O
option	O	O
is	O	O
using	O	O
a	O	O
singleton	O	O
database	O	O
accessor	O	O
which	O	O
you	O	O
access	O	O
using	O	O
[	B-Code_Block	B-Code_Block
[	B-Code_Block	B-Code_Block
DBConnector	B-Code_Block	B-Code_Block
sharedInstance	I-Code_Block	I-Code_Block
]	I-Code_Block	I-Code_Block
performMethod	B-Code_Block	B-Code_Block
]	I-Code_Block	I-Code_Block
where	O	O
sharedInstance	B-Code_Block	B-Variable
looks	O	O
something	O	O
like	O	O
this	O	O
.	O	O

Using	O	O
flexigrid	O	B-Application
,	O	O
I	O	O
have	O	O
two	O	O
buttons	O	B-User_Interface_Element
(	O	O
add	O	O
,	O	O
delete	O	O
)	O	O
on	O	O
the	O	O
toolbar	O	B-User_Interface_Element
.	O	O

When	O	O
the	O	O
add	O	O
button	O	B-User_Interface_Element
is	O	O
clicked	O	O
,	O	O
I	O	O
want	O	O
to	O	O
create	O	O
a	O	O
fancybox	O	B-Application
input	O	O
form	O	B-User_Interface_Element
.	O	O

How	O	O
can	O	O
I	O	O
do	O	O
this	O	O
?	O	O

Here	O	O
is	O	O
my	O	O
code	O	O
:	O	O

Check	O	O
out	O	O
the	O	O
ColorBox	O	B-Application
plugin	O	I-Application
example	O	O
here	O	O
.	O	O

In	O	O
Excel	O	B-Application
I	O	O
using	O	O
a	O	O
Data	O	B-Data_Structure
Table	O	I-Data_Structure
that	O	O
connects	O	O
via	O	O
a	O	O
data	O	O
connection	O	O
string	O	B-Data_Type
to	O	O
an	O	O
sql	O	B-Language
server	O	B-Application
procedure	O	O
.	O	O

The	O	O
procedure	O	O
accepts	O	O
some	O	O
parameters	O	O
querys	O	O
and	O	O
then	O	O
returns	O	O
the	O	O
data	O	O
to	O	O
the	O	O
excel	O	B-Application
data	O	B-Data_Structure
table	O	I-Data_Structure
.	O	O

This	O	O
has	O	O
worked	O	O
well	O	O
for	O	O
quite	O	O
a	O	O
while	O	O
.	O	O

Now	O	O
the	O	O
users	O	O
have	O	O
started	O	O
to	O	O
randomly	O	O
get	O	O
the	O	O
following	O	O
error	O	O
message	O	O
.	O	O

This	O	O
is	O	O
happening	O	O
randomly	O	O
as	O	O
the	O	O
user	O	O
try	O	O
's	O	O
it	O	O
again	O	O
and	O	O
it	O	O
works	O	O
.	O	O

Nothing	O	O
else	O	O
is	O	O
on	O	O
the	O	O
spreadsheet	O	B-User_Interface_Element
and	O	O
the	O	O
returned	O	O
information	O	O
is	O	O
well	O	O
within	O	O
any	O	O
row	O	B-Data_Structure
count	O	O
limitation	O	O
that	O	O
excel	O	B-Application
may	O	O
have	O	O
.	O	O

I	O	O
was	O	O
able	O	O
to	O	O
isolate	O	O
the	O	O
cause	O	O
of	O	O
the	O	O
error	O	O
.	O	O

If	O	O
you	O	O
have	O	O
something	O	O
on	O	O
your	O	O
clipboard	O	B-Application
and	O	O
then	O	O
refresh	O	O
your	O	O
table	O	B-Data_Structure
it	O	O
causes	O	O
a	O	O
conflict	O	O
when	O	O
the	O	O
records	O	O
are	O	O
returned	O	O
.	O	O

After	O	O
clearing	O	O
my	O	O
clipboard	O	B-Application
and	O	O
refreshing	O	O
it	O	O
worked	O	O
fine	O	O
.	O	O

This	O	O
most	O	O
be	O	O
a	O	O
flaw	O	O
in	O	O
the	O	O
version	O	O
of	O	O
Excel	O	B-Application
I	O	O
'm	O	O
using	O	O
-	O	O
2016	O	B-Version
.	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
make	O	O
a	O	O
calculator	O	B-Application
app	O	O
but	O	O
unfortunately	O	O
I	O	O
am	O	O
getting	O	O
stuck	O	O
with	O	O
parsing	O	O
the	O	O
string	O	B-Data_Type
.	O	O

The	O	O
application	O	O
takes	O	O
input	O	O
and	O	O
displays	O	O
it	O	O
in	O	O
an	O	O
EditText	B-Code_Block	B-Class
et2	I-Code_Block	B-Variable
.	O	O

The	O	O
calculator	O	B-Application
does	O	O
the	O	O
following	O	O
job	O	O
when	O	O
"	O	O
equal	O	B-Keyboard_IP
"	O	O
key	O	O
is	O	O
pressed	O	O
.	O	O

I	O	O
get	O	O
a	O	O
NumberFormatException	O	B-Error_Name
error	O	O
.	O	O

Here	O	O
's	O	O
is	O	O
the	O	O
error	O	O
log	O	O
:	O	O

You	O	O
are	O	O
try	O	O
to	O	O
parse	O	O
an	O	O
none	O	O
Integer	O	B-Data_Type
value	O	O
to	O	O
Integer	O	B-Data_Type

Follow	O	O
the	O	O
number	O	O
of	O	O
line	O	O
provided	O	O
in	O	O
the	O	O
logcat	O	B-Application
to	O	O
correct	O	O
your	O	O
mistake	O	O

your	O	O
error	O	O
must	O	O
be	O	O
happened	O	O
here	O	O

other	O	O
here	O	O

try	O	O
to	O	O
do	O	O
this	O	O

and	O	O
check	O	O
if	O	O
the	O	O
leftString	B-Code_Block	B-Variable
can	O	O
be	O	O
converted	O	O
into	O	O
float/Integer	B-Code_Block	B-Data_Type

So	O	O
problem	O	O
is	O	O
that	O	O
your	O	O
String	B-Code_Block	B-Data_Type
has	O	O
invalid	O	O
format	O	O
and	O	O
cannot	O	O
be	O	O
parsed	O	O
to	O	O
number	O	B-Data_Type
.	O	O

So	O	O
my	O	O
suggestion	O	O
is	O	O
to	O	O
use	O	O
for	O	O
example	O	O
regex	O	O
before	O	O
you	O	O
will	O	O
perform	O	O
parsing	O	O
:	O	O

Note	O	O
:	O	O
Also	O	O
add	O	O
try-catch	O	B-Code_Block
block	O	O
to	O	O
catch	O	O
Exception	B-Code_Block	B-Code_Block
and	O	O
make	O	O
some	O	O
log	O	O
about	O	O
problem	O	O
(	O	O
print	O	O
string	O	B-Data_Type
value	O	O
for	O	O
example	O	O
)	O	O
.	O	O

I	O	O
was	O	O
thinking	O	O
of	O	O
using	O	O
.NET	O	B-Library
DLR	O	B-Application
for	O	O
a	O	O
project	O	O
,	O	O
but	O	O
I	O	O
see	O	O
it	O	O
has	O	O
n't	O	O
changed	O	O
since	O	O
2010	O	O
.	O	O

Does	O	O
anyone	O	O
know	O	O
if	O	O
this	O	O
project	O	O
will	O	O
be	O	O
maintained	O	O
or	O	O
if	O	O
it	O	O
has	O	O
been	O	O
superseded	O	O
by	O	O
anything	O	O
else	O	O
?	O	O

I	O	O
am	O	O
afraid	O	O
to	O	O
start	O	O
a	O	O
project	O	O
that	O	O
heavily	O	O
depends	O	O
on	O	O
the	O	O
DLR	O	B-Application
if	O	O
DLR	O	B-Application
is	O	O
no	O	O
longer	O	O
supported	O	O
by	O	O
Microsoft	O	B-Website
.	O	O

It	O	O
got	O	O
integrated	O	O
into	O	O
.net	O	B-Library
in	O	O
version	O	O
4.0	O	B-Version
in	O	O
April	O	O
2010	O	O
.	O	O

As	O	O
such	O	O
,	O	O
the	O	O
DLR	O	B-Application
project	O	O
itself	O	O
is	O	O
n't	O	O
updated	O	O
anymore	O	O
.	O	O

The	O	O
msdn	O	B-Website
has	O	O
a	O	O
good	O	O
overview	O	O
:	O	O
Dynamic	O	O
Language	O	O
Runtime	O	O
Overview	O	O
.	O	O

when	O	O
my	O	O
socket	O	B-Library
io	O	I-Library
client	O	B-Application
connect	O	O
to	O	O
the	O	O
server	O	B-Application
it	O	O
does	O	O
it	O	O
twice	O	O

double	O	O
connection	O	O

this	O	O
is	O	O
an	O	O
angular	O	B-Library
2	O	B-Version
project	O	O
so	O	O
i	O	O
code	O	O
in	O	O
typescript	O	B-Language
as	O	O
you	O	O
can	O	O
see	O	O
:	O	O

i	O	O
tried	O	O
to	O	O
code	O	O
it	O	O
like	O	O
that	O	O
:	O	O

but	O	O
unfortunately	O	O
it	O	O
shows	O	O
to	O	O
me	O	O
this	O	O
error	O	O
:	O	O

error	O	B-Error_Name
server	O	I-Error_Name

The	O	O
server	O	B-Application
tell	O	O
that	O	O
the	O	O
value	O	O
is	O	O
not	O	O
initialized	O	O
==	O	O
>	O	O
"	O	B-Value
undefined	O	I-Value
"	O	I-Value

I	O	O
really	O	O
do	O	O
not	O	O
know	O	O
what	O	O
to	O	O
do	O	O
:(	O	O

if	O	O
you	O	O
have	O	O
an	O	O
idea	O	O
!	O	O

this.s	B-Code_Block	B-Variable
is	O	O
uninitialized	O	O
until	O	O
this.io	B-Code_Block	B-Variable
receives	O	O
a	O	O
"	B-Code_Block	B-Value
connection	I-Code_Block	I-Value
"	I-Code_Block	I-Value
event	O	O
.	O	O

If	O	O
that	O	O
's	O	O
the	O	O
only	O	O
place	O	O
you	O	O
're	O	O
initializing	O	O
,	O	O
you	O	O
can	O	O
only	O	O
subscribe	O	O
this.s	B-Code_Block	B-Variable
to	O	O
other	O	O
events	O	O
upon	O	O
a	O	O
connection	O	O
.	O	O

Switching	O	O
from	O	O

to	O	O

might	O	O
do	O	O
the	O	O
trick	O	O
.	O	O

You	O	O
are	O	O
attempting	O	O
to	O	O
use	O	O
s	B-Code_Block	B-Variable
before	O	O
it	O	O
is	O	O
initialized	O	O
.	O	O

By	O	O
moving	O	O
the	O	O
this.s.on	B-Code_Block	B-Function
call	O	O
into	O	O
the	O	O
this.io.on	B-Code_Block	B-Function
callback	O	O
,	O	O
you	O	O
will	O	O
ensure	O	O
that	O	O
s	B-Code_Block	B-Variable
is	O	O
not	O	O
undefined	B-Code_Block	B-Value
.	O	O

I	O	O
'm	O	O
attempting	O	O
to	O	O
create	O	O
a	O	O
ListView	O	B-Class
where	O	O
I	O	O
can	O	O
draw	O	O
some	O	O
basic	O	O
shapes	O	O
into	O	O
each	O	O
item	O	O
in	O	O
the	O	O
ListView	O	B-Class
.	O	O

I	O	O
've	O	O
found	O	O
many	O	O
examples	O	O
using	O	O
Views/Layouts	O	B-Class
within	O	O
a	O	O
ListView	O	B-Class
to	O	O
add	O	O
an	O	O
image	O	B-User_Interface_Element
etc	O	O
,	O	O
but	O	O
am	O	O
unsure	O	O
how	O	O
I	O	O
would	O	O
draw	O	O
into	O	O
each	O	O
one	O	O
using	O	O
a	O	O
Canvas	O	B-Class
or	O	O
similar	O	O
.	O	O

Furthermore	O	O
these	O	O
examples	O	O
seem	O	O
to	O	O
all	O	O
work	O	O
in	O	O
slightly	O	O
different	O	O
ways	O	O
,	O	O
so	O	O
I	O	O
was	O	O
wondering	O	O
what	O	O
the	O	O
best	O	O
strategy	O	O
is	O	O
.	O	O

At	O	O
the	O	O
moment	O	O
I	O	O
just	O	O
have	O	O
a	O	O
Main	O	B-Class
class	O	O
which	O	O
populates	O	O
the	O	O
ListView	O	B-Class
with	O	O
basic	O	O
text	O	O
.	O	O

Main.java	O	B-File_Name

Now	O	O
I	O	O
gather	O	O
I	O	O
'll	O	O
need	O	O
change	O	O
the	O	O
Adapter	O	B-Class
bit	O	O
here	O	O
,	O	O
and	O	O
also	O	O
write	O	O
another	O	O
class	O	O
which	O	O
possibly	O	O
extends	O	O
View	O	B-Class
,	O	O
which	O	O
I	O	O
can	O	O
draw	O	O
to	O	O
,	O	O
then	O	O
add	O	O
this	O	O
as	O	O
an	O	O
item	O	O
in	O	O
the	O	O
ListView	O	B-Class
?	O	O

Thanks	O	O
for	O	O
your	O	O
help	O	O
in	O	O
advance	O	O
.	O	O

You	O	O
would	O	O
need	O	O
to	O	O
subclass	O	O
your	O	O
ListView	O	B-Class
to	O	O
a	O	O
custom	O	O
implementation	O	O
.	O	O

You	O	O
can	O	O
change	O	O
the	O	O
view	O	B-Class
for	O	O
each	O	O
row	O	B-User_Interface_Element
in	O	O
the	O	O
ListView	B-Code_Block	B-Class
by	O	O
replacing	O	O
the	O	O
..	B-Code_Block	O
.	I-Code_Block	O
with	O	O
the	O	O
appropriate	O	O
View	B-Code_Block	B-Class
code	O	O
.	O	O

For	O	O
example	O	O
,	O	O
you	O	O
can	O	O
use	O	O
SurfaceView	B-Code_Block	B-Class
to	O	O
draw	O	O
on	O	O
it	O	O
.	O	O

The	O	O
above	O	O
code	O	O
is	O	O
n't	O	O
tested	O	O
,	O	O
but	O	O
hopefully	O	O
will	O	O
drive	O	O
you	O	O
to	O	O
the	O	O
right	O	O
direction	O	O
.	O	O

Make	O	O
sure	O	O
you	O	O
optimize	O	O
your	O	O
drawing	O	O
such	O	O
as	O	O
use	O	O
caching	O	O
when	O	O
available	O	O
,	O	O
preprocess	O	O
,	O	O
etc	O	O
.	O	O

I	O	O
like	O	O
Google	O	B-Library
Web	O	I-Library
Tookit	O	I-Library
API	O	O
approach	O	O
.	O	O

It	O	O
use	O	O
Java	O	B-Language
language	O	O
behind	O	O
the	O	O
scenes	O	O
that	O	O
compiles	O	O
ONLY	O	O
JavaScript	O	B-Language
code	O	O
WHOSE	O	O
TARGET	O	O
BROWSER	O	B-Application
NEEDS	O	O
.	O	O

It	O	O
happens	O	O
some	O	O
developers	O	O
would	O	O
like	O	O
to	O	O
use	O	O
that	O	O
feature	O	O
in	O	O
pure	O	O
JavaScript	O	B-Language
language	O	O
.	O	O

Anwser	O	O
:	O	O
WHAT	O	O
COULD	O	O
WE	O	O
SUGGEST	O	O
in	O	O
order	O	O
to	O	O
fullfill	O	O
this	O	O
requirement	O	O
?	O	O

I	O	O
suggest	O	O
to	O	O
use	O	O
JavaScript	O	B-Language
comments	O	O
(	O	O
as	O	O
a	O	O
flag	O	O
)	O	O
as	O	O
a	O	O
way	O	O
some	O	O
compiler	O	B-Application
(	O	O
like	O	O
Yahoo	O	B-Application
JavaScript	O	I-Application
compiler	O	I-Application
)	O	O
analises	O	O
our	O	O
app	O	O
JavaScript	O	B-Language
code	O	O
and	O	O
generates	O	O
only	O	O
a	O	O
JavaScript	O	B-Library
Framework	O	I-Library
code	O	O
needed	O	O
.	O	O

Example	O	O
:	O	O
a	O	O
hypothetical	O	O
JavaScript	O	B-Library
framework	O	I-Library
(	O	O
JQuery	O	B-Library
,	O	O
Mootools	O	B-Library
,	O	O
Prototype	O	B-Library
ect	O	O
)	O	O
code	O	O

So	O	O
when	O	O
my	O	O
app	O	O
use	O	O
a	O	O
function	O	O
sayHello	O	B-Function
,	O	O
only	O	O
that	O	O
sayHello	O	B-Function
function	O	O
and	O	O
its	O	O
dependencies	O	O
would	O	O
be	O	O
filtered	O	O
through	O	O
JavaScript	O	B-Language
comments	O	O
,	O	O
nothing	O	O
else	O	O
.	O	O

So	O	O
,	O	O
this	O	O
way	O	O
our	O	O
application	O	O
would	O	O
be	O	O
lighter	O	O
,	O	O
by	O	O
using	O	O
only	O	O
JavaScript	O	B-Library
Framework	O	I-Library
code	O	O
needed	O	O
.	O	O

And	O	O
you	O	O
:	O	O
what	O	O
do	O	O
you	O	O
suggest	O	O
?	O	O

I	O	O
would	O	O
suggest	O	O
learning	O	O
to	O	O
program	O	O
in	O	O
JavaScript	O	B-Language
and	O	O
understanding	O	O
the	O	O
various	O	O
peculiarities	O	O
of	O	O
the	O	O
different	O	O
DOM	O	B-Library
implementations	O	O
,	O	O
then	O	O
writing	O	O
just	O	O
the	O	O
code	O	O
necessary	O	O
for	O	O
your	O	O
application	O	O
.	O	O

If	O	O
you	O	O
really	O	O
do	O	O
n't	O	O
want	O	O
to	O	O
have	O	O
to	O	O
deal	O	O
with	O	O
re-creating	O	O
all	O	O
the	O	O
event	O	O
handling	O	O
shenanigans	O	O
and	O	O
so	O	O
on	O	O
,	O	O
then	O	O
nick	O	O
the	O	O
relevant	O	O
techniques	O	O
from	O	O
the	O	O
libraries	O	O
.	O	O

You	O	O
'll	O	O
learn	O	O
a	O	O
lot	O	O
more	O	O
about	O	O
what	O	O
you	O	O
're	O	O
doing	O	O
that	O	O
way	O	O
,	O	O
as	O	O
you	O	O
'll	O	O
need	O	O
to	O	O
actually	O	O
understand	O	O
how	O	O
it	O	O
all	O	O
works	O	O
to	O	O
be	O	O
able	O	O
to	O	O
integrate	O	O
those	O	O
techniques	O	O
with	O	O
your	O	O
application	O	O
.	O	O

Having	O	O
worked	O	O
professionally	O	O
with	O	O
JavaScript	O	B-Language
since	O	O
1996	O	O
I	O	O
,	O	O
like	O	O
many	O	O
,	O	O
was	O	O
initially	O	O
tempted	O	O
by	O	O
the	O	O
apparent	O	O
ease	O	O
of	O	O
use	O	O
offered	O	O
by	O	O
libraries	O	O
;	O	O
but	O	O
if	O	O
I	O	O
see	O	O
one	O	O
more	O	O
answer	O	O
on	O	O
here	O	O
that	O	O
says	O	O
"	O	O
use	O	O
jQuery	O	B-Library
"	O	O
(	O	O
followed	O	O
by	O	O
some	O	O
code	O	O
that	O	O
is	O	O
n't	O	O
even	O	O
optimal	O	O
in	O	O
jQuery	O	B-Library
)	O	O
when	O	O
the	O	O
correct	O	O
answer	O	O
is	O	O
to	O	O
use	O	O
an	O	O
existing	O	O
and	O	O
well-documented	O	O
feature	O	O
of	O	O
JavaScript	O	B-Language
that	O	O
works	O	O
on	O	O
every	O	O
single	O	O
implementation	O	O
since	O	O
Netscape	O	B-Application
Navigator	O	I-Application
3	O	B-Version
,	O	O
I	O	O
'll	O	O
scream	O	O
;-)	O	O

I	O	O
do	O	O
n't	O	O
know	O	O
about	O	O
other	O	O
frameworks	O	O
,	O	O
but	O	O
with	O	O
Dojo	O	B-Library
Toolkit	O	I-Library
you	O	O
can	O	O
take	O	O
advantage	O	O
of	O	O
caching	O	O
better	O	O
by	O	O
using	O	O
a	O	O
public	O	O
CDN	O	O
copy	O	O
of	O	O
the	O	O
source	O	O
in	O	O
your	O	O
site	O	O
,	O	O
from	O	O
AOL	O	B-Website
or	O	O
Google	O	B-Website
.	O	O

If	O	O
the	O	O
JavaScript	O	B-Language
code	O	O
of	O	O
the	O	O
framework	O	O
is	O	O
served	O	O
as	O	O
a	O	O
cacheable	O	O
file	O	O
then	O	O
the	O	O
download	O	O
cost	O	O
of	O	O
requesting	O	O
the	O	O
entire	O	O
framework	O	O
(	O	O
e.g	O	O
.	O	O
jQuery.js	O	B-File_Name
)	O	O
can	O	O
be	O	O
eliminated	O	O
,	O	O
but	O	O
if	O	O
you	O	O
were	O	O
generating	O	O
the	O	O
framework	O	O
code	O	O
on	O	O
the	O	O
fly	O	O
(	O	O
as	O	O
you	O	O
suggest	O	O
above	O	O
)	O	O
then	O	O
it	O	O
's	O	O
going	O	O
to	O	O
be	O	O
harder	O	O
to	O	O
take	O	O
advantage	O	O
of	O	O
caching	O	O
.	O	O

On	O	O
top	O	O
of	O	O
this	O	O
the	O	O
memory	O	O
cost	O	O
of	O	O
defining	O	O
the	O	O
entire	O	O
framework	O	O
is	O	O
probably	O	O
unlikely	O	O
to	O	O
be	O	O
problematic	O	O
(	O	O
assuming	O	O
the	O	O
framework	O	O
is	O	O
written	O	O
sensibly	O	O
)	O	O
.	O	O

So	O	O
,	O	O
pulling	O	O
in	O	O
the	O	O
entire	O	O
framework	O	O
,	O	O
as	O	O
is	O	O
the	O	O
common	O	O
case	O	O
,	O	O
is	O	O
simple	O	O
,	O	O
works	O	O
well	O	O
and	O	O
does	O	O
n't	O	O
require	O	O
a	O	O
particular	O	O
server-side	O	B-Device
infrastructure	O	O
(	O	O
like	O	O
GWT	O	B-Library
does	O	O
)	O	O
.	O	O

I	O	O
expect	O	O
to	O	O
output	O	O
:	O	O

acej	B-Code_Block	B-Output_Block

which	O	O
works	O	O
fine	O	O
with	O	O
this	O	O
algorithm	O	O
but	O	O
there	O	O
is	O	O
a	O	O
problem	O	O
with	O	O
outputting	O	O
the	O	O
result	O	O
and	O	O
this	O	O
problem	O	O
causes	O	O
stack	O	B-Data_Structure
to	O	O
overflow	O	B-Error_Name
.	O	O

How	O	O
do	O	O
I	O	O
fix	O	O
it	O	O
?	O	O

Lets	O	O
take	O	O
a	O	O
closer	O	O
look	O	O
at	O	O
your	O	O
output	O	O
operator	O	O
:	O	O

It	O	O
's	O	O
called	O	O
when	O	O
you	O	O
output	O	O
a	O	O
std::vector<char>	B-Code_Block	B-Class
.	O	O

It	O	O
will	O	O
then	O	O
output	O	O
a	O	O
std::vector<char>	B-Code_Block	B-Class
which	O	O
causes	O	O
a	O	O
recursive	O	O
call	O	O
,	O	O
and	O	O
so	O	O
on	O	O
in	O	O
infinity	O	O
(	O	O
or	O	O
until	O	O
you	O	O
get	O	O
a	O	O
stack	O	B-Error_Name
overflow	O	I-Error_Name
)	O	O
.	O	O

What	O	O
your	O	O
output	O	O
operator	O	O
needs	O	O
to	O	O
to	O	O
is	O	O
iterate	O	O
over	O	O
the	O	O
vector	O	B-Class
and	O	O
output	O	O
each	O	O
element	O	O
.	O	O

On	O	O
an	O	O
unrelated	O	O
note	O	O
,	O	O
do	O	O
n't	O	O
pass	O	O
the	O	O
vector	O	B-Class
by	O	O
value	O	O
to	O	O
the	O	O
function	O	O
.	O	O

Instead	O	O
use	O	O
a	O	O
constant	O	O
reference	O	O
:	O	O

Did	O	O
you	O	O
intend	O	O
to	O	O
use	O	O
std::string	B-Code_Block	B-Class
and	O	O
used	O	O
incorrect	O	O
STL	O	B-Library
container	O	O
instead	O	O
.	O	O

Output	O	O

I	O	O
am	O	O
first	O	O
sorry	O	O
to	O	O
say	O	O
that	O	O
I	O	O
do	O	O
not	O	O
have	O	O
access	O	O
to	O	O
gitHub	B-Code_Block	B-Website
or	O	O
sourceForge.net	B-Code_Block	B-Website
,	O	O
so	O	O
I	O	O
ca	O	O
n't	O	O
retrieve	O	O
solution	O	O
like	O	O
this	O	O
:	O	O
possible	O	O
answer	O	O

I	O	O
have	O	O
half	O	O
a	O	O
giga	O	O
(	O	O
510199112	B-Code_Block	O
bytes	I-Code_Block	O
)	O	O
to	O	O
download	O	O
by	O	O
ftp	O	O
but	O	O
there	O	O
is	O	O
a	O	O
time-out	O	B-Error_Name
error	O	O
:	O	O

I	O	O
would	O	O
like	O	O
to	O	O
manage	O	O
my	O	O
time	O	O
out	O	O
butdo	O	O
not	O	O
know	O	O
how	O	O
to	O	O
proceed	O	O
in	O	O
my	O	O
current	O	O
code	O	O
:	O	O

Using	O	O
ajax	O	B-Function
,	O	O
I	O	O
made	O	O
it	O	O
possible	O	O
so	O	O
that	O	O
a	O	O
user	O	O
gets	O	O
logout	O	O
after	O	O
10	O	O
seconds	O	O
of	O	O
staying	O	O
on	O	O
the	O	O
same	O	O
page	O	O
.	O	O

Keep	O	O
in	O	O
mind	O	O
that	O	O
the	O	O
10	O	O
seconds	O	O
is	O	O
just	O	O
for	O	O
testing	O	O
purposes	O	O
.	O	O

However	O	O
,	O	O
if	O	O
the	O	O
user	O	O
closes	O	O
their	O	O
browser	O	B-Application
before	O	O
the	O	O
10	O	O
seconds	O	O
are	O	O
up	O	O
,	O	O
they	O	O
do	O	O
not	O	O
get	O	O
log	O	O
out	O	O
.	O	O

I	O	O
thought	O	O
about	O	O
logging	O	O
them	O	O
out	O	O
when	O	O
they	O	O
exit	O	O
their	O	O
browser	O	B-Application
,	O	O
but	O	O
I	O	O
have	O	O
yet	O	O
to	O	O
figure	O	O
out	O	O
how	O	O
,	O	O
and	O	O
even	O	O
if	O	O
I	O	O
do	O	O
,	O	O
what	O	O
does	O	O
exiting	O	O
their	O	O
browser	O	B-Application
entails	O	O
?	O	O

Does	O	O
it	O	O
count	O	O
if	O	O
they	O	O
just	O	O
close	O	O
a	O	O
tab	O	B-User_Interface_Element
while	O	O
there	O	O
are	O	O
other	O	O
tabs	O	B-User_Interface_Element
open	O	O
?	O	O

What	O	O
if	O	O
they	O	O
have	O	O
2	O	O
,	O	O
3	O	O
or	O	O
more	O	O
browsers	O	B-Application
open	O	O
at	O	O
the	O	O
same	O	O
time	O	O
?	O	O

How	O	O
do	O	O
I	O	O
determine	O	O
that	O	O
all	O	O
those	O	O
open	O	O
browsers	O	B-Application
are	O	O
exited	O	O
before	O	O
logging	O	O
them	O	O
out	O	O
?	O	O

The	O	O
onBeforeUnload	O	B-Class
event	O	O
should	O	O
work	O	O
for	O	O
you	O	O
.	O	O

It	O	O
covers	O	O
:	O	O

Closing	O	O
a	O	O
tab	O	B-User_Interface_Element
(	O	O
regardless	O	O
of	O	O
how	O	O
many	O	O
tabs	O	B-User_Interface_Element
are	O	O
open	O	O
)	O	O

Exiting	O	O
the	O	O
browser	O	B-Application

Navigating	O	O
away	O	O
from	O	O
the	O	O
page	O	B-User_Interface_Element

Refreshing	O	O
the	O	O
page	O	B-User_Interface_Element

You	O	O
can	O	O
use	O	O
this	O	O
as	O	O
inline	O	O
attributes	O	O
,	O	O
or	O	O
to	O	O
trigger	O	O
ajax	O	B-Function
functions	O	O
to	O	O
notify	O	O
the	O	O
server	O	B-Application
.	O	O

There	O	O
are	O	O
several	O	O
methods	O	O
to	O	O
accomplish	O	O
what	O	O
you	O	O
are	O	O
looking	O	O
for	O	O
,	O	O
however	O	O
I	O	O
must	O	O
note	O	O
I	O	O
have	O	O
never	O	O
attempted	O	O
what	O	O
you	O	O
are	O	O
trying	O	O
.	O	O

I	O	O
am	O	O
only	O	O
speaking	O	O
from	O	O
what	O	O
I	O	O
have	O	O
read	O	O
about	O	O
it	O	O
.	O	O

Here	O	O
are	O	O
some	O	O
other	O	O
sources	O	O
on	O	O
SO	O	B-Website
as	O	O
well	O	O
.	O	O

Hope	O	O
this	O	O
helps	O	O
!	O	O

I	O	O
have	O	O
a	O	O
simple	O	O
question	O	O
about	O	O
jquery	O	B-Library
slideDown	O	B-Function
,	O	O
SlideUp	O	B-Function
.	O	O

I	O	O
'm	O	O
using	O	O
slideDown	O	B-Function
to	O	O
slide	O	O
a	O	O
div	O	B-HTML_XML_Tag
on	O	O
click	O	O
,	O	O
like	O	O

How	O	O
can	O	O
I	O	O
do	O	O
it	O	O
so	O	O
that	O	O
if	O	O
the	O	O
#box	O	B-Variable
is	O	O
already	O	O
slided	O	O
down	O	O
,	O	O
it	O	O
should	O	O
slide	O	O
up	O	O
by	O	O
clicking	O	O
again	O	O
?	O	O

Thanks	O	O
.	O	O

use	O	O
.slideToggle()	O	B-Function
instead	O	O

$("#box").slideToggle("slow")	B-Code_Block	B-Code_Block
;	I-Code_Block	I-Code_Block

I	O	O
have	O	O
a	O	O
server-client	O	B-Application
application	O	O
[	O	O
TCP	O	O
sockets	O	O
,	O	O
.NET	O	B-Library
4.0	O	B-Version
]	O	O
.	O	O
.	O	O

the	O	O
application	O	O
about	O	O
:	O	O

do	O	O
the	O	O
commands	O	O
that	O	O
received	O	O
from	O	O
the	O	O
client	O	B-Application

receives	O	O
files	O	O

send	O	O
a	O	O
screenshot	O	O
image	O	B-User_Interface_Element

the	O	O
application	O	O
should	O	O
do	O	O
the	O	O
3	O	O
tasks	O	O
in	O	O
the	O	O
same	O	O
time	O	O

After	O	O
i	O	O
done	O	O
that	O	O
and	O	O
it	O	O
worked	O	O
.	O	O
.	O	O
i	O	O
realized	O	O
that	O	O
these	O	O
kind	O	O
of	O	O
application	O	O
should	O	O
use	O	O
one	O	O
port	O	B-Device
for	O	O
all	O	O
tasks	O	O
.	O	O
.	O	O
like	O	O
Radmin	O	B-Application
and	O	O
netsupport	O	B-Application
.	O	O
.	O	O
etc	O	O

but	O	O
i	O	O
used	O	O
3	O	O
ports	O	O
.	O	O
.	O	O
one	O	O
to	O	O
keep	O	O
receiving	O	O
commands	O	O
any	O	O
time	O	O
the	O	O
client	O	B-Application
sends	O	O
.	O	O

and	O	O
one	O	O
for	O	O
receiving	O	O
files	O	O
.	O	O
.	O	O
and	O	O
one	O	O
if	O	O
the	O	O
client	O	B-Application
asked	O	O
for	O	O
a	O	O
screenshot	O	O

so	O	O
is	O	O
it	O	O
fine	O	O
to	O	O
use	O	O
3	O	O
ports	O	B-Device
for	O	O
a	O	O
network	O	O
application	O	O
?	O	O

.	O	O
.	O	O

I	O	O
've	O	O
tried	O	O
to	O	O
create	O	O
3	O	O
sockets	O	O
on	O	O
the	O	O
client	O	B-Application
side	O	O
to	O	O
connect	O	O
to	O	O
server	O	B-Application
on	O	O
the	O	O
same	O	O
port	O	B-Device
(	O	O
ex:9090	O	O
)	O	O

but	O	O
when	O	O
i	O	O
tried	O	O
to	O	O
send	O	O
a	O	O
file	O	O
from	O	O
the	O	O
client	O	B-Application
.	O	O
.	O	O
the	O	O
server	O	B-Application
received	O	O
the	O	O
bytes	O	O
in	O	O
Job	O	B-Function
function	O	O
that	O	O
's	O	O
should	O	O
receives	O	O
the	O	O
commands	O	O
only	O	O
..	O	O
.	O	O
so	O	O
it	O	O
looks	O	O
like	O	O
i	O	O
ca	O	O
n't	O	O
use	O	O
one	O	O
port	O	B-Device
for	O	O
those	O	O
tasks	O	O
so	O	O
is	O	O
it	O	O
possible	O	O
use	O	O
one	O	O
port	O	B-Device
for	O	O
all	O	O
of	O	O
the	O	O
three	O	O
tasks	O	O
that	O	O
they	O	O
may	O	O
work	O	O
at	O	O
the	O	O
same	O	O
time	O	O
?	O	O

Added	O	O
question	O	O
:	O	O

lets	O	O
say	O	O
the	O	O
server	O	B-Application
has	O	O
one	O	O
port	O	B-Device
.	O	O

the	O	O
client	O	B-Application
connect	O	O
to	O	O
server	O	B-Application
for	O	O
commands	O	O
.	O	O
.	O	O
let	O	O
's	O	O
call	O	O
it	O	O
cmdClient	O	B-Variable
which	O	O
its	O	O
port	O	B-Device
is	O	O
11589then	O	B-Value
a	O	O
Job	O	B-Function
Thread	O	O
started	O	O
for	O	O
this	O	O
client	O	B-Application
like	O	O
the	O	O
code	O	O
up	O	O
.	O	O

then	O	O
the	O	O
client	O	B-Application
connect	O	O
with	O	O
another	O	O
socket	O	O
to	O	O
the	O	O
server	O	B-Application
.	O	O
.	O	O
dataClient	O	B-Variable
which	O	O
its	O	O
port	O	B-Device
is	O	O
1800	O	B-Value
then	O	O
when	O	O
i	O	O
use	O	O
the	O	O
dataClient	O	B-Variable
to	O	O
send	O	O
a	O	O
file	O	O
.	O	O
.	O	O
the	O	O
server	O	B-Application
receives	O	O
the	O	O
bytes	O	O
at	O	O
the	O	O
job	O	B-Function
Method	O	O
.	O	O
.	O	O

!	O	O
!	O	O

why	O	O
does	O	O
that	O	O
happene	O	O
?	O	O

Yes	O	O
,	O	O
it	O	O
is	O	O
wise	O	O
to	O	O
use	O	O
multiple	O	O
ports	O	B-Device
when	O	O
doing	O	O
file	O	O
transfers	O	O
.	O	O

It	O	O
would	O	O
require	O	O
a	O	O
quite	O	O
advanced	O	O
protocol	O	O
to	O	O
use	O	O
the	O	O
same	O	O
port	O	B-Device
and	O	O
still	O	O
keep	O	O
the	O	O
application	O	O
response	O	O
(	O	O
as	O	O
you	O	O
still	O	O
have	O	O
to	O	O
be	O	O
able	O	O
to	O	O
send	O	O
commands	O	O
during	O	O
file	O	O
transfers	O	O
)	O	O
.	O	O

But	O	O
I	O	O
do	O	O
not	O	O
recommend	O	O
you	O	O
to	O	O
use	O	O
three	O	O
fixed	O	O
ports	O	B-Device
.	O	O

Use	O	O
one	O	O
port	O	B-Device
for	O	O
all	O	O
commands	O	O
and	O	O
an	O	O
arbitrary	O	O
number	O	O
of	O	O
ports	O	B-Device
for	O	O
the	O	O
file	O	O
transfers	O	O
.	O	O

A	O	O
file	O	O
transfer	O	O
would	O	O
look	O	O
like	O	O
this	O	O
:	O	O

(	O	O
CmdPort	O	O
)	O	O
Client	O	B-Application
->	O	O
Server	O	B-Application
Hey	O	O
I	O	O
want	O	O
to	O	O
transfer	O	O
file	O	O
XXX	O	B-File_Name
with	O	O
size	O	O
YYYY	O	B-Value

(	O	O
CmdPort	O	O
)	O	O
Server	O	B-Application
->	O	O
Client	O	B-Application
Roger	O	O
,	O	O
connect	O	O
to	O	O
port	O	B-Device
8217	O	B-Value
and	O	O
transfer	O	O
the	O	O
file	O	O

(	O	O
8217	O	O
)	O	O
Client	O	B-Application
->	O	O
Server	O	B-Application
Connects	O	O
,	O	O
transfer	O	O
the	O	O
entire	O	O
file	O	O
,	O	O
disconnect	O	O

(	O	O
8217	O	O
)	O	O
Server	O	B-Application
Checks	O	O
that	O	O
the	O	O
transferred	O	O
size	O	O
matches	O	O
the	O	O
one	O	O
specified	O	O
in	O	O
step	O	O
#1	O	O

That	O	O
allows	O	O
you	O	O
to	O	O
transfer	O	O
several	O	O
files	O	O
at	O	O
the	O	O
same	O	O
time	O	O
.	O	O

Let	O	O
the	O	O
server	O	B-Application
create	O	O
a	O	O
new	O	O
listening	O	O
socket	O	O
using	O	O
port	O	B-Device
0	O	B-Value
.	O	O

It	O	O
tells	O	O
the	O	O
OS	O	O
to	O	O
select	O	O
a	O	O
free	O	O
port	O	B-Device
.	O	O

Then	O	O
use	O	O
Socket.LocalEndpoint	B-Code_Block	B-Variable
to	O	O
find	O	O
out	O	O
the	O	O
port	O	B-Device
before	O	O
sending	O	O
it	O	O
back	O	O
in	O	O
step	O	O
#2	O	O
.	O	O

The	O	O
specified	O	O
approach	O	O
also	O	O
lets	O	O
you	O	O
take	O	O
advantage	O	O
of	O	O
Socket.SendFile	B-Code_Block	B-Function
which	O	O
is	O	O
probably	O	O
the	O	O
most	O	O
effective	O	O
and	O	O
fastest	O	O
way	O	O
to	O	O
send	O	O
files	O	O
using	O	O
.NET	O	B-Library
.	O	O

(	O	O
FTP	O	O
uses	O	O
the	O	O
same	O	O
approach	O	O
,	O	O
as	O	O
do	O	O
bittorrent	O	O
.	O	O

You	O	O
might	O	O
have	O	O
used	O	O
a	O	O
file	O	B-Application
manager	O	I-Application
when	O	O
downloading	O	O
files	O	O
from	O	O
the	O	O
web	O	O
.	O	O

They	O	O
takes	O	O
a	O	O
more	O	O
extreme	O	O
approach	O	O
and	O	O
splits	O	O
up	O	O
the	O	O
file	O	O
download	O	O
over	O	O
multiple	O	O
sockets	O	O
to	O	O
get	O	O
around	O	O
web	O	O
server	O	B-Application
bandwidth	O	O
throttling	O	O
.	O	O
)	O	O

update	O	O
in	O	O
response	O	O
to	O	O
a	O	O
comment	O	O
:	O	O

You	O	O
did	O	O
not	O	O
specify	O	O
that	O	O
information	O	O
in	O	O
the	O	O
original	O	O
question	O	O
,	O	O
which	O	O
made	O	O
me	O	O
assume	O	O
that	O	O
you	O	O
only	O	O
transfer	O	O
one	O	O
file	O	O
at	O	O
a	O	O
time	O	O
.	O	O

Batch	O	O
transfers	O	O
would	O	O
work	O	O
in	O	O
the	O	O
same	O	O
way	O	O
,	O	O
just	O	O
change	O	O
so	O	O
that	O	O
step	O	O
#1	O	O
sends	O	O
a	O	O
list	O	B-Data_Structure
of	O	O
filename+size	O	O
and	O	O
then	O	O
send	O	O
all	O	O
files	O	O
after	O	O
each	O	O
other	O	O
in	O	O
step	O	O
#3	O	O
.	O	O

It	O	O
would	O	O
not	O	O
be	O	O
best	O	O
practice	O	O
to	O	O
use	O	O
3	O	O
ports	O	B-Device
unless	O	O
each	O	O
operation	O	O
was	O	O
it	O	O
's	O	O
own	O	O
application	O	O
,	O	O
i.e	O	O
.	O	O
a	O	O
file	O	B-Application
server	O	I-Application
,	O	O
an	O	O
image	O	B-Application
server	O	I-Application
etc	O	O
.	O	O

You	O	O
should	O	O
create	O	O
one	O	O
application	O	O
listening	O	O
on	O	O
1	O	O
port	O	B-Device
and	O	O
then	O	O
use	O	O
Threading	O	O
to	O	O
accept	O	O
multiple	O	O
connections	O	O
to	O	O
the	O	O
server	O	B-Application
(	O	O
each	O	O
with	O	O
it	O	O
's	O	O
own	O	O
instance	O	O
of	O	O
a	O	O
StreamReader	O	B-Class
)	O	O
.	O	O

You	O	O
could	O	O
then	O	O
write	O	O
a	O	O
parser	O	B-Function
method	O	O
for	O	O
the	O	O
users	O	O
input	O	O
.	O	O

For	O	O
example	O	O
,	O	O
if	O	O
the	O	O
user	O	O
sends	O	O
the	O	O
command	O	O
"	O	B-Value
RECIEVE	O	I-Value
FILE	O	I-Value
"	O	I-Value
,	O	O
the	O	O
server	O	B-Application
would	O	O
expect	O	O
a	O	O
File	O	O
,	O	O
if	O	O
the	O	O
user	O	O
sent	O	O
the	O	O
command	O	O
"	O	B-Value
IMAGE	O	I-Value
"	O	I-Value
the	O	O
server	O	B-Application
would	O	O
expect	O	O
an	O	O
image	O	B-User_Interface_Element
.	O	O

An	O	O
example	O	O
of	O	O
multi	O	O
threaded	O	O
servers	O	B-Application
can	O	O
be	O	O
found	O	O
here	O	O
:	O	O

http://csharp.net-informations.com/communications/csharp-multi-threaded-server-socket.htm	O	O

I	O	O
want	O	O
to	O	O
route	O	B-Function
multiple	O	O
paths	O	O
to	O	O
the	O	O
same	O	O
template	O	O
.	O	O

For	O	O
example	O	O
,	O	O
/abc/home	B-Code_Block	B-File_Name
and	O	O
/home	B-Code_Block	B-File_Name
will	O	O
both	O	O
show	O	O
the	O	O
home	B-Code_Block	O
template	O	O
.	O	O

The	O	O
paths	O	O
can	O	O
also	O	O
have	O	O
subpaths	O	O
,	O	O
so	O	O
abc/parent/child	B-Code_Block	B-File_Name
and	O	O
/parent/child	B-Code_Block	B-File_Name
should	O	O
route	O	B-Function
to	O	O
same	O	O
path	O	O
also	O	O
.	O	O

I	O	O
can	O	O
simply	O	O
repeat	O	O
:	O	O

But	O	O
I	O	O
do	O	O
n't	O	O
want	O	O
to	O	O
repeat	O	O
it	O	O
.	O	O

If	O	O
I	O	O
want	O	O
to	O	O
change	O	O
the	O	O
template	O	O
to	O	O
route	O	B-Function
to	O	O
,	O	O
I	O	O
want	O	O
to	O	O
only	O	O
change	O	O
it	O	O
once	O	O
-	O	O
for	O	O
convenience	O	O
and	O	O
also	O	O
to	O	O
minimize	O	O
errors	O	O
.	O	O

I	O	O
can	O	O
also	O	O
use	O	O
parameters	O	O
:	O	O

But	O	O
this	O	O
,	O	O
again	O	O
,	O	O
is	O	O
repeating	O	O
myself	O	O
.	O	O

Also	O	O
,	O	O
there	O	O
can	O	O
subpaths	O	O
,	O	O
and	O	O
I	O	O
do	O	O
n't	O	O
want	O	O
to	O	O
define	O	O
routing	O	O
for	O	O
/:_abc/:parent/:children	B-Code_Block	B-File_Name
and	O	O
/:_abc/:grandparent/:parent/:children/	B-Code_Block	B-File_Name
:	I-Code_Block	O
,	O	O
because	O	O
it	O	O
will	O	O
be	O	O
messy	O	O
.	O	O

I	O	O
also	O	O
tried	O	O
using	O	O
Router.go()	B-Code_Block	B-Function
:	O	O

But	O	O
this	O	O
removes	O	O
the	O	O
/abc/	B-Code_Block	B-File_Name
from	O	O
the	O	O
url	O	O
,	O	O
which	O	O
is	O	O
undesired	O	O
in	O	O
my	O	O
case	O	O
.	O	O

The	O	O
best	O	O
solution	O	O
I	O	O
have	O	O
right	O	O
now	O	O
is	O	O
using	O	O
a	O	O
shared	O	O
function	O	O
:	O	O

Can	O	O
I	O	O
instead	O	O
do	O	O
something	O	O
like	O	O
specify	O	O
an	O	O
array	O	B-Data_Structure
,	O	O
or	O	O
comma-separated	O	O
string	O	B-Data_Type
:	O	O

How	O	O
do	O	O
I	O	O
efficiently	O	O
route	O	B-Function
multiple	O	O
paths	O	O
to	O	O
one	O	O
template	O	O
,	O	O
while	O	O
not	O	O
repeating	O	O
myself	O	O
?	O	O

Use	O	O
a	O	O
regular	O	O
expression	O	O
(	O	O
regex	O	O
)	O	O
that	O	O
matches	O	O
both	O	O
/home	B-Code_Block	B-File_Name
and	O	O
/abc/home	B-Code_Block	B-File_Name
.	O	O

I	O	O
made	O	O
a	O	O
second	O	O
template	O	O
that	O	O
only	O	O
includes	O	O
the	O	O
first	O	O
.	O	O

In	O	O
your	O	O
case	O	O
this	O	O
might	O	O
look	O	O
like	O	O
this	O	O
:	O	O

I	O	O
still	O	O
do	O	O
n't	O	O
understand	O	O
why	O	O
the	O	O
output	O	O
in	O	O
scanFileName	O	B-Function
(	O	I-Function
Jlabel	O	I-Function
)	O	I-Function
is	O	O
directly	O	O
showing	O	O
"	O	B-Value
.	O	I-Value
"	O	I-Value
instead	O	O
of	O	O
""	O	B-Value
,	O	O
"	O	B-Value
Please	O	I-Value
Wait	O	I-Value
.	O	I-Value
Loading	O	I-Value
Database	O	I-Value
..	O	I-Value
.	O	I-Value
"	O	I-Value
,	O	O
and	O	O
then	O	O
"	O	B-Value
.	O	I-Value
"	O	I-Value
.	O	O

Please	O	O
help	O	O
.	O	O

I	O	O
'd	O	O
be	O	O
grateful	O	O
to	O	O
you	O	O
.	O	O

Start	O	O
by	O	O
having	O	O
a	O	O
read	O	O
through	O	O
Concurrency	O	O
in	O	O
Swing	O	B-Library
.	O	O

Swing	O	B-Library
is	O	O
a	O	O
single	O	O
threaded	O	O
framework	O	O
,	O	O
this	O	O
means	O	O
that	O	O
anything	O	O
which	O	O
blocks	O	O
this	O	O
thread	O	O
(	O	O
like	O	O
Thread.sleep	B-Code_Block	B-Function
)	O	O
will	O	O
prevent	O	O
the	O	O
framework	O	O
from	O	O
processing	O	O
new	O	O
events	O	O
(	O	O
including	O	O
paint	O	O
requests	O	O
)	O	O
.	O	O

While	O	O
there	O	O
are	O	O
any	O	O
number	O	O
of	O	O
ways	O	O
you	O	O
might	O	O
make	O	O
this	O	O
work	O	O
,	O	O
probably	O	O
the	O	O
easiest	O	O
is	O	O
a	O	O
Swing	O	B-Library
javax.swing.Timer	B-Code_Block	B-Class
.	O	O

Take	O	O
a	O	O
look	O	O
at	O	O
How	O	O
to	O	O
use	O	O
Swing	O	B-Class
Timers	O	I-Class
for	O	O
more	O	O
details	O	O
..	O	O
.	O	O

TLDR	O	O
:	O	O
Getting	O	O
fatal	O	B-Error_Name
error	O	I-Error_Name
'	O	O
failed	O	O
to	O	O
get	O	O
process	O	O
times	O	O
'	O	O
on	O	O
cross-native	O	B-Version
build	O	O
of	O	O
gcc	O	B-Application
.	O	O

Can	O	O
I	O	O
remove	O	O
report_times	O	B-Function
code	O	O
from	O	O
gcc.c	O	B-File_Name
OR	O	O
use	O	O
gcc	O	B-Application
command	O	O
line	O	O
option	O	O
to	O	O
disable	O	O
report_times	O	B-Function
OR	O	O
build	O	O
gcc	O	B-Application
without	O	O
libiberty	O	B-Library
(	O	O
which	O	O
contains	O	O
pex_get_times	O	B-Function
used	O	O
by	O	O
report_times	O	B-Function

DETAIL	O	O

After	O	O
beating	O	O
my	O	O
head	O	O
against	O	O
various	O	O
problems	O	O
I	O	O
've	O	O
(	O	O
finally	O	O
)	O	O
successfully	O	O
used	O	O
the	O	O
Android	O	B-Application
NDK	O	I-Application
standalone	O	I-Application
toolchain	O	I-Application
to	O	O
build	O	O
binutils	O	B-Application
2.23	O	B-Version
and	O	O
gcc	O	B-Application
4.70	O	B-Version
.	O	O

My	O	O
current	O	O
problem	O	O
is	O	O
getting	O	O
it	O	O
to	O	O
run	O	O
on	O	O
my	O	O
device	O	O
.	O	O

I	O	O
've	O	O
written	O	O
a	O	O
standard	O	O
'	O	O
hello	O	O
world	O	O
'	O	O
(	O	O
copied	O	O
from	O	O
here	O	O
)	O	O
to	O	O
test	O	O
gcc	O	B-Application
on	O	O
my	O	O
device	O	O
.	O	O

When	O	O
I	O	O
run	O	O
:	O	O

arm-linux-eabi-gcc	O	B-Code_Block
hello.c	O	I-Code_Block
-o	O	I-Code_Block
hello	O	I-Code_Block

or	O	O
:	O	O

arm-linux-eabi-gcc	O	B-Code_Block
hello.c	O	I-Code_Block

I	O	O
get	O	O
the	O	O
following	O	O
error	O	O
:	O	O

arm-linux-eabi-gcc	O	B-Code_Block
:	O	I-Code_Block
fatal	O	B-Error_Name
error	O	I-Error_Name
:	O	O
failed	O	O
to	O	O
get	O	O
process	O	O
times	O	O
:	O	O
No	O	O
such	O	O
file	O	O
or	O	O
directory	O	O
.	O	O

Google	O	B-Website
did	O	O
not	O	O
return	O	O
much	O	O
except	O	O
for	O	O
links	O	O
to	O	O
gcc.c	O	B-File_Name
source	O	O
.	O	O

Examining	O	O
the	O	O
source	O	O
,	O	O
I	O	O
found	O	O
the	O	O
error	O	O
in	O	O
a	O	O
function	O	O
(	O	O
module	O	O
?	O	O

extension	O	O
?	O	O
)	O	O

called	O	O
report_times	O	B-Function
.	O	O

The	O	O
error	O	O
is	O	O
returned	O	O
by	O	O
the	O	O
function	O	O
(	O	O
module	O	O
?	O	O
extension	O	O
?	O	O
)	O	O

pex_get_times	O	B-Function
....	O	O
I	O	O
'	O	O
m	O	O
guessing	O	O
it	O	O
does	O	O
so	O	O
if	O	O
it	O	O
ca	O	O
n't	O	O
get	O	O
the	O	O
process	O	O
times	O	O
.	O	O

The	O	O
pex_get_times	O	B-Function
function	O	O
(	O	O
module	O	O
?	O	O
extension	O	O
?	O	O

I	O	O
'm	O	O
not	O	O
sure	O	O
what	O	O
it	O	O
is	O	O
)	O	O
is	O	O
defined	O	O
in	O	O
libiberty	O	B-Library
.	O	O

I	O	O
can	O	O
use	O	O
--disable-build-libiberty	O	B-Code_Block
,	O	O
but	O	O
it	O	O
does	O	O
n't	O	O
help	O	O
for	O	O
the	O	O
host	O	O
(	O	O
my	O	O
NookHD	O	B-Device
)	O	O
gcc	O	B-Application
build	O	O
.	O	O

My	O	O
question(s)	O	O
:	O	O

Can	O	O
this	O	O
portion	O	O
of	O	O
gcc.c	O	B-File_Name
be	O	O
safely	O	O
(	O	O
and	O	O
easily	O	O
)	O	O
removed	O	O
...	O	O
i	O	O
.	O	O
the	O	O
report_times	O	B-Function
function	O	I-Function
and	O	O
everything	O	O
associated	O	O
with	O	O
it	O	O
?	O	O

or	O	O

Is	O	O
there	O	O
a	O	O
command	O	B-Application
line	O	I-Application
option	O	O
to	O	O
tell	O	O
arm-linux-eabi-gcc	O	B-Code_Block
NOT	O	O
to	O	O
use	O	O
report_times	O	B-Function
?	O	O

or	O	O

Is	O	O
there	O	O
a	O	O
way	O	O
to	O	O
disable	O	O
build	O	O
of	O	O
libiberty	O	B-Library
for	O	O
host/target	O	O
for	O	O
both	O	O
gcc	O	B-Library
and	O	O
binutils	O	B-Library
,	O	O
and	O	O
would	O	O
that	O	O
fix	O	O
the	O	O
error	O	O
?	O	O

As	O	O
always	O	O
...	O	O
I	O	O
'	O	O
ll	O	O
keep	O	O
researching	O	O
while	O	O
awaiting	O	O
an	O	O
answer	O	O
.	O	O

Found	O	O
this	O	O
about	O	O
an	O	O
hour	O	O
after	O	O
posting	O	O
this	O	O
question	O	O
.	O	O

Maybe	O	O
two	O	O
.	O	O

Apparently	O	O
report_times	O	B-Function
is	O	O
part	O	O
of	O	O
debugging	O	O
symbols	O	O
(?)	O	O

for	O	O
GCC	O	B-Application
.	O	O

To	O	O
exclude	O	O
report_times	O	B-Function
(	O	O
which	O	O
causes	O	O
the	O	O
'	O	B-Error_Name
failed	O	I-Error_Name
to	O	I-Error_Name
get	O	I-Error_Name
process	O	I-Error_Name
times	O	I-Error_Name
'	O	B-Error_Name
from	O	O
the	O	O
original	O	O
question	O	O
)	O	O
you	O	O
have	O	O
to	O	O
build	O	O
the	O	O
debug	O	O
...	O	O
or	O	O
release	O	O
...	O	O
version	O	O
of	O	O
gcc	O	O
.	O	O

To	O	O
do	O	O
this	O	O
,	O	O
I	O	O
used	O	O
info	O	O
from	O	O
this	O	O
link	O	O
:	O	O
http://www-gpsg.mit.edu/~simon/gcc_g77_install/build.html	O	O

BUT	O	O
,	O	O
I	O	O
omitted	O	O
the	O	O
-g	O	B-Code_Block
from	O	O
the	O	O
LIBCXXFLAGS	O	B-Code_Block
and	O	O
LIBCFLAGS	O	B-Code_Block
and	O	O
I	O	O
added	O	O
LIBCPPFLAGS	O	B-Code_Block
without	O	O
-g	O	B-Code_Block
just	O	O
in	O	O
case	O	O
.	O	O

Ran	O	O
make	O	B-Code_Block
DESTDIR	O	I-Code_Block
=	O	I-Code_Block
/staging/install/path	O	I-Code_Block
install-host	O	I-Code_Block
,	O	O
tarballed	O	O
and	O	O
transferred	O	O
to	O	O
device	O	O
.	O	O

No	O	O
more	O	O
'	O	O
failed	O	B-Error_Name
to	O	I-Error_Name
get	O	I-Error_Name
process	O	I-Error_Name
times	O	I-Error_Name
'	O	O
error	O	O
.	O	O

I	O	O
am	O	O
seeing	O	O
another	O	O
error	O	O
,	O	O
but	O	O
it	O	O
is	O	O
not	O	O
related	O	O
to	O	O
this	O	O
question	O	O

When	O	O
i	O	O
tried	O	O
this	O	O
command	O	O
:	O	O

I	O	O
got	O	O
error	O	O
as	O	O
:	O	O

What	O	O
is	O	O
the	O	O
main	O	O
reason	O	O
for	O	O
giving	O	O
error	O	O
as	O	O
"	O	O
Internal	O	B-Error_Name
data	O	I-Error_Name
flow	O	I-Error_Name
error	O	I-Error_Name
"	O	O
in	O	O
gstreamer	O	B-Library
?	O	O

It	O	O
is	O	O
the	O	O
unfortunate	O	O
case	O	O
of	O	O
something	O	O
did	O	O
not	O	O
work	O	O
.	O	O

Rerun	O	O
the	O	O
command	O	O
with	O	O
the	O	O
environment	O	O
variable	O	O
GST_DEBUG	B-Code_Block	B-Code_Block
="*	I-Code_Block	I-Code_Block
:2	I-Code_Block	I-Code_Block
"	I-Code_Block	I-Code_Block
to	O	O
see	O	O
all	O	O
warnings	O	O
.	O	O

There	O	O
are	O	O
many	O	O
potential	O	O
reasons	O	O
for	O	O
internal	B-Code_Block	B-Error_Name
data	I-Code_Block	I-Error_Name
flow	I-Code_Block	I-Error_Name
error	O	I-Error_Name
.	O	O

To	O	O
encounter	O	O
the	O	O
problematic	O	O
place	O	O
,	O	O
just	O	O
connect	O	O
a	O	O
fakesink	B-Code_Block	B-Class
element	O	O
step	O	O
by	O	O
step	O	O
and	O	O
try	O	O
.	O	O

As	O	O
my	O	O
script	O	O
is	O	O
getting	O	O
pretty	O	O
long	O	O
and	O	O
it	O	O
will	O	O
get	O	O
longer	O	O
I	O	O
was	O	O
wondering	O	O
if	O	O
I	O	O
could	O	O
wrap	O	O
around	O	O
some	O	O
codeblocks	O	O
without	O	O
changeing	O	O
really	O	O
the	O	O
scope	O	O
or	O	O
values	O	O
.	O	O

I	O	O
'm	O	O
speacking	O	O
of	O	O
something	O	O
like	O	O
div	O	B-HTML_XML_Tag
containers	O	O
on	O	O
html	O	B-Language
or	O	O
even	O	O
something	O	O
like	O	O
only	O	O
wrap	O	O
around	O	O
"	O	O
int	O	B-Code_Block
main	O	I-Code_Block
(	O	I-Code_Block
void	O	I-Code_Block
)	O	I-Code_Block
"	O	O
from	O	O
c	O	B-Language
languages	O	O

This	O	O
would	O	O
be	O	O
the	O	O
perfect	O	O
part	O	O
of	O	O
my	O	O
script	O	O
to	O	O
wrap	O	O
around	O	O
in	O	O
something	O	O
like	O	O
a	O	O
div	O	B-HTML_XML_Tag
container	O	O
to	O	O
get	O	O
some	O	O
structur	O	O
into	O	O
,	O	O
but	O	O
I	O	O
dont	O	O
know	O	O
if	O	O
there	O	O
is	O	O
an	O	O
option	O	O
like	O	O
this	O	O
without	O	O
changing	O	O
scopes	O	O

If	O	O
you	O	O
work	O	O
with	O	O
PowerShell	O	B-Application
ISE	O	I-Application
,	O	O
you	O	O
can	O	O
use	O	O
#region	B-Code_Block	B-Code_Block
:	O	O

Now	O	O
you	O	O
can	O	O
collapse	O	O
each	O	O
individual	O	O
region	O	O
.	O	O

You	O	O
an	O	O
also	O	O
nest	O	O
them	O	O
.	O	O

Basically	O	O
,	O	O
I	O	O
have	O	O
a	O	O
search	O	O
box	O	B-User_Interface_Element
that	O	O
suggests	O	O
results	O	O
from	O	O
a	O	O
database	O	O
as	O	O
user	O	O
types	O	O
.	O	O

It	O	O
looks	O	O
like	O	O
this	O	O
:	O	O

Example	O	O
.	O	O

I	O	O
use	O	O
ajax	O	B-Function
in	O	O
a	O	O
file	O	O
to	O	O
make	O	O
a	O	O
live	O	O
search	O	O
as	O	O
user	O	O
types	O	O
:	O	O

Then	O	O
in	O	O
another	O	O
file	O	O
(	O	O
res.php	O	B-File_Name
)	O	O
I	O	O
have	O	O
a	O	O
sql	O	B-Function
request	O	I-Function
and	O	O
I	O	O
display	O	O
results	O	O
.	O	O

I	O	O
also	O	O
have	O	O
my	O	O
'	O	O
onclick	O	B-Function
'	O	O
function	O	O
to	O	O
replace	O	O
suggestion	O	O
in	O	O
text	O	B-User_Interface_Element
box	O	I-User_Interface_Element
:	O	O

My	O	O
problem	O	O
is	O	O
:	O	O
when	O	O
i	O	O
click	O	O
on	O	O
any	O	O
of	O	O
the	O	O
suggestion	O	O
,	O	O
it	O	O
is	O	O
always	O	O
the	O	O
last	O	O
option	O	O
that	O	O
is	O	O
replaced	O	O
in	O	O
the	O	O
text	O	B-User_Interface_Element
box	O	I-User_Interface_Element
,	O	O
in	O	O
this	O	O
case	O	O
"	O	B-Value
University	O	I-Value
of	O	I-Value
Washington	O	I-Value
"	O	I-Value
.	O	O

I	O	O
have	O	O
been	O	O
trying	O	O
to	O	O
solve	O	O
that	O	O
problem	O	O
for	O	O
2	O	O
days	O	O
now	O	O
and	O	O
I	O	O
ca	O	O
n't	O	O
find	O	O
the	O	O
solution	O	O
.	O	O

Any	O	O
help	O	O
would	O	O
be	O	O
greatly	O	O
appreciated	O	O
.	O	O

Thanks	O	O

UPDATE	O	O

Found	O	O
the	O	O
solution	O	O
,	O	O
if	O	O
someone	O	O
is	O	O
interested	O	O
,	O	O
here	O	O
's	O	O
what	O	O
I	O	O
did	O	O
in	O	O
res.php	O	B-File_Name
:	O	O

and	O	O
in	O	O
the	O	O
first	O	O
file	O	O
:	O	O

I	O	O
would	O	O
n't	O	O
use	O	O
the	O	O
onclick	O	B-Function
method	O	O
here	O	O
.	O	O

I	O	O
would	O	O
use	O	O
jQuery	O	B-Library
to	O	O
assign	O	O
the	O	O
events	O	O
to	O	O
your	O	O
list	O	B-Data_Structure
items	O	O
.	O	O

But	O	O
if	O	O
you	O	O
must	O	O
,	O	O
in	O	O
your	O	O
onclick	O	B-Function
method	O	O
,	O	O
try	O	O
passing	O	O
this.value	O	B-Variable
like	O	O
so	O	O
:	O	O

Then	O	O
your	O	O
fill()	O	B-Function
method	O	O
could	O	O
be	O	O
something	O	O
like	O	O
so	O	O
:	O	O

EDIT	O	O
:	O	O
You	O	O
are	O	O
mixing	O	O
plain	O	O
JavaScript	O	B-Language
and	O	O
jQuery	O	B-Library
code	O	O
.	O	O

I	O	O
replaced	O	O
your	O	O
plain	O	O
JS	O	B-Language
line	O	O
with	O	O
the	O	O
jQuery	O	B-Library
equivalent	O	O
.	O	O

Also	O	O
,	O	O
if	O	O
you	O	O
are	O	O
adding	O	O
the	O	O
fill()	O	B-Function
method	O	O
in	O	O
the	O	O
same	O	O
loop	O	O
that	O	O
adds	O	O
the	O	O
LIs	O	B-HTML_XML_Tag
,	O	O
then	O	O
you	O	O
are	O	O
adding	O	O
multiple	O	O
fill	O	B-Function
methods	O	O
,	O	O
which	O	O
is	O	O
incorrect	O	O
.	O	O

Just	O	O
add	O	O
it	O	O
once	O	O
in	O	O
the	O	O
same	O	O
script	O	O
tag	O	O
like	O	O
below	O	O
.	O	O

I	O	O
get	O	O
this	O	O
in	O	O
Valgrind	O	B-Application
.	O	O

Is	O	O
it	O	O
any	O	O
concern	O	O
?	O	O

A	O	O
big	O	O
part	O	O
of	O	O
Valgrind	O	B-Application
's	O	O
magic	O	O
is	O	O
how	O	O
it	O	O
is	O	O
able	O	O
to	O	O
intercept/redirect	O	O
function	O	O
calls	O	O
in	O	O
order	O	O
to	O	O
keep	O	O
track	O	O
of	O	O
the	O	O
state	O	O
of	O	O
the	O	O
world	O	O
.	O	O

As	O	O
I	O	O
understand	O	O
it	O	O
,	O	O
redirection	O	O
is	O	O
achieved	O	O
using	O	O
shared	O	O
object/function	O	O
name	O	O
patterns	O	O
which	O	O
when	O	O
matched	O	O
'	O	O
redirect	O	O
'	O	O
calls	O	O
to	O	O
new	O	O
addresses	O	O
.	O	O

Checking	O	O
out	O	O
the	O	O
valgrind	O	B-Application
source	O	O
,	O	O
we	O	O
find	O	O
the	O	O
notion	O	O
of	O	O
a	O	O
'	O	O
redirector	O	O
'	O	O
:	O	O

(	O	O
m_redir.c	O	B-File_Name
line	O	O
10	O	O
4)	O	O

So	O	O
'	O	O
Specs	O	O
'	O	O
provide	O	O
shared	O	O
object/function	O	O
name	O	O
to	O	O
address	O	O
mappings	O	O
and	O	O
'	O	O
Actives	O	O
'	O	O
represent	O	O
the	O	O
mappings	O	O
themselves	O	O
.	O	O

Active	O	O
computation	O	O
:	O	O

(	O	O
m_redir.c	O	B-File_Name
line	O	O
120	O	O
)	O	O

The	O	O
idea	O	O
of	O	O
"	O	O
conflicting	O	O
redirections	O	O
"	O	O
is	O	O
mentioned	O	O
here	O	O
too	O	O
:	O	O

(	O	O
m_redir.c	O	B-File_Name
line	O	O
15	O	O
2)	O	O

And	O	O
for	O	O
interests	O	O
sake	O	O
,	O	O
here	O	O
is	O	O
where	O	O
your	O	O
warning	O	O
is	O	O
generated	O	O
:	O	O

(	O	O
m_redir.c	O	B-File_Name
line	O	O
66	O	O
4)	O	O

So	O	O
,	O	O
after	O	O
all	O	O
this	O	O
it	O	O
is	O	O
probably	O	O
safe	O	O
to	O	O
assume	O	O
that	O	O
:	O	O

The	O	O
redirection	O	O
messages	O	O
are	O	O
part	O	O
of	O	O
normal	O	O
valgrind	O	B-Application
operation	O	O
.	O	O

The	O	O
warning	O	O
message	O	O
is	O	O
likely	O	O
a	O	O
result	O	O
of	O	O
conflicting	O	O
spec	O	O
patterns	O	O
(	O	O
probably	O	O
not	O	O
a	O	O
great	O	O
cause	O	O
for	O	O
concern	O	O
in	O	O
this	O	O
instance	O	O
.	O	O
)	O	O

References	O	O
:	O	O
Valgrind	O	B-Application
manual	O	O
,	O	O
Valgrind	O	B-Application
3.6.1	O	B-Version
source	O	O

This	O	O
is	O	O
a	O	O
kind	O	O
of	O	O
GUI	O	O
automation	O	O
application	O	O
whereby	O	O
I	O	O
want	O	O
to	O	O
read	O	O
the	O	O
data	O	O
from	O	O
a	O	O
listview	O	B-Class
from	O	O
another	O	O
process	O	O
.	O	O

The	O	O
listview	O	B-Class
class	O	O
is	O	O
SysListView32	O	B-Variable
and	O	O
has	O	O
following	O	O
styles	O	O
set	O	O
LVS_OWNERDRAWFIXED	O	B-Class

Generally	O	O
I	O	O
am	O	O
able	O	O
to	O	O
read	O	O
the	O	O
text	O	O
from	O	O
listview	O	B-Class
using	O	O
the	O	O
following	O	O
procedure	O	O

Allocate	O	O
memory	O	O
in	O	O
the	O	O
memory	O	O
space	O	O
of	O	O
other	O	O
process	O	O

Send	O	O
message	O	O
to	O	O
listview	O	B-Class
to	O	O
read	O	O
the	O	O
text	O	O
with	O	O
the	O	O
pointer	O	B-Data_Type
of	O	O
buffer	O	B-Data_Structure
allocated	O	O
in	O	O
that	O	O
process	O	O

Read	O	O
the	O	O
buffer	O	O

It	O	O
works	O	O
fine	O	O
when	O	O
the	O	O
listview	O	B-Class
is	O	O
not	O	O
ownerdrawn	O	O
but	O	O
in	O	O
this	O	O
case	O	O
,	O	O
the	O	O
listview	O	B-Class
appears	O	O
to	O	O
be	O	O
drawn	O	O
by	O	O
the	O	O
owner	O	O
,	O	O
i.e	O	O
.	O	O
the	O	O
listitem	O	B-Class
has	O	O
no	O	O
data	O	O
.	O	O

Is	O	O
it	O	O
possible	O	O
to	O	O
read	O	O
the	O	O
text	O	O
from	O	O
such	O	O
a	O	O
listview	O	B-Class
either	O	O
by	O	O
the	O	O
method	O	O
I	O	O
have	O	O
discussed	O	O
or	O	O
by	O	O
any	O	O
method	O	O
or	O	O
by	O	O
hooking	O	O
the	O	O
api	O	B-Library
or	O	O
whatsoever	O	O
method	O	O
?	O	O

The	O	O
control	O	O
must	O	O
still	O	O
add	O	O
LVITEMs	O	B-Class
to	O	O
the	O	O
list	O	B-Class
view	O	I-Class
.	O	O

But	O	O
of	O	O
course	O	O
there	O	O
's	O	O
no	O	O
obligation	O	O
to	O	O
put	O	O
anything	O	O
useful	O	O
in	O	O
them	O	O
.	O	O

Specifying	O	O
a	O	O
null	O	O
pszText	O	B-Variable
or	O	O
iImage	O	B-Variable
would	O	O
work	O	O
just	O	O
fine	O	O
if	O	O
the	O	O
app	O	O
does	O	O
its	O	O
own	O	O
drawing	O	O
.	O	O

It	O	O
will	O	O
implement	O	O
a	O	O
WM_DRAWITEM	O	B-Function
message	O	O
handler	O	O
and	O	O
use	O	O
internal	O	O
data	O	O
to	O	O
render	O	O
the	O	O
item	O	O
.	O	O

There	O	O
is	O	O
no	O	O
way	O	O
to	O	O
find	O	O
out	O	O
where	O	O
that	O	O
data	O	O
is	O	O
stored	O	O
.	O	O

You	O	O
could	O	O
fake	O	O
your	O	O
own	O	O
WM_DRAWITEM	O	B-Function
message	O	O
,	O	O
albeit	O	O
that	O	O
it	O	O
is	O	O
very	O	O
hard	O	O
to	O	O
do	O	O
since	O	O
you	O	O
must	O	O
inject	O	O
code	O	O
to	O	O
create	O	O
the	O	O
HDC	O	O
,	O	O
but	O	O
that	O	O
just	O	O
gets	O	O
you	O	O
pixels	O	O
,	O	O
not	O	O
bytes	O	O
.	O	O

Using	O	O
OCR	O	O
would	O	O
be	O	O
a	O	O
major	O	O
outlier	O	O
solution	O	O
.	O	O

Realistically	O	O
you	O	O
'll	O	O
need	O	O
to	O	O
throw	O	O
in	O	O
the	O	O
towel	O	O
on	O	O
this	O	O
one	O	O
.	O	O

Guys	O	O
!	O	O

I	O	O
have	O	O
a	O	O
one	O	O
misunderstanding	O	O
in	O	O
javascript	O	B-Language
.	O	O

I	O	O
want	O	O
make	O	O
a	O	O
ajax-request	O	B-Function
with	O	O
function	O	O
foo()	O	B-Function
and	O	O
i	O	O
want	O	O
return	O	O
result	O	O
data	O	O
by	O	O
foo()	O	B-Function
return	O	O
,	O	O
but	O	O
i	O	O
ca	O	O
n't	O	O
return	O	O
something	O	O
in	O	O
callback	O	B-Function
function	O	O
in	O	O
$	O	B-Function
.ajax	O	I-Function
.	O	O

So	O	O
i	O	O
want	O	O
this	O	O
:	O	O
if	O	O
ajax	O	B-Function
reurn	O	O
data	O	O
then	O	O
function	O	O
foo()	O	B-Function
return	O	O
same	O	O
data	O	O
.	O	O

Use	O	O
as	O	O
below	O	O
:	O	O

I	O	O
want	O	O
to	O	O
add	O	O
an	O	O
extra	O	O
attribute	O	O
to	O	O
jquery	O	B-Library
dialog	O	B-Class
.	O	O

how	O	O
to	O	O
add	O	O
an	O	O
attribute	O	O
like	O	O
"	O	O
dialog-status	O	B-Value
"	O	O
when	O	O
creating	O	O
dialog	O	B-Class
.	O	O

any	O	O
methods	O	O
to	O	O
do	O	O
this	O	O
?	O	O

Try	O	O
this	O	O
:	O	O

I	O	O
currently	O	O
have	O	O
the	O	O
following	O	O
line	O	O
in	O	O
my	O	O
Makefile	O	B-File_Name
:	O	O

Everything	O	O
under	O	O
this	O	O
line	O	O
will	O	O
run	O	O
whenever	O	O
a	O	O
.cpp	B-Code_Block	B-File_Type
or	O	O
.hpp	B-Code_Block	B-File_Type
file	O	O
anywhere	O	O
in	O	O
my	O	O
project	O	O
is	O	O
modified	O	O
(	O	O
the	O	O
intended	O	O
behavior	O	O
)	O	O
,	O	O
but	O	O
only	O	O
when	O	O
on	O	O
Windows	O	B-Operating_System
machines	O	O
.	O	O

When	O	O
I	O	O
run	O	O
the	O	O
Makefile	O	B-File_Name
on	O	O
my	O	O
Linux	O	B-Operating_System
machine	O	O
,	O	O
a	O	O
warning	O	O
is	O	O
output	O	O
(	O	O
***	B-Code_Block	B-Output_Block
mixed	I-Code_Block	I-Output_Block
implicit	I-Code_Block	I-Output_Block
and	I-Code_Block	I-Output_Block
normal	I-Code_Block	I-Output_Block
rules	I-Code_Block	I-Output_Block
:	I-Code_Block	I-Output_Block
deprecated	I-Code_Block	I-Output_Block
syntax	I-Code_Block	I-Output_Block
)	O	O
and	O	O
the	O	O
code	O	O
wo	O	O
n't	O	O
run	O	O
when	O	O
the	O	O
files	O	O
are	O	O
modified	O	O
.	O	O

I	O	O
'm	O	O
very	O	O
curious	O	O
as	O	O
to	O	O
why	O	O
this	O	O
is	O	O
functioning	O	O
fine	O	O
on	O	O
Windows	O	B-Operating_System
but	O	O
not	O	O
Linux	O	B-Operating_System
.	O	O

Thanks	O	O
.	O	O

Windows	O	B-Operating_System
:	O	O
GNU	O	B-Application
Make	O	I-Application
4.1	O	B-Version
(	O	O
Built	O	O
for	O	O
i686-w64-mingw32	O	B-Device
)	O	O

Linux	O	B-Operating_System
:	O	O
GNU	O	B-Application
Make	O	I-Application
4.1	O	B-Version
(	O	O
Built	O	O
for	O	O
x86_64-pc-linux-gnu	O	B-Device
)	O	O

I	O	O
've	O	O
got	O	O
an	O	O
Ubuntu	O	B-Operating_System
VM	O	B-Application
in	O	O
VirtualBox	O	B-Application
(	O	O
v4.2.0-r80737	O	B-Version
)	O	O
running	O	O
on	O	O
my	O	O
Windows	O	B-Operating_System
7	O	B-Version
box	O	O
that	O	O
's	O	O
hosting	O	O
a	O	O
git	O	B-Application
repo	O	O
,	O	O
website	O	O
,	O	O
and	O	O
a	O	O
few	O	O
other	O	O
dev	O	O
tools	O	O
.	O	O

It	O	O
is	O	O
easily	O	O
accessible	O	O
from	O	O
other	O	O
machines	O	O
,	O	O
and	O	O
on	O	O
the	O	O
host	O	O
machine	O	O
via	O	O
proxies	O	O
,	O	O
but	O	O
I	O	O
am	O	O
unable	O	O
to	O	O
access	O	O
the	O	O
site/repo	O	O
directly	O	O
on	O	O
the	O	O
host	O	O
machine	O	O
.	O	O

The	O	O
network	O	O
setup	O	O
in	O	O
VirtualBox	O	B-Application
for	O	O
the	O	O
VM	O	B-Application
is	O	O
as	O	O
follows	O	O
:	O	O

Attached	O	O
to	O	O
:	O	O
Bridged	O	B-Device
Adapter	O	I-Device

Adapter	O	B-Device
Type	O	O
:	O	O
Intel	O	B-Device
PRO/1000MT	O	I-Device
Desktop	O	I-Device

Promiscuous	O	O
Mode	O	O
:	O	O
Deny	O	O

Cable	O	O
Connected	O	O

My	O	O
guess	O	O
would	O	O
be	O	O
that	O	O
the	O	O
host	O	O
is	O	O
trying	O	O
to	O	O
connect	O	O
to	O	O
the	O	O
webpage	O	O
via	O	O
the	O	O
LAN	O	O
,	O	O
rather	O	O
than	O	O
the	O	O
wider	O	O
Internet	O	O
,	O	O
and	O	O
is	O	O
being	O	O
blocked	O	O
for	O	O
some	O	O
reason	O	O
.	O	O

What	O	O
I	O	O
do	O	O
n't	O	O
know	O	O
is	O	O
why	O	O
,	O	O
or	O	O
how	O	O
to	O	O
fix	O	O
it	O	O
,	O	O
so	O	O
any	O	O
help	O	O
there	O	O
would	O	O
be	O	O
awesome	O	O
.	O	O

The	O	O
set	O	O
up	O	O
you	O	O
have	O	O
should	O	O
work	O	O
(	O	O
you	O	O
might	O	O
want	O	O
to	O	O
add	O	O
an	O	O
entry	O	O
to	O	O
the	O	O
hosts	O	O
file	O	O
on	O	O
either	O	O
side	O	O
to	O	O
make	O	O
life	O	O
easier	O	O
,	O	O
but	O	O
not	O	O
necessary	O	O
)	O	O
.	O	O

I	O	O
have	O	O
the	O	O
same	O	O
set	O	O
up	O	O
and	O	O
it	O	O
works	O	O
.	O	O

Usually	O	O
,	O	O
it	O	O
needs	O	O
to	O	O
completely	O	O
shutdown	O	O
the	O	O
VM	O	B-Application
and	O	O
boot	O	O
it	O	O
up	O	O
again	O	O
.	O	O

Have	O	O
you	O	O
tried	O	O
an	O	O
host-only	O	B-Device
adapter	O	I-Device
.	O	O

I	O	O
had	O	O
this	O	O
problem	O	O
with	O	O
a	O	O
custom	O	O
server	O	B-Device
solution	O	O
I	O	O
was	O	O
working	O	O
on	O	O
and	O	O
it	O	O
seemed	O	O
to	O	O
fix	O	O
it	O	O
.	O	O

I	O	O
do	O	O
n't	O	O
know	O	O
why	O	O
but	O	O
its	O	O
worth	O	O
a	O	O
shot	O	O
.	O	O

Tell	O	O
me	O	O
if	O	O
it	O	O
work	O	O
for	O	O
you	O	O
.	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
use	O	O
apache	O	B-Library
math	O	I-Library
with	O	O
scala	O	B-Language
but	O	O
I	O	O
am	O	O
not	O	O
able	O	O
to	O	O
run	O	O
the	O	O
examples	O	O
from	O	O
the	O	O
documentation	O	O
http://commons.apache.org/proper/commons-math/userguide/random.html	O	O

I	O	O
am	O	O
new	O	O
to	O	O
scala	O	B-Language
and	O	O
java	O	B-Language
so	O	O
please	O	O
provide	O	O
a	O	O
detailed	O	O
answer	O	O
.	O	O

EDIT	O	O
:	O	O

I	O	O
have	O	O
created	O	O
a	O	O
new	O	O
folder	O	O
with	O	O
the	O	O
build.sbt	B-Code_Block	B-File_Name
.	O	O

If	O	O
I	O	O
run	O	O
the	O	O
command	O	O
sbt	B-Code_Block	B-Code_Block
console	I-Code_Block	I-Code_Block
in	O	O
that	O	O
folder	O	O
than	O	O
the	O	O
code	O	O
seems	O	O
to	O	O
be	O	O
working	O	O
in	O	O
the	O	O
console	O	B-Application
.	O	O

But	O	O
now	O	O
how	O	O
can	O	O
I	O	O
can	O	O
run	O	O
the	O	O
code	O	O
on	O	O
eclipse	O	B-Application
?	O	O

?	O	O

First	O	O
of	O	O
all	O	O
,	O	O
you	O	O
might	O	O
want	O	O
to	O	O
look	O	O
up	O	O
Scala	O	B-Language
's	O	O
general	O	O
syntactic	O	O
rules	O	O
,	O	O
unlike	O	O
Java	O	B-Language
for	O	O
example	O	O
,	O	O
Scala	O	B-Language
does	O	O
n't	O	O
start	O	O
its	O	O
variables	O	O
with	O	O
the	O	O
type	O	O
,	O	O
nor	O	O
is	O	O
a	O	O
semicolon	O	B-Value
required	O	O
.	O	O

So	O	O
in	O	O
case	O	O
of	O	O
your	O	O
"	O	O
problem	O	O
"	O	O
,	O	O
the	O	O
solution	O	O
is	O	O
really	O	O
just	O	O

That	O	O
,	O	O
and	O	O
your	O	O
import	O	O
might	O	O
be	O	O
wrong	O	O
,	O	O
since	O	O
RandomDataGenerator	B-Code_Block	B-Class
is	O	O
under	O	O
org.apache.commons.math3.random.RandomDataGenerator	B-Code_Block	B-Class
,	O	O
not	O	O
math	B-Code_Block	B-Library

Apache	O	B-Application
project	O	O
documentation	O	O
tends	O	O
to	O	O
be	O	O
terrible	O	O
about	O	O
explaining	O	O
how	O	O
to	O	O
get	O	O
started	O	O
.	O	O

For	O	O
example	O	O
,	O	O
you	O	O
'll	O	O
see	O	O
"	O	O
Download	O	O
"	O	O
links	O	O
everywhere	O	O
that	O	O
show	O	O
you	O	O
how	O	O
to	O	O
get	O	O
the	O	O
project	O	O
code	O	O
and	O	O
jars	O	B-File_Type
.	O	O

Do	O	O
n't	O	O
do	O	O
this	O	O
!	O	O

Use	O	O
a	O	O
proper	O	O
build	O	O
system	O	O
that	O	O
will	O	O
manage	O	O
your	O	O
dependencies	O	O
for	O	O
you	O	O
.	O	O

For	O	O
this	O	O
example	O	O
I	O	O
'll	O	O
use	O	O
SBT	O	B-Application
,	O	O
but	O	O
Maven	O	B-Application
would	O	O
work	O	O
just	O	O
as	O	O
well	O	O
(	O	O
although	O	O
with	O	O
a	O	O
lot	O	O
more	O	O
verbosity	O	O
)	O	O
.	O	O

Once	O	O
you	O	O
've	O	O
got	O	O
SBT	O	B-Application
installed	O	O
you	O	O
can	O	O
search	O	O
Maven	O	B-Application
Central	O	O
for	O	O
"	O	O
commons-math	O	B-Library
"	O	O
,	O	O
which	O	O
will	O	O
take	O	O
you	O	O
here	O	O
.	O	O

You	O	O
'll	O	O
see	O	O
a	O	O
"	O	O
Scala	O	B-Language
SBT	O	B-Application
"	O	O
button	O	B-User_Interface_Element
on	O	O
the	O	O
side	O	O
;	O	O
click	O	O
it	O	O
and	O	O
copy	O	O
the	O	O
text	O	O
to	O	O
a	O	O
file	O	O
called	O	O
build.sbt	B-Code_Block	B-File_Name
:	O	O

Okay	O	O
,	O	O
now	O	O
you	O	O
can	O	O
start	O	O
an	O	O
SBT	O	B-Application
console	O	I-Application
with	O	O
sbt	B-Code_Block	B-Code_Block
console	I-Code_Block	I-Code_Block
.	O	O

Now	O	O
you	O	O
need	O	O
to	O	O
know	O	O
the	O	O
full	O	O
path	O	O
to	O	O
the	O	O
class	O	O
you	O	O
want	O	O
,	O	O
which	O	O
of	O	O
course	O	O
is	O	O
nowhere	O	O
to	O	O
be	O	O
found	O	O
in	O	O
the	O	O
Apache	O	B-Application
documentation	O	O
,	O	O
because	O	O
that	O	O
would	O	O
be	O	O
too	O	O
convenient	O	O
.	O	O

With	O	O
a	O	O
little	O	O
bit	O	O
of	O	O
Googling	O	O
you	O	O
'll	O	O
find	O	O
the	O	O
following	O	O
:	O	O

And	O	O
now	O	O
you	O	O
can	O	O
create	O	O
an	O	O
instance	O	O
:	O	O

And	O	O
you	O	O
're	O	O
done	O	O
!	O	O

Now	O	O
any	O	O
good	O	O
Scala	O	B-Language
resource	O	O
will	O	O
give	O	O
you	O	O
an	O	O
idea	O	O
of	O	O
how	O	O
to	O	O
accomplish	O	O
whatever	O	O
you	O	O
want	O	O
to	O	O
do	O	O
next	O	O
.	O	O

I	O	O
'm	O	O
looking	O	O
for	O	O
a	O	O
formula	O	O
to	O	O
convert	O	O
IPV6	B-Code_Block	O
address	O	O
to	O	O
IP	B-Code_Block	O
number	O	O
.	O	O

This	O	O
is	O	O
required	O	O
to	O	O
map	O	O
with	O	O
geoip	O	O
location	O	O
information	O	O
we	O	O
have	O	O
.	O	O

Input	O	O
IPV6	O	O
address	O	O
:	O	O
2001:0db8:0000:0000:0000:ff00:0042:8329	B-Code_Block	B-Value

Output	O	O
IP	O	O
Number	O	O
converted	O	O
:	O	O
42540766411282592856904265327123268393	B-Code_Block	B-Value

Thanks.	O	O
.	O	O

Below	O	O
are	O	O
the	O	O
sample	O	O
codes	O	O
in	O	O
multiple	O	O
languages	O	O
to	O	O
convert	O	O
IPv6	O	O
address	O	O
to	O	O
number	O	O
taken	O	O
from	O	O
http://lite.ip2location.com/faqs	O	O

PHP	O	B-Language

Java	O	B-Language

C#	O	B-Language

VB.NET	O	B-Language

Please	O	O
consider	O	O
this	O	O
(	O	O
non-homework	O	O
)	O	O
exercise	O	O
of	O	O
converting	O	O
a	O	O
slash-notation	O	O
(	O	O
e.g	O	O
.	O	O
24	O	O
,	O	O
30	O	O
)	O	O
to	O	O
a	O	O
subnet	O	O
mask	O	O
.	O	O

When	O	O
I	O	O
copy	O	O
a	O	O
BitArray	B-Code_Block	B-Class
to	O	O
byte[]	B-Code_Block	B-Data_Structure
,	O	O
the	O	O
internal	O	O
ordering	O	O
of	O	O
the	O	O
BitArray	B-Code_Block	B-Class
leads	O	O
to	O	O
incorrect	O	O
output	O	O
.	O	O

For	O	O
instance	O	O
,	O	O
with	O	O
an	O	O
input	O	O
of	O	O
numberOfSetBits	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
24	I-Code_Block	I-Code_Block
,	O	O
ToString()	B-Code_Block	B-Function
should	O	O
return	O	O
255.255.255.0	B-Code_Block	B-Value
(	O	O
this	O	O
works	O	O
because	O	O
the	O	O
bits	O	O
are	O	O
symmetrical	O	O
)	O	O
.	O	O

However	O	O
,	O	O
an	O	O
input	O	O
of	O	O
30	B-Code_Block	B-Value
results	O	O
in	O	O
255.255.255.63	B-Code_Block	B-Value
instead	O	O
of	O	O
the	O	O
expected	O	O
255.255.255.252	B-Code_Block	B-Value
.	O	O

Yes	O	O
,	O	O
I	O	O
realize	O	O
that	O	O
that	O	O
's	O	O
just	O	O
the	O	O
way	O	O
a	O	O
BitArray	O	B-Class
handles	O	O
it	O	O
's	O	O
children	O	O
(	O	O
there	O	O
's	O	O
an	O	O
old	O	O
discussion	O	O
about	O	O
the	O	O
issue	O	O
,	O	O
unfortunately	O	O
without	O	O
a	O	O
solution	O	O
,	O	O
just	O	O
a	O	O
never-ending	O	O
argument	O	O
over	O	O
why	O	O
one	O	O
ordering	O	O
would	O	O
be	O	O
better	O	O
)	O	O
.	O	O

But	O	O
how	O	O
,	O	O
for	O	O
the	O	O
love	O	O
of	O	O
god	O	O
,	O	O
can	O	O
I	O	O
get	O	O
this	O	O
code	O	O
to	O	O
treat	O	O
1111	B-Code_Block	B-Value
1100	I-Code_Block	I-Value
(=	O	I-Value
25	O	I-Value
2)	O	I-Value
for	O	O
what	O	O
it	O	O
is	O	O
instead	O	O
of	O	O
mangling	O	O
it	O	O
to	O	O
0011	B-Code_Block	B-Value
1111	I-Code_Block	I-Value
(=	O	I-Value
6	O	I-Value
3)	O	I-Value
?	O	O

I	O	O
believe	O	O
I	O	O
'll	O	O
have	O	O
to	O	O
change	O	O
the	O	O
order	O	O
in	O	O
which	O	O
I	O	O
'm	O	O
adding	O	O
the	O	O
bits	O	O
in	O	O
the	O	O
first	O	O
place	O	O
,	O	O
but	O	O
I	O	O
ca	O	O
n't	O	O
get	O	O
it	O	O
to	O	O
work	O	O
.	O	O

Thank	O	O
you	O	O
.	O	O

You	O	O
do	O	O
n't	O	O
need	O	O
a	O	O
BitArray	B-Code_Block	B-Class
,	O	O
you	O	O
can	O	O
create	O	O
the	O	O
mask	O	O
from	O	O
shifting	O	O
an	O	O
integer	O	B-Data_Type
,	O	O
and	O	O
use	O	O
BitConverter.GetBytes	B-Code_Block	B-Function
to	O	O
get	O	O
it	O	O
as	O	O
bytes	O	B-Data_Type
:	O	O

Would	O	O
n't	O	O
this	O	O
just	O	O
be	O	O
fixed	O	O
by	O	O
doing	O	O
:	O	O

This	O	O
sets	O	O
the	O	O
high-order	O	O
bits	O	O
(	O	O
rather	O	O
than	O	O
the	O	O
low-order	O	O
bits	O	O
)	O	O
.	O	O

The	O	O
reasoning	O	O
here	O	O
is	O	O
precisely	O	O
what	O	O
is	O	O
mentioned	O	O
in	O	O
the	O	O
answer	O	O
you	O	O
linked	O	O
-	O	O
BitArray	O	B-Class
stores	O	O
the	O	O
least-significant	O	O
digits	O	O
in	O	O
the	O	O
lowest	O	O
index	O	O
,	O	O
so	O	O
the	O	O
bit	O	B-Class
array	O	I-Class
11111000000000	B-Code_Block	B-Value
below	O	O
is	O	O
[	O	O
indexed	O	O
]	O	O
thus	O	O
:	O	O

I	O	O
am	O	O
using	O	O
spring-data-mongodb	O	B-Application
.	O	O

Here	O	O
is	O	O
my	O	O
controller	O	O
method	O	O
:	O	O

Controller	O	O
:	O	O

Here	O	O
I	O	O
am	O	O
passing	O	O
list	O	B-Data_Structure
of	O	O
string	O	B-Data_Type
as	O	O
a	O	O
request	O	O
parameter	O	O
.	O	O

My	O	O
service	O	O
method	O	O
is	O	O
:	O	O

Repository	O	O
code	O	O
:	O	O

Here	O	O
,	O	O
my	O	O
query	O	O
in	O	O
repository	O	O
always	O	O
returns	O	O
empty	O	O
array	O	B-Data_Structure
[	O	O
]	O	O
.	O	O

I	O	O
am	O	O
not	O	O
getting	O	O
what	O	O
is	O	O
wrong	O	O
with	O	O
this	O	O
query	O	O
.	O	O

My	O	O
request	O	O
URL	O	O
is	O	O
:	O	O

i	O	O
think	O	O
the	O	O
problem	O	O
is	O	O
in	O	O
your	O	O
url	O	O
.	O	O

try	O	O
to	O	O
remove	O	O
the	O	O
quotes	O	O
.	O	O

http://localhost:8080/document/getByCategory?categories=category1&categories=category2	B-Code_Block	B-Value

VB2010	O	B-Language
I	O	O
have	O	O
a	O	O
user	O	O
form	O	O
where	O	O
the	O	O
user	O	O
inputs	O	O
a	O	O
number	O	O
format	O	O
.	O	O

The	O	O
routine	O	O
then	O	O
cycles	O	O
through	O	O
a	O	O
list	O	B-Data_Structure
of	O	O
number	O	O
pairs	O	O
and	O	O
displays	O	O
them	O	O
in	O	O
a	O	O
list	O	B-Data_Structure
of	O	O
categories	O	O
:	O	O

What	O	O
I	O	O
am	O	O
trying	O	O
to	O	O
do	O	O
is	O	O
to	O	O
increment	O	O
the	O	O
first	O	O
value	O	O
by	O	O
one	O	O
digit	O	O
so	O	O
there	O	O
is	O	O
no	O	O
overlap	O	O
.	O	O

something	O	O
like	O	O
:	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
make	O	O
it	O	O
so	O	O
it	O	O
works	O	O
with	O	O
any	O	O
number	O	O
format	O	O
the	O	O
user	O	O
inputs	O	O
like	O	O
"	O	B-Value
0.000	O	I-Value
"	O	I-Value
or	O	O
"	O	B-Value
0.0	O	I-Value
"	O	I-Value
.	O	O

What	O	O
I	O	O
currently	O	O
have	O	O
is	O	O
(	O	O
example	O	O
for	O	O
value	O	O
164.04	O	B-Value
)	O	O

Seemed	O	O
to	O	O
work	O	O
in	O	O
my	O	O
VB6	O	B-Language
program	O	O
but	O	O
wanted	O	O
to	O	O
see	O	O
if	O	O
anyone	O	O
had	O	O
any	O	O
better	O	O
ideas	O	O
.	O	O

I	O	O
also	O	O
do	O	O
n't	O	O
think	O	O
i	O	O
accounted	O	O
for	O	O
the	O	O
last	O	O
digit	O	O
being	O	O
a	O	O
9	O	B-Value
.	O	O

Update	O	O
:	O	O
based	O	O
on	O	O
the	O	O
suggestions	O	O
below	O	O
what	O	O
ended	O	O
up	O	O
working	O	O
for	O	O
positive	O	O
and	O	O
negative	O	O
numbers	O	O
and	O	O
integers	O	B-Data_Type
and	O	O
floats	O	B-Data_Type
was	O	O
the	O	O
following	O	O
:	O	O

Here	O	O
is	O	O
the	O	O
algorithm	O	O
:	O	O

1.Find	O	O
decimal	O	O
points	O	O
(	O	O
p	O	B-Variable
)	O	O

2.multiply	O	O
the	O	O
number	O	O
by	O	O
10^p	O	B-Value
,	O	O
increase	O	O
it	O	O
by	O	O
one	O	O
,	O	O
divide	O	O
it	O	O
back	O	O
by	O	O
10^p	O	B-Value

I	O	O
've	O	O
created	O	O
somewhat	O	O
of	O	O
a	O	O
complicated	O	O
slider	O	B-User_Interface_Element
with	O	O
jquery	O	B-Library
Cycle	O	B-Function
.	O	O

You	O	O
can	O	O
see	O	O
it	O	O
running	O	O
perfectly	O	O
here	O	O

However	O	O
,	O	O
when	O	O
you	O	O
click	O	O
it	O	O
a	O	O
bunch	O	O
of	O	O
times	O	O
(	O	O
before	O	O
the	O	O
slide	O	O
has	O	O
finished	O	O
its	O	O
transition	O	O
)	O	O
,	O	O
it	O	O
starts	O	O
to	O	O
go	O	O
wacky	O	O
and	O	O
even	O	O
hides	O	O
the	O	O
text.	O	B-User_Interface_Element
.	O	O

Here	O	O
is	O	O
my	O	O
code	O	O
:	O	O

Any	O	O
ideas	O	O
?	O	O

I	O	O
thought	O	O
.stop()	O	B-Function
would	O	O
remedy	O	O
this	O	O
,	O	O
but	O	O
it	O	O
didnt.	O	O
.	O	O

Figured	O	O
it	O	O
out	O	O
.	O	O

Had	O	O
to	O	O
set	O	O
the	O	O
.slideUp	O	B-Function
and	O	O
.slidedown	O	B-Function
to	O	O
happen	O	O
on	O	O
the	O	O
callback	O	O
of	O	O
.animate()	O	B-Function

How	O	O
do	O	O
i	O	O
get	O	O
an	O	O
IGrouping	O	B-Class
result	O	O
to	O	O
map	O	O
to	O	O
the	O	O
view	O	B-Class
?	O	O

I	O	O
have	O	O
this	O	O
query	O	O
:	O	O

What	O	O
is	O	O
the	O	O
proper	O	O
mapping	O	O
for	O	O
the	O	O
ViewPage	O	B-Class
declaration	O	O
?	O	O

In	O	O
the	O	O
instance	O	O
of	O	O
helping	O	O
others	O	O
out	O	O
.	O	O

This	O	O
is	O	O
what	O	O
I	O	O
was	O	O
attempting	O	O
to	O	O
accomplish	O	O
.	O	O

The	O	O
action	O	O
code	O	O

The	O	O
View	O	B-Class

IGrouping	O	B-Class
is	O	O
a	O	O
list	O	B-Data_Structure
of	O	O
lists	O	B-Data_Structure
so	O	O
to	O	O
speak	O	O
.	O	O

With	O	O
the	O	O
"	O	O
Key	O	B-Variable
"	O	O
being	O	O
the	O	O
grouped	O	O
property	O	O
in	O	O
the	O	O
source	O	O
list	O	B-Data_Structure
.	O	O

The	O	O
view	O	B-Class
must	O	O
be	O	O
the	O	O
same	O	O
type	O	O
of	O	O
the	O	O
page	O	O
.	O	O

You	O	O
would	O	O
have	O	O
to	O	O
convert	O	O
the	O	O
output	O	O
to	O	O
the	O	O
same	O	O
type	O	O
used	O	O
by	O	O
your	O	O
view	O	B-Class
page	O	O
.	O	O

You	O	O
could	O	O
also	O	O
use	O	O
a	O	O
ViewData["Products"]	B-Code_Block	B-Code_Block
to	O	O
set	O	O
the	O	O
collection	O	O
information	O	O
you	O	O
want	O	O
to	O	O
be	O	O
visible	O	O
on	O	O
your	O	O
View	O	B-Class
aspx	O	B-File_Type
page	O	O
.	O	O

We	O	O
are	O	O
trying	O	O
to	O	O
rewrite	O	O
an	O	O
IIS	O	B-Application
web	O	I-Application
server	O	I-Application
handler	O	B-Class
for	O	O
JBoss	O	B-Application
5	O	B-Version
app	O	B-Application
server	O	I-Application
,	O	O
but	O	O
I	O	O
could	O	O
not	O	O
find	O	O
the	O	O
similar	O	O
concept	O	O
for	O	O
JBoss	O	B-Application
.	O	O

Could	O	O
you	O	O
,	O	O
please	O	O
,	O	O
give	O	O
some	O	O
advice	O	O
or	O	O
direction	O	O
how	O	O
we	O	O
should	O	O
implement	O	O
the	O	O
handler	O	B-Class
,	O	O
or	O	O
what	O	O
should	O	O
we	O	O
google	O	O
for	O	O
?	O	O

To	O	O
be	O	O
clear	O	O
,	O	O
the	O	O
final	O	O
goal	O	O
is	O	O
to	O	O
have	O	O
an	O	O
application	O	O
which	O	O
does	O	O
not	O	O
need	O	O
a	O	O
name	O	O
in	O	O
url	O	O
in	O	O
order	O	O
to	O	O
be	O	O
invoked	O	O
and	O	O
runs	O	O
every	O	O
time	O	O
I	O	O
access	O	O
just	O	O
the	O	O
IP	O	O
address	O	O
or	O	O
server	O	B-Application
name	O	O
.	O	O

e.g	O	O
.	O	O
http://13.10.15.48	O	O

The	O	O
application	O	O
(	O	O
handler	O	B-Class
)	O	O
should	O	O
grab	O	O
the	O	O
request	O	O
,	O	O
process	O	O
it	O	O
and	O	O
pass	O	O
over	O	O
to	O	O
other	O	O
default	O	O
handlers	O	B-Class
or	O	O
web	O	O
server	O	B-Application
.	O	O

Should	O	O
I	O	O
search	O	O
for	O	O
Tomcat	O	B-Application
handlers	O	B-Class
instead	O	O
?	O	O

Thanks	O	O
in	O	O
advance	O	O
.	O	O

By	O	O
default	O	O
JBoss	O	B-Application
has	O	O
a	O	O
the	O	O
root	O	O
context	O	O
point	O	O
to	O	O
a	O	O
default	O	O
app	O	O
.	O	O

In	O	O
order	O	O
to	O	O
point	O	O
you	O	O
application	O	O
to	O	O
the	O	O
root	O	O
context	O	O
you	O	O
need	O	O
to	O	O
do	O	O
the	O	O
following	O	O

If	O	O
you	O	O
are	O	O
deploying	O	O
you	O	O
application	O	O
as	O	O
a	O	O
WAR	O	B-File_Type
file	O	O
,	O	O
the	O	O
add	O	O
the	O	O
following	O	O
content	O	O
to	O	O
your	O	O
/WEB-INF/jboss	O	B-File_Name
-web.xml	O	I-File_Name
(	O	O
if	O	O
it	O	O
does	O	O
not	O	O
already	O	O
exist	O	O
)	O	O

If	O	O
you	O	O
are	O	O
deploying	O	O
your	O	O
application	O	O
as	O	O
an	O	O
EAR	O	B-File_Type
file	O	O
,	O	O
then	O	O
you	O	O
need	O	O
to	O	O
set	O	O
the	O	O
context-root	O	B-Code_Block
in	O	O
your	O	O
/META-INF/application.xml	O	B-File_Name
file	O	O
as	O	O
follows	O	O

For	O	O
more	O	O
information	O	O
please	O	O
refer	O	O
[	O	O
1	O	O
]	O	O

Hope	O	O
this	O	O
helps	O	O
.	O	O

Good	O	O
luck	O	O
!	O	O

[	O	O
1	O	O
]	O	O
https://community.jboss.org/wiki/HowDoIOverrideTheWebContextRoot	O	O

You	O	O
'd	O	O
do	O	O
this	O	O
by	O	O
creating	O	O
an	O	O
application	O	O
(	O	O
a	O	O
WAR	O	B-File_Type
is	O	O
fine	O	O
)	O	O
with	O	O
context-root	B-Code_Block	B-Code_Block
set	O	O
to	O	O
/	B-Code_Block	B-Value
.	O	O

I	O	O
have	O	O
a	O	O
simple	O	O
application	O	O
consisting	O	O
of	O	O
a	O	O
Window	O	B-Class
containing	O	O
a	O	O
Canvas	O	B-Class
(	O	O
rootCanvas	O	B-Variable
)	O	O
.	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
add	O	O
another	O	O
Canvas	O	B-Class
(	O	O
test	O	B-Variable
)	O	O
to	O	O
this	O	O
and	O	O
apply	O	O
different	O	O
Transforms	O	B-Class
to	O	O
the	O	O
child	O	O
canvas	O	B-Class
's	O	O
LayoutTransform	O	B-Variable
.	O	O

This	O	O
is	O	O
all	O	O
being	O	O
done	O	O
programmatically	O	O
rather	O	O
than	O	O
using	O	O
XAML	O	B-Language
.	O	O

Some	O	O
transforms	O	B-Class
are	O	O
working	O	O
,	O	O
whilst	O	O
others	O	O
are	O	O
not	O	O
as	O	O
follows	O	O
:	O	O

When	O	O
the	O	O
LayoutTranform	O	B-Variable
is	O	O
set	O	O
to	O	O
a	O	O
RotateTransform	O	B-Class
it	O	O
works	O	O
as	O	O

expected	O	O
.	O	O

When	O	O
it	O	O
is	O	O
set	O	O
to	O	O
a	O	O
TranslateTransform	O	B-Class
the	O	O
translation	O	O
does	O	O
not	O	O
appear	O	O

to	O	O
be	O	O
applied	O	O
,	O	O
and	O	O
the	O	O
test	O	O
Canvas	O	B-Class
is	O	O
still	O	O
located	O	O
in	O	O
the	O	O
top	O	O
corner	O	O
of	O	O

rootCanvas	O	B-Variable

When	O	O
it	O	O
is	O	O
set	O	O
to	O	O
a	O	O
MatrixTransform	O	B-Class
that	O	O
has	O	O
been	O	O
constructed	O	O
by	O	O
applying	O	O
a	O	O
rotation	O	O
and	O	O
then	O	O
a	O	O
translation	O	O
,	O	O
only	O	O
the	O	O
rotation	O	O
appears	O	O
to	O	O
be	O	O
applied	O	O
.	O	O

The	O	O
code	O	O
is	O	O
given	O	O
below	O	O
:	O	O

I	O	O
would	O	O
be	O	O
extremely	O	O
grateful	O	O
if	O	O
someone	O	O
could	O	O
explain	O	O
what	O	O
I	O	O
am	O	O
doing	O	O
wrong	O	O
here	O	O
,	O	O
as	O	O
I	O	O
do	O	O
not	O	O
understand	O	O
why	O	O
translations	O	O
do	O	O
not	O	O
seem	O	O
to	O	O
be	O	O
working	O	O
as	O	O
I	O	O
would	O	O
expect	O	O
.	O	O

Thanks	O	O
in	O	O
advance	O	O
,	O	O

Wibbs	O	B-User_Name

Please	O	O
read	O	O
the	O	O
remarks	O	O
in	O	O
FrameworkElement.LayoutTransform	O	B-Variable
Property	O	O
.	O	O

Use	O	O
UIElement.RenderTransform	O	B-Variable
Property	O	O
for	O	O
applying	O	O
a	O	O
TranslateTransform	B-Code_Block	B-Class
.	O	O

i	O	O
read	O	O
some	O	O
questions	O	O
here	O	O
about	O	O
UIGestureRecognizer	O	B-Class
but	O	O
i	O	O
am	O	O
not	O	O
sure	O	O
how	O	O
to	O	O
accomplish	O	O
the	O	O
following	O	O
task	O	O
:	O	O

I	O	O
would	O	O
like	O	O
to	O	O
create	O	O
something	O	O
like	O	O
the	O	O
unlock	O	O
slider	O	B-User_Interface_Element
of	O	O
the	O	O
iphone	O	B-Device
,	O	O
but	O	O
sliding	O	O
a	O	O
button	O	B-User_Interface_Element
around	O	O
a	O	O
circle	O	B-User_Interface_Element
.	O	O

In	O	O
this	O	O
case	O	O
i	O	O
do	O	O
n't	O	O
need	O	O
to	O	O
look	O	O
into	O	O
the	O	O
UIGestureRecognizer	O	B-Class
class	O	O
,	O	O
do	O	O
i	O	O
?	O	O

I	O	O
need	O	O
an	O	O
animation	O	O
class	O	O
or	O	O
something	O	O
...	O	O
If	O	O
you	O	O
gave	O	O
me	O	O
some	O	O
key-words	O	O
to	O	O
start	O	O
with	O	O
i	O	O
would	O	O
be	O	O
really	O	O
happy	O	O
:)	O	O

maxi	O	B-User_Name

Here	O	O
's	O	O
another	O	O
one	O	O
:	O	O

https://github.com/iosdeveloper/SlideToCancel	O	O

You	O	O
might	O	O
try	O	O
this	O	O
page	O	O
as	O	O
a	O	O
starting	O	O
point	O	O

http://denizdemir.com/2011/03/07/animated-slider-iphones-cool-first-impression/	O	O

To	O	O
do	O	O
the	O	O
circle	O	B-User_Interface_Element
version	O	O
will	O	O
involve	O	O
a	O	O
fair	O	O
bit	O	O
more	O	O
work	O	O
I	O	O
'd	O	O
say	O	O
as	O	O
not	O	O
only	O	O
do	O	O
you	O	O
need	O	O
to	O	O
read	O	O
the	O	O
circle	O	B-User_Interface_Element
gesture	O	O
you	O	O
also	O	O
need	O	O
your	O	O
lock	O	O
to	O	O
move	O	O
around	O	O
the	O	O
circle	O	B-User_Interface_Element
..	O	O
.	O	O

http://iphonedevelopment.blogspot.com/2009/04/detecting-circle-gesture.html	O	O

http://forum.unity3d.com/threads/13494-Messing-around-with-gestures	O	O

Could	O	O
be	O	O
there	O	O
is	O	O
a	O	O
far	O	O
simpler	O	O
way	O	O
to	O	O
do	O	O
this	O	O
now	O	O
but	O	O
I	O	O
'm	O	O
not	O	O
aware	O	O
of	O	O
it	O	O
.	O	O

Good	O	O
Luck	O	O
!	O	O

My	O	O
excel	O	B-Application
spreadsheet	O	B-User_Interface_Element
contains	O	O

I	O	O
used	O	O
freeze	B-Code_Block	O
panel	I-Code_Block	O
and	O	O
other	O	O
formatting	O	O
things	O	O
.	O	O

I	O	O
want	O	O
to	O	O
create	O	O
separate	O	O
Spreadsheets	O	B-User_Interface_Element
that	O	O
would	O	O
contains	O	O
only	O	O
one	O	O
name	O	O
.	O	O

Example	O	O
:	O	O

Spreadsheet_paul.xls	O	B-File_Name

Spreadsheet_Nick.xls	O	B-File_Name

........	O	O
.	O	O

I	O	O
need	O	O
to	O	O
create	O	O
separate	O	O
files	O	O
,	O	O
with	O	O
the	O	O
number	O	O
of	O	O
files	O	O
at	O	O
the	O	O
end	O	O
equal	O	O
to	O	O
the	O	O
number	O	O
of	O	O
names	O	O
in	O	O
the	O	O
original	O	O
spreadsheet	O	B-User_Interface_Element
,	O	O
each	O	O
containing	O	O
the	O	O
corresponding	O	O
subset	O	O
of	O	O
the	O	O
original	O	O
data	O	O
.	O	O

How	O	O
can	O	O
I	O	O
do	O	O
this	O	O
?	O	O

Try	O	O
this	O	O
code	O	O
.	O	O

I	O	O
've	O	O
commented	O	O
it	O	O
in	O	O
details	O	O
.	O	O

But	O	O
if	O	O
you	O	O
have	O	O
some	O	O
quesions	O	O
,	O	O
ask	O	O
in	O	O
comments	O	O
:	O	O
)	O	O
.	O	O

Code	O	O
saves	O	O
new	O	O
wokrbooks	O	B-Variable
in	O	O
the	O	O
folder	O	O
where	O	O
your	O	O
current	O	O
workbook	O	B-Variable
is	O	O
saved	O	O
.	O	O

@dmitry	O	B-User_Name
-pavliv	O	I-User_Name
can	O	O
you	O	O
modify	O	O
your	O	O
code	O	O
and	O	O
add	O	O
a	O	O
functionality	O	O
to	O	O
copy	O	O
specific	O	O
Sheets	O	B-User_Interface_Element
and	O	O
add	O	O
them	O	O
the	O	O
final	O	O
file	O	O
?	O	O

I	O	O
'm	O	O
learning	O	O
list	O	B-Data_Structure
comprehensions	O	O
in	O	O
Python	O	B-Language
.	O	O

I	O	O
was	O	O
to	O	O
append	O	O
letters	O	O
from	O	O
a	O	O
list	O	B-Data_Structure
of	O	O
words	O	O
and	O	O
form	O	O
a	O	O
new	O	O
list	O	B-Data_Structure
but	O	O
without	O	O
duplicates	O	O
.	O	O

This	O	O
is	O	O
what	O	O
I	O	O
'm	O	O
trying	O	O
:	O	O

I	O	O
'm	O	O
getting	O	O
the	O	O
following	O	O
error	O	O
:	O	O

What	O	O
am	O	O
I	O	O
doing	O	O
wrong	O	O
?	O	O

If	O	O
you	O	O
simply	O	O
want	O	O
to	O	O
get	O	O
rid	O	O
of	O	O
duplicates	O	O
,	O	O
you	O	O
might	O	O
want	O	O
to	O	O
utilize	O	O
set()	B-Code_Block	B-Function
.	O	O

letterlist	B-Code_Block	B-Variable
is	O	O
not	O	O
defined	O	O
until	O	O
the	O	O
list	O	B-Data_Structure
comprehension	O	O
is	O	O
finished	O	O
.	O	O

Therefore	O	O
,	O	O
you	O	O
ca	O	O
n't	O	O
reference	O	O
it	O	O
inside	O	O
itself	O	O
.	O	O

A	O	O
function	O	O
can	O	O
reference	O	O
itself	O	O
only	O	O
because	O	O
the	O	O
function	O	O
is	O	O
not	O	O
called	O	O
until	O	O
after	O	O
it	O	O
's	O	O
defined	O	O
,	O	O
but	O	O
a	O	O
list	O	B-Data_Structure
comprehension	O	O
is	O	O
being	O	O
executed	O	O
as	O	O
part	O	O
of	O	O
the	O	O
definition	O	O
,	O	O
so	O	O
it	O	O
ca	O	O
n't	O	O
reference	O	O
itself	O	O
.	O	O

A	O	O
possible	O	O
way	O	O
to	O	O
do	O	O
it	O	O
would	O	O
be	O	O
to	O	O
define	O	O
the	O	O
list	O	B-Data_Structure
without	O	O
the	O	O
test	O	O
,	O	O
and	O	O
then	O	O
remove	O	O
the	O	O
duplicates	O	O
:	O	O

Using	O	O
set()	B-Code_Block	B-Function
makes	O	O
it	O	O
a	O	O
list	O	B-Data_Structure
(	O	O
which	O	O
removes	O	O
the	O	O
duplicates	O	O
)	O	O
,	O	O
and	O	O
using	O	O
list	B-Code_Block	B-Function
converts	O	O
it	O	O
back	O	O
to	O	O
a	O	O
list	O	B-Data_Structure
.	O	O

If	O	O
you	O	O
really	O	O
do	O	O
n't	O	O
want	O	O
to	O	O
use	O	O
a	O	O
set	B-Code_Block	B-Data_Structure
,	O	O
then	O	O
using	O	O
a	O	O
list	O	B-Data_Structure
comprehension	O	O
is	O	O
probably	O	O
not	O	O
the	O	O
best	O	O
way	O	O
to	O	O
go	O	O
.	O	O

You	O	O
could	O	O
use	O	O
a	O	O
for	B-Code_Block	B-Code_Block
loop	O	O
like	O	O
this	O	O
:	O	O

Gives	O	O
the	O	O
following	O	O
error	O	O
:	O	O
(	O	O
try	O	O
it	O	O
)	O	O
.	O	O

An	O	O
inline	O	O
definition	O	O
does	O	O
not	O	O
suffer	O	O
from	O	O
this	O	O
error	O	O
.	O	O

Could	O	O
someone	O	O
please	O	O
explain	O	O
why	O	O
the	O	O
compiler	O	B-Application
can	O	O
not	O	O
resolve	O	O
a	B-Code_Block	B-Variable
in	O	O
this	O	O
case	O	O
,	O	O
andhow	O	O
I	O	O
can	O	O
make	O	O
this	O	O
code	O	O
work	O	O
.	O	O

I	O	O
would	O	O
like	O	O
to	O	O
not	O	O
resolve	O	O
all	O	O
the	O	O
names	O	O
explicitly	O	O
like	O	O

As	O	O
it	O	O
would	O	O
decrease	O	O
readability	O	O
.	O	O

If	O	O
C++11	O	B-Language
and	O	O
14	O	B-Version
,	O	O
you	O	O
can	O	O
declare	O	O
your	O	O
function	O	O
auto	B-Code_Block	O
to	O	O
get	O	O
rid	O	O
of	O	O
the	O	O
long	O	B-Data_Type
return	O	O
type	O	O
.	O	O

You	O	O
need	O	O
to	O	O
specify	O	O
it	O	O
as	O	O
a	O	O
trailing	O	O
type	O	O
in	O	O
C++11	O	B-Language
,	O	O
but	O	O
this	O	O
allows	O	O
you	O	O
to	O	O
get	O	O
omit	O	O
the	O	O
typename	B-Code_Block	B-Code_Block
B<T>:	I-Code_Block	I-Code_Block
:	I-Code_Block	I-Code_Block
because	O	O
the	O	O
compiler	O	B-Application
already	O	O
knows	O	O
where	O	O
to	O	O
look	O	O
.	O	O

That	O	O
's	O	O
because	O	O
the	O	O
a	B-Code_Block	B-Variable
here	O	O
is	O	O
still	O	O
looking	O	O
in	O	O
global	O	B-Data_Type
scope	O	O
:	O	O

You	O	O
're	O	O
doing	O	O
unqualifed	O	O
lookup	O	O
on	O	O
a	B-Code_Block	B-Variable
.	O	O

Once	O	O
you	O	O
get	O	O
to	O	O
the	O	O
B<T>:	B-Code_Block	B-Variable
:	I-Code_Block	I-Variable
part	O	O
of	O	O
the	O	O
definition	O	O
,	O	O
that	O	O
scope	O	O
is	O	O
added	O	O
to	O	O
all	O	O
further	O	O
lookup	O	O
.	O	O

So	O	O
the	O	O
type	O	O
of	O	O
the	O	O
argument	O	O
b	B-Code_Block	B-Variable
will	O	O
be	O	O
looked	O	O
up	O	O
in	O	O
the	O	O
scope	O	O
of	O	O
B<T>	B-Code_Block	B-Variable
.	O	O

You	O	O
simply	O	O
need	O	O
to	O	O
qualify	O	O
it	O	O
the	O	O
return	O	O
type	O	O
:	O	O

The	O	O
relevant	O	O
rules	O	O
is	O	O
for	O	O
why	O	O
the	O	O
argument	O	O
type	O	O
a	B-Code_Block	B-Variable
can	O	O
be	O	O
found	O	O
is	O	O
in	O	O
[basic.lookup.unqual]/8	O	B-Code_Block
:	O	O

The	O	O
return	O	O
type	O	O
a	B-Code_Block	B-Variable
does	O	O
not	O	O
match	O	O
the	O	O
bolded	O	O
text	O	O
(	O	O
or	O	O
any	O	O
of	O	O
the	O	O
text	O	O
above	O	O
)	O	O
,	O	O
but	O	O
the	O	O
argument	O	O
type	O	O
a	B-Code_Block	B-Variable
does	O	O
.	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
make	O	O
a	O	O
PDF	O	B-File_Type
file	O	O
accessible	O	O
,	O	O
and	O	O
I	O	O
am	O	O
using	O	O
Adobe	O	B-Application
Acrobat	O	I-Application
to	O	O
check	O	O
for	O	O
accessibility	O	O
.	O	O

I	O	O
am	O	O
using	O	O
JasperReports	O	B-Application
version	O	O
6.3.1	O	B-Version
.	O	O

How	O	O
do	O	O
I	O	O
set	O	O
the	O	O
primary	O	O
language	O	O
and	O	O
title	O	O
?	O	O

I	O	O
used	O	O
the	O	O
following	O	O
code	O	O
to	O	O
add	O	O
a	O	O
title	O	O
,	O	O
but	O	O
it	O	O
did	O	O
not	O	O
work	O	O
.	O	O

What	O	O
do	O	O
I	O	O
need	O	O
to	O	O
add	O	O
in	O	O
the	O	O
JRXML	O	B-File_Type
file	O	O
?	O	O

How	O	O
do	O	O
I	O	O
set	O	O
the	O	O
tab	O	B-User_Interface_Element
order	O	O
for	O	O
elements	O	O
on	O	O
a	O	O
page	O	B-User_Interface_Element
(	O	O
table	O	B-User_Interface_Element
,	O	O
text	O	B-User_Interface_Element
fields	O	I-User_Interface_Element
,	O	O
etc	O	O
.	O	O
)	O	O
?	O	O

I	O	O
have	O	O
a	O	O
script	O	O
that	O	O
downloads	O	O
ps1	O	B-File_Type
files	O	O
to	O	O
run	O	O
on	O	O
new	O	O
machine	O	O
start	O	O
up	O	O
.	O	O

I	O	O
do	O	O
n't	O	O
want	O	O
to	O	O
install	O	O
any	O	O
powershell	O	B-Library
add	O	O
in	O	O
or	O	O
extension	O	O
methods	O	O
.	O	O

I	O	O
just	O	O
want	O	O
to	O	O
unblock	O	O
the	O	O
files	O	O
and	O	O
run	O	O
them	O	O
.	O	O

Any	O	O
suggestions	O	O
?	O	O

This	O	O
post	O	O
from	O	O
Scott	O	B-User_Name
Hanselman	O	I-User_Name
explains	O	O
how	O	O
the	O	O
zone	O	O
information	O	O
is	O	O
embedded	O	O
in	O	O
an	O	O
alternate	O	O
data	O	O
stream	O	O
,	O	O
you	O	O
can	O	O
use	O	O
that	O	O
knowledge	O	O
to	O	O
unblock	O	O
your	O	O
files	O	O
.	O	O

If	O	O
you	O	O
are	O	O
able	O	O
to	O	O
use	O	O
an	O	O
external	O	O
tool	O	O
,	O	O
the	O	O
easiest	O	O
way	O	O
is	O	O
to	O	O
use	O	O
streams.exe	O	B-File_Name
from	O	O
SysInternals	O	B-Application
:	O	O

Got	O	O
the	O	O
answer	O	O
on	O	O
another	O	O
forum	O	O
:	O	O
Not	O	O
that	O	O
@driis	O	B-User_Name
was	O	O
n't	O	O
on	O	O
target	O	O
but	O	O
this	O	O
is	O	O
more	O	O
powershelly	O	B-Library

http://social.technet.microsoft.com/Forums/en/winserverpowershell/thread/0b5f1fa6-981e-4696-84bc-b8046564ec8b	O	O

I	O	O
want	O	O
to	O	O
test	O	O
performance	O	O
of	O	O
my	O	O
code	O	O
on	O	O
both	O	O
jvm	O	B-Application
types	O	O
-client	B-Code_Block	B-Code_Block
and	O	O
-server	B-Code_Block	B-Code_Block

How	O	O
can	O	O
i	O	O
switch	O	O
among	O	O
both	O	O
jvm	O	B-Application
types	O	O
in	O	O
eclipse	O	B-Application
?	O	O

The	O	O
same	O	O
way	O	O
you	O	O
would	O	O
run	O	O
your	O	O
application	O	O
with	O	O
any	O	O
command-line	O	B-Application
switches	O	O
(	O	O
such	O	O
as	O	O
-Xmx256m	B-Code_Block	B-Code_Block
)	O	O
.	O	O

Just	O	O
add	O	O
it	O	O
to	O	O
the	O	O
Command	O	B-Application
Line	O	I-Application
Options	O	O
to	O	O
the	O	O
Run	O	B-Application
Configuration	O	O
(	O	O
you	O	O
could	O	O
create	O	O
2	O	O
configurations	O	O
,	O	O
one	O	O
for	O	O
each	O	O
setting	O	O
)	O	O
.	O	O

To	O	O
be	O	O
more	O	O
specific	O	O
:	O	O

Go	O	O
to	O	O
your	O	O
application	O	O
's	O	O
main	O	B-Class
class	O	O

Run	O	O
it	O	O

This	O	O
should	O	O
create	O	O
a	O	O
Run	O	B-Application
(	O	O
or	O	O
Launch	O	B-Application
)	O	O
Configuration	O	O

Edit	O	O
this	O	O
configuration	O	O

Add	O	O
-client	B-Code_Block	B-Code_Block
or	O	O
-server	B-Code_Block	B-Code_Block
in	O	O
the	O	O
command-line	O	B-Application
switches	O	O

More	O	O
information	O	O
is	O	O
available	O	O
in	O	O
the	O	O
Eclipse	O	B-Application
Help	O	O

I	O	O
've	O	O
got	O	O
PhoneGap	O	B-Application
Android	O	B-Operating_System
app	O	O
that	O	O
is	O	O
exactly	O	O
480	O	B-Value
pixel	O	I-Value
width	O	O
and	O	O
I	O	O
want	O	O
to	O	O
set	O	O
viewport	O	B-User_Interface_Element
size	O	O
to	O	O
this	O	O
size	O	O
on	O	O
every	O	O
possible	O	O
Android	O	B-Operating_System
's	O	O
device	O	O

I	O	O
've	O	O
tried	O	O
this	O	O
tag	O	O
:	O	O

But	O	O
it	O	O
was	O	O
ignored	O	O
by	O	O
all	O	O
devices	O	O
and	O	O
emulators	O	B-Application
I	O	O
tested	O	O
with	O	O
.	O	O

Then	O	O
I	O	O
tried	O	O
:	O	O

And	O	O
this	O	O
worked	O	O
,	O	O
but	O	O
only	O	O
on	O	O
some	O	O
(	O	O
smaller	O	O
)	O	O
devices	O	O
.	O	O

On	O	O
mu	O	O
Samsung	O	B-Device
GT	O	I-Device
it	O	O
gives	O	O
correct	O	O
480	O	B-Value
pixel	O	I-Value
width	O	O
viewport	O	O
,	O	O
but	O	O
when	O	O
launched	O	O
on	O	O
tablet	O	B-Device
it	O	O
gives	O	O
800	O	B-Value
pixel	O	I-Value
width	O	O
viewport	O	B-User_Interface_Element
.	O	O

Am	O	O
I	O	O
missing	O	O
something	O	O
obvious	O	O
?	O	O

After	O	O
several	O	O
hours	O	O
of	O	O
debugging	O	O
I	O	O
finally	O	O
found	O	O
a	O	O
solution	O	O
:	O	O

WebView	O	B-Class
will	O	O
ignore	O	O
width	O	B-Variable
of	O	O
the	O	O
viewport	O	B-User_Interface_Element
unless	O	O
it	O	O
is	O	O
explicty	O	O
told	O	O
to	O	O
be	O	O
loaded	O	O
in	O	O
OverviewMode	O	B-Value
.	O	O

So	O	O
if	O	O
anyone	O	O
come	O	O
here	O	O
from	O	O
Google	O	B-Website
,	O	O
here	O	O
's	O	O
the	O	O
solution	O	O
:	O	O

Add	O	O
to	O	O
your	O	O
Java	O	B-Language
source	O	O
:	O	O

Not	O	O
sure	O	O
why	O	O
,	O	O
but	O	O
I	O	O
had	O	O
to	O	O
remove	O	O
,	B-Code_Block	B-Code_Block
target-densityDpi	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
device-dpi	I-Code_Block	I-Code_Block
from	O	O
the	O	O
viewport	O	B-User_Interface_Element
tag	O	O
to	O	O
get	O	O
this	O	O
to	O	O
work	O	O
-	O	O
the	O	O
accepted	O	O
answer	O	O
did	O	O
n't	O	O
help	O	O
me	O	O
.	O	O

using	O	O
a	O	O
Samsung	O	B-Device
Galaxy	O	I-Device
Nexus	O	I-Device

I	O	O
have	O	O
a	O	O
web	O	O
application	O	O
in	O	O
which	O	O
we	O	O
use	O	O
JSF	O	B-Library
framework	O	O
.	O	O

I	O	O
have	O	O
been	O	O
diving	O	O
deep	O	O
into	O	O
the	O	O
security	O	O
part	O	O
for	O	O
web	O	O
application	O	O
and	O	O
hence	O	O
I	O	O
was	O	O
looking	O	O
to	O	O
generate	O	O
my	O	O
own	O	O
unique	O	O
session	O	O
ID	O	O
(	O	O
using	O	O
encryption	O	O
algorithm	O	O
and	O	O
assign	O	O
it	O	O
to	O	O
every	O	O
new	O	O
session	O	O
which	O	O
gets	O	O
created	O	O
once	O	O
user	O	O
logs	O	O
in	O	O
.	O	O

Can	O	O
anyone	O	O
please	O	O
guide	O	O
me	O	O
on	O	O
how	O	O
to	O	O
set	O	O
manual	O	O
generated	O	O
session	O	O
id	O	O
in	O	O
session	O	O
and	O	O
ensure	O	O
with	O	O
each	O	O
request	O	O
that	O	O
session	O	O
id	O	O
is	O	O
transmitted	O	O
.	O	O

Thanks	O	O
.	O	O

Attempting	O	O
to	O	O
do	O	O
this	O	O
at	O	O
the	O	O
JSF	O	B-Library
application	O	O
layer	O	O
is	O	O
unlikely	O	O
to	O	O
be	O	O
successful	O	O
;	O	O
I	O	O
would	O	O
perform	O	O
this	O	O
task	O	O
at	O	O
a	O	O
lower	O	O
level	O	O
API	O	O
.	O	O

I	O	O
am	O	O
assuming	O	O
a	O	O
servlet	O	B-Class
container	O	O
.	O	O

I	O	O
can	O	O
think	O	O
of	O	O
two	O	O
approaches	O	O
:	O	O

do	O	O
this	O	O
at	O	O
a	O	O
container	O	O
level	O	O
via	O	O
a	O	O
server-specific	O	B-Device
SPI	O	O
(	O	O
if	O	O
one	O	O
even	O	O
exists	O	O
)	O	O

do	O	O
this	O	O
by	O	O
rewriting	O	O
requests/responses	O	O
via	O	O
a	O	O
servlet	O	B-Class
Filter	O	I-Class

There	O	O
is	O	O
insufficient	O	O
information	O	O
to	O	O
comment	O	O
on	O	O
the	O	O
viability	O	O
of	O	O
the	O	O
first	O	O
approach	O	O
.	O	O

In	O	O
the	O	O
second	O	O
,	O	O
you	O	O
would	O	O
have	O	O
to	O	O
determine	O	O
the	O	O
name	O	O
of	O	O
the	O	O
session	O	O
cookie	O	O
(	O	O
it	O	O
is	O	O
usually	O	O
JSESSIONID	O	B-Variable
,	O	O
but	O	O
does	O	O
not	O	O
have	O	O
to	O	O
be	O	O
)	O	O
.	O	O

Your	O	O
API	O	B-Library
would	O	O
:	O	O

map	O	O
the	O	O
filter	O	O
to	O	O
all	O	O
application	O	O
requests	O	O

maintain	O	O
a	O	O
map	O	O
of	O	O
container	O	O
session	O	O
ids	O	O
to	O	O
"	O	O
secure	O	O
"	O	O
ids	O	O

use	O	O
the	O	O
filter	O	O
to	O	O
rewrite	O	O
any	O	O
session	O	O
cookie	O	O
in	O	O
the	O	O
request	O	O
with	O	O
the	O	O
session	O	O
id	O	O

use	O	O
the	O	O
filter	O	O
rewrite	O	O
any	O	O
session	O	O
cookie	O	O
in	O	O
the	O	O
response	O	O
with	O	O
the	O	O
secure	O	O
id	O	O

use	O	O
a	O	O
listener	O	O
to	O	O
remove	O	O
invalid	O	O
sessions	O	O
from	O	O
the	O	O
map	O	O
to	O	O
avoid	O	O
memory	O	O
leaks	O	O

I	O	O
really	O	O
doubt	O	O
you	O	O
'll	O	O
generate	O	O
session	O	O
IDs	O	O
that	O	O
are	O	O
more	O	O
secure	O	O
than	O	O
the	O	O
ones	O	O
generated	O	O
by	O	O
the	O	O
container	O	O
,	O	O
but	O	O
here	O	O
's	O	O
what	O	O
you	O	O
could	O	O
do	O	O
,	O	O
without	O	O
using	O	O
any	O	O
container-specific	O	O
extension	O	O
.	O	O

Create	O	O
a	O	O
servlet	O	B-Class
filter	O	I-Class
which	O	O
intercept	O	O
every	O	O
request	O	O
to	O	O
the	O	O
server	O	O
.	O	O

When	O	O
a	O	O
request	O	O
comes	O	O
in	O	O
,	O	O
check	O	O
if	O	O
a	O	O
session	O	O
already	O	O
exists	O	O
for	O	O
this	O	O
request	O	O
(	O	O
using	O	O
getSession(false))	B-Code_Block	B-Function
.	O	O

If	O	O
one	O	O
exists	O	O
,	O	O
then	O	O
extract	O	O
your	O	O
specific	O	O
cookie	O	O
MY_SESSION_ID	O	B-Variable
from	O	O
the	O	O
request	O	O
,	O	O
and	O	O
compare	O	O
its	O	O
value	O	O
to	O	O
the	O	O
one	O	O
that	O	O
is	O	O
stored	O	O
in	O	O
the	O	O
session	O	O
.	O	O

If	O	O
they	O	O
do	O	O
n't	O	O
match	O	O
,	O	O
reject	O	O
the	O	O
request	O	O
.	O	O

If	O	O
the	O	O
session	O	O
does	O	O
n't	O	O
exist	O	O
,	O	O
then	O	O
create	O	O
it	O	O
(	O	O
using	O	O
getSession(true))	B-Code_Block	B-Function
,	O	O
generate	O	O
your	O	O
super-secure	O	O
session	O	O
ID	O	O
,	O	O
store	O	O
it	O	O
as	O	O
a	O	O
session	O	O
attribute	O	O
and	O	O
add	O	O
the	O	O
cookie	O	O
MY_SESSION_ID	O	B-Variable
to	O	O
the	O	O
response	O	O
.	O	O

This	O	O
has	O	O
the	O	O
disadvantage	O	O
of	O	O
creating	O	O
a	O	O
session	O	O
automatically	O	O
,	O	O
even	O	O
if	O	O
it	O	O
's	O	O
not	O	O
strictly	O	O
needed	O	O
.	O	O

But	O	O
that	O	O
's	O	O
the	O	O
case	O	O
most	O	O
of	O	O
the	O	O
time	O	O
when	O	O
using	O	O
JSPs	O	B-Library
of	O	O
component	O	O
frameworks	O	O
.	O	O

I	O	O
have	O	O
a	O	O
large	O	O
form	O	B-User_Interface_Element
that	O	O
has	O	O
already	O	O
been	O	O
made	O	O
,	O	O
there	O	O
are	O	O
many	O	O
different	O	O
objects	O	O
in	O	O
the	O	O
form	O	B-User_Interface_Element
including	O	O
drop	O	B-User_Interface_Element
downs	O	I-User_Interface_Element
and	O	O
check	O	B-User_Interface_Element
boxes	O	I-User_Interface_Element
.	O	O

The	O	O
majority	O	O
of	O	O
the	O	O
objects	O	O
are	O	O
check	O	B-User_Interface_Element
boxes	O	I-User_Interface_Element
.	O	O

I	O	O
need	O	O
the	O	O
boxes	O	B-User_Interface_Element
to	O	O
turn	O	O
red	O	O
if	O	O
they	O	O
are	O	O
changed	O	O
from	O	O
the	O	O
default	O	O
.	O	O

Some	O	O
defaults	O	O
are	O	O
"	O	B-Value
on	O	I-Value
"	O	I-Value
others	O	O
are	O	O
"	O	B-Value
off	O	I-Value
"	O	I-Value
I	O	O
can	O	O
do	O	O
this	O	O
item	O	O
by	O	O
item	O	O
,	O	O
but	O	O
it	O	O
's	O	O
very	O	O
time	O	O
consuming	O	O
.	O	O

Is	O	O
there	O	O
a	O	O
way	O	O
to	O	O
make	O	O
it	O	O
a	O	O
standard	O	O
for	O	O
the	O	O
form	O	B-User_Interface_Element
?	O	O

The	O	O
other	O	O
issue	O	O
I	O	O
am	O	O
having	O	O
is	O	O
,	O	O
if	O	O
they	O	O
change	O	O
it	O	O
from	O	O
the	O	O
default	O	O
it	O	O
turns	O	O
red	O	O
,	O	O
however	O	O
if	O	O
it	O	O
is	O	O
returned	O	O
to	O	O
the	O	O
default	O	O
it	O	O
stays	O	O
red	O	O
,	O	O
is	O	O
there	O	O
a	O	O
way	O	O
to	O	O
make	O	O
it	O	O
change	O	O
back	O	O
?	O	O

I	O	O
feel	O	O
like	O	O
this	O	O
should	O	O
be	O	O
something	O	O
simple	O	O
that	O	O
I	O	O
am	O	O
just	O	O
missing	O	O
.	O	O

You	O	O
can	O	O
use	O	O
scripting	O	O
on	O	O
enter	O	O
and	O	O
exit	O	O
events	O	O

In	O	O
Adobe	O	B-Application
LiveCycle	O	I-Application
Designer	O	I-Application
select	O	O
all	O	O
the	O	O
fields	O	O
you	O	O
want	O	O
to	O	O
change	O	O
the	O	O
highlighting	O	O
and	O	O
add	O	O
the	O	O
following	O	O
scripts	O	O
to	O	O
each	O	O
text	O	B-User_Interface_Element
field	O	I-User_Interface_Element
:	O	O

Add	O	O
an	O	O
enter	O	O
event	O	O
to	O	O
the	O	O
fields	O	O
to	O	O
highlight	O	O
in	O	O
red	O	O
:	O	O

Add	O	O
an	O	O
exit	O	O
event	O	O
to	O	O
the	O	O
fields	O	O
to	O	O
highlight	O	O
in	O	O
black	O	O
:	O	O

In	O	O
my	O	O
application	O	O
I	O	O
am	O	O
doing	O	O
live	O	O
audio	O	O
streaming	O	O
using	O	O
Android	O	B-Operating_System
media	O	B-Class
player	O	I-Class
.	O	O

I	O	O
want	O	O
to	O	O
capture	O	O
the	O	O
sound	O	O
stream	O	O
played	O	O
by	O	O
MediaPlayer	O	B-Class
.	O	O

Is	O	O
there	O	O
is	O	O
way	O	O
to	O	O
record	O	O
using	O	O
Android	O	B-Operating_System
MediaPlayer	O	B-Class
instead	O	O
of	O	O
MediaRecorder	O	B-Class
?	O	O

Any	O	O
suggestions	O	O
?	O	O

While	O	O
it	O	O
is	O	O
a	O	O
non-trivial	O	O
undertaking	O	O
,	O	O
you	O	O
can	O	O
write	O	O
your	O	O
own	O	O
"	O	O
MediaPlayer	O	B-Class
"	O	O
that	O	O
implements	O	O
whatever	O	O
streaming	O	O
protocol	O	O
you	O	O
are	O	O
using	O	O
and	O	O
writes	O	O
the	O	O
stream	O	O
to	O	O
a	O	O
file	O	O
instead	O	O
of	O	O
the	O	O
speaker	O	B-Device
.	O	O

I	O	O
created	O	O
my	O	O
database	O	O
and	O	O
started	O	O
developing	O	O
a	O	O
web	O	O
application	O	O
in	O	O
c#	O	B-Language
with	O	O
EF5	O	B-Application
and	O	O
the	O	O
DB	O	B-Algorithm
First	O	I-Algorithm
approach	O	I-Algorithm
.	O	O

I	O	O
can	O	O
modify	O	O
my	O	O
entities	O	O
on	O	O
their	O	O
own	O	O
data	O	O
fields	O	O
but	O	O
do	O	O
n't	O	O
get	O	O
it	O	O
to	O	O
work	O	O
when	O	O
it	O	O
comes	O	O
to	O	O
updating	O	O
relationships	O	O
.	O	O

A	O	O
simple	O	O
relationship	O	O
example	O	O
is	O	O
Project	O	B-Class
<-	O	O
ProjectCategoryIntersection	O	B-Class
->	O	O
Category	O	B-Class

Model	O	O
:	O	O

Save	O	O
:	O	O

exception	O	B-Class
:	O	O

I	O	O
also	O	O
receive	O	O
a	O	O
multiple	B-Code_Block	B-Error_Name
instances	I-Code_Block	I-Error_Name
ChangeTracker	I-Code_Block	I-Error_Name
exception	O	B-Class
when	O	O
i	O	O
try	O	O
to	O	O
add	O	O
the	O	O
categories	O	O
directly	O	O
to	O	O
the	O	O
project	O	O
object	O	O
:	O	O

Should	O	O
i	O	O
remove	O	O
the	O	O
generated	O	O
table	O	B-Data_Structure
object	O	O
from	O	O
my	O	O
model	O	O
?	O	O

Solution	O	O

I	O	O
ended	O	O
up	O	O
removing	O	O
the	O	O
generated	O	O
table	O	B-Data_Structure
object	O	O
public	B-Code_Block	B-Code_Block
TProject	I-Code_Block	I-Code_Block
project	I-Code_Block	I-Code_Block
{	I-Code_Block	I-Code_Block
get	I-Code_Block	I-Code_Block
;	I-Code_Block	I-Code_Block
private	I-Code_Block	I-Code_Block
set	I-Code_Block	I-Code_Block
;	I-Code_Block	I-Code_Block
}	I-Code_Block	I-Code_Block
and	O	O
changed	O	O
my	O	O
code	O	O
to	O	O
:	O	O

Apperantly	O	O
this	O	O
happens	O	O
when	O	O
you	O	O
use	O	O
reference	O	O
to	O	O
an	O	O
object	O	O
and	O	O
also	O	O
an	O	O
Integer	O	B-Data_Type
for	O	O
the	O	O
ID	O	B-Variable
within	O	O
the	O	O
same	O	O
object	O	O
and	O	O
change	O	O
both	O	O
of	O	O
them	O	O
.	O	O

When	O	O
this	O	O
happens	O	O
EF	O	B-Library
can	O	O
not	O	O
know	O	O
which	O	O
one	O	O
is	O	O
the	O	O
correct	O	O
reference	O	O

Try	O	O
setting	O	O
only	O	O
Ids	O	B-Variable
and	O	O
set	O	O
null	O	B-Value
for	O	O
references	O	O
like	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
convert	O	O
yearly	O	O
salary	O	O
to	O	O
weekly	O	O
.	O	O

So	O	O
,	O	O
312,000	O	B-Value
yearly	O	O
salary	O	O
should	O	O
come	O	O
out	O	O
as	O	O
$6000	O	B-Value
weekly	O	O
.	O	O

Here	O	O
is	O	O
my	O	O
formula	O	O
which	O	O
is	O	O
not	O	O
giving	O	O
the	O	O
desired	O	O
result	O	O
:	O	O

Also	O	O
,	O	O
how	O	O
can	O	O
I	O	O
convert	O	O
yearly	O	O
to	O	O
hourly	O	O
!	O	O

There	O	O
are	O	O
52	O	B-Value
weeks	O	O
in	O	O
a	O	O
year	O	O
,	O	O
so	O	O
weeklySalary	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
yearlySalary	I-Code_Block	I-Code_Block
/	I-Code_Block	I-Code_Block
52	I-Code_Block	I-Code_Block
.	O	O

If	O	O
you	O	O
want	O	O
hourly	O	O
,	O	O
there	O	O
are	O	O
40	O	B-Value
working	O	O
hours	O	O
in	O	O
a	O	O
week	O	O
,	O	O
so	O	O
hourlySalary	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
weeklySalary	I-Code_Block	I-Code_Block
/	I-Code_Block	I-Code_Block
40	I-Code_Block	I-Code_Block
.	O	O

i	O	O
need	O	O
to	O	O
find	O	O
the	O	O
possible	O	O
paths	O	O
between	O	O
source	O	O
and	O	O
target	O	O
in	O	O
a	O	O
2*D	O	O
grid	O	B-User_Interface_Element
under	O	O
some	O	O
defined	O	O
constraints	O	O
like	O	O

ex	O	O
:	O	O
we	O	O
have	O	O
a	O	O
grid	O	B-User_Interface_Element
(	O	O
5	O	O
*	O	O
9	O	O
)	O	O
and	O	O
we	O	O
have	O	O
2	O	O
source	O	O
and	O	O
2	O	O
targets	O	O
,	O	O
i.e	O	O
.	O	O

source1	O	B-Variable
(	O	B-Value
2	O	I-Value
,	O	I-Value
2)	O	I-Value
target1	O	B-Variable
(	O	B-Value
4	O	I-Value
,	O	I-Value
9	O	I-Value
)	O	I-Value

source2	O	B-Variable
(	O	B-Value
2	O	I-Value
,	O	I-Value
7	O	I-Value
)	O	I-Value
target2	O	B-Variable
(	O	B-Value
4	O	I-Value
,	O	I-Value
3)	O	I-Value

Now	O	O
i	O	O
have	O	O
to	O	O
find	O	O
possible	O	O
shortest	O	O
paths	O	O
combinations	O	O
between	O	O
source1	O	B-Variable
and	O	O
target1	O	B-Variable
which	O	O
donot	O	O
intersect	O	O
the	O	O
path	O	O
between	O	O
source2	O	B-Variable
and	O	O
target2	O	B-Variable
with	O	O
minimum	O	O
time	O	O
complexity	O	O
.	O	O
?	O	O

Can	O	O
i	O	O
apply	O	O
Genetic	O	B-Algorithm
Algorithm	O	I-Algorithm
for	O	O
this	O	O
problem	O	O
or	O	O
keep	O	O
comparing	O	O
each	O	O
path	O	O
of	O	O
source1-target1	O	B-Variable
with	O	O
all	O	O
paths	O	O
of	O	O
other	O	O
source2-target2	O	B-Variable
.	O	O
?	O	O

comparing	O	O
all	O	O
paths	O	O
will	O	O
lead	O	O
to	O	O
more	O	O
time	O	O
complexity	O	O
.	O	O

so	O	O
suggest	O	O
me	O	O
any	O	O
better	O	O
solution	O	O
for	O	O
this	O	O
problem	O	O
.	O	O

I	O	O
have	O	O
in	O	O
fact	O	O
no	O	O
experience	O	O
with	O	O
genetic	O	B-Algorithm
algorithms	O	I-Algorithm
.	O	O

But	O	O
you	O	O
might	O	O
be	O	O
able	O	O
to	O	O
modify	O	O
an	O	O
A*	O	B-Algorithm
search	O	I-Algorithm
algorithm	O	O
and	O	O
let	O	O
one	O	O
path	O	O
block	O	O
off	O	O
the	O	O
other	O	O
path	O	O

I	O	O
'	O	O
m	O	O
trying	O	O
to	O	O
switch	O	O
windows	O	B-Operating_System
input	O	O
language	O	O
by	O	O
ALT+SHIFT	O	B-Keyboard_IP
from	O	O
Russian	O	O
to	O	O
English	O	O
but	O	O
it	O	O
does	O	O
n't	O	O
in	O	O
java	O	B-Language
applications	O	O
.	O	O

In	O	O
windows	O	B-Operating_System
it	O	O
works	O	O
fine	O	O
but	O	O
when	O	O
I	O	O
switch	O	O
by	O	O
ALT+TAB	O	B-Keyboard_IP
to	O	O
one	O	O
of	O	O
java	O	B-Language
applications	O	O
it	O	O
does	O	O
n't	O	O
work	O	O
.	O	O

To	O	O
fix	O	O
it	O	O
I	O	O
have	O	O
to	O	O
restart	O	O
application	O	O
,	O	O
for	O	O
example	O	O
Itellij	O	B-Application
IDEA	O	I-Application
.	O	O

But	O	O
after	O	O
some	O	O
time	O	O
it	O	O
appears	O	O
again	O	O
.	O	O

Can	O	O
Anybody	O	O
describe	O	O
how	O	O
to	O	O
fix	O	O
it	O	O
?	O	O

Have	O	O
a	O	O
look	O	O
at	O	O
your	O	O
java	O	B-Language
app	O	O
keyboard	O	O
preferences	O	O
if	O	O
it	O	O
has	O	O
its	O	O
own	O	O
shortcut-function	O	O
bound	O	O
to	O	O
the	O	O
ALT+	O	B-Keyboard_IP
SHIFT	O	I-Keyboard_IP
.	O	O

It	O	O
may	O	O
be	O	O
so	O	O
for	O	O
IntelliJ	O	B-Application
IDEA	O	I-Application
.	O	O

AFAIK	O	B-Language
,	O	O
the	O	O
default	O	O
language	O	O
is	O	O
decided	O	O
at	O	O
start-up	O	O
,	O	O
as	O	O
you	O	O
experienced	O	O
.	O	O

This	O	O
allows	O	O
to	O	O
override	O	O
the	O	O
default	O	O
language	O	O
using	O	O
some	O	O
command	O	B-Application
line	O	I-Application
arguments	O	O
.	O	O

I	O	O
'm	O	O
afraid	O	O
,	O	O
this	O	O
is	O	O
how	O	O
it	O	O
is	O	O
.	O	O

You	O	O
will	O	O
have	O	O
to	O	O
restart	O	O
the	O	O
application	O	O
to	O	O
get	O	O
the	O	O
changed	O	O
default	O	O
language	O	O
from	O	O
the	O	O
OS	O	O
.	O	O

Please	O	O
Help	O	O
!	O	O

I	O	O
have	O	O
a	O	O
user	O	O
page	O	B-User_Interface_Element
setup	O	O
and	O	O
properly	O	O
linked	O	O
to	O	O
my	O	O
database	O	O
.	O	O

What	O	O
i	O	O
want	O	O
to	O	O
do	O	O
is	O	O
to	O	O
add	O	O
a	O	O
countdown	O	O
timer	O	O
of	O	O
3	O	O
hours	O	O
for	O	O
users	O	O
who	O	O
have	O	O
not	O	O
activated	O	O
their	O	O
account	O	O
.	O	O

I	O	O
want	O	O
that	O	O
timer	O	O
to	O	O
be	O	O
unique	O	O
to	O	O
individual	O	O
users	O	O
which	O	O
will	O	O
start	O	O
counting	O	O
once	O	O
they	O	O
register	O	O
their	O	O
account	O	O
and	O	O
when	O	O
they	O	O
login	O	O
the	O	O
countdown	O	O
will	O	O
be	O	O
displayed	O	O
on	O	O
the	O	O
page	O	B-User_Interface_Element
.	O	O

Please	O	O
,	O	O
can	O	O
anyone	O	O
help	O	O
me	O	O
with	O	O
a	O	O
simple	O	O
code	O	O
to	O	O
implement	O	O
this	O	O
?	O	O

Thanks	O	O
a	O	O
lot	O	O
.	O	O

PS	O	O
:	O	O
I	O	O
am	O	O
a	O	O
dummy	O	O
in	O	O
code	O	O
writing	O	O
,	O	O
so	O	O
I	O	O
use	O	O
Dreamweaver	O	B-Application
to	O	O
help	O	O
me	O	O
with	O	O
code	O	O
generation	O	O
.	O	O

Here	O	O
's	O	O
my	O	O
page	O	B-User_Interface_Element
code	O	O
:	O	O

You	O	O
can	O	O
store	O	O
timestamp	O	O
in	O	O
a	O	O
field	O	O
of	O	O
user	O	O
table	O	B-Data_Structure
when	O	O
registering	O	O
new	O	O
user	O	O
.	O	O

also	O	O
you	O	O
can	O	O
use	O	O
mysql	O	B-Application
insert	O	O
trigger	O	O
to	O	O
do	O	O
that	O	O
automatically	O	O
for	O	O
you	O	O
.	O	O

when	O	O
user	O	O
logged	O	O
in	O	O
,	O	O
you	O	O
can	O	O
subtract	O	O
registered	O	O
timestamp	O	O
from	O	O
current	O	O
timestam	O	O
and	O	O
show	O	O
in	O	O
user	O	O
dashboard	O	B-User_Interface_Element
.	O	O

also	O	O
you	O	O
can	O	O
use	O	O
JavaScript	O	B-Language
to	O	O
continues	O	O
showing	O	O
counting	O	O
down	O	O
timer	O	O
in	O	O
in	O	O
user	O	O
dashboard	O	B-User_Interface_Element
with	O	O
interval	O	B-Function
or	O	O
setTimeout	O	B-Function
.	O	O

Edited	O	O
:	O	O

to	O	O
set	O	O
timestamp	O	O
in	O	O
you	O	O
table	O	B-Data_Structure
you	O	O
can	O	O
simply	O	O
Default	O	O
value	O	O
to	O	O
your	O	O
field	O	O
,	O	O
something	O	O
like	O	O
this	O	O
:	O	O

when	O	O
your	O	O
try	O	O
to	O	O
login	O	O
or	O	O
when	O	O
your	O	O
Job	O	O
fired	O	O
,	O	O
you	O	O
can	O	O
check	O	O
time	O	O
and	O	O
delete	O	O
user	O	O
if	O	O
time	O	O
is	O	O
more	O	O
than	O	O
3	O	O
hours	O	O
an	O	O
user	O	O
do	O	O
n't	O	O
finish	O	O
registration	O	O
steps	O	O
.	O	O

something	O	O
like	O	O
below	O	O
php	O	B-Language
code	O	O
:	O	O

What	O	O
I	O	O
want	O	O
:	O	O

I	O	O
have	O	O
ListView	O	B-Class
.	O	O

Load	O	O
data	O	O
to	O	O
ListView	O	B-Class
in	O	O
fly	O	O
(	O	O
when	O	O
user	O	O
scrolling	O	O
listView	O	B-Class
)	O	O
.	O	O

Data	O	O
is	O	O
from	O	O
SQLite	O	B-Library
table	O	B-Data_Structure
.	O	O

But	O	O
when	O	O
SQLite	O	B-Library
table	O	B-Data_Structure
end	O	O
-	O	O
get	O	O
new	O	O
data	O	O
from	O	O
GitHub	O	B-Website
API	O	I-Website
in	O	O
JSON	O	B-File_Type
format	O	O
.	O	O

Then	O	O
save	O	O
this	O	O
data	O	O
to	O	O
SQLite	O	B-Library
table	O	B-Data_Structure
and	O	O
then	O	O
show	O	O
new	O	O
items	O	O
in	O	O
lisview	O	B-Class
.	O	O

How	O	O
can	O	O
I	O	O
do	O	O
this	O	O
?	O	O

Thanks	O	O
in	O	O
advance	O	O
!	O	O

Your	O	O
custom	O	O
ListView	O	B-Class
class	O	O
.	O	O

In	O	O
your	O	O
activity	O	B-Class
,	O	O
implement	O	O
ListView.ListViewListener	O	B-Class

I	O	O
'm	O	O
working	O	O
on	O	O
an	O	O
automatic	O	O
summarization	O	O
system	O	O
in	O	O
my	O	O
C++	O	B-Language
class	O	O
and	O	O
have	O	O
a	O	O
question	O	O
regarding	O	O
one	O	O
of	O	O
the	O	O
ASCII	O	O
comparisons	O	O
I	O	O
'm	O	O
doing	O	O
.	O	O

Here	O	O
's	O	O
the	O	O
code	O	O
:	O	O

What	O	O
is	O	O
being	O	O
done	O	O
here	O	O
(	O	O
with	O	O
the	O	O
two	O	O
if	O	O
statements	O	O
)	O	O
is	O	O
checking	O	O
whether	O	O
a	O	O
new	O	O
sentence	O	B-Variable
has	O	O
begun	O	O
in	O	O
the	O	O
text	O	O
that	O	O
is	O	O
to	O	O
be	O	O
analyzed	O	O
and	O	O
dealt	O	O
with	O	O
later	O	O
.	O	O

The	O	O
conditionals	O	O
work	O	O
but	O	O
only	O	O
because	O	O
we	O	O
discovered	O	O
that	O	O
we	O	O
have	O	O
to	O	O
check	O	O
for	O	O
that	O	O
-1	O	B-Value
as	O	O
well	O	O
.	O	O

Any	O	O
ideas	O	O
what	O	O
that	O	O
represents	O	O
?	O	O

As	O	O
an	O	O
ASCII	O	O
character	O	B-Data_Type
-1	O	B-Value
does	O	O
n't	O	O
represent	O	O
anything	O	O
(	O	O
which	O	O
is	O	O
to	O	O
say	O	O
-1	O	B-Value
is	O	O
not	O	O
a	O	O
valid	O	O
ASCII	O	O
value	O	O
)	O	O
.	O	O

As	O	O
the	O	O
return	O	O
value	O	O
from	O	O
get()	O	B-Function
it	O	O
means	O	O
that	O	O
the	O	O
read	O	O
operation	O	O
failed	O	O
-	O	O
most	O	O
likely	O	O
due	O	O
to	O	O
the	O	O
end	O	O
of	O	O
file	O	O
being	O	O
reached	O	O
.	O	O

Note	O	O
that	O	O
the	O	O
eof()	O	B-Function
function	O	O
does	O	O
n't	O	O
return	O	O
true	O	B-Value
if	O	O
the	O	O
next	O	O
call	O	O
to	O	O
get	O	B-Function
will	O	O
fail	O	O
because	O	O
of	O	O
the	O	O
end	O	O
of	O	O
file	O	O
being	O	O
reached	O	O
-	O	O
it	O	O
returns	O	O
true	O	B-Value
if	O	O
the	O	O
previous	O	O
call	O	O
to	O	O
get	O	B-Function
failed	O	O
because	O	O
of	O	O
the	O	O
end	O	O
of	O	O
file	O	O
being	O	O
reached	O	O
.	O	O

The	O	O
fact	O	O
that	O	O
checking	O	O
for	O	O
-1	O	B-Value
works	O	O
is	O	O
an	O	O
accident	O	O
,	O	O
and	O	O
has	O	O
nothing	O	O
to	O	O
do	O	O
with	O	O
ASCII	O	O
values	O	O
(	O	O
which	O	O
only	O	O
use	O	O
0	B-Code_Block	B-Value
to	O	O
127	B-Code_Block	B-Value
)	O	O
.	O	O

Your	O	O
code	O	O
will	O	O
fail	O	O
if	O	O
either	O	O
plain	O	O
char	O	B-Data_Type
is	O	O
unsigned	O	B-Data_Type
(	O	O
compile	O	O
with	O	O
/J	B-Code_Block	B-Value
with	O	O
VC++	O	B-Application
,	O	O
I	O	O
think	O	O
)	O	O
,	O	O
or	O	O
EOF	B-Code_Block	B-Value
is	O	O
n't	O	O
-1	O	B-Value
(	O	O
rare	O	O
,	O	O
but	O	O
all	O	O
that	O	O
's	O	O
guaranteed	O	O
is	O	O
that	O	O
it	O	O
is	O	O
negative	O	O
)	O	O
.	O	O

You	O	O
're	O	O
code	O	O
will	O	O
also	O	O
fail	O	O
if	O	O
the	O	O
input	O	O
happens	O	O
to	O	O
be	O	O
Latin-1	O	B-Value
,	O	O
and	O	O
it	O	O
contains	O	O
a	O	O
'	B-Code_Block	B-Value
ÿ	I-Code_Block	I-Value
'	B-Code_Block	B-Value
.	O	O

The	O	O
basic	O	O
problem	O	O
in	O	O
your	O	O
code	O	O
is	O	O
that	O	O
you	O	O
're	O	O
not	O	O
checking	O	O
for	O	O
end	O	O
of	O	O
file	O	O
correctly	O	O
.	O	O

Putting	O	O
the	O	O
test	O	O
at	O	O
the	O	O
top	O	O
of	O	O
the	O	O
loop	O	O
does	O	O
n't	O	O
work	O	O
;	O	O
you	O	O
need	O	O
to	O	O
test	O	O
for	O	O
failure	O	O
(	O	O
not	O	O
eof())	B-Code_Block	B-Function
after	O	O
input	O	O
,	O	O
before	O	O
using	O	O
the	O	O
value	O	O
read	O	O
.	O	O

There	O	O
are	O	O
several	O	O
ways	O	O
of	O	O
doing	O	O
this	O	O
;	O	O
in	O	O
your	O	O
case	O	O
,	O	O
the	O	O
simplest	O	O
is	O	O
probably	O	O
to	O	O
use	O	O
:	O	O

Alternatively	O	O
,	O	O
you	O	O
can	O	O
make	O	O
ch	B-Code_Block	B-Variable
an	O	O
int	B-Code_Block	B-Data_Type
,	O	O
and	O	O
do	O	O
:	O	O

This	O	O
has	O	O
the	O	O
advantage	O	O
that	O	O
the	O	O
following	O	O
call	O	O
to	O	O
tolower	B-Code_Block	B-Function
is	O	O
no	O	O
longer	O	O
undefined	O	O
behavior	O	O
(	O	O
tolower	B-Code_Block	B-Function
takes	O	O
an	O	O
int	O	B-Data_Type
,	O	O
which	O	O
must	O	O
be	O	O
in	O	O
the	O	O
range	O	O
0	B-Code_Block	B-Code_Block
...	I-Code_Block	I-Code_Block
UCHAR_MAX	I-Code_Block	I-Code_Block
or	I-Code_Block	I-Code_Block
EOF	I-Code_Block	B-Value
—	I-Code_Block	I-Value
if	I-Code_Block	I-Value
plain	O	O
char	B-Code_Block	B-Data_Type
is	I-Code_Block	I-Data_Type
signed	O	O
,	O	O
you	O	O
are	O	O
n't	O	O
guaranteeing	O	O
this	O	O
)	O	O
.	O	O

On	O	O
the	O	O
other	O	O
hand	O	O
,	O	O
it	O	O
does	O	O
n't	O	O
allow	O	O
chaining	O	O
,	O	O
i.e	O	O
.	O	O
you	O	O
ca	O	O
n't	O	O
write	O	O
the	O	O
equivalent	O	O
of	O	O
:	O	O

(	O	O
which	O	O
could	O	O
be	O	O
useful	O	O
in	O	O
some	O	O
cases	O	O
)	O	O
.	O	O

FWIW	O	O
:	O	O
the	O	O
technique	O	O
you	O	O
're	O	O
using	O	O
is	O	O
something	O	O
called	O	O
a	O	O
sliding	O	O
window	O	O
into	O	O
a	O	O
stream	O	O
,	O	O
and	O	O
it	O	O
's	O	O
worth	O	O
pushing	O	O
it	O	O
off	O	O
into	O	O
a	O	O
separate	O	O
class	O	O
to	O	O
handle	O	O
the	O	O
logic	O	O
of	O	O
keeping	O	O
the	O	O
window	O	O
filled	O	O
and	O	O
up	O	O
to	O	O
date	O	O
.	O	O

Alternatively	O	O
,	O	O
a	O	O
simple	O	O
state	O	O
machine	O	O
could	O	O
be	O	O
used	O	O
for	O	O
your	O	O
problem	O	O
.	O	O

And	O	O
I	O	O
'd	O	O
definitely	O	O
avoid	O	O
using	O	O
magic	O	O
constants	O	O
:	O	O
if	O	O
you	O	O
want	O	O
to	O	O
check	O	O
for	O	O
a	O	O
carriage	O	O
return	O	O
,	O	O
compare	O	O
with	O	O
'	B-Code_Block	B-Value
\r	I-Code_Block	I-Value
'	B-Code_Block	B-Value
.	O	O

Similarly	O	O
,	O	O
newline	O	O
is	O	O
'	B-Code_Block	B-Value
\n	I-Code_Block	I-Value
'	B-Code_Block	B-Value
,	O	O
and	O	O
in	O	O
the	O	O
outer	O	O
if	B-Code_Block	B-Code_Block
,	O	O
it	O	O
looks	O	O
like	O	O
you	O	O
want	O	O
to	O	O
check	O	O
for	O	O
whitespace	O	O
(	O	O
isspace	B-Code_Block	B-Code_Block
(	I-Code_Block	I-Code_Block
static_cast	B-Code_Block	B-Code_Block
<unsigned	I-Code_Block	I-Code_Block
char>	I-Code_Block	I-Code_Block
(	I-Code_Block	I-Code_Block
sentenceCheck.second	I-Code_Block	I-Code_Block
)	I-Code_Block	I-Code_Block
)	B-Code_Block	B-Code_Block
)	O	O
,	O	O
rather	O	O
than	O	O
comparing	O	O
for	O	O
the	O	O
values	O	O
.	O	O

I	O	O
might	O	O
also	O	O
add	O	O
that	O	O
your	O	O
code	O	O
fails	O	O
to	O	O
correctly	O	O
handle	O	O
sentences	O	O
that	O	O
end	O	O
with	O	O
a	O	O
quote	O	O
,	O	O
like	O	O
This	B-Code_Block	B-Value
is	I-Code_Block	I-Value
the	I-Code_Block	I-Value
"	I-Code_Block	I-Value
text	I-Code_Block	I-Value
in	I-Code_Block	I-Value
your	I-Code_Block	I-Value
input	I-Code_Block	I-Value
.	I-Code_Block	I-Value
"	I-Code_Block	I-Value
;	O	O
it	O	O
also	O	O
fails	O	O
for	O	O
abbreviations	O	O
like	O	O
Mr	B-Code_Block	B-Value
.	I-Code_Block	I-Value
Jones	I-Code_Block	I-Value
is	I-Code_Block	I-Value
here.	I-Code_Block	I-Value
.	O	O

But	O	O
those	O	O
problems	O	O
may	O	O
be	O	O
beyond	O	O
the	O	O
scope	O	O
of	O	O
your	O	O
assignment	O	O
.	O	O

(	O	O
The	O	O
abbreviations	O	O
one	O	O
is	O	O
probably	O	O
not	O	O
fully	O	O
solvable	O	O
:	O	O
sometimes	O	O
"	B-Code_Block	B-Value
etc	I-Code_Block	I-Value
.	I-Code_Block	I-Value
"	I-Code_Block	I-Value
is	O	O
the	O	O
end	O	O
of	O	O
a	O	O
sentence	O	O
,	O	O
and	O	O
sometimes	O	O
it	O	O
's	O	O
not	O	O
.	O	O
)	O	O

In	O	O
the	O	O
Oracle	O	B-Language
PL/SQL	O	I-Language
,	O	O
how	O	O
to	O	O
debug	O	O
a	O	O
complex	O	O
stored	O	O
proc	O	O
?	O	O

for	O	O
example	O	O
,	O	O
the	O	O
codes	O	O
below	O	O
,	O	O
it	O	O
is	O	O
using	O	O
loop	O	O
+	O	O
correlated	O	O
subquery	O	O
.	O	O

how	O	O
to	O	O
fully	O	O
understand	O	O
it	O	O
?	O	O

I	O	O
have	O	O
learned	O	O
that	O	O
the	O	O
best	O	O
way	O	O
to	O	O
debug	O	O
is	O	O
divide-and-conquer	O	B-Algorithm
,	O	O
then	O	O
how	O	O
to	O	O
cut	O	O
this	O	O
coding	O	O
into	O	O
small	O	O
pieces	O	O
?	O	O

Thanks	O	O

Try	O	O
commenting	O	O
out	O	O
part	O	O
of	O	O
the	O	O
code	O	O
,	O	O
then	O	O
store	O	O
the	O	O
so-far	O	O
result	O	O
in	O	O
a	O	O
variable	O	O
.	O	O

Then	O	O
you	O	O
can	O	O
just	O	O
select	O	O
it	O	O
like	O	O
:	O	O
SELECT	B-Code_Block	B-Code_Block
@varname	I-Code_Block	I-Code_Block
At	O	O
least	O	O
that	O	O
's	O	O
how	O	O
MYSQL	O	B-Application
5.x	O	B-Version
handles	O	O
it	O	O
.	O	O

You	O	O
do	O	O
n't	O	O
say	O	O
what	O	O
tools	O	O
you	O	O
're	O	O
using	O	O
,	O	O
but	O	O
if	O	O
you	O	O
get	O	O
Oracle	O	B-Application
SQL	O	I-Application
Developer	O	I-Application
,	O	O
it	O	O
includes	O	O
a	O	O
debugger	O	B-Application
that	O	O
allows	O	O
you	O	O
to	O	O
step	O	O
through	O	O
the	O	O
code	O	O
line	O	O
by	O	O
line	O	O
,	O	O
set	O	O
breakpoints	O	O
,	O	O
and	O	O
so	O	O
forth	O	O
-	O	O
all	O	O
the	O	O
typical	O	O
features	O	O
of	O	O
a	O	O
debugging	O	O
GUI	O	O
.	O	O

And	O	O
,	O	O
it	O	O
's	O	O
free	O	O
.	O	O

Get	O	O
it	O	O
here	O	O
.	O	O

I	O	O
do	O	O
n't	O	O
know	O	O
how	O	O
,	O	O
but	O	O
after	O	O
moving	O	O
two	O	O
of	O	O
my	O	O
UIViews	O	B-Class
,	O	O
they	O	O
are	O	O
moving	O	O
back	O	O
to	O	O
their	O	O
starting	O	O
x/y	O	B-Variable
position	O	O
every	O	O
so	O	O
often	O	O
.	O	O

I	O	O
've	O	O
checked	O	O
the	O	O
code	O	O
and	O	O
I	O	O
'm	O	O
not	O	O
moving	O	O
them	O	O
back	O	O
to	O	O
their	O	O
starting	O	O
positions	O	O
directly	O	O
,	O	O
but	O	O
they	O	O
are	O	O
going	O	O
back	O	O
there	O	O
somehow	O	O
.	O	O

What	O	O
technique	O	O
would	O	O
you	O	O
suggest	O	O
to	O	O
find	O	O
which	O	O
bit	O	O
of	O	O
code	O	O
is	O	O
moving	O	O
them	O	O
?	O	O

(	O	O
I	O	O
am	O	O
'	O	O
hiding	O	O
'	O	O
them	O	O
at	O	O
one	O	O
point	O	O
(	O	O
alpha	O	B-Code_Block
=	O	I-Code_Block
0.5	O	I-Code_Block
,	O	O
userInteractionEnabled	O	B-Code_Block
=	O	I-Code_Block
NO	O	I-Code_Block
)	O	O
and	O	O
then	O	O
re-showing	O	O
them	O	O
.	O	O

That	O	O
could	O	O
n't	O	O
be	O	O
it	O	O
could	O	O
it	O	O
?	O	O
)	O	O

I	O	O
wrote	O	O
a	O	O
simple	O	O
EventMachine	O	B-Library
server	O	B-Application
like	O	O
this	O	O
one	O	O
:	O	O

Now	O	O
,	O	O
I	O	O
would	O	O
like	O	O
to	O	O
trigger	O	O
it	O	O
from	O	O
another	O	O
file	O	O
in	O	O
another	O	O
directory	O	O
.	O	O

If	O	O
EventMachine	O	B-Library
would	O	O
be	O	O
a	O	O
simple	O	O
Ruby	O	B-Language
class	O	O
I	O	O
would	O	O
add	O	O
a	O	O
run	B-Code_Block	B-Function
(	O	O
or	O	O
something	O	O
)	O	O
class	O	O
method	O	O
and	O	O
do	O	O
something	O	O
like	O	O
:	O	O

Any	O	O
idea	O	O
how	O	O
to	O	O
do	O	O
this	O	O
?	O	O

Thanks	O	O
!	O	O

You	O	O
already	O	O
had	O	O
the	O	O
solution	O	O
:	O	O

my_app.rb	O	B-File_Name
:	O	O

run.rb	O	B-File_Name
:	O	O

I	O	O
'm	O	O
using	O	O
the	O	O
Java	O	B-Language
client	O	O
with	O	O
RabbitMQ	O	B-Application
.	O	O

I	O	O
've	O	O
seen	O	O
references	O	O
to	O	O
finding	O	O
queue	O	B-Data_Structure
size	O	O
with	O	O
a	O	O
Spring	O	B-Application
plugin	O	O
,	O	O
but	O	O
I	O	O
'm	O	O
not	O	O
using	O	O
Spring	O	B-Application
.	O	O

Is	O	O
there	O	O
a	O	O
non-Spring	O	B-Application
way	O	O
to	O	O
get	O	O
the	O	O
size	O	O
of	O	O
a	O	O
queue	O	B-Data_Structure
given	O	O
its	O	O
name	O	O
?	O	O

Right	O	O
now	O	O
I	O	O
'm	O	O
just	O	O
exec'ing	O	O
shell	O	B-Application
commands	O	O
'	O	O
rabbitmqctl	O	B-Code_Block
list_queues	O	I-Code_Block
'	O	O
and	O	O
parsing	O	O
the	O	O
results--not	O	O
great	O	O
.	O	O

you	O	O
can	O	O
enable	O	O
the	O	O
http	O	B-Application
management	O	I-Application
plugin	O	O
,	O	O

rabbitmq-plugins	B-Code_Block	B-Code_Block
enable	I-Code_Block	I-Code_Block
rabbitmq_management	I-Code_Block	I-Code_Block

then	O	O
use	O	O
the	O	O
http	O	B-Library
API	O	I-Library
.	O	O

If	O	O
you	O	O
execute	O	O
an	O	O
http	O	O
call	O	O
like	O	O
:	O	O

you	O	O
have	O	O
all	O	O
information	O	O
about	O	O
the	O	O
queue	O	B-Data_Structure
,	O	O
the	O	O
output	O	O
is	O	O
a	O	O
json	O	B-File_Type
like	O	O
:	O	O

What	O	O
I	O	O
want	O	O
to	O	O
do	O	O
is	O	O
to	O	O
write	O	O
a	O	O
piece	O	O
of	O	O
code	O	O
(	O	O
part	O	O
of	O	O
bigger	O	O
web-application	O	O
deployed	O	O
on	O	O
glassfish	O	B-Application
)	O	O
that	O	O
connects	O	O
to	O	O
other	O	O
system	O	O
via	O	O
webservice	O	O
.	O	O

However	O	O
I	O	O
'm	O	O
writing	O	O
client	O	O
only	O	O
,	O	O
so	O	O
I	O	O
assume	O	O
that	O	O
I	O	O
cannot	O	O
change	O	O
WSDL	O	B-Language
or	O	O
modify	O	O
anything	O	O
on	O	O
server	O	B-Application
side	O	O
(	O	O
including	O	O
auth	O	O
,	O	O
that	O	O
is	O	O
probably	O	O
a	O	O
problem	O	O
here	O	O
)	O	O
.	O	O

I	O	O
'm	O	O
new	O	O
to	O	O
webservices	O	O
,	O	O
so	O	O
pretty	O	O
please	O	O
-	O	O
write	O	O
your	O	O
answers	O	O
as	O	O
simple	O	O
as	O	O
they	O	O
can	O	O
be	O	O
.	O	O

I	O	O
was	O	O
able	O	O
to	O	O
generate	O	O
classes	O	O
from	O	O
WSDL	O	B-Language
,	O	O
write	O	O
simple	O	O
command	O	O
line	O	O
application	O	O
that	O	O
connects	O	O
to	O	O
webservice	O	O
,	O	O
adds	O	O
security	O	O
header	O	O
(	O	O
add	O	O
plaintext	O	O
username/password	O	O
,	O	O
more	O	O
below	O	O
)	O	O
,	O	O
calls	O	O
some	O	O
method	O	O
and	O	O
prints	O	O
result	O	O
.	O	O

Everything	O	O
works	O	O
OK	O	O
on	O	O
command	O	B-Application
line	O	I-Application
,	O	O
but	O	O
if	O	O
I	O	O
'll	O	O
attach	O	O
this	O	O
code	O	O
to	O	O
'	O	O
bigger	O	O
webapp	O	O
'	O	O
(	O	O
deploy	O	O
on	O	O
glassfish	O	B-Application
)	O	O
I	O	O
'm	O	O
getting	O	O
the	O	O
following	O	O
error	O	O
:	O	O

SP0105	O	B-Error_Name
:	O	O
Either	O	O
SymmetricBinding/AsymmetricBinding/TransportBinding	O	O
assertion	O	O
must	O	O
be	O	O
present	O	O
in	O	O
the	O	O
wsdl	O	B-Language
.	O	O

I	O	O
'm	O	O
not	O	O
getting	O	O
it	O	O
from	O	O
there	O	O
-	O	O
if	O	O
it	O	O
works	O	O
from	O	O
command	O	B-Application
line	O	I-Application
(	O	O
outside	O	O
of	O	O
glassfish	O	B-Application
)	O	O
,	O	O
why	O	O
does	O	O
it	O	O
need	O	O
something	O	O
more	O	O
while	O	O
deployed	O	O
on	O	O
glassfish	O	B-Application
?	O	O

I	O	O
was	O	O
using	O	O
hints	O	O
from	O	O
this	O	O
page	O	O
:	O	O

http://www.javadb.com/using-a-message-handler-to-alter-the-soap-header-in-a-web-service-client	O	O

To	O	O
give	O	O
more	O	O
info	O	O
on	O	O
this	O	O
,	O	O
some	O	O
pieces	O	O
of	O	O
code	O	O
:	O	O

Code	O	O
fragment	O	O
for	O	O
resolving	O	O
endpoint	O	O
and	O	O
calling	O	O
service	O	O
(	O	O
in	O	O
file	O	O
EndpointResolver.java	O	B-File_Name
)	O	O
:	O	O

HeaderHandlerResolver	O	B-Class
(	O	O
implementing	O	O
javax.xml.ws.handler.HandlerResolver	O	B-Class
)	O	O
most	O	O
important	O	O
methid	O	O
:	O	O

HeaderHandler	O	B-Class
handle	O	O
method	O	O
(	O	O
auth	O	B-Variable
is	O	O
here	O	O
:)	O	O
)	O	O

Thank	O	O
you	O	O
very	O	O
much	O	O
for	O	O
any	O	O
help	O	O
with	O	O
this	O	O
.	O	O

edit	O	O
:	O	O

Below	O	O
is	O	O
'	O	O
policy	O	O
'	O	O
part	O	O
from	O	O
wsdl	O	B-File_Type
file	O	O
(	O	O
as	O	O
stated	O	O
before	O	O
,	O	O
I	O	O
cannot	O	O
change	O	O
that	O	O
)	O	O
:	O	O

I	O	O
'll	O	O
answer	O	O
to	O	O
my	O	O
own	O	O
question	O	O
:	O	O

There	O	O
were	O	O
two	O	O
things	O	O
required	O	O
to	O	O
fix	O	O
problem	O	O
above	O	O
.	O	O

First	O	O
thing	O	O
that	O	O
was	O	O
required	O	O
was	O	O
to	O	O
update	O	O
metro	O	B-Library
library	O	O
on	O	O
glassfish	O	B-Application
(	O	O
I	O	O
've	O	O
updated	O	O
it	O	O
to	O	O
version	O	O
2.1.1	O	B-Version
,	O	O
so	O	O
updated	O	O
libraries	O	O
lib/webservices	O	B-File_Name
-rt.jar	O	I-File_Name
,	O	O
lib/webservices	O	B-File_Name
-tools.jar	O	I-File_Name
,	O	O
lib/endorsed/webservices	O	B-File_Name
-api.jar	O	I-File_Name
)	O	O
.	O	O

That	O	O
solved	O	O
SP0105	O	B-Error_Name
error	O	O
,	O	O
but	O	O
generated	O	O
new	O	O
one	O	O
(	O	O
ClassCastException	O	B-Error_Name
somewhere	O	O
at	O	O
headers	O	O
)	O	O
.	O	O

To	O	O
fix	O	O
the	O	O
second	O	O
one	O	O
,	O	O
I	O	O
've	O	O
deleted	O	O
HeaderHandler/HeaderHandlerResolver	O	B-Class
classes	O	O
and	O	O
instead	O	O
of	O	O
:	O	O

called	O	O
:	O	O

Here	O	O
i	O	O
have	O	O
a	O	O
problem	O	O
with	O	O
redirecting	O	O
the	O	O
URL	O	O
with	O	O
JSP	O	B-Application
Form	O	O
submit	O	O
the	O	O
page	O	O
(	O	O
use	O	O
post	O	B-Function
method	O	O
)	O	O
is	O	O
Changing	O	O
But	O	O
the	O	O
URL	O	O
is	O	O
not	O	O
Changing	O	O
...	O	O
.	O	O

the	O	O
page	O	O
sequence	O	O
:	O	O

index.jsp	B-Code_Block	B-File_Name
file	O	O
have	O	O
include	O	O
jqm	B-Code_Block	B-Library
js	I-Code_Block	B-Language
and	O	O
css	B-Code_Block	B-Language

here	O	O
is	O	O
my	O	O
mobileinit	O	B-Function
settings	O	O
:	O	O

redirect.jsp	O	B-File_Name
file	O	O

It	O	O
's	O	O
strange	O	O
that	O	O
is	O	O
work	O	O
when	O	O
index.jsp	B-Code_Block	B-File_Name
without	O	O
include	O	O
jqm	B-Code_Block	B-Library
js	I-Code_Block	B-Language
and	I-Code_Block	O
css	I-Code_Block	B-Language
.	I-Code_Block	O

I	O	O
have	O	O
a	O	O
ReorderList	O	B-Class
inside	O	O
a	O	O
vertically	O	O
"	O	O
scrollable	O	O
"	O	O
DIV	O	B-HTML_XML_Tag
tag	O	O
which	O	O
does	O	O
not	O	O
work	O	O
when	O	O
the	O	O
scrollbar	O	B-User_Interface_Element
for	O	O
DIV	O	B-HTML_XML_Tag
tag	O	O
is	O	O
already	O	O
scrolled	O	O
and	O	O
we	O	O
try	O	O
to	O	O
re-order	O	O
visible	O	O
items	O	O
.	O	O

For	O	O
details	O	O
,	O	O
please	O	O
refer	O	O
http://forums.asp.net/p/1068063/1550532.aspx	O	O
.	O	O

I	O	O
changed	O	O
the	O	O
script	O	O
and	O	O
now	O	O
want	O	O
to	O	O
build	O	O
framework	O	O
3.5	O	B-Version
assembly	O	B-Language
.	O	O

I	O	O
was	O	O
able	O	O
to	O	O
download	O	O
AjaxControlToolkit	O	B-Application
source	O	O
code	O	O
from	O	O
codeplex	O	B-Website
and	O	O
re-build	O	O
the	O	O
toolkit	O	O
,	O	O
under	O	O
framework	O	O
4.0	O	B-Version

How	O	O
should	O	O
I	O	O
proceed	O	O
to	O	O
build	O	O
it	O	O
so	O	O
that	O	O
it	O	O
is	O	O
compatible	O	O
with	O	O
3.5	O	B-Version
web	O	O
site	O	O
project	O	O
.	O	O

Please	O	O
note	O	O
that	O	O
this	O	O
all	O	O
should	O	O
be	O	O
possible	O	O
from	O	O
Visual	O	B-Application
Studio	O	I-Application
2010	O	B-Version
and	O	O
NOT	O	O
2008	O	B-Version
.	O	O

No	O	O
responses	O	O
?	O	O

I	O	O
had	O	O
to	O	O
open	O	O
ajax	O	B-Application
control	O	I-Application
toolkit	O	I-Application
2008	O	B-Version
solution	O	O
and	O	O
create	O	O
a	O	O
new	O	O
assembly	O	B-Language
from	O	O
there	O	O
.	O	O

But	O	O
there	O	O
should	O	O
be	O	O
some	O	O
way	O	O
?	O	O

I	O	O
would	O	O
like	O	O
to	O	O
trigger	O	O
schedulenotification	O	B-Class
when	O	O
app	O	O
is	O	O
closed	O	O
.	O	O

This	O	O
is	O	O
working	O	O
very	O	O
well	O	O
foreground	O	B-User_Interface_Element
and	O	O
background	O	B-User_Interface_Element
.	O	O

But	O	O
i	O	O
want	O	O
to	O	O
show	O	O
when	O	O
app	O	O
is	O	O
killed	O	O
.	O	O

Im	O	O
writing	O	O
a	O	O
program	O	O
in	O	O
java	O	B-Language
that	O	O
takes	O	O
an	O	O
excel	O	B-Application
sheet	O	O
from	O	O
a	O	O
local	O	O
file	O	O
and	O	O
uploads	O	O
the	O	O
values	O	O
given	O	O
into	O	O
the	O	O
program	O	O
for	O	O
some	O	O
calculations	O	O
.	O	O

When	O	O
I	O	O
compile	O	O
inside	O	O
eclipse	O	B-Application
everything	O	O
works	O	O
exactly	O	O
as	O	O
it	O	O
is	O	O
supposed	O	O
to	O	O
,	O	O
but	O	O
when	O	O
I	O	O
create	O	O
a	O	O
runnable	O	O
jar	O	B-File_Type
file	O	O
,	O	O
I	O	O
get	O	O
a	O	O
popup	O	O
error	O	O
"	O	O
A	O	O
Java	O	B-Error_Name
Exception	O	I-Error_Name
has	O	O
Occurred	O	O
"	O	O
.	O	O

I	O	O
went	O	O
through	O	O
the	O	O
code	O	O
,	O	O
and	O	O
if	O	O
i	O	O
remove	O	O
the	O	O
method	O	O
to	O	O
load	O	O
the	O	O
values	O	O
from	O	O
the	O	O
spreadsheet	O	O
the	O	O
runnable	O	O
jar	O	B-File_Type
works	O	O
just	O	O
fine	O	O
.	O	O

But	O	O
if	O	O
i	O	O
put	O	O
the	O	O
code	O	O
back	O	O
in	O	O
to	O	O
load	O	O
the	O	O
values	O	O
,	O	O
it	O	O
breaks	O	O
.	O	O

What	O	O
is	O	O
happening	O	O
in	O	O
this	O	O
block	O	O
of	O	O
code	O	O
that	O	O
causes	O	O
the	O	O
whole	O	O
program	O	O
to	O	O
break	O	O
?	O	O

And	O	O
the	O	O
main	O	O
is	O	O
:	O	O

EDIT	O	O
:	O	O

Here	O	O
is	O	O
the	O	O
error	O	O
when	O	O
I	O	O
run	O	O
it	O	O
through	O	O
command	O	B-Application
line	O	I-Application
.	O	O

To	O	O
figure	O	O
out	O	O
what	O	O
's	O	O
wrong	O	O
,	O	O
you	O	O
need	O	O
to	O	O
actually	O	O
see	O	O
the	O	O
exception	O	B-Class
.	O	O

Just	O	O
double-clicking	O	O
the	O	O
jar	O	B-File_Type
file	O	O
will	O	O
launch	O	O
it	O	O
using	O	O
"	O	O
javaw.exe	O	B-File_Name
"	O	O
,	O	O
which	O	O
has	O	O
no	O	O
console	O	B-Application
and	O	O
therefore	O	O
only	O	O
reports	O	O
that	O	O
there	O	O
was	O	O
an	O	O
exception	O	B-Class
-	O	O
-	O	O
without	O	O
the	O	O
stack	O	O
trace	O	O
.	O	O

Instead	O	O
,	O	O
start	O	O
a	O	O
command	O	B-Application
prompt	O	I-Application
and	O	O
"	O	O
cd	O	B-Code_Block
"	O	O
to	O	O
where	O	O
your	O	O
jar	O	B-File_Type
file	O	O
is	O	O
.	O	O

Then	O	O
,	O	O
supposing	O	O
that	O	O
the	O	O
jar	O	B-File_Type
name	O	O
is	O	O
"	O	O
MyJarFile.jar	O	B-File_Name
"	O	O
,	O	O
run	O	O
this	O	O
:	O	O

When	O	O
run	O	O
with	O	O
"	O	O
java.exe	O	B-File_Name
"	O	O
,	O	O
your	O	O
printStackTrace()	O	B-Function
will	O	O
actually	O	O
have	O	O
a	O	O
console	O	B-Application
in	O	O
which	O	O
to	O	O
print	O	O
the	O	O
stack	O	O
trace	O	O
,	O	O
which	O	O
will	O	O
point	O	O
you	O	O
to	O	O
the	O	O
offending	O	O
line	O	O
of	O	O
code	O	O
and	O	O
state	O	O
the	O	O
type	O	O
of	O	O
problem	O	O
.	O	O

UPDATE	O	O
(	O	O
following	O	O
the	O	O
posted	O	O
exception	O	O
)	O	O
:	O	O

Ah	O	O
,	O	O
since	O	O
you	O	O
require	O	O
a	O	O
third	O	O
party	O	O
dependency	O	O
,	O	O
you	O	O
need	O	O
to	O	O
switch	O	O
to	O	O
something	O	O
like	O	O
this	O	O
,	O	O
running	O	O
your	O	O
main	O	O
class	O	O
explicitly	O	O
and	O	O
specifying	O	O
a	O	O
classpath	O	O
containing	O	O
all	O	O
required	O	O
classes	O	O
:	O	O

with	O	O
...	O	O
"	O	O
path	O	B-Code_Block
\to	O	I-Code_Block
"	O	O
,	O	O
"	O	O
ApachePoiJarName	O	B-Code_Block
"	O	O
,	O	O
"	O	O
MyAppJarFile	O	B-Code_Block
"	O	O
,	O	O
"	O	O
my.main.class.package	O	B-Code_Block
"	O	O
and	O	O
"	O	O
MyMainClass	O	B-Code_Block
"	O	O
replaced	O	O
with	O	O
the	O	O
appropriate	O	O
name	O	O
.	O	O

If	O	O
the	O	O
POI	O	B-Library
jar	O	B-File_Type
requires	O	O
in	O	O
turn	O	O
its	O	O
own	O	O
dependencies	O	O
,	O	O
add	O	O
the	O	O
paths	O	O
to	O	O
those	O	O
files	O	O
to	O	O
the	O	O
class	O	O
path	O	O
as	O	O
well	O	O
(	O	O
a	O	O
list	O	O
of	O	O
jar	O	B-File_Type
paths	O	O
separated	O	O
by	O	O
semicolons	O	O
,	O	O
no	O	O
spaces	O	O
between	O	O
them	O	O
)	O	O
.	O	O

In	O	O
reply	O	O
to	O	O
"	O	O
Now	O	O
what	O	O
do	O	O
I	O	O
need	O	O
to	O	O
do	O	O
to	O	O
make	O	O
it	O	O
runnable	O	O
by	O	O
double	O	O
clicking	O	O
the	O	O
jar	O	B-File_Type
file	O	O
,	O	O
instead	O	O
of	O	O
running	O	O
it	O	O
from	O	O
command	O	B-Application
line	O	I-Application
?	O	O
"	O	O

(	O	O
Tried	O	O
to	O	O
reply	O	O
in	O	O
a	O	O
comment	O	O
but	O	O
the	O	O
size	O	O
limit	O	O
was	O	O
too	O	O
small	O	O
.	O	O
)	O	O

In	O	O
Eclipse	O	B-Application
,	O	O
once	O	O
you	O	O
have	O	O
a	O	O
"	O	O
run	O	O
configuration	O	O
"	O	O
with	O	O
which	O	O
the	O	O
project	O	O
is	O	O
running	O	O
correctly	O	O
:	O	O

Right	O	O
click	O	O
the	O	O
project	O	O
->	O	O
Export	O	O
..	O	O
.	O	O
->	O	O
(	O	O
from	O	O
Java	O	O
)	O	O
->	O	O
Runnable	O	O
JAR	O	B-File_Type
file	O	O

Next	O	O

Select	O	O
from	O	O
the	O	O
drop-down	O	B-User_Interface_Element
list	O	I-User_Interface_Element
the	O	O
run	O	O
configuration	O	O
that	O	O
launches	O	O
your	O	O
project	O	O
.	O	O

In	O	O
Export	O	O
destination	O	O
,	O	O
browse	O	O
to	O	O
where	O	O
you	O	O
want	O	O
the	O	O
runnable	O	O
jar	O	B-File_Type
exported	O	O
and	O	O
choose	O	O
a	O	O
jar	O	B-File_Type
file	O	O
name	O	O
.	O	O

Under	O	O
"	O	O
Library	O	O
handling	O	O
"	O	O
select	O	O
"	O	O
Package	O	O
required	O	O
libraries	O	O
into	O	O
generated	O	O
JAR	O	B-File_Type
"	O	O

Finish	O	O

Your	O	O
jar	O	B-File_Type
file	O	O
should	O	O
now	O	O
run	O	O
normally	O	O
.	O	O

Note	O	O
that	O	O
it	O	O
opens	O	O
with	O	O
"	O	O
javaw	O	B-Library
"	O	O
by	O	O
default	O	O
,	O	O
which	O	O
does	O	O
not	O	O
show	O	O
a	O	O
console	O	B-Application
.	O	O

If	O	O
you	O	O
need	O	O
a	O	O
console	O	B-Application
to	O	O
see	O	O
some	O	O
output	O	O
,	O	O
or	O	O
if	O	O
it	O	O
fails	O	O
and	O	O
you	O	O
want	O	O
to	O	O
see	O	O
the	O	O
exception	O	B-Class
,	O	O
open	O	O
a	O	O
console	O	B-Application
where	O	O
the	O	O
jar	O	B-File_Type
is	O	O
and	O	O
run	O	O
"	O	O
java	O	B-Code_Block
-jar	O	I-Code_Block
MyJarName.jar	O	I-Code_Block
"	O	O
(	O	O
no	O	O
more	O	O
need	O	O
to	O	O
specify	O	O
the	O	O
main	O	B-Class
class	O	O
and	O	O
dependencies	O	O
)	O	O
.	O	O

I	O	O
'm	O	O
having	O	O
trouble	O	O
to	O	O
working	O	O
with	O	O
a	O	O
libgdx	O	B-Library
project	O	O
on	O	O
two	O	O
computers	O	B-Device
.	O	O

What	O	O
is	O	O
the	O	O
best	O	O
way	O	O
to	O	O
backup	O	O
in	O	O
one	O	O
computer	O	B-Device
and	O	O
then	O	O
restore	O	O
on	O	O
another	O	O
?	O	O

I	O	O
use	O	O
the	O	O
google-play-services	O	B-Library
and	O	O
BaseGameUtils	O	B-Library
and	O	O
have	O	O
to	O	O
re-importing	O	O
all	O	O
time	O	O
.	O	O

For	O	O
that	O	O
i	O	O
recommand	O	O
to	O	O
use	O	O
Git	O	B-Application
,	O	O
if	O	O
it	O	O
's	O	O
new	O	O
to	O	O
you	O	O
here	O	O
are	O	O
the	O	O
main	O	O
steps	O	O
to	O	O
get	O	O
start	O	O
:	O	O

1	O	O
-	O	O
Create	O	O
an	O	O
account	O	O
at	O	O
Bitbucket	O	B-Application
:	O	O
you	O	O
can	O	O
put	O	O
your	O	O
code	O	O
in	O	O
private	O	O
mode	O	O
and	O	O
it	O	O
's	O	O
free	O	O

2	O	O
-	O	O
Download	O	O
and	O	O
Install	O	O
TortoiseGit	O	B-Application
tool	O	O
:	O	O
it	O	O
really	O	O
make	O	O
life	O	O
easier	O	O

3	O	O
-	O	O
Create	O	O
your	O	O
(	O	O
in	O	O
Server	O	B-Device
)	O	O
repository	O	O
in	O	O
bitbucket	O	B-Application

4	O	O
-	O	O
Create	O	O
your	O	O
repository	O	O
in	O	O
Local	O	B-Device

5	O	O
-	O	O
Match	O	O
between	O	O
your	O	O
repositories	O	O
using	O	O
these	O	O
commands	O	O
:	O	O

You	O	O
can	O	O
now	O	O
pull(download)/push(upload)	O	O
your	O	O
code	O	O
with	O	O
one	O	O
click	O	O
!	O	O
!	O	O

Hope	O	O
that	O	O
was	O	O
clear	O	O
and	O	O
helpful	O	O
!	O	O

Good	O	O
luck	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
do	O	O
it	O	O
like	O	O
this	O	O
:	O	O

But	O	O
it	O	O
's	O	O
just	O	O
printing	O	O
"	O	B-Output_Block
Killed	O	I-Output_Block
"	O	I-Output_Block
and	O	O
does	O	O
n't	O	O
start	O	O
it	O	O
again	O	O
.	O	O

If	O	O
I	O	O
do	O	O
all	O	O
this	O	O
stuff	O	O
separately	O	O
-	O	O
it	O	O
's	O	O
working	O	O
,	O	O
but	O	O
for	O	O
all	O	O
together	O	O
-	O	O
not	O	O
..	O	O
.	O	O

Допоможіть	O	B-User_Name
хто	O	I-User_Name
зможе	O	I-User_Name
..	O	O
.	O	O

The	O	O
script	O	O
from	O	O
which	O	O
you	O	O
execute	O	O
it	O	O
,	O	O
does	O	O
it	O	O
contain	O	O
"	O	O
service_name	O	B-Code_Block
"	O	O
in	O	O
its	O	O
name	O	O
?	O	O

Then	O	O
it	O	O
obviously	O	O
fulfills	O	O
the	O	O
criteria	O	O
for	O	O
begin	O	O
killed	O	O
by	O	O
your	O	O
for	O	B-Code_Block
loop	O	O
and	O	O
commits	O	O
suicide	O	O
.	O	O

If	O	O
it	O	O
does	O	O
not	O	O
,	O	O
then	O	O
still	O	O
the	O	O
grep	B-Code_Block	B-Code_Block
service_name	I-Code_Block	I-Code_Block
remains	O	O
which	O	O
fulfills	O	O
the	O	O
kill	O	O
criteria	O	O
(	O	O
has	O	O
service_name	O	B-Code_Block
in	O	O
its	O	O
cmd	O	B-Application
line	O	O
)	O	O
-	O	O
for	O	O
fixed	O	O
strings	O	B-Data_Type
in	O	O
grep	O	B-Code_Block
I	O	O
usually	O	O
write	O	O
them	O	O
grep	B-Code_Block	B-Code_Block
"s[e]rvice_name"	I-Code_Block	I-Code_Block
,	O	O
other	O	O
prefer	O	O
to	O	O
put	O	O
another	O	O
|grep	B-Code_Block	B-Code_Block
-v	I-Code_Block	I-Code_Block
grep	I-Code_Block	I-Code_Block
into	O	O
the	O	O
pipe	O	O
before	O	O
the	O	O
awk	O	B-Language

How	O	O
do	O	O
I	O	O
sync	O	O
all	O	O
the	O	O
code	O	O
in	O	O
the	O	O
SVN	O	B-Application
repository	O	O
(	O	O
for	O	O
development	O	O
purposes	O	O
)	O	O
with	O	O
the	O	O
live	O	O
code	O	O
I	O	O
have	O	O
running	O	O
in	O	O
/home/site/public_html/	O	O
,	O	O
as	O	O
in	O	O
overwrite	O	O
whatever	O	O
is	O	O
in	O	O
live	O	O
with	O	O
the	O	O
new	O	O
code	O	O
from	O	O
the	O	O
SVN	O	B-Application
repo	O	O
(	O	O
assume	O	O
the	O	O
SVN	O	B-Application
repo	O	O
location	O	O
is	O	O
in	O	O
/usr/bin/svn/project	O	B-File_Name
,	O	O
just	O	O
for	O	O
the	O	O
sake	O	O
of	O	O
the	O	O
argument	O	O
,	O	O
even	O	O
though	O	O
it	O	O
's	O	O
probably	O	O
far	O	O
from	O	O
that	O	O
)	O	O
?	O	O

Just	O	O
do	O	O
an	O	O
svn	B-Code_Block	B-Code_Block
checkout	I-Code_Block	I-Code_Block
or	O	O
svn	B-Code_Block	B-Code_Block
export	I-Code_Block	I-Code_Block
in	O	O
/home/site/public_html	O	O
.	O	O

Personally	O	O
I	O	O
have	O	O
a	O	O
checked	O	O
out	O	O
copy	O	O
on	O	O
my	O	O
web	O	O
server	O	B-Application
,	O	O
and	O	O
the	O	O
repository	O	O
is	O	O
on	O	O
the	O	O
same	O	O
machine	O	O
.	O	O

I	O	O
then	O	O
have	O	O
a	O	O
hook	O	O
so	O	O
that	O	O
on	O	O
a	O	O
commit	O	O
,	O	O
I	O	O
perform	O	O
an	O	O
svn	B-Code_Block	B-Code_Block
update	I-Code_Block	I-Code_Block
in	O	O
the	O	O
live	O	O
directory	O	O
,	O	O
so	O	O
that	O	O
committing	O	O
to	O	O
the	O	O
repository	O	O
immediately	O	O
makes	O	O
the	O	O
change	O	O
live	O	O
.	O	O

I	O	O
'm	O	O
looking	O	O
for	O	O
some	O	O
way	O	O
to	O	O
effectively	O	O
hide	O	O
inherited	O	O
members	O	O
.	O	O

I	O	O
have	O	O
a	O	O
library	O	O
of	O	O
classes	O	O
which	O	O
inherit	O	O
from	O	O
common	O	O
base	O	O
classes	O	O
.	O	O

Some	O	O
of	O	O
the	O	O
more	O	O
recent	O	O
descendant	O	O
classes	O	O
inherit	O	O
dependency	O	O
properties	O	O
which	O	O
have	O	O
become	O	O
vestigial	O	O
and	O	O
can	O	O
be	O	O
a	O	O
little	O	O
confusing	O	O
when	O	O
using	O	O
IntelliSense	O	B-Application
or	O	O
using	O	O
the	O	O
classes	O	O
in	O	O
a	O	O
visual	O	B-Application
designer	O	I-Application
.	O	O

These	O	O
classes	O	O
are	O	O
all	O	O
controls	O	O
that	O	O
are	O	O
written	O	O
to	O	O
be	O	O
compiled	O	O
for	O	O
either	O	O
WPF	O	B-Library
or	O	O
Silverlight	O	B-Library
2.0	O	B-Version
.	O	O

I	O	O
know	O	O
about	O	O
ICustomTypeDescriptor	B-Code_Block	B-Class
and	O	O
ICustomPropertyProvider	B-Code_Block	B-Class
,	O	O
but	O	O
I	O	O
'm	O	O
pretty	O	O
certain	O	O
those	O	O
ca	O	O
n't	O	O
be	O	O
used	O	O
in	O	O
Silverlight	O	B-Library
.	O	O

It	O	O
's	O	O
not	O	O
as	O	O
much	O	O
a	O	O
functional	O	O
issue	O	O
as	O	O
a	O	O
usability	O	O
issue	O	O
.	O	O

What	O	O
should	O	O
I	O	O
do	O	O
?	O	O

Update	O	O

Some	O	O
of	O	O
the	O	O
properties	O	O
that	O	O
I	O	O
would	O	O
really	O	O
like	O	O
to	O	O
hide	O	O
come	O	O
from	O	O
ancestors	O	O
that	O	O
are	O	O
not	O	O
my	O	O
own	O	O
and	O	O
because	O	O
of	O	O
a	O	O
specific	O	O
tool	O	O
I	O	O
'm	O	O
designing	O	O
for	O	O
,	O	O
I	O	O
ca	O	O
n't	O	O
do	O	O
member	O	O
hiding	O	O
with	O	O
the	O	O
new	B-Code_Block	B-Code_Block
operator	O	O
.	O	O

(	O	O
I	O	O
know	O	O
,	O	O
it	O	O
's	O	O
ridiculous	O	O
)	O	O

I	O	O
think	O	O
you	O	O
're	O	O
best	O	O
least	O	O
hackish	O	O
way	O	O
is	O	O
to	O	O
consider	O	O
composition	O	O
as	O	O
opposed	O	O
to	O	O
inheritance	O	O
.	O	O

Or	O	O
,	O	O
you	O	O
could	O	O
create	O	O
an	O	O
interface	O	O
that	O	O
has	O	O
the	O	O
members	O	O
you	O	O
want	O	O
,	O	O
have	O	O
your	O	O
derived	O	O
class	O	O
implement	O	O
that	O	O
interface	O	O
,	O	O
and	O	O
program	O	O
against	O	O
the	O	O
interface	O	O
.	O	O

I	O	O
know	O	O
there	O	O
's	O	O
been	O	O
several	O	O
answers	O	O
to	O	O
this	O	O
,	O	O
and	O	O
it	O	O
's	O	O
quite	O	O
old	O	O
now	O	O
,	O	O
but	O	O
the	O	O
simplest	O	O
method	O	O
to	O	O
do	O	O
this	O	O
is	O	O
just	O	O
declare	O	O
them	O	O
as	O	O
new	B-Code_Block	B-Code_Block
private	I-Code_Block	I-Code_Block
.	O	O

Consider	O	O
an	O	O
example	O	O
I	O	O
am	O	O
currently	O	O
working	O	O
on	O	O
,	O	O
where	O	O
I	O	O
have	O	O
an	O	O
API	O	B-Library
that	O	O
makes	O	O
available	O	O
every	O	O
method	O	O
in	O	O
a	O	O
3rd	O	O
party	O	O
DLL	O	B-File_Type
.	O	O

I	O	O
have	O	O
to	O	O
take	O	O
their	O	O
methods	O	O
,	O	O
but	O	O
I	O	O
want	O	O
to	O	O
use	O	O
a	O	O
.Net	O	B-Library
property	O	O
,	O	O
instead	O	O
of	O	O
a	O	O
"	O	O
getThisValue	O	B-Function
"	O	O
and	O	O
"	O	O
setThisValue	O	B-Function
"	O	O
method	O	O
.	O	O

So	O	O
,	O	O
I	O	O
build	O	O
a	O	O
second	O	O
class	O	O
,	O	O
inherit	O	O
the	O	O
first	O	O
,	O	O
make	O	O
a	O	O
property	O	O
that	O	O
uses	O	O
the	O	O
get	O	B-Function
and	O	O
set	O	B-Function
methods	O	O
,	O	O
and	O	O
then	O	O
override	O	O
the	O	O
original	O	O
get	O	B-Function
and	O	O
set	O	B-Function
methods	O	O
as	O	O
private	O	O
.	O	O

They	O	O
're	O	O
still	O	O
available	O	O
to	O	O
anyone	O	O
wanting	O	O
to	O	O
build	O	O
something	O	O
different	O	O
on	O	O
them	O	O
,	O	O
but	O	O
if	O	O
they	O	O
just	O	O
want	O	O
to	O	O
use	O	O
the	O	O
engine	O	O
I	O	O
'm	O	O
building	O	O
,	O	O
then	O	O
they	O	O
'll	O	O
be	O	O
able	O	O
to	O	O
use	O	O
properties	O	O
instead	O	O
of	O	O
methods	O	O
.	O	O

Using	O	O
the	O	O
double	O	O
class	O	O
method	O	O
gets	O	O
rid	O	O
of	O	O
any	O	O
restrictions	O	O
on	O	O
being	O	O
unable	O	O
to	O	O
use	O	O
the	O	O
new	B-Code_Block	B-Code_Block
declaration	O	O
to	O	O
hide	O	O
the	O	O
members	O	O
.	O	O

You	O	O
simply	O	O
ca	O	O
n't	O	O
use	O	O
override	B-Code_Block	B-Code_Block
if	O	O
the	O	O
members	O	O
are	O	O
marked	O	O
as	O	O
virtual	O	B-Code_Block
.	O	O

Now	O	O
valueEnum	O	B-Variable
is	O	O
available	O	O
to	O	O
both	O	O
classes	O	O
,	O	O
but	O	O
only	O	O
the	O	O
property	O	O
is	O	O
visible	O	O
in	O	O
the	O	O
APIUsageClass	O	B-Class
class	O	O
.	O	O

The	O	O
APIClass	O	B-Class
class	O	O
is	O	O
still	O	O
available	O	O
for	O	O
people	O	O
who	O	O
want	O	O
to	O	O
extend	O	O
the	O	O
original	O	O
API	O	B-Library
or	O	O
use	O	O
it	O	O
in	O	O
a	O	O
different	O	O
way	O	O
,	O	O
and	O	O
the	O	O
APIUsageClass	O	B-Class
is	O	O
available	O	O
for	O	O
those	O	O
who	O	O
want	O	O
something	O	O
more	O	O
simple	O	O
.	O	O

Ultimately	O	O
,	O	O
what	O	O
I	O	O
'll	O	O
be	O	O
doing	O	O
is	O	O
making	O	O
the	O	O
APIClass	O	B-Class
internal	O	O
,	O	O
and	O	O
only	O	O
expose	O	O
my	O	O
inherited	O	O
class	O	O
.	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
create	O	O
a	O	O
table	O	B-Data_Structure
with	O	O
the	O	O
following	O	O
:	O	O

It	O	O
fails	O	O
due	O	O
to	O	O
column	O	B-Data_Structure
length	O	O
not	O	O
being	O	O
large	O	O
enough	O	O
.	O	O

It	O	O
would	O	O
help	O	O
if	O	O
the	O	O
SQL	O	B-Language
statement	O	O
was	O	O
syntactically	O	O
valid	O	O
and	O	O
if	O	O
you	O	O
provided	O	O
the	O	O
exact	O	O
error	O	O
message	O	O
.	O	O

When	O	O
reformatted	O	O
and	O	O
syntax	O	O
corrected	O	O
,	O	O
the	O	O
statement	O	O
looks	O	O
like	O	O
:	O	O

And	O	O
,	O	O
when	O	O
that	O	O
is	O	O
run	O	O
on	O	O
a	O	O
system	O	O
with	O	O
2KB	O	O
pages	O	O
,	O	O
the	O	O
error	O	O
message	O	O
is	O	O
:	O	O

The	O	O
standard	O	O
way	O	O
of	O	O
getting	O	O
a	O	O
brief	O	O
explanation	O	O
of	O	O
an	O	O
error	O	O
message	O	O
is	O	O
finderr	B-Code_Block	B-Code_Block
;	O	O
it	O	O
says	O	O
:	O	O

The	O	O
'	O	O
a	O	O
total	O	O
of	O	O
120	O	O
bytes	O	O
'	O	O
should	O	O
be	O	O
'	O	O
a	O	O
total	O	O
of	O	O
at	O	O
least	O	O
120	O	O
bytes	O	O
'	O	O
;	O	O
that	O	O
lower-bound	O	O
applies	O	O
to	O	O
Informix	O	B-Application
SE	O	B-Version
.	O	O

In	O	O
IDS	O	B-Application
(	O	O
Informix	O	B-Application
Dynamic	O	I-Application
Server	O	I-Application
)	O	O
,	O	O
the	O	O
lower-bound	O	O
is	O	O
255	O	O
bytes	O	O
,	O	O
but	O	O
it	O	O
is	O	O
bigger	O	O
in	O	O
more	O	O
recent	O	O
systems	O	O
,	O	O
and	O	O
also	O	O
bigger	O	O
when	O	O
the	O	O
page	O	O
size	O	O
is	O	O
bigger	O	O
.	O	O

You	O	O
have	O	O
a	O	O
variety	O	O
of	O	O
options	O	O
.	O	O

You	O	O
can	O	O
consider	O	O
why	O	O
your	O	O
names	O	O
need	O	O
to	O	O
be	O	O
255	O	O
characters	O	O
each	O	O
-	O	O
is	O	O
that	O	O
sensible	O	O
(	O	O
would	O	O
,	O	O
say	O	O
,	O	O
64	O	O
be	O	O
sufficient	O	O
)	O	O
?	O	O

If	O	O
your	O	O
server	O	B-Application
version	O	O
is	O	O
recent	O	O
enough	O	O
(	O	O
10.00	O	B-Version
or	O	O
later	O	O
,	O	O
I	O	O
believe	O	O
)	O	O
,	O	O
you	O	O
could	O	O
create	O	O
the	O	O
table	O	B-Data_Structure
in	O	O
a	O	O
dbspace	O	O
with	O	O
a	O	O
larger	O	O
page	O	O
size	O	O
.	O	O

Since	O	O
the	O	O
key	O	O
is	O	O
a	O	O
maximum	O	O
of	O	O
3*255+(20/2+1)	O	O
=	O	O
776	O	O
bytes	O	O
,	O	O
and	O	O
the	O	O
rule	O	O
of	O	O
thumb	O	O
is	O	O
you	O	O
need	O	O
to	O	O
be	O	O
able	O	O
to	O	O
store	O	O
5	O	O
maximum-length	O	O
key	O	O
values	O	O
+	O	O
ROWID/FRAGID	O	O
overhead	O	O
(	O	O
8	O	O
bytes	O	O
)	O	O
per	O	O
page	O	O
,	O	O
you	O	O
would	O	O
need	O	O
a	O	O
4	O	O
KB	O	O
page	O	O
size	O	O
.	O	O

(	O	O
Had	O	O
you	O	O
been	O	O
running	O	O
on	O	O
AIX	O	B-Operating_System
,	O	O
you	O	O
probably	O	O
would	O	O
n't	O	O
have	O	O
noticed	O	O
the	O	O
issue	O	O
.	O	O
)	O	O

Also	O	O
,	O	O
you	O	O
should	O	O
not	O	O
be	O	O
storing	O	O
date	O	O
values	O	O
in	O	O
VARCHAR(255)	O	B-Data_Type
;	O	O
you	O	O
should	O	O
use	O	O
DATE	O	B-Data_Type
or	O	O
perhaps	O	O
DATETIME	O	B-Data_Type
YEAR	O	I-Data_Type
TO	O	I-Data_Type
DAY	O	I-Data_Type
(	O	O
a	O	O
weird	O	O
way	O	O
of	O	O
spelling	O	O
DATE	O	B-Data_Type
-	O	O
though	O	O
the	O	O
underlying	O	O
format	O	O
is	O	O
different	O	O
,	O	O
using	O	O
5	O	O
bytes	O	O
on	O	O
disk	O	B-Device
instead	O	O
of	O	O
4	O	O
for	O	O
a	O	O
plain	O	O
DATE	O	B-Data_Type
)	O	O
,	O	O
or	O	O
perhaps	O	O
DATETIME	O	B-Data_Type
YEAR	O	I-Data_Type
TO	O	I-Data_Type
SECOND	O	I-Data_Type
(	O	O
a	O	O
funny	O	O
way	O	O
of	O	O
spelling	O	O
TIMESTAMP	O	B-Data_Type
)	O	O
,	O	O
or	O	O
..	O	O
.	O	O

The	O	O
'	O	O
num0	O	B-Variable
,	O	O
num1	O	B-Variable
,	O	O
num2	O	B-Variable
'	O	O
fields	O	O
are	O	O
also	O	O
dubious	O	O
,	O	O
too	O	O
;	O	O
if	O	O
they	O	O
are	O	O
meant	O	O
to	O	O
store	O	O
numbers	O	O
,	O	O
use	O	O
NUMERIC	O	B-Data_Type
or	O	O
DECIMAL	O	B-Data_Type
-	O	O
-	O	O
DECIMAL(20)	O	B-Data_Type
in	O	O
most	O	O
IDS	O	B-Application
databases	O	O
means	O	O
a	O	O
20-digit	O	O
floating	O	O
point	O	O
decimal	O	O
number	O	O
.	O	O

Edited	O	O
to	O	O
add	O	O
:	O	O

And	O	O
,	O	O
to	O	O
answer	O	O
the	O	O
direct	O	O
question	O	O
,	O	O
VARCHAR	O	B-Data_Type
columns	O	B-Data_Structure
can	O	O
only	O	O
be	O	O
up	O	O
to	O	O
255	O	O
bytes	O	O
long	O	O
;	O	O
LVARCHAR	O	B-Data_Type
columns	O	B-Data_Structure
can	O	O
be	O	O
up	O	O
to	O	O
about	O	O
32	O	O
KB	O	O
;	O	O
CHAR	O	B-Data_Type
columns	O	B-Data_Structure
can	O	O
be	O	O
up	O	O
to	O	O
32	O	O
KB	O	O
;	O	O
TEXT	O	B-Data_Type
columns	O	B-Data_Structure
can	O	O
be	O	O
up	O	O
to	O	O
2	O	O
GB	O	O
,	O	O
and	O	O
CLOB	O	B-Data_Type
columns	O	B-Data_Structure
can	O	O
be	O	O
even	O	O
larger	O	O
.	O	O

The	O	O
total	O	O
length	O	O
of	O	O
a	O	O
row	O	B-Data_Structure
is	O	O
limited	O	O
to	O	O
about	O	O
32	O	O
KB	O	O
(	O	O
but	O	O
BYTE	O	B-Data_Type
,	O	O
TEXT	O	B-Data_Type
,	O	O
BLOB	O	B-Data_Type
and	O	O
CLOB	O	B-Data_Type
columns	O	B-Data_Structure
count	O	O
as	O	O
a	O	O
fixed	O	O
size	O	O
descriptor	O	O
towards	O	O
that	O	O
32	O	O
KB	O	O
total	O	O
-	O	O
the	O	O
actual	O	O
data	O	O
is	O	O
stored	O	O
outside	O	O
the	O	O
row	O	B-Data_Structure
)	O	O
.	O	O

There	O	O
are	O	O
some	O	O
version	O	O
dependencies	O	O
that	O	O
I	O	O
'm	O	O
not	O	O
bringing	O	O
out	O	O
-	O	O
if	O	O
you	O	O
are	O	O
using	O	O
IDS	O	B-Application
10.00	O	B-Version
or	O	O
later	O	O
,	O	O
this	O	O
is	O	O
accurate	O	O
.	O	O

I	O	O
've	O	O
got	O	O
a	O	O
strange	O	O
bug	O	O
whereby	O	O
two	O	O
UIButtons	O	B-Class
inside	O	O
a	O	O
UIView	O	B-Class
,	O	O
which	O	O
is	O	O
in	O	O
turn	O	O
inside	O	O
a	O	O
UIScrollView	O	B-Class
view	O	O
are	O	O
not	O	O
clickable	O	O
on	O	O
iOS	O	B-Operating_System
5	O	B-Version
,	O	O
but	O	O
work	O	O
perfectly	O	O
fine	O	O
on	O	O
iOS	O	B-Operating_System
6	O	B-Version
(	O	O
screenshot	O	O
shows	O	O
scroller	O	B-User_Interface_Element
and	O	O
map	O	B-User_Interface_Element
underneath	O	O
)	O	O

The	O	O
only	O	O
other	O	O
detail	O	O
is	O	O
the	O	O
scroller	O	B-User_Interface_Element
view	O	O
'	O	O
slides	O	O
up	O	O
'	O	O
to	O	O
reveal	O	O
buttons	O	B-User_Interface_Element
when	O	O
a	O	O
station	O	O
is	O	O
selected	O	O
.	O	O

I	O	O
've	O	O
tried	O	O
selecting	O	O
the	O	O
buttons	O	B-User_Interface_Element
on	O	O
iOS	O	B-Operating_System
5	O	B-Version
,	O	O
and	O	O
they	O	O
do	O	O
get	O	O
hit	O	O
(	O	O
visually	O	O
)	O	O
,	O	O
but	O	O
the	O	O
event	O	O
is	O	O
n't	O	O
fired	O	O
.	O	O

Edit	O	O
:	O	O
If	O	O
I	O	O
tap	O	O
and	O	O
hold	O	O
on	O	O
the	O	O
button	O	B-User_Interface_Element
in	O	O
the	O	O
simulator	O	B-Application
,	O	O
then	O	O
move	O	O
the	O	O
cursor	O	B-User_Interface_Element
up	O	O
the	O	O
screen	O	B-User_Interface_Element
and	O	O
release	O	O
(	O	O
e.g	O	O
.	O	O
to	O	O
the	O	O
part	O	O
of	O	O
the	O	O
UIView	O	B-Class
that	O	O
was	O	O
always	O	O
visible	O	O
)	O	O
,	O	O
the	O	O
event	O	O
fires	O	O
.	O	O

The	O	O
scroll	O	B-Class
view	O	I-Class
itself	O	O
has	O	O
the	O	O
following	O	O
settings	O	O
,	O	O
the	O	O
latter	O	O
two	O	O
have	O	O
only	O	O
been	O	O
added	O	O
in	O	O
order	O	O
to	O	O
try	O	O
and	O	O
make	O	O
the	O	O
buttons	O	B-User_Interface_Element
work	O	O
on	O	O
iOS	O	B-Operating_System
5	O	B-Version
(	O	O
tried	O	O
various	O	O
combinations	O	O
)	O	O
:	O	O

The	O	O
button	O	B-User_Interface_Element
events	O	O
are	O	O
all	O	O
wired	O	O
up	O	O
correctly	O	O
,	O	O
with	O	O
suitable	O	O
targets	O	O
etc	O	O
:	O	O

And	O	O
handlers	O	O
(	O	O
here	O	O
's	O	O
one	O	O
as	O	O
a	O	O
sample	O	O
)	O	O
:	O	O

Any	O	O
help	O	O
would	O	O
be	O	O
great	O	O
!	O	O

Found	O	O
the	O	O
culprit	O	O
-	O	O
a	O	O
misconfigured	O	O
UITapGestureRecognizer	O	B-Class
on	O	O
the	O	O
UIView	O	B-Class
the	O	O
UIButtons	O	B-Class
sit	O	O
on	O	O
:	O	O

Simply	O	O
adding	O	O
the	O	O
following	O	O
after	O	O
init	O	B-Function
of	O	O
'	O	O
tap	O	B-Variable
'	O	O
solves	O	O
the	O	O
issue	O	O
in	O	O
iOS	O	B-Operating_System
5	O	B-Version
:	O	O

I	O	O
've	O	O
encountered	O	O
a	O	O
very	O	O
strange	O	O
problem	O	O
(	O	O
since	O	O
this	O	O
always	O	O
worked	O	O
before	O	O
)	O	O
when	O	O
building	O	O
a	O	O
client-server	O	O
chat	O	O
program	O	O
.	O	O

The	O	O
serversocket	O	B-Class
accepts	O	O
without	O	O
any	O	O
problem	O	O
the	O	O
incoming	O	O
connection	O	O
of	O	O
the	O	O
client	O	B-Class
,	O	O
but	O	O
when	O	O
I	O	O
try	O	O
to	O	O
read	O	O
from	O	O
the	O	O
socket	O	B-Class
's	O	O
inputstream	O	B-Class
the	O	O
whole	O	O
method	O	O
blocks	O	O
and	O	O
only	O	O
releases	O	O
when	O	O
I	O	O
close	O	O
the	O	O
client	O	B-Class
's	O	O
socket	O	I-Class
.	O	O

I	O	O
've	O	O
even	O	O
tried	O	O
it	O	O
with	O	O
the	O	O
sample	O	O
code	O	O
on	O	O
docs.oracle.com	O	B-Website
,	O	O
but	O	O
the	O	O
problem	O	O
remains	O	O
.	O	O

Can	O	O
anybody	O	O
point	O	O
me	O	O
out	O	O
the	O	O
error	O	O
I	O	O
'm	O	O
obviously	O	O
not	O	O
seeing	O	O
?	O	O

Server	O	B-Class
code	O	O
:	O	O

Client	O	B-Class
code	O	O
:	O	O

the	O	O
method	O	O
readLine()	B-Code_Block	B-Function
is	O	O
waiting	O	O
for	O	O
\n	O	B-Value
character	O	O
to	O	O
appear	O	O
in	O	O
the	O	O
stream	O	O
(	O	O
the	O	O
method	O	O
blocks	O	O
until	O	O
it	O	O
sees	O	O
end	O	O
line	O	O
delimeter	O	O
)	O	O
.	O	O

Try	O	O
sending	O	O
"	B-Code_Block	B-Value
test	I-Code_Block	I-Value
\\n	I-Code_Block	I-Value
"	B-Code_Block	B-Value
from	O	O
the	O	O
client	O	B-Class
and	O	O
see	O	O
what	O	O
happens	O	O
.	O	O

And	O	O
remember	O	O
to	O	O
flush()	B-Code_Block	B-Function
the	O	O
output	O	B-Class
stream	O	I-Class
on	O	O
the	O	O
client	O	B-Class
side	O	O

You	O	O
forgot	O	O
to	O	O
add	O	O
a	O	O
true	O	O
as	O	O
the	O	O
2nd	O	O
parameter	O	O
when	O	O
creating	O	O
the	O	O
printwriter	O	B-Class
printwriter	O	I-Class

It	O	O
will	O	O
make	O	O
it	O	O
flush	O	O
automatically	O	O
.	O	O

If	O	O
you	O	O
look	O	O
at	O	O
the	O	O
screenshot	O	O
in	O	O
the	O	O
below	O	O
link	O	O
you	O	O
'll	O	O
see	O	O
what	O	O
I	O	O
'm	O	O
after	O	O
.	O	O

I	O	O
basically	O	O
want	O	O
people	O	O
to	O	O
be	O	O
able	O	O
to	O	O
click	O	O
a	O	O
service	O	O
down	O	O
the	O	O
left	O	O
hand	O	O
side	O	O
and	O	O
then	O	O
the	O	O
content	O	O
loads	O	O
in	O	O
on	O	O
the	O	O
right	O	O
hand	O	O
side	O	O
.	O	O

Like	O	O
this	O	O
page	O	O
but	O	O
instead	O	O
of	O	O
loading	O	O
below	O	O
,	O	O
it	O	O
loads	O	O
to	O	O
the	O	O
right	O	O
,	O	O
and	O	O
also	O	O
,	O	O
the	O	O
link	O	O
there	O	O
loads	O	O
the	O	O
content	O	O
in	O	O
via	O	O
a	O	O
html	O	B-File_Type
file	O	O
,	O	O
I	O	O
'd	O	O
like	O	O
to	O	O
avoid	O	O
this	O	O
is	O	O
possible	O	O
.	O	O

Screenshot	O	O
:	O	O

Does	O	O
anyone	O	O
know	O	O
of	O	O
a	O	O
jQuery	O	B-Library
plugin	O	O
or	O	O
ajax	O	B-Function
that	O	O
can	O	O
do	O	O
this	O	O
?	O	O

Use	O	O
jquery	O	B-Library
's	O	O
ajax	O	B-Function
for	O	O
that	O	O
.	O	O

Or	O	O
alternatively	O	O
preload	O	O
all	O	O
the	O	O
contents	O	O
and	O	O
use	O	O
jquery	O	B-Library
UI	O	O
's	O	O
tabs	O	B-User_Interface_Element

I	O	O
would	O	O
like	O	O
to	O	O
use	O	O
ImagePlot	O	B-Application
(	O	O
an	O	O
ImageJ	O	B-Application
macro	O	I-Application
)	O	O
to	O	O
visualize	O	O
images	O	B-User_Interface_Element
in	O	O
a	O	O
folder	O	O
.	O	O

To	O	O
do	O	O
this	O	O
,	O	O
I	O	O
have	O	O
to	O	O
have	O	O
a	O	O
spreadsheet	O	B-User_Interface_Element
that	O	O
I	O	O
load	O	O
into	O	O
an	O	O
ImagePlot	O	B-Application
that	O	O
contains	O	O
average	O	O
color	O	O
saturation	O	O
or	O	O
medium	O	O
brightness	O	O
of	O	O
each	O	O
image	O	B-User_Interface_Element
.	O	O

Is	O	O
it	O	O
possible	O	O
to	O	O
make	O	O
such	O	O
a	O	O
spreadsheet	O	B-User_Interface_Element
in	O	O
ImageJ	O	B-Application
or	O	O
do	O	O
I	O	O
need	O	O
to	O	O
do	O	O
it	O	O
differently	O	O
?	O	O

Ids	O	O
are	O	O
useful	O	O
in	O	O
automation	O	O
context	O	O
.	O	O

How	O	O
to	O	O
set	O	O
an	O	O
id	O	O
to	O	O
EditText(Android)	O	B-Class
when	O	O
working	O	O
with	O	O
Cordova	O	B-Library
?	O	O

I	O	O
came	O	O
across	O	O
the	O	O
Dell	O	B-Device
Studio	O	I-Device
One	O	I-Device
19	O	B-Version
on	O	O
the	O	O
web	O	O
the	O	O
other	O	O
day	O	O
,	O	O
and	O	O
wondered	O	O
what	O	O
the	O	O
Dev	O	O
environment	O	O
for	O	O
the	O	O
Multi-Touch	O	O
was	O	O
?	O	O

Anyone	O	O
out	O	O
there	O	O
developing	O	O
for	O	O
this	O	O
,	O	O
or	O	O
know	O	O
what	O	O
the	O	O
environment	O	O
is	O	O
?	O	O

I	O	O
know	O	O
that	O	O
to	O	O
develop	O	O
for	O	O
the	O	O
HP	O	B-Device
TouchSmart	O	I-Device
you	O	O
need	O	O
HP	O	B-Website
's	O	O
own	O	O
SDK	O	B-Library
....	O	O
and	O	O
it	O	O
does	O	O
n't	O	O
sound	O	O
too	O	O
good	O	O
to	O	O
me	O	O
(	O	O
check	O	O
out	O	O
this	O	O
.NET	O	B-Library
Rocks	O	O
episode	O	O
on	O	O
it	O	O
)	O	O

I	O	O
was	O	O
hoping	O	O
the	O	O
new	O	O
Dell	O	B-Device
is	O	O
just	O	O
using	O	O
Windows	O	B-Operating_System
7	O	B-Version
native	O	O
touch	O	O
support	O	O
...	O	O
.	O	O

Ideally	O	O
I	O	O
'd	O	O
like	O	O
to	O	O
see	O	O
a	O	O
subset	O	O
of	O	O
the	O	O
Microsoft	O	B-Library
Surface	O	I-Library
SDK	O	I-Library
brought	O	O
to	O	O
touch-enabled	O	B-Device
screens	O	I-Device
running	O	O
Win	O	B-Operating_System
7	O	B-Version
...	O	O
.	O	O

anyone	O	O
got	O	O
insight	O	O
into	O	O
whats	O	O
happening	O	O
with	O	O
Multi-Touch	O	O
on	O	O
Win	O	B-Operating_System
7	O	B-Version
from	O	O
a	O	O
development	O	O
perspective	O	O
?	O	O

While	O	O
this	O	O
may	O	O
not	O	O
apply	O	O
to	O	O
the	O	O
Dell	O	B-Device
Studio	O	I-Device
One	O	I-Device
19	O	B-Version
to	O	O
answer	O	O
your	O	O
question	O	O
at	O	O
the	O	O
end	O	O
,	O	O
"	O	O
anyone	O	O
got	O	O
insight	O	O
into	O	O
whats	O	O
happening	O	O
with	O	O
Multi-Touch	O	O
on	O	O
Win	O	B-Operating_System
7	O	B-Application
from	O	O
a	O	O
development	O	O
perspective	O	O
?	O	O
"	O	O

I	O	O
can	O	O
say	O	O
that	O	O
it	O	O
seems	O	O
that	O	O
out	O	O
of	O	O
the	O	O
box	O	O
there	O	O
will	O	O
be	O	O
a	O	O
multi-touch	O	B-Library
API	O	I-Library
,	O	O
which	O	O
is	O	O
what	O	O
you	O	O
should	O	O
find	O	O
available	O	O
in	O	O
the	O	O
Win	O	B-Library
7	O	I-Library
RC	O	I-Library
SDK	O	I-Library
linked	O	O
in	O	O
Tim	O	B-User_Name
J	O	I-User_Name
's	O	O
answer	O	O
.	O	O

In	O	O
addition	O	O
WPF	O	B-Library
4.0	O	B-Version
will	O	O
include	O	O
multi-touch	O	B-Library
APIs	O	I-Library
and	O	O
controls	O	O
which	O	O
it	O	O
would	O	O
seem	O	O
that	O	O
the	O	O
Surface	O	B-Library
SDK	O	I-Library
2.0	O	B-Version
will	O	O
extend/build	O	O
upon	O	O
.	O	O

If	O	O
you	O	O
go	O	O
to	O	O
slide	O	O
7	O	O
of	O	O
the	O	O
following	O	O
presentation	O	O
you	O	O
'll	O	O
see	O	O
how	O	O
thing	O	O
stack	O	O
together	O	O
.	O	O

Funny	O	O
you	O	O
should	O	O
ask	O	O
this	O	O
I	O	O
am	O	O
just	O	O
starting	O	O
with	O	O
this	O	O
stuff	O	O
this	O	O
week	O	O
.	O	O

I	O	O
have	O	O
the	O	O
Dell	O	B-Device
XT2	O	I-Device
with	O	O
Windows	O	B-Operating_System
7	O	B-Version
64bit	O	O
(	O	O
runs	O	O
like	O	O
a	O	O
dream	O	O
)	O	O
.	O	O

What	O	O
you	O	O
need	O	O
to	O	O
have	O	O
..	O	O
.	O	O

The	O	O
Windows	O	B-Application
7	O	I-Application
RC	O	I-Application
SDK	O	I-Application

and	O	O
you	O	O
also	O	O
must	O	O
have	O	O
the	O	O

NTrig	O	B-Application
device	O	I-Application
drivers	O	I-Application

What	O	O
's	O	O
nice	O	O
to	O	O
have	O	O
is	O	O
the	O	O
NTrig	O	B-Application
SDK	O	I-Application

There	O	O
have	O	O
been	O	O
some	O	O
changes	O	O
between	O	O
the	O	O
Windows	O	B-Operating_System
7	O	B-Version
Beta	O	I-Version
and	O	O
the	O	O
RC	O	B-Version
,	O	O
and	O	O
the	O	O
samples	O	O
have	O	O
n't	O	O
been	O	O
updated	O	O
yet	O	O
,	O	O
but	O	O
its	O	O
reasonably	O	O
simple	O	O
to	O	O
work	O	O
out	O	O
.	O	O

Have	O	O
fun	O	O
,	O	O
I	O	O
am	O	O
.	O	O

Hello	O	O
I	O	O
have	O	O
set	O	O
some	O	O
text	O	O
in	O	O
a	O	O
textview	O	B-Class
.	O	O

Then	O	O
I	O	O
need	O	O
to	O	O
convert	O	O
the	O	O
text	O	O
of	O	O
the	O	O
TextView	B-Code_Block	B-Class
into	O	O
Spannble	B-Code_Block	B-Class
.	O	O

So	O	O
I	O	O
did	O	O
this	O	O
like	O	O
:	O	O

I	O	O
need	O	O
to	O	O
convert	O	O
it	O	O
Spannable	B-Code_Block	B-Class
because	O	O
I	O	O
passed	O	O
the	O	O
TextView	B-Code_Block	B-Class
into	O	O
a	O	O
function	O	O
:	O	O

This	O	O
shows	O	O
no	O	O
error/warning	O	O
.	O	O

But	O	O
throwing	O	O
a	O	O
Runtime	O	B-Error_Name
Error	O	I-Error_Name
:	O	O

How	O	O
can	O	O
I	O	O
convert	O	O
the	O	O
SpannedStringt/text	O	B-Class
of	O	O
the	O	O
textview	O	B-Class
into	O	O
Spannble	O	B-Class
?	O	O

Or	O	O
can	O	O
I	O	O
do	O	O
the	O	O
same	O	O
task	O	O
with	O	O
SpannedString	O	B-Class
inside	O	O
the	O	O
function	O	O
?	O	O

If	O	O
you	O	O
specify	O	O
BufferType.SPANNABLE	B-Code_Block	B-Variable
when	O	O
setting	O	O
the	O	O
TextView	B-Code_Block	B-Class
's	O	O
text	O	O
,	O	O
then	O	O
when	O	O
getting	O	O
the	O	O
text	O	O
you	O	O
can	O	O
cast	O	O
it	O	O
to	O	O
Spannable	B-Code_Block	B-Class

new	B-Code_Block	B-Code_Block
SpannableString(textView.getText())	I-Code_Block	I-Code_Block
should	O	O
work	O	O
.	O	O

Sorry	O	O
,	O	O
but	O	O
removeSpan()	B-Code_Block	B-Function
and	O	O
setSpan()	B-Code_Block	B-Function
are	O	O
methods	O	O
on	O	O
the	O	O
Spannable	B-Code_Block	B-Class
interface	O	O
,	O	O
and	O	O
SpannedString	B-Code_Block	B-Class
does	O	O
not	O	O
implement	O	O
Spannable	B-Code_Block	B-Class
.	O	O

In	O	O
Safari	O	B-Application
on	O	O
iOS	O	B-Operating_System
if	O	O
I	O	O
open	O	O
my	O	O
login	O	O
page	O	B-User_Interface_Element
it	O	O
shows	O	O
"	O	B-Output_Block
Scan	O	I-Output_Block
Credit	O	I-Output_Block
Card	O	I-Output_Block
"	O	I-Output_Block
,	O	O
how	O	O
can	O	O
I	O	O
hide	O	O
this	O	O
as	O	O
this	O	O
is	O	O
not	O	O
relevant	O	O
for	O	O
the	O	O
username	O	O
or	O	O
password	O	O
text	O	B-User_Interface_Element
box	O	I-User_Interface_Element
.	O	O

I	O	O
tried	O	O
to	O	O
find	O	O
answer	O	O
here	O	O
How	O	O
to	O	O
disable	O	O
"	O	O
Scan	O	O
Credit	O	O
Card	O	O
"	O	O
feature	O	O
on	O	O
iOS	O	B-Operating_System
8	O	B-Version
Safari	O	B-Application
?	O	O

but	O	O
no	O	O
one	O	O
has	O	O
replied	O	O
to	O	O
it	O	O
yet	O	O
.	O	O

Image	O	B-User_Interface_Element
is	O	O
shown	O	O
below	O	O
as	O	O
reference	O	O
:	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
send	O	O
two	O	O
versions	O	O
of	O	O
the	O	O
same	O	O
email	O	O
to	O	O
two	O	O
recipients	O	O
using	O	O
phpMailer	O	B-Library

Depending	O	O
on	O	O
the	O	O
email	O	O
I	O	O
need	O	O
to	O	O
send	O	O
one	O	O
version	O	O
or	O	O
another	O	O
.	O	O

At	O	O
the	O	O
moment	O	O
I	O	O
'm	O	O
able	O	O
to	O	O
send	O	O
only	O	O
the	O	O
same	O	O
version	O	O
to	O	O
both	O	O
email	O	O
address	O	O

I	O	O
think	O	O
you	O	O
want	O	O
to	O	O
seach	O	O
the	O	O
$maileremail	B-Code_Block	B-Variable
inside	O	O
$add	B-Code_Block	B-Variable
and	O	O
send	O	O
the	O	O
desired	O	O
email	O	O
.	O	O

EDITED	O	O
:	O	O

I	O	O
misunderstood	O	O
the	O	O
question	O	O
.	O	O

Brian	O	B-User_Name
is	O	O
right	O	O
.	O	O

If	O	O
you	O	O
're	O	O
looking	O	O
to	O	O
do	O	O
all	O	O
the	O	O
setup	O	O
once	O	O
for	O	O
minimal	O	O
repetition	O	O
,	O	O
simply	O	O
clone	O	O
your	O	O
$mail	B-Code_Block	B-Variable
object	O	O
in	O	O
your	O	O
foreach($add)	B-Code_Block	B-Code_Block
loop	O	O
:	O	O

This	O	O
creates	O	O
a	O	O
separate	O	O
clone	O	O
of	O	O
your	O	O
$mail	B-Code_Block	B-Variable
object	O	O
for	O	O
every	O	O
loop	O	O
,	O	O
allowing	O	O
you	O	O
to	O	O
add	O	O
different	O	O
email	O	O
bodies	O	O
,	O	O
subjects	O	O
,	O	O
etc	O	O
.	O	O

without	O	O
having	O	O
to	O	O
rewrite	O	O
all	O	O
connection	O	O
settings	O	O
.	O	O

Can	O	O
somebody	O	O
help	O	O
please	O	O
.	O	O

I	O	O
hav	O	O
n't	O	O
any	O	O
experience	O	O
in	O	O
Angular	O	B-Library
1	O	B-Version
to	O	O
2	O	B-Version
migration	O	O
.	O	O

I	O	O
have	O	O
this	O	O
code	O	O

and	O	O
after	O	O
first	O	O
appers	O	O
this	O	O
error	O	O
:	O	O

Error	O	O
:	O	O
[	O	B-Error_Name
$injector:nomod	O	I-Error_Name
]	O	I-Error_Name
Module	O	O
'	O	O
app	O	O
'	O	O
is	O	O
not	O	O
available	O	O
!	O	O

You	O	O
either	O	O
misspelled	O	O
the	O	O
module	O	O
name	O	O
or	O	O
forgot	O	O
to	O	O
load	O	O
it	O	O
.	O	O

If	O	O
registering	O	O
a	O	O
module	O	O
ensure	O	O
that	O	O
you	O	O
specify	O	O
the	O	O
dependencies	O	O
as	O	O
the	O	O
second	O	O
argument	O	O
.	O	O

And	O	O
after	O	O
second	O	O
variany	O	O
this	O	O
one	O	O
:	O	O

Error	O	O
:	O	O
TypeError	O	B-Error_Name
:	O	O
angular.module	O	O
is	O	O
not	O	O
a	O	O
function	O	O

app.module.ts	O	B-File_Name

package.json	O	B-File_Name

I	O	O
have	O	O
a	O	O
free	O	O
open	O	O
source	O	O
app	O	O
that	O	O
already	O	O
supports	O	O
multiple	O	O
languages	O	O
.	O	O

To	O	O
test	O	O
the	O	O
languages	O	O
I	O	O
switch	O	O
the	O	O
phone	O	B-Device
's	O	O
setting	O	O
|	O	O
language	O	O
and	O	O
everything	O	O
works	O	O
just	O	O
fine	O	O
.	O	O

Once	O	O
in	O	O
a	O	O
while	O	O
I	O	O
get	O	O
requests	O	O
from	O	O
people	O	O
that	O	O
want	O	O
to	O	O
translate	O	O
the	O	O
app	O	O
to	O	O
a	O	O
language	O	O
that	O	O
is	O	O
not	O	O
listed	O	O
on	O	O
my	O	O
own	O	O
device	O	O
(	O	O
CM	O	B-Device
7.1	O	B-Version
or	O	O
US	O	B-Device
Nexus	O	I-Device
7	O	B-Version
)	O	O
.	O	O

For	O	O
example	O	O
,	O	O
the	O	O
last	O	O
one	O	O
was	O	O
for	O	O
Albanian	O	O
.	O	O

I	O	O
presume	O	O
that	O	O
the	O	O
language	O	O
code	O	O
is	O	O
'	O	B-Value
sq	O	I-Value
'	O	B-Value
so	O	O
I	O	O
can	O	O
create	O	O
res/values	O	B-Code_Block
-sq	O	I-Code_Block
with	O	O
the	O	O
translation	O	O
they	O	O
provide	O	O
but	O	O
how	O	O
can	O	O
I	O	O
test	O	O
it	O	O
on	O	O
my	O	O
own	O	O
phone	O	B-Device
?	O	O

Is	O	O
there	O	O
a	O	O
way	O	O
to	O	O
force	O	O
my	O	O
app	O	O
to	O	O
use	O	O
a	O	O
specific	O	O
language	O	O
code	O	O
(	O	O
e.g	O	O
.	O	O
'	O	B-Value
sq'	O	I-Value
)	O	O
,	O	O
even	O	O
if	O	O
it	O	O
is	O	O
not	O	O
listed	O	O
in	O	O
my	O	O
phone	O	B-Device
's	O	O
settings	O	O
?	O	O

To	O	O
clarify	O	O
,	O	O
I	O	O
do	O	O
n't	O	O
want	O	O
to	O	O
reinvent	O	O
language	O	O
switching	O	O
,	O	O
just	O	O
to	O	O
influence	O	O
the	O	O
resource	O	O
selector	O	O
to	O	O
use	O	O
res/values	O	B-Code_Block
-sq	O	I-Code_Block
.	O	O

If	O	O
it	O	O
matters	O	O
,	O	O
the	O	O
app	O	O
uses	O	O
android:minSdkVersion	O	B-Code_Block
=	O	I-Code_Block
"	O	I-Code_Block
8	O	I-Code_Block
"	O	I-Code_Block
.	O	O

Your	O	O
phone	O	B-Device
vendor	O	O
chose	O	O
not	O	O
to	O	O
include	O	O
the	O	O
Albanian	O	O
locale	O	O
,	O	O
so	O	O
unfortunately	O	O
you	O	O
wo	O	O
n't	O	O
be	O	O
able	O	O
to	O	O
choose	O	O
it	O	O
.	O	O

This	O	O
is	O	O
usually	O	O
vendor	O	O
specific	O	O
and	O	O
depends	O	O
greatly	O	O
on	O	O
your	O	O
location	O	O
.	O	O

For	O	O
example	O	O
,	O	O
Samsung	O	B-Website
will	O	O
not	O	O
include	O	O
the	O	O
Albanian	O	O
locale	O	O
in	O	O
an	O	O
Android	O	B-Operating_System
build	O	O
used	O	O
for	O	O
phones	O	B-Device
to	O	O
be	O	O
distributed	O	O
in	O	O
the	O	O
US	O	O
.	O	O

As	O	O
for	O	O
forcing	O	O
your	O	O
app	O	O
directly	O	O
to	O	O
choose	O	O
one	O	O
of	O	O
your	O	O
locale	O	O
's	O	O
,	O	O
it	O	O
is	O	O
not	O	O
doable	O	O
afaik	O	O
.	O	O

The	O	O
best	O	O
you	O	O
could	O	O
do	O	O
(	O	O
in	O	O
case	O	O
you	O	O
want	O	O
to	O	O
test	O	O
your	O	O
resources	O	O
)	O	O
would	O	O
be	O	O
to	O	O
recreate	O	O
the	O	O
project	O	O
and	O	O
remove	O	O
all	O	O
the	O	O
other	O	O
resources	O	O
and	O	O
leave	O	O
the	O	O
Albanian-specific	O	O
ones	O	O
.	O	O

The	O	O
system	O	O
will	O	O
"	O	O
be	O	O
forced	O	O
"	O	O
use	O	O
them	O	O
.	O	O

We	O	O
have	O	O
a	O	O
website	O	O
using	O	O
bootstrap	O	B-Library
,	O	O
css	O	B-Language
,	O	O
and	O	O
html	O	B-Language
.	O	O

we	O	O
have	O	O
a	O	O
piece	O	O
of	O	O
text	O	B-User_Interface_Element
that	O	O
we	O	O
want	O	O
to	O	O
disappear	O	O
when	O	O
on	O	O
mobile	O	B-Device
.	O	O

There	O	O
are	O	O
slightly	O	O
different	O	O
classes	O	O
you	O	O
need	O	O
to	O	O
add	O	O
depending	O	O
on	O	O
the	O	O
version	O	O
of	O	O
Bootstrap	O	B-Library
,	O	O
e.g	O	O
.	O	O
hidden-sm-down	B-Code_Block	B-Class
for	O	O
v4-alpha	O	B-Version
(	O	O
https://v4-alpha.getbootstrap.com/layout/responsive-utilities/	O	O
)	O	O

(	O	O
First	O	O
of	O	O
all	O	O
im	O	O
not	O	O
a	O	O
native	O	O
english	O	O
speaker	O	O
so	O	O
my	O	O
english	O	O
is	O	O
really	O	O
bad	O	O
)	O	O

I	O	O
've	O	O
been	O	O
working	O	O
on	O	O
a	O	O
android	O	B-Operating_System
APP	O	O
.	O	O

Basically	O	O
I	O	O
need	O	O
to	O	O
connect	O	O
to	O	O
a	O	O
SQL	O	B-Application
Server	O	I-Application
2012	O	B-Version
express	O	O
database	O	O
.	O	O

All	O	O
works	O	O
fine	O	O
until	O	O
I	O	O
use	O	O
a	O	O
different	O	O
API	O	B-Library
of	O	O
23	O	B-Version
.	O	O

I	O	O
've	O	O
found	O	O
this	O	O
error	O	O
on	O	O
other	O	O
topics	O	O
but	O	O
no	O	O
answer	O	O
worked	O	O
for	O	O
me	O	O
.	O	O

This	O	O
is	O	O
the	O	O
error	O	O
:	O	O

I	O	O
've	O	O
been	O	O
doing	O	O
some	O	O
research	O	O
on	O	O
the	O	O
code	O	O
and	O	O
the	O	O
error	O	O
log	O	O
and	O	O
it	O	O
seems	O	O
to	O	O
be	O	O
an	O	O
error	O	O
with	O	O
the	O	O
database	O	O
connection	O	O
,	O	O
but	O	O
i	O	O
dont	O	O
really	O	O
found	O	O
out	O	O
what	O	O
can	O	O
be	O	O
.	O	O

The	O	O
thing	O	O
is	O	O
,	O	O
the	O	O
APP	O	O
works	O	O
totally	O	O
fine	O	O
on	O	O
API	O	B-Library
23	O	B-Version
.	O	O

But	O	O
when	O	O
I	O	O
use	O	O
an	O	O
API	O	B-Library
17	O	B-Version
emulator	O	B-Application
device	O	O
this	O	O
error	O	O
just	O	O
appears	O	O
.	O	O

I	O	O
started	O	O
the	O	O
project	O	O
on	O	O
API	O	B-Library
17	O	B-Version
.	O	O

I	O	O
've	O	O
tried	O	O
to	O	O
create	O	O
an	O	O
API	O	B-Library
10	O	B-Version
project	O	O
and	O	O
it	O	O
did	O	O
n't	O	O
work	O	O
.	O	O

This	O	O
is	O	O
the	O	O
layout	O	O
:	O	O

This	O	O
is	O	O
the	O	O
database	O	B-Class
connection	O	I-Class
class	O	O
:	O	O

And	O	O
here	O	O
is	O	O
the	O	O
main	O	O
code	O	O
:	O	O

Im	O	O
using	O	O
the	O	O
last	O	O
version	O	O
of	O	O
jtds.jdbe	B-Code_Block	B-Application
driver	O	O
.	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
arrange	O	O
a	O	O
grid	O	B-User_Interface_Element
layout	O	O
.	O	O

The	O	O
last	O	O
div	O	B-HTML_XML_Tag
moves	O	O
when	O	O
zooming	O	O
out	O	O
.	O	O

Also	O	O
a	O	O
white	O	B-User_Interface_Element
line	O	I-User_Interface_Element
appear	O	O
between	O	O
the	O	O
right	O	O
side	O	O
panel	O	B-User_Interface_Element
and	O	O
last	O	O
content	O	O
div	O	B-HTML_XML_Tag
when	O	O
I	O	O
zoom	O	O
in	O	O
.	O	O

Am	O	O
I	O	O
doing	O	O
something	O	O
crucially	O	O
wrong	O	O
with	O	O
my	O	O
CSS	O	B-Language
and	O	O
layout	O	O
?	O	O

Cheers	O	O
,	O	O

Owain	O	B-User_Name

If	O	O
I	O	O
understood	O	O
your	O	O
question	O	O
correctly	O	O
,	O	O
this	O	O
is	O	O
what	O	O
your	O	O
output	O	O
should	O	O
be	O	O
.	O	O

The	O	O
CSS	O	B-Language
shall	O	O
be	O	O

also	O	O
,	O	O
remove	O	O
the	O	O
width	B-Code_Block	B-Variable
attribute/property	O	O
from	O	O
.item1	B-Code_Block	B-Variable
and	O	O
.item2	B-Code_Block	B-Variable
.	O	O

Adding	O	O
width	O	B-Variable
to	O	O
two-item-column	B-Code_Block	B-Variable
would	O	O
fix	O	O
it	O	O
.	O	O

And	O	O
there	O	O
is	O	O
no	O	O
need	O	O
to	O	O
make	O	O
its	O	O
position	O	O
relative	O	O
if	O	O
it	O	O
is	O	O
not	O	O
for	O	O
other	O	O
parts	O	O
of	O	O
your	O	O
layout	O	O
:	O	O

I	O	O
want	O	O
to	O	O
put	O	O
some	O	O
Waypoints	O	B-Variable
in	O	O
a	O	O
Map	O	B-Class
.	O	O

The	O	O
problem	O	O
is	O	O
that	O	O
I	O	O
am	O	O
specifying	O	O
the	O	O
travelMode	O	B-Variable
but	O	O
the	O	O
Waypoints	O	B-Variable
do	O	O
not	O	O
use	O	O
my	O	O
travel	O	B-Variable
mode	O	I-Variable
,	O	O
apparently	O	O
waypoints	O	B-Variable
used	O	O
"	O	B-Value
driving	O	I-Value
"	O	I-Value
travel	O	B-Variable
mode	O	I-Variable
,	O	O
and	O	O
I	O	O
want	O	O
to	O	O
use	O	O
"	O	B-Value
walking	O	I-Value
"	O	I-Value
.	O	O

As	O	O
you	O	O
can	O	O
see	O	O
,	O	O
the	O	O
route	O	O
is	O	O
not	O	O
the	O	O
best	O	O
route	O	O
to	O	O
walk	O	O
.	O	O

Here	O	O
is	O	O
my	O	O
code	O	O
:	O	O

Also	O	O
every	O	O
waypoint	O	B-Variable
have	O	O
:	O	O
stopover	B-Code_Block	B-Code_Block
:	I-Code_Block	I-Code_Block
true	I-Code_Block	I-Code_Block
.	O	O

And	O	O
idea	O	O
?	O	O

Thank	O	O
you	O	O
in	O	O
advance	O	O
!	O	O

In	O	O
gmaps	O	B-Library
,	O	O
by	O	O
default	O	O
,	O	O
the	O	O
travelMode	O	B-Variable
is	O	O
walking	B-Code_Block	B-Value
,	O	O
and	O	O
each	O	O
waypoint	O	B-Variable
must	O	O
have	O	O
its	O	O
location	B-Code_Block	B-Variable
as	O	O
an	O	O
instance	O	O
of	O	O
google.maps.LatLng	B-Code_Block	B-Class
,	O	O
not	O	O
an	O	O
array	O	B-Data_Structure
with	O	O
latitude	O	O
and	O	O
longitude	O	O
(	O	O
like	O	O
origin	B-Code_Block	B-Variable
or	O	O
destination	B-Code_Block	B-Variable
)	O	O
.	O	O

Also	O	O
,	O	O
according	O	O
the	O	O
Google	O	B-Library
Maps	O	I-Library
API	O	I-Library
reference	O	O
:	O	O

The	O	O
string	O	B-Data_Type
'	O	B-Value
walking	O	I-Value
'	O	B-Value
is	O	O
not	O	O
a	O	O
TravelMode	O	B-Variable

I	O	O
have	O	O
this	O	O
example	O	O
:	O	O

It	O	O
works	O	O
fine	O	O
and	O	O
the	O	O
input	O	B-User_Interface_Element
boxes	O	I-User_Interface_Element
span	O	O
2	O	B-Value
,	O	O
3	O	B-Value
,	O	O
and	O	O
4	O	B-Value
columns	O	B-User_Interface_Element
.	O	O

However	O	O
,	O	O
If	O	O
I	O	O
change	O	O
the	O	O
column	O	B-User_Interface_Element
widths	O	O
to	O	O
:	O	O

The	O	O
column	O	B-User_Interface_Element
widths	O	O
are	O	O
not	O	O
behaving	O	O
as	O	O
expected	O	O
.	O	O

The	O	O
col-lg-6	O	B-HTML_XML_Tag
input	O	B-User_Interface_Element
box	O	I-User_Interface_Element
is	O	O
not	O	O
expanding	O	O
6	O	B-Value
columns	O	B-User_Interface_Element
and	O	O
nothing	O	O
seems	O	O
to	O	O
be	O	O
expanding	O	O
past	O	O
4	O	B-Value
columns	O	B-User_Interface_Element
.	O	O

Is	O	O
something	O	O
prohibiting	O	O
the	O	O
column	O	B-User_Interface_Element
from	O	O
being	O	O
expanded	O	O
past	O	O
a	O	O
width	O	O
of	O	O
4	O	B-Value
by	O	O
default	O	O
?	O	O

Not	O	O
sure	O	O
what	O	O
could	O	O
be	O	O
going	O	O
on	O	O
here	O	O
.	O	O

Just	O	O
figured	O	O
out	O	O
what	O	O
is	O	O
going	O	O
on	O	O
.	O	O

The	O	O
default	O	O
MVC	O	B-Algorithm
project	O	O
template	O	O
creates	O	O
a	O	O
_ViewStart.cshtml	O	B-File_Name
that	O	O
references	O	O
a	O	O
_Layout.cshtml	O	B-File_Name
.	O	O

In	O	O
order	O	O
to	O	O
avoid	O	O
the	O	O
default	O	O
layout	O	O
created	O	O
from	O	O
ViewStart	O	B-File_Name
I	O	O
added	O	O
:	O	O

}	O	B-Code_Block

Recently	O	O
,	O	O
I	O	O
got	O	O
a	O	O
mission	O	O
to	O	O
set	O	O
up	O	O
an	O	O
https	O	O
server	O	B-Application
with	O	O
tomcat	O	B-Application
,	O	O
with	O	O
bidirectional	O	O
authentication	O	O
.	O	O

I	O	O
have	O	O
to	O	O
write	O	O
the	O	O
cert	O	O
into	O	O
the	O	O
trustKeyStoreFile	O	B-Variable
.	O	O

But	O	O
the	O	O
user	O	O
still	O	O
cannot	O	O
visit	O	O
the	O	O
website	O	O
without	O	O
restarting	O	O
tomcat	O	B-Application
.	O	O

I	O	O
think	O	O
it	O	O
is	O	O
because	O	O
tomcat	O	B-Application
reads	O	O
the	O	O
file	O	O
when	O	O
it	O	O
starts	O	O
.	O	O

So	O	O
even	O	O
if	O	O
I	O	O
write	O	O
the	O	O
cert	O	O
into	O	O
the	O	O
trustKeyStoreFile	O	B-Variable
,	O	O
the	O	O
cert	O	O
is	O	O
still	O	O
not	O	O
trusted	O	O
.	O	O

I	O	O
cannot	O	O
restart	O	O
the	O	O
server	O	B-Application
every	O	O
time	O	O
there	O	O
is	O	O
a	O	O
new	O	O
user	O	O
,	O	O
so	O	O
how	O	O
can	O	O
I	O	O
let	O	O
the	O	O
server	O	B-Application
reread	O	O
the	O	O
file	O	O
when	O	O
it	O	O
is	O	O
changed	O	O
?	O	O

As	O	O
this	O	O
question	O	O
is	O	O
closed	O	O
(	O	O
where	O	O
I	O	O
intended	O	O
to	O	O
answer	O	O
first	O	O
)	O	O
I	O	O
'm	O	O
opening	O	O
this	O	O
one	O	O
.	O	O

On	O	O
some	O	O
machines	O	O
it	O	O
is	O	O
forbidden	O	O
to	O	O
install/download	O	O
binaries	O	B-File_Type
so	O	O
I	O	O
want	O	O
to	O	O
know	O	O
how	O	O
can	O	O
I	O	O
check	O	O
if	O	O
a	O	O
port	O	B-Device
on	O	O
a	O	O
remote	O	O
machine	O	O
is	O	O
open	O	O
using	O	O
only	O	O
native	O	O
windows	O	B-Operating_System
script	O	O
capabilities	O	O
.	O	O

Upsettingly	O	O
,	O	O
Windows	O	B-Operating_System
does	O	O
not	O	O
offer	O	O
simple	O	O
tools	O	O
to	O	O
check	O	O
whether	O	O
port	O	B-Device
is	O	O
open	O	O
on	O	O
a	O	O
remote	O	O
server	O	B-Application
.	O	O

One	O	O
option	O	O
is	O	O
telnet	O	B-Application
but	O	O
it	O	O
cannot	O	O
be	O	O
scripted	O	O
as	O	O
it	O	O
closes	O	O
when	O	O
its	O	O
output	O	O
is	O	O
redirected	O	O
or	O	O
captured	O	O
.	O	O

Once	O	O
upon	O	O
a	O	O
time	O	O
there	O	O
was	O	O
a	O	O
MSWinsock.Winsock.1	O	B-Class
COM	O	O
object	O	O
installed	O	O
on	O	O
Windows	O	B-Operating_System
machines	O	O
that	O	O
could	O	O
be	O	O
used	O	O
in	O	O
a	O	O
script	O	O
,	O	O
but	O	O
no	O	O
more	O	O
.	O	O

PortQry	O	B-Application
and	O	O
PsPing	O	B-Application
are	O	O
a	O	O
wonderful	O	O
tools	O	O
but	O	O
you	O	O
still	O	O
have	O	O
to	O	O
download	O	O
them	O	O
(	O	O
despite	O	O
it	O	O
being	O	O
provided	O	O
by	O	O
Microsoft	O	B-Website
)	O	O
.	O	O

So	O	O
the	O	O
easiest	O	O
way	O	O
is	O	O
to	O	O
rely	O	O
on	O	O
PowerShell	O	B-Application
.	O	O

Here	O	O
is	O	O
the	O	O
code	O	O
for	O	O
a	O	O
simple	O	O
.bat	O	B-File_Type
script	O	O
,	O	O
internally	O	O
using	O	O
Powershell	O	B-Application
to	O	O
get	O	O
the	O	O
job	O	O
done	O	O
:	O	O

Some	O	O
machines	O	O
have	O	O
.NET	O	B-Library
framework	O	O
without	O	O
PowerShell	O	B-Application
installed	O	O
so	O	O
in	O	O
this	O	O
case	O	O
C#	O	B-Language
code	O	O
can	O	O
be	O	O
embedded	O	O
into	O	O
a	O	O
batch	O	B-Language
script	O	I-Language
using	O	O
msbuild	O	B-Application
:	O	O

As	O	O
for	O	O
the	O	O
machines	O	O
without	O	O
.NET	O	B-Library
framework	O	O
I	O	O
do	O	O
n't	O	O
know	O	O
any	O	O
native	O	O
method	O	O
to	O	O
check	O	O
remote	O	O
ports	O	B-Device
.	O	O

If	O	O
you	O	O
only	O	O
want	O	O
to	O	O
check	O	O
TCP	O	O
ports	O	B-Device
you	O	O
can	O	O
use	O	O
Test-NetConnection	O	B-Code_Block
.	O	O

If	O	O
offers	O	O
a	O	O
-Port	B-Code_Block	B-Code_Block
parameter	O	O
to	O	O
define	O	O
the	O	O
TCP	O	O
port	O	B-Device
.	O	O

I	O	O
am	O	O
new	O	O
to	O	O
PHP	O	B-Language
and	O	O
wanted	O	O
to	O	O
make	O	O
sure	O	O
.	O	O

If	O	O
i	O	O
use	O	O
mysql_real_escape_string	O	B-Function
for	O	O
user	O	O
generated	O	O
input	O	O
(	O	O
variables	O	O
)	O	O
,	O	O
the	O	O
query	O	O
wo	O	O
n't	O	O
be	O	O
hacked	O	O
?	O	O

Sample	O	O
script	O	O
:	O	O

Do	O	O
n't	O	O
use	O	O
straight	O	O
mysql	O	B-Application
.	O	O

Use	O	O
the	O	O
mysqli	B-Code_Block	B-Application
(	O	O
notice	O	O
the	O	O
i)	O	O
or	O	O
PDO	O	B-Library
library	O	O
and	O	O
use	O	O
prepared	O	O
statements	O	O
.	O	O

Using	O	O
prepared	O	O
statements	O	O
is	O	O
more	O	O
secure	O	O
than	O	O
using	O	O
straight	O	O
queries	O	O
and	O	O
including	O	O
the	O	O
variable	O	O
in	O	O
the	O	O
query	O	O
string	O	B-Data_Type
.	O	O

According	O	O
to	O	O
the	O	O
PHP	O	B-Language
documentation	O	O
,	O	O
mysql	O	B-Application
will	O	O
be	O	O
deprecated	O	O
.	O	O

It	O	O
is	O	O
no	O	O
longer	O	O
underdevelopment	O	O
and	O	O
the	O	O
mysqli	B-Code_Block	B-Application
and	O	O
PDO	B-Code_Block	B-Library
extensions	O	O
should	O	O
be	O	O
used	O	O
instead	O	O
.	O	O

You	O	O
're	O	O
pretty	O	O
safe	O	O
if	O	O
your	O	O
using	O	O
both	O	O
quotes	O	O
and	O	O
mysql_real_escape_string	O	B-Function
.	O	O

You	O	O
may	O	O
want	O	O
to	O	O
look	O	O
at	O	O
PDO	O	B-Library
or	O	O
at	O	O
least	O	O
mysqli	O	B-Application
for	O	O
other	O	O
reasons	O	O
.	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
create	O	O
a	O	O
custom	O	O
class	O	O
that	O	O
creates	O	O
a	O	O
button	O	B-User_Interface_Element
.	O	O

I	O	O
'm	O	O
having	O	O
trouble	O	O
adding	O	O
a	O	O
target	O	O
to	O	O
that	O	O
button	O	B-User_Interface_Element
inside	O	O
it	O	O
's	O	O
class	O	O
.	O	O

This	O	O
is	O	O
my	O	O
code	O	O

The	O	O
problem	O	O
is	O	O
that	O	O
I	O	O
ca	O	O
n't	O	O
connect	O	O
an	O	O
action	O	O
on	O	O
button	O	B-User_Interface_Element
click	O	O
.	O	O

This	O	O
works	O	O
if	O	O
it	O	O
's	O	O
used	O	O
outside	O	O
my	O	O
class	O	O
but	O	O
not	O	O
inside	O	O
.	O	O

Usage	O	O
of	O	O
the	O	O
class	O	O

Nothing	O	O
is	O	O
holding	O	O
a	O	O
strong	O	O
reference	O	O
to	O	O
your	O	O
SelectButton	B-Code_Block	B-Class
instance	O	O
,	O	O
so	O	O
as	O	O
soon	O	O
as	O	O
the	O	O
function	O	O
that	O	O
creates	O	O
test	B-Code_Block	B-Variable
exits	O	O
,	O	O
that	O	O
instance	O	O
is	O	O
released	O	O
.	O	O

The	O	O
button	O	B-User_Interface_Element
itself	O	O
is	O	O
retained	O	O
because	O	O
you	O	O
have	O	O
added	O	O
it	O	O
as	O	O
a	O	O
subview	O	B-Variable
.	O	O

Therefore	O	O
,	O	O
it	O	O
is	O	O
still	O	O
visible	O	O
but	O	O
there	O	O
is	O	O
no	O	O
longer	O	O
an	O	O
object	O	O
to	O	O
respond	O	O
to	O	O
the	O	O
action	O	O
.	O	O

You	O	O
either	O	O
need	O	O
to	O	O
use	O	O
an	O	O
instance	O	O
property	O	O
rather	O	O
than	O	O
a	O	O
local	O	O
variable	O	O
for	O	O
test	B-Code_Block	B-Variable
,	O	O
or	O	O
,	O	O
preferably	O	O
have	O	O
SelectButton	B-Code_Block	B-Class
inherit	O	O
directly	O	O
from	O	O
UIButton	B-Code_Block	B-Class

When	O	O
someone	O	O
taps	O	O
the	O	O
button	O	B-User_Interface_Element
,	O	O
usually	O	O
you	O	O
want	O	O
something	O	O
to	O	O
happen	O	O
somewhere	O	O
else	O	O
in	O	O
your	O	O
app	O	O
(	O	O
like	O	O
in	O	O
one	O	O
of	O	O
your	O	O
view	O	O
controllers	O	O
or	O	O
in	O	O
some	O	O
other	O	O
UI	O	O
element	O	O
)	O	O
.	O	O

The	O	O
way	O	O
the	O	O
IBAction	O	B-Class
is	O	O
set	O	O
up	O	O
right	O	O
now	O	O
,	O	O
you	O	O
have	O	O
it	O	O
so	O	O
that	O	O
something	O	O
will	O	O
trigger	O	O
or	O	O
happen	O	O
within	O	O
the	O	O
button	O	B-User_Interface_Element
itself	O	O
when	O	O
someone	O	O
taps	O	O
on	O	O
it	O	O
.	O	O

If	O	O
you	O	O
want	O	O
to	O	O
handle	O	O
a	O	O
button	O	B-User_Interface_Element
tap	O	O
programmatically	O	O
instead	O	O
of	O	O
ctrl	O	B-Keyboard_IP
dragging	O	O
from	O	O
the	O	O
button	O	B-User_Interface_Element
into	O	O
the	O	O
view	O	O
controller	O	O
,	O	O
you	O	O
can	O	O
do	O	O
it	O	O
this	O	O
way	O	O
if	O	O
you	O	O
prefer	O	O
.	O	O

First	O	O
,	O	O
add	O	O
this	O	O
code	O	O
into	O	O
the	O	O
view	O	O
controller	O	O
:	O	O

Then	O	O
you	O	O
can	O	O
either	O	O
add	O	O
the	O	O
selector	O	O
programmatically	O	O
by	O	O
adding	O	O
this	O	O
method	O	O
into	O	O
your	O	O
view	O	O
controller	O	O
:	O	O

Or	O	O
by	O	O
going	O	O
to	O	O
the	O	O
connections	O	O
inspector	O	O
and	O	O
dragging	O	O
from	O	O
the	O	O
touch	O	O
up	O	O
inside	O	O
over	O	O
to	O	O
the	O	O
IBAction	O	B-Class
dot	O	O
in	O	O
your	O	O
view	O	O
controller	O	O
code	O	O
.	O	O

Also	O	O
,	O	O
as	O	O
someone	O	O
else	O	O
pointed	O	O
out	O	O
in	O	O
the	O	O
comments	O	O
you	O	O
should	O	O
make	O	O
your	O	O
button	O	B-User_Interface_Element
inherit	O	O
from	O	O
UIButton	O	B-Variable
by	O	O
adding	O	O
this	O	O
to	O	O
your	O	O
class	O	O
declaration	O	O
:	O	O

how	O	O
can	O	O
I	O	O
capture	O	O
all	O	O
lines	O	O
from	O	O
a	O	O
text	O	B-File_Type
file	O	O
that	O	O
begin	O	O
with	O	O
the	O	O
character	O	O
"	O	B-Value
X	O	I-Value
"	O	I-Value
or	O	O
contain	O	O
the	O	O
word	O	O
"	O	B-Value
foo	O	I-Value
"	O	I-Value
?	O	O

This	O	O
works	O	O
:	O	O

but	O	O
I	O	O
tried	O	O
:	O	O

and	O	O
variations	O	O
but	O	O
cannot	O	O
find	O	O
the	O	O
right	O	O
syntax	O	O
anywhere	O	O
.	O	O

how	O	O
can	O	O
this	O	O
be	O	O
done	O	O
?	O	O

thanks	O	O
.	O	O

If	O	O
your	O	O
grep	O	B-Code_Block
implementation	O	O
is	O	O
n't	O	O
POSIX	O	B-Operating_System
compliant	O	O
,	O	O
you	O	O
can	O	O
use	O	O
egrep	O	B-Code_Block
instead	O	O
of	O	O
grep	O	B-Code_Block
:	O	O

contains	B-Code_Block	O
the	I-Code_Block	O
word	I-Code_Block	O
"	I-Code_Block	B-Value
foo	I-Code_Block	I-Value
"	I-Code_Block	I-Value
is	O	O
:	O	O
(.*	B-Code_Block	B-Code_Block
foo.*	I-Code_Block	I-Code_Block
)	I-Code_Block	I-Code_Block
so	O	O
your	O	O
regex	O	O
would	O	O
become	O	O
:	O	O

I	O	O
'm	O	O
having	O	O
problems	O	O
with	O	O
the	O	O
IDE	O	B-Application
since	O	O
it	O	O
keeps	O	O
opening	O	O
when	O	O
I	O	O
tried	O	O
to	O	O
closed	O	O
it	O	O
.	O	O

Do	O	O
you	O	O
have	O	O
the	O	O
same	O	O
problem	O	O
and	O	O
solution	O	O
for	O	O
that	O	O
?	O	O

Edit	O	O

I	O	O
recently	O	O
install	O	O
hotfixes	O	B-Application
:	O	O

[	O	O
crashes	O	B-Error_Name
on	O	I-Error_Name
shutdown	O	I-Error_Name
]	O	O
VS10-KB2275326-x86	O	B-Version

[	O	O
insufficient	O	B-Error_Name
memory	O	I-Error_Name
bug	O	I-Error_Name
when	O	I-Error_Name
copy-paste	O	I-Error_Name
]	O	O
VS10-KB2251084-x86	O	B-Version

[	O	O
search	O	B-Error_Name
box	O	I-Error_Name
increased	O	I-Error_Name
size	O	I-Error_Name
bug	O	I-Error_Name
]	O	O
VS10-KB2268081-x86	O	B-Version

[	O	O
unnescessarily	O	B-Error_Name
scrolling	O	I-Error_Name
in	O	I-Error_Name
context	O	I-Error_Name
menus	O	I-Error_Name
]	O	O
VS10-KB2345133-x86	O	B-Version

Try	O	O
to	O	O
use	O	O
this	O	O
hotfix	O	B-Application
KB2275326	O	B-Value
â€	O	I-Value
"	O	I-Value
The	O	O
Visual	O	B-Application
Studio	O	I-Application
2010	O	B-Version
development	O	O
environment	O	O
crashes	O	O
on	O	O
shutdown	O	O

There	O	O
's	O	O
a	O	O
checkbox	O	B-User_Interface_Element
in	O	O
visual	O	B-Application
studio	O	I-Application
2010	O	B-Version
that	O	O
asks	O	O
if	O	O
it	O	O
should	O	O
restart	O	O
automatically	O	O
when	O	O
it	O	O
crashes	O	O
.	O	O

So	O	O
if	O	O
its	O	O
crashing	O	O
then	O	O
this	O	O
is	O	O
the	O	O
expected	O	O
behavior	O	O
but	O	O
if	O	O
its	O	O
opening	O	O
after	O	O
you	O	O
click	O	O
the	O	O
exit	O	O
button	O	B-User_Interface_Element
i	O	O
have	O	O
no	O	O
idea	O	O
about	O	O
its	O	O
cause	O	O
.	O	O

I	O	O
recently	O	O
install	O	O
Linux	O	B-Operating_System
Mint	O	B-Version
(	O	O
KDE	O	B-Version
Plasma	O	I-Version
)	O	O
on	O	O
my	O	O
SSD	O	B-Device
(	O	O
30GB	O	O
Partition	O	O
)	O	O
after	O	O
that	O	O
I	O	O
install	O	O
Windows	O	B-Operating_System
10	O	B-Version
on	O	O
remaining	O	O
storage	O	O
.	O	O

But	O	O
when	O	O
I	O	O
tried	O	O
to	O	O
boot	O	O
in	O	O
Linux	O	B-Operating_System
Mint	O	B-Version
my	O	O
Computer	O	B-Device
automatically	O	O
boot	O	O
Windows	O	B-Operating_System
10	O	B-Version
without	O	O
showing	O	O
Boot	O	O
options	O	O
for	O	O
selecting	O	O
OS	O	O
.	O	O

Now	O	O
,	O	O
how	O	O
to	O	O
install	O	O
GRUB	O	B-Application
on	O	O
Master	O	B-Device
Boot	O	I-Device
Record	O	I-Device
(	O	O
MBR	O	O
)	O	O
of	O	O
my	O	O
SSD	O	B-Device
to	O	O
boot	O	O
both	O	O
OS	O	O
.	O	O

First	O	O
live	O	O
boot	O	O
to	O	O
your	O	O
Linux	O	B-Operating_System
Mint	O	B-Version
system	O	O
,	O	O
using	O	O
external	O	O
Live	O	O
CD/USB	O	B-Device
Drive	O	I-Device
,	O	O
then	O	O
follow	O	O
these	O	O
commands	O	O
to	O	O
re-install	O	O
GRUB	O	B-Application
on	O	O
MBR	O	B-Device
.	O	O

mount	O	O
your	O	O
Linux	O	B-Operating_System
installed	O	O
partition	O	O
to	O	O
some	O	O
mount	O	O
point	O	O
.	O	O

here	O	O
XY	O	O
is	O	O
the	O	O
number	O	O
of	O	O
your	O	O
Linux	O	B-Operating_System
distro	O	O
partition	O	O
.	O	O

sudo	B-Code_Block	B-Code_Block
mount	I-Code_Block	I-Code_Block
<root-partition[e.g.	I-Code_Block	I-Code_Block
/dev/sdaXY]>	I-Code_Block	I-Code_Block
<mount-point[e.g.	I-Code_Block	I-Code_Block
/mnt/]>	I-Code_Block	I-Code_Block

Now	O	O
bind	O	O
some	O	O
essential	O	O
live	O	O
root	O	O
partition	O	O
directories	O	O
to	O	O
mounted	O	O
root	O	O
partition	O	O
at	O	O
/mnt	O	B-File_Name
.	O	O

sudo	B-Code_Block	B-Code_Block
mount	I-Code_Block	I-Code_Block
--bind	I-Code_Block	I-Code_Block
/dev	I-Code_Block	I-Code_Block
/mnt/dev	I-Code_Block	I-Code_Block
&&	I-Code_Block	I-Code_Block
sudo	I-Code_Block	I-Code_Block
mount	I-Code_Block	I-Code_Block
--bind	I-Code_Block	I-Code_Block
/dev/pts	I-Code_Block	I-Code_Block
/mnt/dev/pts	I-Code_Block	I-Code_Block
&&	I-Code_Block	I-Code_Block
sudo	I-Code_Block	I-Code_Block
mount	I-Code_Block	I-Code_Block
--bind	I-Code_Block	I-Code_Block
/proc	I-Code_Block	I-Code_Block
/mnt/proc	I-Code_Block	I-Code_Block
&&	I-Code_Block	I-Code_Block
sudo	I-Code_Block	I-Code_Block
mount	I-Code_Block	I-Code_Block
--bind	I-Code_Block	I-Code_Block
/sys	I-Code_Block	I-Code_Block
/mnt/sys	I-Code_Block	I-Code_Block

Now	O	O
,	O	O
change	O	O
the	O	O
root	O	O
to	O	O
newly	O	O
mounted	O	O
partition	O	O
directory	O	O
.	O	O

sudo	B-Code_Block	B-Code_Block
chroot	I-Code_Block	I-Code_Block
<mount-point[e.g.	I-Code_Block	I-Code_Block
/mnt/]>	I-Code_Block	I-Code_Block

Now	O	O
,	O	O
install	O	O
the	O	O
GRUB	O	B-Application
using	O	O
grub-install	O	B-Code_Block
command	O	O
at	O	O
your	O	O
HDD	O	B-Device
MBR	O	I-Device
.	O	O

grub-install	B-Code_Block	B-Code_Block
/dev/sda	I-Code_Block	I-Code_Block

Finally	O	O
update	O	O
the	O	O
grub	O	B-Application
entries	O	O
to	O	O
show	O	O
newly	O	O
detected	O	O
partition	O	O
operating	O	O
systems	O	O
.	O	O

update-grub	B-Code_Block	B-Code_Block

And	O	O
at	O	O
last	O	O
unmount	O	O
all	O	O
the	O	O
binded	O	O
partition	O	O
directories	O	O
,	O	O
and	O	O
then	O	O
reboot	O	O
.	O	O

sudo	B-Code_Block	B-Code_Block
reboot	I-Code_Block	I-Code_Block

That	O	O
's	O	O
it	O	O
,	O	O
hope	O	O
this	O	O
will	O	O
help	O	O
!	O	O
!	O	O

Windows	O	B-Operating_System
will	O	O
overwrite	O	O
the	O	O
boot	O	O
sector	O	O
whenever	O	O
you	O	O
install	O	O
it	O	O
.	O	O

In	O	O
general	O	O
install	O	O
windows	O	B-Operating_System
first	O	O
then	O	O
linux	O	B-Operating_System
.	O	O

You	O	O
can	O	O
repair	O	O
the	O	O
grub	O	B-Application
by	O	O
booting	O	O
from	O	O
a	O	O
live	O	O
disk	O	B-Device
of	O	O
linux	O	B-Operating_System
Mint	O	B-Version
and	O	O
there	O	O
should	O	O
be	O	O
an	O	O
option	O	O
to	O	O
repair-boot	O	O
,	O	O
which	O	O
will	O	O
repair	O	O
your	O	O
grub	O	B-Application
.	O	O

Restart	O	O
it	O	O
and	O	O
now	O	O
you	O	O
should	O	O
be	O	O
able	O	O
to	O	O
see	O	O
both	O	O
the	O	O
OS	O	O
.	O	O

Or	O	O
you	O	O
can	O	O
boot	O	O
from	O	O
a	O	O
live	O	O
cd	O	B-Device
and	O	O
perform	O	O
the	O	O
following	O	O
steps	O	O
:	O	O

Boot	O	O
from	O	O
a	O	O
live	O	O
CD	O	B-Device
(	O	O
CD/DVD	O	B-Device
or	O	O
flash	O	B-Device
drive	O	I-Device
)	O	O
.	O	O

Become	O	O
root	O	O
or	O	O
use	O	O
sudo	O	B-Code_Block
with	O	O
commands	O	O
below	O	O
.	O	O

List	O	O
the	O	O
available	O	O
partitions	O	O
if	O	O
needed	O	O
:	O	O
fdisk	O	B-Code_Block
-l	O	I-Code_Block

Windows	O	B-Operating_System
will	O	O
almost	O	O
certainly	O	O
exist	O	O
on	O	O
/dev/sda1	O	B-File_Name
:	O	I-File_Name
mount	O	I-File_Name
/dev/sda1	O	I-File_Name
/mnt	O	I-File_Name

Reinstall	O	O
GRUB	O	B-Application
in	O	O
the	O	O
MBR	O	B-Device
:	O	O
grub-install	O	B-Code_Block
--root-directory	O	I-Code_Block
=	O	I-Code_Block
/mnt/	O	I-Code_Block
/dev/sda	O	I-Code_Block

Reboot	O	O
:	O	O
shutdown	O	B-Code_Block
-r	O	I-Code_Block
now	O	I-Code_Block

Restore	O	O
the	O	O
GRUB	O	B-Application
menu	O	O
:	O	O
update-grub	O	B-Code_Block

Thanks	O	O
to	O	O
@christopher	O	B-User_Name
for	O	O
the	O	O
above	O	O
answer	O	O
.	O	O

I	O	O
am	O	O
writing	O	O
a	O	O
code	O	O
in	O	O
Java	O	B-Language
and	O	O
I	O	O
want	O	O
my	O	O
output	O	O
to	O	O
be	O	O
3	O	O
characters	O	B-Data_Type
from	O	O
a	O	B-Value
to	O	O
z	O	B-Value
and	O	O
2	O	O
numbers	O	B-Data_Type
from	O	O
0	O	B-Value
to	O	O
9	O	B-Value
(	O	O
e.g	O	O
.	O	O
abc0	O	B-Value
1)	O	I-Value
but	O	O
the	O	O
program	O	O
gives	O	O
me	O	O
1	O	O
character	O	B-Data_Type
and	O	O
1	O	O
number	O	B-Data_Type
(	O	O
e.g	O	O
.	O	O
a	O	B-Value
1)	O	I-Value
.	O	O

Why	O	O
does	O	O
the	O	O
program	O	O
do	O	O
this	O	O
despite	O	O
I	O	O
've	O	O
put	O	O
3	O	O
and	O	O
2	O	O
into	O	O
loops	O	O
?	O	O

From	O	O
all	O	O
I	O	O
know	O	O
the	O	O
first	O	O
loop	O	O
must	O	O
operate	O	O
3	O	O
times	O	O
and	O	O
the	O	O
second	O	O
one	O	O
must	O	O
operate	O	O
2	O	O
times	O	O
.	O	O

So	O	O
at	O	O
the	O	O
end	O	O
my	O	O
output	O	O
have	O	O
to	O	O
be	O	O
3	O	O
characters	O	B-Data_Type
and	O	O
2	O	O
numbers	O	B-Data_Type
.	O	O

Thanks	O	O
!	O	O

char	B-Code_Block	B-Data_Type
and	O	O
int	B-Code_Block	B-Data_Type
can	O	O
store	O	O
one	O	O
value	O	O
so	O	O
use	O	O
String	B-Code_Block	B-Data_Type
as	O	O

You	O	O
generate	O	O
your	O	O
random	O	O
items	O	O
correctly	O	O
,	O	O
but	O	O
you	O	O
do	O	O
not	O	O
collect	O	O
the	O	O
results	O	O
in	O	O
a	O	O
proper	O	O
way	O	O
.	O	O

Each	O	O
iteration	O	O
of	O	O
the	O	O
loop	O	O
writes	O	O
over	O	O
the	O	O
results	O	O
of	O	O
prior	O	O
iteration	O	O
,	O	O
leaving	O	O
both	O	O
a	B-Code_Block	B-Variable
and	O	O
b	B-Code_Block	B-Variable
with	O	O
the	O	O
result	O	O
of	O	O
the	O	O
last	O	O
iteration	O	O
.	O	O

I	O	O
recommend	O	O
using	O	O
a	O	O
StringBuilder	B-Code_Block	B-Class
to	O	O
store	O	O
characters	O	B-Data_Type
as	O	O
you	O	O
generate	O	O
them	O	O
:	O	O

Demo	O	O
.	O	O

I	O	O
am	O	O
attempting	O	O
to	O	O
create	O	O
a	O	O
boot	O	B-Application
loader	O	I-Application
which	O	O
allows	O	O
me	O	O
to	O	O
update	O	O
a	O	O
processor	O	B-Device
's	O	O
software	O	O
remotely	O	O
.	O	O

I	O	O
am	O	O
using	O	O
keil	O	B-Application
uvision	O	I-Application
compiler	O	I-Application
(	O	O
V5.20.0.0	O	B-Version
)	O	O
.	O	O

Flash.c	O	B-File_Name
,	O	O
startup_efm32zg.s	O	B-File_Name
,	O	O
startup_efm32zg.c	O	B-File_Name
and	O	O
em_dma.c	O	B-File_Name
configured	O	O
to	O	O
execute	O	O
from	O	O
RAM	O	B-Device
(	O	O
code	O	O
,	O	O
Zero	O	O
init	O	O
data	O	O
,	O	O
other	O	O
data	O	O
)	O	O
via	O	O
their	O	O
options/properties	O	O
tabs	O	B-User_Interface_Element
.	O	O

Stack	O	B-Data_Structure
size	O	O
configured	O	O
at	O	O
0x0000	B-Code_Block	B-Value
0800	I-Code_Block	I-Value
via	O	O
the	O	O
startup_efm32zg.s	O	B-File_Name
Configuration	O	O
Wizard	O	O
tab	O	B-User_Interface_Element
.	O	O

Using	O	O
Silicon	O	B-Website
Labs	O	I-Website
flash.c	O	B-File_Name
and	O	O
flash.h	O	B-File_Name
,	O	O
removed	O	O
RAMFUNC	B-Code_Block	B-Code_Block
as	O	O
this	O	O
is	O	O
redundant	O	O
to	O	O
Keil	O	B-Application
configuration	O	O
,	O	O
above	O	O
.	O	O

I	O	O
modified	O	O
the	O	O
flash.c	O	B-File_Name
code	O	O
slightly	O	O
so	O	O
it	O	O
stays	O	O
in	O	O
the	O	O
FLASH_write	O	B-Function
function	O	O
(	O	O
supposedly	O	O
in	O	O
RAM	O	B-Device
)	O	O
until	O	O
the	O	O
DMA	O	O
is	O	O
done	O	O
doing	O	O
its	O	O
thing	O	O
.	O	O

I	O	O
moved	O	O
the	O	O

while	O	B-Code_Block
(	O	I-Code_Block
DMA->CHENS	O	I-Code_Block
&	O	I-Code_Block
DMA_CHENS_CH0ENS	O	I-Code_Block
)	O	I-Code_Block
;	O	B-Code_Block

line	O	O
down	O	O
to	O	O
the	O	O
end	O	O
of	O	O
the	O	O
function	O	O
and	O	O
added	O	O
a	O	O
little	O	O
wrapper	O	O
around	O	O
it	O	O
like	O	O
this	O	O
:	O	O

/	O	B-Code_Block
*	O	I-Code_Block
Activate	O	I-Code_Block
channel	O	I-Code_Block
0	O	I-Code_Block
*	O	I-Code_Block
/	O	I-Code_Block

DMA->CHENS	O	B-Code_Block
=	O	I-Code_Block
DMA_CHENS_CH0ENS	O	I-Code_Block
;	O	I-Code_Block

FLASH_init()	B-Code_Block	B-Function
is	O	O
called	O	O
as	O	O
part	O	O
of	O	O
the	O	O
initial	O	O
setup	O	O
prior	O	O
to	O	O
entering	O	O
my	O	O
infinite	O	O
loop	O	O
.	O	O

When	O	O
called	O	O
upon	O	O
to	O	O
update	O	O
the	O	O
flash	O	B-Device
....	O	O
.	O	O

(	O	O
1)	O	O
:	O	O
I	O	O
disable	O	O
interrupts	O	O
.	O	O

(	O	O
2)	O	O
:	O	O
I	O	O
call	O	O
FLASH_erasePage	B-Code_Block	B-Function
starting	O	O
at	O	O
0x0000	B-Code_Block	B-Value
2400	I-Code_Block	I-Value
.	O	O

This	O	O
works	O	O
.	O	O

(	O	O
3)	O	O
:	O	O
I	O	O
call	O	O
FLASH_write	B-Code_Block	B-Function
.	O	O

Where	O	O
:	O	O

startAddress	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
0x00002400	I-Code_Block	I-Code_Block
,	O	O

flashBuffer	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
a	I-Code_Block	I-Code_Block
buffer	I-Code_Block	I-Code_Block
of	I-Code_Block	I-Code_Block
type	I-Code_Block	I-Code_Block
uint8_t	I-Code_Block	I-Code_Block
flashBuffer[256]	I-Code_Block	I-Code_Block
,	O	O

#define	B-Code_Block	B-Code_Block
BLOCK_SIZE	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
256	I-Code_Block	I-Code_Block
.	O	O

It	O	O
gets	O	O
stuck	O	O
here	O	O
in	O	O
the	O	O
function	O	O
:	O	O

Eventually	O	O
the	O	O
debugger	O	B-Application
execution	O	O
stops	O	O
and	O	O
the	O	O
Call	O	O
Stack	O	B-Data_Structure
clears	O	O
to	O	O
be	O	O
left	O	O
with	O	O
0x00000000	O	B-Value
and	O	O
ALL	O	O
of	O	O
memory	O	O
is	O	O
displayed	O	O
as	O	O
0xAA	O	B-Value
.	O	O

I	O	O
have	O	O
set	O	O
aside	O	O
9K	O	O
of	O	O
flash	O	B-Device
for	O	O
the	O	O
bootloader	O	B-Application
.	O	O

After	O	O
a	O	O
build	O	O
I	O	O
am	O	O
told	O	O
:	O	O

Target	O	O
Memory	O	O
Options	O	O
for	O	O
Target1	O	O
:	O	O

IROM1	B-Code_Block	B-Code_Block
:	I-Code_Block	I-Code_Block
Start[0x0]	I-Code_Block	I-Code_Block
Size[0x2400]	I-Code_Block	I-Code_Block

IRAM1	B-Code_Block	B-Code_Block
:	I-Code_Block	I-Code_Block
Start[0x20000000]	I-Code_Block	I-Code_Block
Size:[0x1000]	I-Code_Block	I-Code_Block

So	O	O
.	O	O
.	O	O
what	O	O
on	O	O
earth	O	O
is	O	O
going	O	O
on	O	O
?	O	O

Any	O	O
help	O	O
?	O	O

One	O	O
of	O	O
my	O	O
other	O	O
concerns	O	O
is	O	O
that	O	O
it	O	O
is	O	O
supposed	O	O
to	O	O
be	O	O
executing	O	O
from	O	O
RAM	O	B-Device
.	O	O

When	O	O
I	O	O
look	O	O
in	O	O
the	O	O
in	O	O
the	O	O
Call	O	O
Stack	O	B-Data_Structure
for	O	O
the	O	O
Location/Value	O	O
for	O	O
FLASH_write	O	B-Function
after	O	O
having	O	O
stepped	O	O
into	O	O
the	O	O
FLASH_write	O	B-Function
function	O	O
I	O	O
see	O	O
0x000008A4	O	B-Value
.	O	O

This	O	O
is	O	O
flash!(?)	O	O

I	O	O
've	O	O
tried	O	O
the	O	O
whole	O	O
RAM_FUNC	O	B-Function
thing	O	O
,	O	O
too	O	O
with	O	O
the	O	O
same	O	O
results	O	O
.	O	O

This	O	O
is	O	O
my	O	O
first	O	O
question	O	O
on	O	O
stackoverflow	O	B-Website
.	O	O

What	O	O
I	O	O
want	O	O
to	O	O
do	O	O
is	O	O
to	O	O
create	O	O
an	O	O
iframe	O	B-Variable
into	O	O
test	O	O
div	O	B-HTML_XML_Tag
with	O	O
javascript	O	B-Language
and	O	O
add	O	O
html	O	B-Language
code	O	O
in	O	O
it	O	O
.	O	O

Also	O	O
I	O	O
want	O	O
to	O	O
resize	O	O
iframe	O	B-Variable
's	O	O
height	O	I-Variable
dynamically	O	O
.	O	O

The	O	O
code	O	O
below	O	O
works	O	O
good	O	O
for	O	O
me	O	O
only	O	O
if	O	O
I	O	O
set	O	O
dynamic_div	O	B-Variable
's	O	O
height	O	B-Variable
more	O	O
than	O	O
150px	O	B-Value
.	O	O

If	O	O
the	O	O
height	O	B-Variable
of	O	O
the	O	O
dynamic_div	O	B-Variable
less	O	O
than	O	O
150	O	B-Value
it	O	O
automatically	O	O
sets	O	O
iframe	O	B-Variable
's	O	O
height	O	I-Variable
to	O	O
150	O	B-Value
.	O	O

How	O	O
can	O	O
I	O	O
fix	O	O
this	O	O
problem	O	O
?	O	O

P.S	O	O
:	O	O
html	O	B-Language
code	O	O
in	O	O
the	O	O
html	O	B-Variable
variable	O	O
is	O	O
dynamic	O	O
.	O	O

So	O	O
I	O	O
can	O	O
not	O	O
change	O	O
anything	O	O
in	O	O
it	O	O
.	O	O

Many	O	O
Thanks	O	O
.	O	O

Because	O	O
of	O	O
your	O	O
<div	B-Code_Block	B-Code_Block
id="container">	I-Code_Block	I-Code_Block

Automatically	O	O
it	O	O
wont	O	O
be	O	O
as	O	O
tall	O	O
as	O	O
your	O	O
iframe	O	B-Variable
.	O	O

Add	O	O
some	O	O
style	O	O
to	O	O
it	O	O
.	O	O

The	O	O
iframe	O	B-Variable
gets	O	O
a	O	O
height	O	B-Variable
value	O	O
for	O	O
unknown	O	O
reason	O	O
to	O	O
me	O	O
,	O	O
to	O	O
give	O	O
it	O	O
a	O	O
height	O	B-Variable
value	O	O
such	O	O
as	O	O
0	B-Code_Block	B-Value
did	O	O
the	O	O
trick	O	O
,	O	O
The	O	O
doc.body.style.cssText	B-Code_Block	B-Variable
overwrites	O	O
the	O	O
height	O	B-Variable
value	O	O
to	O	O
100%	B-Code_Block	B-Value
anyway	O	O
,	O	O
so	O	O
you	O	O
do	O	O
n't	O	O
need	O	O
to	O	O
worry	O	O
.	O	O

Example	O	O
JSFiddle	O	B-Application

FACTS	O	O
:	O	O

I	O	O
have	O	O
a	O	O
script	O	O
that	O	O
searches	O	O
inbox	O	B-Application
for	O	O
unread	O	O
email	O	O
,	O	O
and	O	O
anything	O	O
that	O	O
is	O	O
n't	O	O
starred	O	O
are	O	O
removed	O	O
from	O	O
inbox	O	B-Application
and	O	O
applied	O	O
label	O	O
.	O	O

There	O	O
are	O	O
filters	O	O
in	O	O
place	O	O
to	O	O
label	O	O
certain	O	O
email	O	O
addys	O	O
as	O	O
starred	O	O
.	O	O

GOAL	O	O
:	O	O

To	O	O
move	O	O
everything	O	O
from	O	O
inbox	O	B-Application
to	O	O
a	O	O
folder	O	O
that	O	O
is	O	O
not	O	O
relevant	O	O
.	O	O

Except	O	O
the	O	O
items	O	O
that	O	O
are	O	O
starred	O	O
.	O	O

Also	O	O
have	O	O
a	O	O
method	O	O
that	O	O
allows	O	O
for	O	O
manually	O	O
dragging	O	O
back	O	O
to	O	O
inbox	O	B-Application
and	O	O
make	O	O
sure	O	O
they	O	O
stay	O	O
there	O	O
.	O	O

PROBLEM	O	O
:	O	O

Most	O	O
all	O	O
emails	O	O
are	O	O
processed	O	O
as	O	O
needed	O	O
.	O	O

Only	O	O
some	O	O
of	O	O
the	O	O
starred	O	O
emails	O	O
are	O	O
still	O	O
getting	O	O
the	O	O
script	O	O
applied	O	O
to	O	O
,	O	O
and	O	O
are	O	O
thus	O	O
moved	O	O
from	O	O
inbox	O	B-Application
and	O	O
labeled	O	O
"	O	B-Value
newLabel	O	I-Value
"	O	I-Value

Thanks	O	O
for	O	O
your	O	O
help	O	O
.	O	O

If	O	O
there	O	O
is	O	O
a	O	O
better	O	O
way	O	O
to	O	O
accomplish	O	O
the	O	O
same	O	O
thing	O	O
,	O	O
I	O	O
'll	O	O
switch	O	O
it	O	O
up	O	O
.	O	O

I	O	O
used	O	O
this	O	O
link	O	O
for	O	O
part	O	O
of	O	O
this	O	O
:	O	O
Gmail	O	B-Application
Script	O	O
:	O	O
search	O	O
then	O	O
move	O	O
to	O	O
inbox	O	B-Application
,	O	O
remove	O	O
label	O	O

Your	O	O
first	O	O
thread	O	O
is	O	O
not	O	O
picking	O	O
up	O	O
mails	O	O
correctly	O	O
.	O	O

You	O	O
indicated	O	O
that	O	O

GmailApp.search()	B-Code_Block	B-Function
should	O	O
only	O	O
use	O	O
is:unread	B-Code_Block	B-Code_Block
in:inbox	I-Code_Block	I-Code_Block
for	O	O
what	O	O
you	O	O
want	O	O
.	O	O

Also	O	O
,	O	O
using	O	O
the	O	O
search	O	O
query	O	O
parameter	O	O
label	B-Code_Block	B-Code_Block
:	I-Code_Block	I-Code_Block
should	O	O
n't	O	O
have	O	O
a	O	O
dash	O	O
before	O	O
it	O	O
.	O	O

Check	O	O
out	O	O
the	O	O
documentation	O	O
for	O	O
the	O	O
list	O	O
of	O	O
accepted	O	O
search	O	O
query	O	O
parameters	O	O
here	O	O

This	O	O
question	O	O
is	O	O
about	O	O
Rad	O	B-Device
Beacon	O	I-Device
Dot	O	I-Device
device	O	O
for	O	O
Android	O	B-Operating_System
.	O	O

I	O	O
have	O	O
set	O	O
up	O	O
notification	O	O
.	O	O

When	O	O
user	O	O
gets	O	O
it	O	O
on	O	O
his	O	O
phone	O	B-Device
,	O	O
he	O	O
can	O	O
click	O	O
on	O	O
it	O	O
and	O	O
it	O	O
will	O	O
redirect	O	O
him	O	O
to	O	O
my	O	O
website	O	O
.	O	O

All	O	O
notification	O	B-User_Interface_Element
works	O	O
great	O	O
,	O	O
i	O	O
have	O	O
connected	O	O
it	O	O
with	O	O
Google	O	B-Application
Cloud	O	I-Application
Platform	O	I-Application
.	O	O

Now	O	O
,	O	O
when	O	O
user	O	O
click	O	O
on	O	O
notification	O	B-User_Interface_Element
,	O	O
can	O	O
i	O	O
somehow	O	O
to	O	O
track	O	O
it	O	O
?	O	O

Can	O	O
i	O	O
track	O	O
each	O	O
click	O	O
on	O	O
notification	O	B-User_Interface_Element
?	O	O

I	O	O
tried	O	O
to	O	O
enable	O	O
Google	O	B-Application
tracking	O	I-Application
API	O	I-Application
on	O	O
the	O	O
Google	O	B-Application
Cloud	O	I-Application
Platform	O	I-Application
,	O	O
and	O	O
added	O	O
credentials	O	O
to	O	O
attachments	O	O
field	O	O
in	O	O
the	O	O
Beacon	O	B-Application
Dashboard	O	I-Application
Panel	O	I-Application
,	O	O
but	O	O
it	O	O
still	O	O
does	O	O
n't	O	O
work	O	O
.	O	O

Do	O	O
you	O	O
have	O	O
a	O	O
link	O	O
or	O	O
advice	O	O
how	O	O
can	O	O
i	O	O
achieve	O	O
that	O	O
?	O	O

I	O	O
'm	O	O
sure	O	O
there	O	O
's	O	O
should	O	O
be	O	O
a	O	O
better	O	O
solution	O	O
,	O	O
and	O	O
i	O	O
will	O	O
get	O	O
a	O	O
lot	O	O
of	O	O
dislikes	O	O
for	O	O
that	O	O
but	O	O
,	O	O

But	O	O
you	O	O
can	O	O
set	O	O
up	O	O
a	O	O
link	O	O
example	O	O
:	O	O
yourwebsite.com/beacon-track	O	O
and	O	O
place	O	O
some	O	O
tracking	O	O
code	O	O
there	O	O
..	O	O
.	O	O
and	O	O
set	O	O
up	O	O
redirect	O	O
from	O	O
yourwebsite.com/beacon	O	O
to	O	O
your	O	O
website	O	O
,	O	O
so	O	O
when	O	O
user	O	O
click	O	O
on	O	O
notification	O	B-User_Interface_Element
it	O	O
goes	O	O
to	O	O
yourwebsite.com/beacon-track	O	O
,	O	O
add	O	O
as	O	O
click	O	O
,	O	O
and	O	O
redirect	O	O
user	O	O
to	O	O
yourwebsite.com	O	O

But	O	O
,	O	O
i	O	O
'm	O	O
sure	O	O
,	O	O
there	O	O
's	O	O
a	O	O
better	O	O
solution	O	O

I	O	O
need	O	O
to	O	O
pull	O	O
data	O	O
from	O	O
columns	O	B-Data_Structure
J-Y	O	B-Variable
from	O	O
a	O	O
spreadsheet	O	B-User_Interface_Element
and	O	O
concatenate	O	O
them	O	O
specifically	O	O
for	O	O
each	O	O
horizontal	O	O
row	O	B-Data_Structure
in	O	O
those	O	O
ranges	O	O
into	O	O
a	O	O
single	O	O
cell	O	B-Data_Structure
.	O	O

The	O	O
best	O	O
I	O	O
can	O	O
do	O	O
is	O	O
:	O	O

=CONCATENATE(IMPORTRANGE("123123123","SheetName!J1:Y1"))	O	B-Code_Block

That	O	O
puts	O	O
everything	O	O
from	O	O
a	O	O
specific	O	O
row	O	B-Data_Structure
into	O	O
a	O	O
specific	O	O
cell	O	B-Data_Structure
.	O	O

But	O	O
the	O	O
range	O	O
will	O	O
not	O	O
auto	O	O
update	O	O
when	O	O
I	O	O
drag	O	O
the	O	O
lower-right	O	O
box	O	B-User_Interface_Element
down	O	O
the	O	O
column	O	B-Data_Structure
.	O	O

How	O	O
do	O	O
I	O	O
make	O	O
it	O	O
do	O	O
that	O	O
?	O	O

does	O	O
this	O	O
works	O	O
as	O	O
you	O	O
want	O	O
if	O	O
pasted	O	O
into	O	O
row	O	B-Data_Structure
1	O	O
and	O	O
dragged	O	O
down	O	O
:	O	O

=CONCATENATE(IMPORTRANGE("123123123","SheetName!J"&ROW()&":Y"&ROW()))	O	B-Code_Block

I	O	O
'm	O	O
working	O	O
with	O	O
sailsjs	O	B-Library
and	O	O
mongodb	O	B-Application
.	O	O

I	O	O
'm	O	O
getting	O	O
the	O	O
error	O	O
"	O	O
TypeError	O	B-Error_Name
:	O	O
Cannot	O	O
read	O	O
property	O	O
'	O	O
attributes	O	O
'	O	O
of	O	O
undefined	O	O
"	O	O
.	O	O

This	O	O
are	O	O
the	O	O
models	O	O
:	O	O

UserInterest.js	O	B-File_Name

UserProfile.js	O	B-File_Name

I	O	O
'm	O	O
trying	O	O
to	O	O
get	O	O
a	O	O
user	O	O
profile	O	O
loaded	O	O
this	O	O
way	O	O
:	O	O

The	O	O
error	O	O
happens	O	O
in	O	O
populate	O	B-Function
function	O	O
.	O	O

Why	O	O
this	O	O
is	O	O
happening	O	O
?	O	O

After	O	O
struggling	O	O
a	O	O
lot	O	O
with	O	O
this	O	O
problem	O	O
,	O	O
I	O	O
found	O	O
an	O	O
answer	O	O
.	O	O

The	O	O
attribute	O	O
interests	O	O
was	O	O
duplicated	O	O
and	O	O
sails	O	B-Library
was	O	O
having	O	O
problems	O	O
with	O	O
it	O	O
.	O	O

I	O	O
eliminated	O	O
the	O	O
duplicate	O	O
,	O	O
leaving	O	O
the	O	O
collection	O	O
definition	O	O
.	O	O

I	O	O
have	O	O
my	O	O
Play	O	B-Library
Framework	O	I-Library
2.1.2	O	B-Version
application	O	O
and	O	O
I	O	O
need	O	O
to	O	O
execute	O	O
clean	O	O
up	O	O
instructions	O	O
after	O	O
the	O	O
user	O	O
logs	O	O
out	O	O
or	O	O
closes	O	O
the	O	O
browser	O	B-Application
.	O	O

Since	O	O
in	O	O
my	O	O
other	O	O
question	O	O
I	O	O
asked	O	O
how	O	O
to	O	O
intercept	O	O
the	O	O
closing	O	O
action	O	O
and	O	O
I	O	O
was	O	O
told	O	O
it	O	O
's	O	O
not	O	O
reliable	O	O
to	O	O
stick	O	O
with	O	O
javascript	O	B-Language
in	O	O
browser	O	B-Application
,	O	O
I	O	O
would	O	O
like	O	O
to	O	O
use	O	O
its	O	O
server	O	B-Application
side	O	O
session	O	O
timeout	O	O
event	O	O
to	O	O
acknowledge	O	O
the	O	O
user	O	O
is	O	O
gone	O	O
.	O	O

So	O	O
the	O	O
flow	O	O
I	O	O
would	O	O
like	O	O
to	O	O
obtain	O	O
is	O	O
similar	O	O
to	O	O
this	O	O
one	O	O
:	O	O

the	O	O
user	O	O
logs	O	O
in	O	O

its	O	O
session	O	O
is	O	O
created	O	O

the	O	O
user	O	O
works	O	O
with	O	O
my	O	O
web	O	O
application	O	O

the	O	O
user	O	O
logs	O	O
out	O	O
/	O	O
closes	O	O
his	O	O
browser	O	B-Application
--->	O	O
the	O	O
session	O	O
expires	O	O

he	O	O
is	O	O
not	O	O
on	O	O
the	O	O
platform	O	O
anymore	O	O
so	O	O
I	O	O
can	O	O
perform	O	O
some	O	O
operations	O	O
on	O	O
the	O	O
db	O	O
about	O	O
what	O	O
he	O	O
has	O	O
done	O	O

I	O	O
coul	O	O
n't	O	O
find	O	O
any	O	O
method	O	O
to	O	O
override	O	O
when	O	O
the	O	O
session	O	O
expires	O	O
.	O	O

Can	O	O
someone	O	O
point	O	O
me	O	O
towards	O	O
a	O	O
solution	O	O
?	O	O

Eventually	O	O
another	O	O
acceptable	O	O
solution	O	O
would	O	O
be	O	O
some	O	O
timed	O	O
event	O	O
that	O	O
repeatedly	O	O
checks	O	O
which	O	O
users	O	O
are	O	O
not	O	O
connected	O	O
anymore	O	O
and	O	O
performs	O	O
bulk	O	O
operations	O	O
on	O	O
that	O	O
pool	O	O
of	O	O
users	O	O
no	O	O
longer	O	O
connected	O	O
.	O	O

How	O	O
to	O	O
achieve	O	O
this	O	O
?	O	O

I	O	O
also	O	O
needed	O	O
a	O	O
session	O	O
timeout	O	B-Variable
,	O	O
so	O	O
I	O	O
added	O	O
a	O	O
timestamp	O	B-Class
(	O	O
tick	O	O
)	O	O
to	O	O
the	O	O
session	O	O
and	O	O
updated	O	O
it	O	O
with	O	O
each	O	O
request	O	O
after	O	O
checking	O	O
for	O	O
a	O	O
timeout	O	B-Variable
.	O	O

Something	O	O
like	O	O
this	O	O
:	O	O

http://www.poornerd.com/2014/04/01/how-to-implement-a-session-timeout-in-play-framework-2/	O	O

On	O	O
what	O	O
good	O	O
serves	O	O
me	O	O
a	O	O
texture	O	O
atlas	O	O
if	O	O
my	O	O
3D	O	O
character	O	B-User_Interface_Element
is	O	O
big	O	O
enough	O	O
and	O	O
fits	O	O
only	O	O
a	O	O
few	O	O
on	O	O
the	O	O
4k*4K	O	O
spritesheet	O	B-User_Interface_Element
?	O	O

Seems	O	O
like	O	O
big	O	O
resolution	O	O
(	O	O
420x768px	O	O
)	O	O
graphics	O	O
are	O	O
not	O	O
best	O	O
suited	O	O
for	O	O
such	O	O
textures	O	O
and	O	O
used	O	O
in	O	O
cocos2d	O	B-Library
2	O	B-Version
to	O	O
create	O	O
nice	O	O
animations	O	O
from	O	O
frames	O	O
.	O	O

So	O	O
is	O	O
a	O	O
3d	O	O
engine	O	O
best	O	O
suited	O	O
for	O	O
heavy	O	O
sprite	O	O
animations	O	O
?	O	O

Anyone	O	O
encountered	O	O
similar	O	O
limitations	O	O
,	O	O
when	O	O
creating	O	O
a	O	O
heavy	O	O
animation	O	O
game	O	O
in	O	O
cocos2d	O	B-Library
?	O	O

Thanks	O	O
.	O	O

I	O	O
'm	O	O
busy	O	O
creating	O	O
validation	O	O
for	O	O
this	O	O
duplicate-able	O	O
fields	O	O
,	O	O
so	O	O
for	O	O
on	O	O
blur	O	O
if	O	O
nothing	O	O
is	O	O
filled	O	O
in	O	O
the	O	O
input	O	O
'	O	O
Name	O	B-Variable
'	O	O
and	O	O
also	O	O
'	O	O
Surname	O	B-Variable
,	O	O
then	O	O
a	O	O
error	O	O
message	O	O
will	O	O
show	O	O
up	O	O
,	O	O
the	O	O
only	O	O
problem	O	O
is	O	O
that	O	O
the	O	O
error	O	O
shows	O	O
up	O	O
for	O	O
both	O	O
inputs	O	O
'	O	O
Name	O	B-Variable
'	O	O
and	O	O
'	O	O
Surname	O	B-Variable
'	O	O
,	O	O
instead	O	O
of	O	O
one	O	O
.	O	O

Keep	O	O
in	O	O
Mind	O	O
that	O	O
the	O	O
the	O	O
bottom	O	O
fields	O	O
are	O	O
duplicate-able	O	O
and	O	O
the	O	O
validation	O	O
has	O	O
to	O	O
work	O	O
for	O	O
them	O	O
to	O	O
,	O	O
hence	O	O
why	O	O
the	O	O
code	O	O
is	O	O
written	O	O
as	O	O
it	O	O
is	O	O
.	O	O

Any	O	O
Help	O	O
Greatly	O	O
Appreciated	O	O
.	O	O

JsFiddle	O	B-Application

And	O	O
the	O	O
Javascript	O	B-Language
:	O	O

and	O	O
the	O	O
HTML	O	B-Language
:	O	O

See	O	O
this	O	O
:	O	O
http://jsfiddle.net/6QTyd/5/	O	O

Also	O	O
note	O	O
the	O	O
changes	O	O
in	O	O
these	O	O
areas	O	O
:	O	O

and	O	O

I	O	O
am	O	O
working	O	O
on	O	O
a	O	O
cordova	O	B-Library
android	O	B-Operating_System
app	O	O
.	O	O

My	O	O
Question	O	O
is	O	O
:	O	O

is	O	O
it	O	O
possible	O	O
to	O	O
run	O	O
a	O	O
part	O	O
of	O	O
my	O	O
app	O	O
in	O	O
background	O	O
,	O	O
so	O	O
that	O	O
the	O	O
user	O	O
can	O	O
continue	O	O
his	O	O
work	O	O
while	O	O
sending	O	O
data	O	O
to	O	O
server	O	B-Application
in	O	O
background	O	O
.	O	O

i	O	O
dont	O	O
want	O	O
my	O	O
user	O	O
to	O	O
wait	O	O
while	O	O
i	O	O
sync	O	O
my	O	O
local	O	O
database	O	O
with	O	O
remote	O	O
database	O	O
.	O	O

I	O	O
dont	O	O
want	O	O
my	O	O
whole	O	O
application	O	O
to	O	O
go	O	O
background	O	O
.	O	O

I	O	O
want	O	O
only	O	O
the	O	O
sync	O	O
process	O	O
to	O	O
work	O	O
in	O	O
background.The	O	O
total	O	O
sync	O	O
process	O	O
is	O	O
taking	O	O
3	O	O
Minutes	O	O
time	O	O
to	O	O
complete	O	O
.	O	O

currently	O	O
i	O	O
am	O	O
showing	O	O
a	O	O
popup	O	B-User_Interface_Element
with	O	O
message	O	O
Sync	O	B-Value
is	O	I-Value
in	O	I-Value
progress	O	I-Value
which	O	O
forces	O	O
the	O	O
user	O	O
to	O	O
wait	O	O
for	O	O
completion	O	O
.	O	O

Now	O	O
i	O	O
want	O	O
the	O	O
sync	O	O
process	O	O
to	O	O
work	O	O
in	O	O
background	O	O
without	O	O
disturbing	O	O
the	O	O
user	O	O
.	O	O

i	O	O
used	O	O
https://github.com/katzer/cordova-plugin-background-mode	O	O
but	O	O
this	O	O
is	O	O
working	O	O
when	O	O
my	O	O
whole	O	O
application	O	O
is	O	O
going	O	O
in	O	O
background	O	O
.	O	O

If	O	O
there	O	O
is	O	O
a	O	O
way	O	O
to	O	O
solve	O	O
my	O	O
problem	O	O
using	O	O
this	O	O
plugin	O	O
please	O	O
post	O	O
here	O	O
.	O	O

Thanks	O	O
in	O	O
advance	O	O

I	O	O
have	O	O
to	O	O
add	O	O
two	O	O
digit	O	O
strings	O	B-Data_Type
,	O	O
meaning	O	O
1234	O	B-Value
12+34	O	I-Value
(	O	O
at	O	O
least	O	O
that	O	O
's	O	O
what	O	O
i	O	O
gather	O	O
)	O	O
.	O	O

I	O	O
wrote	O	O
a	O	O
program	O	O
that	O	O
does	O	O
this	O	O
expect	O	O
for	O	O
one	O	O
exception	O	O
,	O	O
that	O	O
is	O	O
when	O	O
the	O	O
last	O	O
number	O	O
does	O	O
n't	O	O
have	O	O
a	O	O
pair	O	O
it	O	O
wont	O	O
add	O	O
properly	O	O
.	O	O

Here	O	O
is	O	O
the	O	O
code	O	O
i	O	O
have	O	O
:	O	O

so	O	O
basically	O	O
if	O	O
i	O	O
have	O	O
123	O	B-Value
the	O	O
program	O	O
does	O	O
12+(30-48)	O	B-Value
,	O	O
instead	O	O
of	O	O
12+	O	B-Value
3	O	I-Value
.	O	O

Ive	O	O
been	O	O
sitting	O	O
on	O	O
it	O	O
for	O	O
a	O	O
while	O	O
,	O	O
and	O	O
cant	O	O
figure	O	O
out	O	O
how	O	O
to	O	O
fix	O	O
that	O	O
issue	O	O
,	O	O
any	O	O
tips	O	O
or	O	O
advice	O	O
would	O	O
be	O	O
welcomed	O	O
.	O	O

(	O	O
Strings	O	B-Data_Type
like	O	O
1234	O	B-Value
or	O	O
4567	O	B-Value
will	O	O
do	O	O
12+34	O	B-Value
and	O	O
45+67	O	B-Value
)	O	O

I	O	O
'm	O	O
using	O	O
d3	O	B-Library
to	O	O
add	O	O
svg	O	B-File_Type
circles	O	B-User_Interface_Element
on	O	O
leaflet	O	B-Library
map	O	I-Library
.	O	O

My	O	O
fiddle	O	B-Application
is	O	O
here	O	O
http://jsfiddle.net/nextstopsun/C3U8g/	O	O

I	O	O
've	O	O
added	O	O
a	O	O
reset()	O	B-Function
function	O	O
to	O	O
map	O	O
viewreset	O	B-Function
event	O	O
to	O	O
calculate	O	O
transformation	O	O
for	O	O
svg	O	B-File_Type
g	O	B-Variable
element	O	O
containing	O	O
all	O	O
circles	O	B-User_Interface_Element
.	O	O

This	O	O
function	O	O
is	O	O
called	O	O
on	O	O
map	O	O
viewreset	O	B-Function
event	O	O
.	O	O

(	O	O
The	O	O
code	O	O
is	O	O
originally	O	O
from	O	O
this	O	O
example	O	O
http://bost.ocks.org/mike/leaflet/	O	O
)	O	O

I	O	O
can	O	O
see	O	O
that	O	O
the	O	O
transformation	O	O
parameters	O	O
for	O	O
g	O	B-Variable
element	O	O
are	O	O
being	O	O
recalculated	O	O
,	O	O
but	O	O
circles	O	B-User_Interface_Element
are	O	O
n't	O	O
repositioned	O	O
(	O	O
or	O	O
they	O	O
are	O	O
repositioned	O	O
wrong	O	O
)	O	O
and	O	O
do	O	O
n't	O	O
align	O	O
with	O	O
the	O	O
map	O	O
tilelayer	O	B-Class
.	O	O

Everything	O	O
is	O	O
ok	O	O
when	O	O
paning	O	O
map	O	B-User_Interface_Element
,	O	O
though	O	O
.	O	O

What	O	O
has	O	O
to	O	O
be	O	O
changed	O	O
for	O	O
proper	O	O
repositioning	O	O
on	O	O
zooming	O	O
?	O	O

In	O	O
addition	O	O
to	O	O
transforming	O	O
the	O	O
g	B-Code_Block	B-Variable
element	O	O
that	O	O
contains	O	O
the	O	O
circles	O	B-User_Interface_Element
,	O	O
you	O	O
also	O	O
need	O	O
to	O	O
reset	O	O
the	O	O
coordinates	O	O
of	O	O
the	O	O
circles	O	B-User_Interface_Element
themselves	O	O
:	O	O

Updated	O	O
jsfiddle	O	B-Application
here	O	O
.	O	O

Good	O	O
morning	O	O
to	O	O
all	O	O
,	O	O

What	O	O
is	O	O
the	O	O
preferred	O	O
way	O	O
to	O	O
embed	O	O
images	O	B-User_Interface_Element
(	O	O
and	O	O
other	O	O
media	O	O
in	O	O
general	O	O
)	O	O
in	O	O
a	O	O
cocoa	O	B-Library
application	O	O
?	O	O

Windows	O	B-Operating_System
executables	O	O
have	O	O
a	O	O
resource	O	O
section	O	O
that	O	O
allows	O	O
you	O	O
to	O	O
store	O	O
arbitrary	O	O
data	O	O
and	O	O
extract	O	O
it	O	O
at	O	O
runtime	O	O
.	O	O

Is	O	O
there	O	O
a	O	O
similar	O	O
mechanism	O	O
on	O	O
Mac	O	B-Operating_System
OS	O	I-Operating_System
X	O	B-Version
?	O	O

My	O	O
program	O	O
uses	O	O
several	O	O
icons	O	B-User_Interface_Element
and	O	O
images	O	B-User_Interface_Element
(	O	O
statusmenu	O	B-User_Interface_Element
icon	O	I-User_Interface_Element
,	O	O
GUI	O	B-User_Interface_Element
button	O	I-User_Interface_Element
images	O	I-User_Interface_Element
etc	O	O
)	O	O
and	O	O
I	O	O
would	O	O
prefer	O	O
to	O	O
store	O	O
them	O	O
inside	O	O
the	O	O
application	O	O
or	O	O
a	O	O
resource	O	O
library	O	O
rather	O	O
than	O	O
just	O	O
distribute	O	O
them	O	O
as	O	O
plain	O	O
files	O	O
.	O	O

Thank	O	O
you	O	O
very	O	O
much	O	O
!	O	O

Adding	O	O
them	O	O
to	O	O
the	O	O
resource	O	B-File_Name
directory	O	O
is	O	O
the	O	O
way	O	O
to	O	O
go	O	O
in	O	O
the	O	O
vast	O	O
majority	O	O
of	O	O
cases	O	O
..	O	O
.	O	O
this	O	O
is	O	O
the	O	O
default	O	O
behavior	O	O
.	O	O

It	O	O
's	O	O
good	O	O
because	O	O
you	O	O
can	O	O
postpone	O	O
creation	O	O
and	O	O
because	O	O
the	O	O
system	O	O
makes	O	O
immutable	O	O
,	O	O
cached	O	O
,	O	O
reusable	O	O
instances	O	O
for	O	O
you	O	O
.	O	O

If	O	O
you	O	O
do	O	O
n't	O	O
like	O	O
that	O	O
,	O	O
you	O	O
can	O	O
just	O	O
make	O	O
a	O	O
quick	O	O
tool	O	O
to	O	O
generate	O	O
a	O	O
data	O	O
representation	O	O
and	O	O
emit	O	O
that	O	O
to	O	O
a	O	O
C	O	B-File_Type
file	O	O
which	O	O
is	O	O
compiled	O	O
into	O	O
your	O	O
program	O	O
,	O	O
then	O	O
use	O	O
that	O	O
as	O	O
an	O	O
input	O	O
to	O	O
an	O	O
image	O	B-User_Interface_Element
creator	O	O
call	O	O
(	O	O
assuming	O	O
you	O	O
want	O	O
an	O	O
NSImage	O	B-Class
or	O	O
CGImage	O	B-Class
representation	O	O
of	O	O
that	O	O
)	O	O
.	O	O

But	O	O
that	O	O
's	O	O
a	O	O
bit	O	O
extreme	O	O
-	O	O
perhaps	O	O
you	O	O
would	O	O
favor	O	O
removing	O	O
the	O	O
file	O	O
extension	O	O
(	O	O
or	O	O
just	O	O
changing	O	O
it	O	O
to	O	O
something	O	O
atypical	O	O
)	O	O
and	O	O
then	O	O
copying	O	O
it	O	O
to	O	O
the	O	O
resources	O	B-File_Name
directory	O	O
?	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
create	O	O
list	O	B-Data_Structure
item	O	O
in	O	O
Subiste	O	O
using	O	O
SharePoint	O	B-Application
Deigner	O	I-Application
2013	O	B-Version
Call	O	O
HTTP	O	O
action	O	O
.	O	O

I	O	O
succesfuly	O	O
set	O	O
up	O	O
this	O	O
solution	O	O
using	O	O
this	O	O
tip	O	O
:	O	O

http://mysharepointinsight.blogspot.com/2013/05/using-sharepoint-rest-services-from.html	O	O

But	O	O
when	O	O
I	O	O
create	O	O
list	O	B-Data_Structure
in	O	O
subsite	O	O
and	O	O
change	O	O
url	O	O
to	O	O
call	O	O
from	O	O

/SITE/_api/web/lists/getbytitle('Test')/items	O	O

to	O	O

/SITE/18/_api/web/lists/getbytitle('Test')/items	O	O

(	O	O
18	O	B-Value
-	O	O
is	O	O
name	O	O
and	O	O
URL	O	O
of	O	O
my	O	O
subsite	O	O
)	O	O

Action	O	O
is	O	O
n't	O	O
creating	O	O
item	O	O
.	O	O

In	O	O
both	O	O
scenario	O	O
I	O	O
'm	O	O
using	O	O
SP.Data.TestListItem	O	B-Class
type	O	O
in	O	O
metadata	O	O
.	O	O

EDIT	O	O
:	O	O
I	O	O
've	O	O
found	O	O
solution	O	O
-	O	O
http://msdn.microsoft.com/en-us/library/jj822159.aspx	O	O

We	O	O
have	O	O
a	O	O
SaaS	O	O
web	O	O
app	O	O
.	O	O

We	O	O
have	O	O
a	O	O
wildcard	O	O
SSL	O	O
cert	O	O
on	O	O
the	O	O
main	O	O
domain	O	O
:	O	O
*	B-Code_Block	B-Value
.webapp.com	I-Code_Block	I-Value

Customers	O	O
can	O	O
add	O	O
a	O	O
custom	O	O
domain	O	O
to	O	O
their	O	O
account	O	O
,	O	O
so	O	O
instead	O	O
of	O	O
client.webapp.com	O	B-Value
they	O	O
can	O	O
setup	O	O
a	O	O
CNAME	O	O
to	O	O
have	O	O
:	O	O
clientdomain.com	B-Code_Block	B-Value

We	O	O
have	O	O
some	O	O
clients	O	B-Application
that	O	O
want	O	O
to	O	O
add	O	O
a	O	O
SSL	O	O
cert	O	O
to	O	O
their	O	O
custom	O	O
domains	O	O
.	O	O

Webapp	O	O
already	O	O
runs	O	O
https://client.webapp.com	B-Code_Block	O
but	O	O
they	O	O
want	O	O
https://clientdomain.com	B-Code_Block	O

We	O	O
are	O	O
using	O	O
apache	O	B-Application
(	O	O
via	O	O
Plesk	O	B-Application
)	O	O
on	O	O
the	O	O
main	O	O
server	O	B-Application
.	O	O

Is	O	O
it	O	O
possible	O	O
to	O	O
achieve	O	O
this	O	O
?	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
implement	O	O
procedural	O	O
generation	O	O
in	O	O
my	O	O
game	O	O
.	O	O

I	O	O
want	O	O
to	O	O
really	O	O
grasp	O	O
and	O	O
understand	O	O
all	O	O
of	O	O
the	O	O
algorithms	O	O
nessecary	O	O
rather	O	O
than	O	O
simply	O	O
copying/pasting	O	O
existing	O	O
code	O	O
.	O	O

In	O	O
order	O	O
to	O	O
do	O	O
this	O	O
I	O	O
've	O	O
attempted	O	O
to	O	O
implement	O	O
1D	O	O
midpoint	O	O
displacement	O	O
on	O	O
my	O	O
own	O	O
.	O	O

I	O	O
've	O	O
used	O	O
the	O	O
information	O	O
here	O	O
to	O	O
write	O	O
and	O	O
guide	O	O
my	O	O
code	O	O
.	O	O

Below	O	O
is	O	O
my	O	O
completed	O	O
code	O	O
,	O	O
it	O	O
does	O	O
n't	O	O
throw	O	O
an	O	O
error	O	O
but	O	O
that	O	O
results	O	O
do	O	O
n't	O	O
appear	O	O
correct	O	O
.	O	O

Where	O	O
exactly	O	O
have	O	O
I	O	O
made	O	O
mistakes	O	O
and	O	O
how	O	O
might	O	O
I	O	O
correct	O	O
them	O	O
?	O	O

I	O	O
'm	O	O
getting	O	O
results	O	O
like	O	O
this	O	O
:	O	O

But	O	O
I	O	O
was	O	O
expecting	O	O
results	O	O
like	O	O
this	O	O
:	O	O

The	O	O
answer	O	O
is	O	O
very	O	O
simple	O	O
and	O	O
by	O	O
the	O	O
way	O	O
I	O	O
'm	O	O
impressed	O	O
you	O	O
managed	O	O
to	O	O
debug	O	O
all	O	O
the	O	O
potential	O	O
off-by-one	O	O
errors	O	O
in	O	O
your	O	O
code	O	O
.	O	O

The	O	O
following	O	O
line	O	O
is	O	O
wrong	O	O
:	O	O

You	O	O
correctly	O	O
compute	O	O
the	O	O
center	O	B-Variable
index	O	O
and	O	O
change	O	B-Variable
amount	O	O
but	O	O
you	O	O
missed	O	O
that	O	O
the	O	O
change	O	B-Variable
should	O	O
be	O	O
applied	O	O
to	O	O
the	O	O
midpoint	O	O
in	O	O
terms	O	O
of	O	O
height	O	O
.	O	O

That	O	O
is	O	O
:	O	O

I	O	O
'm	O	O
sure	O	O
you	O	O
get	O	O
the	O	O
idea	O	O
.	O	O

The	O	O
problem	O	O
seems	O	O
to	O	O
be	O	O
that	O	O
you	O	O
are	O	O
changing	O	O
only	O	O
the	O	O
midpoint	O	O
of	O	O
each	O	O
line	O	O
segment	O	O
,	O	O
rather	O	O
than	O	O
changing	O	O
the	O	O
rest	O	O
of	O	O
the	O	O
line	O	O
segment	O	O
in	O	O
proportion	O	O
to	O	O
its	O	O
distance	O	O
from	O	O
each	O	O
end	O	O
to	O	O
the	O	O
midpoint	O	O
.	O	O

The	O	O
following	O	O
code	O	O
appears	O	O
to	O	O
give	O	O
you	O	O
something	O	O
more	O	O
like	O	O
what	O	O
you	O	O
're	O	O
looking	O	O
for	O	O
:	O	O

When	O	O
run	O	O
this	O	O
way	O	O
,	O	O
it	O	O
produces	O	O
the	O	O
following	O	O
result	O	O
:	O	O

Within	O	O
a	O	O
request	O	O
on	O	O
an	O	O
ApiController	O	B-Class
,	O	O
I	O	O
'm	O	O
tracking	O	O
the	O	O
duration	O	O
of	O	O
awaiting	O	O
the	O	O
Sql	O	B-Class
Connection	O	I-Class
to	O	O
open	O	O
.	O	O

If	O	O
my	O	O
request	O	O
is	O	O
not	O	O
called	O	O
for	O	O
at	O	O
least	O	O
5	O	O
minutes	O	O
,	O	O
then	O	O
any	O	O
new	O	O
call	O	O
will	O	O
see	O	O
the	O	O
duration	O	O
of	O	O
OpenAsync	B-Code_Block	B-Function
be	O	O
huge	O	O
(	O	O
c	O	O
.	O	O
3s	O	O
)	O	O
instead	O	O
of	O	O
immediate	O	O
.	O	O

I	O	O
'd	O	O
like	O	O
to	O	O
understand	O	O
the	O	O
reason	O	O
to	O	O
eradicate	O	O
that	O	O
crazy	O	O
slowness	O	O
.	O	O

UPDATE	O	O

I	O	O
created	O	O
an	O	O
endpoint	O	O
just	O	O
to	O	O
open	O	O
the	O	O
SqlConnection	B-Code_Block	B-Class
.	O	O

If	O	O
I	O	O
wait	O	O
more	O	O
than	O	O
5	O	O
minutes	O	O
then	O	O
call	O	O
that	O	O
OpenConnection	B-Code_Block	B-Function
endpoint	O	O
then	O	O
call	O	O
any	O	O
another	O	O
request	O	O
,	O	O
the	O	O
OpenConnection	B-Code_Block	B-Function
will	O	O
incur	O	O
the	O	O
waiting	O	O
cost	O	O
mentioned	O	O
above	O	O
but	O	O
the	O	O
request	O	O
will	O	O
not	O	O
.	O	O

Hence	O	O
,	O	O
I	O	O
've	O	O
scheduled	O	O
a	O	O
job	O	O
on	O	O
Azure	O	B-Application
to	O	O
run	O	O
every	O	O
minute	O	O
and	O	O
call	O	O
the	O	O
OpenConnection	B-Code_Block	B-Function
endpoint	O	O
.	O	O

However	O	O
,	O	O
when	O	O
I	O	O
make	O	O
requests	O	O
from	O	O
my	O	O
http	O	O
client	O	B-Application
,	O	O
I	O	O
incur	O	O
the	O	O
waiting	O	O
time	O	O
.	O	O

As	O	O
if	O	O
opened	O	O
the	O	O
SqlConnection	B-Code_Block	B-Class
was	O	O
somehow	O	O
linked	O	O
to	O	O
the	O	O
http	O	O
client	O	B-Application
ip.	O	O
.	O	O

Also	O	O
,	O	O
that	O	O
5	O	O
minutes	O	O
windows	O	O
is	O	O
typical	O	O
of	O	O
DNS	O	O
TTL.	O	O
.	O	O

However	O	O
3s	O	O
for	O	O
a	O	O
DNS	O	O
lookup	O	O
of	O	O
the	O	O
Database	O	O
endpoint	O	O
is	O	O
too	O	O
long	O	O
.	O	O

It	O	O
ca	O	O
n't	O	O
be	O	O
that	O	O
.	O	O

UPDATE	O	O
2	O	O

Time	O	O
observed	O	O
at	O	O
the	O	O
htt	O	O
client	O	B-Application
level	O	O
seems	O	O
to	O	O
be	O	O
the	O	O
result	O	O
of	O	O
both	O	O
awaiting	O	O
for	O	O
the	O	O
connection	O	O
as	O	O
well	O	O
as	O	O
some	O	O
other	O	O
latencies	O	O
(	O	O
dns	O	O
lookup	O	O
?	O	O
)	O	O
.	O	O

Here	O	O
is	O	O
a	O	O
table	O	O
summarizing	O	O
what	O	O
I	O	O
observe	O	O
:	O	O

UPDATE	O	O
3	O	O

The	O	O
difference	O	O
between	O	O
row	O	O
3	O	O
and	O	O
4	O	O
of	O	O
my	O	O
table	O	O
is	O	O
time	O	O
spent	O	O
in	O	O
TCP/IP	O	O
Connect	O	O
and	O	O
HTTPS	O	O
Handshake	O	O
according	O	O
to	O	O
Fiddler	O	B-Application
.	O	O

Let	O	O
's	O	O
not	O	O
focus	O	O
on	O	O
it	O	O
on	O	O
that	O	O
post	O	O
but	O	O
only	O	O
on	O	O
the	O	O
time	O	O
spent	O	O
waiting	O	O
for	O	O
the	O	O
SqlConnection	B-Code_Block	B-Class
to	O	O
open	O	O
.	O	O

UPDATE	O	O
4	O	O

Actually	O	O
I	O	O
think	O	O
both	O	O
two	O	O
waiting	O	O
times	O	O
have	O	O
the	O	O
same	O	O
reason	O	O
.	O	O

The	O	O
server	O	B-Application
needs	O	O
to	O	O
"	O	O
keep	O	O
alive	O	O
"	O	O
its	O	O
connection	O	O
to	O	O
the	O	O
database	O	B-Application
and	O	O
the	O	O
client	O	B-Application
needs	O	O
to	O	O
"	O	O
keep	O	O
alive	O	O
"	O	O
its	O	O
connection	O	O
to	O	O
the	O	O
server	O	B-Application
.	O	O

UPDATE	O	O
5	O	O

I	O	O
had	O	O
a	O	O
job	O	O
running	O	O
every	O	O
4	O	O
minutes	O	O
to	O	O
open	O	O
the	O	O
SqlConnection	B-Code_Block	B-Class
but	O	O
once	O	O
in	O	O
a	O	O
while	O	O
it	O	O
was	O	O
incurring	O	O
the	O	O
waiting	O	O
cost	O	O
.	O	O

So	O	O
I	O	O
think	O	O
the	O	O
inactivity	O	O
time	O	O
is	O	O
4	O	O
minutes	O	O
not	O	O
5	O	O
(	O	O
hence	O	O
I	O	O
updated	O	O
this	O	O
post	O	O
title	O	O
)	O	O
.	O	O

So	O	O
I	O	O
updated	O	O
my	O	O
scheduled	O	O
job	O	O
to	O	O
run	O	O
every	O	O
minute	O	O
.	O	O

then	O	O
I	O	O
realised	O	O
it	O	O
was	O	O
still	O	O
incurring	O	O
the	O	O
waiting	O	O
cost	O	O
but	O	O
regularly	O	O
every	O	O
30	O	O
minutes	O	O
(	O	O
hence	O	O
I	O	O
updated	O	O
this	O	O
post	O	O
title	O	O
)	O	O
.	O	O

These	O	O
two	O	O
times	O	O
strangely	O	O
correlates	O	O
with	O	O
those	O	O
of	O	O
Azure	O	B-Application
Load	O	I-Application
Balancer	O	I-Application
Idle	O	O
Timeout	O	O
.	O	O

I	O	O
want	O	O
to	O	O
make	O	O
my	O	O
admin	O	O
folder	O	O
protected	O	O
with	O	O
htaccess	O	B-File_Type
file.Here	O	O
is	O	O
my	O	O
htaccess	O	B-File_Type
file	O	O

I	O	O
made	O	O
htpasswd	O	B-File_Type
file	O	O
and	O	O
had	O	O
password	O	O
encrypted	O	O
.	O	O

When	O	O
i	O	O
try	O	O
to	O	O
access	O	O
the	O	O
folder	O	B-User_Interface_Element
it	O	O
does	O	O
n't	O	O
accept	O	O
my	O	O
password	O	O
and	O	O
opens	O	O
another	O	O
login	O	B-User_Interface_Element
,	O	O
but	O	O
when	O	O
i	O	O
set	O	O
password	O	O
to	O	O
be	O	O
admin	O	O
,	O	O
without	O	O
encryption	O	O
,	O	O
it	O	O
works	O	O
.	O	O

Does	O	O
anybody	O	O
have	O	O
idea	O	O
why	O	O
this	O	O
is	O	O
happening	O	O
?	O	O

And	O	O
if	O	O
it	O	O
is	O	O
important	O	O
,	O	O
here	O	O
is	O	O
my	O	O
apache	O	B-Application
error	O	O
log	O	O

I	O	O
am	O	O
still	O	O
struggling	O	O
with	O	O
R	O	B-Language
plots	O	B-Function
and	O	O
colors	O	O
-	O	O
-	O	O
some	O	O
results	O	O
are	O	O
as	O	O
I	O	O
expected	O	O
,	O	O
some	O	O
not	O	O
.	O	O

I	O	O
have	O	O
a	O	O
2-million	O	O
point	O	O
data	O	O
set	O	O
,	O	O
generated	O	O
by	O	O
a	O	O
simulation	O	O
process	O	O
.	O	O

There	O	O
are	O	O
several	O	O
variables	O	O
on	O	O
the	O	O
dataset	O	O
,	O	O
but	O	O
I	O	O
am	O	O
interested	O	O
on	O	O
three	O	O
and	O	O
on	O	O
a	O	O
factor	O	O
that	O	O
describe	O	O
the	O	O
class	O	O
for	O	O
that	O	O
data	O	O
point	O	O
.	O	O

Here	O	O
is	O	O
a	O	O
short	O	O
snippet	O	O
of	O	O
code	O	O
that	O	O
reads	O	O
the	O	O
points	O	O
and	O	O
get	O	O
some	O	O
basic	O	O
statistics	O	O
on	O	O
it	O	O
:	O	O

That	O	O
gives	O	O
me	O	O

(	O	O
the	O	O
input	O	O
file	O	O
is	O	O
quite	O	O
large	O	O
,	O	O
cannot	O	O
add	O	O
it	O	O
as	O	O
a	O	O
link	O	O
)	O	O

I	O	O
want	O	O
to	O	O
see	O	O
these	O	O
points	O	O
in	O	O
a	O	O
scatterplot	O	O
matrix	O	B-Data_Structure
,	O	O
so	O	O
I	O	O
use	O	O
the	O	O
code	O	O

Here	O	O
is	O	O
the	O	O
result	O	O
.	O	O

As	O	O
expected	O	O
,	O	O
points	O	O
from	O	O
class	O	O
E	O	B-Variable
are	O	O
in	O	O
vast	O	O
majority	O	O
,	O	O
so	O	O
I	O	O
cannot	O	O
see	O	O
points	O	O
of	O	O
other	O	O
classes	O	O
.	O	O

The	O	O
problem	O	O
is	O	O
that	O	O
I	O	O
expected	O	O
the	O	O
points	O	O
to	O	O
be	O	O
plotted	O	O
in	O	O
magenta	O	O
(	O	O
classes	O	O
are	O	O
A	O	B-Class
,	O	O
B	O	B-Class
,	O	O
C	O	B-Class
,	O	O
D	O	B-Class
,	O	O
E	O	B-Class
,	O	O
N	O	B-Class
;	O	O
colors	O	O
are	O	O
red	O	B-Value
,	O	O
green	O	B-Value
,	O	O
blue	O	B-Value
,	O	O
cyan	O	B-Value
,	O	O
magenta	O	B-Value
,	O	O
yellow	O	B-Value
)	O	O
.	O	O

When	O	O
I	O	O
do	O	O
the	O	O
plot	O	O
class	O	O
by	O	O
class	O	O
it	O	O
works	O	O
as	O	O
expected	O	O
,	O	O
see	O	O
two	O	O
examples	O	O
:	O	O

gives	O	O
this	O	O
:	O	O

And	O	O
this	O	O
snippet	O	O
of	O	O
code	O	O

gives	O	O
this	O	O
:	O	O

This	O	O
also	O	O
seems	O	O
as	O	O
expected	O	O
:	O	O
a	O	O
plot	O	B-User_Interface_Element
of	O	O
points	O	O
of	O	O
all	O	O
classes	O	O
except	O	O
E	O	B-Class
.	O	O

The	O	O
question	O	O
is	O	O
,	O	O
why	O	O
on	O	O
the	O	O
first	O	O
plot	O	B-User_Interface_Element
the	O	O
points	O	O
are	O	O
blue	O	B-Variable
instead	O	O
of	O	O
magenta	O	B-Variable
?	O	O

This	O	O
question	O	O
is	O	O
somehow	O	O
similar	O	O
to	O	O
Color	O	O
gradient	O	O
for	O	O
elevation	O	O
data	O	O
in	O	O
a	O	O
XYZ	O	O
plot	O	O
with	O	O
R	O	B-Language
and	O	O
Lattice	O	B-Library
but	O	O
now	O	O
I	O	O
am	O	O
using	O	O
factors	O	O
to	O	O
determine	O	O
colors	O	O
on	O	O
the	O	O
scatterplot	O	O
.	O	O

I	O	O
've	O	O
also	O	O
read	O	O
Changing	O	O
default	O	O
colours	O	O
of	O	O
a	O	O
lattice	O	O
plot	O	O
by	O	O
factor	O	O
-	O	O
-	O	O
grouping	O	O
plots	O	O
by	O	O
a	O	O
factor	O	O
(	O	O
using	O	O
the	O	O
parameter	O	O
groups.factor	O	B-Code_Block
=	O	I-Code_Block
myData$Class	O	I-Code_Block
)	O	O
does	O	O
not	O	O
solve	O	O
my	O	O
problem	O	O
,	O	O
plots	O	B-User_Interface_Element
are	O	O
still	O	O
in	O	O
blue	O	O
but	O	O
separated	O	O
by	O	O
class	O	O
.	O	O

Edited	O	O
to	O	O
add	O	O
more	O	O
information	O	O
:	O	O
this	O	O
fake	O	O
data	O	O
set	O	O
can	O	O
be	O	O
used	O	O
for	O	O
tests	O	O
.	O	O

When	O	O
I	O	O
plot	O	O
it	O	O
with	O	O

I	O	O
get	O	O
the	O	O
plot	O	B-User_Interface_Element
below	O	O
.	O	O

All	O	O
points	O	O
are	O	O
in	O	O
blue	O	B-Value
.	O	O

JeremyCG	O	B-User_Name
found	O	O
the	O	O
problem	O	O
.	O	O

Here	O	O
is	O	O
the	O	O
complete	O	O
code	O	O
that	O	O
works	O	O
,	O	O
for	O	O
future	O	O
reference	O	O
.	O	O

That	O	O
showed	O	O
the	O	O
issue	O	O
:	O	O

Class	O	O
must	O	O
be	O	O
a	O	O
factor	O	O
.	O	O

This	O	O
solved	O	O
it	O	O
:	O	O

Then	O	O
plot	O	O
it	O	O
:	O	O

Here	O	O
is	O	O
the	O	O
result	O	O
:	O	O

Thanks	O	O
@jeremycg	O	B-User_Name
!	O	O

I	O	O
'm	O	O
on	O	O
Ubuntu	O	B-Operating_System
14.04	O	B-Version
with	O	O
cuda	O	B-Application
toolkit	O	I-Application
6.5	O	B-Version
,	O	O
nvidia	O	B-Application
driver	O	I-Application
version	O	O
340.29	O	B-Version
.	O	O

My	O	O
application	O	O
registers	O	O
a	O	O
pixel	O	O
buffer	O	O
from	O	O
openGL	O	B-Library
and	O	O
writes	O	O
an	O	O
image	O	B-User_Interface_Element
to	O	O
the	O	O
buffer	O	O
every	O	O
loop	O	O
,	O	O
copies	O	O
the	O	O
PBO	O	O
to	O	O
a	O	O
texture	O	O
using	O	O
glTexSubImage2D	O	B-Class
,	O	O
and	O	O
draws	O	O
the	O	O
texture	O	O
.	O	O

This	O	O
all	O	O
works	O	O
properly	O	O
until	O	O
I	O	O
change	O	O
my	O	O
image-generation	O	B-Application
kernel	O	I-Application
,	O	O
then	O	O
I	O	O
gdb	O	B-Application
reports	O	O
a	O	O
segmentation	O	B-Error_Name
fault	O	I-Error_Name
in	O	O
cudaGraphicsGLRegisterBuffer	O	B-Class
.	O	O

My	O	O
guess	O	O
is	O	O
this	O	O
is	O	O
a	O	O
bug	O	O
,	O	O
because	O	O
the	O	O
cuda	O	B-Library
kernel	O	B-Application
is	O	O
completely	O	O
unrelated	O	O
to	O	O
cudaGraphicsGLRegisterBuffer	O	B-Class
,	O	O
which	O	O
is	O	O
called	O	O
before	O	O
any	O	O
processing	O	O
.	O	O

Makefile	O	B-File_Name

main.cu	O	B-File_Name

GLdisplay.cu	O	B-File_Name

GLdisplay.h	O	B-File_Name

vert.glsl	O	B-File_Name

frag.glsl	O	B-File_Name

Updating	O	O
to	O	O
nvidia	O	B-Application
display	O	I-Application
driver	O	I-Application
346.47	O	B-Version
solved	O	O
my	O	O
problem	O	O
completely	O	O
.	O	O

For	O	O
the	O	O
unsure	O	O
,	O	O
run	O	O
nvidia-smi	B-Code_Block	B-Code_Block
in	O	O
a	O	O
terminal	O	B-Application
window	O	O
,	O	O
and	O	O
if	O	O
you	O	O
do	O	O
n't	O	O
see	O	O
NVIDIA-SMI	B-Code_Block	B-Value
346.xx	I-Code_Block	I-Value
(	O	O
xx	O	B-Value
being	O	O
an	O	O
arbitrary	O	O
number	O	O
)	O	O
,	O	O
update	O	O
with	O	O
the	O	O
newest	O	O
driver	O	O
available	O	O
from	O	O
nvidia	O	B-Website
.	O	O

At	O	O
the	O	O
time	O	O
of	O	O
writing	O	O
this	O	O
,	O	O
CUDA	O	B-Application
toolkit	O	I-Application
6.5	O	B-Version
ships	O	O
with	O	O
an	O	O
outdated	O	O
graphics	O	B-Application
driver	O	I-Application
.	O	O

Your	O	O
code	O	O
lacks	O	O
error	O	O
condition	O	O
checking	O	O
.	O	O

First	O	O
and	O	O
foremost	O	O
I	O	O
suggest	O	O
you	O	O
check	O	O
the	O	O
error	O	O
code	O	O
status	O	O
after	O	O
each	O	O
and	O	O
every	O	O
OpenGL	O	B-Library
and	O	O
CUDA	O	B-Library
call	O	O
.	O	O

I	O	O
've	O	O
got	O	O
a	O	O
very	O	O
strong	O	O
hunch	O	O
what	O	O
the	O	O
problem	O	O
is	O	O
and	O	O
adding	O	O
the	O	O
error	O	O
checking	O	O
will	O	O
tell	O	O
if	O	O
this	O	O
is	O	O
the	O	O
case	O	O
.	O	O

So	O	O
:	O	O
I	O	O
see	O	O
that	O	O
you	O	O
never	O	O
properly	O	O
unbind	O	O
the	O	O
PBO	O	O
from	O	O
OpenGL	O	B-Library
before	O	O
trying	O	O
to	O	O
map	O	O
it	O	O
to	O	O
a	O	O
CUDA	O	B-Library
pointer	O	B-Data_Type
.	O	O

Depending	O	O
on	O	O
the	O	O
path	O	O
your	O	O
program	O	O
takes	O	O
this	O	O
may	O	O
result	O	O
in	O	O
the	O	O
PBO	O	O
actually	O	O
not	O	O
getting	O	O
mapped	O	O
,	O	O
hence	O	O
giving	O	O
you	O	O
an	O	O
invalid	O	O
pointer	O	B-Data_Type
that	O	O
if	O	O
accessed	O	O
,	O	O
from	O	O
the	O	O
CUDA	O	B-Library
kernel	O	B-Application
or	O	O
the	O	O
host	O	O
,	O	O
will	O	O
result	O	O
in	O	O
a	O	O
segfault	O	B-Error_Name
.	O	O

To	O	O
pin	O	O
down	O	O
the	O	O
problem	O	O
check	O	O
the	O	O
error	O	O
status	O	O
of	O	O
every	O	O
OpenGL	O	B-Library
and	O	O
CUDA	O	B-Library
operation	O	O
.	O	O

CUDA	O	B-Library
will	O	O
tell	O	O
you	O	O
if	O	O
it	O	O
ca	O	O
n't	O	O
map	O	O
a	O	O
OpenGL	O	B-Library
resource	O	O
,	O	O
for	O	O
whatever	O	O
reason	O	O
(	O	O
like	O	O
the	O	O
resource	O	O
still	O	O
being	O	O
bound	O	O
to	O	O
a	O	O
OpenGL	O	B-Library
functional	O	O
unit	O	O
)	O	O
.	O	O

I	O	O
am	O	O
new	O	O
to	O	O
gwt	O	B-Application
and	O	O
in	O	O
my	O	O
application	O	O
I	O	O
have	O	O
to	O	O
display	O	O
a	O	O
svg	O	B-File_Type
file	O	O
which	O	O
I	O	O
get	O	O
from	O	O
server	O	B-Application
.	O	O

The	O	O
question	O	O
is	O	O
I	O	O
am	O	O
able	O	O
to	O	O
get	O	O
the	O	O
svg	O	B-File_Type
file	O	O
from	O	O
server	O	B-Application
side	O	O
and	O	O
display	O	O
using	O	O
HTMLPanel	O	B-Class
.	O	O

But	O	O
events	O	O
are	O	O
not	O	O
getting	O	O
fired.Like	O	O
mouse	O	B-Device
over	O	O
,	O	O
drag	O	O
and	O	O
drop	O	O
events	O	B-Class
etc	O	O
which	O	O
are	O	O
inside	O	O

the	O	O
svg	O	B-File_Type
file	O	O
they	O	O
are	O	O
not	O	O
getting	O	O
fired	O	O
.	O	O

Please	O	O
let	O	O
me	O	O
know	O	O
how	O	O
can	O	O
I	O	O
solve	O	O
this	O	O
issue	O	O
.	O	O

below	O	O
is	O	O
my	O	O
code	O	O

image	O	B-Code_Block
=	O	I-Code_Block
new	O	I-Code_Block
HTMLPanel(response.getText())	O	I-Code_Block
;	O	I-Code_Block

rootPanel.add(image)	O	B-Code_Block
;	O	I-Code_Block

Thanks	O	O
in	O	O
advance	O	O
,	O	O

Pradeep	O	B-User_Name

I	O	O
'm	O	O
guessing	O	O
you	O	O
are	O	O
trying	O	O
to	O	O
display	O	O
the	O	O
SVG	O	B-File_Type
XML	O	B-Language
or	O	O
a	O	O
Data	O	O
URI	O	O
as	O	O
HTML	O	B-Language
?	O	O

If	O	O
so	O	O
,	O	O
that	O	O
text	O	O
will	O	O
not	O	O
generate	O	O
any	O	O
events	O	O
,	O	O
only	O	O
the	O	O
HTMLPanel	B-Code_Block	B-Class
will	O	O
.	O	O

The	O	O
following	O	O
code	O	O
should	O	O
allow	O	O
you	O	O
to	O	O
add	O	O
a	O	O
handler	O	O
to	O	O
the	O	O
HTMLPanel	B-Code_Block	B-Class
:	O	O

Attach	O	O
other	O	O
event	O	B-Class
handlers	O	O
the	O	O
same	O	O
way	O	O
.	O	O

I	O	O
'm	O	O
currently	O	O
creating	O	O
sharded	O	O
tables	O	B-Data_Structure
daily	O	O
using	O	O
the	O	O
Python	O	B-Library
API	O	I-Library
.	O	O

Is	O	O
there	O	O
a	O	O
way	O	O
to	O	O
add	O	O
the	O	O
comments	O	O
for	O	O
the	O	O
table	O	B-Data_Structure
's	O	O
columns	O	B-Data_Structure
when	O	O
creating	O	O
the	O	O
table	O	B-Data_Structure
?	O	O

I	O	O
could	O	O
n't	O	O
see	O	O
it	O	O
in	O	O
the	O	O
doc	O	O
but	O	O
it	O	O
might	O	O
still	O	O
be	O	O
implemented	O	O
.	O	O

Thanks	O	O
in	O	O
advance	O	O
.	O	O

From	O	O
the	O	O
REST	O	B-Library
API	O	I-Library
for	O	O
BigQuery	O	B-Application
documentation	O	O
,	O	O
tables.Insert	O	B-Function
takes	O	O
a	O	O
table	O	B-Data_Structure
resource	O	O
,	O	O
and	O	O
in	O	O
the	O	O
schema.fields[].description	B-Code_Block	B-Variable
property	O	O
,	O	O
you	O	O
can	O	O
put	O	O
in	O	O
a	O	O
description	O	O
.	O	O

I	O	O
'm	O	O
thinking	O	O
on	O	O
make	O	O
an	O	O
app	O	O
Bundle	O	O
on	O	O
App	O	B-Application
Store	O	I-Application
with	O	O
Apps	O	O
which	O	O
are	O	O
free	O	O
.	O	O

It	O	O
's	O	O
possible	O	O
to	O	O
create	O	O
a	O	O
free	O	O
app	O	O
bundle	O	O
on	O	O
App	O	B-Application
Store	O	I-Application
?	O	O

As	O	O
far	O	O
I	O	O
can	O	O
see	O	O
,	O	O
minimum	O	O
price	O	O
option	O	O
is	O	O
Tier	O	O
1	O	O
(	O	O
not	O	O
Tier	O	O
0	O	O
)	O	O
and	O	O
Apple	O	B-Website
talks	O	O
about	O	O
'	O	O
reduced	O	O
price	O	O
pack	O	O
'	O	O
,	O	O
so	O	O
it	O	O
seems	O	O
to	O	O
be	O	O
no	O	O
option	O	O
to	O	O
group	O	O
several	O	O
free	O	O
apps	O	O
in	O	O
a	O	O
free	O	O
Apple	O	B-Website
Bundle	O	O
.	O	O

Thanks	O	O
,	O	O

No	O	O
.	O	O

See	O	O
:	O	O
documentation	O	O

As	O	O
for	O	O
the	O	O
other	O	O
answers/comments	O	O
,	O	O
Tier-0	O	O
bundles	O	O
are	O	O
not	O	O
possible	O	O
at	O	O
the	O	O
moment	O	O
.	O	O

Despite	O	O
this	O	O
,	O	O
you	O	O
still	O	O
can	O	O
go	O	O
ahead	O	O
and	O	O
create	O	O
a	O	O
bundle	O	O
of	O	O
free	O	O
apps	O	O
:	O	O

this	O	O
will	O	O
be	O	O
created	O	O
,	O	O
can	O	O
even	O	O
go	O	O
through	O	O
the	O	O
review	O	O
and	O	O
be	O	O
approved	O	O
,	O	O
but	O	O
it	O	O
wo	O	O
n't	O	O
be	O	O
made	O	O
available	O	O
to	O	O
the	O	O
store	O	O
because	O	O
"	O	O
you	O	O
must	O	O
choose	O	O
a	O	O
compatible	O	O
price	O	O
"	O	O
(	O	O
and	O	O
you	O	O
ca	O	O
n't	O	O
ask	O	O
for	O	O
$1	O	O
,	O	O
a.k.a	O	O
.	O	O

tier-1	O	O
,	O	O
for	O	O
a	O	O
bundle	O	O
of	O	O
free	O	O
apps	O	O
)	O	O
.	O	O

I	O	O
've	O	O
created	O	O
a	O	O
radar	O	O
on	O	O
the	O	O
matter	O	O
:	O	O
if	O	O
you	O	O
also	O	O
agree	O	O
that	O	O
free	O	O
bundles	O	O
should	O	O
exist	O	O
,	O	O
please	O	O
feel	O	O
free	O	O
to	O	O
dupe	O	O
it	O	O
at	O	O
bugreport.apple.com	O	O
.	O	O

Me	O	O
again	O	O
!	O	O

Here	O	O
is	O	O
my	O	O
model	O	O

here	O	O
are	O	O
my	O	O
index	O	B-Function
and	O	O
browse	O	B-Function
controllers	O	O

At	O	O
the	O	O
moment	O	O
my	O	O
index	O	B-Function
is	O	O
grouping	O	O
events	O	O
by	O	O
date	O	O
and	O	O
returning	O	O
how	O	O
many	O	O
there	O	O
are	O	O
connected	O	O
with	O	O
a	O	O
certain	O	O
date	O	O
.	O	O

I	O	O
want	O	O
to	O	O
adda	O	O
browse	O	B-Function
link	O	B-Variable
which	O	O
will	O	O
list	O	O
the	O	O
events	O	O
associated	O	O
with	O	O
a	O	O
date	O	O
.	O	O

I	O	O
ca	O	O
n't	O	O
seem	O	O
to	O	O
compare	O	O
DateTime	O	B-Class
's	O	O
in	O	O
my	O	O
linq	O	B-Library
query	O	O
,	O	O
everything	O	O
I	O	O
try	O	O
just	O	O
returns	O	O
blank	O	O
.	O	O

Any	O	O
help	O	O
is	O	O
GREATLY	O	O
appreciated	O	O
you	O	O
beautiful	O	O
people	O	O
you	O	O
!	O	O

Thanks	O	O
!	O	O

update	O	O
:	O	O

Hey	O	O
!	O	O

Got	O	O
it	O	O
working	O	O

Here	O	O
;s	O	O
my	O	O
new	O	O
controller	O	O
;	O	O

And	O	O
what	O	O
did	O	O
the	O	O
trick	O	O
,	O	O
in	O	O
my	O	O
actionlink	O	B-Function
in	O	O
my	O	O
view	O	O
...	O	O
.	O	O

Thanks	O	O
for	O	O
you	O	O
help	O	O
!	O	O

!	O	O

Since	O	O
both	O	O
'	O	O
start	B-Code_Block	B-Variable
'	O	O
and	O	O
'	O	O
day	B-Code_Block	B-Variable
'	O	O
are	O	O
of	O	O
type	O	O
DateTime	B-Code_Block	B-Class
,	O	O
the	O	O
comparer	O	O
on	O	O
them	O	O
is	O	O
going	O	O
to	O	O
check	O	O
each	O	O
bit	O	O
for	O	O
a	O	O
full	O	O
DateTime	B-Code_Block	B-Class
object	O	O
.	O	O

If	O	O
you	O	O
're	O	O
just	O	O
trying	O	O
to	O	O
browse	O	B-Function
for	O	O
the	O	O
day	O	O
,	O	O
and	O	O
not	O	O
the	O	O
exact	O	O
millisecond	O	O
of	O	O
a	O	O
DateTime	B-Code_Block	B-Class
,	O	O
try	O	O
:	O	O

It	O	O
's	O	O
also	O	O
a	O	O
pretty	O	O
good	O	O
idea	O	O
to	O	O
do	O	O
some	O	O
null	O	B-Value
checking	O	O
on	O	O
those	O	O
nullable	O	O
fields	O	O
as	O	O
well	O	O
.	O	O

I	O	O
am	O	O
using	O	O
methods	O	O
to	O	O
serialize	O	B-Function
and	O	O
de-serialize	O	B-Function
objects	O	O
to	O	O
binary	O	B-File_Type
file	O	O
that	O	O
I	O	O
have	O	O
found	O	O
described	O	O
and	O	O
discussed	O	O
here	O	O
on	O	O
stackoverflow	O	B-Website
.	O	O

among	O	O
others	O	O
in	O	O
following	O	O
link	O	O
:	O	O
https://stackoverflow.com/questions/21080839/pulling-objects-from-binary-file-and-putting-in-listt	O	O
The	O	O
serialisation	O	O
process	O	O
is	O	O
working	O	O
fine	O	O
,	O	O
I	O	O
see	O	O
the	O	O
file	O	B-Class
growing	O	O
when	O	O
objects	O	O
are	O	O
appended	O	O
to	O	O
it	O	O
and	O	O
when	O	O
reading	O	O
with	O	O
deserialization	O	O
the	O	O
problem	O	O
is	O	O
that	O	O
I	O	O
only	O	O
get	O	O
the	O	O
part	O	O
of	O	O
the	O	O
list	O	B-Data_Structure
that	O	O
was	O	O
written	O	O
in	O	O
the	O	O
first	O	O
write	O	B-Function
to	O	O
file	O	B-Class
.	O	O

The	O	O
data	O	O
retrieved	O	O
seem	O	O
correct	O	O
,	O	O
but	O	O
I	O	O
do	O	O
not	O	O
get	O	O
to	O	O
read	O	B-Function
beyond	O	O
the	O	O
first	O	O
number	O	O
of	O	O
objects	O	O
that	O	O
were	O	O
in	O	O
the	O	O
list	O	B-Data_Structure
in	O	O
the	O	O
first	O	O
"	O	O
write	O	B-Function
"	O	O
operation	O	O
.	O	O

it	O	O
is	O	O
like	O	O
the	O	O
file	O	B-Class
position	O	O
is	O	O
always	O	O
set	O	O
to	O	O
zero	O	B-Value
.	O	O

can	O	O
the	O	O
read	O	B-Function
operation	O	O
be	O	O
looped	O	O
or	O	O
controlled	O	O
in	O	O
any	O	O
way	O	O
to	O	O
forced	O	O
it	O	O
to	O	O
read	O	B-Function
the	O	O
entire	O	O
file	O	B-Class
?	O	O

Appreciate	O	O
your	O	O
comments	O	O
on	O	O
this	O	O

Thor	O	B-User_Name

I	O	O
solved	O	O
the	O	O
issue	O	O
after	O	O
reading	O	O
a	O	O
post	O	O
from	O	O
Fateme	O	B-User_Name
Shirmohammadi	O	I-User_Name
on	O	O
Stackoverflow	O	B-Website
.	O	O

The	O	O
solution	O	O
is	O	O
to	O	O
check	O	O
where	O	O
in	O	O
the	O	O
stream	O	B-Class
the	O	O
"	O	O
reader	O	O
"	O	O
is	O	O
and	O	O
loop	O	O
until	O	O
it	O	O
reaches	O	O
the	O	O
end	O	O
or	O	O
length	O	O
of	O	O
the	O	O
stream	O	B-Class
.	O	O

In	O	O
each	O	O
iteration	O	O
you	O	O
append	O	O
the	O	O
range	O	O
to	O	O
the	O	O
list	O	B-Data_Structure
.	O	O

See	O	O
the	O	O
changed	O	O
read()	O	B-Function
method	O	O
attached	O	O
;	O	O

I	O	O
should	O	O
give	O	O
credit	O	O
to	O	O
ladenedge	O	B-User_Name
and	O	O
Marc	O	B-User_Name
Gravell	O	I-User_Name
who	O	O
answered	O	O
to	O	O
Fateme	O	B-User_Name
's	O	O
questions	O	O
.	O	O

Stackoverflow	O	B-Website
is	O	O
rely	O	O
a	O	O
great	O	O
resource	O	O
.	O	O

Thor	O	B-User_Name
P	O	I-User_Name

I	O	O
'm	O	O
using	O	O
Postgres	O	B-Library
.	O	O

I	O	O
have	O	O
a	O	O
table	O	B-Data_Structure
of	O	O
Artices	O	O
in	O	O
my	O	O
database	O	O
,	O	O
with	O	O
a	O	O
column	O	B-Data_Structure
url	O	B-Variable
for	O	O
url	O	O
slugs	O	O
.	O	O

These	O	O
are	O	O
so	O	O
that	O	O
I	O	O
can	O	O
display	O	O
the	O	O
articles	O	O
in	O	O
that	O	O
table	O	B-Data_Structure
on	O	O
a	O	O
website	O	O
as	O	O
not	O	O
"	O	O
example.com/23323	B-Code_Block	B-Value
"	O	O
but	O	O
instead	O	O
as	O	O
"	O	O
example.com/Funny_Thing_Happened_to_Me	B-Code_Block	B-Value
"	O	O
.	O	O

This	O	O
was	O	O
straightforward	O	O
enough	O	O
to	O	O
implement	O	O
,	O	O
and	O	O
then	O	O
as	O	O
the	O	O
number	O	O
of	O	O
articles	O	O
grew	O	O
,	O	O
I	O	O
added	O	O
an	O	O
index	O	O
to	O	O
the	O	O
table	O	B-Data_Structure
on	O	O
the	O	O
url	O	O
slugs	O	O
.	O	O

I	O	O
have	O	O
since	O	O
realized	O	O
that	O	O
while	O	O
I	O	O
want	O	O
to	O	O
be	O	O
able	O	O
to	O	O
display	O	O
capitalized	O	O
letters	O	O
in	O	O
the	O	O
urls	O	O
,	O	O
I	O	O
want	O	O
them	O	O
to	O	O
be	O	O
case	O	O
insensitive	O	O
in	O	O
terms	O	O
of	O	O
what	O	O
the	O	O
user	O	O
types	O	O
in	O	O
,	O	O
and	O	O
I	O	O
want	O	O
to	O	O
enforce	O	O
uniqueness	O	O
on	O	O
the	O	O
urls	O	O
in	O	O
a	O	O
case	O	O
insensitive	O	O
manner	O	O
.	O	O

Is	O	O
there	O	O
a	O	O
straightforward	O	O
way	O	O
to	O	O
quickly	O	O
search	O	O
based	O	O
on	O	O
a	O	O
text	O	O
column	O	B-User_Interface_Element
in	O	O
a	O	O
case	O	O
insensitive	O	O
way	O	O
,	O	O
and	O	O
also	O	O
enforce	O	O
uniqueness	O	O
in	O	O
a	O	O
case	O	O
insensitive	O	O
way	O	O
?	O	O

I	O	O
've	O	O
tried	O	O
conducting	O	O
the	O	O
searches	O	O
with	O	O
something	O	O
like	O	O
lower(url)	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
but	O	O
that	O	O
causes	O	O
Postgres	O	B-Library
to	O	O
decide	O	O
not	O	O
to	O	O
use	O	O
the	O	O
index	O	O
at	O	O
all	O	O
.	O	O

Is	O	O
this	O	O
what	O	O
you	O	O
are	O	O
looking	O	O
for	O	O
?	O	O

What	O	O
do	O	O
you	O	O
mean	O	O
by	O	O
"	O	O
enforce	O	O
uniqueness	O	O
in	O	O
a	O	O
case	O	O
insensitive	O	O
way	O	O
"	O	O
?	O	O

Or	O	O
this	O	O
if	O	O
you	O	O
want	O	O
to	O	O
stick	O	O
to	O	O
the	O	O
"lower()"	O	B-Function
:	O	O

Use	O	O
a	O	O
functional	O	O
index	O	O
:	O	O

If	O	O
you	O	O
're	O	O
on	O	O
8.4	O	B-Version
and	O	O
can	O	O
install	O	O
a	O	O
contrib	O	B-Library
module	O	I-Library
,	O	O
then	O	O
also	O	O
take	O	O
a	O	O
look	O	O
at	O	O
the	O	O
citext	O	B-Data_Type
type	O	O
.	O	O

It	O	O
abstracts	O	O
away	O	O
all	O	O
the	O	O
lower/UPPER	O	O
stuff	O	O
and	O	O
is	O	O
slightly	O	O
better	O	O
performing	O	O
.	O	O

Good	O	O
afternoon	O	O
,	O	O
I	O	O
'm	O	O
stuck	O	O
with	O	O
a	O	O
small	O	O
problem	O	O
of	O	O
formulas	O	O
in	O	O
excel	O	B-Application
:	O	O

I	O	O
have	O	O
a	O	O
table	O	B-User_Interface_Element
in	O	O
another	O	O
sheet	O	B-User_Interface_Element
and	O	O
I	O	O
have	O	O
to	O	O
perform	O	O
the	O	O
following	O	O
operations	O	O
:	O	O

1	O	O
.	O	O
number	O	O
of	O	O
units	O	O
sold	O	O
in	O	O
Bogota	O	B-Value
.	O	O

2	O	O
.	O	O
number	O	O
of	O	O
units	O	O
sold	O	O
in	O	O
different	O	O
cities	O	O
to	O	O
Bogota	O	B-Value
.	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
use	O	O
the	O	O
formula	O	O
:	O	O

For	O	O
the	O	O
first	O	O
requirement	O	O
works	O	O
,	O	O
but	O	O
at	O	O
the	O	O
moment	O	O
of	O	O
using	O	O
it	O	O
to	O	O
know	O	O
which	O	O
city	O	O
is	O	O
different	O	O
from	O	O
Bogota	O	B-Value
,	O	O
I	O	O
do	O	O
not	O	O
know	O	O
how	O	O
to	O	O
do	O	O
it	O	O
;	O	O
try	O	O
to	O	O
use	O	O
the	O	O
<>	O	B-Code_Block
operator	O	O
but	O	O
I	O	O
get	O	O
an	O	O
error	O	O
and	O	O
placing	O	O
the	O	O
formula	O	O
as	O	O
follows	O	O
:	O	O

do	O	O
not	O	O
add	O	O
the	O	O
data	O	O
(	O	O
Summation	O	O
gives	O	O
0	O	B-Value
)	O	O
.	O	O

Someone	O	O
has	O	O
an	O	O
idea	O	O
of	O	O
the	O	O
problem	O	O
.	O	O

I	O	O
believe	O	O
you	O	O
have	O	O
to	O	O
put	O	O
quotes	O	O
"	O	O
like	O	O
this	O	O
"	O	O
around	O	O
the	O	O
entire	O	O
logical	O	O
statement	O	O
""	O	B-Code_Block
<>	O	I-Code_Block
BOGOTA	O	I-Code_Block
"	O	I-Code_Block

It	O	O
can	O	O
be	O	O
used	O	O
like	O	O
this	O	O
:	O	O

=SUMIF(DATOS!$G$4:$G$146;"<>BOGOTA")	O	B-Code_Block

Hope	O	O
this	O	O
helps	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
update	O	O
an	O	O
existing	O	O
database	O	O
entry	O	O
using	O	O
Hibernate	O	B-Library
and	O	O
PostgreSQL	O	B-Application
(	O	O
9.5	O	B-Version
)	O	O
so	O	O
that	O	O
white	O	O
space	O	O
is	O	O
trimmed	O	O
from	O	O
strings	O	B-Data_Type
.	O	O

For	O	O
example	O	O
..	O	O
.	O	O

Else	O	O
where	O	O
in	O	O
my	O	O
code	O	O
I	O	O
successfully	O	O
update	O	O
other	O	O
fields	O	O
,	O	O
for	O	O
example	O	O
the	O	O
updatedAt	O	B-Function
time	O	O
field	O	O
in	O	O
the	O	O
example	O	O
above	O	O
.	O	O

However	O	O
,	O	O
I	O	O
cannot	O	O
remove	O	O
trailing	O	O
white	O	O
space	O	O
from	O	O
the	O	O
locale	O	O
field	O	O
.	O	O

I	O	O
could	O	O
,	O	O
if	O	O
I	O	O
wanted	O	O
to	O	O
change	O	O
the	O	O
locale	O	O
field	O	O
to	O	O
something	O	O
else	O	O
entirely	O	O
,	O	O
for	O	O
example	O	O
using	O	O
something	O	O
like	O	O
this	O	O
..	O	O
.	O	O

This	O	O
will	O	O
change	O	O
the	O	O
locale	O	O
value	O	O
.	O	O

I	O	O
just	O	O
cannot	O	O
remove	O	O
white	O	O
space	O	O
.	O	O

Any	O	O
ideas	O	O
?	O	O

we	O	O
need	O	O
more	O	O
info	O	O
(	O	O
ex	O	O
Entity	O	O
and	O	O
Schema	O	O
Data	O	O
Definition	O	O
)	O	O
.	O	O

check	O	O
if	O	O
it	O	O
uses	O	O
a	O	O
char	O	B-Data_Type
instead	O	O
of	O	O
varchar	O	B-Data_Type
in	O	O
Schema	O	O
.	O	O

if	O	O
it	O	O
uses	O	O
char	O	B-Data_Type
it	O	O
would	O	O
have	O	O
same	O	O
length	O	O
appended	O	O
with	O	O
empty	O	O
space	O	O
.	O	O

I	O	O
am	O	O
using	O	O
SDWebImage	O	B-Library
library	O	O
and	O	O
its	O	O
working	O	O
on	O	O
iPhone	O	B-Device
.	O	O

But	O	O
I	O	O
do	O	O
n't	O	O
know	O	O
why	O	O
this	O	O
is	O	O
not	O	O
called	O	O
in	O	O
iPad	O	B-Device
.	O	O

I	O	O
tried	O	O
to	O	O
put	O	O
break	O	O
points	O	O
,	O	O
but	O	O
it	O	O
does	O	O
n't	O	O
hit	O	O
the	O	O
break	O	O
point	O	O
either	O	O
.	O	O

I	O	O
put	O	O
this	O	O
method	O	O
in	O	O
cellForItemAtIndexPath	O	B-Function
.	O	O

There	O	O
is	O	O
a	O	O
problem	O	O
in	O	O
concurrent	O	O
image	O	B-User_Interface_Element
loading	O	O
implementation	O	O
.	O	O

When	O	O
-collectionView	B-Code_Block	B-Function
:	I-Code_Block	I-Function
cellForItemAtIndexPath	I-Code_Block	I-Function
:	I-Code_Block	I-Function
is	O	O
calling	O	O
,	O	O
the	O	O
device	O	O
executes	O	O
code	O	O
on	O	O
the	O	O
main	O	O
queue	O	B-Data_Structure
.	O	O

Assuming	O	O
that	O	O
-downloadImageWithURL	B-Code_Block	B-Function
:	I-Code_Block	I-Function
options	I-Code_Block	I-Function
:	I-Code_Block	I-Function
progress	I-Code_Block	I-Function
:	I-Code_Block	I-Function
completed	I-Code_Block	I-Function
:	I-Code_Block	I-Function
method	O	O
performs	O	O
image	O	B-User_Interface_Element
loading	O	O
on	O	O
the	O	O
background	O	O
thread	O	O
and	O	O
returns	O	O
instantly	O	O
we	O	O
can	O	O
call	O	O
it	O	O
without	O	O
dispatch_async(dispatch_get_main_queue	B-Code_Block	B-Code_Block
()	I-Code_Block	I-Code_Block
...	I-Code_Block	I-Code_Block
wrapping	O	O
.	O	O

Otherwise	O	O
we	O	O
cannot	O	O
guarantee	O	O
that	O	O
the	O	O
completion	O	O
handler	O	O
is	O	O
executing	O	O
on	O	O
the	O	O
main	O	O
thread	O	O
,	O	O
so	O	O
the	O	O
code	O	O
should	O	O
look	O	O
like	O	O
this	O	O

And	O	O
the	O	O
different	O	O
results	O	O
on	O	O
iPhone	O	B-Device
and	O	O
iPad	O	B-Device
can	O	O
be	O	O
explained	O	O
by	O	O
the	O	O
architectural	O	O
differences	O	O
in	O	O
technical	O	O
specifications	O	O
of	O	O
testing	O	O
devices	O	O
.	O	O

I	O	O
am	O	O
tring	O	O
to	O	O
do	O	O
occlusion	O	O
with	O	O
Google	O	B-Application
Tango	O	I-Application
in	O	O
Unity	O	B-Application
.	O	O

What	O	O
I	O	O
want	O	O
is	O	O
pretty	O	O
simple	O	O
to	O	O
understand	O	O
:	O	O
when	O	O
there	O	O
is	O	O
a	O	O
real	O	O
object	O	O
in	O	O
front	O	O
of	O	O
a	O	O
virtual	O	O
object	O	O
,	O	O
the	O	O
virtual	O	O
object	O	O
is	O	O
hidden	O	O
(	O	O
or	O	O
rendered	O	O
differently	O	O
)	O	O

The	O	O
perfect	O	O
result	O	O
would	O	O
be	O	O
like	O	O
it	O	O
is	O	O
in	O	O
this	O	O
impressive	O	O
video	O	B-User_Interface_Element
I	O	O
found	O	O
:	O	O
https://www.youtube.com/watch?v=EpDhaM7ZhZs	O	O
.	O	O

I	O	O
already	O	O
tried	O	O
the	O	O
"	O	O
Enable	O	O
occlusion	O	O
"	O	O
option	O	O
of	O	O
the	O	O
Tango	O	B-Device
Camera	O	I-Device
and	O	O
I	O	O
am	O	O
not	O	O
so	O	O
happy	O	O
with	O	O
the	O	O
results	O	O
(	O	O
it	O	O
is	O	O
not	O	O
accurate	O	O
and	O	O
not	O	O
real	O	O
time	O	O
as	O	O
it	O	O
is	O	O
based	O	O
on	O	O
mesh	O	O
reconstruction	O	O
from	O	O
the	O	O
point	O	O
cloud	O	O
)	O	O
.	O	O

If	O	O
you	O	O
have	O	O
hints	O	O
,	O	O
tips	O	O
or	O	O
ideas	O	O
about	O	O
how	O	O
to	O	O
achieve	O	O
this	O	O
(	O	O
like	O	O
in	O	O
the	O	O
video	O	B-User_Interface_Element
)	O	O
,	O	O
that	O	O
would	O	O
be	O	O
awesome	O	O
!	O	O

Occlusion	O	O
is	O	O
still	O	O
a	O	O
very	O	O
experimental	O	O
feature	O	O
on	O	O
Tango	O	B-Application
.	O	O

The	O	O
problem	O	O
is	O	O
that	O	O
it	O	O
's	O	O
very	O	O
hard	O	O
to	O	O
do	O	O
occlusion	O	O
with	O	O
high	O	O
fidelity	O	O
and	O	O
high	O	O
performance	O	O
,	O	O
here	O	O
's	O	O
couple	O	O
of	O	O
ideas	O	O
on	O	O
how	O	O
to	O	O
achieve	O	O
it	O	O
using	O	O
different	O	O
method	O	O
:	O	O

Use	O	O
3D	O	O
reconstruction	O	O
.	O	O

Tango	O	B-Application
does	O	O
provide	O	O
functionalities	O	O
to	O	O
construct	O	O
3D	O	O
meshes	O	O
from	O	O
point	O	O
cloud	O	O
,	O	O
you	O	O
can	O	O
find	O	O
sample	O	O
code	O	O
from	O	O
Tango	O	B-Application
sample	O	O
code	O	O
repository	O	O
(	O	O
C	O	B-Language
,	O	O
Java	O	B-Language
,	O	O
Unity	O	B-Application
)	O	O
.	O	O

If	O	O
you	O	O
have	O	O
a	O	O
world	O	O
that	O	O
is	O	O
pre-scanned	O	O
,	O	O
you	O	O
can	O	O
essentially	O	O
use	O	O
that	O	O
mesh	O	O
data	O	O
to	O	O
occluded	O	O
virtual	O	O
object	O	O
.	O	O

Run	O	O
time	O	O
up-sampling	O	O
depth	O	O
image	O	B-User_Interface_Element
.	O	O

You	O	O
can	O	O
also	O	O
project	O	O
all	O	O
point	O	O
clouds	O	O
on	O	O
to	O	O
an	O	O
image	O	B-User_Interface_Element
plane	O	I-User_Interface_Element
,	O	O
up-sample	O	O
it	O	O
,	O	O
and	O	O
use	O	O
the	O	O
image	O	B-User_Interface_Element
as	O	O
a	O	O
depth	O	O
buffer	O	O
for	O	O
rendering	O	O
.	O	O

This	O	O
is	O	O
what	O	O
ARScreen	O	B-Device
occlusion	O	O
is	O	O
using	O	O
in	O	O
TangoUnitySDK	O	B-Library
.	O	O

Due	O	O
to	O	O
the	O	O
limitation	O	O
of	O	O
Tango	O	B-Application
depth	O	O
sensing	O	O
hardware	O	O
,	O	O
the	O	O
result	O	O
quality	O	O
is	O	O
not	O	O
very	O	O
ideal	O	O
,	O	O
and	O	O
it	O	O
will	O	O
not	O	O
work	O	O
if	O	O
all	O	O
physical	O	O
objects	O	O
are	O	O
far	O	O
away	O	O
(	O	O
beyond	O	O
4	O	O
meters	O	O
)	O	O
from	O	O
the	O	O
device	O	O
.	O	O

talbe	O	B-User_Interface_Element
row	O	I-User_Interface_Element
with	O	O
as	O	O
set	O	O
of	O	O
elements	O	O
(	O	O
textboxes	O	B-User_Interface_Element
)	O	O
are	O	O
dynamically	O	O
created	O	O
by	O	O
Javascript	O	B-Language
like	O	O
follow	O	O
:	O	O

after	O	O
submitted	O	O
,	O	O
i	O	O
want	O	O
to	O	O
retrieve	O	O
the	O	O
values	O	O
that	O	O
are	O	O
input	O	O
in	O	O
the	O	O
dynamically	O	O
created	O	O
textboxes	O	B-User_Interface_Element
using	O	O
php	O	B-File_Type
file	O	O
like	O	O
:	O	O

however	O	O
,	O	O
i	O	O
got	O	O
"	O	O
Internal	O	B-Error_Name
Server	O	I-Error_Name
Error	O	I-Error_Name
"	O	O
,	O	O
any	O	O
suggestion	O	O
about	O	O
reasons	O	O
?	O	O

thanx	O	O
in	O	O
advance	O	O
.	O	O

thanx	O	O
a	O	O
lot	O	O
for	O	O
reply	O	O
.	O	O

The	O	O
problem	O	O
is	O	O
that	O	O
in	O	O
loop	O	O
control	O	O
,	O	O
i	O	O
miss	O	O
"	O	B-Value
$	O	I-Value
"	O	I-Value
before	O	O
index	O	O
i	O	B-Variable
.	O	O

I	O	O
'm	O	O
using	O	O
a	O	O
Java	O	B-Language
library	O	O
that	O	O
uses	O	O
a	O	O
socket	O	B-Class
to	O	O
communicate	O	O
with	O	O
the	O	O
world	O	O
.	O	O

I	O	O
'd	O	O
like	O	O
to	O	O
get	O	O
a	O	O
reference	O	O
to	O	O
that	O	O
socket	O	B-Class
so	O	O
I	O	O
can	O	O
monitor	O	O
the	O	O
data	O	O
the	O	O
library	O	O
is	O	O
sending	O	O
and	O	O
receiving	O	O
.	O	O

Is	O	O
there	O	O
any	O	O
way	O	O
to	O	O
hook	O	O
Java	O	B-Language
's	O	O
sockets	O	B-Class
system	O	O
so	O	O
I	O	O
can	O	O
monitor	O	O
socket	O	B-Class
communications	O	O
when	O	O
I	O	O
ca	O	O
n't	O	O
modify	O	O
the	O	O
code	O	O
that	O	O
creates	O	O
the	O	O
socket	O	B-Class
?	O	O

Have	O	O
a	O	O
look	O	O
at	O	O
that	O	O
idea	O	O
:	O	O

Finding	O	O
out	O	O
what	O	O
network	O	O
sockets	O	B-Class
are	O	O
open	O	O
in	O	O
the	O	O
current	O	O
Java	O	B-Application
VM	O	I-Application

I	O	O
have	O	O
n't	O	O
tested	O	O
it	O	O
,	O	O
but	O	O
it	O	O
looks	O	O
interesting	O	O
as	O	O
it	O	O
presents	O	O
a	O	O
way	O	O
to	O	O
hook	O	O
into	O	O
the	O	O
socket	O	B-Class
creation	O	O
process	O	O
of	O	O
Java	O	B-Language
.	O	O

Situation	O	O
:	O	O

I	O	O
'm	O	O
building	O	O
a	O	O
website	O	O
on	O	O
Bootstrap	O	B-Library
3.0	O	B-Version
,	O	O
and	O	O
it	O	O
contains	O	O
a	O	O
section	O	O
with	O	O
upcoming	O	O
events	O	O
.	O	O

If	O	O
a	O	O
user	O	O
wants	O	O
to	O	O
attend	O	O
,	O	O
they	O	O
can	O	O
do	O	O
that	O	O
by	O	O
clicking	O	O
on	O	O
the	O	O
event	O	O
.	O	O

Now	O	O
a	O	O
modal	O	O
appears	O	O
with	O	O
name	O	O
,	O	O
e-mail	O	O
and	O	O
event	O	O
title	O	O
input	O	B-User_Interface_Element
fields	O	I-User_Interface_Element
.	O	O

The	O	O
e-mail	O	O
goes	O	O
to	O	O
me	O	O
so	O	O
I	O	O
know	O	O
who	O	O
's	O	O
coming	O	O
for	O	O
what	O	O
.	O	O

This	O	O
is	O	O
the	O	O
html	O	B-Language
for	O	O
a	O	O
single	O	O
event	O	O
:	O	O

Question	O	O
:	O	O
How	O	O
can	O	O
I	O	O
code	O	O
this	O	O
,	O	O
so	O	O
it	O	O
automatically	O	O
adds	O	O
the	O	O
title	O	O
of	O	O
an	O	O
event	O	O
to	O	O
the	O	O
e-mail	O	O
by	O	O
clicking	O	O
on	O	O
the	O	O
event	O	O
?	O	O

I	O	O
do	O	O
n't	O	O
want	O	O
users	O	O
to	O	O
type	O	O
the	O	O
event	O	O
title	O	O
manually	O	O
when	O	O
the	O	O
modal	O	O
appears	O	O
.	O	O

I	O	O
'm	O	O
also	O	O
open	O	O
for	O	O
better	O	O
ways	O	O
to	O	O
do	O	O
this	O	O
.	O	O

current	O	O
process	O	O
:	O	O

visitor	O	O
clicks	O	O
on	O	O
event	O	O
>	O	O
fills	O	O
in	O	O
name	O	O
,	O	O
e-mail	O	O
and	O	O
event	O	O
title	O	O
>	O	O
submits	O	O
form	O	O

future	O	O
process	O	O
:	O	O

visitor	O	O
clicks	O	O
on	O	O
event	O	O
>	O	O
fills	O	O
in	O	O
name	O	O
,	O	O
email	O	O
>	O	O
submits	O	O
form	O	O

Info	O	O
:	O	O

I	O	O
'll	O	O
be	O	O
using	O	O
Wordpress	O	B-Application
as	O	O
CMS	O	O
.	O	O

I	O	O
'm	O	O
assuming	O	O
you	O	O
are	O	O
working	O	O
with	O	O
a	O	O
custom	O	O
post	O	O
type	O	O
for	O	O
your	O	O
events	O	O
.	O	O

Yes	O	O
,	O	O
you	O	O
will	O	O
need	O	O
to	O	O
populate	O	O
the	O	O
hidden	O	O
field	O	B-User_Interface_Element
yourself	O	O
.	O	O

On	O	O
the	O	O
single	O	O
template	O	O
,	O	O
in	O	O
the	O	O
form	O	B-HTML_XML_Tag
markup	O	O
,	O	O
you	O	O
can	O	O
output	O	O
the	O	O
title	O	O
of	O	O
the	O	O
event	O	O
as	O	O
the	O	O
value	O	O
of	O	O
the	O	O
hidden	O	O
field	O	O
by	O	O
using	O	O
the	O	O
wordpress	O	B-Application
function	O	O
the_title()	O	B-Function
.	O	O

You	O	O
could	O	O
also	O	O
do	O	O
it	O	O
with	O	O
javascript	O	B-Language
,	O	O
but	O	O
this	O	O
is	O	O
exactly	O	O
the	O	O
kind	O	O
of	O	O
situation	O	O
wordpress	O	B-Application
templates	O	O
and	O	O
PHP	O	B-Language
are	O	O
made	O	O
for	O	O
.	O	O

You	O	O
might	O	O
also	O	O
think	O	O
about	O	O
grabbing	O	O
the	O	O
event	O	O
post	O	B-Variable
id	O	I-Variable
for	O	O
the	O	O
event	O	O
using	O	O
the_ID()	O	B-Function
.	O	O

Two	O	O
events	O	O
can	O	O
easily	O	O
have	O	O
the	O	O
same	O	O
title	O	O
,	O	O
but	O	O
will	O	O
never	O	O
have	O	O
the	O	O
same	O	O
post	O	B-Variable
id	O	I-Variable
.	O	O

It	O	O
is	O	O
worth	O	O
noting	O	O
that	O	O
even	O	O
though	O	O
named	O	O
"	O	B-Value
hidden	O	I-Value
field	O	I-Value
"	O	I-Value
,	O	O
the	O	O
values	O	O
are	O	O
easily	O	O
accessible	O	O
to	O	O
anyone	O	O
using	O	O
your	O	O
form	O	B-User_Interface_Element
,	O	O
and	O	O
after	O	O
the	O	O
page	O	O
loads	O	O
and	O	O
your	O	O
PHP	O	B-Language
is	O	O
output	O	O
,	O	O
they	O	O
can	O	O
be	O	O
changed	O	O
to	O	O
anything	O	O
very	O	O
easily	O	O
and	O	O
then	O	O
submitted	O	O
.	O	O

So	O	O
if	O	O
you	O	O
have	O	O
any	O	O
restrictions	O	O
on	O	O
what	O	O
events	O	O
are	O	O
shown	O	O
to	O	O
what	O	O
users	O	O
,	O	O
someone	O	O
can	O	O
potentially	O	O
just	O	O
replace	O	O
the	O	O
title	O	O
in	O	O
their	O	O
form	O	B-User_Interface_Element
with	O	O
an	O	O
event	O	O
they	O	O
should	O	O
n't	O	O
be	O	O
able	O	O
to	O	O
rsvp	O	O
for	O	O
,	O	O
but	O	O
you	O	O
'd	O	O
never	O	O
know	O	O
that	O	O
from	O	O
the	O	O
email	O	O
you	O	O
receive	O	O
.	O	O

But	O	O
that	O	O
's	O	O
a	O	O
whole	O	O
other	O	O
question	O	O
.	O	O

Why	O	O
is	O	O
this	O	O
formatted	O	O
string	O	B-Data_Type
template	O	O

faster	O	O
than	O	O
just	O	O
a	O	O
regular	O	O
string	O	B-Data_Type
template	O	O
on	O	O
1	O	O
line	O	O
like	O	O

You	O	O
can	O	O
see	O	O
the	O	O
benchmark	O	O
in	O	O
the	O	O
JsPerf	O	B-Application
test	O	O
linked	O	O
below	O	O
.	O	O

Also	O	O
why	O	O
does	O	O
Firefox	O	B-Application
perform	O	O
way	O	O
better	O	O
than	O	O
Chrome	O	B-Application
on	O	O
this	O	O
benchmark	O	O
?	O	O

JsPerf	O	B-Application
test	O	O

I	O	O
have	O	O
a	O	O
simple	O	O
python	O	B-Language
script	O	O
that	O	O
compares	O	O
a	O	O
range	O	O
using	O	O
netaddr	O	B-Library
with	O	O
the	O	O
host	O	O
file	O	O
.	O	O

I	O	O
need	O	O
to	O	O
print	O	O
the	O	O
whole	O	O
range	O	O
and	O	O
the	O	O
matches	O	O
.	O	O

This	O	O
as	O	O
far	O	O
as	O	O
I	O	O
can	O	O
go	O	O
.	O	O

Snippet	O	O
below	O	O
:	O	O

Something	O	O
like	O	O
this	O	O
:	O	O

192.168.1.1	O	B-Value
192.168.1.1	O	I-Value
host1	O	B-Variable

192.168.1.2	O	B-Value
192.168.1.2	O	I-Value
host2	O	B-Variable

192.168.1.3	O	B-Value

I	O	O
would	O	O
like	O	O
to	O	O
still	O	O
print	O	O
the	O	O
IP	O	B-Variable
even	O	O
if	O	O
there	O	O
is	O	O
no	O	O
match	O	O
.	O	O

Any	O	O
assistance	O	O
would	O	O
be	O	O
greatly	O	O
appreciated	O	O
!	O	O

Easy	O	O
solution	O	O
would	O	O
be	O	O
to	O	O
initialize	O	O
a	O	O
match	O	O
variable	O	O
and	O	O
then	O	O
print	O	O
the	O	O
ip	O	B-Variable
once	O	O
if	O	O
it	O	O
does	O	O
n't	O	O
turn	O	O
on	O	O
.	O	O

For	O	O
example	O	O
:	O	O

I	O	O
'm	O	O
looking	O	O
for	O	O
a	O	O
good	O	O
way	O	O
to	O	O
programmatically	O	O
initiate	O	O
editing	O	O
on	O	O
a	O	O
System.Windows.Forms.PropertyGrid	O	B-Class
.	O	O

I	O	O
can	O	O
select	O	O
the	O	O
GridItem	O	B-Class
that	O	O
I	O	O
want	O	O
,	O	O
but	O	O
that	O	O
does	O	O
n't	O	O
move	O	O
the	O	O
cursor	O	B-User_Interface_Element
into	O	O
the	O	O
edit	O	O
field	O	B-User_Interface_Element
.	O	O

Did	O	O
you	O	O
try	O	O
sending	O	O
the	O	O
TAB	O	B-Keyboard_IP
key	O	O
?	O	O

I	O	O
had	O	O
reviewed	O	O
this	O	O
thread	O	O
which	O	O
covers	O	O
performing	O	O
a	O	O
bulk	O	O
insert	O	O
using	O	O
the	O	O
mysql	O	B-Application
node	O	B-Class
module	O	O
but	O	O
with	O	O
a	O	O
very	O	O
particular	O	O
syntax	O	O
that	O	O
does	O	O
n't	O	O
include	O	O
the	O	O
use	O	O
of	O	O
subqueries	O	O
.	O	O

I	O	O
was	O	O
wondering	O	O
how	O	O
I	O	O
would	O	O
perform	O	O
a	O	O
bulk	O	O
insert	O	O
using	O	O
this	O	O
module	O	O
for	O	O
a	O	O
query	O	O
like	O	O
this	O	O
.	O	O

While	O	O
I	O	O
'm	O	O
able	O	O
to	O	O
run	O	O
this	O	O
in	O	O
the	O	O
mysql	O	B-Application
module	O	O
just	O	O
fine	O	O
over	O	O
a	O	O
loop	O	O
,	O	O
I	O	O
was	O	O
hoping	O	O
for	O	O
a	O	O
speedier	O	O
insert	O	O
process	O	O
,	O	O
but	O	O
ca	O	O
n't	O	O
seem	O	O
to	O	O
figure	O	O
out	O	O
how	O	O
to	O	O
adjust	O	O
the	O	O
syntax	O	O
so	O	O
it	O	O
works	O	O
for	O	O
a	O	O
bulk	O	O
insert	O	O
operation	O	O
.	O	O

Cheers	O	O
.	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
configure	O	O
the	O	O
latest	O	O
version	O	O
of	O	O
Cruise	O	B-Library
Control	O	I-Library
with	O	O
SVN	O	B-Application
and	O	O
looking	O	O
for	O	O
the	O	O
simple	O	O
steps	O	O
to	O	O
do	O	O
the	O	O
same	O	O
.	O	O

Not	O	O
able	O	O
to	O	O
make	O	O
out	O	O
much	O	O
from	O	O
this	O	O
.	O	O

Any	O	O
help	O	O
will	O	O
be	O	O
appreciated	O	O

I	O	O
use	O	O
a	O	O
custom	O	O
block	O	O
like	O	O
this	O	O
:	O	O

(	O	O
just	O	O
put	O	O
it	O	O
somewhere	O	O
at	O	O
the	O	O
beginning	O	O
directly	O	O
under	O	O
the	O	O
root	O	O
node	O	O
)	O	O

Then	O	O
I	O	O
can	O	O
use	O	O
this	O	O
in	O	O
a	O	O
project	O	O
like	O	O
this	O	O
:	O	O

This	O	O
way	O	O
I	O	O
do	O	O
not	O	O
need	O	O
to	O	O
repeat	O	O
the	O	O
subversion	O	B-Application
configuration	O	O
all	O	O
the	O	O
time	O	O
.	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
setup	O	O
my	O	O
app	O	O
to	O	O
watch	O	O
the	O	O
window.innerWidth	B-Code_Block	B-Variable
property	O	O
and	O	O
add	O	O
a	O	O
property	O	O
to	O	O
the	O	O
$scope	B-Code_Block	B-Class
based	O	O
on	O	O
that	O	O
width	O	O
.	O	O

It	O	O
works	O	O
the	O	O
first	O	O
time	O	O
,	O	O
but	O	O
not	O	O
on	O	O
any	O	O
resize	O	O
after	O	O
that	O	O
.	O	O

Is	O	O
the	O	O
$digest	O	B-Function
method	O	O
not	O	O
being	O	O
called	O	O
?	O	O

If	O	O
so	O	O
why	O	O
not	O	O
?	O	O

Module	O	O

Controller	O	O

View	O	O

This	O	O
works	O	O
the	O	O
first	O	O
time	O	O
,	O	O
if	O	O
I	O	O
refresh	O	O
the	O	O
screen	O	B-User_Interface_Element
after	O	O
resizing	O	O
it	O	O
,	O	O
the	O	O
expand	O	B-Class
class	O	O
is	O	O
applied	O	O
,	O	O
but	O	O
when	O	O
I	O	O
resize	O	O
it	O	O
,	O	O
nothing	O	O
happens	O	O
,	O	O
the	O	O
console.log	O	B-Function
function	O	O
does	O	O
n't	O	O
even	O	O
fire	O	O

Resizing	O	O
the	O	O
window	O	B-User_Interface_Element
does	O	O
n't	O	O
cause	O	O
Angular	O	B-Library
to	O	O
re-run	O	O
a	O	O
$digest	B-Code_Block	B-Function
loop	O	O
,	O	O
so	O	O
window.innerWidth	B-Code_Block	B-Variable
'	O	O
s	O	O
value	O	O
is	O	O
checked	O	O
only	O	O
when	O	O
something	O	O
else	O	O
causes	O	O
it	O	O
.	O	O

You	O	O
should	O	O
instead	O	O
use	O	O
a	O	O
directive	O	O
(	O	O
ie	O	O
.	O	O
do	O	O
n't	O	O
do	O	O
this	O	O
work	O	O
in	O	O
your	O	O
controller	O	O
)	O	O
,	O	O
binding	O	O
to	O	O
the	O	O
window.onresize	B-Code_Block	B-Function
event	O	O
:	O	O

In	O	O
this	O	O
case	O	O
,	O	O
you	O	O
call	O	O
scope	B-Code_Block	B-Function
.	I-Code_Block	I-Function
$	I-Code_Block	I-Function
apply	I-Code_Block	I-Function
.	O	O

This	O	O
causes	O	O
the	O	O
$digest	O	B-Function
loop	O	O
to	O	O
run	O	O
following	O	O
this	O	O
event	O	O
,	O	O
which	O	O
is	O	O
outside	O	O
of	O	O
the	O	O
Angular	O	B-Library
context	O	O
.	O	O

You	O	O
can	O	O
use	O	O
this	O	O
directive	O	O
to	O	O
decorate	O	O
an	O	O
element	O	O
on	O	O
the	O	O
same	O	O
scope	O	O
as	O	O
the	O	O
variable	O	O
you	O	O
're	O	O
changing	O	O
:	O	O

Demo	O	O
(	O	O
best	O	O
viewed	O	O
full-screen	O	O
)	O	O

I	O	O
've	O	O
added	O	O
a	O	O
Digg	O	B-User_Interface_Element
button	O	I-User_Interface_Element
to	O	O
all	O	O
the	O	O
items	O	O
in	O	O
my	O	O
site	O	O
.	O	O

The	O	O
javascript	O	B-Language
required	O	O
for	O	O
dynamic	O	O
Digg	O	B-User_Interface_Element
buttons	O	I-User_Interface_Element
is	O	O
just	O	O
before	O	O
my	O	O
</body>	B-Code_Block	B-HTML_XML_Tag
close	O	O
tag	O	O
.	O	O

Everything	O	O
works	O	O
on	O	O
pages	O	B-User_Interface_Element
that	O	O
have	O	O
the	O	O
dynamic	O	O
Digg	O	B-User_Interface_Element
buttons	O	I-User_Interface_Element
on	O	O
them	O	O
,	O	O
but	O	O
on	O	O
pages	O	B-User_Interface_Element
that	O	O
do	O	O
n't	O	O
,	O	O
an	O	O
orphan	O	O
Digg	O	B-User_Interface_Element
icon	O	I-User_Interface_Element
is	O	O
floating	O	O
in	O	O
space	O	O
at	O	O
the	O	O
bottom	O	O
of	O	O
the	O	O
page	O	B-User_Interface_Element
.	O	O

Is	O	O
this	O	O
normal	O	O
behaviour	O	O
?	O	O

How	O	O
can	O	O
I	O	O
prevent	O	O
it	O	O
?	O	O

I	O	O
broke	O	O
down	O	O
and	O	O
simply	O	O
took	O	O
the	O	O
<script>	B-Code_Block	B-HTML_XML_Tag
out	O	O
of	O	O
my	O	O
base	O	O
template	O	O
and	O	O
only	O	O
put	O	O
it	O	O
on	O	O
pages	O	B-User_Interface_Element
with	O	O
digg	O	B-User_Interface_Element
buttons	O	I-User_Interface_Element
.	O	O

Took	O	O
some	O	O
extra	O	O
template	O	O
code	O	O
to	O	O
make	O	O
it	O	O
work	O	O
,	O	O
but	O	O
it	O	O
gets	O	O
rid	O	O
of	O	O
the	O	O
"	O	O
ghost	O	O
"	O	O
button	O	B-User_Interface_Element
.	O	O

How	O	O
can	O	O
I	O	O
program	O	O
a	O	O
function	O	O
to	O	O
change	O	O
the	O	O
visible	O	O
view	O	O
?	O	O

For	O	O
Example	O	O
:	O	O
I	O	O
click	O	O
on	O	O
a	O	O
button	O	B-User_Interface_Element
,	O	O
and	O	O
then	O	O
change	O	O
the	O	O
visible	O	O
view	O	O
to	O	O
a	O	O
second	O	O
view	O	O
.	O	O

In	O	O
xcode	O	B-Application
it	O	O
looks	O	O
like	O	O
this	O	O
picture	O	O
.	O	O

You	O	O
create	O	O
a	O	O
UIViewController	O	B-Class
and	O	O
simply	O	O
present	O	O
it	O	O
from	O	O
your	O	O
current	O	O
.	O	O

This	O	O
is	O	O
your	O	O
RootViewController	O	B-Class
in	O	O
the	O	O
IOSLauncher	O	B-Application
:	O	O

Then	O	O
create	O	O
a	O	O
new	O	O
one	O	O
in	O	O
code	O	O
:	O	O

And	O	O
then	O	O
switch	O	O
to	O	O
it	O	O
:	O	O

I	O	O
want	O	O
to	O	O
make	O	O
6	O	O
different	O	O
pies	O	B-User_Interface_Element
using	O	O
scatterpie	O	B-Library
.	O	O

There	O	O
are	O	O
101	O	O
different	O	O
categories	O	O
making	O	O
up	O	O
the	O	O
pies	O	B-User_Interface_Element
(	O	O
not	O	O
all	O	O
pies	O	B-User_Interface_Element
have	O	O
10	O	O
1)	O	O
,	O	O
so	O	O
I	O	O
want	O	O
to	O	O
be	O	O
able	O	O
to	O	O
differentiate	O	O
the	O	O
colors	O	O
.	O	O

This	O	O
does	O	O
not	O	O
give	O	O
me	O	O
enough	O	O
colors	O	O
(	O	O
I	O	O
can	O	O
tell	O	O
just	O	O
by	O	O
looking	O	O
at	O	O
the	O	O
pies	O	B-User_Interface_Element
)	O	O

Then	O	O
if	O	O
I	O	O
try	O	O
to	O	O
set	O	O
the	O	O
colors	O	O
manually	O	O
as	O	O
below	O	O
I	O	O
get	O	O
a	O	O
blank	O	O
screen	O	O
.	O	O

If	O	O
I	O	O
try	O	O
and	O	O
set	O	O
the	O	O
colors	O	O
in	O	O
the	O	O
scatterpie	O	B-Function
(color=sample(allcolors	O	B-Code_Block
,	O	I-Code_Block
101))	O	I-Code_Block
,	O	O
then	O	O
I	O	O
get	O	O
the	O	O
error	O	O

Error	O	O
:	O	O
Aesthetics	O	O
must	O	O
be	O	O
either	O	O
length	O	O
1	O	O
or	O	O
the	O	O
same	O	O
as	O	O
the	O	O
data	O	O
(	O	O
286	O	B-Error_Name
4)	O	I-Error_Name
:	O	O
colour	O	O

Here	O	O
is	O	O
the	O	O
final	O	O
working	O	O
code	O	O
.	O	O

I	O	O
had	O	O
to	O	O
switch	O	O
the	O	O
scale_color_manual	O	B-Function
to	O	O
scale_fill_manual	O	B-Function
.	O	O

And	O	O
here	O	O
is	O	O
the	O	O
plot	O	O

I	O	O
am	O	O
working	O	O
with	O	O
NVD3	O	B-Library
library	O	O
and	O	O
I	O	O
added	O	O
the	O	O
links	O	O
to	O	O
the	O	O
libraries	O	O
that	O	O
I	O	O
need.I	O	O
have	O	O
the	O	O
v3	O	B-Version
for	O	O
D3	O	B-Library
and	O	O
the	O	O
angular	O	B-Library
NVD3	O	I-Library
link	O	O
,	O	O
but	O	O
the	O	O
chart	O	O
is	O	O
not	O	O
rendering	O	O
and	O	O
I	O	O
get	O	O
an	O	O
error	O	O
like	O	O
below	O	O
.	O	O

This	O	O
are	O	O
the	O	O
links	O	O
in	O	O
my	O	O
index	O	B-File_Name
file	O	O
:	O	O

And	O	O
here	O	O
is	O	O
my	O	O
error	O	O
:	O	O

Does	O	O
anybody	O	O
have	O	O
any	O	O
ideas	O	O
on	O	O
how	O	O
to	O	O
solve	O	O
this	O	O
?	O	O

Sample	O	O
Code	O	O
.	O	O

I	O	O
need	O	O
to	O	O
call	O	O
a	O	O
method	O	O
on	O	O
a	O	O
controller	O	O
without	O	O
reload	O	O
the	O	O
page	O	O
.	O	O

Here	O	O
the	O	O
problem	O	O
,	O	O

I	O	O
have	O	O
a	O	O
jwplayer	O	B-Application
reciving	O	O
a	O	O
playlist	O	O
via	O	O
Rss	O	O
from	O	O
the	O	O
controller	O	O
,	O	O
and	O	O
then	O	O
when	O	O
the	O	O
playlist	O	O
end	O	O
's	O	O
I	O	O
need	O	O
to	O	O
get	O	O
another	O	O
playlist	O	O
from	O	O
the	O	O
controller	O	O
,	O	O
but	O	O
I	O	O
ca	O	O
n't	O	O
refresh	O	O
the	O	O
page	O	O
(	O	O
That	O	O
's	O	O
the	O	O
easier	O	O
way	O	O
)	O	O
because	O	O
the	O	O
player	O	B-Class
do	O	O
n't	O	O
do	O	O
fullscreen	O	O
automatically	O	O
.	O	O

How	O	O
can	O	O
I	O	O
do	O	O
it	O	O
.	O	O

thanks	O	O
.	O	O

If	O	O
your	O	O
controller	O	O
has	O	O
all	O	O
the	O	O
required	O	O
data	O	O
then	O	O
you	O	O
can	O	O
simply	O	O

inject	O	O
the	O	O
controller	O	O
in	O	O
your	O	O
view	O	O
.	O	O

If	O	O
the	O	O
data	O	O
is	O	O
changing	O	O
based	O	O
on	O	O
the	O	O
input	O	O
supplied	O	O
then	O	O
you	O	O
have	O	O
to	O	O
use	O	O
the	O	O
ajax	O	B-Function
calls	O	O
to	O	O
get	O	O
the	O	O
new	O	O
data	O	O
.	O	O

You	O	O
can	O	O
send	O	O
the	O	O
next	O	O
ajax	O	B-Function
call	O	O
on	O	O
the	O	O
end	O	O
of	O	O
current	O	O
playlist	O	O
.	O	O

A	O	O
simple	O	O
ajax	O	B-Function
call	O	O
would	O	O
be	O	O
like	O	O
this	O	O

and	O	O
in	O	O
your	O	O
routes	O	O
file	O	O

How	O	O
to	O	O
convert	O	O
"	O	O
Thu	O	B-Value
Jun	O	I-Value
5	O	I-Value
10:59:10	O	I-Value
CDT	O	I-Value
2014	O	I-Value
"	O	O
into	O	O
python	O	B-Language
datetime	O	B-Class
object	O	O
?	O	O

I	O	O
ca	O	O
n't	O	O
seem	O	O
to	O	O
get	O	O
it	O	O
to	O	O
work	O	O
due	O	O
to	O	O
the	O	O
CDT	O	O
.	O	O

%Z	O	B-Code_Block
for	O	O
that	O	O
is	O	O
throwing	O	O
errors	O	O
:(	O	O

dateutil	B-Code_Block	B-Library
can	O	O
parse	O	O
most	O	O
date	O	O
formats	O	O
without	O	O
effort	O	O

$	B-Code_Block	B-Code_Block
easy_install	I-Code_Block	I-Code_Block
dateutil	I-Code_Block	I-Code_Block

(	O	O
I	O	O
dont	O	O
think	O	O
it	O	O
handles	O	O
the	O	O
timezone	O	O
quite	O	O
right	O	O
though.	O	O
.	O	O
but	O	O
it	O	O
certainly	O	O
parses	O	O
it.	O	O
.	O	O
)	O	O

You	O	O
ca	O	O
n't	O	O
use	O	O
usual	O	O
methods	O	O
from	O	O
datetime	B-Code_Block	B-Class
to	O	O
construct	O	O
the	O	O
object	O	O
here	O	O
.	O	O

As	O	O
mentioned	O	O
in	O	O
the	O	O
documentation	O	O
,	O	O
strptime	B-Code_Block	B-Function
can	O	O
work	O	O
only	O	O
with	O	O
(	B-Code_Block	O
empty	I-Code_Block	O
)	I-Code_Block	O
,	B-Code_Block	O
UTC	I-Code_Block	O
,	I-Code_Block	O
EST	I-Code_Block	O
,	I-Code_Block	O
CST	I-Code_Block	O
:	O	O

You	O	O
need	O	O
to	O	O
take	O	O
a	O	O
look	O	O
at	O	O
python-dateutil	B-Code_Block	B-Library
,	O	O
which	O	O
will	O	O
parse	O	O
the	O	O
object	O	O
into	O	O
a	O	O
naive	O	O
datetime	O	B-Class
object	O	O
(	O	O
it	O	O
does	O	O
not	O	O
take	O	O
into	O	O
account	O	O
the	O	O
timezone.	O	O
.	O	O
)	O	O
:	O	O

I	O	O
have	O	O
the	O	O
same	O	O
directory	O	O
structure	O	O
in	O	O
all	O	O
my	O	O
projects	O	O
.	O	O

I	O	O
would	O	O
just	O	O
like	O	O
to	O	O
exclude	O	O
the	O	O
same	O	O
directories	O	O
every	O	O
time	O	O
,	O	O
instead	O	O
of	O	O
choosing	O	O
each	O	O
directory	O	O
for	O	O
every	O	O
project	O	O
and	O	O
having	O	O
to	O	O
select	O	O
Mark	B-Code_Block	O
Directory	I-Code_Block	O
as	I-Code_Block	O
->	I-Code_Block	O
Excluded	I-Code_Block	O

For	O	O
Example	O	O
:	O	O
bower-components/	B-Code_Block	B-File_Name
,	O	O
node-modules	B-Code_Block	B-File_Name
,	O	O
etc.	O	O
.	O	O

Is	O	O
that	O	O
possible	O	O
?	O	O

I	O	O
could	O	O
n't	O	O
find	O	O
that	O	O
option	O	O
.	O	O

Thanks	O	O
!	O	O

Settings	O	O
|	O	O
Editor	O	O
|	O	O
File	O	O
Types	O	O
|	O	O
Files	O	O
and	O	O
folders	O	O
to	O	O
ignore	O	O

(	O	O
Note	O	O
that	O	O
applying	O	O
it	O	O
to	O	O
node-modules	B-Code_Block	B-Code_Block
might	O	O
not	O	O
be	O	O
the	O	O
best	O	O
idea	O	O
because	O	O
if	O	O
you	O	O
do	O	O
this	O	O
,	O	O
the	O	O
JS	O	B-Language
support	O	O
in	O	O
IntelliJ	O	B-Application
IDEA	O	I-Application
will	O	O
not	O	O
see	O	O
any	O	O
declarations	O	O
in	O	O
any	O	O
of	O	O
the	O	O
node	O	O
modules	O	O
that	O	O
you	O	O
use	O	O
,	O	O
so	O	O
you	O	O
'll	O	O
lose	O	O
on	O	O
code	O	O
completion	O	O
and	O	O
navigation	O	O
support	O	O
.	O	O
)	O	O

Issues	O	O
:	O	O

Using	O	O
ls	O	B-Code_Block
in	O	O
GIT	O	B-Application
shows	O	O
all	O	O
unicode	O	O
in	O	O
filenames	O	O
as	O	O
'	O	O
?	O	O
'	O	O

(	O	O
i.e	O	O
.	O	O
???	O	B-File_Name
.	O	I-File_Name
mp	O	I-File_Name
3)	O	I-File_Name
.	O	O

When	O	O
using	O	O
git	O	B-Code_Block
add	O	I-Code_Block
-A	O	I-Code_Block
the	O	O
following	O	O
error	O	O
is	O	O
returned	O	O
:	O	O
"	O	B-Output_Block
fatal	O	I-Output_Block
:	O	I-Output_Block
unable	O	I-Output_Block
to	O	I-Output_Block
stat	O	I-Output_Block
'	O	I-Output_Block
example/	O	I-Output_Block
?	O	I-Output_Block
?	O	I-Output_Block

?	O	B-Output_Block
.	O	I-Output_Block
mp3	O	I-Output_Block
'	O	B-Output_Block
:	O	I-Output_Block
no	O	I-Output_Block
such	O	I-Output_Block
file	O	I-Output_Block
or	O	I-Output_Block
directory	O	I-Output_Block
"	O	O

Is	O	O
there	O	O
a	O	O
solution	O	O
to	O	O
this	O	O
?	O	O

Thanks	O	O
.	O	O

As	O	O
of	O	O
MSysGit	O	B-Application
1.7.10	O	B-Version
(	O	O
the	O	O
latest	O	O
version	O	O
at	O	O
this	O	O
time	O	O
)	O	O
,	O	O
Unicode	O	O
is	O	O
correctly	O	O
supported	O	O
on	O	O
Windows	O	B-Operating_System
,	O	O
at	O	O
the	O	O
condition	O	O
you	O	O
tweak	O	O
some	O	O
settings	O	O
and	O	O
use	O	O
a	O	O
truetype	O	O
font	O	O
in	O	O
the	O	O
console	O	B-Application
.	O	O

See	O	O
explanations	O	O
here	O	O
,	O	O
including	O	O
how	O	O
to	O	O
deal	O	O
with	O	O
previous	O	O
repositories	O	O
.	O	O

Msysgit	O	B-Application
does	O	O
n't	O	O
have	O	O
support	O	O
for	O	O
non-ASCII	O	O
characters	O	O
in	O	O
filenames	O	O
.	O	O

See	O	O
its	O	O
issue	O	O
80	O	O
for	O	O
details	O	O
.	O	O

Consider	O	O
using	O	O
Cygwin	O	B-Application
's	O	O
git	O	B-Application
package	O	O
instead	O	O
,	O	O
which	O	O
does	O	O
have	O	O
full	O	O
UTF-8	O	O
support	O	O
.	O	O

I	O	O
will	O	O
load	O	O
all	O	O
video	O	B-File_Type
from	O	O
raw	O	B-File_Name
folder	O	O
and	O	O
show	O	O
it	O	O
with	O	O
mediaplayr	O	B-Application
.	O	O

for	O	O
this	O	O
use	O	O
following	O	O
code	O	O
but	O	O
get	O	O
Exception	O	B-Class
.	O	O

what	O	O
is	O	O
wrong	O	O
?	O	O

thanks	O	O

You	O	O
can	O	O
play	O	O
the	O	O
videos	O	O
from	O	O
raw	O	B-File_Name
using	O	O
this	O	O
function	O	O

Code	O	O
taken	O	O
from	O	O
bishop	O	B-User_Name
Fakhry	O	I-User_Name
From	O	O
here	O	O
how-to-play-videos-in-android-from-assets-folder-or-raw-folder	O	O

I	O	O
got	O	O
minidump	O	B-File_Type
file	O	O
for	O	O
my	O	O
application	O	O
on	O	O
a	O	O
crash	O	O
.	O	O

But	O	O
it	O	O
is	O	O
not	O	O
giving	O	O
me	O	O
details	O	O
like	O	O
function	O	O
name	O	O
and	O	O
line	O	O
number	O	O
.	O	O

Output	O	O
is	O	O
as	O	O
follows	O	O

These	O	O
are	O	O
the	O	O
steps	O	O
i	O	O
am	O	O
using	O	O
to	O	O
see	O	O
the	O	O
output	O	O
of	O	O
dump	O	B-File_Type

Am	O	O
I	O	O
doing	O	O
anything	O	O
wrong	O	O
?	O	O

I	O	O
have	O	O
two	O	O
text	O	B-User_Interface_Element
boxes	O	I-User_Interface_Element
one	O	O
for	O	O
first	O	O
text	O	B-User_Interface_Element
and	O	O
the	O	O
other	O	O
for	O	O
second	O	O
text	O	B-User_Interface_Element
.	O	O

Each	O	O
have	O	O
a	O	O
drop	O	B-User_Interface_Element
down	O	I-User_Interface_Element
box	O	I-User_Interface_Element
for	O	O
choosing	O	O
the	O	O
size	O	O
(	O	O
so	O	O
they	O	O
can	O	O
be	O	O
of	O	O
different	O	O
or	O	O
same	O	O
size	O	O
)	O	O
.	O	O

Right	O	O
now	O	O
I	O	O
am	O	O
able	O	O
to	O	O
choose	O	O
different	O	O
sizes	O	O
and	O	O
it	O	O
works	O	O
fine	O	O
.	O	O

The	O	O
trouble	O	O
I	O	O
am	O	O
having	O	O
is	O	O
they	O	O
are	O	O
displayed	O	O
in	O	O
two	O	O
different	O	O
lines	O	O
like	O	O
:	O	O

but	O	O
I	O	O
want	O	O
them	O	O
to	O	O
be	O	O
displayed	O	O
next	O	O
to	O	O
each	O	O
other	O	O
.	O	O

For	O	O
example	O	O

The	O	O
code	O	O
that	O	O
I	O	O
have	O	O
right	O	O
now	O	O
is	O	O
as	O	O
follows	O	O
:	O	O

Try	O	O
adding	O	O
style	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
"	I-Code_Block	I-Code_Block
display	I-Code_Block	I-Code_Block
:	I-Code_Block	I-Code_Block
inline	I-Code_Block	I-Code_Block
;	I-Code_Block	I-Code_Block
"	I-Code_Block	I-Code_Block
to	O	O
your	O	O
h1	O	B-HTML_XML_Tag
tags	O	O
.	O	O

(	O	O
Of	O	O
course	O	O
,	O	O
really	O	O
you	O	O
should	O	O
do	O	O
this	O	O
in	O	O
your	O	O
CSS	O	B-File_Type
file	O	O
,	O	O
but	O	O
this	O	O
will	O	O
quickly	O	O
tell	O	O
you	O	O
if	O	O
it	O	O
works	O	O
.	O	O
)	O	O

I	O	O
am	O	O
using	O	O
a	O	O
select	O	B-HTML_XML_Tag
tag	O	O
in	O	O
my	O	O
code	O	O
,	O	O
here	O	O
is	O	O
my	O	O
code	O	O
,	O	O

and	O	O
javascript	O	B-Language
code	O	O
is	O	O
here	O	O
,	O	O

I	O	O
want	O	O
to	O	O
alert	O	O
the	O	O
selected	O	O
text	O	O
here	O	O
,	O	O
If	O	O
I	O	O
use	O	O
the	O	O
above	O	O
code	O	O
the	O	O
value	O	O
of	O	O
the	O	O
selected	O	O
option	O	O
is	O	O
coming	O	O
,	O	O
but	O	O
I	O	O
want	O	O
to	O	O
alert	O	O
the	O	O
text	O	O
of	O	O
the	O	O
selected	O	O
option	O	O
can	O	O
anyone	O	O
tell	O	O
to	O	O
achive	O	O
this	O	O
one	O	O
.	O	O

I	O	O
want	O	O
to	O	O
alert	O	O
it	O	O
without	O	O
using	O	O
any	O	O
class	O	O
or	O	O
id	O	O
.	O	O

I	O	O
want	O	O
to	O	O
alert	O	O
it	O	O
only	O	O
through	O	O
the	O	O
obj	O	B-Variable
.	O	O

I	O	O
am	O	O
waiting	O	O
for	O	O
your	O	O
help	O	O
.	O	O

Thanks	O	O
In	O	O
advance	O	O

Try	O	O
this.	O	O
.	O	O

This	O	O
should	O	O
do	O	O
the	O	O
trick.	O	O
.	O	O

That	O	O
uses	O	O
the	O	O
jQuery	O	B-Library
object	O	O
$(obj)	B-Code_Block	B-Code_Block
,	O	O
like	O	O
you	O	O
already	O	O
had	O	O
,	O	O
but	O	O
does	O	O
a	O	O
find()	B-Code_Block	B-Function
which	O	O
searches	O	O
the	O	O
child	O	O
elements	O	O
,	O	O
in	O	O
this	O	O
case	O	O
the	O	O
selected	O	O
option	B-Code_Block	B-Code_Block
.	O	O

jQuery	O	B-Library
find()	O	B-Function

:selected	O	B-Code_Block
pseudo-selector	O	O

Consider	O	O
I	O	O
have	O	O
:	O	O

While	O	O
the	O	O
following	O	O
holds	O	O
:	O	O

I	O	O
am	O	O
facing	O	O
:	O	O

Why	O	O
?	O	O

I	O	O
mean	O	O
,	O	O
it	O	O
's	O	O
clear	O	O
that	O	O
making	O	O
a	O	O
Set	B-Code_Block	B-Data_Structure
out	O	O
of	O	O
a	O	O
Seq	B-Code_Block	B-Data_Structure
chooses	O	O
random	O	O
elements	O	O
in	O	O
case	O	O
of	O	O
duplicates	O	O
,	O	O
but	O	O
there	O	O
are	O	O
no	O	O
duplicates	O	O
because	O	O
of	O	O
"(...).distinct.sameElements(...)"	B-Code_Block	B-Code_Block
.	O	O

I	O	O
certainly	O	O
need	O	O
a	O	O
deeper	O	O
understanding	O	O
of	O	O
the	O	O
kind	O	O
of	O	O
equality	O	O
check.	O	O
.	O	O

EDIT	O	O
:	O	O

After	O	O
a	O	O
long	O	O
search	O	O
,	O	O
I	O	O
found	O	O
the	O	O
problem	O	O
and	O	O
condensed	O	O
it	O	O
to	O	O
the	O	O
following	O	O
:	O	O

My	O	O
elements	O	O
are	O	O
not	O	O
the	O	O
same	O	O
,	O	O
however	O	O
I	O	O
must	O	O
take	O	O
a	O	O
closer	O	O
look	O	O
why	O	O
distinct.sameElements	B-Code_Block	B-Function
is	O	O
n't	O	O
complaining	O	O
.	O	O

But	O	O
meanwhile	O	O
a	O	O
new	O	O
question	O	O
arose	O	O
:	O	O

Consider	O	O
this	O	O
:	O	O

So	O	O
my	O	O
elements	O	O
in	O	O
my	O	O
first	O	O
to	O	O
sequences	O	B-Data_Structure
are	O	O
n't	O	O
the	O	O
same	O	O
because	O	O
they	O	O
depend	O	O
on	O	O
a	O	O
m2-construct	B-Code_Block	B-Variable
and	O	O
so	O	O
each	O	O
time	O	O
a	O	O
accessing	O	O
them	O	O
they	O	O
are	O	O
different	O	O
.	O	O

My	O	O
new	O	O
question	O	O
is	O	O
,	O	O
why	O	O
does	O	O
m2	B-Code_Block	B-Variable
behave	O	O
like	O	O
a	O	O
function	O	O
in	O	O
contrast	O	O
to	O	O
m1	B-Code_Block	B-Variable
although	O	O
both	O	O
are	O	O
immutable	O	O
maps	O	B-Data_Structure
.	O	O

That	O	O
is	O	O
n't	O	O
intuitively	O	O
for	O	O
me	O	O
.	O	O

The	O	O
most	O	O
common	O	O
reasons	O	O
for	O	O
problems	O	O
in	O	O
this	O	O
area--testing	O	O
set	O	O
equality	O	O
and	O	O
the	O	O
like--are	O	O

hashCode	B-Code_Block	B-Variable
does	O	O
not	O	O
agree	O	O
with	O	O
equals	B-Code_Block	B-Function

Your	O	O
values	O	O
are	O	O
not	O	O
stable	O	O
(	O	O
so	O	O
previous	O	O
hashCode	B-Code_Block	B-Variable
does	O	O
not	O	O
agree	O	O
with	O	O
current	O	O
equals	B-Code_Block	B-Function
)	O	O

The	O	O
reason	O	O
is	O	O
that	O	O
this	O	O
matters	O	O
is	O	O
that	O	O
distinct	B-Code_Block	B-Function
and	O	O
toSet	B-Code_Block	B-Function
use	O	O
hash	O	O
codes	O	O
to	O	O
build	O	O
sets	O	B-Data_Structure
,	O	O
whereas	O	O
contains	B-Code_Block	B-Code_Block
simply	O	O
runs	O	O
over	O	O
the	O	O
collection	O	O
with	O	O
an	O	O
exists	B-Code_Block	B-Code_Block
:	O	O

This	O	O
is	O	O
made	O	O
more	O	O
complicated	O	O
by	O	O
the	O	O
fact	O	O
that	O	O
many	O	O
sets	O	B-Data_Structure
do	O	O
n't	O	O
start	O	O
using	O	O
hash	O	B-Variable
codes	O	I-Variable
until	O	O
they	O	O
're	O	O
larger	O	O
than	O	O
some	O	O
minimal	O	O
size	O	O
(	O	O
usually	O	O
4)	O	O
,	O	O
so	O	O
you	O	O
do	O	O
n't	O	O
always	O	O
notice	O	O
this	O	O
with	O	O
testing	O	O
.	O	O

But	O	O
let	O	O
's	O	O
prove	O	O
it	O	O
to	O	O
ourselves	O	O
:	O	O

Okay	O	O
,	O	O
so	O	O
now	O	O
we	O	O
know	O	O
that	O	O
for	O	O
most	O	O
of	O	O
these	O	O
operations	O	O
,	O	O
matching	O	O
up	O	O
hashCode	B-Code_Block	B-Variable
and	O	O
equals	B-Code_Block	B-Function
is	O	O
a	O	O
Good	O	O
Thing	O	O
.	O	O

Warning	O	O
:	O	O
in	O	O
Java	O	B-Language
,	O	O
mismatches	O	O
happens	O	O
frequently	O	O
even	O	O
with	O	O
primitives	O	O
:	O	O

but	O	O
Scala	O	B-Language
now	O	O
at	O	O
least	O	O
catches	O	O
that	O	O
(	O	O
hopefully	O	O
every	O	O
time	O	O
)	O	O
:	O	O

Case	O	O
classes	O	O
also	O	O
do	O	O
this	O	O
properly	O	O
,	O	O
so	O	O
we	O	O
're	O	O
left	O	O
with	O	O
three	O	O
possibilities	O	O

You	O	O
overrode	O	O
equals	B-Code_Block	B-Function
but	O	O
not	O	O
hashCode	B-Code_Block	B-Variable
to	O	O
match	O	O

Your	O	O
values	O	O
are	O	O
not	O	O
stable	O	O

There	O	O
is	O	O
a	O	O
bug	O	O
and	O	O
Java	O	B-Language
wrapped	O	O
primitive	O	O
hashCode	O	B-Variable
mismatch	O	O
is	O	O
coming	O	O
back	O	O
to	O	O
bite	O	O
you	O	O

The	O	O
first	O	O
one	O	O
is	O	O
easy	O	O
enough	O	O
.	O	O

The	O	O
second	O	O
one	O	O
seems	O	O
to	O	O
be	O	O
your	O	O
problem	O	O
,	O	O
and	O	O
it	O	O
arises	O	O
from	O	O
the	O	O
fact	O	O
that	O	O
mapValues	B-Code_Block	B-Function
actually	O	O
creates	O	O
a	O	O
view	O	O
of	O	O
the	O	O
original	O	O
collection	O	O
,	O	O
not	O	O
a	O	O
new	O	O
collection	O	O
.	O	O

(	O	O
filterKeys	B-Code_Block	B-Function
does	O	O
this	O	O
also	O	O
.	O	O
)	O	O

Personally	O	O
,	O	O
I	O	O
think	O	O
this	O	O
is	O	O
a	O	O
questionable	O	O
choice	O	O
of	O	O
design	O	O
,	O	O
since	O	O
normally	O	O
when	O	O
you	O	O
have	O	O
a	O	O
view	O	O
and	O	O
you	O	O
want	O	O
to	O	O
make	O	O
a	O	O
single	O	O
concrete	O	O
instance	O	O
of	O	O
it	O	O
,	O	O
you	O	O
.force	B-Code_Block	B-Code_Block
it	O	O
.	O	O

But	O	O
default	O	O
maps	O	B-Data_Structure
do	O	O
n't	O	O
have	O	O
a	O	O
.force	B-Code_Block	B-Code_Block
because	O	O
they	O	O
do	O	O
n't	O	O
realize	O	O
that	O	O
they	O	O
might	O	O
be	O	O
views	O	O
.	O	O

So	O	O
you	O	O
have	O	O
to	O	O
resort	O	O
to	O	O
things	O	O
like	O	O

This	O	O
is	O	O
really	O	O
important	O	O
if	O	O
you	O	O
're	O	O
doing	O	O
things	O	O
like	O	O
file	O	O
IO	O	O
to	O	O
map	O	B-Data_Structure
your	O	O
values	O	O
(	O	O
e.g	O	O
.	O	O
if	O	O
your	O	O
values	O	O
are	O	O
filenames	O	O
and	O	O
you	O	O
're	O	O
mapping	O	O
to	O	O
their	O	O
contents	O	O
)	O	O
and	O	O
you	O	O
do	O	O
n't	O	O
want	O	O
to	O	O
read	O	O
the	O	O
file	O	O
over	O	O
and	O	O
over	O	O
again	O	O
.	O	O

But	O	O
your	O	O
case--where	O	O
you	O	O
're	O	O
assigning	O	O
random	O	O
values--is	O	O
another	O	O
where	O	O
it	O	O
is	O	O
important	O	O
to	O	O
pick	O	O
a	O	O
single	O	O
copy	O	O
,	O	O
not	O	O
recreate	O	O
the	O	O
values	O	O
over	O	O
and	O	O
over	O	O
.	O	O

This	O	O
is	O	O
what	O	O
I	O	O
want	O	O
to	O	O
accomplish	O	O
.	O	O

In	O	O
Wordpress	O	B-Application
I	O	O
've	O	O
created	O	O
a	O	O
taxonomy	O	O
called	O	O
categorie	B-Code_Block	B-Value
with	O	O
the	O	O
terms	O	O
app	B-Code_Block	B-Value
,	O	O
web	B-Code_Block	B-Value
and	O	O
branding	B-Code_Block	B-Value
.	O	O

When	O	O
a	O	O
project	O	O
has	O	O
the	O	O
term	O	O
app	O	B-Value
,	O	O
I	O	O
want	O	O
to	O	O
load	O	O
another	O	O
theme	O	O
/	O	O
blog	O	O
.	O	O

When	O	O
a	O	O
project	O	O
has	O	O
the	O	O
term	O	O
web	O	B-Value
or	O	O
branding	O	B-Value
,	O	O
I	O	O
want	O	O
to	O	O
load	O	O
single.php	B-Code_Block	B-File_Name
.	O	O

The	O	O
last	O	O
one	O	O
works	O	O
just	O	O
fine	O	O
.	O	O

This	O	O
is	O	O
my	O	O
code	O	O
so	O	O
far	O	O

So	O	O
when	O	O
a	O	O
project	O	O
has	O	O
the	O	O
term	O	O
app	B-Code_Block	B-Value
,	O	O
I	O	O
want	O	O
to	O	O
load	O	O
the	O	O
theme	O	O
themeApp	B-Code_Block	B-Value
.	O	O

Any	O	O
suggestions	O	O
?	O	O

Thanks	O	O
in	O	O
advance	O	O
.	O	O

We	O	O
had	O	O
to	O	O
accomplish	O	O
a	O	O
similar	O	O
task	O	O
in	O	O
our	O	O
plugin	O	O
,	O	O
AppPresser	O	B-Application
.	O	O

You	O	O
can	O	O
see	O	O
our	O	O
solution	O	O
here	O	O
:	O	O
https://github.com/WebDevStudios/AppPresser/blob/master/inc/theme-switcher.php	O	O

Basically	O	O
,	O	O
you	O	O
need	O	O
to	O	O
change	O	O
the	O	O
theme	O	O
name	O	O
in	O	O
3	O	O
filters	O	O
:	O	O
'	O	B-Variable
template	O	I-Variable
'	O	O
,	O	O
'	O	O
option_template	O	B-Variable
'	O	B-Variable
,	O	O
'	O	B-Variable
option_stylesheet	O	I-Variable
'	O	B-Variable
.	O	O

Getting	O	O
the	O	O
category	O	O
is	O	O
not	O	O
so	O	O
simple	O	O
though	O	O
,	O	O
because	O	O
the	O	O
template	O	O
check	O	O
happens	O	O
early	O	O
enough	O	O
in	O	O
the	O	O
WordPress	O	B-Application
process	O	O
that	O	O
the	O	O
global	O	B-Data_Type
$post	B-Code_Block	B-Variable
and	O	O
$wp_query	B-Code_Block	B-Variable
objects	O	O
are	O	O
not	O	O
available	O	O
.	O	O

Here	O	O
is	O	O
one	O	O
way	O	O
that	O	O
can	O	O
be	O	O
accomplished	O	O
:	O	O

After	O	O
upgrading	O	O
to	O	O
7.4.1	O	B-Version
I	O	O
am	O	O
unable	O	O
to	O	O
Courier	O	B-Application
Media	O	O
items	O	O
.	O	O

The	O	O
first	O	O
error	O	O
was	O	O
that	O	O
there	O	O
was	O	O
no	O	O
column	O	B-User_Interface_Element
for	O	O
help	O	O
text	O	O
,	O	O
So	O	O
I	O	O
added	O	O
this	O	O
to	O	O
both	O	O
environments	O	O

and	O	O
now	O	O
another	O	O
exception	O	B-Class
is	O	O
being	O	O
thrown	O	O
when	O	O
packaging	O	O
items	O	O
.	O	O

Please	O	O
can	O	O
anyone	O	O
help	O	O

Here	O	O
i	O	O
want	O	O
to	O	O
transfer	O	O
data	O	O
from	O	O
one	O	O
database	O	O
to	O	O
another	O	O
database	O	O
in	O	O
sql	O	B-Language
2005	O	B-Version
,	O	O

i	O	O
tried	O	O
in	O	O
dts	O	B-Application
but	O	O
its	O	O
not	O	O
working	O	O
.	O	O

Need	O	O
more	O	O
information	O	O
,	O	O
but	O	O
if	O	O
you	O	O
want	O	O
to	O	O
just	O	O
copy	O	O
a	O	O
database	O	O
,	O	O
you	O	O
can	O	O
back	O	O
it	O	O
up	O	O
,	O	O
then	O	O
restore	O	O
that	O	O
backup	O	O
in	O	O
another	O	O
database	O	O
.	O	O

If	O	O
you	O	O
just	O	O
want	O	O
to	O	O
copy	O	O
individual	O	O
tables	O	B-Data_Structure
then	O	O
DTS	O	B-Application
is	O	O
your	O	O
friend	O	O
.	O	O

How	O	O
is	O	O
it	O	O
"	O	O
not	O	O
working	O	O
"	O	O
for	O	O
you	O	O
?	O	O

If	O	O
you	O	O
're	O	O
moving	O	O
a	O	O
few	O	O
tables	O	B-Data_Structure
once	O	O
off	O	O
then	O	O
the	O	O
simplest	O	O
way	O	O
is	O	O
to	O	O
use	O	O
the	O	O
BCP	O	B-Application
command	O	I-Application
line	O	I-Application
utility	O	I-Application
.	O	O

bcp	O	B-Code_Block
db_name.schema_name.table_name	O	I-Code_Block
out	O	I-Code_Block
table_name.dat	O	I-Code_Block
-c	O	I-Code_Block
-t	O	I-Code_Block
,	O	I-Code_Block
-S	O	I-Code_Block
source_server	O	I-Code_Block
-T	O	I-Code_Block

bcp	O	B-Code_Block
db_name.schema_name.table_name	O	I-Code_Block
in	O	I-Code_Block
table_name.dat	O	I-Code_Block
-c	O	I-Code_Block
-t	O	I-Code_Block
,	O	I-Code_Block
-S	O	I-Code_Block
destination_server	O	I-Code_Block
-T	O	I-Code_Block

Change	O	O
'	O	O
-T	O	B-Code_Block
'	O	O
to	O	O
'	O	O
-U	O	B-Code_Block
your_username	O	I-Code_Block
-P	O	I-Code_Block
your_password	O	I-Code_Block
'	O	O
if	O	O
you	O	O
're	O	O
not	O	O
using	O	O
trusted	O	O
connections	O	O
.	O	O

If	O	O
you	O	O
're	O	O
moving	O	O
data	O	O
regularly	O	O
between	O	O
servers	O	B-Device
on	O	O
a	O	O
LAN	O	O
then	O	O
consider	O	O
using	O	O
linked	O	O
servers	O	B-Device
.	O	O

http://msdn.microsoft.com/en-us/library/ff772782.aspx	O	O

Link	O	O
server	O	B-Device
performance	O	O
over	O	O
WANs	O	O
is	O	O
often	O	O
poor	O	O
,	O	O
in	O	O
my	O	O
experience	O	O
.	O	O

Consider	O	O
doing	O	O
a	O	O
BCP	O	B-Code_Block
out	O	I-Code_Block
,	O	O
secure	O	O
file	O	O
transfer	O	O
to	O	O
the	O	O
destination	O	O
server	O	B-Device
then	O	O
BCP	O	B-Code_Block
in	O	I-Code_Block
if	O	O
the	O	O
servers	O	B-Device
are	O	O
n't	O	O
on	O	O
the	O	O
same	O	O
LAN	O	O
.	O	O

I	O	O
have	O	O
tried	O	O
copying	O	O
text	O	B-User_Interface_Element
from	O	O
Word	O	B-Application
,	O	O
but	O	O
that	O	O
's	O	O
cumbersome	O	O
every	O	O
time	O	O
.	O	O

Hence	O	O
could	O	O
someone	O	O
tell	O	O
me	O	O
how	O	O
I	O	O
can	O	O
insert	O	O
bullet	O	B-User_Interface_Element
points	O	I-User_Interface_Element
inside	O	O
a	O	O
cell	O	B-User_Interface_Element
?	O	O

Microsoft	O	B-Website
provides	O	O
pretty	O	O
excellent	O	O
documentation	O	O
on	O	O
how	O	O
to	O	O
do	O	O
this	O	O
(	O	O
found	O	O
through	O	O
a	O	O
quick	O	O
Google	O	B-Website
search	O	O
,	O	O
no	O	O
less	O	O
!	O	O

)	O	O
:	O	O
https://support.microsoft.com/en-us/kb/323567	O	O

To	O	O
create	O	O
the	O	O
bullet	O	B-User_Interface_Element
point	O	I-User_Interface_Element
symbol	O	O
,	O	O
type	O	O
ALT+	O	B-Keyboard_IP
0149	O	I-Keyboard_IP
.	O	O

If	O	O
you	O	O
want	O	O
to	O	O
apply	O	O
bullet	O	B-User_Interface_Element
point	O	I-User_Interface_Element
to	O	O
an	O	O
entire	O	O
column	O	B-User_Interface_Element
or	O	O
selection	O	O
of	O	O
cells	O	B-User_Interface_Element
,	O	O
highlight	O	O
those	O	O
cells	O	B-User_Interface_Element
,	O	O
look	O	O
at	O	O
the	O	O
top	O	O
of	O	O
your	O	O
screen	O	B-Device
and	O	O
make	O	O
sure	O	O
you	O	O
're	O	O
on	O	O
"	O	B-User_Interface_Element
Home	O	I-User_Interface_Element
"	O	I-User_Interface_Element
,	O	O
then	O	O
click	O	O
Number	O	O
(	O	O
Should	O	O
be	O	O
between	O	O
alignment	O	O
and	O	O
font	O	O
)	O	O
and	O	O
pick	O	O
Custom	O	O
.	O	O

There	O	O
should	O	O
be	O	O
an	O	O
@	O	O
symbol	O	O
in	O	O
the	O	O
type	O	B-User_Interface_Element
box	O	I-User_Interface_Element
.	O	O

Click	O	O
to	O	O
the	O	O
left	O	O
of	O	O
it	O	O
and	O	O
type	O	O
ALT-0149	O	B-Keyboard_IP
to	O	O
put	O	O
the	O	O
bullet	O	B-User_Interface_Element
point	O	I-User_Interface_Element
in	O	O
and	O	O
check	O	O
the	O	O
example	O	O
above	O	O
it	O	O
to	O	O
make	O	O
sure	O	O
it	O	O
's	O	O
how	O	O
you	O	O
want	O	O
it	O	O
.	O	O

I	O	O
want	O	O
to	O	O
add	O	O
a	O	O
menu	O	B-User_Interface_Element
item	O	O
to	O	O
all	O	O
text	O	B-User_Interface_Element
field	O	I-User_Interface_Element
's	O	O
contextual	O	O
menu	O	B-User_Interface_Element
.	O	O

I	O	O
can	O	O
do	O	O
it	O	O
if	O	O
I	O	O
get	O	O
a	O	O
hold	O	O
of	O	O
the	O	O
internal	O	O
field	O	O
editor	O	O
of	O	O
type	O	O
NSTextView	O	B-Class
used	O	O
by	O	O
all	O	O
NSTextField	O	B-Class
's	O	O
through	O	O
out	O	O
the	O	O
application	O	O
.	O	O

The	O	O
thing	O	O
is	O	O
the	O	O
only	O	O
way	O	O
I	O	O
can	O	O
think	O	O
of	O	O
getting	O	O
it	O	O
,	O	O
is	O	O
by	O	O
accessing	O	O
it	O	O
from	O	O
[	O	O
window	O	B-Class
firstResponder	O	B-Variable
]	O	O
.	O	O

Does	O	O
anyone	O	O
know	O	O
another	O	O
way	O	O
?	O	O

One	O	O
more	O	O
method	O	O
that	O	O
I	O	O
can	O	O
think	O	O
of	O	O
is	O	O
subclassing	O	O
the	O	O
NSTextField	O	B-Class
to	O	O
extend	O	O
its	O	O
behaviour	O	O
by	O	O
overriding	O	O
the	O	O
menuForEvent	O	B-Function
method	O	O
.	O	O

Finally	O	O
return	O	O
an	O	O
instance	O	O
of	O	O
the	O	O
custom	O	O
field	O	O
editor	O	O
using	O	O
windowWillReturnFieldEditor	O	B-Function
method	O	O
in	O	O
the	O	O
window	O	B-Class
delegate	O	O
.	O	O

I	O	O
would	O	O
like	O	O
to	O	O
know	O	O
if	O	O
it	O	O
possible	O	O
somehow	O	O
from	O	O
the	O	O
CLI	O	B-Application
of	O	O
the	O	O
influx	O	B-Application
to	O	O
select	O	O
the	O	O
data	O	O
of	O	O
a	O	O
specific	O	O
shard	O	B-Data_Structure
.	O	O

I	O	O
thought	O	O
also	O	O
to	O	O
select	O	O
the	O	O
series	O	O
within	O	O
two	O	O
timestamps	O	O
but	O	O
i	O	O
have	O	O
not	O	O
found	O	O
how	O	O
yet	O	O
.	O	O

Any	O	O
input	O	O
would	O	O
be	O	O
appreciated	O	O
,	O	O
thank	O	O
you	O	O
.	O	O

Q	O	O
:	O	O
I	O	O
would	O	O
like	O	O
to	O	O
know	O	O
if	O	O
it	O	O
possible	O	O
somehow	O	O
from	O	O
the	O	O
CLI	O	B-Application
of	O	O
the	O	O
influx	O	B-Application
to	O	O
select	O	O
the	O	O
data	O	O
of	O	O
a	O	O
specific	O	O
shard	O	B-Data_Structure
.	O	O

A	O	O
:	O	O
At	O	O
influxdb	O	B-Application
1.3	O	B-Version
this	O	O
is	O	O
not	O	O
possible	O	O
.	O	O

However	O	O
you	O	O
should	O	O
be	O	O
able	O	O
to	O	O
work	O	O
out	O	O
what	O	O
data	O	O
lives	O	O
in	O	O
there	O	O
.	O	O

If	O	O
you	O	O
do	O	O
a	O	O
show	B-Code_Block	B-Code_Block
shard	I-Code_Block	I-Code_Block
statement	O	O
in	O	O
the	O	O
influx	O	B-Application
command	O	I-Application
line	O	I-Application
it	O	O
should	O	O
tell	O	O
you	O	O
the	O	O
start	B-Code_Block	O
and	O	O
end	B-Code_Block	O
date	O	O
time	O	O
of	O	O
the	O	O
data	O	O
(	O	O
across	O	O
all	O	O
series	O	O
in	O	O
the	O	O
database	O	O
)	O	O
contained	O	O
in	O	O
that	O	O
shard	B-Code_Block	B-Data_Structure
.	O	O

For	O	O
instance	O	O

Given	O	O
Shard	O	O
info	O	O
:	O	O

Given	O	O
Measurements	O	O
:	O	O

Shard	B-Code_Block	B-Data_Structure
123	O	B-Value
will	O	O
contain	O	O
all	O	O
of	O	O
the	O	O
data	O	O
across	O	O
the	O	O
noted	O	O
measurements	O	O
above	O	O
that	O	O
fall	O	O
in	O	O
the	O	O
start	O	O
time	O	O
of	O	O
2012-11-26T00:00:00Z	B-Code_Block	B-Value
and	O	O
end	O	O
time	O	O
of	O	O
2012-12-03T00:00:00Z	B-Code_Block	B-Value
.	O	O

That	O	O
is	O	O
,	O	O
running	O	O
a	O	O
drop	B-Code_Block	O
shard	I-Code_Block	B-Data_Structure
123	I-Code_Block	B-Value
would	O	O
see	O	O
data	O	O
in	O	O
that	O	O
range	O	O
disappearing	O	O
across	O	O
the	O	O
measurements	O	O
.	O	O

I	O	O
am	O	O
doing	O	O
Michael	O	B-User_Name
Hartl	O	I-User_Name
's	O	O
railstutorial.org	O	B-Website
and	O	O
I	O	O
am	O	O
trying	O	O
to	O	O
do	O	O
an	O	O
exercise	O	O
factoring	O	O
out	O	O
a	O	O
form	O	O
in	O	O
a	O	O
view	O	O
.	O	O

Here	O	O
is	O	O
the	O	O
link	O	O
to	O	O
the	O	O
chapter	O	O
,	O	O
and	O	O
the	O	O
problem	O	O
is	O	O
associated	O	O
with	O	O
listing	O	O
10.5	O	O
,	O	O
10.6	O	O
and	O	O
10.7	O	O
.	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
figure	O	O
out	O	O
exactly	O	O
how	O	O
to	O	O
provide	O	O
the	O	O
proper	O	O
:url	B-Code_Block	B-Variable
,	O	O
at	O	O
least	O	O
that	O	O
's	O	O
what	O	O
I	O	O
think	O	O
I	O	O
'm	O	O
doing	O	O
.	O	O

https://www.railstutorial.org/book/updating_and_deleting_users	O	O

Here	O	O
is	O	O
my	O	O
code	O	O
:	O	O

_form.html.erb	O	B-File_Name

edit.html.erb	O	B-File_Name

new.html.erb	O	B-File_Name

I	O	O
have	O	O
tried	O	O
repeatedly	O	O
to	O	O
get	O	O
this	O	O
to	O	O
work	O	O
,	O	O
trying	O	O
various	O	O
ways	O	O
,	O	O
but	O	O
so	O	O
far	O	O
,	O	O
to	O	O
no	O	O
avail	O	O
.	O	O

Here	O	O
is	O	O
the	O	O
test	O	O
that	O	O
is	O	O
failing	O	O
:	O	O

and	O	O
the	O	O
code	O	O
for	O	O
it	O	O
:	O	O

routes.rb	O	B-File_Name

Any	O	O
help	O	O
would	O	O
be	O	O
greatly	O	O
appreciated	O	O
!	O	O

I	O	O
use	O	O
smtp	O	B-Application
mailgun	O	I-Application
for	O	O
sending	O	O
email	O	O
in	O	O
Kentico	O	B-Application
.	O	O

how	O	O
i	O	O
can	O	O
set	O	O
up	O	O
pop3	O	O
for	O	O
check	O	O
Bounced	O	O
emails	O	O
from	O	O
mailgun	O	B-Application
.	O	O

What	O	O
is	O	O
a	O	O
port	O	B-Device
I	O	O
should	O	O
use	O	O
?	O	O

As	O	O
per	O	O
Brenden	O	B-User_Name
's	O	O
comment	O	O
,	O	O
MailGun	O	B-Application
are	O	O
discontinuing	O	O
POP3	O	O
support	O	O
.	O	O

In	O	O
order	O	O
to	O	O
do	O	O
this	O	O
,	O	O
you	O	O
're	O	O
going	O	O
to	O	O
need	O	O
to	O	O
find	O	O
an	O	O
alternative	O	O
email	O	O
supplier	O	O
that	O	O
supports	O	O
POP3	O	O
(	O	O
the	O	O
linked	O	O
article	O	O
suggests	O	O
Rackspace	O	B-Application
for	O	O
example	O	O
)	O	O
.	O	O

POP3	O	B-Application
server	O	I-Application
listens	O	O
usually	O	O
listen	O	O
on	O	O
port	O	B-Device
110	O	B-Value
.	O	O

If	O	O
you	O	O
move	O	O
to	O	O
POP3S	O	O
(	O	O
using	O	O
Transport	O	O
Layer	O	O
Security	O	O
(	O	O
TLS	O	O
)	O	O
or	O	O
Secure	O	O
Sockets	O	O
Layer	O	O
(	O	O
SSL	O	O
)	O	O
)	O	O
,	O	O
then	O	O
you	O	O
might	O	O
use	O	O
something	O	O
like	O	O
port	O	B-Device
995	O	B-Value
.	O	O

Your	O	O
mail	O	O
provider	O	O
's	O	O
support	O	O
team	O	O
will	O	O
be	O	O
able	O	O
to	O	O
advise	O	O
you	O	O
on	O	O
which	O	O
port	O	B-Device
to	O	O
use	O	O
.	O	O

Here	O	O
is	O	O
what	O	O
I	O	O
want	O	O
to	O	O
do	O	O
:	O	O

The	O	O
style	O	B-Class
part	O	O
never	O	O
gets	O	O
applied	O	O
.	O	O

The	O	O
HierachicalDataTemplate	O	B-Class
seems	O	O
to	O	O
override	O	O
the	O	O
initial	O	O
style	O	B-Class
.	O	O

I	O	O
cannot	O	O
use	O	O
the	O	O
type	O	O
to	O	O
apply	O	O
the	O	O
template	O	O
since	O	O
multiple	O	O
types	O	O
are	O	O
involved	O	O
.	O	O

Any	O	O
ideas	O	O
?	O	O

Thanks	O	O

DataTemplate	B-Code_Block	B-Class
has	O	O
higher	O	O
precedence	O	O
over	O	O
Style	B-Code_Block	B-Class
.	O	O

Try	O	O
moving	O	O
the	O	O
DataTemplate	B-Code_Block	B-Class
into	O	O
the	O	O
Style	B-Code_Block	B-Class
as	O	O
:	O	O

there	O	O
are	O	O
many	O	O
posts	O	O
that	O	O
deal	O	O
with	O	O
validation	O	O
controls	O	O
inside	O	O
update	O	B-Class
panel	O	I-Class
and	O	O
partial	O	O
page	O	O
rendering	O	O
.	O	O

But	O	O
i	O	O
got	O	O
a	O	O
different	O	O
problem	O	O
here	O	O
,	O	O
i	O	O
did	O	O
try	O	O
updating	O	O
to	O	O
sp1	O	B-Library
.NET	O	I-Library
framework	O	I-Library
2.0	O	B-Version
and	O	O
again	O	O
.NET	O	B-Library
Framework	O	I-Library
4.0	O	B-Version
but	O	O
nothing	O	O
happens	O	O
.	O	O

Basically	O	O
i	O	O
got	O	O
a	O	O
dropdownlist	O	B-Class
inside	O	O
update	O	B-Class
panel	O	I-Class
whose	O	O
autopostback	O	B-Variable
is	O	O
set	O	O
to	O	O
true	O	B-Value
and	O	O
an	O	O
empty	O	B-Value
item	O	O
-	B-Code_Block	B-Code_Block
-	I-Code_Block	I-Code_Block
Select	I-Code_Block	I-Code_Block
-	I-Code_Block	I-Code_Block
-	I-Code_Block	I-Code_Block
is	O	O
added	O	O
as	O	O
index	B-Code_Block	O
0	I-Code_Block	B-Value
for	O	O
validation	O	O
(	O	O
Required	B-Code_Block	O
Field	I-Code_Block	O
Validator	I-Code_Block	O
)	O	O
purpose	O	O
.	O	O

I	O	O
does	O	O
happen	O	O
that	O	O
even	O	O
when	O	O
i	O	O
select	O	O
index	O	O
0	O	B-Value
,	O	O
the	O	O
validation	O	O
message	O	O
appears	O	O
briefly	O	O
and	O	O
then	O	O
partial	O	O
postback	O	O
takes	O	O
place	O	O
.	O	O

Does	O	O
anyone	O	O
have	O	O
any	O	O
reasons	O	O
for	O	O
the	O	O
same	O	O
or	O	O
alternate	O	O
ways	O	O
to	O	O
do	O	O
this	O	O
.	O	O

note	O	O
:	O	O

I	O	O
am	O	O
populating	O	O
other	O	O
controls	O	O
(	O	O
dropdownlist	O	B-Class
)	O	O
during	O	O
the	O	O
selected	O	O
index	O	O
changed	O	O
event	O	O
.	O	O

I	O	O
could	O	O
use	O	O
cascading	O	O
dropdownlist	O	B-Class
from	O	O
AjaxControlToolkit	B-Code_Block	B-Library
but	O	O
then	O	O
i	O	O
lose	O	O
event	O	O
validation	O	O
functionality	O	O
that	O	O
other	O	O
controls	O	O
need	O	O
.	O	O

why	O	O
not	O	O
validating	O	O
client	O	O
choise	O	O
in	O	O
code	O	O
behind	O	O
?	O	O

for	O	O
ex	O	O
'	O	O
:	O	O

As	O	O
a	O	O
quick	O	O
test	O	O
I	O	O
've	O	O
come	O	O
up	O	O
with	O	O
this	O	O
,	O	O
which	O	O
works	O	O
(	O	O
for	O	O
me	O	O
)	O	O
:	O	O

And	O	O
in	O	O
the	O	O
code	O	O
behind	O	O
:	O	O

Populates	O	O
the	O	O
second	O	O
DDL	O	B-Variable
when	O	O
any	O	O
option	O	O
is	O	O
chosen	O	O
,	O	O
but	O	O
not	O	O
for	O	O
the	O	O
initial	O	O
item	O	O
of	O	O
0	O	B-Value

EDIT	O	O
:	O	O
Added	O	O
in	O	O
TextBox	B-Code_Block	B-Class
and	O	O
Button	B-Code_Block	B-Class
with	O	O
validation	O	O
groups	O	O
;	O	O
Only	O	O
ddl1	B-Code_Block	B-Variable
is	O	O
validated	O	O
on	O	O
SelectedIndexChanged	B-Code_Block	B-Variable
but	O	O
both	O	O
ddl1	B-Code_Block	B-Variable
and	O	O
txt1	B-Code_Block	B-Variable
are	O	O
validated	O	O
OnClick	B-Code_Block	B-Function

I	O	O
have	O	O
a	O	O
Facebook	O	B-Application
App	O	O
which	O	O
is	O	O
subscribed	O	O
to	O	O
more	O	O
than	O	O
20,000	O	O
pages	O	B-User_Interface_Element
.	O	O

The	O	O
server	O	B-Application
is	O	O
n't	O	O
able	O	O
to	O	O
process	O	O
hooks	O	O
from	O	O
all	O	O
these	O	O
Facebook	O	B-Application
pages	O	B-User_Interface_Element
,	O	O
I	O	O
want	O	O
to	O	O
unsubscribe	O	O
my	O	O
app	O	O
from	O	O
all	O	O
these	O	O
Facebook	O	B-Application
pages	O	B-User_Interface_Element
.	O	O

Is	O	O
there	O	O
a	O	O
quicker	O	O
way	O	O
to	O	O
do	O	O
this	O	O
.	O	O

Most	O	O
of	O	O
the	O	O
page	O	B-User_Interface_Element
access	O	O
token	O	O
I	O	O
have	O	O
is	O	O
expired	O	O
,	O	O
so	O	O
I	O	O
ca	O	O
n't	O	O
loop	O	O
through	O	O
all	O	O
the	O	O
pages	O	B-User_Interface_Element
and	O	O
unsubscribe	O	O
my	O	O
app	O	O
from	O	O
them	O	O
.	O	O

To	O	O
unsubscribe	O	O
your	O	O
app	O	O
from	O	O
a	O	O
Facebook	O	B-Application
page	O	B-User_Interface_Element
,	O	O
you	O	O
do	O	O
not	O	O
need	O	O
a	O	O
token	O	O
from	O	O
the	O	O
page	O	B-User_Interface_Element
.	O	O

All	O	O
you	O	O
need	O	O
is	O	O
your	O	O
App	O	B-Variable
Access	O	I-Variable
Token	O	I-Variable
.	O	O

To	O	O
unsubscribe	O	O
from	O	O
the	O	O
page	O	B-User_Interface_Element
just	O	O
make	O	O
a	O	O
DELETE	O	B-Function
http	O	O
request	O	O
to	O	O
:	O	O

You	O	O
can	O	O
get	O	O
your	O	O
App	O	B-Variable
Access	O	I-Variable
Token	O	I-Variable
by	O	O
sending	O	O
a	O	O
GET	O	B-Function
request	O	O
to	O	O
:	O	O

So	O	O
just	O	O
make	O	O
a	O	O
DELETE	O	B-Function
request	O	O
to	O	O
each	O	O
page	O	B-User_Interface_Element
you	O	O
want	O	O
to	O	O
unsubscribe	O	O
from	O	O
.	O	O

For	O	O
getting	O	O
a	O	O
location	O	O
,	O	O
I	O	O
made	O	O
LocationManager.h	B-Code_Block	B-File_Name
and	O	O
LocationManager.m	B-Code_Block	B-File_Name

LocationManager.h	O	B-File_Name

LocationManager.m	O	B-File_Name

And	O	O
MainViewController.m	B-Code_Block	B-File_Name
call	O	O
location	O	B-Class
manager	O	I-Class
.	O	O

When	O	O
I	O	O
install	O	O
my	O	O
app	O	O
at	O	O
the	O	O
first	O	O
time	O	O
,	O	O
location	O	O
is	O	O
0.00000	O	B-Value
.	O	O

I	O	O
do	O	O
n't	O	O
have	O	O
any	O	O
idea	O	O
why	O	O
location	O	O
is	O	O
like	O	O
that	O	O
.	O	O

Is	O	O
there	O	O
any	O	O
problem	O	O
with	O	O
the	O	O
code	O	O
?	O	O

I	O	O
can	O	O
remember	O	O
i	O	O
read	O	O
somewhere	O	O
that	O	O
you	O	O
will	O	O
get	O	O
imediatly	O	O
the	O	O
last	O	O
known	O	O
location	O	O
and	O	O
then	O	O
updates	O	O
of	O	O
new	O	O
locations	O	O
.	O	O

in	O	O
this	O	O
article	O	O
Getting	O	O
the	O	O
User	O	O
's	O	O
Current	O	O
Location	O	O
|	O	O
Receiving	O	O
Location	O	O
Data	O	O
from	O	O
a	O	O
Service	O	O
apple	O	B-Website
recommends	O	O
to	O	O
check	O	O
the	O	O
age	O	O
of	O	O
the	O	O
received	O	O
data	O	O
:	O	O

i	O	O
think	O	O
this	O	O
way	O	O
you	O	O
can	O	O
filter	O	O
the	O	O
"	O	B-Value
invalid	O	I-Value
"	O	I-Value
location	O	O
updates	O	O
and	O	O
the	O	O
"	O	B-Value
zero	O	I-Value
update	O	I-Value
"	O	I-Value
.	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
run	O	O
vertx	O	B-Library
under	O	O
OSGi	O	B-Library
(	O	O
bndtools/eclipse	O	B-Application
)	O	O
and	O	O
getting	O	O
this	O	O
error	O	O
message	O	O
from	O	O
the	O	O
underlying	O	O
Netty	O	B-Library
.	O	O

I	O	O
am	O	O
using	O	O
vertx	O	B-Library
3.3.3	O	B-Version

using	O	O
bndtools	O	B-Application
in	O	O
standalone	O	O
mode	O	O
(	O	O
maven	O	B-Application
)	O	O
so	O	O
all	O	O
dependencies	O	O
are	O	O
imported	O	O
using	O	O
maven	O	B-Application
and	O	O
not	O	O
the	O	O
standard	O	O
bndtools	O	B-Application
(	O	O
cnf	O	O
)	O	O
template	O	O
.	O	O

In	O	O
my	O	O
bundle	O	O
activator	O	O
I	O	O
try	O	O
to	O	O
create	O	O
a	O	O
new	O	O
vertx	O	B-Variable
using	O	O
the	O	O
static	O	B-Data_Type
method	O	O
:	O	O

```	O	O

```	O	O

In	O	O
the	O	O
standard	O	O
bndtools	O	B-Application
template	O	O
(	O	O
none	O	O
maven	O	B-Application
)	O	O
this	O	O
works	O	O
fine	O	O
.	O	O

I	O	O
am	O	O
not	O	O
sure	O	O
I	O	O
can	O	O
mix	O	O
the	O	O
two	O	O
modes	O	O
in	O	O
the	O	O
same	O	O
project	O	O
and	O	O
I	O	O
prefer	O	O
to	O	O
stick	O	O
to	O	O
the	O	O
maven	O	B-Application
format	O	O
.	O	O

EDIT	O	O

I	O	O
created	O	O
this	O	O
sample	O	O
project	O	O
cloned	O	O
from	O	O
the	O	O
main	O	O
Paremus	O	B-Website
project	O	O
hello	O	O
example	O	O
to	O	O
demonstrate	O	O
the	O	O
issue	O	O
I	O	O
am	O	O
having	O	O
with	O	O
Vert.x	O	B-Library
&	O	O
OSGi	O	B-Library

https://github.com/gadieichhorn/hello-examples/tree/hello-1.13.x	O	O

EDIT	O	O
2	O	O

I	O	O
moved	O	O
the	O	O
Vertx	O	B-Class
initialization	O	O
to	O	O
a	O	O
service	O	O
(	O	O
not	O	O
bundle	O	O
activator	O	O
)	O	O
and	O	O
now	O	O
I	O	O
am	O	O
getting	O	O
a	O	O
more	O	O
detailed	O	O
error	O	O
.	O	O

any	O	O
help	O	O
appreciated	O	O

It	O	O
is	O	O
because	O	O
"	O	O
PlatformDependent0	O	B-Class
"	O	O
import	O	O
"	O	B-File_Name
sun.misc	O	I-File_Name
"	O	I-File_Name
.	O	O

You	O	O
can	O	O
solve	O	O
this	O	O
by	O	O
setting	O	O
"	B-Code_Block	B-Code_Block
org.osgi.framework.system.packages.extra	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
sun.misc	I-Code_Block	I-Code_Block
"	I-Code_Block	I-Code_Block

EDIT	O	O
1	O	O
:	O	O

I	O	O
start	O	O
the	O	O
OSGi	O	B-Library
framework	O	O
(	O	O
Apache	O	B-Application
Felix	O	I-Application
)	O	O
this	O	O
way	O	O
:	O	O

But	O	O
I	O	O
guess	O	O
you	O	O
can	O	O
directly	O	O
put	O	O
this	O	O
setting	O	O
in	O	O
the	O	O
"	B-Code_Block	B-File_Name
felix.config.properties	I-Code_Block	I-File_Name
"	I-Code_Block	I-File_Name
file	O	O
.	O	O

The	O	O
problems	O	O
occurs	O	O
because	O	O
sun.misc	B-Code_Block	B-File_Name
is	O	O
private	O	O
API	O	B-Library
.	O	O

So	O	O
you	O	O
have	O	O
to	O	O
explicitly	O	O
add	O	O
the	O	O
package	O	O
as	O	O
an	O	O
extra	O	O
package	O	O
provided	O	O
by	O	O
the	O	O
Main	O	O
Bundle	O	O
.	O	O

It	O	O
is	O	O
done	O	O
implicitly	O	O
for	O	O
public	O	O
API	O	B-Library
(	O	O
java.lang	O	B-Library
,	O	O
util	O	B-Library
..	O	I-Library
.	O	I-Library
)	O	I-Library

Does	O	O
binding	O	O
an	O	O
event	O	O
on	O	O
document	O	B-Variable
have	O	O
any	O	O
performance	O	O
concerns	O	O
?	O	O

i.e	O	O
:	O	O

Vs	O	O

I	O	O
think	O	O
keeping	O	O
a	O	O
track	O	O
via	O	O
document	O	B-Variable
will	O	O
use	O	O
more	O	O
processing	O	O
power	O	O
then	O	O
assigning	O	O
the	O	O
event	O	O
only	O	O
a	O	O
limited	O	O
DOM	O	B-Library
elements	O	O
?	O	O

You	O	O
might	O	O
need	O	O
to	O	O
implement	O	O
a	O	O
performance	O	O
test	O	O
to	O	O
be	O	O
sure	O	O
about	O	O
the	O	O
actual	O	O
difference	O	O
,	O	O
but	O	O
I	O	O
guess	O	O
it	O	O
should	O	O
be	O	O
a	O	O
minimal	O	O
impact	O	O
,	O	O
because	O	O
binding	O	O
events	O	O
on	O	O
the	O	O
document	O	O
will	O	O
mean	O	O
that	O	O
you	O	O
catch	O	O
any	O	O
element	O	O
event	O	O
once	O	O
it	O	O
bubbles	O	O
to	O	O
the	O	O
top-most	O	O
element	O	O
in	O	O
the	O	O
document	O	O
.	O	O

Anyways	O	O
,	O	O
skipping	O	O
the	O	O
"	O	O
performance	O	O
argument	O	O
"	O	O
,	O	O
your	O	O
case	O	O
looks	O	O
better	O	O
when	O	O
you	O	O
bind	O	O
a	O	O
handler	O	B-Class
on	O	O
the	O	O
nearest	O	O
parent	O	O
.	O	O

It	O	O
's	O	O
not	O	O
only	O	O
about	O	O
performance	O	O
:	O	O
it	O	O
's	O	O
more	O	O
logical	O	O
.	O	O

I	O	O
would	O	O
like	O	O
to	O	O
get	O	O
2	O	O
substrings	O	O
from	O	O
this	O	O
line	O	O
:	O	O

In	O	O
the	O	O
first	O	O
I	O	O
must	O	O
have	O	O
/etc/ld.so.cache	B-Code_Block	B-Value
and	O	O
in	O	O
the	O	O
second	O	O
/etc/ld.so.cache	B-Code_Block	B-Value
.	O	O

So	O	O
I	O	O
wrote	O	O
this	O	O

But	O	O
it	O	O
does	O	O
n't	O	O
return	O	O
the	O	O
first	O	O
group	O	O
.	O	O

Could	O	O
you	O	O
tell	O	O
me	O	O
,	O	O
if	O	O
my	O	O
regex	O	B-Variable
is	O	O
good	O	O
?	O	O

Nearly	O	O
.	O	O

In	O	O
POSIX	O	B-Operating_System
regexes	O	O
,	O	O
parentheses	O	B-Value
and	O	O
other	O	O
special	O	O
characters	O	B-Data_Type
have	O	O
to	O	O
be	O	O
escaped	O	O
if	O	O
you	O	O
want	O	O
them	O	O
to	O	O
match	O	O
themselves	O	O
,	O	O
not	O	O
to	O	O
access	O	O
their	O	O
special	O	O
function	O	O
,	O	O
so	O	O
it	O	O
has	O	O
to	O	O
be	O	O

In	O	O
addition	O	O
,	O	O
if	O	O
you	O	O
want	O	O
the	O	O
captures	O	O
,	O	O
you	O	O
have	O	O
to	O	O
compile	O	O
the	O	O
regex	O	O
without	O	O
REG_NOSUB	B-Code_Block	B-Code_Block
:	O	O

and	O	O
..	O	O
the	O	O
printf	B-Code_Block	B-Code_Block
will	O	O
probably	O	O
segfault	O	B-Error_Name
on	O	O
you	O	O
at	O	O
the	O	O
moment	O	O
;	O	O
the	O	O
arguments	O	O
do	O	O
n't	O	O
match	O	O
the	O	O
format	O	O
string	O	B-Data_Type
.	O	O

So	O	O
let	O	O
's	O	O
say	O	O
I	O	O
have	O	O
something	O	O
like	O	O
this	O	O
:	O	O

Now	O	O
,	O	O
what	O	O
I	O	O
would	O	O
like	O	O
to	O	O
do	O	O
is	O	O
have	O	O
the	O	O
td2	O	B-HTML_XML_Tag
text	O	B-User_Interface_Element
to	O	O
show	O	O
when	O	O
you	O	O
first	O	O
see	O	O
the	O	O
page	O	B-User_Interface_Element
,	O	O
but	O	O
not	O	O
the	O	O
td3	O	B-HTML_XML_Tag
.	O	O

Then	O	O
when	O	O
clicking	O	O
the	O	O
td2	O	O
div	O	B-HTML_XML_Tag
it	O	O
makes	O	O
a	O	O
fadeout	O	O
or	O	O
slides	O	O
upwards	O	O
,	O	O
and	O	O
then	O	O
reveal	O	O
the	O	O
td3	O	O
div	O	B-HTML_XML_Tag
and	O	O
that	O	O
text	O	B-User_Interface_Element
.	O	O

In	O	O
this	O	O
particular	O	O
case	O	O
the	O	O
div	O	B-HTML_XML_Tag
does	O	O
n't	O	O
have	O	O
to	O	O
come	O	O
back	O	O
when	O	O
re-clicking	O	O
.	O	O

It	O	O
's	O	O
just	O	O
like	O	O
a	O	O
"	O	O
one	O	O
way	O	O
ticket	O	O
"	O	O
.	O	O

Click	O	O
,	O	O
and	O	O
it	O	O
's	O	O
gone	O	O
forever	O	O
.	O	O

What	O	O
might	O	O
be	O	O
the	O	O
easiest	O	O
way	O	O
to	O	O
do	O	O
this	O	O
?	O	O

You	O	O
could	O	O
use	O	O
JQuery	O	B-Library
UI	O	I-Library
to	O	O
get	O	O
the	O	O
fade	B-Code_Block	O
effect	O	O
,	O	O
and	O	O
register	O	O
to	O	O
click	B-Code_Block	O
event	O	O
on	O	O
.td2	B-Code_Block	B-HTML_XML_Tag
in	O	O
order	O	O
to	O	O
update	O	O
the	O	O
DOM	O	B-Library
as	O	O
per	O	O
your	O	O
requirement	O	O
.	O	O

Here	O	O
's	O	O
one	O	O
way	O	O
of	O	O
doing	O	O
it	O	O
:	O	O

You	O	O
will	O	O
need	O	O
to	O	O
learn	O	O
some	O	O
javascript	O	B-Language
and	O	O
some	O	O
jQuery	O	B-Library
for	O	O
this	O	O
;)	O	O

Here	O	O
is	O	O
the	O	O
output	O	O
of	O	O
an	O	O
explain	O	O
command	O	O
in	O	O
mysql(innodb)	O	B-Application
:	O	O

The	O	O
schema	O	O
of	O	O
table	O	B-Data_Structure
multi_index_test_tbl_1	B-Code_Block	B-Variable
is	O	O
as	O	O
follow	O	O
:	O	O

It	O	O
seems	O	O
that	O	O
query_index_1	B-Code_Block	B-Variable
is	O	O
used	O	O
.	O	O

And	O	O
'	O	O
using	O	O
index	O	O
'	O	O
appears	O	O
in	O	O
Extra	B-Code_Block	B-Variable
while	O	O
the	O	O
index	O	O
query_index_1	B-Code_Block	B-Variable
does	O	O
n't	O	O
contain	O	O
all	O	O
fields	O	O
in	O	O
table	O	B-Data_Structure
multi_index_test_tbl_1	B-Code_Block	B-Variable
.	O	O

Since	O	O
mysql	O	B-Application
doc	O	O
says	O	O
that	O	O
:	O	O

I	O	O
'm	O	O
confused	O	O
what	O	O
's	O	O
exactly	O	O
happening	O	O
here	O	O
.	O	O

Ah	O	O
,	O	O
but	O	O
it	O	O
does	O	O
'	O	O
contain	O	O
required	O	O
fields	O	O
'	O	O
.	O	O

To	O	O
elaborate.	O	O
.	O	O

InnoDB	O	B-Application
includes	O	O
all	O	O
the	O	O
columns	O	B-Data_Structure
of	O	O
the	O	O
PRIMARY	B-Code_Block	B-Code_Block
KEY	I-Code_Block	I-Code_Block
in	O	O
each	O	O
'	O	O
secondary	O	O
'	O	O
index	O	O
.	O	O

So	O	O
,	O	O

is	O	O
really	O	O
more	O	O
like	O	O

In	O	O
your	O	O
example	O	O
,	O	O
that	O	O
includes	O	O
all	O	O
the	O	O
columns	O	B-Data_Structure
.	O	O

Hence	O	O
,	O	O
everything	O	O
in	O	O
the	O	O
SELECT	B-Code_Block	B-Function
,	O	O
including	O	O
*	B-Code_Block	B-Code_Block
is	O	O
found	O	O
in	O	O
that	O	O
secondary	O	O
index	O	O
.	O	O

So	O	O
,	O	O
"	O	O
Using	O	O
index	O	O
"	O	O
is	O	O
'	O	O
correct	O	O
'	O	O
.	O	O

This	O	O
is	O	O
one	O	O
way	O	O
in	O	O
which	O	O
InnoDB	O	B-Application
is	O	O
sometimes	O	O
better	O	O
than	O	O
MyISAM	O	B-Application
.	O	O

Try	O	O
EXPLAIN	B-Code_Block	B-Code_Block
FORMAT	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
JSON	I-Code_Block	I-Code_Block
SELECT	I-Code_Block	I-Code_Block
..	I-Code_Block	I-Code_Block
.	I-Code_Block	I-Code_Block
to	O	O
get	O	O
more	O	O
details	O	O
.	O	O

My	O	O
code	O	O
is	O	O
very	O	O
simple	O	O
:	O	O

and	O	O
if	O	O
i	O	O
put	O	O
1000000000	O	B-Value
for	O	O
both	O	O
m	O	B-Variable
and	O	O
n	O	B-Variable
as	O	O
a	O	O
result	O	O
i	O	O
get	O	O
-1486618624	O	B-Value
,	O	O
also	O	O
m	O	B-Variable
and	O	O
n	O	B-Variable
are	O	O
longint	O	B-Data_Type
,	O	O
so	O	O
they	O	O
are	O	O
n't	O	O
over	O	O
the	O	O
limit	O	O
with	O	O
1	O	B-Value
000	O	I-Value
000	O	I-Value
000	O	I-Value
.	O	O

The	O	O
problem	O	O
is	O	O
that	O	O
m*n	B-Code_Block	B-Code_Block
is	O	O
1,000,000,000,000,000,000	O	B-Value
and	O	O
does	O	O
not	O	O
fit	O	O
in	O	O
a	O	O
LongInt	B-Code_Block	B-Data_Type
.	O	O

Try	O	O
using	O	O
Int64	B-Code_Block	B-Data_Type
or	O	O
QWord	B-Code_Block	B-Data_Type
instead	O	O
.	O	O

I	O	O
have	O	O
had	O	O
a	O	O
few	O	O
items	O	O
come	O	O
up	O	O
recently	O	O
where	O	O
I	O	O
have	O	O
a	O	O
need	O	O
to	O	O
execute	O	O
a	O	O
method	O	O
immediately	O	O
after	O	O
initial	O	O
screen	O	B-User_Interface_Element
load	O	O
.	O	O

For	O	O
example	O	O
a	O	O
couple	O	O
scenario's	O	O
:	O	O

1)	O	O
Processing	O	O
screen	O	B-User_Interface_Element
where	O	O
the	O	O
data	O	O
shown	O	O
in	O	O
the	O	O
processing	O	O
screen	O	B-User_Interface_Element
comes	O	O
from	O	O
an	O	O
external	O	O
API	O	B-Library
(	O	O
dynamically	O	O
loaded	O	O
and	O	O
parsed	O	O
,	O	O
then	O	O
displayed	O	O
for	O	O
processing	O	O
)	O	O

2)	O	O
Automatically	O	O
load	O	O
a	O	O
second	O	O
window/tab	O	B-User_Interface_Element
when	O	O
the	O	O
screen	O	B-User_Interface_Element
finishes	O	O
loading	O	O
based	O	O
on	O	O
data	O	O
in	O	O
the	O	O
record	O	O
.	O	O

3)	O	O
A	O	O
popup	O	B-User_Interface_Element
prompt	O	I-User_Interface_Element
after	O	O
screen	O	B-User_Interface_Element
load	O	O
notifying	O	O
the	O	O
user	O	O
of	O	O
a	O	O
situation	O	O
on	O	O
the	O	O
item	O	O
the	O	O
loaded	O	O
.	O	O

All	O	O
three	O	O
of	O	O
these	O	O
present	O	O
different	O	O
challenges	O	O
which	O	O
lead	O	O
me	O	O
to	O	O
wonder	O	O
if	O	O
what	O	O
the	O	O
best	O	O
day	O	O
to	O	O
handle	O	O
these	O	O
would	O	O
be	O	O
.	O	O

For	O	O
example	O	O
,	O	O
item	O	O
1	O	O
-	O	O
currently	O	O
I	O	O
have	O	O
an	O	O
a	O	O
call	O	O
in	O	O
the	O	O
"	O	O
GetRecords	O	B-Function
"	O	O
override	O	O
that	O	O
if	O	O
the	O	O
View	O	O
contains	O	O
no	O	O
records	O	O
,	O	O
calls	O	O
the	O	O
a	O	O
long	O	O
running	O	O
process	O	O
to	O	O
go	O	O
grab	O	O
the	O	O
records	O	O
.	O	O

While	O	O
this	O	O
works	O	O
,	O	O
I	O	O
'm	O	O
presented	O	O
with	O	O
two	O	O
issues	O	O

If	O	O
I	O	O
let	O	O
the	O	O
long	O	O
process	O	O
run	O	O
and	O	O
then	O	O
request	O	O
a	O	O
refresh	O	O
,	O	O
the	O	O
user	O	O
has	O	O
the	O	O
ability	O	O
to	O	O
click	O	O
"	O	O
Process/Process	O	O
All	O	O
"	O	O
before	O	O
data	O	O
is	O	O
available	O	O
.	O	O

This	O	O
also	O	O
effects	O	O
scheduling	O	O
of	O	O
the	O	O
process	O	O
.	O	O

If	O	O
I	O	O
block	O	O
the	O	O
process	O	O
with	O	O
a	O	O
WaitTillCompleted	O	B-Function
,	O	O
the	O	O
user	O	O
is	O	O
presented	O	O
with	O	O
a	O	O
standard	O	O
page	O	B-User_Interface_Element
loading	O	I-User_Interface_Element
spinner	O	I-User_Interface_Element
instead	O	O
of	O	O
the	O	O
"	O	O
Long	O	O
running	O	O
Process	O	O
"	O	O
indicator	O	O
but	O	O
allows	O	O
scheduling	O	O
to	O	O
work	O	O
correctly	O	O
.	O	O

For	O	O
#2	O	O
/3	O	O
,	O	O
the	O	O
request	O	O
for	O	O
the	O	O
new	O	O
window/tab	O	B-User_Interface_Element
and	O	O
the	O	O
popup	O	B-User_Interface_Element
both	O	O
seem	O	O
to	O	O
be	O	O
initiated	O	O
from	O	O
a	O	O
postback	O	O
to	O	O
function	O	O
correctly	O	O
.	O	O

That	O	O
leads	O	O
me	O	O
to	O	O
believe	O	O
I	O	O
need	O	O
a	O	O
javascript	O	B-Language
method	O	O
to	O	O
run	O	O
after	O	O
the	O	O
page	O	B-User_Interface_Element
finishes	O	O
init	O	O
to	O	O
execute	O	O
the	O	O
appropriate	O	O
actions	O	O
.	O	O

Is	O	O
there	O	O
a	O	O
better	O	O
way	O	O
to	O	O
handle	O	O
either	O	O
of	O	O
these	O	O
situations	O	O
with	O	O
native	O	O
framework	O	O
methods	O	O
?	O	O

While	O	O
this	O	O
does	O	O
n't	O	O
directly	O	O
answer	O	O
the	O	O
need	O	O
to	O	O
call	O	O
a	O	O
method	O	O
in	O	O
page	O	B-User_Interface_Element
load	O	O
,	O	O
here	O	O
are	O	O
some	O	O
options	O	O
for	O	O
checking	O	O
for	O	O
running	O	O
process	O	O
to	O	O
control	O	O
buttons	O	B-User_Interface_Element
or	O	O
displaying	O	O
messages	O	O
outside	O	O
of	O	O
a	O	O
popup	O	B-User_Interface_Element
..	O	O
.	O	O

We	O	O
have	O	O
some	O	O
areas	O	O
where	O	O
we	O	O
want	O	O
to	O	O
wait	O	O
or	O	O
prevent	O	O
users	O	O
from	O	O
re-processing	O	O
before	O	O
the	O	O
last	O	O
process	O	O
completes	O	O
and	O	O
have	O	O
implemented	O	O
some	O	O
of	O	O
the	O	O
following	O	O
examples	O	O
.	O	O

Check	O	O
to	O	O
see	O	O
if	O	O
the	O	O
process	O	O
is	O	O
currently	O	O
running	O	O
.	O	O

Could	O	O
be	O	O
used	O	O
to	O	O
disable	O	O
buttons	O	B-User_Interface_Element
or	O	O
exist	O	O
action	O	O
buttons	O	B-User_Interface_Element
..	O	O
.	O	O

Wait	O	O
for	O	O
the	O	O
currently	O	O
running	O	O
process	O	O
to	O	O
finish	O	O
..	O	O
.	O	O

I	O	O
have	O	O
not	O	O
worked	O	O
with	O	O
a	O	O
popup	O	B-User_Interface_Element
during	O	O
data	O	O
load	O	O
but	O	O
you	O	O
might	O	O
be	O	O
better	O	O
off	O	O
presenting	O	O
a	O	O
row	O	B-Variable
warning/error	O	O
for	O	O
the	O	O
displayed	O	O
data	O	O
rather	O	O
than	O	O
a	O	O
pop	O	B-User_Interface_Element
up	O	I-User_Interface_Element
?	O	O

I	O	O
have	O	O
seen	O	O
this	O	O
method	O	O
in	O	O
android	O	B-Operating_System
source	O	O
code	O	O
.	O	O

why	O	O
not	O	O
something	O	O
like	O	O
this	O	O

what	O	O
is	O	O
the	O	O
advantage	O	O
of	O	O
modifying	O	O
argument	O	O
instead	O	O
of	O	O
returning	O	O
new	O	O
value	O	O

The	O	O
advantage	O	O
of	O	O
modifying	O	O
an	O	O
argument	O	O
instead	O	O
of	O	O
returning	O	O
a	O	O
new	O	O
instance	O	O
is	O	O
that	O	O
you	O	O
put	O	O
control	O	O
of	O	O
instantiation	O	O
in	O	O
the	O	O
hands	O	O
of	O	O
the	O	O
calling	O	O
code	O	O
-	O	O
i.e	O	O
.	O	O

you	O	O
allow	O	O
it	O	O
to	O	O
re-use	O	O
an	O	O
existing	O	O
instance	O	O
.	O	O

The	O	O
'	O	O
modifying	O	O
argument	O	O
'	O	O
approach	O	O
allows	O	O
you	O	O
to	O	O
initialise	O	O
an	O	O
object	O	O
using	O	O
several	O	O
such	O	O
methods	O	O
.	O	O

e.g	O	O
.	O	O

Arguably	O	O
you	O	O
could	O	O
do	O	O
the	O	O
same	O	O
thing	O	O
by	O	O
returning	O	O
the	O	O
same	O	O
instance	O	O
as	O	O
was	O	O
passed	O	O
in	O	O
as	O	O
a	O	O
parameter	O	O
,	O	O
but	O	O
I	O	O
personally	O	O
think	O	O
that	O	O
's	O	O
asking	O	O
for	O	O
trouble	O	O
.	O	O

Another	O	O
possible	O	O
reason	O	O
might	O	O
be	O	O
if	O	O
the	O	O
cost	O	O
of	O	O
instantiation	O	O
was	O	O
high	O	O
,	O	O
you	O	O
might	O	O
want	O	O
to	O	O
recycle	O	O
an	O	O
old	O	O
object	O	O
.	O	O

This	O	O
does	O	O
n't	O	O
appear	O	O
to	O	O
be	O	O
the	O	O
case	O	O
with	O	O
the	O	O
code	O	O
you	O	O
present	O	O
though	O	O
,	O	O
and	O	O
it	O	O
's	O	O
an	O	O
optimisation	O	O
so	O	O
only	O	O
think	O	O
about	O	O
doing	O	O
this	O	O
if	O	O
absolutely	O	O
necessary	O	O
!	O	O

Personally	O	O
I	O	O
would	O	O
tend	O	O
to	O	O
take	O	O
the	O	O
'	O	O
return	O	O
a	O	O
new	O	O
instance	O	O
'	O	O
approach	O	O
unless	O	O
there	O	O
's	O	O
a	O	O
specific	O	O
reason	O	O
not	O	O
to	O	O
.	O	O

I	O	O
think	O	O
it	O	O
's	O	O
simpler	O	O
and	O	O
decreases	O	O
the	O	O
likelihood	O	O
of	O	O
subtle	O	O
errors	O	O
in	O	O
the	O	O
calling	O	O
code	O	O
.	O	O

I	O	O
'm	O	O
with	O	O
a	O	O
.NET/C	O	B-Library
#	O	B-Language
WebForm	O	B-User_Interface_Element
application	O	O
.	O	O

I	O	O
create	O	O
a	O	O
class	O	O
,	O	O
and	O	O
I	O	O
'd	O	O
like	O	O
to	O	O
use	O	O
the	O	O
object	O	O
Session	B-Code_Block	B-Class
or	O	O
Request	B-Code_Block	B-Class
(	O	O
as	O	O
I	O	O
use	O	O
on	O	O
an	O	O
.aspx	O	B-File_Type
page	O	B-User_Interface_Element
)	O	O
without	O	O
prefix	O	O
it	O	O
with	O	O
HttpContext.Current	B-Code_Block	B-Variable
.	O	O

I	O	O
guess	O	O
I	O	O
can	O	O
just	O	O
import	O	O
a	O	O
class	O	O
by	O	O
using	O	O
?	O	O

But	O	O
which	O	O
?	O	O

To	O	O
obtain	O	O
Request	B-Code_Block	B-Class
,	O	O
Session	B-Code_Block	B-Class
etc	O	O
in	O	O
an	O	O
unrelated	O	O
class	O	O
without	O	O
using	O	O
HttpContext.Current	B-Code_Block	B-Variable
first.	O	O
.	O	O
well	O	O
,	O	O
you	O	O
ca	O	O
n't	O	O
-	O	O
unless	O	O
you	O	O
add	O	O
them	O	O
as	O	O
properties	O	O
somewhere	O	O
-	O	O
for	O	O
example	O	O
:	O	O

However	O	O
,	O	O
frankly	O	O
I	O	O
do	O	O
n't	O	O
think	O	O
I	O	O
would	O	O
do	O	O
this	O	O
.	O	O

In	O	O
fact	O	O
,	O	O
I	O	O
would	O	O
strongly	O	O
advise	O	O
limiting	O	O
how	O	O
much	O	O
your	O	O
utility	O	O
code	O	O
knows	O	O
about	O	O
the	O	O
request	O	O
model	O	O
,	O	O
and	O	O
simply	O	O
figure	O	O
out	O	O
what	O	O
the	O	O
class	O	O
needs	O	O
to	O	O
know	O	O
,	O	O
and	O	O
give	O	O
it	O	O
exactly	O	O
that	O	O
.	O	O

Let	O	O
the	O	O
UI	O	O
layer	O	O
worry	O	O
about	O	O
ASP.NET	O	B-Library
,	O	O
not	O	O
your	O	O
logic	O	O
code	O	O
.	O	O

By	O	O
using	O	O
this	O	O
System.Web.SessionState	B-Code_Block	B-Class
you	O	O
can	O	O
access	O	O
the	O	O
session	O	O
.	O	O

More	O	O
information	O	O
on	O	O
this	O	O
link	O	O

Namespace	O	O
:	O	O
System.Web.SessionState	O	B-Class

Assembly	O	O
:	O	O
System.Web	O	B-Class
(	O	O
in	O	O
System.Web.dll	O	B-Class
)	O	O

I	O	O
have	O	O
a	O	O
single	O	O
page	O	O
application	O	O
using	O	O
AngularJS	O	B-Library
and	O	O
I	O	O
am	O	O
facing	O	O
one	O	O
performance	O	O
issue	O	O
in	O	O
it	O	O
.	O	O

My	O	O
application	O	O
processes	O	O
incoming	O	O
events	O	O
from	O	O
the	O	O
server	O	B-Application
side	O	O
which	O	O
are	O	O
passed	O	O
to	O	O
the	O	O
AngularJS	O	B-Library
framework	O	O
on	O	O
the	O	O
client	O	B-Application
side	O	O
using	O	O
ASP.NET	O	B-Library
SignalR	O	I-Library
.	O	O

There	O	O
are	O	O
millions	O	O
of	O	O
events	O	O
that	O	O
can	O	O
be	O	O
received	O	O
by	O	O
my	O	O
application	O	O
and	O	O
there	O	O
is	O	O
no	O	O
performance	O	O
issue	O	O
on	O	O
the	O	O
server	O	B-Application
side	O	O
and	O	O
it	O	O
easily	O	O
passes	O	O
these	O	O
number	O	O
of	O	O
events	O	O
one	O	O
after	O	O
the	O	O
other	O	O
to	O	O
the	O	O
AngularJS	O	B-Library
framework	O	O
.	O	O

The	O	O
problem	O	O
lies	O	O
on	O	O
the	O	O
client	O	B-Application
side	O	O
.	O	O

After	O	O
processing	O	O
the	O	O
event	O	O
,	O	O
i	O	O
use	O	O
$scope.$apply()	O	B-Function
to	O	O
update	O	O
the	O	O
page	O	O
and	O	O
display	O	O
the	O	O
events	O	O
.	O	O

In	O	O
such	O	O
a	O	O
case	O	O
where	O	O
there	O	O
are	O	O
multiple	O	O
events	O	O
being	O	O
received	O	O
one	O	O
after	O	O
the	O	O
other	O	O
,	O	O
calling	O	O
$scope.$apply()	O	B-Function
every	O	O
time	O	O
slows	O	O
down	O	O
the	O	O
application	O	O
and	O	O
does	O	O
not	O	O
show	O	O
the	O	O
events	O	O
quickly	O	O
.	O	O

The	O	O
events	O	O
will	O	O
be	O	O
passed	O	O
at	O	O
random	O	O
so	O	O
I	O	O
do	O	O
n't	O	O
even	O	O
know	O	O
how	O	O
any	O	O
events	O	O
will	O	O
be	O	O
received	O	O
by	O	O
my	O	O
application	O	O
at	O	O
any	O	O
point	O	O
in	O	O
time	O	O
.	O	O

Any	O	O
ideas	O	O
on	O	O
how	O	O
to	O	O
get	O	O
this	O	O
issue	O	O
resolved	O	O
will	O	O
be	O	O
very	O	O
helpful	O	O
.	O	O

Thanks	O	O
.	O	O

Instead	O	O
of	O	O
using	O	O
$scope.$apply()	B-Code_Block	B-Function
,	O	O
use	O	O
$scope.$evalAsync()	B-Code_Block	B-Function
instead	O	O
.	O	O

From	O	O
the	O	O
docs	O	O
:	O	O

I	O	O
also	O	O
tended	O	O
to	O	O
have	O	O
a	O	O
$scope.$safeApply()	B-Code_Block	B-Function
method	O	O
as	O	O
well	O	O
that	O	O
was	O	O
effectively	O	O
a	O	O
debounced	O	O
call	O	O
to	O	O
$scope.$evalAsync()	B-Code_Block	B-Function
.	O	O

So	O	O
far	O	O
,	O	O
I	O	O
have	O	O
an	O	O
excel	O	B-File_Type
file	O	O
as	O	O
such	O	O

http://i.stack.imgur.com/zX3xC.png	O	O

My	O	O
problem	O	O
is	O	O
that	O	O
I	O	O
want	O	O
to	O	O
be	O	O
able	O	O
to	O	O
input	O	O
a	O	O
number	O	O
after	O	O
having	O	O
the	O	O
search	O	B-User_Interface_Element
button	O	I-User_Interface_Element
pressed	O	O
and	O	O
an	O	O
Input	O	B-User_Interface_Element
box	O	I-User_Interface_Element
appears	O	O
,	O	O
With	O	O
the	O	O
number	O	O
in	O	O
the	O	O
search	O	B-User_Interface_Element
bar	O	I-User_Interface_Element
for	O	O
all	O	O
numbers	O	O
that	O	O
match	O	O
in	O	O
the	O	O
spreadsheet	O	B-User_Interface_Element
to	O	O
be	O	O
selected	O	O
.	O	O

Also	O	O
as	O	O
as	O	O
addition	O	O
to	O	O
be	O	O
able	O	O
to	O	O
put	O	O
in	O	O
a	O	O
few	O	O
numbers	O	O
(	O	O
40	O	B-Value
,	O	O
21	O	B-Value
,	O	O
33	O	B-Value
separated	O	O
by	O	O
commas	O	O
)	O	O

My	O	O
current	O	O
code	O	O
is	O	O
:	O	O

I	O	O
am	O	O
fairly	O	O
new	O	O
to	O	O
coding	O	O
so	O	O
a	O	O
lot	O	O
of	O	O
this	O	O
has	O	O
come	O	O
from	O	O
internet	O	O
research	O	O
etc	O	O
.	O	O

Abandon	O	O
your	O	O
AutoFilter	O	B-Function
method	O	O
in	O	O
favor	O	O
of	O	O
a	O	O
Range.Find	O	B-Function
method	O	O
.	O	O

While	O	O
ultimately	O	O
possible	O	O
with	O	O
a	O	O
series	O	O
of	O	O
.AutoFilters	O	B-Function
applied	O	O
to	O	O
each	O	O
column	O	B-User_Interface_Element
,	O	O
simply	O	O
collecting	O	O
the	O	O
results	O	O
from	O	O
a	O	O
.Find	O	B-Function
operation	O	O
with	O	O
the	O	O
Union	O	B-Function
method	O	O
makes	O	O
more	O	O
sense	O	O
.	O	O

It	O	O
is	O	O
not	O	O
clear	O	O
what	O	O
actions	O	O
you	O	O
want	O	O
to	O	O
perform	O	O
after	O	O
the	O	O
Range	O	B-Function
.Selectยน	O	I-Function
method	O	O
has	O	O
been	O	O
applied	O	O
.	O	O

I	O	O
would	O	O
suggest	O	O
that	O	O
a	O	O
simple	O	O
With	O	B-Code_Block
..	O	I-Code_Block
.	O	I-Code_Block
End	O	I-Code_Block
With	O	I-Code_Block
statement	O	O
woudl	O	O
allow	O	O
you	O	O
to	O	O
continue	O	O
working	O	O
on	O	O
the	O	O
rng	O	B-Variable
discontiguous	O	O
Range	O	B-Class
object	O	O
without	O	O
actually	O	O
selecting	O	O
it	O	O
at	O	O
all	O	O
.	O	O

ยน	O	O
See	O	O
How	O	O
to	O	O
avoid	O	O
using	O	O
Select	O	B-Function
in	O	O
Excel	O	B-Application
VBA	O	I-Application
macros	O	O
for	O	O
more	O	O
methods	O	O
on	O	O
getting	O	O
away	O	O
from	O	O
relying	O	O
on	O	O
select	O	B-Function
and	O	O
activate	O	B-Function
to	O	O
accomplish	O	O
your	O	O
goals	O	O
.	O	O

I	O	O
have	O	O
tested	O	O
while	O	B-Code_Block
loop	O	O
below	O	O
and	O	O
do	O	O
n't	O	O
understand	O	O
the	O	O
result	O	O
.	O	O

How	O	O
is	O	O
it	O	O
possible	O	O
to	O	O
have	O	O
the	O	O
result	O	O
x	O	B-Code_Block
=	O	I-Code_Block
1.5	O	I-Code_Block
for	O	O
the	O	O
used	O	O
while	O	O
condition	O	O
where	O	O
x	O	B-Code_Block
<	O	I-Code_Block
14.1	O	I-Code_Block
?	O	O

How	O	O
to	O	O
explain	O	O
this	O	O
result	O	O
?	O	O

Update	O	O
:	O	O

and	O	O
one	O	O
more	O	O
.	O	O

Why	O	O
the	O	O
results	O	O
are	O	O
different	O	O
for	O	O
Double	O	B-Data_Type
and	O	O
Float	O	B-Data_Type
?	O	O

Update	O	O
2	O	O

and	O	O
another	O	O
one	O	O
.	O	O

Why	O	O
there	O	O
is	O	O
no	O	O
difference	O	O
for	O	O
<	O	B-Code_Block
and	O	O
<=	O	B-Code_Block
conditions	O	O
.	O	O

Does	O	O
it	O	O
mean	O	O
that	O	O
usage	O	O
of	O	O
<=	O	B-Code_Block
has	O	O
no	O	O
sense	O	O
for	O	O
floating	O	B-Data_Type
point	O	I-Data_Type
?	O	O

What	O	O
else	O	O
would	O	O
you	O	O
expect	O	O
?	O	O

The	O	O
loop	O	O
is	O	O
executed	O	O
15	O	O
times	O	O
.	O	O

On	O	O
the	O	O
14th	O	O
time	O	O
,	O	O
x	O	B-Variable
is	O	O
1.4	O	B-Value
and	O	O
so	O	O
you	O	O
add	O	O
another	O	O
0.1	O	B-Value
,	O	O
making	O	O
it	O	O
1.5	O	B-Value
.	O	O

If	O	O
you	O	O
expect	O	O
the	O	O
loop	O	O
to	O	O
terminate	O	O
at	O	O
1.4	O	B-Value
,	O	O
you	O	O
should	O	O
increment	O	O
x	O	B-Variable
before	O	O
checking	O	O
the	O	O
while	O	O
condition	O	O
,	O	O
not	O	O
after	O	O
that	O	O
.	O	O

If	O	O
you	O	O
expect	O	O
the	O	O
loop	O	O
to	O	O
terminate	O	O
on	O	O
1.41	O	B-Value
,	O	O
your	O	O
increment	O	O
is	O	O
wrong	O	O
and	O	O
you	O	O
should	O	O
do	O	O

instead	O	O
,	O	O
making	O	O
it	O	O
141	O	O
iterations	O	O
.	O	O

As	O	O
for	O	O
the	O	O
second	O	O
question	O	O
,	O	O
I	O	O
am	O	O
aware	O	O
that	O	O
Float	B-Code_Block	B-Data_Type
should	O	O
not	O	O
be	O	O
used	O	O
for	O	O
monetary	O	O
calculations	O	O
and	O	O
such	O	O
due	O	O
to	O	O
its	O	O
lack	O	O
of	O	O
precision	O	O
.	O	O

However	O	O
,	O	O
I	O	O
trusted	O	O
Double	B-Code_Block	B-Data_Type
so	O	O
far	O	O
,	O	O
and	O	O
the	O	O
while	O	O
loop	O	O
in	O	O
run	O	O
15	O	O
actually	O	O
claims	O	O
the	O	O
Double	O	B-Data_Type
value	O	O
to	O	O
be	O	O
less	O	O
than	O	O
1.0	O	B-Value
while	O	O
it	O	O
is	O	O
reported	O	O
to	O	O
be	O	O
1.0	O	B-Value
.	O	O

We	O	O
have	O	O
got	O	O
a	O	O
precision	O	O
problem	O	O
here	O	O
,	O	O
as	O	O
we	O	O
can	O	O
see	O	O
if	O	O
we	O	O
substract	O	O
x	O	B-Variable
from	O	O
1.0	O	B-Value
:	O	O

which	O	O
returns	O	O
:	O	O
1.11022302462516e-16	O	B-Value

At	O	O
the	O	O
same	O	O
time	O	O
,	O	O
Float	B-Code_Block	B-Data_Type
seems	O	O
to	O	O
be	O	O
unprecise	O	O
in	O	O
the	O	O
other	O	O
direction	O	O
.	O	O

In	O	O
the	O	O
last	O	O
run	O	O
,	O	O
it	O	O
is	O	O
a	O	O
little	O	O
bigger	O	O
than	O	O
0.9	O	B-Value
(	O	O
0.9	O	B-Value
+	O	I-Value
5.96046e-08	O	I-Value
)	O	O
,	O	O
making	O	O
it	O	O
bigger	O	O
than	O	O
10	O	B-Value
in	O	O
the	O	O
following	O	O
run	O	O
.	O	O

The	O	O
reason	O	O
why	O	O
Double	B-Code_Block	B-Data_Type
and	O	O
Float	B-Code_Block	B-Data_Type
are	O	O
wrong	O	O
in	O	O
different	O	O
directions	O	O
is	O	O
just	O	O
a	O	O
matter	O	O
of	O	O
how	O	O
the	O	O
values	O	O
are	O	O
stored	O	O
,	O	O
and	O	O
the	O	O
result	O	O
will	O	O
be	O	O
different	O	O
depending	O	O
on	O	O
the	O	O
number	O	O
.	O	O

For	O	O
example	O	O
,	O	O
with	O	O
2.0	O	O
both	O	O
actual	O	O
values	O	O
are	O	O
bigger	O	O
:	O	O
Double	B-Code_Block	B-Data_Type
by	O	O
4.440892.e-16	O	B-Value
and	O	O
Float	B-Code_Block	B-Data_Type
by	O	O
2.38419e-07	O	B-Value
.	O	O

For	O	O
3.0	O	O
Double	B-Code_Block	B-Data_Type
is	O	O
bigger	O	O
by	O	O
1.33226e-15	O	O
and	O	O
Float	B-Code_Block	B-Data_Type
smaller	O	O
by	O	O
7.1525e-07	O	O
.	O	O

The	O	O
same	O	O
problems	O	O
occur	O	O
using	O	O
x.isLess(than:1.0)	O	B-Function
,	O	O
but	O	O
this	O	O
method	O	O
is	O	O
the	O	O
basis	O	O
for	O	O
the	O	O
<	O	B-Code_Block
operator	O	O
as	O	O
of	O	O
https://developer.apple.com/reference/swift/floatingpoint/1849403-isless	O	O

isLessThanOrEqualTo(1.0)	B-Code_Block	B-Function
,	O	O
on	O	O
the	O	O
other	O	O
hand	O	O
,	O	O
seems	O	O
to	O	O
work	O	O
reliably	O	O
as	O	O
expected	O	O
.	O	O

This	O	O
answer	O	O
is	O	O
pretty	O	O
much	O	O
a	O	O
question	O	O
itself	O	O
by	O	O
now	O	O
,	O	O
so	O	O
I	O	O
'm	O	O
curious	O	O
if	O	O
anyone	O	O
has	O	O
an	O	O
in-depth	O	O
explanation	O	O
of	O	O
this	O	O
..	O	O
.	O	O

Update	O	O

The	O	O
more	O	O
I	O	O
think	O	O
about	O	O
it	O	O
,	O	O
the	O	O
less	O	O
of	O	O
a	O	O
Swift	O	B-Language
problem	O	O
it	O	O
is	O	O
.	O	O

Basically	O	O
,	O	O
you	O	O
have	O	O
that	O	O
problem	O	O
in	O	O
all	O	O
floating	O	B-Data_Type
point	O	I-Data_Type
calculations	O	O
,	O	O
because	O	O
they	O	O
are	O	O
never	O	O
precise	O	O
.	O	O

Both	O	O
Float	B-Code_Block	B-Data_Type
and	O	O
Double	B-Code_Block	B-Data_Type
are	O	O
not	O	O
precise	O	O
,	O	O
Double	B-Code_Block	B-Data_Type
is	O	O
just	O	O
twice	O	O
as	O	O
accurate	O	O
.	O	O

However	O	O
,	O	O
this	O	O
means	O	O
that	O	O
comparisons	O	O
like	O	O
==	B-Code_Block	B-Code_Block
are	O	O
useless	O	O
with	O	O
floating	O	B-Data_Type
point	O	I-Data_Type
values	O	O
unless	O	O
they	O	O
are	O	O
both	O	O
rounded	O	O
.	O	O

Therefore	O	O
,	O	O
good	O	O
advice	O	O
in	O	O
loops	O	O
like	O	O
those	O	O
of	O	O
yours	O	O
with	O	O
a	O	O
known	O	O
precision	O	O
(	O	O
in	O	O
your	O	O
case	O	O
one	O	O
decimal	O	B-Data_Type
)	O	O
would	O	O
be	O	O
to	O	O
round	O	O
to	O	O
that	O	O
precision	O	O
before	O	O
doing	O	O
any	O	O
kind	O	O
of	O	O
comparison	O	O
.	O	O

For	O	O
example	O	O
,	O	O
this	O	O
would	O	O
fix	O	O
the	O	O
loop	O	O
:	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
make	O	O
a	O	O
Wordpress	O	B-Application
page	O	O
where	O	O
the	O	O
user	O	O
can	O	O
point	O	O
to	O	O
a	O	O
location	O	O
by	O	O
writing	O	O
the	O	O
adress	O	O
or	O	O
browsing	O	O
a	O	O
map`	O	B-User_Interface_Element
.	O	O

As	O	O
you	O	O
can	O	O
see	O	O
in	O	O
the	O	O
page	O	O
(	O	O
http://www.levinor.es/pruebas/pagina-ejemplo/	O	O
)	O	O
the	O	O
map	O	B-User_Interface_Element
is	O	O
n't	O	O
loading	O	O
and	O	O
I	O	O
do	O	O
n't	O	O
know	O	O
why	O	O
..	O	O
.	O	O

I	O	O
checked	O	O
the	O	O
API	O	B-Variable
Key	O	I-Variable
,	O	O
and	O	O
the	O	O
allowed	O	O
domains	O	O
(	O	O
.levinor.es/	O	O
)	O	O
of	O	O
the	O	O
key	O	O
..	O	O
.	O	O

Please	O	O
I	O	O
need	O	O
some	O	O
help	O	O
..	O	O
.	O	O

To	O	O
do	O	O
so	O	O
I	O	O
created	O	O
this	O	O
javascript	O	B-Language
(	O	O
google-maps.js	O	B-Library
)	O	O
and	O	O
placed	O	O
it	O	O
in	O	O
the	O	O
script	O	O
folder	O	O
of	O	O
my	O	O
theme	O	O
:	O	O

I	O	O
placed	O	O
the	O	O
next	O	O
code	O	O
into	O	O
the	O	O
funcionts.php	O	B-File_Name
file	O	O
for	O	O
referencing	O	O
the	O	O
js	O	B-Language
(	O	O
I	O	O
doubled	O	O
checked	O	O
the	O	O
page	O	O
ID	O	O
and	O	O
my	O	O
API	O	B-Variable
Key	O	I-Variable
)	O	O
:	O	O

}	O	B-Code_Block

And	O	O
added	O	O
to	O	O
my	O	O
header.php	O	B-File_Name
:	O	O

The	O	O
code	O	O
of	O	O
the	O	O
page	O	O
is	O	O
:	O	O

I	O	O
will	O	O
be	O	O
very	O	O
gratefull	O	O
if	O	O
someone	O	O
can	O	O
help	O	O
me	O	O
.	O	O

Thanks	O	O
!	O	O

Google	O	B-Website
has	O	O
disabled	O	O
the	O	O
use	O	O
pt	O	O
the	O	O
Maps	O	B-Library
API	O	I-Library
for	O	O
this	O	O
application	O	O
.	O	O

The	O	O
key	O	O
you	O	O
used	O	O
is	O	O
not	O	O
valid	O	O
or	O	O
is	O	O
not	O	O
authorized	O	O
for	O	O
Google	O	B-Library
maps	O	I-Library
JavaScript	O	I-Library
API	O	I-Library
.	O	O

If	O	O
you	O	O
obtained	O	O
this	O	O
key	O	O
you	O	O
still	O	O
need	O	O
to	O	O
enable	O	O
the	O	O
use	O	O
of	O	O
the	O	O
JavaScript	O	B-Library
API	O	I-Library

Go	O	O
to	O	O
this	O	O
link	O	O
for	O	O
more	O	O
info	O	O
:	O	O

https://developers.google.com/maps/documentation/javascript/tutorial	O	O

I	O	O
have	O	O
report	O	O
with	O	O
several	O	O
data	O	O
sets	O	O
.	O	O

DS1	O	B-Variable
-	O	O
Executes	O	O
an	O	O
SP	O	O
which	O	O
Truncates	O	O
and	O	O
loads	O	O
a	O	O
Table	O	B-Data_Structure
based	O	O
on	O	O
the	O	O
year	O	O
and	O	O
period	O	O
passed	O	O
as	O	O
a	O	O
parameter	O	O
by	O	O
user	O	O
from	O	O
the	O	O
report	O	O
.	O	O

DS2	O	B-Variable
and	O	O
DS3	O	B-Variable
-	O	O
Select	O	O
from	O	O
the	O	O
table	O	B-Data_Structure
loaded	O	O
in	O	O
last	O	O
step	O	O
.	O	O

Is	O	O
there	O	O
any	O	O
way	O	O
to	O	O
ensure	O	O
that	O	O
DS1	O	B-Variable
executes	O	O
before	O	O
DS2	O	B-Variable
and	O	O
DS3	O	B-Variable
?	O	O

I	O	O
know	O	O
that	O	O
there	O	O
is	O	O
a	O	O
data	O	O
source	O	O
property	O	O
which	O	O
tells	O	O
SSRS	O	B-Application
to	O	O
run	O	O
the	O	O
Data	O	O
Sets	O	O
in	O	O
a	O	O
single	O	O
transaction	O	O
and	O	O
hence	O	O
execute	O	O
them	O	O
sequentially	O	O
rather	O	O
than	O	O
in	O	O
parallel	O	O
as	O	O
explained	O	O
in	O	O
this	O	O
link	O	O
http://blogs.msdn.com/b/robertbruckner/archive/2008/08/07/dataset-execution-order.aspx	O	O

But	O	O
my	O	O
doubt	O	O
is	O	O
that	O	O
when	O	O
I	O	O
deploy	O	O
this	O	O
report	O	O
to	O	O
a	O	O
report	O	B-Application
server	O	I-Application
,	O	O
I	O	O
am	O	O
going	O	O
to	O	O
use	O	O
a	O	O
shared	O	O
data	O	O
source	O	O
already	O	O
created	O	O
there	O	O
.	O	O

What	O	O
will	O	O
happen	O	O
to	O	O
this	O	O
property	O	O
which	O	O
I	O	O
set	O	O
at	O	O
design	O	O
time	O	O
after	O	O
deployment	O	O
?	O	O

I	O	O
ca	O	O
n't	O	O
figure	O	O
out	O	O
why	O	O
I	O	O
get	O	O
this	O	O
error	O	O
on	O	O
my	O	O
process.php	O	B-File_Name
page	O	O
:	O	O

Does	O	O
n't	O	O
make	O	O
much	O	O
sense	O	O
,	O	O
as	O	O
it	O	O
seems	O	O
to	O	O
be	O	O
contradicting	O	O
itself	O	O
in	O	O
the	O	O
error	O	O
message	O	O
.	O	O

Here	O	O
my	O	O
process.php	O	B-File_Name
:	O	O

It	O	O
's	O	O
probably	O	O
a	O	O
stupid	O	O
error	O	O
,	O	O
as	O	O
I	O	O
'm	O	O
learning	O	O
while	O	O
working	O	O
on	O	O
this	O	O
project	O	O
.	O	O

Thanks	O	O
for	O	O
any	O	O
help	O	O
!	O	O

Change	O	O

to	O	O

you	O	O
missed	O	O
a	O	O
backtick	O	O
=>	O	O
`	B-Code_Block	B-Value

I	O	O
using	O	O
phpMyAdmin	O	B-Application
4.4.14	O	B-Version
in	O	O
Win7+Chrome	O	B-Operating_System
and	O	O
MySQL	O	B-Application
5.6	O	B-Version
in	O	O
Linux	O	B-Operating_System
.	O	O

My	O	O
timezone	O	O
is	O	O
+8	O	B-Value

The	O	O
date	B-Code_Block	B-Function
command	O	O
in	O	O
Linux	O	B-Operating_System
returns	O	O
a	O	O
correct	O	O
date	O	O
and	O	O
time	O	O
.	O	O

When	O	O
I	O	O
issue	O	O
select	B-Code_Block	B-Function
now()	I-Code_Block	I-Function
inside	O	O
the	O	O
phpMyAdmin	O	B-Application
,	O	O
the	O	O
date	O	O
and	O	O
time	O	O
is	O	O
correct	O	O
.	O	O

But	O	O
,	O	O
when	O	O
I	O	O
print	O	O
the	O	O
result	O	O
,	O	O
the	O	O
time	O	O
value	O	O
in	O	O
the	O	O
Generation	B-Code_Block	B-Variable
Time	I-Code_Block	I-Variable
is	O	O
wrong	O	O
.	O	O

Look	O	O
like	O	O
that	O	O
the	O	O
Generation	B-Code_Block	B-Variable
Time	I-Code_Block	I-Variable
does	O	O
not	O	O
do	O	O
a	O	O
+8	O	B-Value
to	O	O
the	O	O
hour	O	O
.	O	O

How	O	O
to	O	O
fix	O	O
?	O	O

Cheers	O	O
,	O	O

Alvin	O	B-User_Name
SIU	O	I-User_Name

Print	O	O
view	O	O
is	O	O
done	O	O
via	O	O
PHP	O	B-Language
script	O	O
,	O	O
so	O	O
the	O	O
issue	O	O
is	O	O
in	O	O
PHP	O	B-Language
,	O	O
not	O	O
in	O	O
MySQL	O	B-Application
.	O	O

In	O	O
order	O	O
to	O	O
change	O	O
this	O	O
timestamp	O	O
,	O	O
you	O	O
need	O	O
to	O	O
open	O	O
php.ini	O	B-File_Name
and	O	O
to	O	O
change/add	O	O
date.timezone	B-Code_Block	B-Variable
variable	O	O
with	O	O
desired	O	O
value	O	O
:	O	O

All	O	O
available	O	O
timezones	O	O
can	O	O
be	O	O
found	O	O
here	O	O
:	O	O
http://www.php.net/manual/en/timezones.php	O	O

Can	O	O
the	O	O
Google	O	B-Application
Chrome	O	I-Application
dev	O	I-Application
tools	O	I-Application
be	O	O
used	O	O
to	O	O
directly	O	O
change	O	O
the	O	O
files	O	O
on	O	O
the	O	O
server	O	B-Device
for	O	O
example	O	O
by	O	O
directly	O	O
interacting	O	O
with	O	O
an	O	O
ftp	O	O
server	O	B-Device
?	O	O

It	O	O
would	O	O
make	O	O
PHP	O	B-Language
editing	O	O
much	O	O
easier	O	O
.	O	O

Unfortunately	O	O
editing	O	O
DOM	O	O
elements	O	O
does	O	O
n't	O	O
update	O	O
PHP	O	B-Language
or	O	O
HTML	O	B-Language
mapped	O	O
local	O	O
files	O	O
.	O	O

This	O	O
is	O	O
currently	O	O
a	O	O
limitation	O	O
of	O	O
the	O	O
workspace	O	O
feature	O	O
.	O	O

CSS	O	B-Language
Styles	O	O
only	O	O
.	O	O

As	O	O
for	O	O
server	O	B-Device
mapping	O	O
,	O	O
it	O	O
should	O	O
be	O	O
possible	O	O
but	O	O
Chrome	O	B-Application
seems	O	O
to	O	O
be	O	O
crashing	O	O
when	O	O
I	O	O
try	O	O
adding	O	O
a	O	O
mapped	O	O
FTP	O	O
location	O	O
.	O	O

I	O	O
have	O	O
n't	O	O
had	O	O
a	O	O
chance	O	O
to	O	O
test	O	O
any	O	O
other	O	O
computers	O	O
of	O	O
versions	O	O
of	O	O
Chrome/Windows	O	B-Application

Currently	O	O
using	O	O
Chrome	O	B-Application
43.0.2357.130	O	B-Version
on	O	O
Windows	O	B-Operating_System
10	O	B-Version
Insider	O	B-Application
Preview	O	I-Application
10130	O	B-Version

The	O	O
DevTools	O	B-Application
can	O	O
update	O	O
any	O	O
files	O	O
that	O	O
are	O	O
editable	O	O
via	O	O
Sources	O	O
,	O	O
including	O	O
PHP	O	B-Language
and	O	O
HTML	O	B-Language
.	O	O

CSS	O	B-Language
is	O	O
only	O	O
updated	O	O
directly	O	O
via	O	O
the	O	O
elements	O	B-User_Interface_Element
panel	O	I-User_Interface_Element
.	O	O

Other	O	O
text	O	O
file	O	O
types	O	O
can	O	O
be	O	O
updated	O	O
through	O	O
the	O	O
Sources	O	O
panel	O	O
where	O	O
you	O	O
map	O	O
the	O	O
files	O	O
.	O	O

DevTools	O	B-Application
directly	O	O
has	O	O
no	O	O
knowledge	O	O
of	O	O
FTP/SFTP/FUSE	O	O
mounts/etc	O	O
.	O	O

All	O	O
it	O	O
knows	O	O
is	O	O
local	O	O
filesystem	O	O
structures	O	O
.	O	O

So	O	O
,	O	O
if	O	O
you	O	O
use	O	O
some	O	O
software	O	O
to	O	O
mount	O	O
a	O	O
remote	O	O
filesystem	O	O
locally	O	O
as	O	O
a	O	O
new	O	O
folder	O	O
or	O	O
drive	O	O
,	O	O
then	O	O
you	O	O
can	O	O
map	O	O
it	O	O
to	O	O
DevTools	O	B-Application
just	O	O
fine	O	O
.	O	O

I	O	O
have	O	O
done	O	O
this	O	O
myself	O	O
in	O	O
the	O	O
past	O	O
and	O	O
have	O	O
seen	O	O
others	O	O
do	O	O
this	O	O
setup	O	O
as	O	O
well	O	O
.	O	O

You	O	O
simply	O	O
need	O	O
to	O	O
research	O	O
your	O	O
OS	O	O
and	O	O
see	O	O
what	O	O
software	O	O
is	O	O
available	O	O
that	O	O
you	O	O
are	O	O
comfortable	O	O
with	O	O
to	O	O
handle	O	O
the	O	O
mounting	O	O
.	O	O

Warning	O	O
though	O	O
,	O	O
with	O	O
large	O	O
project	O	O
file	O	O
structures	O	O
this	O	O
can	O	O
make	O	O
things	O	O
slow	O	O
.	O	O

I	O	O
have	O	O
a	O	O
JSON	O	B-Data_Type
response	O	O
from	O	O
PHP	O	B-Language
like	O	O
this	O	O
:	O	O

What	O	O
I	O	O
want	O	O
to	O	O
do	O	O
with	O	O
this	O	O
is	O	O
out	O	O
output	O	O
the	O	O
order	O	O
number	O	O
which	O	O
is	O	O
always	O	O
the	O	O
same	O	O
in	O	O
an	O	O
element	O	O
with	O	O
an	O	O
id	O	B-Variable
of	O	O
#ordernum	O	B-Code_Block
.	O	O

Then	O	O
for	O	O
the	O	O
other	O	O
parts	O	O
,	O	O
i	O	O
want	O	O
to	O	O
create	O	O
a	O	O
couple	O	O
of	O	O
divs	O	B-HTML_XML_Tag
within	O	O
a	O	O
container	O	O
div	O	B-HTML_XML_Tag
for	O	O
the	O	O
name	O	B-Variable
and	O	O
id	O	B-Variable
.	O	O

I	O	O
'm	O	O
pretty	O	O
sure	O	O
I	O	O
can	O	O
get	O	O
that	O	O
bit	O	O
working	O	O
but	O	O
what	O	O
i	O	O
'm	O	O
unsure	O	O
of	O	O
is	O	O
how	O	O
to	O	O
loop	O	O
through	O	O
each	O	O
of	O	O
the	O	O
JSON	O	B-Data_Type
rows	O	O
to	O	O
get	O	O
to	O	O
the	O	O
part	O	O
where	O	O
i	O	O
can	O	O
create	O	O
my	O	O
divs	O	B-HTML_XML_Tag

This	O	O
is	O	O
what	O	O
I	O	O
have	O	O
so	O	O
far	O	O
but	O	O
this	O	O
appends	O	O
to	O	O
a	O	O
div	O	B-HTML_XML_Tag
where	O	O
i	O	O
want	O	O
to	O	O
create	O	O
new	O	O
divs	O	B-HTML_XML_Tag
.	O	O

Would	O	O
i	O	O
need	O	O
to	O	O
do	O	O
another	O	O
$.each()	O	B-Code_Block
after	O	I-Code_Block
$('#ordernum').text(row[0].order)	O	I-Code_Block
;	O	I-Code_Block
?	O	O

EDIT	O	O

This	O	O
is	O	O
how	O	O
the	O	O
json	O	B-Data_Type
is	O	O
created	O	O
.	O	O

$rows	O	B-Variable
is	O	O
from	O	O
a	O	O
query	O	O
from	O	O
a	O	O
SQLSERVER	O	B-Application
database	O	O
and	O	O
I	O	O
loop	O	O
through	O	O
that	O	O
to	O	O
get	O	O
all	O	O
the	O	O
rows	O	B-Data_Structure
from	O	O
the	O	O
MySQL	O	B-Application
database	O	O

I	O	O
think	O	O
everthing	O	O
is	O	O
working	O	O
right	O	O

just	O	O
response.order	O	B-Variable
will	O	O
say	O	O
undefined	O	O
.	O	O

if	O	O
.each	O	B-Function
loop	O	O
is	O	O
not	O	O
working	O	O
as	O	O
saying	O	O
then	O	O
put	O	O
before	O	O
loop	O	O

var	O	B-Code_Block
response	O	I-Code_Block
=	O	I-Code_Block
$.parseJSON(response)	O	I-Code_Block
.	O	O

and	O	O
if	O	O
u	O	O
need	O	O
resopnse	O	O
like	O	O

then	O	O
in	O	O
php	O	B-Language
code	O	O
you	O	O
can	O	O
do	O	O
in	O	O
second	O	O
last	O	O
line	O	O

then	O	O
you	O	O
will	O	O
not	O	O
need	O	O
index	O	O
in	O	O
javascript	O	B-Language
.	O	O

put	O	O
this	O	O
code	O	O
in	O	O
fire	O	B-Application
bug	O	I-Application
console	O	I-Application
.	O	O

and	O	O
check	O	O
the	O	O
result	O	O

and	O	O
you	O	O
can	O	O
create	O	O
your	O	O
div	O	B-HTML_XML_Tag
under	O	O
first	O	O
loop	O	O
,	O	O
you	O	O
do	O	O
not	O	O
need	O	O
second	O	O
like	O	O
even	O	O
you	O	O
do	O	O
not	O	O
change	O	O
your	O	O
response	O	O
,	O	O
or	O	O
you	O	O
reformat	O	O
that	O	O
.	O	O

I	O	O
am	O	O
writing	O	O
a	O	O
Django	O	B-Library
project	O	O
which	O	O
will	O	O
use	O	O
Chrome	O	B-Application
Headless	O	I-Application
to	O	O
produce	O	O
PDF	O	B-File_Type
documents	O	O
.	O	O

There	O	O
are	O	O
lots	O	O
of	O	O
Apps	O	O
,	O	O
each	O	O
of	O	O
which	O	O
will	O	O
produce	O	O
PDFs	O	B-File_Type
,	O	O
so	O	O
it	O	O
made	O	O
sense	O	O
to	O	O
have	O	O
a	O	O
class	O	O
,	O	O
that	O	O
launches	O	O
Chrome	O	B-Application
,	O	O
makes	O	O
a	O	O
connection	O	O
to	O	O
it	O	O
,	O	O
and	O	O
kills	O	O
the	O	O
Chrome	O	B-Application
process	O	O
when	O	O
the	O	O
class	O	O
is	O	O
deleted	O	O
.	O	O

There	O	O
will	O	O
be	O	O
a	O	O
class	O	O
method	O	O
,	O	O
which	O	O
opens	O	O
a	O	O
new	O	O
tab	O	B-User_Interface_Element
,	O	O
renders	O	O
some	O	O
HTML	O	B-Language
,	O	O
and	O	O
returns	O	O
the	O	O
PDF	O	B-File_Type
data	O	O
,	O	O
and	O	O
closes	O	O
the	O	O
tab	O	B-User_Interface_Element
.	O	O

It	O	O
seems	O	O
slightly	O	O
inefficient	O	O
to	O	O
create	O	O
a	O	O
new	O	O
instance	O	O
of	O	O
the	O	O
Class	O	O
,	O	O
every	O	O
time	O	O
I	O	O
want	O	O
to	O	O
print	O	O
a	O	O
PDF	O	B-File_Type
(	O	O
which	O	O
is	O	O
the	O	O
primary	O	O
purpose	O	O
of	O	O
the	O	O
project	O	O
)	O	O
.	O	O

It	O	O
seems	O	O
better	O	O
to	O	O
create	O	O
a	O	O
global	O	B-Data_Type
instance	O	O
of	O	O
the	O	O
Class	O	O
,	O	O
and	O	O
have	O	O
one	O	O
copy	O	O
of	O	O
headless	O	B-Application
Chrome	O	I-Application
running	O	O
the	O	O
whole	O	O
time	O	O
,	O	O
rather	O	O
than	O	O
starting	O	O
Chrome	O	B-Application
,	O	O
connecting	O	O
to	O	O
it	O	O
,	O	O
getting	O	O
the	O	O
PDF	O	B-File_Type
data	O	O
,	O	O
and	O	O
then	O	O
closing	O	O
everything	O	O
every	O	O
time	O	O
.	O	O

Other	O	O
posts	O	O
on	O	O
this	O	O
issue	O	O
,	O	O
suggest	O	O
that	O	O
any	O	O
kind	O	O
of	O	O
global	O	B-Data_Type
variable	O	O
(	O	O
aside	O	O
from	O	O
some	O	O
constants	O	O
in	O	O
settings	O	O
)	O	O
is	O	O
a	O	O
bad	O	O
idea	O	O
.	O	O

In	O	O
this	O	O
particular	O	O
case	O	O
,	O	O
is	O	O
this	O	O
still	O	O
a	O	O
bad	O	O
idea	O	O
?	O	O

Why	O	O
is	O	O
this	O	O
the	O	O
case	O	O
?	O	O

Importantly	O	O
,	O	O
is	O	O
there	O	O
an	O	O
alternative	O	O
approach	O	O
?	O	O

I	O	O
am	O	O
working	O	O
respecting	O	O
the	O	O
JAX-WS	O	B-Library
specification	O	O
and	O	O
would	O	O
like	O	O
to	O	O
know	O	O
if	O	O
there	O	O
is	O	O
any	O	O
method	O	O
to	O	O
close	O	O
the	O	O
port	O	B-Device
.	O	O

With	O	O
the	O	O
metro	O	B-Library
WS	O	I-Library
,	O	O
I	O	O
can	O	O
use	O	O
this	O	O

(	O	B-Code_Block
(	O	B-Code_Block
com.sun.xml.ws.Closeable	O	B-Code_Block
)	O	I-Code_Block
port	O	I-Code_Block
)	O	I-Code_Block
;	O	B-Code_Block

Is	O	O
there	O	O
any	O	O
need	O	O
to	O	O
close	O	O
the	O	O
port	O	B-Device
especially	O	O
for	O	O
performance	O	O
reasons	O	O
?	O	O

Thanks	O	O
.	O	O

CXF	O	B-Library
's	O	O
port	O	B-Class
implement	O	O
the	O	O
standard	O	O
java.io.Closeable	O	B-Class
interface	O	O
.	O	O

Just	O	O
cast	O	O
to	O	O
that	O	O
and	O	O
close()	O	B-Function
.	O	O

For	O	O
normal	O	O
HTTP	O	O
use	O	O
case	O	O
,	O	O
there	O	O
really	O	O
is	O	O
n't	O	O
MUCH	O	O
advantage	O	O
in	O	O
doing	O	O
so	O	O
.	O	O

However	O	O
,	O	O
if	O	O
using	O	O
WS-RM	O	B-Library
or	O	O
JMS	O	B-Library
or	O	O
similar	O	O
,	O	O
it	O	O
does	O	O
allow	O	O
things	O	O
to	O	O
be	O	O
disconnected	O	O
and	O	O
such	O	O
sooner	O	O
.	O	O

I	O	O
have	O	O
problem	O	O
and	O	O
need	O	O
help	O	O
when	O	O
receive	O	O
messages	O	O
for	O	O
the	O	O
chat	O	O
i	O	O
make	O	O
,	O	O
i	O	O
only	O	O
success	O	O
to	O	O
send	O	O
the	O	O
messages	O	O
and	O	O
show	O	O
the	O	O
messages	O	O
that	O	O
i	O	O
send	O	O
,	O	O
but	O	O
i	O	O
failed	O	O
to	O	O
receive	O	O
and	O	O
show	O	O
the	O	O
messages	O	O
that	O	O
i	O	O
receive	O	O
from	O	O
other	O	O
party	O	O
.	O	O

I	O	O
ca	O	O
n't	O	O
retrieve	O	O
the	O	O
messages	O	O
from	O	O
database	O	O
and	O	O
always	O	O
null	O	O
,	O	O
when	O	O
the	O	O
messages	O	O
come	O	O
the	O	O
code	O	O
not	O	O
checking	O	O
there	O	O
is	O	O
any	O	O
messages	O	O
and	O	O
null	O	O
and	O	O
i	O	O
think	O	O
it	O	O
's	O	O
stop	O	O
.	O	O

and	O	O
I	O	O
checking	O	O
the	O	O
stream	O	O
,	O	O
the	O	O
stream	O	O
ca	O	O
n't	O	O
get	O	O
the	O	O
content	O	O
.	O	O

i	O	O
do	O	O
n't	O	O
understand	O	O
what	O	O
's	O	O
wrong	O	O
,	O	O
so	O	O
anyone	O	O
please	O	O
help	O	O
me	O	O
.	O	O

thank	O	O
you	O	O

chatroom.php	O	B-File_Name

Chatroom.java	O	B-File_Name

LogCat	O	B-Application

I	O	O
would	O	O
like	O	O
to	O	O
have	O	O
a	O	O
PHP	O	B-Language
code	O	O
to	O	O
do	O	O
the	O	O
following	O	O
:	O	O

User	O	O
comes	O	O
to	O	O
my	O	O
website	O	O
from	O	O
a	O	O
link	O	O
in	O	O
an	O	O
external	O	O
website	O	O
,	O	O
in	O	O
other	O	O
words	O	O
,	O	O
the	O	O
HTTP_REFERER	O	B-Variable
is	O	O
not	O	O
from	O	O
my	O	O
own	O	O
domain	O	O
.	O	O

Save	O	O
this	O	O
HTTP_REFERER	O	B-Variable
in	O	O
a	O	O
cookie	O	O

In	O	O
another	O	O
part	O	O
of	O	O
my	O	O
website	O	O
I	O	O
will	O	O
check	O	O
to	O	O
see	O	O
if	O	O
this	O	O
cookie	O	O
is	O	O
present	O	O
and	O	O
include	O	O
the	O	O
saved	O	O
referer	O	O
with	O	O
the	O	O
user	O	O
profile	O	O
.	O	O

Saving	O	O
cookies	O	O
is	O	O
pretty	O	O
easy	O	O
(	O	O
see	O	O
PHP	O	B-Language
Cookies	O	O
for	O	O
details	O	O
)	O	O
.	O	O

Retrieving	O	O
is	O	O
just	O	O
as	O	O
easy	O	O
:	O	O

I	O	O
used	O	O
MatConvNet	O	B-Application
to	O	O
test	O	O
a	O	O
feedforward	O	B-Algorithm
net	O	I-Algorithm
for	O	O
three-classes	O	O
classification	O	O
problem	O	O
.	O	O

My	O	O
input	O	O
data	O	O
has	O	O
5	O	O
features	O	O
and	O	O
the	O	O
net	O	O
work	O	O
topology	O	O
as	O	O
follows	O	O
:	O	O

*	O	O
hidden	O	O
layer	O	O
:	O	O
node	O	O
with	O	O
5	O	O
weights	O	O
&	O	O
1	O	O
bias	O	O
activation	O	O
func	O	O
:	O	O
sigmoid	O	B-Function

*	O	O
output	O	O
layer	O	O
:	O	O
3	O	O
nodes	O	O
each	O	O
of	O	O
them	O	O
have	O	O
1	O	O
weights	O	O
&	O	O
1	O	O
bias	O	O
activation	O	O
func	O	O
:	O	O
sigmoid	O	B-Function
/	O	O
softmax	O	B-Function
+	O	O
loss	O	B-Function

the	O	O
problem	O	O
is	O	O
like	O	O
this	O	O
,	O	O
no	O	O
matter	O	O
how	O	O
i	O	O
change	O	O
the	O	O
network	O	O
's	O	O
topology	O	O
,	O	O
as	O	O
along	O	O
as	O	O
the	O	O
network	O	O
has	O	O
hidden	O	O
layers	O	O
,	O	O
it	O	O
always	O	O
return	O	O
same	O	O
label	O	O
for	O	O
any	O	O
input	O	O
.	O	O

Moreover	O	O
once	O	O
i	O	O
add	O	O
hidden	O	O
layers	O	O
,	O	O
the	O	O
network	O	O
always	O	O
converge	O	O
within	O	O
3	O	O
epoch	O	O
.	O	O

here	O	O
is	O	O
how	O	O
it	O	O
converged	O	O
with	O	O
hidden	O	O
layer	O	O

however	O	O
the	O	O
network	O	O
could	O	O
run	O	O
"	O	O
normally	O	O
"	O	O
(	O	O
gives	O	O
different	O	O
label	O	O
)	O	O
if	O	O
it	O	O
does	O	O
n't	O	O
have	O	O
any	O	O
hidden	O	O
layer	O	O
.	O	O

I	O	O
have	O	O
tried	O	O
:	O	O

*	O	O
normalized	O	O
the	O	O
input	O	O
data	O	O

*	O	O
subtract	O	O
mean	O	O

*	O	O
change	O	O
to	O	O
different	O	O
activation	O	O
func	O	O
,	O	O
sigmoid/softmax	O	B-Function

but	O	O
none	O	O
of	O	O
them	O	O
works	O	O
...	O	O
.	O	O

so	O	O
anyone	O	O
know	O	O
what	O	O
's	O	O
wrong	O	O
with	O	O
this	O	O
problem	O	O
?	O	O

thanks	O	O
.	O	O

i	O	O
have	O	O
this	O	O
procedure	O	O
and	O	O
i	O	O
cant	O	O
see	O	O
my	O	O
error	O	O
,	O	O
someone	O	O
?	O	O

I	O	O
want	O	O
to	O	O
add	O	O
some	O	O
text	O	O
and	O	O
print	O	O
only	O	O
the	O	O
vocals	O	B-Variable
.	O	O

My	O	O
error	O	O
is	O	O
near	O	O
from	O	O
"	O	O
case	O	B-Code_Block
"	O	O

An	O	O
alternative	O	O
way	O	O
of	O	O
gathering	O	O
vowels	O	O
:	O	O

Couple	O	O
things	O	O
.	O	O

As	O	O
mentioned	O	O
in	O	O
the	O	O
comments	O	O
by	O	O
VKP	O	B-User_Name
,	O	O
you	O	O
cannot	O	O
pull	O	O
from	O	O
the	O	O
CASE	O	B-Code_Block
statement	O	O
in	O	O
the	O	O
same	O	O
query	O	O
,	O	O
to	O	O
get	O	O
around	O	O
that	O	O
you	O	O
can	O	O
just	O	O
create	O	O
an	O	O
additional	O	O
SELECT	O	B-Code_Block
for	O	O
the	O	O
CASE	O	B-Code_Block
statement	O	O

Second	O	O
,	O	O
when	O	O
using	O	O
CASE	O	B-Code_Block
you	O	O
do	O	O
n't	O	O
need	O	O
the	O	O
equal	O	O
sign	O	O
(=	O	B-Code_Block
)	O	O
after	O	O
THEN	O	B-Code_Block
.	O	O

"	O	O
THEN	O	B-Code_Block
"	O	O
is	O	O
essentially	O	O
the	O	O
equal	O	O
sign	O	O
so	O	O
just	O	O
put	O	O
the	O	O
values	O	O
you	O	O
want	O	O
it	O	O
to	O	O
equal	O	O
.	O	O

If	O	O
you	O	O
try	O	O
this	O	O
the	O	O
query	O	O
runs	O	O
succesfully	O	O
:	O	O

However	O	O
,	O	O
as	O	O
it	O	O
currently	O	O
is	O	O
this	O	O
query	O	O
will	O	O
just	O	O
provide	O	O
a	O	O
number	O	O
of	O	O
NULL	O	B-Value
values	O	O
equal	O	O
to	O	O
the	O	O
length	O	O
of	O	O
the	O	O
@vocales	O	B-Variable
value	O	O
.	O	O

This	O	O
is	O	O
because	O	O
the	O	O
value	O	O
of	O	O
parameter	O	O
@resultado	O	B-Variable
is	O	O
never	O	O
declared	O	O
and	O	O
in	O	O
your	O	O
CASE	O	B-Code_Block
statement	O	O
you	O	O
are	O	O
adding	O	O
a	O	O
NULL	O	B-Value
value	O	O
to	O	O
a	O	O
known	O	O
value	O	O
which	O	O
will	O	O
always	O	O
equal	O	O
NULL	O	B-Value
.	O	O

Let	O	O
me	O	O
know	O	O
what	O	O
output	O	O
you	O	O
are	O	O
looking	O	O
for	O	O
and	O	O
I	O	O
can	O	O
revise	O	O
my	O	O
query	O	O
to	O	O
help	O	O
you	O	O
get	O	O
there	O	O
.	O	O

i	O	O
am	O	O
facing	O	O
the	O	O
memory	O	O
management	O	O
issue	O	O
.	O	O

in	O	O
the	O	O
memory	O	O
allocation	O	O
every	O	O
time	O	O
it	O	O
increases	O	O
32kb	O	O
when	O	O
the	O	O
page	O	O
load	O	O
and	O	O
it	O	O
does	O	O
not	O	O
release	O	O
the	O	O
memory	O	O
.and	O	O
after	O	O
some	O	O
time	O	O
when	O	O
the	O	O
total	O	O
memory	O	O
reach	O	O
to	O	O
3	O	O
mb	O	O
it	O	O
crashes	O	O
in	O	O
3mb	O	O
1	O	O
mb	O	O
is	O	O
only	O	O
for	O	O
audiotoolbox	O	B-Library
malloc	O	B-Function
.	O	O

here	O	O
's	O	O
my	O	O
code	O	O
please	O	O
help	O	O
me	O	O

in	O	O
.h	O	B-File_Type
file	O	O
:	O	O
-	O	O

There	O	O
are	O	O
numerous	O	O
issues	O	O
with	O	O
your	O	O
code	O	O
:	O	O

You	O	O
're	O	O
not	O	O
calling	O	O
[	B-Code_Block	B-Code_Block
super	I-Code_Block	I-Code_Block
dealloc	I-Code_Block	I-Code_Block
]	I-Code_Block	I-Code_Block
at	O	O
the	O	O
end	O	O
of	O	O
-dealloc	B-Code_Block	B-Function
.	O	O

You	O	O
're	O	O
not	O	O
releasing	O	O
soundFileURL	O	B-Variable
in	O	O
-dealloc	B-Code_Block	B-Function
.	O	O

The	O	O
method	O	O
names	O	O
should	O	O
be	O	O
camel	O	O
case	O	O
(	O	O
viewDidLoad	O	B-Function
not	O	O
viewdidload	O	O
)	O	O
.	O	O

Use	O	O
either	O	O
[	B-Code_Block	B-Code_Block
appSoundPlayer	I-Code_Block	I-Code_Block
release	I-Code_Block	I-Code_Block
]	I-Code_Block	I-Code_Block
or	O	O
self.appSoundPlayer	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
nil	I-Code_Block	I-Code_Block
,	O	O
not	O	O
both	O	O
.	O	O

I	O	O
highly	O	O
recommend	O	O
you	O	O
read	O	O
the	O	O
memory	O	O
management	O	O
programming	O	O
guide	O	O
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/MemoryMgmt/MemoryMgmt.html	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
put	O	O
in	O	O
a	O	O
different	O	O
image	O	B-User_Interface_Element
for	O	O
each	O	O
resolution	O	O
.	O	O

It	O	O
worked	O	O
for	O	O
normal	O	O
screen	O	B-Device
and	O	O
smartphones	O	B-Device
,	O	O
however	O	O
I	O	O
cannot	O	O
get	O	O
it	O	O
to	O	O
show	O	O
up	O	O
for	O	O
the	O	O
large	O	O
resolution	O	O
screens	O	B-Device
.	O	O

Here	O	O
are	O	O
the	O	O
relevant	O	O
sections	O	O
of	O	O
code	O	O
:	O	O

CSS	O	B-Language
:	O	O

HTML	O	B-Language
:	O	O

There	O	O
is	O	O
no	O	O
HTML	O	B-Language
?	O	O

Also	O	O
posting	O	O
a	O	O
quick	O	O
fiddle	O	B-Application
would	O	O
make	O	O
this	O	O
so	O	O
much	O	O
easier	O	O
to	O	O
debug	O	O
!	O	O

I	O	O
actually	O	O
just	O	O
figured	O	O
it	O	O
out	O	O
!	O	O

Because	O	O
I	O	O
was	O	O
hiding	O	O
the	O	O
DIV	O	B-HTML_XML_Tag
for	O	O
regular	O	O
Desktop/Laptop	O	B-Device
Resolution	O	O
and	O	O
not	O	O
defining	O	O
the	O	O
max-width	O	B-Variable
for	O	O
that	O	O
value	O	O
in	O	O
its	O	O
Media	O	O
Query	O	O
,	O	O
it	O	O
was	O	O
also	O	O
hiding	O	O
it	O	O
in	O	O
the	O	O
Large	O	O
Resolution	O	O
Media	O	O
Query	O	O
.	O	O

Simple	O	O
fix	O	O
of	O	O
defining	O	O
a	O	O
max-width	O	B-Variable
value	O	O
for	O	O
Standard	O	O
Res	O	O
.	O	O

Thanks	O	O
!	O	O

:)	O	O

I	O	O
want	O	O
to	O	O
compile	O	O
the	O	O
sample	O	O
code	O	O
above	O	O
,	O	O
but	O	O
I	O	O
get	O	O
the	O	O
following	O	O
error	O	O
.	O	O

What	O	O
is	O	O
the	O	O
reason	O	O
for	O	O
it	O	O
.	O	O

"	O	O
OSX	O	B-Operating_System
-	O	O
/	O	B-File_Name
usr	O	I-File_Name
/	O	I-File_Name
local	O	I-File_Name
"	O	O
under	O	O
all	O	O
the	O	O
files	O	O
installed	O	O

Error	O	O
:	O	O

Command	O	O
:	O	O

First	O	O
,	O	O
please	O	O
find	O	O
the	O	O
path	B-Code_Block	O
of	O	O
evhttp.h	B-Code_Block	B-File_Name
file	O	O
.	O	O

Then	O	O
,	O	O
you	O	O
could	O	O
check	O	O
if	O	O
this	O	O
path	B-Code_Block	O
is	O	O
in	O	O
the	O	O
#include	B-Code_Block	B-Code_Block
files	O	O
search	O	O
path	O	O
list	O	O
by	O	O
command	O	O

The	O	O
output	O	O
is	O	O
like	O	O
this	O	O
,	O	O

If	O	O
the	O	O
path	B-Code_Block	O
is	O	O
not	O	O
in	O	O
the	O	O
search	O	O
list	O	B-Data_Structure
,	O	O
then	O	O
add	O	O
-I	B-Code_Block	B-Code_Block
/missed_include	I-Code_Block	I-Code_Block
(	O	O
assume	O	O
it	O	O
is	O	O
the	O	O
path	B-Code_Block	O
)	O	O
to	O	O
your	O	O
command	O	O
,	O	O
like	O	O

gcc	O	B-Code_Block
-o	O	I-Code_Block
octopus	O	I-Code_Block
/Users/batuhangoksu/Desktop/test.c	O	I-Code_Block
-levent	O	I-Code_Block
-lpthread	O	I-Code_Block
-I	O	I-Code_Block
/missed_include	O	I-Code_Block

I	O	O
have	O	O
a	O	O
JSP	O	B-Application
which	O	O
has	O	O
multiple	O	O
sections	O	O
in	O	O
the	O	O
form	O	O
of	O	O
tabs	O	B-User_Interface_Element
.	O	O

When	O	O
clicking	O	O
the	O	O
next	O	O
button	O	B-User_Interface_Element
the	O	O
form	O	B-User_Interface_Element
is	O	O
validated	O	O
and	O	O
error	O	O
messages	O	O
are	O	O
displayed	O	O
as	O	O
per	O	O
the	O	O
validation	O	O
.	O	O

Now	O	O
when	O	O
I	O	O
move	O	O
to	O	O
a	O	O
different	O	O
tab	O	B-User_Interface_Element
,	O	O
the	O	O
earlier	O	O
error	O	O
messages	O	O
are	O	O
still	O	O
there	O	O
on	O	O
tab	O	B-User_Interface_Element
2	O	O
and	O	O
are	O	O
only	O	O
removed	O	O
when	O	O
clicking	O	O
next	O	O
again	O	O
.	O	O

Is	O	O
there	O	O
any	O	O
way	O	O
that	O	O
when	O	O
I	O	O
switch	O	O
to	O	O
a	O	O
different	O	O
section	O	O
within	O	O
the	O	O
same	O	O
form	O	B-User_Interface_Element
,	O	O
I	O	O
could	O	O
remove	O	O
earlier	O	O
validation	O	O
errors	O	O
without	O	O
submitting	O	O
the	O	O
form	O	B-User_Interface_Element
again	O	O

Thanks	O	O

I	O	O
have	O	O
a	O	O
Server.js	B-Code_Block	B-File_Name
file	O	O
i	O	O
launch	O	O
from	O	O
the	O	O
CMD	O	B-Application
:	O	O
node	B-Code_Block	B-Code_Block
server	I-Code_Block	I-Code_Block

The	O	O
Server.js	B-Code_Block	B-File_Name
file	O	O
creates	O	O
an	O	O
new	O	O
instance	O	O
of	O	O
class	B-Code_Block	O
A	I-Code_Block	B-Class

Class	B-Code_Block	O
A	I-Code_Block	B-Class
creates	O	O
a	O	O
new	O	O
instance	O	O
of	O	O
class	B-Code_Block	O
B	I-Code_Block	B-Class
(	O	O
web	O	B-Class
socket	O	I-Class
)	O	O
and	O	O
C	O	B-Class
(	O	O
REST	O	B-Library
API	O	I-Library
)	O	O

If	O	O
the	O	O
web	O	B-Class
socket	O	I-Class
connection	O	O
is	O	O
close/disconnected	O	O
in	O	O
class	B-Code_Block	O
B	I-Code_Block	B-Class
then	O	O
entire	O	O
NodeJS	B-Code_Block	B-Application
app	O	O
.	O	O

simply	O	O
stops/shuts	O	O
down	O	O
.	O	O

Even	O	O
though	O	O
i	O	O
have	O	O
tried	O	O
to	O	O
"	O	O
start	O	O
the	O	O
entire	O	O
process	O	O
"	O	O
again	O	O
...	O	O
by	O	O
trying	O	O
to	O	O
place	O	O
different	O	O
code	O	O
in	O	O
in	O	O
close	O	B-Function
event	O	O
-	O	O
like	O	O
:	O	O

The	O	O
close	O	B-Function
event	O	O
is	O	O
called	O	O
-	O	O
but	O	O
no	O	O
matter	O	O
-	O	O
what	O	O
and	O	O
how	O	O
i	O	O
try	O	O
to	O	O
"	O	O
re-launch	O	O
"	O	O
my	O	O
app	O	O
.	O	O

it	O	O
does	O	O
n't	O	O
execute	O	O
my	O	O
code	O	O
-	O	O
it	O	O
just	O	O
shuts	O	O
down	O	O
.	O	O

I	O	O
like	O	O
to	O	O
understand	O	O
why	O	O
and	O	O
what	O	O
is	O	O
going	O	O
on	O	O
and	O	O
not	O	O
just	O	O
to	O	O
re-launch	O	O
the	O	O
entire	O	O
app	O	O
-	O	O
by	O	O
using	O	O
NPM	O	B-Application
forever	O	O
etc	O	O
..	O	O
.	O	O

UPDATE	O	O
:	O	O

Sorry	O	O
for	O	O
not	O	O
making	O	O
myself	O	O
clear	O	O
enough	O	O
.	O	O

But	O	O
actually	O	O
the	O	O
details	O	O
you	O	O
are	O	O
looking	O	O
for	O	O
is	O	O
my	O	O
bullet	O	O
point	O	O
no	O	O
.	O	O

4	O	O
..	O	O
.	O	O
literally	O	O
no	O	O
-	O	O
i	O	O
do	O	O
n't	O	O
execute	O	O
the	O	O
entire	O	O
node	O	B-Application
app	O	O
again	O	O
..	O	O
.	O	O
thats	O	O
why	O	O
i	O	O
used	O	O
""	O	B-Value
(	O	O
quotes	O	O
)	O	O
..	O	O
.	O	O
as	O	O
i	O	O
described	O	O
i	O	O
try	O	O
to	O	O
start	O	O
the	O	O
process	O	O
up	O	O
again	O	O
in	O	O
the	O	O
on	O	O
.	O	O

(	O	O
'	O	O
close'	O	B-Function
)	O	O
event	O	B-Class
handler	O	I-Class
...	O	O
i	O	O
can	O	O
debug	O	O
and	O	O
see	O	O
when	O	O
the	O	O
code	O	O
reach	O	O
the	O	O
point	O	O
in	O	O
the	O	O
eventhandler	O	B-Class
...	O	O
but	O	O
it	O	O
does	O	O
n't	O	O
work	O	O
to	O	O
execute	O	O
/	O	O
call	O	O
A.start()	O	B-Function
function	O	O
again	O	O
or	O	O
via	O	O
firering	O	O
an	O	O
event	O	O
...	O	O
so	O	O
its	O	O
some	O	O
thing	O	O
about	O	O
scopes	O	O
,	O	O
instances	O	O
,	O	O
function	O	O
etc	O	O
.	O	O

i	O	O
properly	O	O
dont	O	O
do	O	O
correct	O	O
-	O	O
thats	O	O
why	O	O
i	O	O
tried	O	O
to	O	O
describe	O	O
the	O	O
app	O	O
,	O	O
class	O	O
,	O	O
functions	O	O
...	O	O
now	O	O
-	O	O
i	O	O
hope	O	O
its	O	O
more	O	O
clear	O	O
what	O	O
i	O	O
mean	O	O
:-)	O	O

UPDATE	O	O
2	O	O
:	O	O

Server.js	O	B-File_Name

Download-manager.js	O	B-File_Name

Wsclient.js	O	B-File_Name

A	O	O
node	O	B-Application
app	O	O
will	O	O
stay	O	O
alive	O	O
as	O	O
long	O	O
as	O	O
there	O	O
are	O	O
active	O	O
elements	O	O
that	O	O
can	O	O
still	O	O
receive	O	O
events	O	O
.	O	O

This	O	O
can	O	O
include	O	O
a	O	O
TCP	O	O
connection	O	O
,	O	O
a	O	O
listening	O	O
server	O	B-Application
,	O	O
a	O	O
timer	O	O
,	O	O
etc	O	O
..	O	O
.	O	O

As	O	O
soon	O	O
as	O	O
none	O	O
of	O	O
those	O	O
exist	O	O
any	O	O
more	O	O
and	O	O
the	O	O
event	O	O
queue	O	B-Data_Structure
is	O	O
empty	O	O
and	O	O
the	O	O
flow	O	O
of	O	O
control	O	O
returns	O	O
back	O	O
to	O	O
the	O	O
system	O	O
(	O	O
e.g	O	O
.	O	O
no	O	O
JS	O	B-Language
is	O	O
executing	O	O
)	O	O
,	O	O
then	O	O
the	O	O
node	O	B-Application
app	O	O
will	O	O
shut	O	O
itself	O	O
down	O	O
.	O	O

The	O	O
idea	O	O
is	O	O
that	O	O
if	O	O
nothing	O	O
is	O	O
running	O	O
that	O	O
could	O	O
possible	O	O
create	O	O
more	O	O
events	O	O
in	O	O
the	O	O
future	O	O
,	O	O
then	O	O
there	O	O
's	O	O
nothing	O	O
else	O	O
that	O	O
can	O	O
happen	O	O
in	O	O
this	O	O
node	O	B-Application
app	O	O
so	O	O
it	O	O
must	O	O
be	O	O
done	O	O
.	O	O

If	O	O
you	O	O
're	O	O
saying	O	O
that	O	O
when	O	O
you	O	O
try	O	O
to	O	O
run	O	O
your	O	O
app	O	O
again	O	O
,	O	O
it	O	O
wo	O	O
n't	O	O
start	O	O
any	O	O
more	O	O
,	O	O
then	O	O
that	O	O
is	O	O
a	O	O
different	O	O
issue	O	O
.	O	O

You	O	O
will	O	O
need	O	O
to	O	O
do	O	O
some	O	O
logging	O	O
of	O	O
errors	O	O
and	O	O
debugging	O	O
to	O	O
figure	O	O
out	O	O
why	O	O
that	O	O
may	O	O
be	O	O
.	O	O

If	O	O
you	O	O
just	O	O
log	O	O
every	O	O
possible	O	O
place	O	O
you	O	O
could	O	O
get	O	O
an	O	O
error	O	O
in	O	O
your	O	O
app	O	O
start-up	O	O
code	O	O
,	O	O
you	O	O
will	O	O
probably	O	O
discover	O	O
where	O	O
the	O	O
error	O	O
is	O	O
that	O	O
is	O	O
keeping	O	O
it	O	O
from	O	O
starting	O	O
.	O	O

Since	O	O
you	O	O
've	O	O
provided	O	O
not	O	O
details	O	O
that	O	O
we	O	O
could	O	O
go	O	O
on	O	O
to	O	O
know	O	O
what	O	O
issue	O	O
might	O	O
be	O	O
preventing	O	O
that	O	O
,	O	O
I	O	O
can	O	O
list	O	O
some	O	O
common	O	O
things	O	O
:	O	O

Some	O	O
process	O	O
is	O	O
still	O	O
running	O	O
that	O	O
has	O	O
control	O	O
of	O	O
some	O	O
resource	O	O
(	O	O
such	O	O
as	O	O
a	O	O
port	O	B-Device
)	O	O
and	O	O
when	O	O
you	O	O
try	O	O
to	O	O
restart	O	O
your	O	O
app	O	O
,	O	O
it	O	O
shuts	O	O
down	O	O
when	O	O
it	O	O
ca	O	O
n't	O	O
access	O	O
that	O	O
resource	O	O
.	O	O

Some	O	O
process	O	O
is	O	O
still	O	O
running	O	O
and	O	O
has	O	O
open	O	O
file	O	O
resources	O	O
,	O	O
restricting	O	O
your	O	O
ability	O	O
to	O	O
access	O	O
those	O	O
files	O	O
.	O	O

To	O	O
start	O	O
with	O	O
,	O	O
I	O	O
'd	O	O
check	O	O
your	O	O
OS	O	B-Application
process	O	I-Application
manager	O	I-Application
to	O	O
verify	O	O
that	O	O
your	O	O
original	O	O
app	O	O
instance	O	O
is	O	O
not	O	O
still	O	O
running	O	O
.	O	O

The	O	O
symptoms	O	O
you	O	O
describe	O	O
make	O	O
it	O	O
sound	O	O
like	O	O
it	O	O
is	O	O
probably	O	O
still	O	O
running	O	O
and	O	O
holding	O	O
onto	O	O
some	O	O
resources	O	O
that	O	O
keep	O	O
your	O	O
app	O	O
from	O	O
running	O	O
again	O	O
.	O	O

This	O	O
part	O	O
has	O	O
me	O	O
confused	O	O
when	O	O
you	O	O
say	O	O
"	O	O
start	O	O
the	O	O
entire	O	O
process	O	O
again	O	O
"	O	O
when	O	O
your	O	O
wed	O	O
socket	O	O
closes	O	O
.	O	O

Are	O	O
you	O	O
literally	O	O
trying	O	O
to	O	O
exec	O	O
node	B-Code_Block	O
server.js	I-Code_Block	B-File_Name
again	O	O
from	O	O
within	O	O
your	O	O
app	O	O
?	O	O

Or	O	O
,	O	O
what	O	O
are	O	O
you	O	O
actually	O	O
trying	O	O
to	O	O
do	O	O
there	O	O
?	O	O

We	O	O
probably	O	O
need	O	O
to	O	O
see	O	O
that	O	O
code	O	O
to	O	O
help	O	O
you	O	O
with	O	O
that	O	O
particular	O	O
action	O	O
.	O	O

FYI	O	O
,	O	O
it	O	O
should	O	O
be	O	O
no	O	O
big	O	O
deal	O	O
to	O	O
just	O	O
re-establish	O	O
a	O	O
webSocket	O	B-Class
connection	O	O
after	O	O
it	O	O
closed	O	O
.	O	O

You	O	O
should	O	O
n't	O	O
have	O	O
to	O	O
restart	O	O
your	O	O
whole	O	O
app	O	O
just	O	O
to	O	O
do	O	O
that	O	O
.	O	O

I	O	O
have	O	O
a	O	O
VideoView	B-Code_Block	B-Class
inside	O	O
a	O	O
custom	O	O
dialog	O	B-Variable
,	O	O
and	O	O
I	O	O
am	O	O
creating	O	O
a	O	O
media	O	B-Variable
controller	O	I-Variable
for	O	O
the	O	O
VideoView	B-Code_Block	B-Class
on	O	O
the	O	O
fly	O	O
and	O	O
assigning	O	O
it	O	O
to	O	O
the	O	O
VideoView	B-Code_Block	B-Class
in	O	O
the	O	O
code	O	O
,	O	O
however	O	O
the	O	O
controller	O	B-User_Interface_Element
does	O	O
n't	O	O
actually	O	O
appear	O	O
over	O	O
the	O	O
video	O	B-User_Interface_Element
-	O	O
it	O	O
appears	O	O
behind	O	O
the	O	O
dialog	O	B-User_Interface_Element
!	O	O

Any	O	O
idea	O	O
how	O	O
to	O	O
get	O	O
the	O	O
controller	O	B-User_Interface_Element
above	O	O
the	O	O
video	O	B-User_Interface_Element
?	O	O

I	O	O
created	O	O
a	O	O
static	O	B-Data_Type
dialog	O	B-Class
helper	O	I-Class
class	O	O
to	O	O
help	O	O
construct	O	O
the	O	O
custom	O	O
dialogs	O	B-Variable
:	O	O

So	O	O
in	O	O
my	O	O
Activity	B-Code_Block	B-Class
i	O	O
just	O	O
have	O	O
this	O	O
to	O	O
create	O	O
my	O	O
dialog	O	B-Variable
:	O	O

This	O	O
is	O	O
worked	O	O
for	O	O
me	O	O

in	O	O
xml	O	B-File_Type
layout	O	O
make	O	O
changes	O	O
like	O	O
this	O	O
,	O	O

in	O	O
your	O	O
dilog	O	B-Variable
,	O	O

in	O	O
this	O	O
,	O	O
video	O	B-Class
view	O	I-Class
use	O	O
setOnPreparedListener	O	B-Function
listener	O	O
and	O	O
set	O	B-Function
media	O	I-Function
controller	O	I-Function
,	O	O

I	O	O
suggest	O	O
that	O	O
you	O	O
need	O	O
to	O	O
use	O	O
an	O	O
Activity	B-Code_Block	B-Class
instead	O	O
of	O	O
a	O	O
Dialog	B-Code_Block	B-Class
.	O	O

Set	O	O
your	O	O
Activity	B-Code_Block	B-Class
theme	O	O
to	O	O
emulate	O	O
a	O	O
Dialog	B-Code_Block	B-Class
in	O	O
the	O	O
manifest	O	O
.	O	O

Example	O	O
-	O	O
AndroidManifest.xml	O	B-File_Name
:	O	O

Then	O	O
,	O	O
you	O	O
will	O	O
be	O	O
able	O	O
to	O	O
display	O	O
a	O	O
VideoView	B-Code_Block	B-Class
as	O	O
in	O	O
the	O	O
examples	O	O
.	O	O

What	O	O
's	O	O
the	O	O
best	O	O
way	O	O
to	O	O
store	O	O
data	O	O
in	O	O
a	O	O
C#	O	B-Language
application	O	O
?	O	O

I	O	O
plan	O	O
to	O	O
have	O	O
the	O	O
user	O	O
to	O	O
set	O	O
the	O	O
database	O	O
connection	O	O
and	O	O
output	O	O
folder	O	O
.	O	O

But	O	O
I	O	O
need	O	O
my	O	O
application	O	O
to	O	O
remember	O	O
those	O	O
settings	O	O
the	O	O
next	O	O
time	O	O
the	O	O
user	O	O
starts	O	O
the	O	O
application	O	O
.	O	O

I	O	O
was	O	O
thinking	O	O
saving	O	O
the	O	O
data	O	O
to	O	O
an	O	O
XML	O	B-File_Type
file	O	O
then	O	O
just	O	O
extract	O	O
the	O	O
data	O	O
from	O	O
the	O	O
XML	O	B-File_Type
file	O	O
each	O	O
time	O	O
the	O	O
application	O	O
starts	O	O
.	O	O

Is	O	O
there	O	O
a	O	O
better	O	O
way	O	O
to	O	O
do	O	O
this	O	O
?	O	O

Perhaps	O	O
Visual	O	B-Application
Studios	O	I-Application
'	O	O
application	O	O
settings	O	O
?	O	O

Visual	O	B-Application
Studio	O	I-Application
->	O	O
Project	O	O
->	O	O
(	O	O
project	O	O
name	O	O
)	O	O
Properties	O	O
->	O	O
Settings	O	O
tab	O	B-User_Interface_Element

If	O	O
it	O	O
's	O	O
the	O	O
latter	O	O
,	O	O
how	O	O
would	O	O
I	O	O
go	O	O
about	O	O
this	O	O
?	O	O

From	O	O
your	O	O
description	O	O
,	O	O
it	O	O
sounds	O	O
like	O	O
you	O	O
definitely	O	O
want	O	O
to	O	O
use	O	O
the	O	O
Properties.Settings	O	B-Class
.	O	O

This	O	O
will	O	O
let	O	O
you	O	O
have	O	O
user-specific	O	O
connections	O	O
easily	O	O
.	O	O

You	O	O
can	O	O
read	O	O
this	O	O
answer	O	O
for	O	O
a	O	O
good	O	O
breakdown	O	O
of	O	O
each	O	O
option	O	O
.	O	O

I	O	O
load	O	O
the	O	O
url	O	O
in	O	O
UIWebView	O	B-Class
,	O	O
there	O	O
is	O	O
an	O	O
option	O	O
choose	O	O
file	O	O
where	O	O
i	O	O
have	O	O
to	O	O
open	O	O
image	O	B-User_Interface_Element
picker	O	O
controller	O	O
and	O	O
pick	O	O
image	O	B-User_Interface_Element
.	O	O

picked	O	O
image	O	B-User_Interface_Element
should	O	O
upload	O	O
to	O	O
that	O	O
url	O	O
.	O	O

Example:	O	O
-	O	O
"	O	O
if	O	O
profile	O	O
view	O	O
loaded	O	O
into	O	O
UIWebview	O	B-Class
than	O	O
user	O	O
can	O	O
change	O	O
their	O	O
profile	O	O
picture	O	O
from	O	O
the	O	O
UIWebview	O	B-Class
,	O	O
there	O	O
is	O	O
an	O	O
option	O	O
like	O	O
choose	O	O
file	O	O
where	O	O
user	O	O
can	O	O
open	O	O
picker	O	O
controller	O	O
to	O	O
pick	O	O
image	O	B-User_Interface_Element
and	O	O
set	O	O
selected	O	O
that	O	O
image	O	B-User_Interface_Element
.	O	O
"	O	O

I	O	O
tried	O	O
above	O	O
code	O	O
,	O	O
but	O	O
selected	O	O
image	O	B-User_Interface_Element
not	O	O
upload	O	O
to	O	O
that	O	O
url	O	O
which	O	O
is	O	O
loaded	O	O
in	O	O
UIWebview	O	B-Class
.	O	O

How	O	O
to	O	O
do	O	O
this	O	O
,	O	O
what	O	O
is	O	O
wrong	O	O
in	O	O
this	O	O
?	O	O

if	O	O
there	O	O
is	O	O
any	O	O
solution	O	O
than	O	O
please	O	O
suggest	O	O
me	O	O
.	O	O

so	O	O
i	O	O
have	O	O
the	O	O
below	O	O
code	O	O
,	O	O
which	O	O
parses	O	O
an	O	O
xml	O	B-File_Type
feed	O	O
on	O	O
a	O	O
different	O	O
server	O	B-Device
(	O	O
ie	O	O
www.site1.com	O	O
)	O	O
from	O	O
a	O	O
locally	O	O
hosted	O	O
file	O	O
(	O	O
on	O	O
my	O	O
computer	O	B-Device
)	O	O
.	O	O

it	O	O
works	O	O
perfectly	O	O
in	O	O
safari	O	B-Application
.	O	O

but	O	O
doesnt	O	O
work	O	O
in	O	O
chrome	O	B-Application
or	O	O
firefox	O	B-Application
.	O	O

when	O	O
i	O	O
store	O	O
the	O	O
xml	O	B-File_Type
feed	O	O
on	O	O
the	O	O
same	O	O
server	O	O
as	O	O
the	O	O
html	O	B-File_Type
file	O	O
(	O	O
ie	O	O
both	O	O
files	O	O
on	O	O
www.site2.com	O	O
)	O	O
,	O	O
the	O	O
file	O	O
parses	O	O
fine	O	O
in	O	O
all	O	O
browsers	O	B-Application
.	O	O

the	O	O
problem	O	O
is	O	O
,	O	O
i	O	O
need	O	O
to	O	O
be	O	O
parsing	O	O
the	O	O
xml	O	B-File_Type
from	O	O
an	O	O
external	O	O
server	O	B-Device
.	O	O

how	O	O
do	O	O
i	O	O
make	O	O
this	O	O
work	O	O
?	O	O

is	O	O
it	O	O
possible	O	O
?	O	O

i	O	O
feel	O	O
like	O	O
ive	O	O
tried	O	O
everything	O	O
.	O	O

callback	O	B-Function
functions	O	O
,	O	O
jsonp.js	O	B-File_Name
files	O	O
,	O	O
and	O	O
all	O	O
sorts	O	O
of	O	O
jquery	O	B-Library
options	O	O
.	O	O

but	O	O
no	O	O
dice	O	O
.	O	O

if	O	O
anyone	O	O
has	O	O
any	O	O
suggestions	O	O
,	O	O
i	O	O
'd	O	O
be	O	O
real	O	O
appreciative	O	O
!	O	O

thank	O	O
you	O	O
!	O	O

Look	O	O
at	O	O
your	O	O
console	O	B-Application
.	O	O

You	O	O
are	O	O
doing	O	O
a	O	O
cross	O	O
domain	O	O
ajax	O	B-Function
request	O	I-Function
.	O	O

The	O	O
only	O	O
way	O	O
you	O	O
are	O	O
able	O	O
to	O	O
achieve	O	O
cross	O	O
domain	O	O
parsing	O	O
,	O	O
is	O	O
with	O	O
jsonp	O	B-File_Type
.	O	O

Where	O	O
are	O	O
you	O	O
grabbing	O	O
the	O	O
xml	O	B-File_Type
feed	O	O
from	O	O
?	O	O

Maybe	O	O
I	O	O
can	O	O
help	O	O
you	O	O
and	O	O
try	O	O
see	O	O
if	O	O
they	O	O
have	O	O
a	O	O
jsonp	O	B-File_Type
example	O	O
.	O	O

This	O	O
is	O	O
an	O	O
example	O	O
of	O	O
a	O	O
jsonp	O	B-File_Type
url	O	O
http://www.kiabuzz.co.za/?feed=json&callback=	O	O
?	O	O
.	O	O

Paste	O	O
it	O	O
in	O	O
replace	O	O
of	O	O
the	O	O
above	O	O
and	O	O
you	O	O
will	O	O
see	O	O
that	O	O
the	O	O
problem	O	O
will	O	O
disappear	O	O
.	O	O

Obviously	O	O
the	O	O
datatype	O	O
will	O	O
be	O	O
json	O	B-File_Type
as	O	O
opposed	O	O
to	O	O
xml	O	B-File_Type
.	O	O

As	O	O
you	O	O
can	O	O
see	O	O
that	O	O
if	O	O
the	O	O
file	O	O
is	O	O
on	O	O
the	O	O
server	O	B-Device
the	O	O
problem	O	O
will	O	O
disappear	O	O
.	O	O

Can	O	O
you	O	O
provide	O	O
me	O	O
with	O	O
the	O	O
url	O	O
you	O	O
are	O	O
trying	O	O
to	O	O
grab	O	O
the	O	O
xml	O	B-File_Type
feed	O	O
from	O	O
?	O	O

Suppose	O	O
you	O	O
have	O	O
a	O	O
class	O	O
Shape	O	B-Class
.	O	O

Assume	O	O
Shape	O	B-Class
has	O	O
been	O	O
instantiated	O	O
as	O	O
Circle	O	B-Variable
,	O	O
Square	O	B-Variable
,	O	O
and	O	O
Triangle	O	B-Variable
.	O	O

Is	O	O
there	O	O
a	O	O
way	O	O
at	O	O
runtime	O	O
to	O	O
get	O	O
a	O	O
list	O	B-Data_Structure
of	O	O
the	O	O
names	O	O
of	O	O
the	O	O
Shape	O	B-Class
objects	O	O
and	O	O
then	O	O
to	O	O
iterate	O	O
over	O	O
those	O	O
objects	O	O
?	O	O

I	O	O
do	O	O
n't	O	O
recommend	O	O
this	O	O
,	O	O
but	O	O
one	O	O
way	O	O
of	O	O
tracking	O	O
all	O	O
instances	O	O
of	O	O
your	O	O
shape	O	O
is	O	O
to	O	O
do	O	O
the	O	O
following	O	O
:	O	O

If	O	O
you	O	O
need	O	O
to	O	O
do	O	O
this	O	O
,	O	O
you	O	O
may	O	O
be	O	O
solving	O	O
your	O	O
problem	O	O
the	O	O
wrong	O	O
way	O	O
.	O	O

Thanks	O	O
to	O	O
Vyrx	O	B-User_Name
for	O	O
the	O	O
WeakReference	B-Code_Block	B-Class
suggestion	O	O
to	O	O
solve	O	O
garbage	O	O
collection	O	O
issues	O	O
.	O	O

There	O	O
is	O	O
no	O	O
way	O	O
to	O	O
use	O	O
reflection	O	O
to	O	O
obtain	O	O
list	O	B-Data_Structure
of	O	O
instantiated	O	O
objects	O	O
.	O	O

Reflection	O	O
can	O	O
give	O	O
information	O	O
about	O	O
type	O	O
or	O	O
interact	O	O
with	O	O
objects	O	O
you	O	O
have	O	O
reference	O	O
to	O	O
,	O	O
it	O	O
does	O	O
not	O	O
let	O	O
you	O	O
find	O	O
"	O	O
all	O	O
object	O	O
of	O	O
this	O	O
type	O	O
ever	O	O
created	O	O
"	O	O
.	O	O

You	O	O
can	O	O
use	O	O
dubugging	O	B-Application
APIs	O	I-Application
to	O	O
do	O	O
that	O	O
.	O	O

I.e	O	O
.	O	O

in	O	O
WinDbg	O	B-Application
+	O	O
SOS	O	B-Application
:	O	O

I	O	O
just	O	O
saw	O	O
a	O	O
template	O	O
http://livedemo00.template-help.com/wordpress_39638/contacts/	O	O
and	O	O
i	O	O
liked	O	O
the	O	O
way	O	O
google	O	B-Application
maps	O	I-Application
is	O	O
used	O	O
here	O	O
,	O	O
the	O	O
image	O	B-User_Interface_Element
iframe	O	B-HTML_XML_Tag
value	O	O
is	O	O
http://maps.google.com/mapsf=q&source=s_q&hl=en&geocode=&q=Brooklyn,+NY,+USA&aq=0&sll=37.0625,-95.677068&sspn=47.704107,79.013672&ie=UTF8&hq=&hnear=Brooklyn,+Kings,+New+York&ll=40.649974,-73.949919&spn=0.01628,0.028238&z=14&iwloc=A&output=embed	O	O
.	O	O

How	O	O
can	O	O
i	O	O
generate	O	O
my	O	O
own	O	O
location	O	O
's	O	O
google	O	B-Application
maps	O	I-Application
image	O	B-User_Interface_Element
.	O	O

https://developers.google.com/maps/documentation/embed/start	O	O
has	O	O
a	O	O
pretty	O	O
easy	O	O
to	O	O
follow	O	O
series	O	O
of	O	O
4	O	O
steps	O	O
.	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
use	O	O
the	O	O
dbase	O	B-Application
library	O	O
in	O	O
php5.3	O	B-Language
to	O	O
open	O	O
a	O	O
.dbf	O	B-File_Type
file	O	O
.	O	O

I	O	O
've	O	O
got	O	O
the	O	O
dbase.so	O	B-Library
library	O	O
installed	O	O
and	O	O
active	O	O
on	O	O
my	O	O
php5	O	B-Language
build	O	O
and	O	O
I	O	O
'm	O	O
executing	O	O
the	O	O
following	O	O
code	O	O
:	O	O

Where	O	O
CMX.dbf	O	B-File_Name
is	O	O
a	O	O
Visual	O	B-Language
FoxPro9	O	I-Language
data	O	O
table	O	B-Data_Structure
and	O	O
is	O	O
located	O	O
in	O	O
the	O	O
same	O	O
directory	O	O
as	O	O
the	O	O
executing	O	O
script	O	O
with	O	O
read/write/execute	O	O
permissions	O	O
enabled	O	O
.	O	O

The	O	O
following	O	O
is	O	O
an	O	O
exert	O	O
from	O	O
/var/log/apache2/error.log	B-Code_Block	B-File_Name
:	O	O

line	O	O
28	O	O

As	O	O
this	O	O
error/warning	O	O
is	O	O
not	O	O
very	O	O
descriptive	O	O
,	O	O
I	O	O
'm	O	O
having	O	O
issues	O	O
tracking	O	O
down	O	O
the	O	O
root	O	O
cause	O	O
.	O	O

Can	O	O
anyone	O	O
help	O	O
with	O	O
this	O	O
?	O	O

Try	O	O
this	O	O
:	O	O

Not	O	O
positive	O	O
about	O	O
PHP	O	B-Language
,	O	O
nor	O	O
Apache	O	B-Application
,	O	O
but	O	O
typically	O	O
,	O	O
when	O	O
trying	O	O
to	O	O
connect	O	O
to	O	O
database	O	O
files	O	O
(	O	O
or	O	O
Foxpro	O	B-Language
)	O	O
,	O	O
the	O	O
typical	O	O
approach	O	O
would	O	O
be	O	O
to	O	O
have	O	O
a	O	O
CONNECTION	O	B-Function
to	O	O
a	O	O
PATH	O	B-Variable
,	O	O
then	O	O
perform	O	O
a	O	O
query	O	O
against	O	O
the	O	O
name	O	O
of	O	O
the	O	O
table	O	B-Data_Structure
...	O	O
.	O	O

I	O	O
have	O	O
a	O	O
dataset	O	O
with	O	O
25000	O	O
rows	O	B-Data_Structure
and	O	O
761	O	O
columns	O	B-Data_Structure
,	O	O
which	O	O
includes	O	O
one	O	O
binary	O	O
response	O	O
column	O	B-Data_Structure
.	O	O

My	O	O
binary	O	O
response	O	O
had	O	O
values	O	O
'	O	O
-1	O	B-Value
'	O	O
and	O	O
'	O	O
1	O	B-Value
'	O	O
.	O	O

I	O	O
was	O	O
trying	O	O
to	O	O
run	O	O
xgboost	O	B-Library
on	O	O
it	O	O
,	O	O
and	O	O
keep	O	O
getting	O	O
an	O	O
error	O	O
which	O	O
says	O	O
-	O	O

I	O	O
changed	O	O
the	O	O
levels	O	O
of	O	O
my	O	O
response	O	O
using	O	O
the	O	O
following	O	O
command	O	O
-	O	O

I	O	O
still	O	O
keep	O	O
getting	O	O
the	O	O
same	O	O
error	O	O
,	O	O
and	O	O
am	O	O
not	O	O
sure	O	O
what	O	O
exactly	O	O
the	O	O
issue	O	O
is	O	O
.	O	O

One	O	O
important	O	O
point	O	O
is	O	O
that	O	O
this	O	O
is	O	O
a	O	O
rare	O	O
event	O	O
detection	O	O
problem	O	O
,	O	O
with	O	O
the	O	O
proportion	O	O
of	O	O
positive	O	O
cases	O	O
being	O	O
1%	O	O
of	O	O
the	O	O
total	O	O
observations	O	O
.	O	O

Could	O	O
that	O	O
be	O	O
the	O	O
reason	O	O
I	O	O
'm	O	O
getting	O	O
the	O	O
error	O	O
?	O	O

Before	O	O
running	O	O
Xgboost	O	B-Library
model	O	O
,	O	O
we	O	O
have	O	O
to	O	O
keep	O	O
certain	O	O
steps	O	O
in	O	O
mind	O	O
.	O	O

All	O	O
variables	O	O
should	O	O
be	O	O
numeric	O	B-Data_Type

for	O	O
binary	O	O
classification	O	O
,	O	O
your	O	O
output	O	O
variable	O	O
should	O	O
range	O	O
from	O	O
0	O	B-Value
to	O	O
1	O	B-Value

Using	O	O
levels(output)[levels(output)=="-1"]	O	B-Code_Block
<	O	I-Code_Block
-	O	I-Code_Block
"	O	I-Code_Block
0	O	I-Code_Block
"	O	I-Code_Block
,	O	O
,	O	O
your	O	O
output	O	O
variable	O	O
will	O	O
be	O	O
character	O	B-Data_Type
.	O	O

Change	O	O
it	O	O
to	O	O
numeric	O	B-Data_Type
,	O	O
keep	O	O
the	O	O
range	O	O
between	O	O
0	O	B-Value
and	O	O
1	O	B-Value
and	O	O
your	O	O
Xgboost	O	B-Library
model	O	O
will	O	O
probably	O	O
work	O	O
.	O	O

Just	O	O
so	O	O
this	O	O
may	O	O
help	O	O
someone	O	O
trying	O	O
to	O	O
convert	O	O
a	O	O
factor	O	O
variable	O	O
with	O	O
levels	O	O
0	O	B-Value
and	O	O
1	O	B-Value
into	O	O
labels	O	O
for	O	O
input	O	O
to	O	O
XGBoost	O	B-Library
,	O	O
you	O	O
need	O	O
to	O	O
be	O	O
aware	O	O
that	O	O
you	O	O
need	O	O
to	O	O
subtract	O	O
1	O	B-Value
after	O	O
converting	O	O
to	O	O
integer	O	B-Data_Type
(	O	O
or	O	O
numeric	O	B-Data_Type
)	O	O
:	O	O

I	O	O
having	O	O
problems	O	O
with	O	O
ConcurrentModificationException	B-Code_Block	B-Class
when	O	O
I	O	O
use	O	O
a	O	O
subList	O	B-Function
.	O	O

My	O	O
question	O	O
is	O	O
:	O	O

Is	O	O
safe	O	O
create	O	O
a	O	O
new	O	O
collection	O	O
using	O	O
a	O	O
subList	O	B-Function
?	O	O

Example	O	O
:	O	O

The	O	O
result	O	O
list	O	B-Class
must	O	O
to	O	O
be	O	O
a	O	O
independent	O	O
list	O	B-Class
of	O	O
the	O	O
original	O	O
list	O	B-Class
.	O	O

Sorry	O	O
for	O	O
my	O	O
english	O	O
.	O	O

Without	O	O
seeing	O	O
more	O	O
code	O	O
,	O	O
I	O	O
'm	O	O
assuming	O	O
that	O	O
another	O	O
thread	O	O
is	O	O
probably	O	O
modifying	O	O
the	O	O
contents	O	O
of	O	O
someList	B-Code_Block	B-Variable
,	O	O
in	O	O
which	O	O
case	O	O
you	O	O
'll	O	O
need	O	O
to	O	O
implement	O	O
some	O	O
sort	O	O
of	O	O
synchronization	O	O
policy	O	O
,	O	O
such	O	O
as	O	O
a	O	O
synchronized	O	B-Function
block	O	O
when	O	O
you	O	O
attempt	O	O
to	O	O
extract	O	O
a	O	O
sub-list	O	B-Data_Structure
from	O	O
it	O	O
-	O	O
-	O	O
that	O	O
's	O	O
me	O	O
shooting	O	O
in	O	O
the	O	O
dark	O	O
.	O	O

EDIT	O	O

If	O	O
you	O	O
're	O	O
attempting	O	O
to	O	O
remove	O	O
an	O	O
element	O	O
from	O	O
the	O	O
sub-list	O	B-Data_Structure
in	O	O
the	O	O
middle	O	O
of	O	O
iterating	O	O
over	O	O
it	O	O
,	O	O
I	O	O
'd	O	O
recommend	O	O
doing	O	O
so	O	O
using	O	O
iterator.remove()	O	B-Function
since	O	O

If	O	O
you	O	O
need	O	O
the	O	O
sublist	O	B-Function
to	O	O
be	O	O
modifiable	O	O
,	O	O
this	O	O
is	O	O
about	O	O
the	O	O
easiest	O	O
way	O	O
to	O	O
do	O	O
it	O	O
.	O	O

In	O	O
Linux	O	B-Operating_System
,	O	O
how	O	O
can	O	O
I	O	O
delete	O	O
all	O	O
files	O	O
in	O	O
particular	O	O
directory	O	O
?	O	O

For	O	O
example	O	O
/home/xd/karthik	B-Code_Block	B-File_Name
is	O	O
my	O	O
path	O	O
;	O	O
I	O	O
want	O	O
to	O	O
delete	O	O
all	O	O
files	O	O
in	O	O
the	O	O
above	O	O
directory	O	O
,	O	O
if	O	O
the	O	O
disk	O	B-Device
usage	O	O
exceeds	O	O
90%	O	O
.	O	O

How	O	O
can	O	O
I	O	O
write	O	O
a	O	O
script	O	O
for	O	O
that	O	O
?	O	O

rm	B-Code_Block	B-Code_Block
/path/to/directory/	I-Code_Block	I-Code_Block
*	I-Code_Block	I-Code_Block

add	O	O
rm	B-Code_Block	B-Code_Block
-r	I-Code_Block	I-Code_Block
to	O	O
remove	O	O
the	O	O
file	O	O
hierarchy	O	O
rooted	O	O
in	O	O
each	O	O
file	O	O
argument	O	O
.	O	O

dont	O	O
need	O	O
script	O	O
just	O	O
basic	O	O
shell	O	B-Application
command	O	O

Sometimes	O	O
,	O	O
before	O	O
the	O	O
arc	O	B-Application
was	O	O
introduced	O	O
,	O	O
I	O	O
was	O	O
n't	O	O
using	O	O
the	O	O
@property	O	B-Code_Block
declaration	O	O
and	O	O
use	O	O
just	O	O
iVar	O	B-Code_Block
like	O	O
follow	O	O
:	O	O

How	O	O
to	O	O
implement	O	O
something	O	O
like	O	O
this	O	O
with	O	O
ARC	O	B-Application
if	O	O
I	O	O
do	O	O
n't	O	O
want	O	O
to	O	O
use	O	O
@property	B-Code_Block	B-Code_Block
declaration	O	O
?	O	O

Declare	O	O
str	O	B-Variable
in	O	O
.h	O	B-File_Type
file	O	O
.	O	O

You	O	O
can	O	O
synthesize	O	O
this	O	O
variable	O	O
in	O	O
.m	O	B-File_Type
file	O	O
like	O	O
@sythesize	B-Code_Block	B-Code_Block
str	I-Code_Block	I-Code_Block
;	I-Code_Block	I-Code_Block

You	O	O
can	O	O
use	O	O
self.str	B-Code_Block	B-Variable
for	O	O
assigning	O	O
or	O	O
getting	O	O
str	B-Code_Block	B-Variable
.	I-Code_Block	O

For	O	O
more	O	O
details	O	O
read	O	O
this	O	O
document	O	O
.	O	O

ARC	O	B-Application
just	O	O
works	O	O
:	O	O

..	O	O
.	O	O
and	O	O
no	O	O
dealloc	O	B-Function
:)	O	O

From	O	O
post	O	O
WPF	O	B-Library
:	O	O
How	O	O
to	O	O
programmatically	O	O
remove	O	O
focus	O	O
from	O	O
a	O	O
TextBox	O	B-Class
,	O	O
I	O	O
know	O	O
how	O	O
to	O	O
set	O	O
a	O	O
TextBox	B-Code_Block	B-Class
's	O	O
focus	O	O
back	O	O
to	O	O
its	O	O
parent	O	O
using	O	O
the	O	O
following	O	O
code	O	O
:	O	O

Is	O	O
there	O	O
any	O	O
way	O	O
to	O	O
generalize	O	O
this	O	O
code	O	O
(	O	O
like	O	O
template	O	O
functions	O	O
)	O	O
to	O	O
make	O	O
it	O	O
also	O	O
work	O	O
for	O	O
other	O	O
items	O	O
like	O	O
ComboBox	B-Code_Block	B-Class
,	O	O
Canvas	B-Code_Block	B-Class
,	O	O
Image	B-Code_Block	B-Class
etc	O	O
.	O	O

Yes	O	O
,	O	O
there	O	O
is	O	O
such	O	O
a	O	O
possibility	O	O
,	O	O
in	O	O
such	O	O
cases	O	O
,	O	O
implement	O	O
attached	B-Code_Block	O
behavior	O	O
.	O	O

Logic	O	O
at	O	O
work	O	O
with	O	O
a	O	O
focus	O	O
must	O	O
fit	O	O
into	O	O
DependencyPropertyChangedEvent	B-Code_Block	B-Class
handler	O	O
.	O	O

Here	O	O
is	O	O
an	O	O
example	O	O
for	O	O
your	O	O
case	O	O
:	O	O

XAML	B-Code_Block	B-Language

Code-behind	B-Code_Block	O

It	O	O
should	O	O
be	O	O
relatively	O	O
straightforward	O	O
:	O	O

This	O	O
works	O	O
because	O	O
all	O	O
controls	O	O
inherit	O	O
from	O	O
FrameworkElement	O	B-Class
which	O	O
inherits	O	O
from	O	O
DependencyObject	O	B-Class
.	O	O

So	O	O
you	O	O
can	O	O
set	O	O
ctrl	B-Code_Block	B-Keyboard_IP
to	O	O
any	O	O
type	O	O
of	O	O
control	O	O
you	O	O
want	O	O
:	O	O
ComboBox	B-Code_Block	B-Class
,	O	O
TextBox	B-Code_Block	B-Class
,	O	O
Button	B-Code_Block	B-Class
,	O	O
Canvas	B-Code_Block	B-Class
,	O	O
etc	O	O
.	O	O

Whenever	O	O
I	O	O
press	O	O
the	O	O
button	O	B-User_Interface_Element
,	O	O
the	O	O
image	O	B-User_Interface_Element
does	O	O
not	O	O
appear	O	O
.	O	O

Try	O	O
this	O	O

Make	O	O
sure	O	O
the	O	O
images	O	B-User_Interface_Element
are	O	O
in	O	O
the	O	O
right	O	O
folder	O	O
,	O	O
it	O	O
should	O	O
be	O	O
in	O	O
the	O	O
same	O	O
directory	O	O
as	O	O
your	O	O
HTML	O	B-File_Type
file	O	O
.	O	O

I	O	O
have	O	O
configuration	O	B-HTML_XML_Tag
look	O	O
like	O	O
this	O	O
and	O	O
I	O	O
do	O	O
n't	O	O
know	O	O
how	O	O
to	O	O
read	O	O
,	O	O
I	O	O
want	O	O
to	O	O
get	O	O
value	O	O
if	O	O
I	O	O
choose	O	O
product	O	O
or	O	O
preview	O	O
?	O	O

How	O	O
can	O	O
I	O	O
read	O	O
this	O	O
in	O	O
my	O	O
debugging	O	O
?	O	O

In	O	O
C#	O	B-Language
I	O	O
recommend	O	O
you	O	O
to	O	O
use	O	O
Linq	O	B-Library
to	O	O
XML	O	B-Language
.	O	O

It	O	O
is	O	O
in	O	O
the	O	O
standard	O	O
.net	O	B-Library
framework	O	O
(	O	O
3.5	O	B-Version
)	O	O
,	O	O
and	O	O
it	O	O
help	O	O
you	O	O
to	O	O
load	O	O
the	O	O
XML	O	B-Language
,	O	O
and	O	O
to	O	O
read	O	O
every	O	O
node	O	O
and	O	O
attribute	O	O
of	O	O
it	O	O
easily	O	O
.	O	O

It	O	O
's	O	O
quite	O	O
easy	O	O
using	O	O
LINQ	O	B-Library

This	O	O
should	O	O
help	O	O
you	O	O

I	O	O
have	O	O
maven	O	B-Application
installed	O	O
and	O	O
it	O	O
worked	O	O
well	O	O
before	O	O
but	O	O
now	O	O
Maven	O	B-Application
clean	O	O
stop/stuck	O	O
at	O	O
certain	O	O
point	O	O
.	O	O

I	O	O
have	O	O
tried	O	O
restarting	O	O
eclipse	O	B-Application
but	O	O
does	O	O
n't	O	O
seem	O	O
to	O	O
work	O	O
.	O	O

Eclipse	O	B-Application
Version	O	O
:	O	O
Luna	O	B-Version
Service	O	I-Version
Release	O	I-Version
2	O	I-Version
(	O	I-Version
4.4.2	O	I-Version
)	O	I-Version

Any	O	O
help	O	O
will	O	O
be	O	O
greatly	O	O
appreciated	O	O
.	O	O

Deleting	O	O
eclipse	O	B-Application
local	O	O
history	O	O
,	O	O
indexes	O	O
and	O	O
temp	O	O
files	O	O
solved	O	O
the	O	O
issue	O	O
.	O	O

I	O	O
've	O	O
got	O	O
persistent	O	O
footers/headers	O	B-User_Interface_Element
in	O	O
a	O	O
jqm	O	B-Library
app	O	O
I	O	O
'm	O	O
working	O	O
on	O	O
.	O	O

They	O	O
work	O	O
pretty	O	O
much	O	O
as	O	O
expected	O	O
,	O	O
except	O	O
when	O	O
you	O	O
tapping	O	O
in	O	O
the	O	O
"	O	B-Value
white	O	I-Value
space	O	I-Value
"	O	I-Value
anywhere	O	O
inside	O	O
the	O	O
[	O	O
data-role="content"	O	B-Code_Block
]	O	O
,	O	O
the	O	O
header	O	B-User_Interface_Element
and	O	O
footer	O	B-User_Interface_Element
scroll	O	O
out	O	O
of	O	O
view	O	O
.	O	O

Tapping	O	O
in	O	O
the	O	O
content	O	O
where	O	O
there	O	O
are	O	O
no	O	O
links	O	O
or	O	O
buttons	O	B-User_Interface_Element
again	O	O
slides	O	O
the	O	O
header	O	B-User_Interface_Element
and	O	O
footer	O	B-User_Interface_Element
back	O	O
into	O	O
place	O	O
.	O	O

Here	O	O
is	O	O
a	O	O
prototype	O	O
of	O	O
the	O	O
app	O	O
I	O	O
'm	O	O
working	O	O
on	O	O
:	O	O

It	O	O
's	O	O
appropriate	O	O
for	O	O
pages	O	B-User_Interface_Element
where	O	O
there	O	O
is	O	O
a	O	O
long	O	O
column	O	B-User_Interface_Element
of	O	O
text	O	O
.	O	O

You	O	O
get	O	O
more	O	O
screen	O	O
real	O	O
estate	O	O
for	O	O
reading	O	O
the	O	O
content	O	O
.	O	O

That	O	O
's	O	O
nice	O	O
if	O	O
it	O	O
's	O	O
what	O	O
you	O	O
expect	O	O
.	O	O

But	O	O
when	O	O
you	O	O
have	O	O
a	O	O
map	O	B-User_Interface_Element
page	O	I-User_Interface_Element
,	O	O
it	O	O
gets	O	O
clunky	O	O
-	O	O
new	O	O
users	O	O
may	O	O
see	O	O
this	O	O
as	O	O
bug	O	O
-	O	O
-	O	O
especially	O	O
if	O	O
they	O	O
ca	O	O
n't	O	O
figure	O	O
out	O	O
how	O	O
to	O	O
get	O	O
off	O	O
the	O	O
map	O	B-User_Interface_Element
page	O	I-User_Interface_Element
or	O	O
another	O	O
page	O	B-User_Interface_Element
with	O	O
content	O	O
.	O	O

Also	O	O
when	O	O
you	O	O
're	O	O
viewing	O	O
a	O	O
page	O	B-User_Interface_Element
with	O	O
content	O	O
that	O	O
's	O	O
shorter	O	O
than	O	O
the	O	O
page	O	B-User_Interface_Element
length	O	O
on	O	O
a	O	O
desktop	O	B-Device
,	O	O
the	O	O
footer	O	B-User_Interface_Element
actually	O	O
climbs	O	O
up	O	O
into	O	O
the	O	O
page	O	B-User_Interface_Element
.	O	O

That	O	O
's	O	O
not	O	O
what	O	O
I	O	O
expect	O	O
.	O	O

How	O	O
can	O	O
I	O	O
make	O	O
data-position	O	B-Code_Block
=	O	I-Code_Block
"	O	I-Code_Block
fixed	O	I-Code_Block
"	O	I-Code_Block
really	O	O
work	O	O
the	O	O
way	O	O
I	O	O
expect	O	O
it	O	O
to	O	O
?	O	O

Try	O	O
applying	O	O
the	O	O
data-tap-toggle	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
"	I-Code_Block	I-Code_Block
false	I-Code_Block	I-Code_Block
"	I-Code_Block	I-Code_Block
attribute	O	O
to	O	O
your	O	O
header	O	B-User_Interface_Element
and	O	O
footer	O	B-User_Interface_Element
,	O	O
or	O	O
in	O	O
javascript	O	B-Language
:	O	O

Here	O	O
is	O	O
the	O	O
API	O	B-Library
documentation	O	O
:	O	O
http://api.jquerymobile.com/fixedtoolbar/#option-tapToggle	O	O

I	O	O
am	O	O
looking	O	O
to	O	O
change	O	O
the	O	O
style	O	O
of	O	O
a	O	O
control	O	B-Class
but	O	O
I	O	O
basically	O	O
want	O	O
to	O	O
copy	O	O
part	O	O
of	O	O
a	O	O
default	O	O
style	O	O
.	O	O

Does	O	O
anyone	O	O
know	O	O
how	O	O
I	O	O
can	O	O
figure	O	O
out	O	O
what	O	O
the	O	O
default	O	O
style	O	O
of	O	O
a	O	O
control	O	B-Class
is	O	O
?	O	O

In	O	O
my	O	O
case	O	O
I	O	O
am	O	O
wanting	O	O
to	O	O
make	O	O
the	O	O
column	O	B-User_Interface_Element
headers	O	O
in	O	O
a	O	O
DataGrid	O	B-Class
go	O	O
blue	O	O
on	O	O
mouse	O	B-Device
over	O	O
like	O	O
the	O	O
row	O	B-User_Interface_Element
headers	O	O
do	O	O
.	O	O

You	O	O
can	O	O
find	O	O
some	O	O
templates	O	O
that	O	O
are	O	O
very	O	O
close	O	O
to	O	O
the	O	O
defaults	O	O
on	O	O
this	O	O
MSDN	O	B-Website
site	O	O

Another	O	O
alternative	O	O
is	O	O
to	O	O
get	O	O
a	O	O
copy	O	O
of	O	O
Expression	O	B-Application
Blend	O	I-Application
and	O	O
use	O	O
it	O	O
to	O	O
make	O	O
a	O	O
copy	O	O
of	O	O
the	O	O
default	O	O
style	O	O
,	O	O
however	O	O
Blend	O	B-Application
is	O	O
n't	O	O
free	O	O

Contrary	O	O
to	O	O
what	O	O
Rachel	O	B-User_Name
says	O	O
,	O	O
the	O	O
link	O	O
she	O	O
provides	O	O
does	O	O
not	O	O
provide	O	O
the	O	O
default	O	O
templates	O	O
.	O	O

I	O	O
have	O	O
seen	O	O
using	O	O
System.Windows.Markup.XamlWriter.Save(myObject.Template)	B-Code_Block	B-Function
that	O	O
the	O	O
default	O	O
templates	O	O
are	O	O
completely	O	O
different	O	O
from	O	O
what	O	O
that	O	O
site	O	O
shows	O	O
.	O	O

I	O	O
have	O	O
a	O	O
ComboBox	O	B-Class
with	O	O
a	O	O
datasource	O	B-Variable
from	O	O
a	O	O
DataTable	O	B-Class
(	O	O
DataView	O	B-Class
)	O	O
.	O	O

For	O	O
example	O	O
,	O	O
this	O	O
source	O	O
return	O	O
5	O	O
items	O	O
in	O	O
my	O	O
ComboBox	O	B-Class
.	O	O

If	O	O
I	O	O
do	O	O
n't	O	O
want	O	O
to	O	O
choose	O	O
one	O	O
of	O	O
these	O	O
5	O	O
items	O	O
,	O	O
and	O	O
I	O	O
need	O	O
to	O	O
add	O	O
another	O	O
new	O	O
to	O	O
save	O	O
it	O	O
in	O	O
my	O	O
database	O	O
,	O	O
how	O	O
I	O	O
can	O	O
do	O	O
it	O	O
?	O	O

my	O	O
combobox	O	B-Class
values	O	O
:	O	O

ComboBox.SelectedValue	O	B-Variable
is	O	O
saved	O	O
in	O	O
database	O	O
by	O	O
this	O	O
line	O	O
:	O	O

my	O	O
problem	O	O
is	O	O
at	O	O
ComboBox.SelectedValue	B-Code_Block	B-Variable
..	O	O
.	O	O
how	O	O
I	O	O
can	O	O
Select	O	O
another	O	O
value	O	O
outside	O	O
the	O	O
returned	O	O
list	O	B-Data_Structure
from	O	O
DT	O	B-Class
?	O	O
?	O	O

I	O	O
think	O	O
you	O	O
have	O	O
to	O	O
bind	O	O
both	O	O
SelectedValue	B-Code_Block	B-Variable
and	O	O
Text	B-Code_Block	B-Variable
to	O	O
contractsBindingSource.InvoicingIBAN	B-Code_Block	B-Variable
.	O	O

Ensure	O	O
that	O	O
your	O	O
ComboBox	O	B-Class
allows	O	O
user	O	O
input	O	O
by	O	O
setting	O	O
bankAccountCombo.DropDownStyle	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
ComboBoxStyle.DropDown	I-Code_Block	I-Code_Block
;	I-Code_Block	I-Code_Block

I	O	O
'm	O	O
just	O	O
starting	O	O
to	O	O
work	O	O
with	O	O
Angular	O	B-Library
2	O	B-Version
and	O	O
I	O	O
have	O	O
a	O	O
project	O	O
where	O	O
I	O	O
am	O	O
using	O	O
Material	O	B-Application
2	O	B-Version
.	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
create	O	O
a	O	O
responsive	O	O
effect	O	O
,	O	O
where	O	O
I	O	O
hide	O	O
a	O	O
column	O	B-User_Interface_Element
when	O	O
my	O	O
screen	O	B-User_Interface_Element
is	O	O
960	O	B-Value
or	O	O
lower	O	O
.	O	O

I	O	O
know	O	O
Material	O	B-Application
2	O	B-Version
has	O	O
a	O	O
way	O	O
to	O	O
detect	O	O
column	O	B-User_Interface_Element
size	O	O
for	O	O
sizing	O	O
,	O	O
like	O	O
the	O	O
following	O	O
:	O	O

Does	O	O
anyone	O	O
know	O	O
of	O	O
a	O	O
way	O	O
in	O	O
Angular	O	B-Library
2	O	B-Version
and	O	O
Material	O	B-Application
2	O	B-Version
to	O	O
detect	O	O
and	O	O
hid	O	O
a	O	O
column	O	B-User_Interface_Element
?	O	O

Take	O	O
a	O	O
look	O	O
at	O	O
fxShow	B-Code_Block	B-HTML_XML_Tag
and	O	O
fxhide	B-Code_Block	B-HTML_XML_Tag
.	O	O

You	O	O
can	O	O
use	O	O
them	O	O
like	O	O
this	O	O
:	O	O

I	O	O
would	O	O
like	O	O
to	O	O
know	O	O
a	O	O
simple	O	O
way	O	O
to	O	O
sort	O	O
a	O	O
text	O	B-File_Type
file	O	O
by	O	O
lines	O	O
.	O	O

I	O	O
have	O	O
2	O	O
files	O	O
:	O	O

file1	O	B-File_Name
:	O	O

file2	O	B-File_Name
:	O	O

my	O	O
current	O	O
code	O	O
is	O	O
:	O	O

I	O	O
merged	O	O
file1	O	B-File_Name
and	O	O
file2	O	B-File_Name
in	O	O
a	O	O
file3	O	B-File_Name

I	O	O
have	O	O
some	O	O
ideas	O	O
of	O	O
how	O	O
i	O	O
can	O	O
sort	O	O
file	O	B-File_Name
3	O	I-File_Name
by	O	O
lines	O	O
but	O	O
i	O	O
dont	O	O
really	O	O
know	O	O
how	O	O
to	O	O
make	O	O
them	O	O
happen	O	O
.	O	O

One	O	O
is	O	O
going	O	O
through	O	O
the	O	O
longer	O	O
text	O	O
out	O	O
of	O	O
the	O	O
two	O	O
,	O	O
find	O	O
a	O	O
\n	O	B-Value
and	O	O
all	O	O
the	O	O
text	O	O
up	O	O
until	O	O
the	O	O
\n	O	B-Value
to	O	O
be	O	O
put	O	O
in	O	O
an	O	O
array	O	B-Data_Structure
and	O	O
the	O	O
sort	O	O
the	O	O
array	O	B-Data_Structure
and	O	O
then	O	O
put	O	O
each	O	O
element	O	O
of	O	O
the	O	O
sorted	O	O
array	O	B-Data_Structure
on	O	O
a	O	O
line	O	O
form	O	O
file3	O	B-File_Name
.	O	O

The	O	O
other	O	O
is	O	O
going	O	O
through	O	O
file3	O	B-File_Name
and	O	O
try	O	O
somehow	O	O
to	O	O
switch	O	O
the	O	O
lines	O	O
alphabitically	O	O
,	O	O
like	O	O
bubblesort	O	B-Algorithm
.	O	O

edit:managed	O	O
to	O	O
do	O	O
it	O	O
,	O	O
just	O	O
needed	O	O
some	O	O
direction	O	O
,	O	O
thanks	O	O
everyone	O	O

As	O	O
a	O	O
verbal	O	O
procedure	O	O
,	O	O
you	O	O
can	O	O
do	O	O
:	O	O

Allocate	O	O
an	O	O
array	O	B-Data_Structure
of	O	O
pointers	O	B-Data_Type
to	O	O
chars	O	B-Data_Type

Read	O	O
all	O	O
lines	O	O
of	O	O
the	O	O
file	O	O
.	O	O

Allocate	O	O
a	O	O
new	O	O
string	O	B-Data_Type
for	O	O
each	O	O
line	O	O
and	O	O
put	O	O
in	O	O
the	O	O
array	O	B-Data_Structure

If	O	O
the	O	O
array	O	B-Data_Structure
is	O	O
too	O	O
small	O	O
,	O	O
then	O	O
use	O	O
realloc	B-Code_Block	B-Function
to	O	O
make	O	O
it	O	O
larger	O	O
.	O	O

Read	O	O
about	O	O
realloc	B-Code_Block	B-Function
to	O	O
avoid	O	O
common	O	O
errors	O	O
.	O	O

Once	O	O
the	O	O
file	O	O
has	O	O
been	O	O
read	O	O
,	O	O
use	O	O
your	O	O
own	O	O
bubble	O	B-Algorithm
sort	O	I-Algorithm
or	O	O
the	O	O
library	O	O
's	O	O
qsort	B-Code_Block	B-Function
to	O	O
sort	O	O
the	O	O
array	O	B-Data_Structure
.	O	O

Read	O	O
about	O	O
qsort	B-Code_Block	B-Function
.	O	O

Once	O	O
sorted	O	O
,	O	O
re-write	O	O
file3	B-Code_Block	B-File_Name
from	O	O
the	O	O
array	O	B-Data_Structure
.	O	O

Coding	O	O
this	O	O
is	O	O
a	O	O
nice	O	O
excercise	O	O
that	O	O
I	O	O
leave	O	O
to	O	O
you	O	O
.	O	O

Easy	O	O
way	O	O
:	O	O
read	O	O
the	O	O
text	O	B-File_Type
files	O	O
into	O	O
one	O	O
array	O	B-Data_Structure
(	O	O
first	O	O
line	O	O
of	O	O
second	O	O
file	O	O
following	O	O
last	O	O
line	O	O
of	O	O
first	O	O
file	O	O
(	O	O
hint	O	O
:	O	O
fgets	B-Code_Block	B-Function
)	O	O
,	O	O
sort	O	O
the	O	O
array	O	B-Data_Structure
(	O	O
hint	O	O
:	O	O
qsort	B-Code_Block	B-Function
)	O	O
,	O	O
and	O	O
output	O	O
.	O	O

The	O	O
format	O	O
I	O	O
would	O	O
like	O	O
to	O	O
allow	O	O
in	O	O
my	O	O
text	O	B-User_Interface_Element
boxes	O	I-User_Interface_Element
are	O	O
comma	O	O
delimited	O	O
lists	O	B-Data_Structure
followed	O	O
by	O	O
a	O	O
line	O	O
break	O	O
in	O	O
between	O	O
the	O	O
comma	O	O
delimited	O	O
lists	O	B-Data_Structure
.	O	O

Here	O	O
is	O	O
an	O	O
example	O	O
of	O	O
what	O	O
I	O	O
want	O	O
from	O	O
the	O	O
user	O	O
:	O	O

So	O	O
far	O	O
I	O	O
have	O	O
limited	O	O
the	O	O
user	O	O
using	O	O
this	O	O
ValidationExpression	O	B-Variable
:	O	O

However	O	O
with	O	O
that	O	O
expression	O	O
,	O	O
the	O	O
user	O	O
is	O	O
only	O	O
able	O	O
to	O	O
enter	O	O
one	O	B-Value
row	O	B-Data_Structure
of	O	O
comma	O	O
delimited	O	O
numbers	O	O
.	O	O

How	O	O
can	O	O
proceed	O	O
to	O	O
accept	O	O
multiple	O	O
rows	O	B-Data_Structure
by	O	O
accepting	O	O
line	O	O
breaks	O	O
?	O	O

It	O	O
is	O	O
possible	O	O
to	O	O
check	O	O
if	O	O
the	O	O
input	O	O
has	O	O
the	O	O
correct	O	O
format	O	O
.	O	O

I	O	O
would	O	O
recommend	O	O
to	O	O
use	O	O
groups	O	O
and	O	O
repeat	O	O
them	O	O
:	O	O

But	O	O
to	O	O
check	O	O
if	O	O
the	O	O
matrix	O	B-Data_Structure
is	O	O
symmetric	O	O
you	O	O
have	O	O
to	O	O
use	O	O
something	O	O
else	O	O
then	O	O
regex	O	B-Class
.	O	O

Check	O	O
it	O	O
out	O	O
here	O	O
:	O	O
https://regex101.com/r/GqtOuQ/2/	O	O

If	O	O
you	O	O
want	O	O
to	O	O
be	O	O
a	O	O
bit	O	O
more	O	O
user	O	O
friendly	O	O
it	O	O
is	O	O
possible	O	O
to	O	O
allow	O	O
as	O	O
much	O	O
horizontal	O	O
spaces	O	O
as	O	O
the	O	O
user	O	O
wants	O	O
to	O	O
add	O	O
between	O	O
the	O	O
number	O	O
and	O	O
comma	O	O
.	O	O

This	O	O
can	O	O
be	O	O
done	O	O
with	O	O
he	O	O
regex	O	B-Class
group	O	O
\h	B-Code_Block	B-Code_Block
which	O	O
allows	O	O
every	O	O
whitespace	O	O
except	O	O
\n	B-Code_Block	B-Code_Block
.	O	O

The	O	O
regex	O	B-Class
code	O	O
looks	O	O
now	O	O
a	O	O
bit	O	O
more	O	O
messy	O	O
:	O	O

Check	O	O
this	O	O
out	O	O
here	O	O
:	O	O
https://regex101.com/r/GqtOuQ/3	O	O

Here	O	O
is	O	O
the	O	O
version	O	O
that	O	O
should	O	O
work	O	O
with	O	O
.NET	O	B-Library
:	O	O

i	O	O
have	O	O
a	O	O
secuview	O	B-Website
dvr	O	B-Device
connected	O	O
to	O	O
mikrotik	O	B-Device
,	O	O
i	O	O
successfully	O	O
configured	O	O
a	O	O
port	O	B-Device
forwarding	O	O
to	O	O
the	O	O
dvr	O	B-Device
.	O	O

Am	O	O
using	O	O
a	O	O
public	O	O
ip	O	O
on	O	O
the	O	O
mikrotik	O	B-Device
and	O	O
private	O	O
ip	O	O
to	O	O
the	O	O
dvr	O	B-Device
.	O	O

At	O	O
the	O	O
moment	O	O
,	O	O
i	O	O
can	O	O
successfully	O	O
log	O	O
in	O	O
the	O	O
dvr	O	B-Device
in	O	O
my	O	O
local	O	O
network	O	O
using	O	O
the	O	O
private	O	O
ip	O	O
i.e	O	B-Value
192.168.100.2	O	I-Value
,	O	O
but	O	O
cannot	O	O
log	O	O
in	O	O
outside	O	O
my	O	O
network	O	O
,	O	O
i	O	O
get	O	O
the	O	O
login	O	O
page	O	O
for	O	O
the	O	O
dvr	O	B-Device
,	O	O
but	O	O
none	O	O
of	O	O
my	O	O
credentials	O	O
that	O	O
i	O	O
used	O	O
in	O	O
the	O	O
local	O	O
network	O	O
seem	O	O
to	O	O
work	O	O

here	O	O
is	O	O
my	O	O
config	O	O

action	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
dst-nat	I-Code_Block	I-Code_Block
chain	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
dstnat	I-Code_Block	I-Code_Block
disabled	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
no	I-Code_Block	I-Code_Block
dst-port	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
80	I-Code_Block	I-Code_Block
Dst	I-Code_Block	I-Code_Block
.	I-Code_Block	I-Code_Block
Address	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
41.78.x.x	I-Code_Block	I-Code_Block
protocol	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
tcp	I-Code_Block	I-Code_Block
to-addresses	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
192.168.100.2	I-Code_Block	I-Code_Block
to-ports	I-Code_Block	I-Code_Block
=	I-Code_Block	I-Code_Block
80	I-Code_Block	I-Code_Block

i	O	O
have	O	O
attached	O	O
an	O	O
image	O	B-User_Interface_Element
of	O	O
the	O	O
login	O	O
page	O	B-User_Interface_Element
from	O	O
outside	O	O
my	O	O
network	O	O
.	O	O

Is	O	O
there	O	O
something	O	O
am	O	O
doing	O	O
wrong	O	O
?	O	O

I	O	O
am	O	O
looking	O	O
for	O	O
a	O	O
code	O	O
which	O	O
will	O	O
able	O	O
to	O	O
perform	O	O
kinect	O	B-Application
fusion	O	I-Application
as	O	O
done	O	O
by	O	O
Newcombe	O	B-User_Name
with	O	O
Kinect	O	B-Device
v2.0	O	B-Version
.	O	O

I	O	O
know	O	O
that	O	O
that	O	O
principle	O	O
used	O	O
for	O	O
Kinect	O	B-Device
1	O	B-Version
is	O	O
different	O	O
from	O	O
the	O	O
principle	O	O
used	O	O
for	O	O
Kinect	O	B-Device
2.0	O	B-Version
.	O	O

I	O	O
have	O	O
found	O	O
one	O	O
famous	O	O
open	O	O
source	O	O
library	O	O
which	O	O
does	O	O
this	O	O
,	O	O
pcl	O	B-Library
.	O	O

But	O	O
The	O	O
code	O	O
is	O	O
specific	O	O
for	O	O
kinect	O	B-Device
1.0	O	B-Version
.	O	O

Is	O	O
there	O	O
any	O	O
opensource	O	O
library	O	O
which	O	O
can	O	O
do	O	O
this	O	O
for	O	O
Kinect	O	B-Device
2.0	O	B-Version
.	O	O

If	O	O
not	O	O
is	O	O
there	O	O
a	O	O
way	O	O
I	O	O
can	O	O
refactor	O	O
the	O	O
current	O	O
open	O	O
source	O	O
codes	O	O
to	O	O
make	O	O
it	O	O
for	O	O
2.0	O	B-Version
.	O	O

If	O	O
I	O	O
am	O	O
refactoring	O	O
the	O	O
code	O	O
for	O	O
2.0	O	B-Version
then	O	O
is	O	O
there	O	O
anything	O	O
else	O	O
I	O	O
have	O	O
to	O	O
modify	O	O
other	O	O
than	O	O
,	O	O
changing	O	O
the	O	O
resolution	O	O
of	O	O
the	O	O
camera	O	B-Device
outputs	O	O
?	O	O

Is	O	O
there	O	O
a	O	O
way	O	O
I	O	O
can	O	O
compensate	O	O
for	O	O
extra	O	O
noisy	O	O
result	O	O
given	O	O
by	O	O
Kinect	O	B-Device
2.0	O	B-Version
other	O	O
than	O	O
increasing	O	O
the	O	O
smoothing	O	O
in	O	O
bilateral	O	O
filtering	O	O
.	O	O

Is	O	O
there	O	O
a	O	O
way	O	O
I	O	O
can	O	O
handle	O	O
the	O	O
extra	O	O
distorted	O	O
results	O	O
given	O	O
by	O	O
Kinect	O	B-Device
2.0	O	B-Version
?	O	O

I	O	O
looking	O	O
to	O	O
use	O	O
libfreenect2	O	B-Library
.	O	O

Thanks	O	O
:)	O	O

Using	O	O
mechanize	O	B-Library
,	O	O
how	O	O
can	O	O
I	O	O
wait	O	O
for	O	O
some	O	O
time	O	O
after	O	O
page	O	O
load	O	O
(	O	O
some	O	O
websites	O	O
have	O	O
a	O	O
timer	O	O
before	O	O
links	O	O
appear	O	O
,	O	O
like	O	O
in	O	O
download	O	O
pages	O	O
)	O	O
,	O	O
and	O	O
after	O	O
the	O	O
links	O	O
have	O	O
been	O	O
loaded	O	O
,	O	O
click	O	O
on	O	O
a	O	O
specific	O	O
link	O	O
?	O	O

Since	O	O
it	O	O
's	O	O
an	O	O
anchor	O	B-HTML_XML_Tag
tag	O	O
and	O	O
not	O	O
a	O	O
submit	O	O
button	O	B-User_Interface_Element
,	O	O
will	O	O
browser.submit()	O	B-Function
work	O	O
(	O	O
I	O	O
got	O	O
errors	O	O
while	O	O
doing	O	O
that	O	O
)	O	O
?	O	O

Mechanize	O	B-Library
does	O	O
not	O	O
offer	O	O
javascript	O	B-Language
functionality	O	O
,	O	O
so	O	O
you	O	O
will	O	O
not	O	O
see	O	O
dynamic	O	O
content	O	O
(	O	O
like	O	O
a	O	O
timer	O	O
that	O	O
turns	O	O
into	O	O
a	O	O
link	O	O
)	O	O
.	O	O

As	O	O
far	O	O
as	O	O
clicking	O	O
on	O	O
a	O	O
link	O	O
,	O	O
you	O	O
have	O	O
to	O	O
find	O	O
the	O	O
element	O	O
,	O	O
and	O	O
then	O	O
you	O	O
can	O	O
call	O	O
click_link	O	B-Function
on	O	O
it	O	O
.	O	O

See	O	O
the	O	O
Finding	B-Code_Block	O
Links	I-Code_Block	O
section	O	O
of	O	O
this	O	O
site	O	O
.	O	O

If	O	O
you	O	O
are	O	O
looking	O	O
for	O	O
something	O	O
to	O	O
handle	O	O
such	O	O
sites	O	O
,	O	O
a	O	O
good	O	O
option	O	O
is	O	O
PhantomJS	O	B-Application
.	O	O

It	O	O
uses	O	O
nodejs	O	B-Application
,	O	O
but	O	O
runs	O	O
on	O	O
the	O	O
webkit	O	B-Application
engine	O	I-Application
,	O	O
allowing	O	O
you	O	O
parse	O	O
dynamic	O	O
content	O	O
.	O	O

If	O	O
you	O	O
have	O	O
your	O	O
heart	O	O
set	O	O
on	O	O
python	O	B-Language
,	O	O
using	O	O
Selenium	O	B-Library
to	O	O
programatically	O	O
drive	O	O
a	O	O
real	O	O
browser	O	B-Application
may	O	O
be	O	O
your	O	O
best	O	O
bet	O	O
.	O	O

If	O	O
it	O	O
's	O	O
an	O	O
anchor	O	B-HTML_XML_Tag
tag	O	O
,	O	O
then	O	O
just	O	O
GET/POST	O	B-Function
whatever	O	O
it	O	O
is	O	O
.	O	O

The	O	O
timer	O	O
between	O	O
links	O	O
appearing	O	O
is	O	O
generally	O	O
done	O	O
in	O	O
javascript	O	B-Language
-	O	O
some	O	O
sites	O	O
you	O	O
are	O	O
attempting	O	O
to	O	O
scrape	O	O
may	O	O
not	O	O
be	O	O
usable	O	O
without	O	O
javascript	O	B-Language
,	O	O
or	O	O
requires	O	O
a	O	O
token	O	O
generated	O	O
in	O	O
javascript	O	B-Language
with	O	O
clientside	O	B-Application
math	O	O
.	O	O

Depending	O	O
on	O	O
the	O	O
site	O	O
,	O	O
you	O	O
can	O	O
either	O	O
extract	O	O
the	O	O
wait	O	O
time	O	O
in	O	O
msec/sec	O	O
and	O	O
time.sleep()	O	B-Function
for	O	O
that	O	O
long	O	O
,	O	O
or	O	O
you	O	O
'll	O	O
have	O	O
to	O	O
use	O	O
something	O	O
that	O	O
can	O	O
execute	O	O
javascript	O	B-Language

Given	O	O
adjacency	O	O
relation	O	O
like	O	O

How	O	O
do	O	O
I	O	O
construct	O	O
a	O	O
graph	O	B-Data_Structure
of	O	O
it	O	O
.	O	O

I	O	O
want	O	O
a	O	O
easier	O	O
implementation	O	O
which	O	O
can	O	O
be	O	O
understood	O	O
by	O	O
a	O	O
beginner	O	O
.	O	O

I	O	O
know	O	O
about	O	O
self	O	O
referential	O	O
structures	O	O
.	O	O

Please	O	O
help	O	O

Use	O	O
proper	O	O
abstraction	O	O
level	O	O
.	O	O

You	O	O
want	O	O
to	O	O
represent	O	O
each	O	O
node	O	O
as	O	O
an	O	O
int	O	B-Data_Type
with	O	O
a	O	O
set	O	B-Data_Structure
of	O	O
neightbours	O	O
?	O	O

Why	O	O
do	O	O
n't	O	O
you	O	O
use	O	O
Adjacency	O	O
Matrix	O	B-Data_Structure
,	O	O
it	O	O
's	O	O
pretty	O	O
simple	O	O
and	O	O
easy	O	O
.	O	O

Adjacency	O	O
matrices	O	B-Data_Structure
are	O	O
matrices	O	B-Data_Structure
which	O	O
define	O	O
relations	O	O
between	O	O
the	O	O
vertices	O	O
of	O	O
a	O	O
graph	O	B-Data_Structure
.	O	O

See	O	O
in	O	O
the	O	O
example	O	O
above	O	O
,	O	O
you	O	O
have	O	O
an	O	O
edge	O	O
going	O	O
from	O	O
vertex	O	B-Variable
1	B-Code_Block	B-Value
to	O	O
2	B-Code_Block	O
,	O	B-Value
so	O	O
there	O	O
is	O	O
a	O	O
1	B-Code_Block	B-Value
at	O	O
the	O	O
index	O	O
[	B-Code_Block	B-Value
1	I-Code_Block	I-Value
]	I-Code_Block	I-Value
[	B-Code_Block	B-Value
2	I-Code_Block	I-Value
]	I-Code_Block	I-Value
of	O	O
adjacency	O	O
matrix	O	B-Data_Structure
,	O	O
similar	O	O
is	O	O
the	O	O
case	O	O
with	O	O
[	B-Code_Block	B-Value
1	I-Code_Block	I-Value
]	I-Code_Block	I-Value
[	B-Code_Block	B-Value
3	I-Code_Block	I-Value
]	I-Code_Block	I-Value
and	O	O
so	O	O
on	O	O
.	O	O

And	O	O
you	O	O
do	O	O
n't	O	O
have	O	O
any	O	O
edge	O	O
going	O	O
from	O	O
1	B-Code_Block	B-Value
to	O	O
5	B-Code_Block	B-Value
,	O	O
so	O	O
there	O	O
is	O	O
a	O	O
0	B-Code_Block	B-Value
at	O	O
index	O	O
[	B-Code_Block	B-Value
1	I-Code_Block	I-Value
]	I-Code_Block	I-Value
[	B-Code_Block	B-Value
5	I-Code_Block	I-Value
]	I-Code_Block	I-Value
,	O	O
and	O	O
so	O	O
on	O	O
.	O	O

You	O	O
can	O	O
also	O	O
use	O	O
Adjacency	O	O
List	O	B-Data_Structure
,	O	O
now	O	O
go	O	O
ahead	O	O
and	O	O
google	O	O
it	O	O
to	O	O
have	O	O
some	O	O
understanding	O	O
of	O	O
how	O	O
to	O	O
use	O	O
Adjacency	O	O
Matrices	O	B-Data_Structure
and	O	O
Adjacency	O	O
Lists	O	B-Data_Structure
,	O	O
and	O	O
come	O	O
back	O	O
with	O	O
some	O	O
real	O	O
problem	O	O
then	O	O
.	O	O

EDIT	O	O

I	O	O
see	O	O
,	O	O
you	O	O
do	O	O
n't	O	O
have	O	O
any	O	O
understanding	O	O
of	O	O
how	O	O
to	O	O
implement	O	O
a	O	O
graph	O	B-Data_Structure
,	O	O
let	O	O
me	O	O
write	O	O
some	O	O
examples	O	O
for	O	O
you	O	O
using	O	O
Adjacency	O	O
Matrix	O	B-Data_Structure
.	O	O

I	O	O
'm	O	O
assuming	O	O
that	O	O
you	O	O
know	O	O
how	O	O
to	O	O
allocate	O	O
a	O	O
2D	O	O
array	O	B-Data_Structure
in	O	O
c++	O	B-Language
.	O	O

Now	O	O
,	O	O
if	O	O
you	O	O
want	O	O
to	O	O
create	O	O
an	O	O
adjacency	O	O
matrix	O	B-Data_Structure
for	O	O
a	O	O
graph	O	B-Data_Structure
containing	O	O
n	B-Code_Block	B-Variable
vertices	O	O
,	O	O
simply	O	O
create	O	O
a	O	O
2D	O	O
array	O	B-Data_Structure
of	O	O
size	O	O
n	B-Code_Block	B-Variable
x	I-Code_Block	O
n	I-Code_Block	B-Variable
and	O	O
initialize	O	O
all	O	O
of	O	O
the	O	O
elements	O	O
in	O	O
it	O	O
with	O	O
0	B-Code_Block	B-Value
.	O	O

There	O	O
you	O	O
go	O	O
,	O	O
call	O	O
this	O	O
function	O	O
,	O	O
and	O	O
you	O	O
've	O	O
created	O	O
yourself	O	O
an	O	O
Adjacency	O	O
Matrix	O	B-Data_Structure
.	O	O

Now	O	O
,	O	O
you	O	O
can	O	O
do	O	O
whatever	O	O
you	O	O
want	O	O
to	O	O
do	O	O
with	O	O
your	O	O
graph	O	B-Variable
(	O	O
For	O	O
now	O	O
,	O	O
it	O	O
does	O	O
n't	O	O
have	O	O
any	O	O
edges	O	O
)	O	O
.	O	O

To	O	O
have	O	O
edges	O	O
in	O	O
it	O	O
,	O	O
simply	O	O
place	O	O
1	B-Code_Block	B-Value
wherever	O	O
you	O	O
want	O	O
to	O	O
put	O	O
an	O	O
edge	O	O
.	O	O

Now	O	O
,	O	O
simply	O	O
call	O	O
this	O	O
function	O	O
,	O	O
and	O	O
add	O	O
some	O	O
edges	O	O
to	O	O
your	O	O
graph	O	B-Variable
.	O	O

So	O	O
i	O	O
'm	O	O
gonna	O	O
put	O	O
some	O	O
edges	O	O
and	O	O
create	O	O
the	O	O
above	O	O
shown	O	O
graph	O	B-Variable
in	O	O
it	O	O
.	O	O

Now	O	O
,	O	O
you	O	O
can	O	O
do	O	O
whatever	O	O
you	O	O
want	O	O
with	O	O
your	O	O
graph	O	B-Variable
,	O	O
like	O	O
should	O	O
we	O	O
calculate	O	O
how	O	O
many	O	O
outgoing	O	O
edges	O	O
vertex	B-Code_Block	B-Variable
1	I-Code_Block	B-Value
has	O	O
?	O	O

For	O	O
this	O	O
,	O	O
you	O	O
can	O	O
simply	O	O
loop	O	O
through	O	O
the	O	O
row	O	B-Data_Structure
1	O	B-Value

At	O	O
the	O	O
end	O	O
,	O	O
you	O	O
should	O	O
de-allocate	O	O
the	O	O
allocated	O	O
memory	O	O
for	O	O
adjacency	O	O
graph	O	B-Variable
.	O	O

So	O	O
,	O	O
i	O	O
think	O	O
by	O	O
now	O	O
,	O	O
you	O	O
'd	O	O
have	O	O
much	O	O
better	O	O
understanding	O	O
.	O	O

I	O	O
've	O	O
implemented	O	O
the	O	O
graph	O	B-Data_Structure
with	O	O
using	O	O
just	O	O
the	O	O
functions	O	O
,	O	O
and	O	O
passing	O	O
adjacency	O	O
matrix	O	B-Data_Structure
to	O	O
them	O	O
(	O	O
my	O	O
bad	O	O
)	O	O
,	O	O
I	O	O
strongly	O	O
recommend	O	O
to	O	O
implement	O	O
the	O	O
Graph	O	B-Data_Structure
in	O	O
a	O	O
class	O	O
,	O	O
which	O	O
handles	O	O
all	O	O
of	O	O
the	O	O
Graph	O	B-Data_Structure
stuff	O	O
itself	O	O
,	O	O
and	O	O
you	O	O
do	O	O
n't	O	O
have	O	O
to	O	O
pass	O	O
adjacency	O	O
matrix	O	B-Data_Structure
to	O	O
it	O	O
,	O	O
you	O	O
should	O	O
n't	O	O
even	O	O
have	O	O
to	O	O
know	O	O
whether	O	O
the	O	O
Graph	O	B-Class
class	O	O
is	O	O
implemented	O	O
using	O	O
Adjacency	O	O
Matrix	O	B-Data_Structure
or	O	O
some	O	O
other	O	O
method	O	O
(	O	O
of	O	O
course	O	O
when	O	O
using	O	O
the	O	O
class	O	O
,	O	O
not	O	O
implementing	O	O
it	O	O
)	O	O

You	O	O
class	O	O
should	O	O
be	O	O
like	O	O
this	O	O
:	O	O

Now	O	O
,	O	O
go	O	O
ahead	O	O
and	O	O
implement	O	O
this	O	O
class	O	O
and	O	O
add	O	O
whatever	O	O
functions	O	O
you	O	O
want	O	O
in	O	O
there	O	O
.	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
create	O	O
a	O	O
simple	O	O
example	O	O
Native	O	B-Class
addon	O	I-Class
for	O	O
Electron	O	B-Library
.	O	O

However	O	O
,	O	O
keep	O	O
running	O	O
into	O	O
this	O	O
version	O	O
miss	O	O
match	O	O
issue	O	O
.	O	O

I	O	O
have	O	O
.nvmrc	O	B-File_Type
files	O	O
for	O	O
both	O	O
my	O	O
electron	O	B-Library
project	O	O
and	O	O
the	O	O
addon	O	O
project	O	O
(	O	O
using	O	O
node	O	B-Library
7.4.0	O	B-Version
)	O	O
.	O	O

Electron	O	B-Library
1.6.7	O	B-Version

Node	O	B-Library
7.4.0	O	B-Version

Nvm	O	B-Application
0.33.2	O	B-Version

NPM	O	B-Application
4.0.5	O	B-Version

The	O	O
Error	O	O

Tried	O	O
solutions	O	O

1	O	O
.	O	O
Tried	O	O
using	O	O
./node_modules/.bin/electron	O	B-Code_Block
-rebuild	O	I-Code_Block

2	O	O
.	O	O
Tried	O	O
rebuilding	O	O
my	O	O
addon	O	O
nvm	O	B-Application
use	O	O
7.4.0	O	B-Version
npm	O	B-Application
rebuild	O	O

Still	O	O
get	O	O
the	O	O
error	O	O
.	O	O

Update	O	O
:	O	O
found	O	O
this	O	O
post	O	O
,	O	O
but	O	O
solution	O	O
did	O	O
n't	O	O
work	O	O
for	O	O
me	O	O
either	O	O
.	O	O

Beginner	O	O
's	O	O
Question	O	O
:	O	O
2	O	O
tables	O	B-Data_Structure
on	O	O
my	O	O
db	O	O
:	O	O
Products	O	B-Variable
,	O	O
Categories	O	B-Variable
.	O	O

I	O	O
created	O	O
a	O	O
View	O	O
of	O	O
Products	O	B-Variable
.	O	O

And	O	O
I	O	O
have	O	O
a	O	O
Sidebar	O	B-Class
Menu	O	I-Class
as	O	O
a	O	O
Partial	O	B-Class
View	O	I-Class
.	O	O

I	O	O
want	O	O
to	O	O
list	O	O
my	O	O
categories	O	B-Variable
in	O	O
_SidebarMenu	O	B-Class
dynamically	O	O
.	O	O

So	O	O
I	O	O
tried	O	O
this	O	O
in	O	O
_SidebarMenu	O	B-Class
:	O	O

But	O	O
I	O	O
got	O	O
a	O	O
Server	O	B-Error_Name
Error	O	I-Error_Name
:	O	O

The	O	O
model	O	O
item	O	O
passed	O	O
into	O	O
the	O	O
dictionary	O	B-Data_Structure
is	O	O
of	O	O
type	O	O
'	O	O
System.Collections.Generic.List	O	B-Class
`1	O	O
[	O	O
ProjectName.MVCWebUI.Models.Products	O	B-Class
]	O	O
'	O	O
,	O	O
but	O	O
this	O	O
dictionary	O	B-Data_Structure
requires	O	O
a	O	O
model	O	O
item	O	O
of	O	O
type	O	O
'	O	O
ProjectName.MVCWebUI.Areas.Admin.Models.AdminMenuContent	O	B-Class
'	O	O
.	O	O

How	O	O
can	O	O
I	O	O
list	O	O
a	O	O
different	O	O
Model	O	O
rather	O	O
than	O	O
a	O	O
Model	O	O
in	O	O
a	O	O
rendering	O	O
View	O	O
?	O	O

I	O	O
would	O	O
recommend	O	O
using	O	O
a	O	O
child	O	O
action	O	O
,	O	O
since	O	O
it	O	O
's	O	O
virtually	O	O
impossible	O	O
to	O	O
ensure	O	O
that	O	O
the	O	O
right	O	O
model	O	O
will	O	O
be	O	O
passed	O	O
to	O	O
the	O	O
partial	O	O
in	O	O
every	O	O
single	O	O
view	O	O
otherwise	O	O
.	O	O

Basically	O	O
,	O	O
in	O	O
the	O	O
controller	O	O
of	O	O
your	O	O
choice	O	O
,	O	O
add	O	O
an	O	O
action	O	O
like	O	O
:	O	O

Then	O	O
,	O	O
in	O	O
your	O	O
layout	O	O
,	O	O
add	O	O
the	O	O
following	O	O
where	O	O
you	O	O
want	O	O
this	O	O
menu	O	B-User_Interface_Element
to	O	O
appear	O	O
:	O	O

Where	O	O
"	O	O
Foo	O	O
"	O	O
is	O	O
the	O	O
name	O	O
of	O	O
the	O	O
controller	O	O
you	O	O
put	O	O
this	O	O
action	O	O
in	O	O
.	O	O

Assuming	O	O
you	O	O
have	O	O
a	O	O
ViewModel	O	B-Class
like	O	O
:	O	O

Main	O	O
view	O	O
would	O	O
have	O	O
the	O	O
:	O	O

Partial	O	O
would	O	O
have	O	O
:	O	O

So	O	O
from	O	O
your	O	O
main	O	O
view	O	O
you	O	O
could	O	O
render	O	O
the	O	O
partial	O	O
and	O	O
passing	O	O
the	O	O
correct	O	O
list	O	B-Data_Structure
like	O	O
:	O	O

I	O	O
have	O	O
a	O	O
header	O	B-File_Name
file	O	O
:	O	O

But	O	O
I	O	O
do	O	O
n't	O	O
know	O	O
why	O	O
I	O	O
ca	O	O
n't	O	O
return	O	O
value	O	O
to	O	O
IntList	O	B-Class
object	O	O
in	O	O
there	O	O
:	O	O

I	O	O
want	O	O
to	O	O
return	O	O
value	O	O
of	O	O
A	B-Code_Block	B-Variable
whose	O	O
type	O	O
is	O	O
IntList	B-Code_Block	B-Class
but	O	O
I	O	O
meet	O	O
an	O	O
error	O	O
on	O	O
"_BLOCK_TYPE_IS_VALID(pHead->nBlockUse)	B-Code_Block	B-Error_Name
in	O	O
visual	O	B-Application
studio	O	I-Application
2010	O	B-Version
.	O	O

How	O	O
can	O	O
I	O	O
repair	O	O
it	O	O
?	O	O

I	O	O
have	O	O
some	O	O
Ruby	O	B-Language
code	O	O
to	O	O
subscribe	O	O
to	O	O
PubNub	O	B-Library
and	O	O
relay	O	O
what	O	O
is	O	O
read	O	O
from	O	O
a	O	O
channel	O	O
to	O	O
Fluentd	O	B-Application
.	O	O

I	O	O
am	O	O
periodically	O	O
seeing	O	O
some	O	O
duplicate	O	O
messages	O	O
arrive	O	O
in	O	O
Fluentd	O	B-Application
.	O	O

I	O	O
suspect	O	O
there	O	O
is	O	O
a	O	O
problem	O	O
using	O	O
the	O	O
infinite	O	O
loop+sleep	O	B-Function
in	O	O
the	O	O
code	O	O
below	O	O
.	O	O

What	O	O
is	O	O
the	O	O
more	O	O
correct	O	O
way	O	O
to	O	O
achieve	O	O
this	O	O
?	O	O

Many	O	O
thanks	O	O
.	O	O

I	O	O
have	O	O
a	O	O
weird	O	O
problem	O	O
that	O	O
I	O	O
'm	O	O
not	O	O
able	O	O
to	O	O
solve	O	O
.	O	O

It	O	O
should	O	O
seems	O	O
the	O	O
same	O	O
as	O	O
some	O	O
other	O	O
problem	O	O
I	O	O
have	O	O
read	O	O
about	O	O
the	O	O
relation	O	O
between	O	O
and	O	O
,	O	O
but	O	O
this	O	O
is	O	O
another	O	O
thing	O	O
.	O	O

LEt	O	O
me	O	O
explain	O	O
all	O	O
this	O	O
:	O	O

First	O	O
,	O	O
I	O	O
've	O	O
been	O	O
working	O	O
with	O	O
this	O	O
code	O	O
.	O	O

This	O	O
works	O	O
as	O	O
it	O	O
should	O	O
:	O	O

This	O	O
shows	O	O
the	O	O
div	O	B-HTML_XML_Tag
content	O	O
as	O	O
it	O	O
was	O	O
expected	O	O
over	O	O
the	O	O
canvas	O	B-User_Interface_Element
,	O	O
both	O	O
attached	O	O
to	O	O
the	O	O
0	O	B-Value
,	O	I-Value
0	O	I-Value
.	O	O

Now	O	O
,	O	O
instead	O	O
,	O	O
I	O	O
need	O	O
to	O	O
show	O	O
the	O	O
game	O	B-User_Interface_Element
centered	O	O
in	O	O
the	O	O
webpage	O	B-User_Interface_Element
,	O	O
so	O	O
,	O	O
i	O	O
thought	O	O
in	O	O
this	O	O
.	O	O

This	O	O
is	O	O
not	O	O
working	O	O
,	O	O
the	O	O
div	O	B-HTML_XML_Tag
that	O	O
previously	O	O
was	O	O
over	O	O
the	O	O
canvas	O	B-User_Interface_Element
now	O	O
is	O	O
right	O	O
behind	O	O
..	O	O
.	O	O
¿why	O	O
?	O	O

I	O	O
tried	O	O
with	O	O
inherit	O	O
positioning	O	O
too	O	O
,	O	O
the	O	O
result	O	O
is	O	O
the	O	O
same	O	O
.	O	O

I	O	O
do	O	O
n't	O	O
know	O	O
how	O	O
to	O	O
attack	O	O
this	O	O
problem	O	O
and	O	O
I	O	O
would	O	O
be	O	O
very	O	O
grateful	O	O
with	O	O
any	O	O
help	O	O
you	O	O
could	O	O
give	O	O
me	O	O
.	O	O

If	O	O
you	O	O
want	O	O
to	O	O
center	O	O
the	O	O
container	O	O
div	O	B-HTML_XML_Tag
in	O	O
a	O	O
web	O	B-User_Interface_Element
page	O	I-User_Interface_Element
horizontally	O	O
,	O	O
just	O	O
provide	O	O
a	O	O
width	O	B-Variable
to	O	O
the	O	O
container	O	O
element	O	O
and	O	O
use	O	O
margin	B-Code_Block	B-Code_Block
:	I-Code_Block	I-Code_Block
auto	I-Code_Block	I-Code_Block
;	I-Code_Block	I-Code_Block
that	O	O
's	O	O
all	O	O
you	O	O
need	O	O
,	O	O
if	O	O
you	O	O
want	O	O
to	O	O
horizontally	O	O
as	O	O
well	O	O
as	O	O
vertically	O	O
centered	O	O
you	O	O
need	O	O
to	O	O
use	O	O
position	B-Code_Block	B-Code_Block
:	I-Code_Block	I-Code_Block
absolute	I-Code_Block	I-Code_Block
;	I-Code_Block	I-Code_Block

And	O	O
still	O	O
if	O	O
you	O	O
are	O	O
confused	O	O
why	O	O
the	O	O
div	O	B-HTML_XML_Tag
went	O	O
behind	O	O
,	O	O
I	O	O
've	O	O
no	O	O
idea	O	O
why	O	O
it	O	O
went	O	O
behind	O	O
and	O	O
how	O	O
,	O	O
but	O	O
you	O	O
could	O	O
use	O	O
z-index	B-Code_Block	B-Variable
to	O	O
re-arrange	O	O
the	O	O
stack	O	O
level	O	O
of	O	O
the	O	O
element	O	O

i	O	O
need	O	O
to	O	O
open	O	O
a	O	O
serial	O	O
port	O	B-Device
send	O	O
command	O	O
00	O	B-Value
00	O	I-Value
F0	O	I-Value
00	O	I-Value
00	O	I-Value
and	O	O
then	O	O
receive	O	O
the	O	O
data	O	O
from	O	O
the	O	O
port	O	B-Device
if	O	O
he	O	O
command	O	O
received	O	O
is	O	O
F1	O	B-Value
and	O	O
data	O	O
received	O	O
is	O	O
F1	O	B-Value
D6	O	I-Value
i	O	O
need	O	O
to	O	O
open	O	O
a	O	O
file	O	O
and	O	O
write	O	O
the	O	O
data	O	O
.	O	O

and	O	O
then	O	O
again	O	O
send	O	O
the	O	O
command	O	O
F1	O	B-Value
and	O	O
if	O	O
command	O	O
received	O	O
is	O	O
F2	O	B-Value
i	O	O
need	O	O
to	O	O
close	O	O
the	O	O
file	O	O
.	O	O

You	O	O
can	O	O
use	O	O
the	O	O
SerialPort	O	B-Class
Class	O	O
in	O	O
.NET	O	B-Library
to	O	O
accomplish	O	O
this	O	O
.	O	O

Use	O	O
Read(...)	B-Code_Block	B-Function
and	O	O
Write(...)	B-Code_Block	B-Function
methods	O	O
to	O	O
accomplish	O	O
your	O	O
task	O	O
.	O	O

Firstly	O	O
,	O	O
you	O	O
add	O	O
serialPort1	O	B-Class
tools	O	O
in	O	O
your	O	O
form	O	B-User_Interface_Element
and	O	O
after	O	O
using	O	O

that	O	O
codes	O	O
to	O	O
open	O	O
your	O	O
port	O	B-Device
.	O	O

After	O	O
that	O	O
you	O	O
need	O	O
Write()	O	B-Function
and	O	O
Read()	O	B-Function
method	O	O
in	O	O
serialPort1	O	B-Class
.	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
pass	O	O
this	O	O
array	O	B-Data_Structure
by	O	O
reference	O	O
but	O	O
my	O	O
code	O	O
does	O	O
n't	O	O
seem	O	O
to	O	O
be	O	O
able	O	O
to	O	O
pick	O	O
up	O	O
the	O	O
function	O	O
.	O	O

Help	O	O
?	O	O

You	O	O
almost	O	O
got	O	O
the	O	O
right	O	O
syntax	O	O
,	O	O
but	O	O
you	O	O
need	O	O
the	O	O
array	O	B-Data_Structure
's	O	O
size	O	O
,	O	O
which	O	O
you	O	O
could	O	O
specify	O	O
explicitly	O	O
if	O	O
you	O	O
only	O	O
need	O	O
to	O	O
support	O	O
one	O	O
size	O	O
:	O	O

or	O	O
use	O	O
a	O	O
function	O	O
template	O	O
to	O	O
deduce	O	O
it	O	O
if	O	O
you	O	O
need	O	O
functions	O	O
for	O	O
different	O	O
sizes	O	O
:	O	O

Note	O	O
that	O	O
there	O	O
are	O	O
more	O	O
idiomatic	O	O
solutions	O	O
in	O	O
C++	O	B-Language
.	O	O

One	O	O
is	O	O
to	O	O
pass	O	O
begin	O	O
and	O	O
one-past-the-end	O	O
iterators	O	O
(	O	O
plain	O	O
pointers	O	B-Data_Type
will	O	O
do	O	O
)	O	O
specifying	O	O
the	O	O
range	O	O
.	O	O

Others	O	O
are	O	O
to	O	O
use	O	O
std::array	B-Code_Block	B-Class
for	O	O
fixed	O	O
size	O	O
arrays	O	B-Data_Structure
and	O	O
std::vector	B-Code_Block	B-Class
for	O	O
dynamically	O	O
sized	O	O
ones	O	O
.	O	O

Why	O	O
are	O	O
2	O	O
concurrent	O	O
calls	O	O
to	O	O
apache2	O	B-Application
not	O	O
processed	O	O
in	O	O
parallel	O	O
?	O	O

Open	O	O
2	O	O
tabs	O	B-User_Interface_Element
into	O	O
chrome	O	B-Application
,	O	O
and	O	O
go	O	O
to	O	O
script	O	O
.	O	O

(	O	O
same	O	O
time	O	O
)	O	O

Result	O	O
from	O	O
TAB	O	B-User_Interface_Element
1	O	I-User_Interface_Element

Result	O	O
from	O	O
TAB	O	B-User_Interface_Element
2	O	I-User_Interface_Element

How	O	O
do	O	O
I	O	O
prevent	O	O
this	O	O
from	O	O
happening	O	O
?	O	O

Your	O	O
questions	O	O
hinted	O	O
to	O	O
the	O	O
right	O	O
answer	O	O
.	O	O

session.auto_start	O	B-Code_Block
=	O	I-Code_Block
1	O	I-Code_Block
was	O	O
activated	O	O
in	O	O
php.ini	O	B-File_Name
The	O	O
solution	O	O
is	O	O
to	O	O
either	O	O
start	O	O
script	O	O
with	O	O
:	O	O
session_write_close()	O	B-Function
;	O	O

or	O	O
session.auto_start	O	B-Code_Block
=	O	I-Code_Block
0	O	I-Code_Block
;	O	O
into	O	O
php.ini	O	B-File_Name
.	O	O

Thank	O	O
you	O	O
for	O	O
the	O	O
help	O	O
.	O	O

When	O	O
you	O	O
use	O	O
Chrome	O	B-Application
and	O	O
request	O	O
the	O	O
same	O	O
resource	O	O
in	O	O
multiple	O	O
tabs	O	B-User_Interface_Element
,	O	O
it	O	O
will	O	O
wait	O	O
for	O	O
the	O	O
resource	O	O
to	O	O
finish	O	O
downloading	O	O
in	O	O
one	O	O
.	O	O

The	O	O
reason	O	O
is	O	O
that	O	O
if	O	O
the	O	O
headers	O	O
allow	O	O
,	O	O
the	O	O
second	O	O
tab	O	B-User_Interface_Element
will	O	O
load	O	O
from	O	O
cache	O	O
,	O	O
rather	O	O
than	O	O
reloading	O	O
it	O	O
from	O	O
the	O	O
server	O	B-Application
.	O	O

This	O	O
has	O	O
nothing	O	O
to	O	O
do	O	O
with	O	O
your	O	O
server	O	B-Application
configuration	O	O
,	O	O
but	O	O
more	O	O
to	O	O
do	O	O
with	O	O
your	O	O
flawed	O	O
test	O	O
method	O	O
.	O	O

Fire	O	O
off	O	O
a	O	O
couple	O	O
wget	B-Code_Block	B-Code_Block
calls	O	O
from	O	O
the	O	O
command	O	B-Application
line	O	I-Application
,	O	O
and	O	O
this	O	O
will	O	O
likely	O	O
work	O	O
as	O	O
expected	O	O
.	O	O

You	O	O
can	O	O
also	O	O
verify	O	O
that	O	O
this	O	O
is	O	O
happening	O	O
by	O	O
using	O	O
a	O	O
debugging	O	O
proxy	O	O
,	O	O
such	O	O
as	O	O
Fiddler	O	B-Application
,	O	O
or	O	O
packet	O	O
sniffing	O	O
software	O	O
,	O	O
such	O	O
as	O	O
Wireshark	O	B-Application
.	O	O

What	O	O
are	O	O
your	O	O
apache	O	B-Application
settings	O	O
?	O	O

It	O	O
's	O	O
possible	O	O
you	O	O
have	O	O
the	O	O
config	O	O
set	O	O
to	O	O
only	O	O
run	O	O
1	O	O
server	O	B-Application
instead	O	O
of	O	O
multiple	O	O
servers	O	B-Application
.	O	O

So	O	O
if	O	O
it	O	O
were	O	O
set	O	O
that	O	O
way	O	O
then	O	O
it	O	O
would	O	O
be	O	O
impossible	O	O
to	O	O
run	O	O
concurrently	O	O
.	O	O

I	O	O
have	O	O
to	O	O
create	O	O
an	O	O
extension	O	O
to	O	O
filter	O	O
the	O	O
news	O	B-Class
.	O	O

So	O	O
I	O	O
build	O	O
an	O	O
extension	O	O
with	O	O
news	O	B-Class
model	O	O
.	O	O

My	O	O
model	O	O
looks	O	O
like	O	O

I	O	O
have	O	O
to	O	O
list	O	O
all	O	O
news	O	B-Class
from	O	O
my	O	O
extension	O	O
.	O	O

So	O	O
I	O	O
called	O	O
the	O	O

From	O	O
my	O	O
controller.But	O	O
it	O	O
returns	O	O
an	O	O
empty	O	O
object.So	O	O
I	O	O
write	O	O
a	O	O
custom	O	O
function	O	O
FilterNews()	B-Code_Block	B-Function
here	O	O
is	O	O
my	O	O
code	O	O

There	O	O
is	O	O
a	O	O
news	O	B-Class
with	O	O
uid	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
1.But	I-Code_Block	I-Code_Block
it	O	O
returns	O	O
empty	O	O
.	O	O

How	O	O
can	O	O
I	O	O
access	O	O
news	O	B-Class
?	O	O

I	O	O
included	O	O
the	O	O
following	O	O
function	O	O
in	O	O
my	O	O
repository	O	O

Always	O	O
forgetting	O	O
the	O	O
same	O	O
:	O	O
Do	O	O
you	O	O
"	O	O
return	O	B-Code_Block
$query->execute();"	O	I-Code_Block
?	O	O

;-)	O	O

Another	O	O
solution	O	O
:	O	O
Add	O	O
table	O	B-Data_Structure
mapping	O	O
to	O	O
your	O	O
model	O	O
see	O	O
this	O	O
extension	O	O
:	O	O
https://github.com/Schweriner/tgm_lazynews/blob/master/ext_typoscript_setup.txt	O	O

I	O	O
created	O	O
a	O	O
program	O	O
that	O	O
automatically	O	O
deletes	O	O
the	O	O
element	O	O
I	O	O
have	O	O
specified	O	O
in	O	O
Lst2	O	B-Variable
which	O	O
is	O	O
element	O	O
3	O	O
.	O	O

Now	O	O
,	O	O
I	O	O
want	O	O
to	O	O
manually	O	O
pick	O	O
what	O	O
element	O	O
is	O	O
to	O	O
be	O	O
deleted	O	O
in	O	O
the	O	O
list	O	B-Data_Structure
that	O	O
I	O	O
will	O	O
input	O	O
.	O	O

Passing	O	O
in	O	O
an	O	O
index	O	O
when	O	O
you	O	O
call	O	O
the	O	O
del	B-Code_Block	B-Function
function	O	O
will	O	O
work	O	O
:	O	O

Or	O	O
,	O	O
if	O	O
you	O	O
want	O	O
to	O	O
get	O	O
the	O	O
index	O	O
from	O	O
user	O	O
input	O	O
you	O	O
can	O	O
read	O	O
from	O	O
STDIN	O	B-Code_Block
like	O	O
this	O	O
:	O	O

Is	O	O
there	O	O
a	O	O
way	O	O
to	O	O
copy	O	O
the	O	O
text	O	O
of	O	O
the	O	O
selected	O	O
subitem	O	O
from	O	O
a	O	O
ListView	O	B-Class
in	O	O
.NET	O	B-Library
Winforms	O	I-Library
?	O	I-Library

Unless	O	O
I	O	O
'm	O	O
really	O	O
missing	O	O
something	O	O
fundamental	O	O
,	O	O
you	O	O
ca	O	O
n't	O	O
select	O	O
a	O	O
subitem	O	O
.	O	O

You	O	O
can	O	O
select	O	O
the	O	O
subitem	O	O
in	O	O
the	O	O
first	O	O
column	O	B-Data_Structure
or	O	O
you	O	O
can	O	O
set	O	O
the	O	O
FullRowSelect	O	B-Variable
property	O	O
to	O	O
True	O	O
.	O	O

Neither	O	O
helps	O	O
you	O	O
to	O	O
determine	O	O
what	O	O
subitem	O	O
the	O	O
user	O	O
might	O	O
be	O	O
interested	O	O
in	O	O
,	O	O
there	O	O
's	O	O
no	O	O
way	O	O
to	O	O
guess	O	O
what	O	O
to	O	O
copy	O	O
to	O	O
the	O	O
clipboard	O	B-Application
.	O	O

Use	O	O
DataGridView	O	B-Class
to	O	O
work	O	O
around	O	O
that	O	O
.	O	O

Each	O	O
item	O	O
inside	O	O
of	O	O
a	O	O
ListView	B-Code_Block	B-Class
control	O	O
is	O	O
represented	O	O
by	O	O
a	O	O
ListViewItem	B-Code_Block	B-Class
.	O	O

The	O	O
ListViewItem	B-Code_Block	B-Class
has	O	O
a	O	O
property	O	O
called	O	O
SubItems	B-Code_Block	B-Variable
which	O	O
starts	O	O
from	O	O
the	O	O
very	O	O
first	O	O
column	O	B-Data_Structure
of	O	O
data	O	O
in	O	O
the	O	O
ListView	B-Code_Block	B-Class
control	O	O
.	O	O

To	O	O
copy	O	O
data	O	O
from	O	O
a	O	O
column	O	B-Data_Structure
,	O	O
get	O	O
the	O	O
selected	O	O
ListViewItem	B-Code_Block	B-Class
and	O	O
reference	O	O
the	O	O
Text	B-Code_Block	B-Variable
property	O	O
available	O	O
from	O	O
the	O	O
SubItems	B-Code_Block	B-Variable
property	O	O
.	O	O

For	O	O
example	O	O
,	O	O

I	O	O
've	O	O
run	O	O
into	O	O
a	O	O
problem	O	O
running	O	O
an	O	O
own	O	O
tool	O	O
(	O	O
.NET	O	B-Library
3.5	O	B-Version
Client	O	O
Profile	O	O
)	O	O
on	O	O
Windows	O	B-Operating_System
Server	O	I-Operating_System
2012	O	B-Version
R2	O	I-Version
.	O	O

The	O	O
tool	O	O
is	O	O
using	O	O
the	O	O
singleton	O	B-Class
Settings	O	O
object	O	O
to	O	O
store	O	O
program	O	O
settings	O	O
.	O	O

The	O	O
user	O	O
defined	O	O
tool	O	O
to	O	O
store	O	O
the	O	O
configuration	O	O
file	O	O
is	O	O
set	O	O
to	O	O
SettingsSingleFileGenerator	B-Code_Block	B-Class
-	O	O
which	O	O
I	O	O
guess	O	O
does	O	O
not	O	O
mean	O	O
anything	O	O
and	O	O
just	O	O
points	O	O
to	O	O
the	O	O
GUI	O	O
based	O	O
settings	O	O
editor	O	B-Application
?	O	O
!	O	O

When	O	O
running	O	O
on	O	O
any	O	O
Windows	O	B-Operating_System
7	O	B-Version
machine	O	O
as	O	O
well	O	O
as	O	O
running	O	O
on	O	O
Windows	O	B-Operating_System
Server	O	I-Operating_System
2012	O	B-Version
R2	O	I-Version
in	O	O
elevated	O	O
mode	O	O
,	O	O
storing	O	O
the	O	O
settings	O	O
several	O	O
times	O	O
is	O	O
no	O	O
problem	O	O
.	O	O

If	O	O
I	O	O
run	O	O
the	O	O
tool	O	O
on	O	O
Windows	O	B-Operating_System
Server	O	I-Operating_System
2012	O	B-Version
R2	O	I-Version
non-elevated	O	O
,	O	O
the	O	O
first	O	O
call	O	O
of	O	O
Settings.Default.Save()	B-Code_Block	B-Function
is	O	O
working	O	O
as	O	O
expected	O	O
.	O	O

With	O	O
every	O	O
following	O	O
call	O	O
,	O	O
I	O	O
get	O	O
an	O	O
error	O	O
message	O	O
"	O	O
The	O	O
process	O	O
cannot	O	O
access	O	O
the	O	O
file	O	O
..	O	O
.	O	O
because	O	O
it	O	O
is	O	O
being	O	O
used	O	O
by	O	O
another	O	O
process	O	O
.	O	O
"	O	O
.	O	O

Using	O	O
Sysinternals	O	B-Application
Process	O	I-Application
Explorer	O	I-Application
(	O	O
running	O	O
elevated	O	O
)	O	O
,	O	O
I	O	O
checked	O	O
whether	O	O
the	O	O
file	O	O
is	O	O
actually	O	O
being	O	O
used	O	O
by	O	O
another	O	O
process	O	O
,	O	O
but	O	O
only	O	O
my	O	O
tool	O	O
appears	O	O
.	O	O

I	O	O
could	O	O
not	O	O
find	O	O
any	O	O
remarks	O	O
in	O	O
the	O	O
documentation	O	O
that	O	O
it	O	O
could	O	O
be	O	O
required	O	O
to	O	O
somehow	O	O
close	O	O
the	O	O
file	O	O
after	O	O
saving	O	O
.	O	O

Despite	O	O
there	O	O
's	O	O
no	O	O
such	O	O
function	O	O
as	O	O
closed	O	O
given	O	O
by	O	O
the	O	O
Settings.Default	B-Code_Block	B-Function
Instance	O	O
.	O	O

There	O	O
's	O	O
also	O	O
no	O	O
hint	O	O
that	O	O
an	O	O
Exception	O	B-Class
could	O	O
be	O	O
generated	O	O
when	O	O
calling	O	O
Save().	B-Code_Block	B-Function
.	O	O

Might	O	O
be	O	O
a	O	O
setting	O	O
in	O	O
Windows	O	B-Operating_System
Server	O	I-Operating_System
2012	O	B-Version
R2	O	I-Version
?	O	O

A	O	O
security	O	O
feature	O	O
?	O	O

Bug	O	O
in	O	O
.NET	O	B-Library
?	O	O

I	O	O
would	O	O
appreciate	O	O
any	O	O
hint	O	O
to	O	O
solve	O	O
that	O	O
problem	O	O
..	O	O
.	O	O

Is	O	O
there	O	O
a	O	O
problem	O	O
with	O	O
EditText	O	B-User_Interface_Element
?	O	O

I	O	O
updated	O	O
my	O	O
Android	O	B-Application
Studio	O	I-Application
to	O	O
2.2.3	O	B-Version
then	O	O
suddenly	O	O
all	O	O
my	O	O
EditText	O	B-User_Interface_Element
do	O	O
n't	O	O
show	O	O
the	O	O
Soft	O	B-User_Interface_Element
Keyboard	O	I-User_Interface_Element
.	O	O

I	O	O
tried	O	O
every	O	O
possible	O	O
means	O	O
that	O	O
I	O	O
know	O	O
,	O	O
to	O	O
force	O	O
it	O	O
to	O	O
show	O	O
but	O	O
none	O	O
worked	O	O
.	O	O

I	O	O
was	O	O
thinking	O	O
that	O	O
it	O	O
has	O	O
to	O	O
do	O	O
something	O	O
with	O	O
the	O	O
setShowSoftInputOnFocus()	O	B-Function
method	O	O
that	O	O
is	O	O
only	O	O
available	O	O
from	O	O
SDK	O	B-Application
21	O	B-Version
up	O	O
.	O	O

Unfortunately	O	O
I	O	O
'm	O	O
working	O	O
on	O	O
STBs	O	B-Device
running	O	O
on	O	O
SDK	O	B-Application
17	O	B-Version
and	O	O
19	O	B-Version
.	O	O

Thanks	O	O
in	O	O
advance	O	O
.	O	O

If	O	O
you	O	O
have	O	O
pass	O	O
set	O	O
the	O	O
value	O	O
of	O	O
setShowSoftInputOnFocus(false)	B-Code_Block	B-Variable
then	O	O
it	O	O
will	O	O
always	O	O
hide	O	O
the	O	O
keyboard	O	B-User_Interface_Element
for	O	O
EditText	O	B-User_Interface_Element
even	O	O
it	O	O
is	O	O
having	O	O
focus	O	O
.	O	O

If	O	O
you	O	O
want	O	O
to	O	O
show	O	O
keyboard	O	B-User_Interface_Element
on	O	O
EditText	O	B-User_Interface_Element
focus	O	O
set	O	O
its	O	O
value	O	O
true	O	O
instead	O	O
of	O	O
false	O	O

You	O	O
can	O	O
find	O	O
it	O	O
's	O	O
details	O	O
from	O	O
here	O	O
.	O	O

I	O	O
solved	O	O
it	O	O
.	O	O

Someone	O	O
messed	O	O
up	O	O
with	O	O
the	O	O
settings	O	O
of	O	O
my	O	O
test	O	O
device	O	O
.	O	O

Thank	O	O
you	O	O

I	O	O
am	O	O
trying	O	O
to	O	O
display	O	O
images	O	B-User_Interface_Element
from	O	O
a	O	O
database	O	O
in	O	O
a	O	O
GridView	B-Code_Block	B-Class
within	O	O
a	O	O
Fragment	B-Code_Block	B-Class
.	O	O

For	O	O
some	O	O
reason	O	O
,	O	O
the	O	O
CursorAdapter	O	B-Class
's	O	O
newView()	B-Code_Block	B-Function
or	O	O
bindView()	B-Code_Block	B-Function
method	O	O
is	O	O
not	O	O
getting	O	O
called	O	O
.	O	O

Here	O	O
is	O	O
my	O	O
code	O	O
:	O	O

GridImageAdapter.java	O	B-File_Name
class	O	O
:	O	O

and	O	O
from	O	O
fragment	O	B-Class
:	O	O

So	O	O
,	O	O
my	O	O
question	O	O
is	O	O
,	O	O
why	O	O
is	O	O
the	O	O
CursorAdapter	B-Code_Block	B-Class
not	O	O
calling	O	O
the	O	O
newView()/bindView()	B-Code_Block	B-Function
methods	O	O
?	O	O

I	O	O
ca	O	O
n't	O	O
even	O	O
get	O	O
the	O	O
logcat	O	B-Application
output	O	O
on	O	O
those	O	O
methods	O	O
,	O	O
so	O	O
I	O	O
know	O	O
it	O	O
's	O	O
not	O	O
reaching	O	O
there	O	O
.	O	O

Thank	O	O
you	O	O
.	O	O

Well	O	O
,	O	O
I	O	O
know	O	O
it	O	O
's	O	O
late	O	O
-I	O	O
had	O	O
n't	O	O
found	O	O
this	O	O
post	O	O
-	O	O
,	O	O
but	O	O
I	O	O
had	O	O
the	O	O
same	O	O
problem	O	O
(	O	O
though	O	O
I	O	O
was	O	O
just	O	O
trying	O	O
to	O	O
do	O	O
a	O	O
To-Do	O	O
List	O	O
)	O	O
.	O	O

I	O	O
've	O	O
spent	O	O
the	O	O
last	O	O
three	O	O
hour	O	O
trying	O	O
to	O	O
figure	O	O
out	O	O
what	O	O
the	O	O
problem	O	O
was	O	O
and	O	O
looking	O	O
for	O	O
possible	O	O
solutions	O	O
somewhere	O	O
on	O	O
the	O	O
web	O	O
.	O	O

Maybe	O	O
it	O	O
could	O	O
help	O	O
somebody	O	O
else	O	O
anyway	O	O
,	O	O
so	O	O
I	O	O
'll	O	O
put	O	O
it	O	O
.	O	O

In	O	O
my	O	O
case	O	O
what	O	O
worked	O	O
was	O	O
this	O	O
:	O	O

This	O	O
is	O	O
part	O	O
of	O	O
my	O	O
Main	O	O
Activity	O	B-Class
with	O	O
the	O	O
onCreate	O	B-Function
method	O	O
:	O	O

..	O	O
.	O	O
and	O	O
moving	O	O
down	O	O
to	O	O
the	O	O
LoaderCallbacks	O	B-Class
methods	O	O
:	O	O

So	O	O
,	O	O
in	O	O
my	O	O
case	O	O
,	O	O
the	O	O
reason	O	O
it	O	O
was	O	O
n't	O	O
working	O	O
was	O	O
because	O	O
the	O	O
adapter	O	B-Class
was	O	O
n't	O	O
being	O	O
set	O	O
to	O	O
the	O	O
ListView	O	B-Class
,	O	O
so	O	O
my	O	O
list	O	B-Data_Structure
did	O	O
n't	O	O
show	O	O
anything	O	O
and	O	O
the	O	O
methods	O	O
newView()	O	B-Function
and	O	O
bindView()	O	B-Function
never	O	O
got	O	O
called	O	O
before	O	O
.	O	O

Maybe	O	O
it	O	O
could	O	O
work	O	O
by	O	O
setting	O	O
the	O	O
adapter	O	B-Class
to	O	O
the	O	O
GridView	O	B-Class
on	O	O
your	O	O
onLoadFinished	O	B-Function
,	O	O
once	O	O
the	O	O
cursor	O	O
load	O	O
has	O	O
been	O	O
made	O	O
.	O	O

Do	O	O
n't	O	O
know	O	O
if	O	O
it	O	O
will	O	O
solve	O	O
your	O	O
problem	O	O
or	O	O
anyone	O	O
else	O	O
's	O	O
but	O	O
it	O	O
worked	O	O
for	O	O
me	O	O
.	O	O

Hope	O	O
it	O	O
helps	O	O
.	O	O

I'v	O	O
got	O	O
this	O	O
problem	O	O
too	O	O
,	O	O
I	O	O
solved	O	O
it	O	O
in	O	O
this	O	O
way	O	O
,	O	O
you	O	O
can	O	O
try	O	O
it	O	O
.	O	O

In	O	O
your	O	O
fragment	O	B-Class
,	O	O
change	O	O
this	O	O
line	O	O
:	O	O

to	O	O

The	O	O
former	O	O
does	O	O
n't	O	O
work	O	O
because	O	O
it	O	O
make	O	O
the	O	O
Activity	O	B-Class
as	O	O
context	O	B-Class
,	O	O
so	O	O
the	O	O
Fragment	O	B-Class
wo	O	O
n't	O	O
be	O	O
notified	O	O
.	O	O

I	O	O
have	O	O
a	O	O
sliding	O	O
tabs	O	B-User_Interface_Element
app	O	O
,	O	O
with	O	O
recyclerview	O	B-Class
in	O	O
every	O	O
tab	O	B-User_Interface_Element
.	O	O

I	O	O
am	O	O
testing	O	O
the	O	O
app	O	O
using	O	O
Android	O	B-Operating_System
Espresso	O	B-Version
.	O	O

I	O	O
want	O	O
to	O	O
click	O	O
on	O	O
one	O	O
of	O	O
the	O	O
recyclerview	O	B-Class
item	O	O
.	O	O

when	O	O
i	O	O
do	O	O
this	O	O
:	O	O

I	O	O
get	O	O
this	O	O
exception	O	B-Class
:	O	O

any	O	O
Ideas	O	O
?	O	O

Uhm	O	O
,	O	O
i	O	O
guess	O	O
you	O	O
are	O	O
using	O	O
the	O	O
same	O	O
xml	O	B-File_Type
file	O	O
for	O	O
every	O	O
RecyclerView	B-Code_Block	B-Class
in	O	O
your	O	O
tabs	O	B-User_Interface_Element
.	O	O

Hence	O	O
all	O	O
your	O	O
RecyclerView	B-Code_Block	B-Class
's	I-Code_Block	O
have	O	O
the	O	O
same	O	O
ID	O	B-Variable
.	O	O

So	O	O
you	O	O
ca	O	O
n't	O	O
refer	O	O
to	O	O
your	O	O
RecyclerView	B-Code_Block	B-Class
's	I-Code_Block	O
using	O	O
your	O	O
ID	O	B-Variable
's	O	O
.	O	O

So	O	O
either	O	O
give	O	O
every	O	O
RecyclerView	B-Code_Block	B-Class
it	O	O
's	O	O
own	O	O
ID	O	B-Variable
or	O	O
try	O	O
searching	O	O
with	O	O
any	O	O
other	O	O
ViewMatcher	B-Code_Block	B-Class
like	O	O
withText	B-Code_Block	B-Function
(	I-Code_Block	I-Function
"	B-Code_Block	B-Function
any	I-Code_Block	I-Function
specific	I-Code_Block	I-Function
text	I-Code_Block	I-Function
in	I-Code_Block	I-Function
your	I-Code_Block	I-Function
recyclers	I-Code_Block	I-Function
"	I-Code_Block	I-Function
)	I-Code_Block	I-Function
.	O	O

Here	O	O
you	O	O
may	O	O
find	O	O
methods	O	O
that	O	O
will	O	O
work	O	O
in	O	O
your	O	O
case	O	O
.	O	O

I	O	O
'd	O	O
suggest	O	O
to	O	O
create	O	O
the	O	O
ViewHolder	B-Code_Block	B-Class
matcher	O	O
to	O	O
match	O	O
specific	O	O
item	O	O
inside	O	O
RecyclerView	B-Code_Block	B-Class
.	O	O

Then	O	O
you	O	O
'll	O	O
be	O	O
able	O	O
to	O	O
use	O	O
PositionableRecyclerViewAction	B-Code_Block	B-Class
like	O	O
scrollToHolder(...)	B-Code_Block	B-Function
for	O	O
example	O	O
:	O	O

And	O	O
this	O	O
is	O	O
how	O	O
I	O	O
use	O	O
it	O	O
:	O	O

I	O	O
have	O	O
a	O	O
job	O	O
and	O	O
a	O	O
trigger	O	O
,	O	O
and	O	O
every	O	O
x	O	B-Variable
time	O	O
the	O	O
trigger	O	O
triggers	O	O
the	O	O
job	O	O
.	O	O

Sometimes	O	O
,	O	O
I	O	O
have	O	O
another	O	O
scenario	O	O
that	O	O
I	O	O
want	O	O
to	O	O
trigger	O	O
the	O	O
job	O	O
,	O	O
for	O	O
example	O	O
,	O	O
when	O	O
a	O	O
list	O	B-Data_Structure
count	O	O
is	O	O
300	O	B-Value
.	O	O

When	O	O
the	O	O
list	O	B-Data_Structure
count	O	O
gets	O	O
to	O	O
300	O	B-Value
I	O	O
trigger	O	O
the	O	O
job	O	O
with	O	O
this	O	O
code	O	O
:	O	O

When	O	O
I	O	O
do	O	O
that	O	O
,	O	O
I	O	O
want	O	O
to	O	O
stop	O	O
the	O	O
regular	O	O
time	O	O
trigger	O	O
,	O	O
and	O	O
restart	O	O
it	O	O
again	O	O
after	O	O
the	O	O
job	O	O
is	O	O
done	O	O
(	O	O
for	O	O
example	O	O
if	O	O
the	O	O
regular	O	O
trigger	O	O
is	O	O
3	O	O
minutes	O	O
,	O	O
and	O	O
1	O	O
minute	O	O
passed	O	O
but	O	O
the	O	O
job	O	O
was	O	O
triggered	O	O
by	O	O
the	O	O
list	O	B-Data_Structure
count	O	O
getting	O	O
over	O	O
300	O	B-Value
,	O	O
I	O	O
want	O	O
the	O	O
regular	O	O
time	O	O
trigger	O	O
to	O	O
stop	O	O
and	O	O
start	O	O
again	O	O
from	O	O
0	O	B-Value
after	O	O
the	O	O
job	O	O
is	O	O
done	O	O
)	O	O
.	O	O

Thank	O	O
You	O	O

The	O	O
second	O	O
Job	O	O
needs	O	O
to	O	O
know	O	O
the	O	O
JobKey	O	B-Class
for	O	O
the	O	O
First	O	O
Job	O	O
,	O	O
in	O	O
order	O	O
to	O	O
Pause	O	O
it	O	O

You	O	O
can	O	O
find	O	O
the	O	O
JobKeys	O	B-Class
with	O	O
this	O	O
code	O	O
.	O	O

Note	O	O
,	O	O
you	O	O
'll	O	O
want	O	O
to	O	O
store	O	O
the	O	O
JobKey	O	B-Class
(	O	O
of	O	O
hte	O	O
first	O	O
job	O	O
)	O	O
in	O	O
a	O	O
.config	O	B-File_Type
file	O	O
and	O	O
not	O	O
hard	O	O
code	O	O
it	O	O
in	O	O
.	O	O

The	O	O
"	O	O
ShowJobs	O	B-Function
"	O	O
code	O	O
is	O	O
to	O	O
help	O	O
you	O	O
locate	O	O
the	O	O
value	O	O
.	O	O

I	O	O
would	O	O
have	O	O
code	O	O
in	O	O
the	O	O
second	O	O
job	O	O
look	O	O
like	O	O
this	O	O
:	O	O

This	O	O
is	O	O
pseudo	O	O
code	O	O
...	O	O
to	O	O
give	O	O
you	O	O
the	O	O
idea	O	O
......	O	O
not	O	O

Something	O	O
like	O	O
this	O	O
:	O	O

As	O	O
far	O	O
as	O	O
the	O	O
"	O	O
300	O	B-Value
"	O	O
,	O	O
research	O	O
PersistJobDataAfterExecution	O	B-Class
(	O	O
PersistJobDataAfterExecutionAttribute	O	B-Class
)	O	O
to	O	O
see	O	O
how	O	O
to	O	O
persist	O	O
a	O	O
value	O	O
that	O	O
you	O	O
can	O	O
read	O	O
later	O	O
.	O	O

In	O	O
my	O	O
linux	O	B-Operating_System
/dev/	O	B-File_Name
folder	O	O
,	O	O
I	O	O
have	O	O
mtd0	O	B-File_Name
-	O	O
mtd7	O	B-File_Name
and	O	O
mtdblock0	O	B-File_Name
-	O	O
mtdblock7	O	B-File_Name
.	O	O

I	O	O
want	O	O
to	O	O
have	O	O
more	O	O
mtd	O	B-Device
devices	O	O
here	O	O
.	O	O

What	O	O
should	O	O
I	O	O
change	O	O
when	O	O
building	O	O
the	O	O
kernel	O	B-Application
?	O	O

Thanks	O	O

You	O	O
need	O	O
more	O	O
mtd	O	B-Device
partitions	O	O
.	O	O

Upon	O	O
boot	O	O
,	O	O
the	O	O
kernel	O	B-Application
creates	O	O
one	O	O
mtd	O	B-Device
and	O	O
one	O	O
mtdblock	O	B-Device
under	O	O
/dev	O	B-File_Name
for	O	O
each	O	O
.	O	O

The	O	O
MTD	O	B-Device
partitions	O	O
are	O	O
usually	O	O
written	O	O
in	O	O
the	O	O
board	O	O
's	O	O
BSP	O	B-File_Type
file	O	O
.	O	O

You	O	O
can	O	O
override	O	O
that	O	O
by	O	O
passing	O	O
the	O	O
kernel	O	B-Application
a	O	O
mtdparts	B-Code_Block	B-Code_Block
option	O	O
.	O	O

More	O	O
info	O	O
here	O	O
.	O	O

Also	O	O
mtdinfo	O	B-File_Name
and	O	O
/proc/mtd	B-Code_Block	B-File_Name
describe	O	O
the	O	O
start-end	O	O
of	O	O
each	O	O
partition	O	O
and	O	O
its	O	O
name	O	O
.	O	O

EDIT	O	O
:	O	O

An	O	O
example	O	O
of	O	O
the	O	O
mtd	O	B-Class
partition	O	I-Class
table	O	B-Data_Structure
is	O	O
in	O	O
arch/arm/mach-omap2/board	B-Code_Block	B-File_Name
-omap3beagle.c	I-Code_Block	I-File_Name
for	O	O
the	O	O
beagleboard	O	B-Device
here	O	O
.	O	O

}	O	O
;	O	O

There	O	O
are	O	O
5	O	O
partitions	O	O
mtd0	O	B-File_Name
to	O	O
mtd4	O	B-File_Name
with	O	O
sizes	O	O
hard-coded	O	O
in	O	O
the	O	O
Kernel	O	B-Application
image	O	O
.	O	O

I	O	O
am	O	O
running	O	O
some	O	O
image	O	O
processing	O	O
operations	O	O
on	O	O
GPU	O	B-Device
and	O	O
I	O	O
need	O	O
the	O	O
histogram	O	B-User_Interface_Element
of	O	O
the	O	O
output	O	O
.	O	O

I	O	O
have	O	O
written	O	O
and	O	O
tested	O	O
the	O	O
processing	O	O
kernels	O	O
.	O	O

Also	O	O
I	O	O
have	O	O
tested	O	O
the	O	O
histogram	O	B-Function
kernel	O	O
for	O	O
samples	O	O
of	O	O
the	O	O
output	O	O
pictures	O	B-User_Interface_Element
separately	O	O
.	O	O

They	O	O
both	O	O
work	O	O
fine	O	O
but	O	O
when	O	O
I	O	O
put	O	O
all	O	O
of	O	O
them	O	O
in	O	O
one	O	O
loop	O	O
I	O	O
get	O	O
nothing	O	O
.	O	O

This	O	O
is	O	O
my	O	O
histogram	O	B-Function
kernel	O	O
:	O	O

It	O	O
is	O	O
updating	O	O
histogram	O	B-Function
vectors	O	B-Data_Structure
for	O	O
red	O	B-Value
,	O	O
green	O	B-Value
,	O	O
and	O	O
blue	O	B-Value
.	O	O

(	O	O
'	O	O
l	O	B-Variable
'	O	O
is	O	O
the	O	O
length	O	O
of	O	O
the	O	O
vectors	O	B-Data_Structure
)	O	O

When	O	O
I	O	O
comment	O	O
out	O	O
atomicAdds	O	B-Function
it	O	O
again	O	O
produces	O	O
the	O	O
output	O	O
but	O	O
of	O	O
course	O	O
not	O	O
the	O	O
histogram	O	B-User_Interface_Element
.	O	O

Why	O	O
do	O	O
n't	O	O
they	O	O
work	O	O
together	O	O
?	O	O

Edit	O	O
:	O	O

This	O	O
is	O	O
the	O	O
loop	O	O
:	O	O

Then	O	O
I	O	O
copy	O	O
the	O	O
output	O	O
to	O	O
host	O	O
memory	O	O
and	O	O
write	O	O
it	O	O
to	O	O
a	O	O
video	O	B-User_Interface_Element
.	O	O

These	O	O
are	O	O
c	O	B-Language
codes	O	O
that	O	O
only	O	O
call	O	O
their	O	O
kernels	O	O
with	O	O
dimGrid	O	B-Variable
and	O	O
dimBlock	O	B-Variable
that	O	O
are	O	O
given	O	O
as	O	O
inputs	O	O
.	O	O

Also	O	O
:	O	O

I	O	O
changed	O	O
this	O	O
for	O	O
histogram	O	B-Function
because	O	O
it	O	O
worked	O	O
better	O	O
with	O	O
it	O	O
.	O	O

Does	O	O
it	O	O
matter	O	O
?	O	O

Edit2	O	O
:	O	O

I	O	O
am	O	O
using	O	O
-arch	O	B-Code_Block
=	O	I-Code_Block
sm_11	O	I-Code_Block
option	O	O
for	O	O
compilation	O	O
.	O	O

I	O	O
just	O	O
read	O	O
it	O	O
somewhere	O	O
.	O	O

Could	O	O
anyone	O	O
tell	O	O
me	O	O
how	O	O
I	O	O
should	O	O
choose	O	O
it	O	O
?	O	O

perhaps	O	O
you	O	O
should	O	O
try	O	O
to	O	O
compile	O	O
without	O	O
-arch	O	B-Code_Block
=	O	I-Code_Block
sm_11	O	I-Code_Block
flag	O	O
.	O	O

sm	O	B-Device
1.1	O	B-Version
is	O	O
the	O	O
first	O	O
architecture	O	O
which	O	O
supported	O	O
atomic	O	O
operations	O	O
on	O	O
global	O	O
memory	O	O
while	O	O
your	O	O
GPU	O	B-Device
supports	O	O
SM	O	B-Device
2.0	O	B-Version
.	O	O

Hence	O	O
there	O	O
is	O	O
no	O	O
reason	O	O
to	O	O
compile	O	O
for	O	O
SM	O	B-Device
1.1	O	B-Version
unless	O	O
for	O	O
backward	O	O
compatibility	O	O
.	O	O

One	O	O
possible	O	O
issue	O	O
could	O	O
be	O	O
that	O	O
SM	O	B-Device
1.1	O	B-Version
does	O	O
not	O	O
support	O	O
atomic	O	B-Application
operations	O	O
on	O	O
64-bit	O	O
ints	O	B-Data_Type
in	O	O
global	O	O
memory	O	O
.	O	O

So	O	O
I	O	O
would	O	O
suggest	O	O
you	O	O
recompile	O	O
the	O	O
code	O	O
without	O	O
-arch	O	B-Code_Block
option	O	O
,	O	O
or	O	O
use	O	O
-arch	O	B-Code_Block
=	O	I-Code_Block
sm_20	O	I-Code_Block
if	O	O
you	O	O
like	O	O

I	O	O
'm	O	O
using	O	O
The	O	O
last	O	O
version	O	O
of	O	O
Android	O	B-Application
Studio	O	I-Application
(	O	O
1.5	O	B-Version
)	O	O
and	O	O
I	O	O
want	O	O
to	O	O
make	O	O
a	O	O
menu	O	B-User_Interface_Element
using	O	O
Drawer	O	B-Class
Layout	O	I-Class
,	O	O
for	O	O
position	O	O
its	O	O
call	O	O
GravityCompat	O	B-Class
.	O	O

I	O	O
'm	O	O
trying	O	O
to	O	O
use	O	O
this	O	O
components	O	O
and	O	O
modify	O	O
it	O	O
,	O	O
putting	O	O
the	O	O
Drawer	O	B-User_Interface_Element
out	O	O
from	O	O
right	O	O
to	O	O
left	O	O
.	O	O

Here	O	O
is	O	O
my	O	O
code	O	O
.	O	O

The	O	O
XML	O	B-Language

As	O	O
you	O	O
can	O	O
see	O	O
,	O	O
GravityCompat	O	B-Class
do	O	O
n't	O	O
let	O	O
me	O	O
to	O	O
put	O	O
right	O	O
instead	O	O
of	O	O
END	O	B-Variable
or	O	O
START	O	B-Variable
,	O	O
and	O	O
if	O	O
I	O	O
put	O	O
it	O	O
in	O	O
the	O	O
XML	O	B-Language
,	O	O
it	O	O
crash	O	O
.	O	O

with	O	O
the	O	O
next	O	O
error	O	O
:	O	O

First	O	O
of	O	O
all	O	O
replace	O	O
on	O	O
DrawerLayout	O	B-Class
the	O	O
tools:openDrawer	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
"	I-Code_Block	I-Code_Block
start	I-Code_Block	I-Code_Block
"	I-Code_Block	I-Code_Block
with	O	O
tools:openDrawer	B-Code_Block	B-Code_Block
=	I-Code_Block	I-Code_Block
"	I-Code_Block	I-Code_Block
end	I-Code_Block	I-Code_Block
"	I-Code_Block	I-Code_Block
.	O	O

Now	O	O
your	O	O
problem	O	O
is	O	O
on	O	O
the	O	O
toggle	O	O
,	O	O
which	O	O
opens	O	O
the	O	O
left	O	O
drawer	O	B-User_Interface_Element
,	O	O
and	O	O
because	O	O
you	O	O
have	O	O
only	O	O
right	O	O
drawer	O	B-User_Interface_Element
it	O	O
throws	O	O
the	O	O
exception	O	B-Class
.	O	O

You	O	O
can	O	O
add	O	O
your	O	O
own	O	O
button	O	B-User_Interface_Element
on	O	O
the	O	O
actionbar	O	B-User_Interface_Element
(	O	O
on	O	O
the	O	O
right	O	O
side	O	O
)	O	O
to	O	O
open	O	O
the	O	O
drawer	O	B-User_Interface_Element
.	O	O

To	O	O
do	O	O
that	O	O
change	O	O
your	O	O
app_bar.xml	O	B-File_Name
like	O	O
this	O	O

Then	O	O
change	O	O
your	O	O
onCreate	O	B-Function
method	O	O
from	O	O
your	O	O
Activity	O	B-Class
like	O	O
this	O	O

Also	O	O
you	O	O
can	O	O
find	O	O
the	O	O
image	O	B-User_Interface_Element
for	O	O
your	O	O
drawer	O	B-User_Interface_Element
here	O	O
or	O	O
here	O	O
.	O	O

I	O	O
hope	O	O
this	O	O
will	O	O
help	O	O
you	O	O
.	O	O

:)	O	O

use	O	O
a	O	O
custom	O	O
drawerLayout	O	B-Class
just	O	O
like	O	O
this	O	O
:	O	O

Can	O	O
I	O	O
replace	O	O
the	O	O
=	B-Code_Block	B-Code_Block
statement	O	O
with	O	O
the	O	O
LIKE	B-Code_Block	B-Code_Block
one	O	O
for	O	O
the	O	O
integers	O	B-Data_Type
?	O	O

by	O	O
eg	O	O
.	O	O
are	O	O
the	O	O
following	O	O
the	O	O
same	O	O
thing	O	O
:	O	O

I	O	O
'd	O	O
prefer	O	O
to	O	O
use	O	O
LIKE	B-Code_Block	B-Code_Block
instead	O	O
of	O	O
=	B-Code_Block	B-Code_Block
because	O	O
I	O	O
could	O	O
use	O	O
%	B-Code_Block	B-Code_Block
when	O	O
I	O	O
have	O	O
no	O	O
filter	O	O
for	O	O
FOOID.	O	B-Variable
.	O	O

SQL	O	B-Application
Server	O	I-Application
2005	O	B-Version
.	O	O

EDIT	O	O
1	O	O
@Martin	O	B-User_Name

Use	O	O
NULL	O	B-Value
as	O	O
the	O	O
parameter	O	O
value	O	O
instead	O	O
of	O	O
%	O	B-Value
for	O	O
your	O	O
wildcard	O	O
condition	O	O

Use	O	O
a	O	O
CASE	B-Code_Block	B-Code_Block
statement	O	O
to	O	O
convert	O	O
an	O	O
input	O	O
string	O	B-Data_Type
to	O	O
an	O	O
integer	O	B-Data_Type
.	O	O

Convert	O	O
the	O	O
wildcard	O	O
%	B-Code_Block	B-Value
to	O	O
a	O	O
NULL	B-Code_Block	B-Value
.	O	O

This	O	O
will	O	O
give	O	O
better	O	O
performance	O	O
than	O	O
implicitly	O	O
converting	O	O
the	O	O
entire	O	O
int	O	B-Data_Type
column	O	B-Data_Structure
to	O	O
string	O	B-Data_Type
.	O	O

I	O	O
've	O	O
got	O	O
just	O	O
one	O	O
simple	O	O
silly	O	O
question	O	O
:	O	O

What	O	O
's	O	O
the	O	O
best	O	O
way	O	O
to	O	O
implement	O	O
Facebook	O	B-Website
on	O	O
my	O	O
application	O	O
?	O	O

Add	O	O
an	O	O
easy	O	O
UIWebView	O	B-Class
connecting	O	O
to	O	O
the	O	O
Url	O	O
of	O	O
the	O	O
Faceboook	O	B-Website
page	O	O
I	O	O
want	O	O
to	O	O
show	O	O
;	O	O

Implement	O	O
the	O	O
API	O	B-Library
I	O	O
found	O	O
in	O	O
several	O	O
answer	O	O
all	O	O
of	O	O
you	O	O
already	O	O
gave	O	O
in	O	O
this	O	O
forum	O	O
.	O	O

Thank	O	O
you	O	O
for	O	O
your	O	O
help	O	O

Luigi	O	B-User_Name

The	O	O
answer	O	O
is	O	O
"	O	O
it	O	O
depends	O	O
,	O	O
"	O	O
but	O	O
IMHO	O	O
you	O	O
're	O	O
asking	O	O
the	O	O
wrong	O	O
question	O	O
.	O	O

A	O	O
better	O	O
question	O	O
would	O	O
be	O	O
"	O	O
which	O	O
method	O	O
of	O	O
integrating	O	O
with	O	O
FB	O	B-Website
would	O	O
result	O	O
in	O	O
a	O	O
better	O	O
experience	O	O
for	O	O
my	O	O
users	O	O
?	O	O
"	O	O

That	O	O
is	O	O
,	O	O
would	O	O
your	O	O
users	O	O
be	O	O
best	O	O
served	O	O
by	O	O
"	O	O
framing	O	O
"	O	O
the	O	O
standard	O	O
FB	O	B-Website
web	O	O
interface	O	O
in	O	O
a	O	O
UIWebView	O	B-Class
?	O	O

Or	O	O
maybe	O	O
they	O	O
'd	O	O
be	O	O
happier	O	O
with	O	O
just	O	O
a	O	O
small	O	O
piece	O	O
of	O	O
FB	O	B-Website
functionality	O	O
embedded	O	O
in	O	O
your	O	O
app	O	O
,	O	O
like	O	O
the	O	O
"	O	O
upload	O	O
to	O	O
FB	O	B-Website
"	O	O
function	O	O
in	O	O
iMovie	O	B-Application
.	O	O

Once	O	O
you	O	O
decide	O	O
exactly	O	O
what	O	O
you	O	O
want	O	O
to	O	O
do	O	O
,	O	O
how	O	O
to	O	O
do	O	O
it	O	O
tends	O	O
to	O	O
be	O	O
fairly	O	O
obvious	O	O
.	O	O

Which	O	O
way	O	O
to	O	O
go	O	O
depends	O	O
on	O	O
what	O	O
your	O	O
app	O	O
does	O	O
,	O	O
and	O	O
how	O	O
your	O	O
users	O	O
will	O	O
want	O	O
to	O	O
do	O	O
it	O	O
-	O	O
and	O	O
you	O	O
know	O	O
that	O	O
part	O	O
far	O	O
better	O	O
than	O	O
the	O	O
rest	O	O
of	O	O
us	O	O
do	O	O
!	O	O

:-)	O	O

I	O	O
've	O	O
answered	O	O
something	O	O
similar	O	O
here	O	O
:	O	O

ShareKit	O	B-Library
iOS	O	B-Operating_System
-	O	O
different	O	O
content	O	O
for	O	O
different	O	O
platforms	O	O

Basically	O	O
,	O	O
I	O	O
used	O	O
ShareKit	O	B-Library
which	O	O
is	O	O
very	O	O
popular	O	O
and	O	O
indeed	O	O
was	O	O
a	O	O
breeze	O	O
to	O	O
add	O	O
.	O	O

You	O	O
can	O	O
see	O	O
how	O	O
easy	O	O
the	O	O
code	O	O
is	O	O
,	O	O
in	O	O
the	O	O
question	O	O
above	O	O
.	O	O

Cheers	O	O
,	O	O

Oded	O	B-User_Name
.	O	O

I	O	O
really	O	O
need	O	O
help	O	O
!	O	O

Please.	O	O
.	O	O

I	O	O
need	O	O
to	O	O
add	O	O
tooltip	O	B-User_Interface_Element
to	O	O
this	O	O
graph	O	B-Data_Structure
:	O	O
http://jsfiddle.net/dvqFj/1/	O	O

Any	O	O
idea	O	O
how	O	O
I	O	O
can	O	O
do	O	O
it	O	O
?	O	O

Or	O	O
do	O	O
you	O	O
know	O	O
any	O	O
similar	O	O
example	O	O
in	O	O
D3.js	O	B-Library

I	O	O
have	O	O
tried	O	O
the	O	O
following	O	O
without	O	O
no	O	O
sucess	O	O
:	O	O

You	O	O
almost	O	O
had	O	O
it	O	O
!	O	O

The	O	O
mouseover	B-Code_Block	B-Function
functions	O	O
just	O	O
needed	O	O
to	O	O
be	O	O
attached	O	O
to	O	O
your	O	O
path	O	O
elements	O	O
:	O	O

http://jsfiddle.net/dvqFj/5/	O	O

It	O	O
's	O	O
not	O	O
clear	O	O
from	O	O
your	O	O
question	O	O
whether	O	O
this	O	O
is	O	O
an	O	O
option	O	O
for	O	O
you	O	O
,	O	O
but	O	O
one	O	O
possibility	O	O
is	O	O
to	O	O
use	O	O
a	O	O
title	O	O
element	O	O
,	O	O
rather	O	O
than	O	O
implementing	O	O
your	O	O
own	O	O
tooltip	O	B-User_Interface_Element
.	O	O

This	O	O
has	O	O
the	O	O
advantage	O	O
of	O	O
being	O	O
standard	O	O
and	O	O
simple	O	O
,	O	O
at	O	O
the	O	O
expense	O	O
of	O	O
reducing	O	O
possible	O	O
customisation	O	O
.	O	O

http://jsfiddle.net/ezUex/	O	O

