Re: RDD to DataFrame question with JsValue in the mix

2016-07-01 Thread Dood

On 7/1/2016 6:42 AM, Akhil Das wrote:

case class Holder(str: String, js:JsValue)


Hello,

Thanks!

I tried that before posting the question to the list but I keep getting 
an error such as this even after the map() operation to convert 
(String,JsValue) -> Holder and then toDF().


I am simply invoking the following:

val rddDF:DataFrame = rdd.map(x => Holder(x._1,x._2)).toDF
rddDF.registerTempTable("rddf")

rddDF.schema.mkString(",")


And getting the following:

[2016-07-01 11:57:02,720] WARN  .jobserver.JobManagerActor [] 
[akka://JobServer/user/context-supervisor/test] - Exception from job 
d4c9d145-92bf-4c64-8904-91c917bd61d3:
java.lang.UnsupportedOperationException: Schema for type 
play.api.libs.json.JsValue is not supported
at 
org.apache.spark.sql.catalyst.ScalaReflection$class.schemaFor(ScalaReflection.scala:718)
at 
org.apache.spark.sql.catalyst.ScalaReflection$.schemaFor(ScalaReflection.scala:30)
at 
org.apache.spark.sql.catalyst.ScalaReflection$$anonfun$schemaFor$1.apply(ScalaReflection.scala:693)
at 
org.apache.spark.sql.catalyst.ScalaReflection$$anonfun$schemaFor$1.apply(ScalaReflection.scala:691)
at 
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at 
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)

at scala.collection.immutable.List.foreach(List.scala:318)
at 
scala.collection.TraversableLike$class.map(TraversableLike.scala:244)

at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at 
org.apache.spark.sql.catalyst.ScalaReflection$class.schemaFor(ScalaReflection.scala:691)
at 
org.apache.spark.sql.catalyst.ScalaReflection$.schemaFor(ScalaReflection.scala:30)
at 
org.apache.spark.sql.catalyst.ScalaReflection$class.schemaFor(ScalaReflection.scala:630)
at 
org.apache.spark.sql.catalyst.ScalaReflection$.schemaFor(ScalaReflection.scala:30)
at 
org.apache.spark.sql.SQLContext.createDataFrame(SQLContext.scala:414)
at 
org.apache.spark.sql.SQLImplicits.rddToDataFrameHolder(SQLImplicits.scala:94)




-
To unsubscribe e-mail: user-unsubscr...@spark.apache.org



RDD to DataFrame question with JsValue in the mix

2016-06-30 Thread Dood

Hello,

I have an RDD[(String,JsValue)] that I want to convert into a DataFrame 
and then run SQL on. What is the easiest way to get the JSON (in form of 
JsValue) "understood" by the process?


Thanks!

-
To unsubscribe e-mail: user-unsubscr...@spark.apache.org



Re: Silly Question on my part...

2016-05-17 Thread Dood

On 5/16/2016 12:12 PM, Michael Segel wrote:

For one use case.. we were considering using the thrift server as a way to 
allow multiple clients access shared RDDs.

Within the Thrift Context, we create an RDD and expose it as a hive table.

The question  is… where does the RDD exist. On the Thrift service node itself, 
or is that just a reference to the RDD which is contained with contexts on the 
cluster?



You can share RDDs using Apache Ignite - it is a distributed memory 
grid/cache with tons of additional functionality. The advantage is extra 
resilience (you can mirror caches or just partition them), you can query 
the contents of the caches in standard SQL etc. Since the caches persist 
past the existence of the Spark app, you can share them (obviously). You 
also get read/write through to SQL or NoSQL databases on the back end 
for persistence and loading/dumping caches to secondary storage. It is 
written in Java so very easy to use from Scala/Spark apps.


-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Re: Structured Streaming in Spark 2.0 and DStreams

2016-05-16 Thread Dood

On 5/16/2016 9:53 AM, Yuval Itzchakov wrote:


AFAIK, the underlying data represented under the DataSet[T] 
abstraction will be formatted in Tachyon under the hood, but as with 
RDD's if needed they will be spilled to local disk on the worker of 
needed.





There is another option in case of RDDs - the Apache Ignite project - a 
memory grid/distributed cache that supports Spark RDDs. The nice thing 
about Ignite is that everything is done automatically for you, you can 
also duplicate caches for resiliency, load caches from disk, partition 
them etc. and you also get automatic spillover to SQL (and NoSQL) 
capable backends via read/write through capabilities. I think there is 
also effort to support dataframes. Ignite supports standard SQL to query 
the caches too.


On Mon, May 16, 2016, 19:47 Benjamin Kim > wrote:


I have a curiosity question. These forever/unlimited
DataFrames/DataSets will persist and be query capable. I still am
foggy about how this data will be stored. As far as I know, memory
is finite. Will the data be spilled to disk and be retrievable if
the query spans data not in memory? Is Tachyon (Alluxio), HDFS
(Parquet), NoSQL (HBase, Cassandra), RDBMS (PostgreSQL, MySQL),
Object Store (S3, Swift), or any else I can’t think of going to be
the underlying near real-time storage system?

Thanks,
Ben



-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Re: Apache Spark Slack

2016-05-16 Thread Dood

On 5/16/2016 9:52 AM, Xinh Huynh wrote:

I just went to IRC. It looks like the correct channel is #apache-spark.
So, is this an "official" chat room for Spark?



Ah yes, my apologies, it is #apache-spark indeed. Not sure if there is 
an official channel on IRC for spark :-)


-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Re: Apache Spark Slack

2016-05-16 Thread Dood

On 5/16/2016 9:30 AM, Paweł Szulc wrote:


Just realized that people have to be invited to this thing. You see,  
that's why Gitter is just simpler.


I will try to figure it out ASAP



You don't need invitations to IRC and it has been around for decades. 
You can just go to webchat.freenode.net and login into the #spark 
channel (or you can use CLI based clients). In addition, Gitter is owned 
by a private entity, it too requires an account and - what does it give 
you that is advantageous? You wanted real-time chat about Spark - IRC 
has it and the channel has already been around for a while :-)


-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Re: Apache Spark Slack

2016-05-16 Thread Dood

On 5/16/2016 6:40 AM, Paweł Szulc wrote:
I've just created this https://apache-spark.slack.com for ad-hoc 
communications within the comunity.


Everybody's welcome!


Why not just IRC? Slack is yet another place to create an account etc. - 
IRC is much easier. What does Slack give you that's so very special? :-)


-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Re: Tracking / estimating job progress

2016-05-13 Thread Dood

On 5/13/2016 10:39 AM, Anthony May wrote:
It looks like it might only be available via REST, 
http://spark.apache.org/docs/latest/monitoring.html#rest-api


Nice, thanks!



On Fri, 13 May 2016 at 11:24 Dood@ODDO <oddodao...@gmail.com 
<mailto:oddodao...@gmail.com>> wrote:


On 5/13/2016 10:16 AM, Anthony May wrote:
>

http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.SparkStatusTracker
>
> Might be useful

How do you use it? You cannot instantiate the class - is the
constructor
private? Thanks!

>
> On Fri, 13 May 2016 at 11:11 Ted Yu <yuzhih...@gmail.com
<mailto:yuzhih...@gmail.com>
> <mailto:yuzhih...@gmail.com <mailto:yuzhih...@gmail.com>>> wrote:
>
> Have you looked
> at
core/src/main/scala/org/apache/spark/ui/jobs/JobProgressListener.scala
> ?
>
    > Cheers
>
> On Fri, May 13, 2016 at 10:05 AM, Dood@ODDO
<oddodao...@gmail.com <mailto:oddodao...@gmail.com>
> <mailto:oddodao...@gmail.com <mailto:oddodao...@gmail.com>>>
wrote:
>
> I provide a RESTful API interface from scalatra for
launching
> Spark jobs - part of the functionality is tracking these
jobs.
> What API is available to track the progress of a particular
> spark application? How about estimating where in the
total job
> progress the job is?
>
> Thanks!
>
>
 -
> To unsubscribe, e-mail:
user-unsubscr...@spark.apache.org
<mailto:user-unsubscr...@spark.apache.org>
> <mailto:user-unsubscr...@spark.apache.org
<mailto:user-unsubscr...@spark.apache.org>>
> For additional commands, e-mail:
user-h...@spark.apache.org <mailto:user-h...@spark.apache.org>
> <mailto:user-h...@spark.apache.org
<mailto:user-h...@spark.apache.org>>
>
>


-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
<mailto:user-unsubscr...@spark.apache.org>
For additional commands, e-mail: user-h...@spark.apache.org
<mailto:user-h...@spark.apache.org>




-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Re: Tracking / estimating job progress

2016-05-13 Thread Dood

On 5/13/2016 10:16 AM, Anthony May wrote:

http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.SparkStatusTracker

Might be useful


How do you use it? You cannot instantiate the class - is the constructor 
private? Thanks!




On Fri, 13 May 2016 at 11:11 Ted Yu <yuzhih...@gmail.com 
<mailto:yuzhih...@gmail.com>> wrote:


Have you looked
at core/src/main/scala/org/apache/spark/ui/jobs/JobProgressListener.scala
?

Cheers

On Fri, May 13, 2016 at 10:05 AM, Dood@ODDO <oddodao...@gmail.com
<mailto:oddodao...@gmail.com>> wrote:

I provide a RESTful API interface from scalatra for launching
Spark jobs - part of the functionality is tracking these jobs.
What API is available to track the progress of a particular
spark application? How about estimating where in the total job
progress the job is?

Thanks!

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
<mailto:user-unsubscr...@spark.apache.org>
For additional commands, e-mail: user-h...@spark.apache.org
<mailto:user-h...@spark.apache.org>





-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Tracking / estimating job progress

2016-05-13 Thread Dood
I provide a RESTful API interface from scalatra for launching Spark jobs 
- part of the functionality is tracking these jobs. What API is 
available to track the progress of a particular spark application? How 
about estimating where in the total job progress the job is?


Thanks!

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Re: Confused - returning RDDs from functions

2016-05-13 Thread Dood

  
  
On 5/12/2016 10:01 PM, Holden Karau wrote:
This is not the expected behavior, can you maybe post
  the code where you are running into this?
  


Hello, thanks for replying!

Below is the function I took out from the code.

def converter(rdd: RDD[(String, JsValue)], param:String): RDD[(String, Int)] = {
  // I am breaking this down for future readability and ease of optimization
  // as a first attempt at solving this problem, I am not concerned with performance
  // and pretty, more with accuracy ;)
  // r1 will be an RDD containing only the "param" method of selection
  val r1:RDD[(String,JsValue)] = rdd.filter(x => (x._2 \ "field1" \ "field2").as[String].replace("\"","") == param.replace("\"",""))
  // r2 will be an RDD of Lists of fields (A1-Z1) with associated counts
  // remapFields returns a List[(String,Int)]
  val r2:RDD[List[(String,Int)]] = r1.map(x => remapFields(x._2 \ "extra"))
  // r3 will be flattened to enable grouping
  val r3:RDD[(String,Int)] = r2.flatMap(x => x)
  // now we can group by entity
  val r4:RDD[(String,Iterable[(String,Int)])] = r3.groupBy(x => x._1)
  // and produce a mapping of entity -> count pairs
  val r5:RDD[(String,Int)] = r4.map(x => (x._1, x._2.map(y => y._2).sum))
  // return the result
  r5
}

If I call on the above function and collectAsMap on the returned
RDD, I get an empty Map(). If I copy/paste this code into the
caller, I get the properly filled in Map.

I am fairly new to Spark and Scala so excuse any inefficiencies - my
priority was to be able to solve the problem in an obvious and
    correct way and worry about making it pretty later. 

Thanks!

On Thursday, May 12, 2016, Dood@ODDO <oddodao...@gmail.com>
  wrote:
  Hello all,

I have been programming for years but this has me baffled.

I have an RDD[(String,Int)] that I return from a function after
extensive manipulation of an initial RDD of a different type.
When I return this RDD and initiate the .collectAsMap() on it
from the caller, I get an empty Map().

If I copy and paste the code from the function into the caller
(same exact code) and produce the same RDD and call
collectAsMap() on it, I get the Map with all the expected
information in it.

What gives?

Does Spark defy programming principles or am I crazy? ;-)

Thanks!

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

  
  
  
  -- 
  

  
Cell : 425-233-8271
Twitter: https://twitter.com/holdenkarau
  

  
  


  


-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Confused - returning RDDs from functions

2016-05-12 Thread Dood

Hello all,

I have been programming for years but this has me baffled.

I have an RDD[(String,Int)] that I return from a function after 
extensive manipulation of an initial RDD of a different type. When I 
return this RDD and initiate the .collectAsMap() on it from the caller, 
I get an empty Map().


If I copy and paste the code from the function into the caller (same 
exact code) and produce the same RDD and call collectAsMap() on it, I 
get the Map with all the expected information in it.


What gives?

Does Spark defy programming principles or am I crazy? ;-)

Thanks!

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



Re: [jira] [Commented] (IGNITE-2693) withKeepBinary and non-binary marshallers

2016-05-11 Thread Dood

Anyone willing to help me a bit to finish this ticket for 1.6? :-) Thanks!

On 4/12/2016 6:03 AM, Vladimir Ozerov (JIRA) wrote:

 [ 
https://issues.apache.org/jira/browse/IGNITE-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15237114#comment-15237114
 ]

Vladimir Ozerov commented on IGNITE-2693:
-

Hi Oddo,

Any news on the matter?

Vladimir.


withKeepBinary and non-binary marshallers
-

 Key: IGNITE-2693
 URL: https://issues.apache.org/jira/browse/IGNITE-2693
 Project: Ignite
  Issue Type: Bug
  Components: general
Reporter: Sergey Kozlov
Assignee: Oddo
  Labels: newbie
 Fix For: 1.6


Currently the user is able to set {{.withKeepBinary()}} for any used 
marshaller. But it obviously causes ClassCastException for non-binary 
marshallers and should be available only for binary marshaller.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)




Re: IGNITE-2693: question about setting BinaryMarshaller on a cache

2016-03-09 Thread Dood

On 3/9/2016 7:46 PM, Alexey Goncharuk wrote:

Note that withKeepBinary() is just a way to tell a cache not to deserialize
values when doing a get or running an entry processor. The concept of
binary object does not belong solely to caches - you can get an instance of
IgniteBinary interface from Ignite and use binary objects in computations,
for example.

For me there would be more confusion if each cache had a separate
marshaller. What would then happen if you put an instance of BinaryObject
to a cache with JDK marshaller? When marshaller is global, the answer is
simple - BinaryObject is either available or not :)


Alexey, thanks for the taking the time to explain the reasoning!


Re: IGNITE-2693: question about setting BinaryMarshaller on a cache

2016-03-09 Thread Dood

On 3/9/2016 6:43 PM, Alexey Goncharuk wrote:

Hi,

The current version of test is not very clean and it works only because
withKeepBinary() is a noop. The correct version would be to use plain cache
for non-binary-object entry processor and use withKeepBinary for
binary-object entry processor. You can see that EntryProcessor creation is
encapsulated in a separate method testClosure() which is overridden in test
inheritors. The same thing should be done for the cache.


Alexey, thank you for the comment.

On a side note: you do not find it confusing that you can set a 
marshaller on a grid but you get a binary cache from another cache via 
withKeepBinary()?


Thanks!


IGNITE-2693: question about setting BinaryMarshaller on a cache

2016-03-09 Thread Dood

Hello all,

I am working on IGNITE-2693 with Vlad Ozerov's help. I am somewhat of a 
Java newbie so please be gentle ;-)


I am curious about something - after reading the Javadocs and Binary 
Marshaller docs on Ignite's documentation websites, I think that the 
documentation is not very friendly or even somewhat misleading. Or maybe 
it is the design that is puzzling to me :-)


For example, we use withKeepBinary() on a cache instance to get a binary 
cache that utilizes the binary marshaller. But this is not a setting 
that is "settable" on a per cache basis - we do not allow for a 
per-cache method to set a desired marshaller, this seems to be reserved 
for the IgniteConfiguration() interface/implementation(s) 
setMarshaller() method and is a grid-wide setting.


The background to this is that I have "fixed" the withKeepBinary() 
interface to throw an exception if the marshaller used is not binary 
(the ticket explains the reason why we want this). Apparently we 
(silently?) assume a binary marshaller everywhere but in one of the 
unrelated tests in the test suite for some reason an optimized 
marshaller is used and as a result of this (with my new change) these 
tests are failing [1]. I am trying to fix this but in the process I 
realized that you cannot set the marshaller through a 
CacheConfiguration() method (no such thing exists), this has to be done 
at a higher level (the IgniteConfiguration). However, the whole test is 
written to inherit a grid configuration with an optimized marshaller (is 
what it looks like to me)


Am I just horribly confused and missing something very obvious? Thanks!

[1] 
org.apache.ignite.internal.processors.cache.GridCacheOffHeapTieredEvictionAbstractSelfTest 



IGNITE-2693 - could someone take a look and help me with a quick review

2016-03-03 Thread Dood

Hello,

This is my second Ignite ticket and if I understand correctly, it is a 
simple fix - I submitted a patch recently, it is only a few lines. Can 
someone take a look and see if I am on the right track or did I 
completely misunderstand it... :-)


Thanks!


Re: Switching back to review-then-commit process

2016-03-03 Thread Dood

+1 - sounds very reasonable and practical.

On 3/3/2016 5:54 AM, Denis Magda wrote:

Igniters,

I would propose to switch back to review-then-commit process. This 
process has to be followed by both contributors and committers.


There is a reason for this I have in mind. Ignite is a complex 
platform with several big modules. Some of the people may be experts 
in module A while others in module B etc.
If a committer, who is good in module A, makes changes in module B 
merging the changes without a review this can break module's B 
internal functionality that the committer didn't take into account.


My proposal is to introduce a list of maintainers for every Ignite 
module like it's done in Spark [1] and a rule that will require a 
committer to get an approval from a module maintainer before merging 
changes.


Thoughts?

--
Denis

[1] 
https://cwiki.apache.org/confluence/display/SPARK/Committers#Committers-ReviewProcessandMaintainers 








Re: Apache Arrow and Apache Ignite

2016-02-26 Thread Dood

On 2/25/2016 11:06 AM, Konstantin Boudnik wrote:

On Wed, Feb 24, 2016 at 02:02PM, Dood@ODDO wrote:

On 2/24/2016 1:31 PM, Konstantin Boudnik wrote:

On Sat, Feb 20, 2016 at 02:13PM, Dood@ODDO wrote:

That's the million dollar question - I think we should approach the
Arrow people and get a conversation going. We want to be ahead of
the curve, not behind it - Arrow seems to be making quite a stir,
not to mention that it was fast-tracked to mature project status
apparently solely based on the people/companies involved ;-)

I am afraid you misunderstand the point of the 'fast tracking'. To start with,
ASF doesn't case what companies are involved nor there's no such thing as fast
tracking. However, there's 'direct to TLP' track, that allows for a community
that has enough ASF members and other people, with lengthy involvement into
Apache projects, to go directly into TLP. The reason is simple: these people
are well versed in Apache Way and the incubation isn't required for me.

So, please stop using this 'fast-tracked' confusion.
   Cos

P.S. Another point: TLP != 'mature project status'. Please educate yourself
about the Apache incubation, before making statement like this in the future.


I will educate myself. What you need to do is learn to be polite. I
am not sure you can teach that though ;(

If you don't mind elaborating on what particularly was impolite in my email, 
you'll
put me forever into your debts. And teach me a lesson of good manners too.

Cos
I don't know, you just came off as angered by what I said. You took the 
time to supposedly educate me how "fast tracking" is not the same as " 
taking a project directly to TLP" (which I think is obviously the same 
as fast tracking since it skipped the incubating phase). Then you took 
more time to educate me how people/companies are not what Apache looked 
at when fast tracking this project (pardon, taking the route called 
"direct to TLP") but you said that people experienced in the ways of 
Apache are what allowed for this project to be fast tracked (pardon 
again, taken "direct to TLP").


Incidentally, who can join the dev list on the Arrow project at this 
stage? I tried a week ago and was unsuccessful. I was under the 
impression that anyone can join it.


Re: Apache Arrow and Apache Ignite

2016-02-24 Thread Dood

On 2/24/2016 1:31 PM, Konstantin Boudnik wrote:

On Sat, Feb 20, 2016 at 02:13PM, Dood@ODDO wrote:

That's the million dollar question - I think we should approach the
Arrow people and get a conversation going. We want to be ahead of
the curve, not behind it - Arrow seems to be making quite a stir,
not to mention that it was fast-tracked to mature project status
apparently solely based on the people/companies involved ;-)

I am afraid you misunderstand the point of the 'fast tracking'. To start with,
ASF doesn't case what companies are involved nor there's no such thing as fast
tracking. However, there's 'direct to TLP' track, that allows for a community
that has enough ASF members and other people, with lengthy involvement into
Apache projects, to go directly into TLP. The reason is simple: these people
are well versed in Apache Way and the incubation isn't required for me.

So, please stop using this 'fast-tracked' confusion.
   Cos

P.S. Another point: TLP != 'mature project status'. Please educate yourself
about the Apache incubation, before making statement like this in the future.



I will educate myself. What you need to do is learn to be polite. I am 
not sure you can teach that though ;(


Re: Binary mode for Data Structures

2016-02-24 Thread Dood

IGNITE-1144 has been fixed so at least that obstacle is out of the way :-)

On 2/24/2016 9:10 AM, Denis Magda wrote:
The community has already faced with the issue that the binary mode is 
not supported for data structures.

https://issues.apache.org/jira/browse/IGNITE-2339

I've linked this ticket into IGNITE-2701.

--
Denis

On 2/23/2016 4:29 AM, Valentin Kulichenko wrote:
+1 to this change. It sounds like a very important feature for 
collocated

queues, especially after [1] is fixed.

[1] https://issues.apache.org/jira/browse/IGNITE-1144

-Val

On Sat, Feb 20, 2016 at 3:42 AM, Pavel Tupitsyn 
wrote:


No replies, so I've created an issue:
https://issues.apache.org/jira/browse/IGNITE-2701

On Thu, Feb 18, 2016 at 3:06 PM, Pavel Tupitsyn 


wrote:


Igniters,

Currently we don't have binary mode (withKeepBinary) in Data 
Structures

(Queue, AtomicReference).
Are there any plans for implementing this, or may be a workaround?

Lack of binary mode prevents us from implementing IgniteQueue in .NET
(.NET types in most cases can't be deserialized in Java).

AtomicReference is already implemented, and it works because values 
are

wrapped in GridCacheAtomicReferenceValue. So there is inconsistent

behavior

between data structures.

Thoughts?

--
--
Pavel Tupitsyn
GridGain Systems, Inc.
www.gridgain.com




--
--
Pavel Tupitsyn
GridGain Systems, Inc.
www.gridgain.com







Re: IGNITE-1144

2016-02-23 Thread Dood

On 2/23/2016 7:05 PM, Valentin Kulichenko wrote:

I added couple more tests and merged your changes into master. Thanks for
the contribution!


Thanks! What other ticket do you think I could/should tackle?


Re: IGNITE-1144

2016-02-22 Thread Dood

Val,

All the test passed on TC - you can look at the PR at any time. Thanks!

On 2/22/2016 8:13 PM, Valentin Kulichenko wrote:

Hi,

Thanks for the pull request! I will take a look as soon as possible.

-Val

On Mon, Feb 22, 2016 at 9:14 AM, Dood@ODDO <oddodao...@gmail.com> wrote:


Hello all,

I was wondering if anyone can take a look at the PR I submitted for
IGNITE-1144 [1]. It compiles and I think the code is good but the tests I
submitted are failing - specifically, one test: I am using assertThrows()
to make sure that an exception is thrown if affinityRun() is invoked on a
queue that is not collocated. In the tests I basically set up a queue that
has a configuration that invokes setCollocated(false) and then I invoke an
affinityRun() with an "empty" job. For some reason the tests are failing
with an error that the exception wasn't thrown. However, in this case I
actually think that my test is bad and the PR code is good ;-). Can someone
with more Java experience take a quick look?

Thanks!

[1] https://issues.apache.org/jira/browse/IGNITE-1144





IGNITE-1144

2016-02-22 Thread Dood

Hello all,

I was wondering if anyone can take a look at the PR I submitted for 
IGNITE-1144 [1]. It compiles and I think the code is good but the tests 
I submitted are failing - specifically, one test: I am using 
assertThrows() to make sure that an exception is thrown if affinityRun() 
is invoked on a queue that is not collocated. In the tests I basically 
set up a queue that has a configuration that invokes 
setCollocated(false) and then I invoke an affinityRun() with an "empty" 
job. For some reason the tests are failing with an error that the 
exception wasn't thrown. However, in this case I actually think that my 
test is bad and the PR code is good ;-). Can someone with more Java 
experience take a quick look?


Thanks!

[1] https://issues.apache.org/jira/browse/IGNITE-1144


Re: Apache Arrow and Apache Ignite

2016-02-20 Thread Dood
That's the million dollar question - I think we should approach the 
Arrow people and get a conversation going. We want to be ahead of the 
curve, not behind it - Arrow seems to be making quite a stir, not to 
mention that it was fast-tracked to mature project status apparently 
solely based on the people/companies involved ;-)


On 2/20/2016 11:14 AM, Dmitriy Setrakyan wrote:

It sounds to me that it does not store it’s own data, but allows to process
data from somewhere else, right? If yes, will I be able to take Ignite data
with Arrow and convert it to a columnar format for some other processing?

On Sat, Feb 20, 2016 at 2:48 AM, Roman Shtykh 
wrote:


It's a standard (including format and algorithms) to share in-memory data
between several big data platforms.
In my understanding, it is like placing data in in-memory columns in
Parquet and being able to use it in Kudu without serializing/deserializing.

-Roman





Async and sync ops in IgniteQueue and IgniteSet implementations

2016-02-12 Thread Dood

Hello all,

This may be a very dumb question (and feel free to "reprimand" me ;-) 
but I will ask it anyways.


I am working on https://issues.apache.org/jira/browse/IGNITE-1144 and 
one of the comments on the submitted code was that I marked both methods 
I am implemented as @IgniteAsyncSupported but I never actually provided 
an async implementation. All my methods do is call on methods already 
implemented in IgniteCompute.java (after verifying that the methods are 
called on data structures that are collocated) and my assumption was 
that the methods being called are already implemented in async/sync 
versions. Specifically, these methods are affinityRun() and affinityCall().


Furthermore, I noticed the following comment in IgniteQueue.java, for 
example:

""* All queue operations have synchronous and asynchronous counterparts."".

However, after looking at all the implementations of IgniteQueue 
interface in the code base, I could not find any actual implementations 
of asynchronous calls on any methods of queue or set. Am I just missing 
something really basic?


Thanks!


Re: Async and sync ops in IgniteQueue and IgniteSet implementations

2016-02-12 Thread Dood

Val,

My question was also - if all I am doing is calling affinityRun() and 
affinityCall() that is already implemented elsewhere (just making sure 
it is done on a collocated queue/set) - do I need to do anything special 
looking at IgniteComputeImpl.java it looks like affinityRun()/Call() are 
already implemented in async fashion?)?


Thanks!

On 2/12/2016 1:49 PM, Valentin Kulichenko wrote:

Hi,

First of all, the JavaDoc is incorrect, there are no async counterparts for
queue and set operations in the current API.

The question is - do we need them? I think we should have have them for new
affinityRun and affinityCall methods that you're adding, but I'm not sure
about others.

Does anyone has thoughts on this?

-Val

On Fri, Feb 12, 2016 at 11:07 AM, Dood@ODDO <oddodao...@gmail.com> wrote:


Hello all,

This may be a very dumb question (and feel free to "reprimand" me ;-) but
I will ask it anyways.

I am working on https://issues.apache.org/jira/browse/IGNITE-1144 and one
of the comments on the submitted code was that I marked both methods I am
implemented as @IgniteAsyncSupported but I never actually provided an async
implementation. All my methods do is call on methods already implemented in
IgniteCompute.java (after verifying that the methods are called on data
structures that are collocated) and my assumption was that the methods
being called are already implemented in async/sync versions. Specifically,
these methods are affinityRun() and affinityCall().

Furthermore, I noticed the following comment in IgniteQueue.java, for
example:
""* All queue operations have synchronous and asynchronous counterparts."".

However, after looking at all the implementations of IgniteQueue interface
in the code base, I could not find any actual implementations of
asynchronous calls on any methods of queue or set. Am I just missing
something really basic?

Thanks!





Compiling Ignite against different JDKs

2016-02-11 Thread Dood

Hello all,

I am working on a ticket that is not very difficult, if you are good 
with Idea, Java, Maven etc. I have been a developer in various languages 
but new to Java ;).


I had JDK8 installed and I introduced some changes to the code base that 
cause it to not compile (apparently) against the JDK7. I downloaded JDK7 
and installed it, I went into Project Structure->JDKs in Idea and added 
the version 7 and set it as default for the Ignite project. However, 
every time I try to build the ignite-core module, it complains about 
"invalid source release: 1.8". Clearly I am missing something - but 
what? Are there any instructions anyone can point to for switching JDKs 
in IntelliJ?


Thanks!


Re: affinityRun() and affinityCall() (JIRA ticket)

2016-01-29 Thread Dood

Val,

Before I go on and submit pull requests etc. - would you comment on the 
path I am taking with this? As I said I am not a JAVA developer but I am 
trying to teach myself the language and contribute at the same time ;)


Here are my thoughts on implementing this for the queue 
(GridCacheQueueAdapter.java). I have also declared the following in 
IgniteQueue.java:


@IgniteAsyncSupported
public void affinityRun(IgniteRunnable job) throws IgniteException;

@IgniteAsyncSupported
public  R affinityCall(IgniteCallable job) throws IgniteException;

Here is what is in GridCacheQueueAdapter.java

/** {@inheritDoc} */
public void affinityRun(IgniteRunnable job) {
if (!collocated)
throw new IgniteException("Illegal operation requested on non-collocated 
queue:affinityRun().");


try {
compute.affinityRun(cache.name(),queueKey,job);
}
catch (IgniteException e) {
throw e;
}
}

/** {@inheritDoc} */
public  R affinityCall(IgniteCallable job) {
if (!collocated)
throw new IgniteException("Illegal operation requested on non-collocated 
queue:affinityCall().");


try {
return compute.affinityCall(cache.name(),queueKey,job);
}
catch (IgniteException e) {
throw e;
}
}

I have included the following at the top of the class 
GridCacheQueueAdapter:

private final IgniteCompute compute;

this.compute = cctx.kernalContext().grid().compute();

Let me know what you think!

On 1/27/2016 3:55 PM, Valentin Kulichenko wrote:

Hi,

Both GridCacheQueueAdapter and GridCacheSetImpl have a reference to
GridCacheContext which represents the underlying cache for the data
structure. GridCacheContext.name() will give you the correct cache name
that you can use when calling affinityRun method.

-Val

On Wed, Jan 27, 2016 at 9:13 AM, Dood@ODDO <oddodao...@gmail.com> wrote:


Hello,

I am playing with https://issues.apache.org/jira/browse/IGNITE-1144 as
introduction to hacking on Ignite. I am not a Java developer by day but
have experience writing code in various languages. This is my first
in-depth exposure to Ignite internals (have lightly used it as a user in a
POC project).

Looking at this ticket, I am guessing that what it needs to do is get the
cache name from the kernel context. After that it can just pass on the call
(such as affinityRun()) to the regular affinityRun() call with the cache
name filled in as the first parameter. This is because an internal
(un-exposed) cache is used to track the queue/set data structures. Is this
all correct?

My question is: how do I get the cache name from within the queue
implementation.

Thanks!








affinityRun() and affinityCall() (JIRA ticket)

2016-01-27 Thread Dood

Hello,

I am playing with https://issues.apache.org/jira/browse/IGNITE-1144 as 
introduction to hacking on Ignite. I am not a Java developer by day but 
have experience writing code in various languages. This is my first 
in-depth exposure to Ignite internals (have lightly used it as a user in 
a POC project).


Looking at this ticket, I am guessing that what it needs to do is get 
the cache name from the kernel context. After that it can just pass on 
the call (such as affinityRun()) to the regular affinityRun() call with 
the cache name filled in as the first parameter. This is because an 
internal (un-exposed) cache is used to track the queue/set data 
structures. Is this all correct?


My question is: how do I get the cache name from within the queue 
implementation.


Thanks!





Re: Using Ignite

2016-01-18 Thread Dood
Kafka may suit your needs as a "queue" with producer/consumer and 
persistence capabilities also.


On 1/18/2016 9:52 AM, Murthy Kakarlamudi wrote:

Hi,
   We have a scenario where in we have a c++ application that pumps 
out data ticks multiple times in a second. These data ticks needs to 
be displayed in the web front end. We need some middleware platform to 
hold those events temporarily before being consumed by web-front end. 
Can Ignite work as a viable middleware option in this scenario? In 
future we are expecting that there will be multiple consumers for 
these data ticks. Can Ignite Messaging be used in this scenario?


Thanks,
Satya.




[Muscle] coolkey or pkcs variant with acrobat reader?

2014-01-30 Thread Howy Dood
I wanted to be able to sign PDFs instead of having to use windows to do so.
 I use coolkey with firefox and chrome in Linux, but I installed the 686
version for acrobat reader in Fedora 20.

I tried to follow the instructions here, albeit a little different:

http://lists.apple.com/archives/fed-talk/2007//Jul/msg00047.html

But when I try to load /usr/lib/libcoolkeypk11.so
it won't load it and gives an unclear error.

Any ideas?
___
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


[Muscle] connection reset/no data returned errors in browser with pcsclite/coolkey

2013-10-03 Thread Howdy Dood
Hello,

I have Fedora 19 on two machines.

I use libcoolkey to use a Common Access Card's certificates to access my
webmail at http://www.foo.bar.gov

However, since upgrading to F19 on machine two, although I am prompted for
pin, etc, and certs show, and I can choose the right cert, I get:

The connection was reset

The connection to the server was reset while the page was loading.

and on a related site, I get:

Unable to load the webpage because the server sent no data.
Error code: ERR_EMPTY_RESPONSE

On machine one, it works fine.  I cannot figure out what the problem is
here.  Same version of pcsc, same version of libcoolkey... on machine 2,
both firefox and chrome have this problem.

Both machines are on the same network.

On machine two, if I open up virtualbox and go to win8, and use CaC there,
I can access the site with IE.

Any site that requires email signature certificate on card has this
problem.  If the site requires digital ID certificate, it still works fine.



Thanks for help
___
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


Re: [Muscle] connection reset/no data returned errors in browser with pcsclite/coolkey

2013-10-03 Thread Howdy Dood
Considering it works fine on my laptop, I doubt that has anything to do
with anything.


On Thu, Oct 3, 2013 at 11:00 AM, Michael Bender michaelben...@me.comwrote:

 The government is shut down, what do you expect :-)

 ⛵


 On Oct 3, 2013, at 8:51 AM, Howdy Dood h0wdyd3...@gmail.com wrote:

 Hello,

 I have Fedora 19 on two machines.

 I use libcoolkey to use a Common Access Card's certificates to access my
 webmail at http://www.foo.bar.gov

 However, since upgrading to F19 on machine two, although I am prompted for
 pin, etc, and certs show, and I can choose the right cert, I get:
 
 The connection was reset

 The connection to the server was reset while the page was loading.

 and on a related site, I get:

 Unable to load the webpage because the server sent no data.
 Error code: ERR_EMPTY_RESPONSE

 On machine one, it works fine.  I cannot figure out what the problem is
 here.  Same version of pcsc, same version of libcoolkey... on machine 2,
 both firefox and chrome have this problem.

 Both machines are on the same network.

 On machine two, if I open up virtualbox and go to win8, and use CaC there,
 I can access the site with IE.

 Any site that requires email signature certificate on card has this
 problem.  If the site requires digital ID certificate, it still works fine.



 Thanks for help

 ___
 Muscle mailing list
 Muscle@lists.musclecard.com
 http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


 ___
 Muscle mailing list
 Muscle@lists.musclecard.com
 http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


___
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


Re: [Muscle] connection reset/no data returned errors in browser with pcsclite/coolkey

2013-10-03 Thread Howdy Dood
Douglas, thanks, but as I said, it works on the exact same site with
another machine.  The site is not down.  I'm using it right now through
virtualbox with windows 8.

It seems to only have the problem when using the email certificate, but not
the digital signature certificate(those sites work).


On Thu, Oct 3, 2013 at 12:16 PM, Douglas E. Engert deeng...@anl.gov wrote:


 On 10/3/2013 10:51 AM, Howdy Dood wrote:

 Hello,

  I have Fedora 19 on two machines.

  I use libcoolkey to use a Common Access Card's certificates to access my
 webmail at http://www.foo.bar.gov

  However, since upgrading to F19 on machine two, although I am prompted
 for pin, etc, and certs show, and I can choose the right cert, I get:
 
  The connection was reset

  The connection to the server was reset while the page was loading.

  and on a related site, I get:

  Unable to load the webpage because the server sent no data.
 Error code: ERR_EMPTY_RESPONSE

  On machine one, it works fine.  I cannot figure out what the problem is
 here.  Same version of pcsc, same version of libcoolkey... on machine 2,
 both firefox and chrome have this problem.

  Both machines are on the same network.

  On machine two, if I open up virtualbox and go to win8, and use CaC
 there, I can access the site with IE.

   Any site that requires email signature certificate on card has this
 problem.  If the site requires digital ID certificate, it still works fine.


 That sounds like the old version was caching the pin, and new version is
 not, or not caching it correctly.

 For PIV  cards, (and all newer CAC cards are  both)  when the signature
 key is used to do a crypto
 operation, the previous operation to the card must have been a verify i.e.
 PIN is sent.

 You can run pcscd in debug mode, and watch the commands to the card to get
 some  more information.

 And as a previous responder said, it could be because the *.gov web site
 is down...




  Thanks for help


 ___
 Muscle mailing 
 listMuscle@lists.musclecard.comhttp://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


 --

  Douglas E. Engert  deeng...@anl.gov deeng...@anl.gov
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444


 ___
 Muscle mailing list
 Muscle@lists.musclecard.com
 http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


___
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


Re: [Muscle] connection reset/no data returned errors in browser with pcsclite/coolkey

2013-10-03 Thread Howdy Dood
OK, I seem to have narrowed it down.  It's an SCR-331 CaC reader.

Once I tried a different model, it works without a problem.

That being said, I used the SCR-331 for years without an issue.  Did pcscd
have an update in the last few months that would have affected support?  I
last used the card reader in May and had been using it without incident.


On Thu, Oct 3, 2013 at 2:21 PM, Howdy Dood h0wdyd3...@gmail.com wrote:

 Douglas,

 Thanks for your help.

 It uses the card in that it prompts for pin, then prompts for which cert
 to use.  On sites that use Digital signature certificate, they work fine.
  On sites, such as webmail, that use email certificate, I get those errors.

 That being said, both types of certs/sites work on my f19 laptop:(

 How do I see if I'm missing some such certificates?  My issue is I get the
 same error with firefox, chrome, and davmail, and with any user I
 create/try.

 I attached the debug, but didn't see anything relevant.  Prior to this
 email, I had to use virtualbox in order to send an email that I had to
 send.  Pretty frustrating:O


 On Thu, Oct 3, 2013 at 2:10 PM, Douglas E. Engert deeng...@anl.govwrote:


 On 10/3/2013 1:02 PM, Howdy Dood wrote:

 Douglas, thanks, but as I said, it works on the exact same site with
 another machine.  The site is not down.  I'm using it right now through
 virtualbox with windows 8.

  It seems to only have the problem when using the email certificate, but
 not the digital signature certificate(those sites work).


 What does the pcscd debugging show?

 Does it even get far enough to use the card?

 Are you missing some CA certificates  or intermediate certificates on the
 F19?

 I believe  that on DoD CAC cards, the two certificates may be signed by
 different CAs
 with different trust chains.



 On Thu, Oct 3, 2013 at 12:16 PM, Douglas E. Engert deeng...@anl.govwrote:


 On 10/3/2013 10:51 AM, Howdy Dood wrote:

 Hello,

  I have Fedora 19 on two machines.

  I use libcoolkey to use a Common Access Card's certificates to access
 my webmail at http://www.foo.bar.gov

  However, since upgrading to F19 on machine two, although I am prompted
 for pin, etc, and certs show, and I can choose the right cert, I get:
 
  The connection was reset

  The connection to the server was reset while the page was loading.

  and on a related site, I get:

  Unable to load the webpage because the server sent no data.
 Error code: ERR_EMPTY_RESPONSE

  On machine one, it works fine.  I cannot figure out what the problem
 is here.  Same version of pcsc, same version of libcoolkey... on machine 2,
 both firefox and chrome have this problem.

  Both machines are on the same network.

  On machine two, if I open up virtualbox and go to win8, and use CaC
 there, I can access the site with IE.

   Any site that requires email signature certificate on card has this
 problem.  If the site requires digital ID certificate, it still works fine.


  That sounds like the old version was caching the pin, and new version
 is not, or not caching it correctly.

 For PIV  cards, (and all newer CAC cards are  both)  when the signature
 key is used to do a crypto
 operation, the previous operation to the card must have been a verify
 i.e. PIN is sent.

 You can run pcscd in debug mode, and watch the commands to the card to
 get some  more information.

 And as a previous responder said, it could be because the *.gov web
 site  is down...




  Thanks for help


 ___
 Muscle mailing 
 listMuscle@lists.musclecard.comhttp://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


  --

  Douglas E. Engert  deeng...@anl.gov deeng...@anl.gov
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444


 ___
 Muscle mailing list
 Muscle@lists.musclecard.com
 http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com




 ___
 Muscle mailing 
 listMuscle@lists.musclecard.comhttp://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


 --

  Douglas E. Engert  deeng...@anl.gov deeng...@anl.gov
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444


 ___
 Muscle mailing list
 Muscle@lists.musclecard.com
 http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com



___
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


Re: [Muscle] connection reset/no data returned errors in browser with pcsclite/coolkey

2013-10-03 Thread Howdy Dood
I'm sorry, I forgot that when I plugged in scr331 to my working laptop, I
had no issues.

So, the scr3500 and the scr331 work on laptop
the scr3500 works on desktop, but scr331 only works with certain
certificates.




On Thu, Oct 3, 2013 at 7:26 PM, Howdy Dood h0wdyd3...@gmail.com wrote:

 OK, I seem to have narrowed it down.  It's an SCR-331 CaC reader.

 Once I tried a different model, it works without a problem.

 That being said, I used the SCR-331 for years without an issue.  Did pcscd
 have an update in the last few months that would have affected support?  I
 last used the card reader in May and had been using it without incident.


 On Thu, Oct 3, 2013 at 2:21 PM, Howdy Dood h0wdyd3...@gmail.com wrote:

 Douglas,

 Thanks for your help.

 It uses the card in that it prompts for pin, then prompts for which cert
 to use.  On sites that use Digital signature certificate, they work fine.
  On sites, such as webmail, that use email certificate, I get those errors.

 That being said, both types of certs/sites work on my f19 laptop:(

 How do I see if I'm missing some such certificates?  My issue is I get
 the same error with firefox, chrome, and davmail, and with any user I
 create/try.

 I attached the debug, but didn't see anything relevant.  Prior to this
 email, I had to use virtualbox in order to send an email that I had to
 send.  Pretty frustrating:O


 On Thu, Oct 3, 2013 at 2:10 PM, Douglas E. Engert deeng...@anl.govwrote:


 On 10/3/2013 1:02 PM, Howdy Dood wrote:

 Douglas, thanks, but as I said, it works on the exact same site with
 another machine.  The site is not down.  I'm using it right now through
 virtualbox with windows 8.

  It seems to only have the problem when using the email certificate,
 but not the digital signature certificate(those sites work).


 What does the pcscd debugging show?

 Does it even get far enough to use the card?

 Are you missing some CA certificates  or intermediate certificates on
 the F19?

 I believe  that on DoD CAC cards, the two certificates may be signed by
 different CAs
 with different trust chains.



 On Thu, Oct 3, 2013 at 12:16 PM, Douglas E. Engert deeng...@anl.govwrote:


 On 10/3/2013 10:51 AM, Howdy Dood wrote:

 Hello,

  I have Fedora 19 on two machines.

  I use libcoolkey to use a Common Access Card's certificates to access
 my webmail at http://www.foo.bar.gov

  However, since upgrading to F19 on machine two, although I am
 prompted for pin, etc, and certs show, and I can choose the right cert, I
 get:
 
  The connection was reset

  The connection to the server was reset while the page was loading.

  and on a related site, I get:

  Unable to load the webpage because the server sent no data.
 Error code: ERR_EMPTY_RESPONSE

  On machine one, it works fine.  I cannot figure out what the problem
 is here.  Same version of pcsc, same version of libcoolkey... on machine 2,
 both firefox and chrome have this problem.

  Both machines are on the same network.

  On machine two, if I open up virtualbox and go to win8, and use CaC
 there, I can access the site with IE.

   Any site that requires email signature certificate on card has this
 problem.  If the site requires digital ID certificate, it still works fine.


  That sounds like the old version was caching the pin, and new version
 is not, or not caching it correctly.

 For PIV  cards, (and all newer CAC cards are  both)  when the signature
 key is used to do a crypto
 operation, the previous operation to the card must have been a verify
 i.e. PIN is sent.

 You can run pcscd in debug mode, and watch the commands to the card to
 get some  more information.

 And as a previous responder said, it could be because the *.gov web
 site  is down...




  Thanks for help


 ___
 Muscle mailing 
 listMuscle@lists.musclecard.comhttp://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


  --

  Douglas E. Engert  deeng...@anl.gov deeng...@anl.gov
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444


 ___
 Muscle mailing list
 Muscle@lists.musclecard.com
 http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com




 ___
 Muscle mailing 
 listMuscle@lists.musclecard.comhttp://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


 --

  Douglas E. Engert  deeng...@anl.gov deeng...@anl.gov
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444


 ___
 Muscle mailing list
 Muscle@lists.musclecard.com
 http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com




___
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


Re: [Muscle] connection reset/no data returned errors in browser with pcsclite/coolkey

2013-10-03 Thread Howdy Dood
I have no idea what's going on.  I went and got an old scr311 out of
storage and it works fine with my problem computer now.

At any rate, thanks for the help!


On Thu, Oct 3, 2013 at 7:46 PM, Bruno Jesus 00cp...@gmail.com wrote:

 On Thu, Oct 3, 2013 at 9:41 PM, Howdy Dood h0wdyd3...@gmail.com wrote:
  I'm sorry, I forgot that when I plugged in scr331 to my working laptop, I
  had no issues.
 
  So, the scr3500 and the scr331 work on laptop
  the scr3500 works on desktop, but scr331 only works with certain
  certificates.

 The only singularity that I remember about my SCR331 is that it does
 not support warm resets. But if the card required that it would not
 work on both laptop or desktop.

 Regards,
 Bruno

 ___
 Muscle mailing list
 Muscle@lists.musclecard.com
 http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com

___
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com


[Pound Mailing List] Too many redirects

2013-06-19 Thread Martijn de Dood
Thanks for all the answers.
Removing the space between ^ and http stops the loop but it also doesn't 
rewrite anymore.It also occurs when doing in PHP a location / redirect 301.
RewriteLocation:This was the solution.When setting rewritelocation to 0 the 
redirects are working.
Tnx!
  

RE: [Pound Mailing List] Too many redirects

2013-06-19 Thread Martijn de Dood
Sorry.Did not hit reply but started a new message.
Thanks for all the answers.
Removing the space between ^ and http stops the loop but it also doesn't 
rewrite anymore.It also occurs when doing in PHP a location / redirect 301.
RewriteLocation:This was the solution.When setting rewritelocation to 0 the 
redirects are working.
Tnx!  

RE: [Pound Mailing List] Too many redirects

2013-06-19 Thread Martijn de Dood
Sorry.Did not hit reply but started a new message.


From: mded...@hotmail.com
To: pound@apsis.ch
Date: Wed, 19 Jun 2013 12:33:14 +0200
Subject: [Pound Mailing List] Too many redirects




Thanks for all the answers.
Removing the space between ^ and http stops the loop but it also doesn't 
rewrite anymore.It also occurs when doing in PHP a location / redirect 301.
RewriteLocation:This was the solution.When setting rewritelocation to 0 the 
redirects are working.
Tnx!

  

Re: [SlimDevices: Touch] can you set duration of alarms?

2012-08-21 Thread dood

dood wrote: 
 Indeed, I hadn't thought of that.
 Now if by setting another alarm, the first one is cancelled, then
 theoretically to turn off I could set an alarm with a beep at the time
 that I want the SB turned off.
 
 Will give it a try.

ok I set 3 alarms 2 minutes apart - radio station 1, radio station 2 and
music tone.
It changed from one to the other station with a beep and pause in
between. unfortunately the third alarm using a music tone went on ad
nauseum until I switched it off so this can't be used as an off
alarm.

I will experiment with some radio stations that don't play, and could
use these as off alarms.



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=96117

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


[SlimDevices: Touch] can you set duration of alarms?

2012-08-20 Thread dood

I use the alarms to turn on the SBT as my alarm clock every morning. I
set it to turn on a radio station rather than alarm sound.
Is there any way to get it to turn itself off say after 2 hours? Perhaps
integrate the sleep function?

Wishful thinking: can I get it to change stations at pre-determined
times?



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=96117

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] can you set duration of alarms?

2012-08-20 Thread dood

aubuti wrote: 
 Not sure about the answer to the first question, but to change stations
 at a predetermined time you could set another alarm, with the different
 station as the alarm.

Indeed, I hadn't thought of that.
Now if by setting another alarm, the first one is cancelled, then
theoretically to turn off I could set an alarm with a beep at the time
that I want the SB turned off.

Will give it a try.



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=96117

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


[SlimDevices: Touch] squeezecommander vs squeezebox app

2012-08-11 Thread dood

I've downloaded squeeze commander as an alternative to the Logitech
android app, after reading how much better it is.

I've found that it is not very intuitive. For example I can't figure out
how to change the player. In the settings it shows that it
sees 2 players. On the Logitech app you simply touch the name of the
player and you get a list of players to select.

The Logitech app also has a split screen that allows you to see more.

I don't get how the paid app is better. Am I missing something?



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=96015

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] BBC live does not work through DAC

2012-08-09 Thread dood

changed settings in LMS for live stream to WMA and all fine now. Thanks.



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=95994

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] can't see playlists in squeezebox touch

2012-08-09 Thread dood

dood wrote: 
 i am also experiencing difficulties seeing playlists on my SBT. I have
 all my music on a QNAP NAS which stays on 24/7. I have done test
 playlists on itunes on my laptop, and exported the xml and M3U playlists
 to the playlist folder in multimedia on the NAS, but these do not show
 up on the SBT.
 
 How do I create playlists using LMS on NAS rather than computer?

ok some progress but not there yet.

I went into LMS and mapped the itunes playlists to the the NAS
multimediaplaylist folder.

Now I can see the playlists on the SBT but they are empty. I assume this
is because the songs that I put into the playlists were from the music
library on my computer (even though the music files are stored on the
NAS in the multimediamusic folder).
In itunes I can see the NAS and this displays all the songs on it.
However, I cannot drag these songs into the playlists (red circle icon
comes up), but I can drag songs from the music library to the playlists.
As I've said these songs from the music library don't show up on the
SBT.

What do I need to do?



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=95889

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] can't see playlists in squeezebox touch

2012-08-07 Thread dood

i am also experiencing difficulties seeing playlists on my SBT. I have
all my music on a QNAP NAS which stays on 24/7. I have done test
playlists on itunes on my laptop, and exported the xml and M3U playlists
to the playlist folder in multimedia on the NAS, but these do not show
up on the SBT.

How do I create playlists using LMS on NAS rather than computer?



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=95889

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


[SlimDevices: Touch] BBC live does not work through DAC

2012-08-07 Thread dood

I can access internet radio on my SBT as expected. When I go to BBC
iplayer, it plays the recorded programs on the various channels but does
not play the live broadcast.
After assessing variables I discovered that this only happens when the
SBT is connected to my external DAC (an old Wadia12). When I connect the
SBT to my amp via analogue outputs, the BBC live plays fine.

Has anyone else encountered this issue? I suspect it is because my DAC
is several years old, but it would be interesting to see if it happens
on newer DACs, and what the explanation is for this behaviour.



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=95994

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] BBC live does not work through DAC

2012-08-07 Thread dood

Mnyb wrote: 
 What sampling frequencies does it accept ? the wadia 12 .
 
 Radio is very often 48kHz but in some cases also 32kHz .
 
 It can also be a word length problem for the old DAC keep the squeezebox
 volume at 100% and try again

If I remember correctly it is 44.1 and 48. I'll check when I get home
whether it automatically detects the frequency or if I have to manually
select 48kHz. I've only used it with CDs at 44.1kHz.
Will also try the volume setting.



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=95994

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] SBT not seeing server

2012-07-21 Thread dood

toby10 wrote: 
 Yes, using USB on Touch means you have disconnected from LMS server on
 your NAS.
 Looks like LMS  Twonky are trying to access the same ports.  Try
 disabling Twonky for a few days to see if LMS works fine then.

So far so good, LMS and twonkymedia both streaming.

However, I have now encountered a new problem:
I can't access internet radio, either on the SBT or on the ipad app.
When I tap on internet radio it goes to BBC iplayer only. 
However, in my favourites and playlists I can see stations that I had
there.

What gives?



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=95851

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


[SlimDevices: Touch] SBT not seeing server

2012-07-19 Thread dood

I have had my SBT for a few weeks now. Unfortunately it only functions
intermittently.

I have a QNAP NAS which store my music files. I have installed LMS on
it.
I have a wifi network at home and the SBT connects to it and there's no
problem getting internet radio.
I have succeeded in accessing my music from the NAS on the SBT, and when
it works it's fine.
If I attach a USB stick it sees it and can play the music on it.

The problems:
1. The SBT sometimes doesn't see the network. After powering on and off,
unplugging and replugging mains, getting to the menu that allows me to
re-input wifi password, I have managed to get it back.
2. Currently it connects to internet, and I am listening to internet
radio. However it does not see the music on my NAS (in fact it doesn't
see the NAS) and tells me to install LMS on my computer. Yet I can see
the music on my laptop and play it on itunes.
3. The squeezebox app on my ipad is erratic. Sometimes it shows my music
and lists internet radio stations. However, at the moment it shows what
song is playing but I can't get back to the main menu.

Anyone able to help please?



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=95851

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] SBT not seeing server

2012-07-19 Thread dood

ok just went into advanced settings on the SBT.
Network test is fine, wireless connection 100%.
Registered with mysqueezebox.com

BUT..
not connected to LMS



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=95851

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] SBT not seeing server

2012-07-19 Thread dood

update

I went into the QNAP admin page.
Disabled LMS ans re-enabled it.
Went to SBT, switched libraries and it saw my NAS and music.

So the question is why is it losing connection to the NAS?

Another question: How do I create music playlists on my computer that
can be accessed by the SBT from the NAS (ie when computer turned off).
the only playlists I see on the SBT are the radio stations I've added.



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=95851

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] SBT not seeing server

2012-07-19 Thread dood

toby10 wrote: 
 If this is happening when you power up the NAS then it is likely that
 the NAS is too slow on it's bootup and not fully booted when LMS starts.
 You can add a program on your NAS to delay LMS startup.
 
 If the Touch is connected to LMS on the NAS then you navigate away from
 LMS then Touch cannot navigate back to LMS (and you did not turn off
 your NAS in the mean time) then your NAS has a settings issue or
 possibly the NAS has other programs running which require use of the
 same ports as LMS needs.
 
 Playlist creation:  Simply use your computer to remotely log into the
 LMS web UI, there you can create playlists by simply adding  saving
 items to your current playlist.

will have to look into power settings on NAS.

Not sure what you mean by touch navigating away from NAS - do you mean
like in switching libraries to USB?
NAS does have one other program - Twonky media, this is for streaming to
my WDTV live. Curiously when I re-enabled LMS, I noticed that Twonky
media was disabled. I re-enabled it (twonky media) whilst the SBT was
playing music from the NAS and this was not affected.

Will look at the playlists again when back on my home network.
Interestingly I read that you can export itunes playlists and that these
should work on the SBT. I created a test playlist in itunes, then
exported the .xml file to the playlist folder under multimedia in the
NAS, but the touch couldn't see it.



dood's Profile: http://forums.slimdevices.com/member.php?userid=56698
View this thread: http://forums.slimdevices.com/showthread.php?t=95851

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


[R] using var from bash in R script

2012-01-04 Thread dood
Dear R users,

This probably a really noob question, but I'm stuck. I'd like to pass some
variables from bash to R as strings. I can successfully pass variables using
commandArgs(), the problem is that I end up with an array. So, for example:

 Args - commandArgs(TRUE)
 Args
[1] one   two   three

Now, it just so happens that one, two, three are names of columns that
I'd like to work with. I'd like to do something like this:

 print(summary(lm(Args[1] ~ Args[2])))

But, this doesn't work. The alternative would be to let bash write a number
of R-scripts and then rm them when done, but that seems like an unnecessary
step. 

Can this be done?

Thanks



--
View this message in context: 
http://r.789695.n4.nabble.com/using-var-from-bash-in-R-script-tp4262857p4262857.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] using var from bash in R script

2012-01-04 Thread dood

Marc Schwartz-3 wrote
 
 See ?as.formula and ?paste
 
 Something along the lines of the following should work:
 
 Args - c(one, two, three)
 
 Args
 [1] one   two   three
  
 paste(Args[1], ~, Args[2])
 [1] one ~ two
 
 as.formula(paste(Args[1], ~, Args[2]))
 one ~ two
 
 Then use:
 
 summary(lm(as.formula(paste(Args[1], ~, Args[2]
 
 
 If 'one', 'two' and 'three' are columns in a data frame (say 'DF'), you
 will want to use the data argument in the call to lm():
 
   summary(lm(as.formula(paste(Args[1], ~, Args[2])), data = DF))
 

Thanks, that works!

--
View this message in context: 
http://r.789695.n4.nabble.com/using-var-from-bash-in-R-script-tp4262857p4263235.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] separate mfrow region with line

2011-08-27 Thread dood
Dear R users,

I have six plots in one figure, created with par(mfrow=c(2,3)). I would like
to add two lines to the figure outside the plotting regions, separating the
figure into 3 columns. Is this possible?

Thanks

--
View this message in context: 
http://r.789695.n4.nabble.com/separate-mfrow-region-with-line-tp3772758p3772758.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[nonamanis] SEPI

2009-11-18 Thread Dood
kok akhir2 ini sepi yachh ? apa yahoo group gw yg error ?

 



  






  

Re: Kernel and Dual booting

2008-08-11 Thread DooD

To prevent opkg from upgrading the kernel try:

opkg flag hold kernel-2.6.24
opkg flag hold kernel-image-2.6.24

Altho i think you only need to block the kernel-image-2.6.24 After
getting a neo1973 kernel and a bad kernel that wouldnt boot from opkg, i do
all my kernel upgrades with the dfu-util.


Mikael Berthe wrote:
 
 * Olivier Berger [EMAIL PROTECTED] [2008-08-10 18:16 +0200]:
 
 Now I need to test if I can boot it on the SD. If it succeeds, I will
 then be able to flash OM 2008.8, and have switched between flash and
 SD.
 
 Dual booting is cool ;)
 
 Yes it is :)
 (Actually I'm running 2007 from flash and 2008.8 from SD, unlike you...)
 
 
 Yet I'm wondering if it isn't dangerous to do an opkg upgrade from
 the SD.
 
 Wouldn't that update the FR's kernel?
 If it does, then it could break booting from flash as the modules won't
 match anymore.
 
 Or is there a way to prevent opkg from flashing the kernel?  It would be
 nice to upgrade /uImage.bin instead!
 -- 
 MiKael
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/Moving-my-2007.2-to-SD-to-try-2008.8-with-fallback-solution-tp682485p685836.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: full-keyboard for Om 2008.08?

2008-08-10 Thread DooD

Hmm figured out why my above fix was only working on my asu build and not my
om2008.8 need to install 

http://buildhost.openmoko.org/daily-feed/armv4t/illume_0.0+svnr196-r12_armv4t.ipk

this version seems to let me use whatever keyboard i like, which is how it
should be. hope it doesnt magically disappear . .


Dirk Bergstrom-2 wrote:
 
 DooD wrote:
 The files you need to edit are under
 /usr/lib/enlightenment/modules/illume/keyboards
 I believe there is a Full-QWERTY.kbd in there, just backup the
 Default.kbd
 and replace it with the Full-QWERTY.kbd
 mv Default.kbd Defaultbackup.kbd
 mv Full-QWERTY.kbd Default.kbd
 /etc/init.d/xserver-nodm restart
 
 I tried this, but I still get the standard keyboard.
 
 Somewhere along the line I installed the illume package with the 
 'qwerty' icon.  Maybe that has something to do with this?
 
 Also, I see this interesting comment in Default.kbd:
 
 # if the key out is in quotes - q for example, then this key is used for
 # typing words and can be part of a dictionary match, any other key when
 # pressed will end the dictionary match (u can disable dictionary
 # matching in
 # a layout by not having any outputs in quotes)
 
 So, that implies that if I can just get the system to recognize 
 alternate kbd files, I can turn off dictionary matching, which would 
 make me rather happy.
 
 
 Hmmm, waitaminnit, looking at the files in that directory, I don't think 
 they control the standard 2008.08 keyboard.  I'm talking about the one 
 where you flick up/down to shift to other layouts.
 
 Sigh.  I guess I'm still stuck with the irritating keyboard.  What's it 
 called?
 
 --
 Dirk Bergstrom
 [EMAIL PROTECTED]
 http://otisbean.com/
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/full-keyboard-for-Om-2008.08--tp681538p684042.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: full-keyboard for Om 2008.08?

2008-08-09 Thread DooD

The files you need to edit are under

/usr/lib/enlightenment/modules/illume/keyboards

I believe there is a Full-QWERTY.kbd in there, just backup the Default.kbd
and replace it with the Full-QWERTY.kbd

mv Default.kbd Defaultbackup.kbd
mv Full-QWERTY.kbd Default.kbd
/etc/init.d/xserver-nodm restart

Some of the keys, arrows, return, tab, shift, backspace are invisible...
not to hard to find them *hint* try holding your finger on the keyboard
until it zooms in.



Arne Zachlod wrote:
 
 Hello there!
 
 i like the new look of the freerunner, but what i don't like is the 
 keyboard. is there a possibility to re-install a full qwerty KB or 
 something like that? navigate in terminal with the standard-kb is
 terrible.
 
 thanks, Arne
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/full-keyboard-for-Om-2008.08--tp681538p682407.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: ASU - startup broken by upgrade?

2008-07-31 Thread DooD

I found that installing the newest e-wm and illume packages

http://downloads.openmoko.org/openmoko-repository/ASU/armv4t/e-wm_0.16.999.042+cvs200807270730-r11_armv4t.ipk
http://downloads.openmoko.org/openmoko-repository/ASU/armv4t/illume_0.0+svnr170-r7_armv4t.ipk

caused this problem. when i reinstalled 

http://buildhost.openmoko.org/daily-feed/armv4t/e-wm_0.16.999.042+cvs20080722-r10_armv4t.ipk
http://buildhost.openmoko.org/daily-feed/armv4t/illume_0.0+svnr152-r6_armv4t.ipk

i was able to get xserver to run properly.
only problem was if i had already used opkg to upgrade i could not get it to
install the older packages


Torfinn Ingolfsen wrote:
 
 Hello,
 
 It seems that today's 'opkg upgrade' broke the startup on my
 FreeRunner (I'm using ASU).
 /etc/init.d/rc complain that it can't find splash-write.
 
 Has anyone else seen this?
 
 Further investigation shows that it is a broken link now:
 
 [EMAIL PROTECTED]:~# which splash-write
 [EMAIL PROTECTED]:~# file /usr/bin/splash-write
 /usr/bin/splash-write: broken symbolic link to
 `/usr/bin/exquisite-write.sh'
 [EMAIL PROTECTED]:~# ll /usr/bin/splash-write /usr/bin/exquisite-write.sh
 ls: /usr/bin/exquisite-write.sh: No such file or directory
 lrwxrwxrwx1 root root   27 Jul 23 09:38
 /usr/bin/splash-write - /usr/bin/exquisite-write.sh@
 [EMAIL PROTECTED]:~#
 
 Perhaps it got changed:
 [EMAIL PROTECTED]:~# which exquisite-write
 /usr/bin/exquisite-write
 
 Ok, I'll fix the broken link so splash-write now points to
 exquisite-write. We'll see if that fixes everything.
 
 Nope, it didn't.. Seems the Xserevr doesn't tart up. Her is the
 contents of /tmp/x.log:
 
 -- [EMAIL PROTECTED]:~# more /tmp/x.log
 
 _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
 _XSERVTransOpen: transport open failed for inet6/om-gta02:0
 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
 (II) verbosity set to 5
 Using GLAMO 3362 card
 (II) Screen: 16/16 depth/bpp
 (II) vram size:4194304, onscreen vram size:614400, offscreen vram
 size:3579904
 (II) initialising offscreen pixmaps
 Extended Input Devices not yet supported. Impelement it at line 637 in
 kinput.c
 D-BUS per-session daemon address is:
 unix:abstract=/tmp/dbus-WqAYGaR9LT,guid=34e024cf41e115d377de317848900b44
 [settings daemon] Forking. run with -n to prevent fork
 enlightenment: symbol lookup error: enlightenment: undefined symbol:
 ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_STATE
 run-parts: /etc/X11/Xsession.d/90xXWindowManager exited with code 127
 
 waiting for X server to shut down FreeFontPath: FPE built-ins
 refcount is 2, should be 1; fixing.
 
 Regards,
 Torfinn Ingolfsen
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/ASU---startup-broken-by-upgrade--tp660348p661836.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: ASU, exposure doesn't work

2008-07-31 Thread DooD

Finally found how to get this one to work... the problem is with python-ecore
package the newest one doesnt even seem to run camp wifi for me anymore.
The version you want to install is from

http://buildhost.automated.it/OM2007.2/packages/armv4t/python-ecore_0.2.1+cvs20080702-r1_armv4t.ipk

If you cant get opkg to install it for you try -force-downgrade, which
doesnt seem to work for me. so i just temporarily removed my
armv4t-feed.conf from /etc/opkg, removed the package, then had opkg update
and typed

opkg install
http://buildhost.automated.it/OM2007.2/packages/armv4t/python-ecore_0.2.1+cvs20080702-r1_armv4t.ipk

This should work, goodluck


Benedikt Schindler wrote:
 
 I am running ASU with a daily kernel and opkg-config from mwester.
 (kernel_2.6.24+git25+8533927964761f4e2078ccd8607b90f5acc60b93-r1_om-gta02.ipk)
 
 [EMAIL PROTECTED]:/# app-launcher.py exposure
 Can't connect to unix socket - starting daemon ...
 [EMAIL PROTECTED]:/#
 
 no more messages.
 nothing new in dmesg.
 nothing in /var/log/messages.
 
 does anyone know where to look for the problem?
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/ASU%2C-exposure-doesn%27t-work-tp661973p662542.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Flash ASU

2008-07-29 Thread DooD

Most of these instructions i have pulled off the wiki or from other e-mails,
Do not hold me responsible if you brick your Freerunner while following
them.

Here is what has worked for me so far
First you want to get the newest ASU rootfs from

http://buildhost.openmoko.org/daily/freerunner/

The newest ASU rootfs for now is

http://buildhost.openmoko.org/daily/freerunner/200807/20080722/Openmoko-openmoko-qtopia-x11-image-glibc-ipk-P1-Snapshot-20080722-om-gta02.rootfs.jffs2

After you have downloaded that you will want to go to

http://wiki.openmoko.org/wiki/Flashing_the_Neo_FreeRunner

Following the instructions on the page download the dfu-util to the same
directory as the rootfs.jffs2

http://downloads.openmoko.org/releases/Freerunner/dfu-util

Now you will need to power down your Freerunner and power it into the NOR
uBoot menu for flashing.
(in short: press and hold aux then power)
When the menu has come up attach the Freerunner to your host linux system
via USB.
*note* uBoot menu will not stay on for long, unless you scroll using the aux
button

Now open a terminal on the host linux system, go to the directory of your
dfu-util and rootfs.jffs2,and run the command:
*note* changing the name of the rootfs.jffs2 to whatever you downloaded

./dfu-util -a rootfs -R -D
Openmoko-openmoko-qtopia-x11-image-glibc-ipk-P1-Snapshot-20080722-om-gta02.rootfs.jffs2

Let dfu-util run its magic, then you should be able to boot into the ASU.

-

Now if you installed the 200807022 ASU you will notice some problems, mainly
that there is no keyboard!
What you will need to do now is to opkg update and upgrade.

Assuming your host linux system has internet you will want to follow the
instructions in

http://wiki.openmoko.org/wiki/USB_Networking

On the host linux system commands

ifconfig usb0 192.168.0.200
ssh [EMAIL PROTECTED]

should allow you to connect to the phone.

--

If you do not know how to use the vi editor on the Freerunner you may not be
able to do this next part
Also read the notes before updating your .conf files

Once you have your phone connected to the internet you will want to change
your opkg feeds. Manually you can just goto /etc/opkg and use vi *.conf, or
you can download updated .confs from

http://www.mikeasoft.com/~mike/opkg-asu.tar.gz

On the phone just cd /etc and type wget
http://www.mikeasoft.com/~mike/opkg-asu.tar.gz; followed by tar xzf
opkg-asu* This will extract the *.conf files to /etc/opkg. 

*IMPORTANT NOTE1* If you change the neo1973-feed.conf to
http://downloads.openmoko.org/openmoko-repository/ASU/neo1973, opkg will
download a kernel for the neo1973 onto your freerunner, while it wont stop
the phone from working it may stop the phone from having sound.
*IMPORTANT NOTE2* The newest e-wm and illume packages do not seem to work,
opkg upgrade may stop you from being able to boot into the ASU, tho you can
still connect to it with ssh. For now i would recommend pointing
/etc/opkg/armv4t.conf to http://buildhost.openmoko.org/daily-feed/armv4t and
rerun opkg update before running opkg upgrade.
*IMPORTANT NOTE3* opkg install
http://buildhost.openmoko.org/daily-feed/om-gta02//kernel-image-2.6.24_2.6.24+git25+8533927964761f4e2078ccd8607b90f5acc60b93-r0_om-gta02.ipk
does not seem to flash the kernel correctly and will cause the system to
hang right as you power up your phone. you will need to reflash your kernel
in order to be able to boot again.

---

To get a keyboard working, and hopefully not kill your phone, try installing
the above *.conf files, but before running opkg update or upgrade :

rm /etc/opkg/om-gta02-d*
echo src/gz daily-neo1973 http://buildhost.openmoko.org/daily-feed/neo1973;
 /etc/opkg/neo*
echo src/gz daily-armv4t http://buildhost.openmoko.org/daily-feed/armv4t; 
/etc/opkg/arm*
opkg install
http://downloads.openmoko.org/openmoko-repository/ASU/armv4t/app-restarter_1.0+svn4552-r0_armv4t.ipk

Now run opkg update, followed by opkg upgrade. Reboot your Freerunner and so
long as you boot into the ASU you should be able to use the keyboard in
Qtopia apps
 
--

If you are going to be installing GTK apps, such as opkg install
openmoko-terminal2 you will want to be able to use the keyboard, either you
can have the keyboard automatically popup by installing
matchbox-keyboard-im*.ipk, or you can install a theme with the qwerty
button.

To have the keyboard automagically popup

cd /tmp
mkdir matchbox-keyboard
cd matchbox-keyboard
wget http://www.ginguppin.de/files/keyboard-ipk.tar.bz2
tar -jxf keyboard-ipk.tar.bz2
opkg install matchbox-keyboard-im*.ipk
cd ..
rm -rf matchbox-keyboard

*note* it will extract 3 files, you only need to install
matchbox-keyboard-im*.ipk The other packages may completely replace the
keyboard... 

Using Proxy Server

2004-07-27 Thread Matt Dood
With the IE control the application will pull your proxy settings from
your default internet connection profile...how do I get the Mozilla
plugin the proxy info?

I'm currently only running Firefox and not a full install of
Mozilla...could this be an issue?
___
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding


[PHP] arrays

2001-12-20 Thread php dood

I'm trying to figure out how to parse an xml document, and convert it into
html...
i know how to parse in simple xml stuff for example
easyeasy/easy is pretty easy to parse in, and i know how to code that,
but when you start adding flags that i'm going to need variables for,
example easy does=1 it=2easy/easy is not so easy.

***
paste sample xml
***
report gmt_date=1206082001 unix_date=992001907.00

   location city=11531
 forecast day_sequence=1 day_of_week=6 daylight=D
date=060801 high_temp=24.78 low_temp=14.51 sky_desc=3
precip_desc=* temp_desc=8 air_desc=* uv_index=7
wind_speed=18.51 wind_dir=270 humidity=48 dew_point=12.01
comfort=25.28 rainfall=* snowfall=* precip_prob=0 icon=2 /
 forecast day_sequence=2 day_of_week=7 daylight=D
date=060901 high_temp=20.34 low_temp=13.68 sky_desc=1
precip_desc=* temp_desc=7 air_desc=20 uv_index=7
wind_speed=18.51 wind_dir=270 humidity=57 dew_point=9.23
comfort=19.23 rainfall=* snowfall=* precip_prob=2 icon=1 /
 forecast day_sequence=3 day_of_week=1 daylight=D
date=061001 high_temp=20.35 low_temp=12.01 sky_desc=3
precip_desc=* temp_desc=7 air_desc=* uv_index=7
wind_speed=* wind_dir=* humidity=56 dew_point=9.80
comfort=* rainfall=* snowfall=* precip_prob=1 icon=2 /
 forecast day_sequence=4 day_of_week=2 daylight=D
date=061101 high_temp=20.34 low_temp=12.02 sky_desc=3
precip_desc=* temp_desc=7 air_desc=* uv_index=7
wind_speed=* wind_dir=* humidity=57 dew_point=10.34
comfort=* rainfall=* snowfall=* precip_prob=1 icon=2 /
 forecast day_sequence=5 day_of_week=3 daylight=D
date=061201 high_temp=22.01 low_temp=13.12 sky_desc=3
precip_desc=* temp_desc=7 air_desc=* uv_index=7
wind_speed=* wind_dir=* humidity=55 dew_point=11.45
comfort=* rainfall=* snowfall=* precip_prob=1 icon=2 /
 forecast day_sequence=6 day_of_week=4 daylight=D
date=061301 high_temp=23.12 low_temp=13.12 sky_desc=7
precip_desc=* temp_desc=7 air_desc=* uv_index=7
wind_speed=* wind_dir=* humidity=46 dew_point=9.79
comfort=* rainfall=* snowfall=* precip_prob=2 icon=2 /
 forecast day_sequence=7 day_of_week=5 daylight=D
date=061401 high_temp=23.12 low_temp=13.68 sky_desc=7
precip_desc=* temp_desc=7 air_desc=* uv_index=7
wind_speed=* wind_dir=* humidity=49 dew_point=10.34
comfort=* rainfall=* snowfall=* precip_prob=3 icon=2 /
   /location



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]