[Isbg] ArenaVip88 Game Center

2024-01-01 Thread hostinger arena
Keep it continue 
https://sites.google.com/view/linkalternatifarenavip88/halaman-muka
___
Isbg mailing list -- isbg@python.org
To unsubscribe send an email to isbg-le...@python.org
https://mail.python.org/mailman3/lists/isbg.python.org/
Member address: arch...@mail-archive.com


[SR-Users] Re: Wrong RTP endpoint announced by Kamailio when forwarding calls, but looks correct from RTPEngine

2023-10-12 Thread Leonardo Arena via sr-users
I've opened the captured traffic with Wireshark and I've found out
that Kamailio is actually forwarding the call with a double SDP
header. ngrep was showing only a partial header. I think this happens
because when forwarding the call I use rtpengine_offer() and not
rtpengine_manage(). I've tried using rtpengine_manage() and I get only
one SDP header but with the (wrong) private IP address. I've tried
also rtpengine_delete() before rtpengine_offer() but there's always a
double header. Ideas? Still digging..

Thanks!

Session Description Protocol
Session Description Protocol Version (v): 0
Owner/Creator, Session Id (o): Sonus_UAC 157372 901736 IN IP4 44.55.73.157
Session Name (s): SIP Media Capabilities
Connection Information (c): IN IP4 172.30.0.156
Time Description, active time (t): 0 0
Media Description, name and address (m): audio 30154 RTP/AVP 0 18 101
Media Attribute (a): maxptime:20
Media Attribute (a): rtpmap:0 PCMU/8000
Media Attribute (a): rtpmap:18 G729/8000
Media Attribute (a): fmtp:18 annexb=no
Media Attribute (a): rtpmap:101 telephone-event/8000
Media Attribute (a): fmtp:101 0-15
Media Attribute (a): sendrecv
Media Attribute (a): rtcp:30155
Session Description Protocol Version (v): 0
Owner/Creator, Session Id (o): Sonus_UAC 157372 901736 IN IP4 44.55.73.157
Session Name (s): SIP Media Capabilities
Connection Information (c): IN IP4 22.33.177.156
Time Description, active time (t): 0 0
Media Description, name and address (m): audio 30358 RTP/AVP 0 18 101
Media Attribute (a): maxptime:20
Media Attribute (a): rtpmap:0 PCMU/8000
Media Attribute (a): rtpmap:18 G729/8000
Media Attribute (a): fmtp:18 annexb=no
Media Attribute (a): rtpmap:101 telephone-event/8000
Media Attribute (a): fmtp:101 0-15
Media Attribute (a): sendrecv
Media Attribute (a): rtcp:30359
[Generated Call-ID: 241993330_65984054@44.55.73.157]

On Wed, Oct 11, 2023 at 12:29 PM Leonardo Arena  wrote:
>
> Hi all,
>
> I have the following setup:
>
> Phone <-> private net using TCP transport <-> (172.30.0.156) Kamailio
> v5.6.3 + RTPEngine v9.3.1 (22.33.177.156) <-> public net using UDP
> transport <-> Asterisk (22.33.178.77)
>
> Phone is registered on Kamailio and forward calls on no answer or when
> ext is unregistered, to Asterisk's custom IVR (nodejs app + CouchDB),
> using failure_route() [1].
>
> The problem is that when the none answer the phone and the call is
> redirected to Asterisk, Kamailio announce its private IP address in
> the SDP connection endpoint, hence there is no audio [2]. From
> RTPEngine debug logs, it seems that RTPEngine replies with the correct
> SDP connection endpoint IP [3]. See also RTPEngine interfaces
> definition [4].
>
> What am I missing? Why Kamailio is offering its private IP address in
> the SDP connection, instead of its public address when forwarding the
> call? If comment "route(SDP_MANAGE_IN)" in route[IN], Kamailio uses
> the correct IP endpoint address in the SDP offer when forwarding the
> call to Asterisk. But of course this breaks audio when someone answer
> the phone. It seems that Kamailio is storing the initial SDP offer
> settings and does not update it upon RTPEngine's request, even though
> I have added "replace-session-connection" in route[SDP_OFFER_IVR].
>
> Thanks for any help!
>
> leo
>
>
> [1]
> route[IN] {
> if (!lookup('location')) {
> t_on_reply("SDP_MANAGE");
> route(TOIVR);
> } else {
> xlog("L_INFO", "Route(IN) Req $mi $rm From <$fu> To <$tu> RURI
> <$ru>\n");
> record_route();
> t_on_reply("SDP_MANAGE");
> route(SDP_MANAGE_IN);
> t_on_failure("TOIVR");
> t_relay();
> exit;
> }
> }
>
> route[SDP_MANAGE] {
> if (has_body("application/sdp")) {
> rtpengine_manage();
> }
> }
>
> route[SDP_MANAGE_IN] {
> if (has_body("application/sdp")) {
> rtpengine_manage("direction=public direction=private via-branch=1");
> }
> }
>
>
> ...
>
>
> route[SDP_OFFER_IVR] {
> if (has_body("application/sdp")) {
> rtpengine_offer("direction=public direction=public
> replace-session-connection via-branch=1");
> }
> }
>
> failure_route[TOIVR] {
> if (t_is_canceled()) {
> exit;
> }
> append_branch();
> route(SDP_OFFER_IVR);
> # using t_relay_to so that UDP is used with the correct IP address
> if (!t_relay_to("xh.voip.net")) {
> xlog("L_INFO", "No answer - Failure Route(TOIVR) Req $mi $rm
&g

[SR-Users] Wrong RTP endpoint announced by Kamailio when forwarding calls, but looks correct from RTPEngine

2023-10-11 Thread Leonardo Arena via sr-users
Hi all,

I have the following setup:

Phone <-> private net using TCP transport <-> (172.30.0.156) Kamailio
v5.6.3 + RTPEngine v9.3.1 (22.33.177.156) <-> public net using UDP
transport <-> Asterisk (22.33.178.77)

Phone is registered on Kamailio and forward calls on no answer or when
ext is unregistered, to Asterisk's custom IVR (nodejs app + CouchDB),
using failure_route() [1].

The problem is that when the none answer the phone and the call is
redirected to Asterisk, Kamailio announce its private IP address in
the SDP connection endpoint, hence there is no audio [2]. From
RTPEngine debug logs, it seems that RTPEngine replies with the correct
SDP connection endpoint IP [3]. See also RTPEngine interfaces
definition [4].

What am I missing? Why Kamailio is offering its private IP address in
the SDP connection, instead of its public address when forwarding the
call? If comment "route(SDP_MANAGE_IN)" in route[IN], Kamailio uses
the correct IP endpoint address in the SDP offer when forwarding the
call to Asterisk. But of course this breaks audio when someone answer
the phone. It seems that Kamailio is storing the initial SDP offer
settings and does not update it upon RTPEngine's request, even though
I have added "replace-session-connection" in route[SDP_OFFER_IVR].

Thanks for any help!

leo


[1]
route[IN] {
if (!lookup('location')) {
t_on_reply("SDP_MANAGE");
route(TOIVR);
} else {
xlog("L_INFO", "Route(IN) Req $mi $rm From <$fu> To <$tu> RURI
<$ru>\n");
record_route();
t_on_reply("SDP_MANAGE");
route(SDP_MANAGE_IN);
t_on_failure("TOIVR");
t_relay();
exit;
}
}

route[SDP_MANAGE] {
if (has_body("application/sdp")) {
rtpengine_manage();
}
}

route[SDP_MANAGE_IN] {
if (has_body("application/sdp")) {
rtpengine_manage("direction=public direction=private via-branch=1");
}
}


...


route[SDP_OFFER_IVR] {
if (has_body("application/sdp")) {
rtpengine_offer("direction=public direction=public
replace-session-connection via-branch=1");
}
}

failure_route[TOIVR] {
if (t_is_canceled()) {
exit;
}
append_branch();
route(SDP_OFFER_IVR);
# using t_relay_to so that UDP is used with the correct IP address
if (!t_relay_to("xh.voip.net")) {
xlog("L_INFO", "No answer - Failure Route(TOIVR) Req $mi $rm
>From <$fu> To <$tu> RURI <$ru> failed\n");
t_reply("500", "Unable to route");
} else {
xlog("L_INFO", "No answer - Failure Route(TOIVR) Req $mi $rm
>From <$fu> To <$tu> RURI <$ru>\n");
}
}


[2]
U 2023/10/11 09:05:43.797393 22.33.177.156:5060 -> 22.33.176.8:5060 #3
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP
22.33.176.8;branch=z9hG4bK2cb2.e559c4a326678f69ae9b4656be7bc36c.0.
Via: SIP/2.0/UDP
22.33.176.20;branch=z9hG4bK2cb2.2920561c845ee5279051359f40cb7c0f.0.
Via: SIP/2.0/UDP 44.55.73.157:5060;branch=z9hG4bK0cBdccef20c0d8bfefb.
Record-Route: .
Record-Route: .
Record-Route: .
Record-Route: .
From: "Unavailable" ;tag=gK0c1bb12e.
To: ;tag=660096088.
Call-ID: 474758100_116775912@44.55.73.157.
CSeq: 704680 INVITE.
Contact: .
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY,
REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE.
User-Agent: Yealink SIP-T31P 124.86.0.40.
Allow-Events: talk,hold,conference,refer,check-sync.
Content-Length: 0.
.


U 2023/10/11 09:06:03.751585 22.33.177.156:5060 -> 22.33.178.77:5060 #4
INVITE sip:+1855533@172.30.96.2:11815;transport=TCP SIP/2.0.
Record-Route: .
Record-Route: .
Record-Route: .
Via: SIP/2.0/UDP
22.33.177.156;branch=z9hG4bK2cb2.afb825e30e294872c72c5e21ef26f3f3.1.
Via: SIP/2.0/UDP
22.33.176.8;branch=z9hG4bK2cb2.e559c4a326678f69ae9b4656be7bc36c.0.
Via: SIP/2.0/UDP
22.33.176.20;branch=z9hG4bK2cb2.2920561c845ee5279051359f40cb7c0f.0.
Via: SIP/2.0/UDP 44.55.73.157:5060;branch=z9hG4bK0cBdccef20c0d8bfefb.
f: "Unavailable" ;tag=gK0c1bb12e.
t: .
i: 474758100_116775912@44.55.73.157.
CSeq: 704680 INVITE.
Max-Forwards: 32.
Allow: 
INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE,PUBLISH.
Accept: application/sdp, application/isup, application/dtmf,
application/dtmf-relay, multipart/mixed.
m: "Unavailable" .
Remote-Party-ID: "Unavailable" ;privacy=off.
k: timer,100rel,precondition.
Session-Expires: 1800.
Min-SE: 90.
l:   604.
Content-Disposition: session; handling=required.
c: application/sdp.
.
v=0.
o=Sonus_UAC 525653 764118 IN IP4 44.55.73.157.
s=SIP Media Capabilities.
c=IN IP4 172.30.0.156.
t=0 0.
m=audio 30030 RTP/AVP 0 18 101.
a=maxptime:20.
a=rtpmap:0 PCMU/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=n




[3]
Oct 11 09:06:03 voipsipr7 daemon.info rtpengine[35061]: INFO:
[474758100_116775912@44.55.73.157]: [control] Received command 'offer'
from 127.0.0.1:39942
Oct 11 09:06:03 voipsipr7 daemon.debug rtpengine[35061]: DEBUG:
[474758100_116775912@44.55.73.157]: [control] Dump for 'offer' from
127.0.0.1:39942: { "supports": [ "load limit" ], "sdp": "v=0^M

Not able to Shutdown or Reboot Debian 12 KDE Plasma

2023-08-11 Thread Losers' Arena
Respected Sir/ Ma'am

This is to bring to your notice that Debian 12 KDE Plasma is getting stuck
at kvm: exiting hardware virtualization during the Shutdown and Reboot
process. I tried searching for a solution on various Linux Forums but none
of them worked. Here is the list of things I have tried till now:
1) Downloading 'dracut'
2) Updating Grub and Setting DEFAULT TIMEOUTSTOP=30s
3) Setting Debian KDE Plasma to X11
4) Tried Shutting Down using terminal and from System Launcher
5) Finally, I shutdown using the power button of my Laptop. (This works but
is annoying as hell!!)
Some Linux Forums also said that it is a bug and cannot be fixed just like
that. Therefore, I request you to kindly look into this bug and fix it in
the next patch update. Also, please let me know if there is some other
simple fix to this problem.

Regards
Losers' Arena


[grpc-io] Serialize once, send multiple times

2023-07-28 Thread Lorenzo Arena
I have a question about sending the same message to multiple clients 
(similar to what was asked in the last message 
of https://groups.google.com/g/grpc-io/c/R3XLoLjkFCQ but never got an 
answer). I have a custom gRPC async server, which spawns a "manager" for 
each connection. Each manager is subscribed to a message "publisher"; each 
time someone publish a message it is sent by each manager to the respective 
client, using a shared_ptr. Is there a way to share the already serialized 
buffer instead of sharing the message structure? If I'm understanding 
correctly as of now the message is serialized once for every connection.

Thanks,
Lorenzo

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/383285d4-6320-48e1-bd01-d848f6adcf94n%40googlegroups.com.


Re: Applying for maintainer role

2023-07-17 Thread Dan Arena
> I was expecting an e-mail such as the one sent by Carsten Haitzler, not the 
> one sent by Mr. Steel.
> When we are too strict about rules - without stating the reasons behind those 
> rules, we will drive good people away. Mr. Steel didn't bother to search 
> about the things I did or who I was nor did he wanted anything to know about 
> myself or why I wanted to join Archlinux, his e-mail was basically a 
> box-ticking-procedure-checking.
> That's not just how people should behave within communities, as different 
> people behave differently and it's way more important to have an human-factor 
> when dealing with people.

Hi Tomaz,
Let me start by saying I see your passion for it and understand your
point of view. I believe this is my first time ever replying to this
mailing list, by the way. I have read many threads of people
discussing TU Applications. I felt the need to reply because I
recently argued with someone about similar issues to this and did so
starting from a similar point of view as you I believe, where I was
against the seemingly corporate-like checklists/procedures. The person
knew me and I felt insulted that they were making me go through with
something that seemingly implied that I was lying. I have actually
changed my point of view on this though after discussing it with
coworkers several times. The real importance of following
checklists/procedures like this, as I was convinced to realize, is
that they force fairness and transparency. It prevents nepotism, or
even possibly people being deceived and getting someone they thought
was a friend online past the normal procedures, and having them turn
out to be malicious. It is not accusing you or anyone of it, but it is
to make things fair. I think that is important in a community like
this. Treat people fairly. This way we don't have to try to guess who
has malicious intent and treat them differently than someone else 1
person thought they knew.

All community members, on a side note, although I haven't read much
into it, I think it is great to see the role is now "package
maintainer". I have said to myself after reading many of these
applications and seeing the current TUs interview the person applying
mostly about their technical ability, that all of these technical
questions are not really confirming the part I worry more about with
the AUR, and what is in the name of a "TU", _TRUST_. A person with
malicious intent, could, and most likely would be, technically
capable. They could easily pass that part of it with minimal effort.
Very few of these applications seem to have a way to actually confirm
that the person applying is TRUSTED. Now, I know everywhere it says
the AUR is not to be trusted, and we must confirm all PKGBUILDs during
build, but let's be real, with git packages and sources being pulled
from many unheard of remote websites, that can be tough. I do review
almost every PKGBUILD I use from the AUR, but I often wonder about the
git url it is pulling from, and only sometimes do I go there and take
a quick look at it. This can be a tough balance between confirming
trust, and keeping people's privacy though. I am not sure though if
more investigation is done behind closed doors to confirm those things
but keep people's private information, well, private.

Sorry to go off on a bit of a rant there on the side note. I hope my
formatting was satisfactory for everyone (plain text and
bottom-replying, right? haha.). I see there have also been a couple
emails pop up since I typed this up. Sorry if this has now become
repetitive, out of place, or further derailed the conversation on the
actual application process.

Kind regards,
Dan


[OE-core] [PATCH v2] conf: add nice level to the hash config ignred variables

2023-05-18 Thread arena . lor
From: Lorenzo Arena 

This is needed as each user could be setting different nice levels
while building, however this should not make the shared cache unusable.

Signed-off-by: Lorenzo Arena 
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 2db84a46ee..314cc46662 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -954,7 +954,7 @@ BB_HASHCONFIG_IGNORE_VARS ?= "${BB_HASHEXCLUDE_COMMON} DATE 
TIME SSH_AGENT_PID \
 PARALLEL_MAKE BB_NUMBER_THREADS BB_ORIGENV BB_INVALIDCONF BBINCLUDED \
 GIT_PROXY_COMMAND ALL_PROXY all_proxy NO_PROXY no_proxy FTP_PROXY 
ftp_proxy \
 HTTP_PROXY http_proxy HTTPS_PROXY https_proxy SOCKS5_USER SOCKS5_PASSWD \
-BB_SETSCENE_ENFORCE BB_CMDLINE BB_SERVER_TIMEOUT"
+BB_SETSCENE_ENFORCE BB_CMDLINE BB_SERVER_TIMEOUT BB_NICE_LEVEL"
 BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \
 lockfiles vardepsexclude vardeps vardepvalue vardepvalueexclude \
 file-checksums python task nostamp \
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#181516): 
https://lists.openembedded.org/g/openembedded-core/message/181516
Mute This Topic: https://lists.openembedded.org/mt/98988273/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[see-regional] ANIX Meeting 2022, Tirana 13 December

2022-11-09 Thread Daniele Arena

Dear all,

I wanted to inform you that the ANIX Meeting 2022 will take place on 13 
December 2022, at the Tirana International Hotel. The topic will be 
"Connectivity: Albania and the Adriatic as a gateway to the Balkans", so 
I hope it can be relevant for the people subscribed to this mailing list.


The meeting will be in two parts: presentations and a panel in the 
morning, and one-to-one meetings in the afternoon. The agenda will be 
available soon.


For registrations, please go to https://anix2022.anix.al/. All the 
relevant info on the event will be put on that website. If you have any 
questions, let me know!


Best regards,

Daniele.

-- Daniele Arena - ANIX / Namex
E-mail:
http://www.anix.al/





[Origami] Chris Conrad’s Life Size model

2022-07-03 Thread Xander Arena via Origami
A friend forwarded me this… “Dragon Tamer”

https://youtu.be/A4K5PkFvr8g

Sent from my iPhone

[jira] [Created] (CXF-8538) maven cxf-xjc-plugin ignores xjc:simple in binding file for nested objects

2021-05-19 Thread Dario Arena (Jira)
Dario Arena created CXF-8538:


 Summary: maven cxf-xjc-plugin ignores xjc:simple in binding file 
for nested objects
 Key: CXF-8538
 URL: https://issues.apache.org/jira/browse/CXF-8538
 Project: CXF
  Issue Type: Bug
  Components: JAXB Databinding
Affects Versions: 3.3.1
 Environment: OS: Linux linux-mint-desktop 5.8.0-53-generic
Java: openjdk 11.0.11 2021-04-20 (using java 1.8 compatibility)
Maven: 3.6.3
Reporter: Dario Arena


I'm working on a project which requires creating xml files that conforms to an 
xsd schema and subsequently send these files using a SOAP service client.
 To create java objects from the .xsd i'm using this configuration in pom.xml
{quote}
 ...
 
 org.apache.cxf
 cxf-xjc-plugin
 3.3.1
 
 
 generate-sources
 generate-sources
 
 xsdtojava
 
 
 -Djavax.xml.accessExternalDTD=all
 ${basedir}/src-gen/main/java
 
 
 ${basedir}/src/main/resources/wsdls/Schema.xsd
 true
 ${basedir}/src/main/resources/cxf-bindings.xml
 
 
 
 
 
 
 ...
 
{quote}
and my cxf-bindings.xml has this content:
{quote}http://www.w3.org/2001/XMLSchema;
 xmlns:jaxb="http://java.sun.com/xml/ns/jaxb;
 xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc;
 jaxb:extensionBindingPrefixes="xjc">
 
 
 
 
 
 
 
{quote}
In the generated classes on the root element the extension  is 
applied (the 'Type' suffix has been removed and a list member has the plural 
name 'invoiceBodies') but for nested complex types this seems to not have any 
effect (all the classes have names like 'InvoiceHeaderType', 'InvoiceBodyType' 
and so on and list members have the singular name).
 Am i doing something wrong and maybe there is some configuration i am missing 
to recursively apply xjc:simple to all nested complex types?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-10026) Update the GDK to better support java streams and Publish/Subscribe API

2021-04-10 Thread Dario Arena (Jira)


[ 
https://issues.apache.org/jira/browse/GROOVY-10026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17318541#comment-17318541
 ] 

Dario Arena commented on GROOVY-10026:
--

[~emilles] yes you are right, maybe i badly explained myself. My concern was 
more on making chained collections and iterators call more efficient. Recently 
i was tinkering with some code that requires streaming lines of text from big 
.csv files that does not fit in memory and i noticed that if i call 
".collect()" on a stream the function that is called is 
??public static  java.util.List collect(@Nullable Object self, 
groovy.lang.Closure transform)??
where in the closure i define some transformation for every element in the 
stream (like if in java i use java .map(..).collect(Collectors.toList()) ) and 
it works! 
I was wondering if maybe there was a way to generalize this behaviour for all 
collections and avoid to call .stream() at the beginning and because the GDK 
itself handle lazy evaluation and "materialization" of the results in a more 
transparent way for the user

> Update the GDK to better support java streams and Publish/Subscribe API
> ---
>
> Key: GROOVY-10026
> URL: https://issues.apache.org/jira/browse/GROOVY-10026
> Project: Groovy
>  Issue Type: Improvement
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: collections, evaluation, gdk, lazy, publish, stream, 
> subscribe
>
> Groovy is one of the first JVM languages to introduce "internal iteration" 
> and in general collections operations like collect(), find(), collate().
> Maybe now that java has streams and a publish/subscribe API some of this 
> operations could be reworked and implemented using some of this features.
> The first thing to improve could be a lazy evaluation of chained collections 
> method calls, but without introducing in groovy the need to insert a 
> "terminal operation" at the end of the chain.
> Just as an example if i write something like
> {quote}def employeeSorted = employee.findAll \{ it.qualification == 'intern' 
> }.sort\{ daysBetween(it.hired, now) }
> if (monitorTop5Interns) \{
> print employeeSorted.take(5)
> }{quote}
> When monitorTop5Interns is false there is no need to scan all the employee 
> list to find all the interns because, at least at this point in time, 
> "employeeSorted" is not evaluated. Even if it is true, because of the 
> "take(5)" as the last operation once top 5 elements are found there is no 
> need to scan the rest of the list.
> Is it possible to implement some "intermediate decorator objects" that maybe 
> extends they're correspective type (List, Set, Iterable, Collection...) that 
> are automatically coerced to an actual concrete type (a java.util.ArrayList, 
> a java.util.String...) only when they are actually evaluated (e.g. a 
> "subscription" in the publish/subscribe semantics)?.
> I know that for every collection one could call .stream() or wrap the 
> collection in a "Producer" like in RxJava but wouldn't it be groovy-er if 
> this is transparent for the users?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-10 Thread Dario Arena (Jira)


[ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17318539#comment-17318539
 ] 

Dario Arena edited comment on GROOVY-10025 at 4/10/21, 4:53 PM:


[~daniel_sun] GINQ is very nice, i didn't know that this was coming in Groovy 
4. There is even an entry in the changelog under "New Features" but i missed 
it. :P (maybe when Groovy 4 will come out it would need more "highlighting"). 
[~emilles] These are all very good ways to implement the "every statement is 
indeed an expression". I was thinking however of a more direct support from the 
language itself without doing the extra step of implementing these constructs. 
Maybe this could be an idea to consider for a future version of Groovy (5.0)


was (Author: darioarena87):
[~abdulsubahan] GINQ is very nice, i didn't know that this was coming in Groovy 
4. There is even an entry in the changelog under "New Features" but i missed 
it. :P (maybe when Groovy 4 will come out it would need more "highlighting"). 
[~emilles] These are all very good ways to implement the "every statement is 
indeed an expression". I was thinking however of a more direct support from the 
language itself without doing the extra step of implementing these constructs. 
Maybe this could be an idea to consider for a future version of Groovy (5.0)

> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>      Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> In some other languages (Scala, Python, Haskell, Java 14 switches) every 
> statement like if..else, for, switch... is indeed an expression that returns 
> a value (usually the last one computed is implicitly returned as in Groovy).
> Would it be possible to include something like conditional expression, for 
> comprehensions and switch expressions as a native groovy feature? I think it 
> would simplify writing DSLs and maybe in some cases making groovy code neater 
> and readable
> Using closures it is possible to write "conditional expressions" without 
> using the conditional operator, something like:
> {quote}{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" 
> }.call()}}{quote}
> but maybe if groovy supports expression this could be written as
> {quote}{{def pillToTake = if candidate.name == "Neo" then "red" else 
> "blue"}}{quote}
> or maybe using switch expression to include more complex cases
> {quote}def trainingSchedule = switch(date) \{
> case \{ isHoliday(it) }: return ['Rest']   
> case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
> Push-Ups', '20 Crunches']   
> case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 
> Tractions', '30 Squats']   
> default: return ['Run 30m']
> }{quote}
> I've not really dug deep in how the groovy compiler works but maybe 
> recognizing these expression, "wrapping" them in a closure and calling that 
> closure could be done automatically?
> For comprehensions maybe are a little bit more tricky to implement as a 
> native groovy feature and using .collect(..) the code is equally readable, 
> but maybe in some cases one could prefer to use a different construct
> Actual groovy code:
> {quote}def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ 
> getPriceFor(it) \}{quote}
> Using for comprehension:
> {quote}def prices = [getPriceFor(stock) for stock in stocks if stock.market 
> == "NASDAQ"]{quote}
> It is just a matter of preference which one is more readable but this could 
> simplify the "flow" of the code in some cases.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-10 Thread Dario Arena (Jira)


[ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17318539#comment-17318539
 ] 

Dario Arena edited comment on GROOVY-10025 at 4/10/21, 4:53 PM:


[~daniel_sun] GINQ is very nice, i didn't know that this was coming in Groovy 
4. There is even an entry in the changelog under "New Features" but i missed it 
:P (maybe when Groovy 4 will come out it would need more "highlighting"). 
[~emilles] These are all very good ways to implement the "every statement is 
indeed an expression". I was thinking however of a more direct support from the 
language itself without doing the extra step of implementing these constructs. 
Maybe this could be an idea to consider for a future version of Groovy (5.0)


was (Author: darioarena87):
[~daniel_sun] GINQ is very nice, i didn't know that this was coming in Groovy 
4. There is even an entry in the changelog under "New Features" but i missed 
it. :P (maybe when Groovy 4 will come out it would need more "highlighting"). 
[~emilles] These are all very good ways to implement the "every statement is 
indeed an expression". I was thinking however of a more direct support from the 
language itself without doing the extra step of implementing these constructs. 
Maybe this could be an idea to consider for a future version of Groovy (5.0)

> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>      Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> In some other languages (Scala, Python, Haskell, Java 14 switches) every 
> statement like if..else, for, switch... is indeed an expression that returns 
> a value (usually the last one computed is implicitly returned as in Groovy).
> Would it be possible to include something like conditional expression, for 
> comprehensions and switch expressions as a native groovy feature? I think it 
> would simplify writing DSLs and maybe in some cases making groovy code neater 
> and readable
> Using closures it is possible to write "conditional expressions" without 
> using the conditional operator, something like:
> {quote}{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" 
> }.call()}}{quote}
> but maybe if groovy supports expression this could be written as
> {quote}{{def pillToTake = if candidate.name == "Neo" then "red" else 
> "blue"}}{quote}
> or maybe using switch expression to include more complex cases
> {quote}def trainingSchedule = switch(date) \{
> case \{ isHoliday(it) }: return ['Rest']   
> case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
> Push-Ups', '20 Crunches']   
> case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 
> Tractions', '30 Squats']   
> default: return ['Run 30m']
> }{quote}
> I've not really dug deep in how the groovy compiler works but maybe 
> recognizing these expression, "wrapping" them in a closure and calling that 
> closure could be done automatically?
> For comprehensions maybe are a little bit more tricky to implement as a 
> native groovy feature and using .collect(..) the code is equally readable, 
> but maybe in some cases one could prefer to use a different construct
> Actual groovy code:
> {quote}def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ 
> getPriceFor(it) \}{quote}
> Using for comprehension:
> {quote}def prices = [getPriceFor(stock) for stock in stocks if stock.market 
> == "NASDAQ"]{quote}
> It is just a matter of preference which one is more readable but this could 
> simplify the "flow" of the code in some cases.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-10 Thread Dario Arena (Jira)


[ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17318539#comment-17318539
 ] 

Dario Arena commented on GROOVY-10025:
--

[~abdulsubahan] GINQ is very nice, i didn't know that this was coming in Groovy 
4. There is even an entry in the changelog under "New Features" but i missed 
it. :P (maybe when Groovy 4 will come out it would need more "highlighting"). 
[~emilles] These are all very good ways to implement the "every statement is 
indeed an expression". I was thinking however of a more direct support from the 
language itself without doing the extra step of implementing these constructs. 
Maybe this could be an idea to consider for a future version of Groovy (5.0)

> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>    Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> In some other languages (Scala, Python, Haskell, Java 14 switches) every 
> statement like if..else, for, switch... is indeed an expression that returns 
> a value (usually the last one computed is implicitly returned as in Groovy).
> Would it be possible to include something like conditional expression, for 
> comprehensions and switch expressions as a native groovy feature? I think it 
> would simplify writing DSLs and maybe in some cases making groovy code neater 
> and readable
> Using closures it is possible to write "conditional expressions" without 
> using the conditional operator, something like:
> {quote}{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" 
> }.call()}}{quote}
> but maybe if groovy supports expression this could be written as
> {quote}{{def pillToTake = if candidate.name == "Neo" then "red" else 
> "blue"}}{quote}
> or maybe using switch expression to include more complex cases
> {quote}def trainingSchedule = switch(date) \{
> case \{ isHoliday(it) }: return ['Rest']   
> case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
> Push-Ups', '20 Crunches']   
> case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 
> Tractions', '30 Squats']   
> default: return ['Run 30m']
> }{quote}
> I've not really dug deep in how the groovy compiler works but maybe 
> recognizing these expression, "wrapping" them in a closure and calling that 
> closure could be done automatically?
> For comprehensions maybe are a little bit more tricky to implement as a 
> native groovy feature and using .collect(..) the code is equally readable, 
> but maybe in some cases one could prefer to use a different construct
> Actual groovy code:
> {quote}def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ 
> getPriceFor(it) \}{quote}
> Using for comprehension:
> {quote}def prices = [getPriceFor(stock) for stock in stocks if stock.market 
> == "NASDAQ"]{quote}
> It is just a matter of preference which one is more readable but this could 
> simplify the "flow" of the code in some cases.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-10026) Update the GDK to better support java streams and Publish/Subscribe API

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10026:
-
Description: 
Groovy is one of the first JVM languages to introduce "internal iteration" and 
in general collections operations like collect(), find(), collate().
Maybe now that java has streams and a publish/subscribe API some of this 
operations could be reworked and implemented using some of this features.
The first thing to improve could be a lazy evaluation of chained collections 
method calls, but without introducing in groovy the need to insert a "terminal 
operation" at the end of the chain.
Just as an example if i write something like

{quote}def employeeSorted = employee.findAll \{ it.qualification == 'intern' 
}.sort\{ daysBetween(it.hired, now) }

if (monitorTop5Interns) \{
print employeeSorted.take(5)
}{quote}

When monitorTop5Interns is false there is no need to scan all the employee list 
to find all the interns because, at least at this point in time, 
"employeeSorted" is not evaluated. Even if it is true, because of the "take(5)" 
as the last operation once top 5 elements are found there is no need to scan 
the rest of the list.
Is it possible to implement some "intermediate decorator objects" that maybe 
extends they're correspective type (List, Set, Iterable, Collection...) that 
are automatically coerced to an actual concrete type (a java.util.ArrayList, a 
java.util.String...) only when they are actually evaluated (e.g. a 
"subscription" in the publish/subscribe semantics)?.
I know that for every collection one could call .stream() or wrap the 
collection in a "Producer" like in RxJava but wouldn't it be groovy-er if this 
is transparent for the users?

  was:
Groovy is one of the first JVM languages to introduce "internal iteration" and 
in general collections operations like collect(), find(), collate().
Maybe now that java has streams and a publish/subscribe API some of this 
operations could be reworked and implemented using some of this features.
The first thing to improve could be a lazy evaluation of chained collections 
method calls, but without introducing in groovy the need to insert a "terminal 
operation" at the end of the chain.
Just as an example if i write something like

{quote}def employeeSorted = employee.findAll \{ it.qualification == 'intern' 
}.sort{ daysBetween(it.hired, now) }

if (monitorTop5Interns) \{
print employeeSorted.take(5)
}{quote}

When monitorTop5Interns is false there is no need to scan all the employee list 
to find all the interns because, at least at this point in time, 
"employeeSorted" is not evaluated. Even if it is true, because of the "take(5)" 
as the last operation once top 5 elements are found there is no need to scan 
the rest of the list.
Is it possible to implement some "intermediate decorator objects" that maybe 
extends they're correspective type (List, Set, Iterable, Collection...) that 
are automatically coerced to an actual concrete type (a java.util.ArrayList, a 
java.util.String...) only when they are actually evaluated (e.g. a 
"subscription" in the publish/subscribe semantics)?.
I know that for every collection one could call .stream() or wrap the 
collection in a "Producer" like in RxJava but wouldn't it be groovy-er if this 
is transparent for the users?


> Update the GDK to better support java streams and Publish/Subscribe API
> ---
>
> Key: GROOVY-10026
> URL: https://issues.apache.org/jira/browse/GROOVY-10026
> Project: Groovy
>  Issue Type: Improvement
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: collections, evaluation, gdk, lazy, publish, stream, 
> subscribe
>
> Groovy is one of the first JVM languages to introduce "internal iteration" 
> and in general collections operations like collect(), find(), collate().
> Maybe now that java has streams and a publish/subscribe API some of this 
> operations could be reworked and implemented using some of this features.
> The first thing to improve could be a lazy evaluation of chained collections 
> method calls, but without introducing in groovy the need to insert a 
> "terminal operation" at the end of the chain.
> Just as an example if i write something like
> {quote}def employeeSorted = employee.findAll \{ it.qualification == 'intern' 
> }.sort\{ daysBetween(it.hired, now) }
> if (monitorTop5Interns) \{
> print employeeSorted.take(5)
> }{quote}
> When monitorTop5Interns is false there is no need to scan all the employee 
> 

[jira] [Created] (GROOVY-10026) Update the GDK to better support java streams and Publish/Subscribe API

2021-04-09 Thread Dario Arena (Jira)
Dario Arena created GROOVY-10026:


 Summary: Update the GDK to better support java streams and 
Publish/Subscribe API
 Key: GROOVY-10026
 URL: https://issues.apache.org/jira/browse/GROOVY-10026
 Project: Groovy
  Issue Type: Improvement
Affects Versions: 4.0.0-alpha-2
Reporter: Dario Arena


Groovy is one of the first JVM languages to introduce "internal iteration" and 
in general collections operations like collect(), find(), collate().
Maybe now that java has streams and a publish/subscribe API some of this 
operations could be reworked and implemented using some of this features.
The first thing to improve could be a lazy evaluation of chained collections 
method calls, but without introducing in groovy the need to insert a "terminal 
operation" at the end of the chain.
Just as an example if i write something like

{quote}def employeeSorted = employee.findAll { it.qualification == 'intern' 
}.sort{ daysBetween(it.hired, now) }

if (monitorTop5Interns) {
print employeeSorted.take(5)
}{quote}

When monitorTop5Interns is false there is no need to scan all the employee list 
to find all the interns because, at least at this point in time, 
"employeeSorted" is not evaluated. Even if it is true, because of the "take(5)" 
as the last operation once top 5 elements are found there is no need to scan 
the rest of the list.
Is it possible to implement some "intermediate decorator objects" that maybe 
extends they're correspective type (List, Set, Iterable, Collection...) that 
are automatically coerced to an actual concrete type (a java.util.ArrayList, a 
java.util.String...) only when they are actually evaluated (e.g. a 
"subscription" in the publish/subscribe semantics)?.
I know that for every collection one could call .stream() or wrap the 
collection in a "Producer" like in RxJava but wouldn't it be groovy-er if this 
is transparent for the users?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-10026) Update the GDK to better support java streams and Publish/Subscribe API

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10026:
-
Description: 
Groovy is one of the first JVM languages to introduce "internal iteration" and 
in general collections operations like collect(), find(), collate().
Maybe now that java has streams and a publish/subscribe API some of this 
operations could be reworked and implemented using some of this features.
The first thing to improve could be a lazy evaluation of chained collections 
method calls, but without introducing in groovy the need to insert a "terminal 
operation" at the end of the chain.
Just as an example if i write something like

{quote}def employeeSorted = employee.findAll \{ it.qualification == 'intern' 
}.sort{ daysBetween(it.hired, now) }

if (monitorTop5Interns) \{
print employeeSorted.take(5)
}{quote}

When monitorTop5Interns is false there is no need to scan all the employee list 
to find all the interns because, at least at this point in time, 
"employeeSorted" is not evaluated. Even if it is true, because of the "take(5)" 
as the last operation once top 5 elements are found there is no need to scan 
the rest of the list.
Is it possible to implement some "intermediate decorator objects" that maybe 
extends they're correspective type (List, Set, Iterable, Collection...) that 
are automatically coerced to an actual concrete type (a java.util.ArrayList, a 
java.util.String...) only when they are actually evaluated (e.g. a 
"subscription" in the publish/subscribe semantics)?.
I know that for every collection one could call .stream() or wrap the 
collection in a "Producer" like in RxJava but wouldn't it be groovy-er if this 
is transparent for the users?

  was:
Groovy is one of the first JVM languages to introduce "internal iteration" and 
in general collections operations like collect(), find(), collate().
Maybe now that java has streams and a publish/subscribe API some of this 
operations could be reworked and implemented using some of this features.
The first thing to improve could be a lazy evaluation of chained collections 
method calls, but without introducing in groovy the need to insert a "terminal 
operation" at the end of the chain.
Just as an example if i write something like

{quote}def employeeSorted = employee.findAll { it.qualification == 'intern' 
}.sort{ daysBetween(it.hired, now) }

if (monitorTop5Interns) {
print employeeSorted.take(5)
}{quote}

When monitorTop5Interns is false there is no need to scan all the employee list 
to find all the interns because, at least at this point in time, 
"employeeSorted" is not evaluated. Even if it is true, because of the "take(5)" 
as the last operation once top 5 elements are found there is no need to scan 
the rest of the list.
Is it possible to implement some "intermediate decorator objects" that maybe 
extends they're correspective type (List, Set, Iterable, Collection...) that 
are automatically coerced to an actual concrete type (a java.util.ArrayList, a 
java.util.String...) only when they are actually evaluated (e.g. a 
"subscription" in the publish/subscribe semantics)?.
I know that for every collection one could call .stream() or wrap the 
collection in a "Producer" like in RxJava but wouldn't it be groovy-er if this 
is transparent for the users?


> Update the GDK to better support java streams and Publish/Subscribe API
> ---
>
> Key: GROOVY-10026
> URL: https://issues.apache.org/jira/browse/GROOVY-10026
> Project: Groovy
>  Issue Type: Improvement
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: collections, evaluation, gdk, lazy, publish, stream, 
> subscribe
>
> Groovy is one of the first JVM languages to introduce "internal iteration" 
> and in general collections operations like collect(), find(), collate().
> Maybe now that java has streams and a publish/subscribe API some of this 
> operations could be reworked and implemented using some of this features.
> The first thing to improve could be a lazy evaluation of chained collections 
> method calls, but without introducing in groovy the need to insert a 
> "terminal operation" at the end of the chain.
> Just as an example if i write something like
> {quote}def employeeSorted = employee.findAll \{ it.qualification == 'intern' 
> }.sort{ daysBetween(it.hired, now) }
> if (monitorTop5Interns) \{
> print employeeSorted.take(5)
> }{quote}
> When monitorTop5Interns is false there is no need to scan all the employee 
> 

[jira] [Updated] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10025:
-
Description: 
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{quote}{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" 
}.call()}}{quote}

but maybe if groovy supports expression this could be written as

{quote}{{def pillToTake = if candidate.name == "Neo" then "red" else 
"blue"}}{quote}

or maybe using switch expression to include more complex cases

{quote}def trainingSchedule = switch(date) \{
case \{ isHoliday(it) }: return ['Rest']   
case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   
case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 Tractions', 
'30 Squats']   
default: return ['Run 30m']
}{quote}


I've not really dug deep in how the groovy compiler works but maybe recognizing 
these expression, "wrapping" them in a closure and calling that closure could 
be done automatically?

For comprehensions maybe are a little bit more tricky to implement as a native 
groovy feature and using .collect(..) the code is equally readable, but maybe 
in some cases one could prefer to use a different construct

Actual groovy code:

{quote}def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ 
getPriceFor(it) \}{quote}

Using for comprehension:

{quote}def prices = [getPriceFor(stock) for stock in stocks if stock.market == 
"NASDAQ"]{quote}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.
 

  was:
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{quote}{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" 
}.call()}}{quote}

but maybe if groovy supports expression this could be written as

{quote}{{def pillToTake = if candidate.name == "Neo" then "red" else 
"blue"}}{quote}

or maybe using switch expression to include more complex cases

{quote}def trainingSchedule = switch(date) \{
case \{ isHoliday(it) }: return ['Rest']   
case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   
case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 Tractions', 
'30 Squats']   
default: return ['Run 30m']
}{quote}


I've not really dug deep in how the groovy compiler works but maybe recognizing 
these expression, "wrapping" them in a closure and calling that closure could 
be done automatically?

For comprehensions maybe are a little bit more tricky to implement as a native 
groovy feature and using .collect(..) the code is equally readable, but maybe 
in some cases one could prefer to use a different construct

Actual groovy code:

{quote}def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ 
getPriceFor(it) \}{quote}

 
Using for comprehension:

 
def prices = [getPriceFor(stock) for stock in stocks if stock.market == 
"NASDAQ"]


It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 


> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  L

[jira] [Updated] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10025:
-
Description: 
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{quote}{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" 
}.call()}}{quote}

but maybe if groovy supports expression this could be written as

{quote}{{def pillToTake = if candidate.name == "Neo" then "red" else 
"blue"}}{quote}

or maybe using switch expression to include more complex cases

{quote}def trainingSchedule = switch(date) \{
case \{ isHoliday(it) }: return ['Rest']   
case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   
case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 Tractions', 
'30 Squats']   
default: return ['Run 30m']
}{quote}


I've not really dug deep in how the groovy compiler works but maybe recognizing 
these expression, "wrapping" them in a closure and calling that closure could 
be done automatically?

For comprehensions maybe are a little bit more tricky to implement as a native 
groovy feature and using .collect(..) the code is equally readable, but maybe 
in some cases one could prefer to use a different construct

Actual groovy code:

{quote}def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ 
getPriceFor(it) \}{quote}

 
Using for comprehension:

 
def prices = [getPriceFor(stock) for stock in stocks if stock.market == 
"NASDAQ"]


It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 

  was:
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

{quote}def trainingSchedule = switch(date) \{
case \{ isHoliday(it) }: return ['Rest']   
case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   
case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 Tractions', 
'30 Squats']   
default: return ['Run 30m']
}{quote}


I've not really dug deep in how the groovy compiler works but maybe recognizing 
these expression, "wrapping" them in a closure and calling that closure could 
be done automatically?

For comprehensions maybe are a little bit more tricky to implement as a native 
groovy feature and using .collect(..) the code is equally readable, but maybe 
in some cases one could prefer to use a different construct

Actual groovy code:

def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ getPriceFor(it) 
\}

 
Using for comprehension:

 
def prices = [getPriceFor(stock) for stock in stocks if stock.market == 
"NASDAQ"]


It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 


> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> 

[jira] [Updated] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10025:
-
Description: 
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

{quote}def trainingSchedule = switch(date) \{
case \{ isHoliday(it) }: return ['Rest']   
case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   
case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 Tractions', 
'30 Squats']   
default: return ['Run 30m']
}{quote}


I've not really dug deep in how the groovy compiler works but maybe recognizing 
these expression, "wrapping" them in a closure and calling that closure could 
be done automatically?

For comprehensions maybe are a little bit more tricky to implement as a native 
groovy feature and using .collect(..) the code is equally readable, but maybe 
in some cases one could prefer to use a different construct

Actual groovy code:

def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ getPriceFor(it) 
\}

 
Using for comprehension:

 
def prices = [getPriceFor(stock) for stock in stocks if stock.market == 
"NASDAQ"]


It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 

  was:
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

{{def trainingSchedule = switch(date) \{
case \{ isHoliday(it) }: return ['Rest']   
case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   
case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 Tractions', 
'30 Squats']   
default: return ['Run 30m']
}}}

I've not really dug deep in how the groovy compiler works but maybe recognizing 
these expression, "wrapping" them in a closure and calling that closure could 
be done automatically?

For comprehensions maybe are a little bit more tricky to implement as a native 
groovy feature and using .collect(..) the code is equally readable, but maybe 
in some cases one could prefer to use a different construct

Actual groovy code:

def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ getPriceFor(it) 
\}

 
Using for comprehension:

 
def prices = [getPriceFor(stock) for stock in stocks if stock.market == 
"NASDAQ"]


It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 


> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> In some other lang

[jira] [Updated] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10025:
-
Description: 
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

{{def trainingSchedule = switch(date) \{
case \{ isHoliday(it) }: return ['Rest']   
case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   
case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 Tractions', 
'30 Squats']   
default: return ['Run 30m']
}}}

I've not really dug deep in how the groovy compiler works but maybe recognizing 
these expression, "wrapping" them in a closure and calling that closure could 
be done automatically?

For comprehensions maybe are a little bit more tricky to implement as a native 
groovy feature and using .collect(..) the code is equally readable, but maybe 
in some cases one could prefer to use a different construct

Actual groovy code:

def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ getPriceFor(it) 
\}

 
Using for comprehension:

 
def prices = [getPriceFor(stock) for stock in stocks if stock.market == 
"NASDAQ"]


It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 

  was:
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

def trainingSchedule = switch(date) \{
case \{ isHoliday(it) }: return ['Rest']   
case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   
case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 Tractions', 
'30 Squats']   
default: return ['Run 30m']
}

I've not really dug deep in how the groovy compiler works but maybe recognizing 
these expression, "wrapping" them in a closure and calling that closure could 
be done automatically?

For comprehensions maybe are a little bit more tricky to implement as a native 
groovy feature and using .collect(..) the code is equally readable, but maybe 
in some cases one could prefer to use a different construct

Actual groovy code:

def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ getPriceFor(it) 
\}

 
Using for comprehension:

 
def prices = [getPriceFor(stock) for stock in stocks if stock.market == 
"NASDAQ"]


It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 


> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> In some other languages (Scal

[jira] [Updated] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10025:
-
Description: 
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

def trainingSchedule = switch(date) \{
case \{ isHoliday(it) }: return ['Rest']   
case  \{ date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   
case  \{date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 Tractions', 
'30 Squats']   
default: return ['Run 30m']
}

I've not really dug deep in how the groovy compiler works but maybe recognizing 
these expression, "wrapping" them in a closure and calling that closure could 
be done automatically?

For comprehensions maybe are a little bit more tricky to implement as a native 
groovy feature and using .collect(..) the code is equally readable, but maybe 
in some cases one could prefer to use a different construct

Actual groovy code:

def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ getPriceFor(it) 
\}

 
Using for comprehension:

 
def prices = [getPriceFor(stock) for stock in stocks if stock.market == 
"NASDAQ"]


It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 

  was:
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

{{
def trainingSchedule = switch(date) {
        case { isHoliday(it) }: return ['Rest']   
    case { date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   
    case {date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 
Tractions', '30 Squats']   
    default: return ['Run 30m']
}
}}

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ getPriceFor(it) }

 

{{Using for comprehension:}}

 

{{def prices = [getPriceFor(stock) for stock in stocks if stock.market == 
"NASDAQ"]}}

 

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 


> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> I

[jira] [Updated] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10025:
-
Description: 
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

{{
def trainingSchedule = switch(date) {
        case { isHoliday(it) }: return ['Rest']   
    case { date.dayOfWeek in [MONDAY, FRIDAY] }: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   
    case {date.dayOfWeek.is(WEDNESDAY) }: return ['Run 10m', '50 
Tractions', '30 Squats']   
    default: return ['Run 30m']
}
}}

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ getPriceFor(it) }

 

{{Using for comprehension:}}

 

{{def prices = [getPriceFor(stock) for stock in stocks if stock.market == 
"NASDAQ"]}}

 

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 

  was:
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

 

def trainingSchedule = switch(date)

{        case \\{isHoliday(it)}

: return ['Rest']   

    case {date.dayOfWeek in [MONDAY, FRIDAY]}: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   

    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 Tractions', 
'30 Squats']   

    default: return ['Run 30m']

{{}}}

 

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ getPriceFor(it) }

 

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 


> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
>     URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> In some oth

[jira] [Updated] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10025:
-
Description: 
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

 

def trainingSchedule = switch(date)

{        case \\{isHoliday(it)}

: return ['Rest']   

    case {date.dayOfWeek in [MONDAY, FRIDAY]}: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   

    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 Tractions', 
'30 Squats']   

    default: return ['Run 30m']

{{}}}

 

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

def prices = stocks.filter \{ it.market == "NASDAQ"}.collect\{ getPriceFor(it) }

 

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 

  was:
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

 

def trainingSchedule = switch(date) {   

    case \{isHoliday(it)}: return ['Rest']   

    case \{date.dayOfWeek in [MONDAY, FRIDAY]}: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   

    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 Tractions', 
'30 Squats']   

    default: return ['Run 30m']

{{}}}

 

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

{{def prices = stocks.collect

{ getPriceFor(it) }

}}

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 


> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> In some other languages (Scala, Python, Haskell, Java 14 switches) every 
> statement like

[jira] [Updated] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10025:
-
Description: 
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

 

def trainingSchedule = switch(date) {   

    case \{isHoliday(it)}: return ['Rest']   

    case \{date.dayOfWeek in [MONDAY, FRIDAY]}: return ['Run 15m', '40 
Push-Ups', '20 Crunches']   

    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 Tractions', 
'30 Squats']   

    default: return ['Run 30m']

{{}}}

 

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

{{def prices = stocks.collect

{ getPriceFor(it) }

}}

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 

  was:
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

def trainingSchedule = switch(date) {    

    case \{isHoliday(it)}: return ['Rest']{{    }}

{{    case \{date.dayOfWeek in [MONDAY, FRIDAY]}: return ['Run 15m', '40 
Push-Ups', '20 Crunches'] }}   

    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 
Tractions', '30 Squats']    

    default: return ['Run 30m']

{{}}}

 

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

{{def prices = stocks.collect

{ getPriceFor(it) }

}}

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 


> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> In some other languages (Scala, Python, Haskell, Java 14 switches) ev

[jira] [Updated] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10025:
-
Description: 
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

def trainingSchedule = switch(date) {    

    case \{isHoliday(it)}: return ['Rest']{{    }}

{{    case \{date.dayOfWeek in [MONDAY, FRIDAY]}: return ['Run 15m', '40 
Push-Ups', '20 Crunches'] }}   

    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 
Tractions', '30 Squats']    

    default: return ['Run 30m']

{{}}}{{}}

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

{{def prices = stocks.collect

{ getPriceFor(it) }

}}

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 

  was:
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

def trainingSchedule = switch(date) {

    case \{isHoliday(it)}: return ['Rest']

{{    case }}{{{date.dayOfWeek in [MONDAY, FRIDAY]}}}{{: return ['Run 15m', '40 
Push-Ups', '20 Crunches'] 

    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 
Tractions', '30 Squats']

    default: return ['Run 30m']

}

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

{\{def prices = stocks.collect{ getPriceFor(it) }}}

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 


> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> In some other languages (Scala, Python, Haskel

[jira] [Updated] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10025:
-
Description: 
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

def trainingSchedule = switch(date) {    

    case \{isHoliday(it)}: return ['Rest']{{    }}

{{    case \{date.dayOfWeek in [MONDAY, FRIDAY]}: return ['Run 15m', '40 
Push-Ups', '20 Crunches'] }}   

    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 
Tractions', '30 Squats']    

    default: return ['Run 30m']

{{}}}

 

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

{{def prices = stocks.collect

{ getPriceFor(it) }

}}

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 

  was:
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

def trainingSchedule = switch(date) {    

    case \{isHoliday(it)}: return ['Rest']{{    }}

{{    case \{date.dayOfWeek in [MONDAY, FRIDAY]}: return ['Run 15m', '40 
Push-Ups', '20 Crunches'] }}   

    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 
Tractions', '30 Squats']    

    default: return ['Run 30m']

{{}}}{{}}

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

{{def prices = stocks.collect

{ getPriceFor(it) }

}}

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 


> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> In so

[jira] [Updated] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-10025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dario Arena updated GROOVY-10025:
-
Description: 
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

def trainingSchedule = switch(date) {

    case \{isHoliday(it)}: return ['Rest']

{{    case }}{{{date.dayOfWeek in [MONDAY, FRIDAY]}}}{{: return ['Run 15m', '40 
Push-Ups', '20 Crunches'] 

    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 
Tractions', '30 Squats']

    default: return ['Run 30m']

}

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

{\{def prices = stocks.collect{ getPriceFor(it) }}}

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 

  was:
In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

{{def trainingSchedule = switch(date) {}}

{{    case \{isHoliday(it)}: return ['Rest']}}

{{    case {date.dayOfWeek in [MONDAY, FRIDAY]}: return ['Run 15m', '40 
Push-Ups', '20 Crunches'] }}

{{    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 Tractions', 
'30 Squats']}}

{{    default: return ['Run 30m']}}

{{}}}

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

{{def prices = stocks.collect\{ getPriceFor(it) }}}

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 


> "Assimilate" expressions from other languages (Scala, Python...)
> 
>
> Key: GROOVY-10025
> URL: https://issues.apache.org/jira/browse/GROOVY-10025
> Project: Groovy
>  Issue Type: Improvement
>  Components: Compiler
>Affects Versions: 4.0.0-alpha-2
>Reporter: Dario Arena
>Priority: Minor
>  Labels: expression, for, if, semantic, statement, 
> switch-statement, syntax
>
> In some other languages (Scala, Python, Haskell, Java 14 switches) every 
> statement like if..else,

[jira] [Created] (GROOVY-10025) "Assimilate" expressions from other languages (Scala, Python...)

2021-04-09 Thread Dario Arena (Jira)
Dario Arena created GROOVY-10025:


 Summary: "Assimilate" expressions from other languages (Scala, 
Python...)
 Key: GROOVY-10025
 URL: https://issues.apache.org/jira/browse/GROOVY-10025
 Project: Groovy
  Issue Type: Improvement
  Components: Compiler
Affects Versions: 4.0.0-alpha-2
Reporter: Dario Arena


In some other languages (Scala, Python, Haskell, Java 14 switches) every 
statement like if..else, for, switch... is indeed an expression that returns a 
value (usually the last one computed is implicitly returned as in Groovy).

Would it be possible to include something like conditional expression, for 
comprehensions and switch expressions as a native groovy feature? I think it 
would simplify writing DSLs and maybe in some cases making groovy code neater 
and readable

Using closures it is possible to write "conditional expressions" without using 
the conditional operator, something like:

{{def pillToTake = \{ if(candidate.name == "Neo") "red" else "blue" }.call()}}

but maybe if groovy supports expression this could be written as

{{def pillToTake = if candidate.name == "Neo" then "red" else "blue"}}

or maybe using switch expression to include more complex cases

{{def trainingSchedule = switch(date) {}}

{{    case \{isHoliday(it)}: return ['Rest']}}

{{    case {date.dayOfWeek in [MONDAY, FRIDAY]}: return ['Run 15m', '40 
Push-Ups', '20 Crunches'] }}

{{    case \{date.dayOfWeek.is(WEDNESDAY)}: return ['Run 10m', '50 Tractions', 
'30 Squats']}}

{{    default: return ['Run 30m']}}

{{}}}

{{I've not really dug deep in how the groovy compiler works but maybe 
recognizing these expression, "wrapping" them in a closure and calling that 
closure could be done automatically?}}

{{For comprehensions maybe are a little bit more tricky to implement as a 
native groovy feature and using .collect(..) the code is equally readable, but 
maybe in some cases one could prefer to use a different construct}}

{{Actual groovy code:}}

{{def prices = stocks.collect\{ getPriceFor(it) }}}

{{Using for comprehension:}}

{{def prices = [getPriceFor(stock) for stock in stocks] }}

It is just a matter of preference which one is more readable but this could 
simplify the "flow" of the code in some cases.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[QE-users] QE + Wannier90 + problem with spn file

2021-01-26 Thread Arena Konta
Dear QE Users

I have a problem with spn files. I prepared calculations with various version 
of QE (6.6, 6.5, 6.2.1) with p2wannier90 and wannier90 (version 3.1). 
Everything seems to be ok, expect, when I run postwannier90 app I got error:

* Energy bands in eV, coloured by SHC

   * Berry curvature-like term for spin Hall conductivity in Ang^2

 Reading overlaps from Wannier.mmn in get_AA_R   :  Created on 26Jan2021 at 17: 
3:27

 Reading spin matrices from Wannier.spn in get_SS_R : reated on 26Jan2021 at 
17: 31: 3
      34     1000
  0.8621686762
 Exiting...
 Error: Problem reading input file Wannier.spn


What can be wrong with this file? I did diffrent calculations using ELK and the 
same wannier90 library, and everything seems to be also OK.


-- 
with regards
 
Arena Konta
The Institute of Thermophysics in Novosibirsk Scientific Center

___
Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
users mailing list users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

[Origami] 2nd Sighting

2021-01-23 Thread Xander Arena
Stunning. I liked the use of the clips along the way.

https://mymodernmet.com/juho-konkkola-origami-samurai/



*Xander D. Arena, CNMT(RS)*
602-377-2956
www.linkedin.com/in/xander


[Origami] Sighting

2021-01-23 Thread Xander Arena
Origami inspired face masks, with diagrams even

https://www.nationalgeographic.com/science/2021/01/we-need-better-face-masks-and-origami-might-help/



*Xander D. Arena, CNMT(RS)*
602-377-2956
www.linkedin.com/in/xander


Re: Feature request, but must be universallly accepted by ALL blanker authors

2020-10-02 Thread Dan Arena
Gene,

Following up more about xfce4, you should be able to go into their
Settings Manager and you can turn off the Screensaver and uncheck
Power Management under the Advanced tab. You will still want to add
the lines I mentioned before into /etc/X11/xorg.conf to prevent the
screen from going blank though.

I also think it would be a useful feature for LinuxCNC to include an
option where it itself can prevent screensavers. This would not be too
hard for them to do, see https://stackoverflow.com/a/31504731/1941627

A friend also just brought up a good point... do these machines not
have a physical emergency stop button? It seems like with them being
as dangerous as you say they are, they should. I know the couple mills
I have seen do.

I would also take this issue up with the LinuxCNC community. Is it
supposed to work like that? Does a new install from the LinuxCNC
"Install DVD" behave the same?

Thanks,
Dan
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s


Re: Feature request, but must be universallly accepted by ALL blanker authors

2020-10-02 Thread Dan Arena
Good afternoon Gene,

I am not sure about xfce, I suspect they do have settings in their GUI
settings manager to adjust what you want, but seeing as this is the
xorg mailing list I will tell you how I do it when running just X with
a simple window manager. This is probably what you want. I put these
lines into my /etc/X11/xorg.conf file on an appliance-like system for
non-linux users. The first two settings DontVTSwitch and DontZap
aren't actually related to "screen blanking", they prevent you from
using ctrl+alt+f1 and ctrl+alt+backspace. You can delete them if you
want.

Section "ServerFlags"
Option "DontVTSwitch" "on"
Option "DontZap"  "on"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection


Anyways, thanks for the entertaining email.

Happy Friday!

-Dan



On Fri, Oct 2, 2020 at 3:30 PM Gene Heskett  wrote:
>
> Greetings x-people;
>
> The LinuxCNC people have just brought it up from Debian wheezy to buster
> for a base install.
>
> But the security paranoia is going to get someone maimed or killed.
>
> Someone has decreed that the screen blanker must be subject to a new
> login before anything can be done about a runaway machine with enough
> horsepower at its disposal to kill.
>
> I have now been 3 days looking for a way to disable this blanker, trying
> several methods by way of xset, only to find 15 minutes later that its
> been undone and the blanker kicks in regardless.
>
> So I am proposing that an env variable be named an agreed upon name, and
> that its presence totally disables any and ALL screen blanker's
> regardless of whose desktop of the day is installed.  We can incorporate
> the setting of this, on launching LinuxCNC, and unsetting it when
> LinuxCNC is being shut down.
>
> If you agree that safety overrides paranoia, please consider this as part
> of the supplied X11 implementations.
>
> In the meantime, since xset seems powerless to disable it, can someone
> tell me how, in xfce4, to disable it. Haveing it kick in in 10 minutes,
> while the machine is carving a part, and a miss-command does something
> wrong that needs to be stopped as quickly as possible, having a locked
> screen requiring a login via a swarf covering equipt keyboard is simply
> dangerous to both the operator and the machine.  So I'm asking how do I
> get rid of it, totally.  We can operate a monitors power switch if we
> are done for the day, but we can't tolerate anything getting in the way
> of controlling that runaway machine with one keystroke during the day.
>
> Please advise.  And thank you.
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
> ___
> xorg@lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s


[Origami] The Unbelievable Practice of Paper Art

2020-08-26 Thread Xander Arena
Poly Verity

https://youtu.be/IUd57qIeX4A






Prevent X with ZaphodHeads from creating a :0.1 screen when monitor is disconnected

2020-03-26 Thread Dan Arena
Good morning,

This is kind of an odd setup I am doing. I am usually using 2
monitors, and want separate X screens for each, so :0.0 and :0.1, but
if the 2nd monitor is not connected I do not want :0.1 to be created.
Up until now I have been using the nvidia driver, which by default has
an option "AllowEmptyInitialConfiguration" set to false, which
prevents the :0.1 from being created when the 2nd monitor is not
connected at startup. I would like to have this same behavior with the
intel or modesetting driver and ZaphodHeads. I am currently using the
intel driver on CentOS 7 since modesetting was tearing, but if need be
I can probably switch to modesetting and turn on some other options to
stop the tearing.

With the intel driver, if the 2nd monitor is disconnected, :0.1 is
still created and is just a 1024x768 framebuffer. The main problem
this is creating is the java application I am using still thinks there
are 2 "monitors" available. It uses
GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
to determine the "number of monitors connected". The developer keeps
insisting that I fix my OS setup to report the proper number of
monitors connected. The 2nd monitor is used only for displaying a
video, which is why I want it on another X screen; this way the mouse
cannot move over there, and screenshots can be easily taken of each
monitor separate.

Any ideas?

Note, I am not using a DE, but just running startx with xinitrc that
starts a window manager (metacity).

Below is my current xorg.conf. I tried experimenting with a couple
other configurations, like removing all but the Device sections, and
turning on Option "ReprobeOutputs", with no luck. It either never
creates :0.1, or always does.

Thanks,
Dan

Section "Device"
Identifier "Videocard1"
Driver "intel"
BusID   "PCI:0:2:0"
Screen  0
Option  "ZaphodHeads"   "HDMI1"
EndSection

Section "Device"
Identifier "Videocard2"
Driver "intel"
BusID   "PCI:0:2:0"
Screen  1
Option  "ZaphodHeads"   "HDMI2"
EndSection

Section "Monitor"
Identifier "HDMI1"
Option "PreferredMode" "1920x1080"
EndSection

Section "Monitor"
Identifier "HDMI2"
Option "PreferredMode" "1920x1080"
EndSection

Section "Screen"
Identifier "screen1"
Device "Videocard1"
Monitor"HDMI1"
EndSection

Section "Screen"
Identifier "screen2"
Device "Videocard2"
Monitor"HDMI2"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen  0  "screen1"
Screen  1  "screen2"
EndSection
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s


Re: [Origami] Origami Bogata

2019-06-06 Thread Xander Arena
 > 1. Pictures from Origami Bogota 2019 (Jorge E. Jaramillo)


Hi Jorge,

Whose camel is that? It's really cool.


[Origami] Kuala Lumpur folders

2019-05-18 Thread Xander Arena
Hello,

My brother has recently moved to Kuala Lumpur and I wondered if anybody
knows of folders or folding groups in that city? His youngest son has taken
a keen, and talented, turn toward origami.

Thanks in advance,

xander

www.linkedin.com/in/xander


[chrony-users] source that exceeds maxdistance causing some odd issues

2019-05-14 Thread Dan Arena
Hello,

I am using chrony 3.2 on RHEL 7.6. I was trying to find out why my
clock seemed to be out of sync with the NTP server despite chrony
running and the 1 NTP server I had configured was online. I turned on
"log measurements" which in the chrony.conf man page says:

   measurements
   This option is identical to the rawmeasurements option,
except it logs only valid measurements from synchronised sources, i.e.
measurements which passed the RFC 5905 tests 1 through 7. This can be
useful for producing graphs of the source’s performance.

This specifically says "only valid measurements from synchronised
sources", but It was still showing log lines for the source. When I
looked at `chrony sources -v` it listed the source state as "?", which
is quite confusing because the source is not actually "unreachable". I
tracked the issue down to the source reporting a root dispersion of
5.4 seconds. If I increase the "maxdistance" then chrony shows the
source as online.

Why does chrony show the source as " '?' = unreachable", instead of
like "'x' = time may be in error"? Why are there lines in the
measurements file when the source is not synchronised? My
servers(doesn't include the NTP server) will be together on a LAN,
without a gateway to the internet. The NTP server is provided by
someone else, and I am not sure if it will be synced with an external
source. Can someone provide some insight/recommendations here please?
Should I just leave the maxdistance at 16.0? I am kind of inclined to
blame the person managing the NTP server; they should probably sync
its time regularly some how, either manually or from an external
source (over internet or GPS, whatever).

Thanks,
Dan

--
To unsubscribe email chrony-users-requ...@chrony.tuxfamily.org
with "unsubscribe" in the subject.
For help email chrony-users-requ...@chrony.tuxfamily.org
with "help" in the subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.



[QE-users] Three-dimensional plot of a band structure

2019-05-03 Thread Arena Konta
Hi all,

Any advice how to create 3D plot of a band structure in QE? It means, for 
example, axis x == kx,  y = ky and z = E ?

Thank you in advance


-- 
with regards
 
Arena Konta
The Institute of Thermophysics in Novosibirsk Scientific Center

___
Quantum Espresso is supported by MaX (www.max-centre.eu/quantum-espresso)
users mailing list users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

Re: [Origami] Ease of open back models

2019-04-29 Thread Xander Arena
On Mon, Apr 22, 2019 at 9:00 AM


*"I remember reading somewhere that more origami models are open back
because*


*some design issue but I went back to my ODS book (which is where I think
Isaw that information) and couldn't find the explanation. So would anyone*
*please enlight me?"*


I'll venture to say that it's easier to bring folds together along a
central axis, which creates an open back when folded in half. The paper can
be folded to have a closed back, but this requires a bit more paper/spacing
delegated to the spine. Since the closed back models use precious paper
resource to make the continuous surface, adding additional flaps is
slightly more challenging because less paper is available.

At least in animal origami, where creatures typically have an axial
skeleton and appendicular features...

xda

www.linkedin.com/in/xander


Re: [v8-dev] Re: Tu as 1 nouveau message

2019-04-05 Thread dominico arena
bonjour répondez moi sur mon émail : alfa.tref...@gmail.com : merci


Garanti
sans virus. www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le jeu. 4 avr. 2019 à 20:40,  a écrit :

>
>
> Le lundi 16 janvier 2012 10:50:08 UTC+1, Badoo a écrit :
>>
>> Tu as 1 nouveau message Quelqu'un s'intéresse à toi ! Tu seras la seule
>> personne pouvant lire et supprimer le message à tout moment. Tu pourras
>> aussi y répondre au travers de Badoo "Messages". Pour lire tes 1 nouveau
>> message de 1 contact, suis simplement ce lien :
>>
>>
>> 
>>  *Lis
>> tes messages…
>> *
>>
>>
>>
>> Cet email fait partie de la procédure d'envoi de messages et commentaires
>> de notre système. Si cet email n'a aucun intérêt pour toi, ignore le
>> simplement.
>>
>> Merci,
>> L'équipe Badoo
>>
>> *P.S : Remonter
>> 
>> ton profil en 1ère place pour augmenter ta visibilité. *
>>
>> Ceci est un courrier automatique. Les réponses à ce message ne sont ni
>> stockées, ni traitées. Tu as reçu ce message en tant qu'utilisateur
>> enregistré sur Badoo. Pour contrôler tes préférences de notification par
>> email modifie tes paramètres
>> 
>> .
>>
> --
> --
> v8-dev mailing list
> v8-dev@googlegroups.com
> http://groups.google.com/group/v8-dev
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "v8-dev" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/v8-dev/b3UE00CssFc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> v8-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Tinyos-help] [SmartSyS 2019] [FINAL CALL- DEADLINE APPROACHING]: Call for papers

2019-03-22 Thread Antonio Arena
[We apologize if you receive multiple copies of this CFP.]

DEADLINE APPROACHING  - CALL FOR PAPERS - IEEE SmartSys 2019
Fourth IEEE Workshop on Smart Service Systems (SmartSys)
Co-located with the IEEE International Conference on Smart Computing (SMARTCOMP 
2019)
Washington D.C., June 12th/15th, 2019
http://mpsc.umbc.edu/smartsys/2019/

Technology succeeds when it provides benefits to the society either directly or 
indirectly. Understanding the societal and economic impact and human-centered 
aspects of a smart system or technology in advance and designing the system 
a-priori with potential value-added services help spur the discoveries of new 
tools, methodologies and innovative services.  Smart service systems span 
across a variety of socio-technical facets comprising of devices, people, 
organizations, environments, and technologies to sense, actuate, control and 
assess the physical, cyber and societal artifacts of the human service systems. 
Besides the systems being self-adaptive and fault-tolerant, need to be designed 
in such a way that it can continuously increase the quality and productivity, 
the compliance and sustainability of the smart services it offers. While 
human-centered perspective and cognitive learning help create multi-facet value 
added services and catalyze the sustained economic growth of smart service 
systems, understanding the multi-modal sensing, control, heterogeneity and 
interdependency between different physical, virtual and logical components of 
such a complex system will enable the realization of new transformative smarter 
service systems. If successful, this can help improve the quality-of-service of 
the customers, quality-of-life of the citizens and quality-of returns of the 
stakeholders and investors.
Nurturing the development of smart service systems seeks for inter- and 
trans-disciplinary crosscutting research threads from system and operational 
engineering, computer science and information systems, social and behavioral 
science, computational modeling and industrial engineering etc.  The goal of 
this workshop is to bring together practitioners and researchers from both 
academia and industry in order to have a forum for discussion and technical 
presentations on the fundamental knowledge and principles of  smart service 
systems that enable the value co-creation in sensing, actuating, data 
analytics, learning, cognition, and control of human centric 
cyber-physical-social systems and future of work.. 
Research contributions are solicited in all areas pertinent to smart human 
services and systems, including:
• Innovative technologies, tools, methodologies and solutions for smart service 
systems; example includes personalized healthcare, smart energy, smart cities, 
smart manufacturing, intelligent transportation, education, precision medicine 
and agriculture, national security etc. 
• Information extraction and interpretation from sensors, actuators, smart 
phones, smart watch, and human
• Context and situational-awareness of smart service systems
• Design of people-centric services and technologies for providing better 
services such as food, transportation and places to live
• Novel architectures and interoperable solutions for internet of things
• Models and methodologies for designing complex smart systems 
• Big data analytics approaches for innovative smart services
• Modeling, analysis, co-production, and co-evolution of human activity, 
behavior and interaction for the effective adaptation and percolation of 
longitudinal smart service systems
• Role of machine learning, artificial intelligence, robotics, pervasive 
computing, control theory, information and communications technologies
• Design and developments of intelligent systems, intelligent enterprises and 
cyber-physical-social-systems
• Design of inter-dependent complex global systems such as healthcare, smart 
gird, computer networks, logistics and supply-chains, financial markets etc.
• Smart infrastructure and testbed to support the integration and test of 
autonomous systems and innovative applications

Important Dates
Paper submission: March 10, 2019 March 24, 2019 
Notification:   April 10, 2019 
Camera Ready:   April 28, 2019 
Workshop Date: June 12th or June 15th, 2019

Organizing Committees
Workshop Co-Organizers:
Nirmalya Roy, University of Maryland, Baltimore County
Gurdip Singh, Syracuse University
Sajal Das, Missouri University of Science and Technology

Technical Program Co-Chairs:
Kunal Mankodiya, University of Rhode Island, USA 
Carlo Vallati, University of Pisa, Italy

Publicity Co-chairs:
Antonio Arena, University of Pisa, Italy
Mohammadreza Abtahi, University of Rhode Island, USA

Technical Program Committee:
Ana Aguiar, University of Porto
Juan Carlos Augusto, Middlesex University
Arne.J. Berre, SINTEF
Abhishek Dubey, Vanderbilt University
Aryya Gangopadhyay, University of Maryland Baltimore County
Hassan Ghasemzadeh, Washington State University
Marco

Re: [QE-users] Problem with generating q-points for lambda

2019-03-14 Thread Arena Konta
Dear Professors Paolo and and Hari,
 
I appreciate your both help. However, I am still a little bit confused which 
weights should I chose for lambda.x file. For example:
 
bravais-lattice index =    7
 lattice parameter (alat)  =   7.9506  a.u.
 unit-cell volume  = 591.7416 (a.u.)^3
   
 celldm(1)=   7.950626  celldm(2)=   0.00  celldm(3)=   2.354822
 celldm(4)=   0.00  celldm(5)=   0.00  celldm(6)=   0.00
 
scf calculations on the mesh 4x4x4 give me:
 
number of k points=    13  Marzari-Vanderbilt smearing, width (Ry)=  0.0200
   cart. coord. in units 2pi/alat
    k(    1) = (   0.000   0.000   0.000), wk =   0.0312500 = 2
    k(    2) = (  -0.250   0.000   0.1061651), wk =   0.250 = 16
    k(    3) = (   0.500   0.000  -0.2123303), wk =   0.125 = 8
    k(    4) = (  -0.250   0.250   0.2123303), wk =   0.250 = 16
    k(    5) = (   0.500   0.250  -0.1061651), wk =   0.500 = 32
    k(    6) = (   0.250   0.250   0.000), wk =   0.125 = 8
    k(    7) = (   0.500  -0.500  -0.4246605), wk =   0.0625000 = 4
    k(    8) = (   0.000   0.000   0.2123303), wk =   0.0625000 = 4
    k(    9) = (   0.750   0.000  -0.1061651), wk =   0.250 = 16
    k(   10) = (   0.500   0.000   0.000), wk =   0.125 = 8
    k(   11) = (   0.750  -0.750  -0.4246605), wk =   0.125 = 8
    k(   12) = (   0.500  -0.500  -0.2123303), wk =   0.0625000 = 4
    k(   13) = (   0.000   0.000  -0.4246605), wk =   0.0312500 = 2
(there is no inversion in crystal structure)
 
ph.x calculations are following:         
         
        Dynamical matrices for ( 4, 4, 4)  uniform grid of q-points
 (  13q-points):
   N xq(1) xq(2) xq(3)
   1   0.0   0.0   0.0
   2  -0.25000   0.0   0.106165127
   3   0.5  -0.0  -0.212330253
   4  -0.25000   0.25000   0.212330253
   5   0.5   0.25000  -0.106165127
   6   0.25000   0.25000   0.0
   7   0.5  -0.5  -0.424660507
   8   0.0   0.0   0.212330253
   9   0.75000  -0.0  -0.106165127
  10   0.5  -0.0   0.0
  11   0.75000  -0.75000  -0.424660507
  12   0.5  -0.5  -0.212330253
  13   0.0  -0.0  -0.424660507
 
Therefore, we can say that both q- and k-meshes are "exactly" the same in scf 
and ph calculations. However, when I generate k-mesh using kpoints.x, the set 
is equivalent, but the weights and order are different:
 
      
      
       ***
 * *
 *   Welcome to the special points world!  *
 * *
 *    1 = cubic p (sc )  8 = orthor p (so )    *
 *    2 = cubic f (fcc)  9 = orthor base-cent. *
 *    3 = cubic i (bcc) 10 = orthor face-cent. *
 *    4 = hex & trig p  11 = orthor body-cent. *
 *    5 = trigonal   r  12 = monoclinic  p *
 *    6 = tetrag p (st )    13 = monocl base-cent. *
 *    7 = tetrag i (bct)    14 = triclinic   p *
 ***
 
 bravais lattice  >> 7
 filout [mesh_k]  >> TEST
 enter celldm(3)  >> 2.35482
 mesh: n1 n2 n3   >> 4 4 4
 mesh: k1 k2 k3 (0 no shift, 1 shifted) >> 0 0 0
 write all k? [f] >>
 
 # of k-points   ==    13  of    64
 
      
      13
    1   0.000  0.000  0.000   1.00
    2   0.250 -0.250  0.000   4.00
    3   0.500 -0.500  0.000   2.00
    4   0.000  0.250  0.1061652   8.00
    5   0.500 -0.250  0.1061652  16.00
    6   0.000  0.500  0.2123305   4.00
    7   0.250  0.250  0.2123305   8.00
    8   0.000  0.000  0.2123305   2.00
    9   0.500 -0.500  0.2123305   2.00
   10   0.000  0.250  0.3184957   8.00
   11   0.000  0.500  0.4246609   4.00
   12   0.250  0.250  0.4246609   4.00
   13   0.000  0.000  0.4246609   1.00
   
Which weights should I use in my el-ph calculations?
   

-- 
with regards
 
Arena Konta
The Institute of Thermophysics in Novosibirsk Scientific Center

 



___
users mailing list
users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

[Tinyos-help] [EXTENDED DEADLINE - SmartSyS 2019]: Call for papers

2019-03-12 Thread Antonio Arena
[We apologize if you receive multiple copies of this CFP.]

EXTENDED DEADLINE  - CALL FOR PAPERS - IEEE SmartSys 2019
Fourth IEEE Workshop on Smart Service Systems (SmartSys)
Co-located with the IEEE International Conference on Smart Computing (SMARTCOMP 
2019)
Washington D.C., June 12th/15th, 2019
http://mpsc.umbc.edu/smartsys/2019/

Technology succeeds when it provides benefits to the society either directly or 
indirectly. Understanding the societal and economic impact and human-centered 
aspects of a smart system or technology in advance and designing the system 
a-priori with potential value-added services help spur the discoveries of new 
tools, methodologies and innovative services.  Smart service systems span 
across a variety of socio-technical facets comprising of devices, people, 
organizations, environments, and technologies to sense, actuate, control and 
assess the physical, cyber and societal artifacts of the human service systems. 
Besides the systems being self-adaptive and fault-tolerant, need to be designed 
in such a way that it can continuously increase the quality and productivity, 
the compliance and sustainability of the smart services it offers. While 
human-centered perspective and cognitive learning help create multi-facet value 
added services and catalyze the sustained economic growth of smart service 
systems, understanding the multi-modal sensing, control, heterogeneity and 
interdependency between different physical, virtual and logical components of 
such a complex system will enable the realization of new transformative smarter 
service systems. If successful, this can help improve the quality-of-service of 
the customers, quality-of-life of the citizens and quality-of returns of the 
stakeholders and investors.
Nurturing the development of smart service systems seeks for inter- and 
trans-disciplinary crosscutting research threads from system and operational 
engineering, computer science and information systems, social and behavioral 
science, computational modeling and industrial engineering etc.  The goal of 
this workshop is to bring together practitioners and researchers from both 
academia and industry in order to have a forum for discussion and technical 
presentations on the fundamental knowledge and principles of  smart service 
systems that enable the value co-creation in sensing, actuating, data 
analytics, learning, cognition, and control of human centric 
cyber-physical-social systems and future of work.. 
Research contributions are solicited in all areas pertinent to smart human 
services and systems, including:
• Innovative technologies, tools, methodologies and solutions for smart service 
systems; example includes personalized healthcare, smart energy, smart cities, 
smart manufacturing, intelligent transportation, education, precision medicine 
and agriculture, national security etc. 
• Information extraction and interpretation from sensors, actuators, smart 
phones, smart watch, and human
• Context and situational-awareness of smart service systems
• Design of people-centric services and technologies for providing better 
services such as food, transportation and places to live
• Novel architectures and interoperable solutions for internet of things
• Models and methodologies for designing complex smart systems 
• Big data analytics approaches for innovative smart services
• Modeling, analysis, co-production, and co-evolution of human activity, 
behavior and interaction for the effective adaptation and percolation of 
longitudinal smart service systems
• Role of machine learning, artificial intelligence, robotics, pervasive 
computing, control theory, information and communications technologies
• Design and developments of intelligent systems, intelligent enterprises and 
cyber-physical-social-systems
• Design of inter-dependent complex global systems such as healthcare, smart 
gird, computer networks, logistics and supply-chains, financial markets etc.
• Smart infrastructure and testbed to support the integration and test of 
autonomous systems and innovative applications

Important Dates
Paper submission: March 10, 2019 March 24, 2019 
Notification:   April 10, 2019 
Camera Ready:   April 28, 2019 
Workshop Date: June 12th or June 15th, 2019

Organizing Committees
Workshop Co-Organizers
Nirmalya Roy, University of Maryland, Baltimore County
Gurdip Singh, Syracuse University
Sajal Das, Missouri University of Science and Technology

Technical Program Co-Chairs:
Kunal Mankodiya, University of Rhode Island, USA 
Carlo Vallati, University of Pisa, Italy

Publicity Co-chairs
Antonio Arena, University of Pisa, Italy
Mohammadreza Abtahi, University of Rhode Island, USA

Technical Program Committee
TBD


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] [DEADLINE APPROACHING - SmartSyS 2019]: Call for papers

2019-03-09 Thread Antonio Arena
[We apologize if you receive multiple copies of this CFP.]

CALL FOR PAPERS - IEEE SmartSys 2019 - DEADLINE APPROACHING
Fourth IEEE Workshop on Smart Service Systems (SmartSys)
Co-located with the IEEE International Conference on Smart Computing (SMARTCOMP 
2019)
Washington D.C., June 12th/15th, 2019
http://mpsc.umbc.edu/smartsys/2019/

Technology succeeds when it provides benefits to the society either directly or 
indirectly. Understanding the societal and economic impact and human-centered 
aspects of a smart system or technology in advance and designing the system 
a-priori with potential value-added services help spur the discoveries of new 
tools, methodologies and innovative services.  Smart service systems span 
across a variety of socio-technical facets comprising of devices, people, 
organizations, environments, and technologies to sense, actuate, control and 
assess the physical, cyber and societal artifacts of the human service systems. 
Besides the systems being self-adaptive and fault-tolerant, need to be designed 
in such a way that it can continuously increase the quality and productivity, 
the compliance and sustainability of the smart services it offers. While 
human-centered perspective and cognitive learning help create multi-facet value 
added services and catalyze the sustained economic growth of smart service 
systems, understanding the multi-modal sensing, control, heterogeneity and 
interdependency between different physical, virtual and logical components of 
such a complex system will enable the realization of new transformative smarter 
service systems. If successful, this can help improve the quality-of-service of 
the customers, quality-of-life of the citizens and quality-of returns of the 
stakeholders and investors.
Nurturing the development of smart service systems seeks for inter- and 
trans-disciplinary crosscutting research threads from system and operational 
engineering, computer science and information systems, social and behavioral 
science, computational modeling and industrial engineering etc.  The goal of 
this workshop is to bring together practitioners and researchers from both 
academia and industry in order to have a forum for discussion and technical 
presentations on the fundamental knowledge and principles of  smart service 
systems that enable the value co-creation in sensing, actuating, data 
analytics, learning, cognition, and control of human centric 
cyber-physical-social systems and future of work.. 
Research contributions are solicited in all areas pertinent to smart human 
services and systems, including:
• Innovative technologies, tools, methodologies and solutions for smart service 
systems; example includes personalized healthcare, smart energy, smart cities, 
smart manufacturing, intelligent transportation, education, precision medicine 
and agriculture, national security etc. 
• Information extraction and interpretation from sensors, actuators, smart 
phones, smart watch, and human
• Context and situational-awareness of smart service systems
• Design of people-centric services and technologies for providing better 
services such as food, transportation and places to live
• Novel architectures and interoperable solutions for internet of things
• Models and methodologies for designing complex smart systems 
• Big data analytics approaches for innovative smart services
• Modeling, analysis, co-production, and co-evolution of human activity, 
behavior and interaction for the effective adaptation and percolation of 
longitudinal smart service systems
• Role of machine learning, artificial intelligence, robotics, pervasive 
computing, control theory, information and communications technologies
• Design and developments of intelligent systems, intelligent enterprises and 
cyber-physical-social-systems
• Design of inter-dependent complex global systems such as healthcare, smart 
gird, computer networks, logistics and supply-chains, financial markets etc.
• Smart infrastructure and testbed to support the integration and test of 
autonomous systems and innovative applications

Important Dates
Paper submission: March 10, 2019 
Notification:April 10, 2019 
Camera Ready:   April 28, 2019 
Workshop Date: June 12th or June 15th, 2019

Organizing Committees
Workshop Co-Organizers
Nirmalya Roy, University of Maryland, Baltimore County
Gurdip Singh, Syracuse University
Sajal Das, Missouri University of Science and Technology

Technical Program Co-Chairs:
Kunal Mankodiya, University of Rhode Island, USA 
Carlo Vallati, University of Pisa, Italy

Publicity Co-chairs
Antonio Arena, University of Pisa, Italy
Mohammadreza Abtahi, University of Rhode Island, USA

Technical Program Committee
TBD


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] [SmartSyS 2019]: Call for papers

2019-03-04 Thread Antonio Arena
[We apologize if you receive multiple copies of this CFP.]

CALL FOR PAPERS - IEEE SmartSys 2019
Fourth IEEE Workshop on Smart Service Systems (SmartSys)
Co-located with the IEEE International Conference on Smart Computing (SMARTCOMP 
2019)
Washington D.C., June 12th/15th, 2019
http://mpsc.umbc.edu/smartsys/2019/

Technology succeeds when it provides benefits to the society either directly or 
indirectly. Understanding the societal and economic impact and human-centered 
aspects of a smart system or technology in advance and designing the system 
a-priori with potential value-added services help spur the discoveries of new 
tools, methodologies and innovative services.  Smart service systems span 
across a variety of socio-technical facets comprising of devices, people, 
organizations, environments, and technologies to sense, actuate, control and 
assess the physical, cyber and societal artifacts of the human service systems. 
Besides the systems being self-adaptive and fault-tolerant, need to be designed 
in such a way that it can continuously increase the quality and productivity, 
the compliance and sustainability of the smart services it offers. While 
human-centered perspective and cognitive learning help create multi-facet value 
added services and catalyze the sustained economic growth of smart service 
systems, understanding the multi-modal sensing, control, heterogeneity and 
interdependency between different physical, virtual and logical components of 
such a complex system will enable the realization of new transformative smarter 
service systems. If successful, this can help improve the quality-of-service of 
the customers, quality-of-life of the citizens and quality-of returns of the 
stakeholders and investors.
Nurturing the development of smart service systems seeks for inter- and 
trans-disciplinary crosscutting research threads from system and operational 
engineering, computer science and information systems, social and behavioral 
science, computational modeling and industrial engineering etc.  The goal of 
this workshop is to bring together practitioners and researchers from both 
academia and industry in order to have a forum for discussion and technical 
presentations on the fundamental knowledge and principles of  smart service 
systems that enable the value co-creation in sensing, actuating, data 
analytics, learning, cognition, and control of human centric 
cyber-physical-social systems and future of work.. 
Research contributions are solicited in all areas pertinent to smart human 
services and systems, including:
• Innovative technologies, tools, methodologies and solutions for smart service 
systems; example includes personalized healthcare, smart energy, smart cities, 
smart manufacturing, intelligent transportation, education, precision medicine 
and agriculture, national security etc. 
• Information extraction and interpretation from sensors, actuators, smart 
phones, smart watch, and human
• Context and situational-awareness of smart service systems
• Design of people-centric services and technologies for providing better 
services such as food, transportation and places to live
• Novel architectures and interoperable solutions for internet of things
• Models and methodologies for designing complex smart systems 
• Big data analytics approaches for innovative smart services
• Modeling, analysis, co-production, and co-evolution of human activity, 
behavior and interaction for the effective adaptation and percolation of 
longitudinal smart service systems
• Role of machine learning, artificial intelligence, robotics, pervasive 
computing, control theory, information and communications technologies
• Design and developments of intelligent systems, intelligent enterprises and 
cyber-physical-social-systems
• Design of inter-dependent complex global systems such as healthcare, smart 
gird, computer networks, logistics and supply-chains, financial markets etc.
• Smart infrastructure and testbed to support the integration and test of 
autonomous systems and innovative applications

Important Dates
Paper submission: March 10, 2019 
Notification:April 10, 2019 
Camera Ready:   April 28, 2019 
Workshop Date: June 12th or June 15th, 2019

Organizing Committees
Workshop Co-Organizers
Nirmalya Roy, University of Maryland, Baltimore County
Gurdip Singh, Syracuse University
Sajal Das, Missouri University of Science and Technology

Technical Program Co-Chairs:
Kunal Mankodiya, University of Rhode Island, USA 
Carlo Vallati, University of Pisa, Italy

Publicity Co-chairs
Antonio Arena, University of Pisa, Italy
Mohammadreza Abtahi, University of Rhode Island, USA

Technical Program Committee
TBD


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Confirm your subscription to Asia Tents Arena

2019-02-27 Thread Asia Tents Arena
Hello!

Hurray! You've subscribed to our site.
We need you to activate your subscription by clicking the link below: 

Click here to confirm your subscription. (
http://ata.ciptaasia.com/newsletter-subscription-successful/?wysija-page=1=confirm=89398bd9a90e648af96e91c200ac2fa5=subscribe=newsletter-subscription-successful=WyIxIl0=
)

Thank you,

The team!



Confirm your subscription to Asia Tents Arena

2019-02-27 Thread Asia Tents Arena
Hello!

Hurray! You've subscribed to our site.
We need you to activate your subscription by clicking the link below: 

Click here to confirm your subscription. (
http://asiatentsarena.com/newsletter-subscription-successful/?wysija-page=1=confirm=8ac60e33da074bf4b4bd7a61e0d93a45=subscribe=newsletter-subscription-successful=WyIxIl0=
)

Thank you,

The team!



Confirmation de votre abonnement à arena

2019-02-27 Thread arena
Bonjour ! 

Félicitations ! Vous êtes abonné(e) à notre site.
Vous devez cependant activer votre abonnement à Ma première liste en cliquant 
sur le lien ci-dessous : 

Cliquez ici pour confirmer votre abonnement. (
http://www.arena-biarritz.com/?wysija-page=1=confirm=bef4609846986bda07b91ba9490fd9aa=subscribe=subscriptions=WyIxIl0=
)

Merci, 

L'équipe !



[QE-users] Problem with generating q-points for lambda

2019-02-19 Thread Arena Konta
Hello,

I try to do el-ph calculations for noncentrosymmetric compounds (  tetragonal 
BaNiSn3-type crystal structure, with space group I4mm (no. 107)) using QE 
6.2.1: 
 
The calculations ph.x for q = 4 4 4 look follow:
 
bravais-lattice index =    7
celldm(1)=    7.90529  celldm(2)=    0.0  celldm(3)=    2.36005
 
 Dynamical matrices for ( 4, 4, 4)  uniform grid of q-points
 (  13 q-points):
   N xq(1) xq(2) xq(3)
   1   0.0   0.0   0.0
   2  -0.25000   0.0   0.105929929
   3   0.5   0.0  -0.211859857
   4  -0.25000   0.25000   0.211859857
   5   0.5   0.25000  -0.105929929
   6   0.25000   0.25000   0.0
   7   0.5  -0.5  -0.423719715
   8   0.0   0.0   0.211859857
   9   0.75000   0.0  -0.105929929
  10   0.5   0.0   0.0
  11   0.75000  -0.75000  -0.423719715
  12   0.5  -0.5  -0.211859857
  13   0.0   0.0  -0.423719715
 
 
The DOS and q-freq are OK. Then I need to generate q-points for lambda.in.  
Using kpoints.x program I get:
      
     bravais lattice  >> 7
 filout [mesh_k]  >> Mesh
 enter celldm(3)  >> 2.36005
 mesh: n1 n2 n3   >> 4 4 4
 mesh: k1 k2 k3 (0 no shift, 1 shifted) >> 0 0 0
 write all k? [f] >>
 
 # of k-points   ==    13  of    64
    13
    1   0.000  0.000  0.000   1.00
    2   0.250 -0.250  0.000   4.00
    3   0.500 -0.500  0.000   2.00
    4   0.000  0.250  0.1059300   8.00
    5   0.500 -0.250  0.1059300  16.00
    6   0.000  0.500  0.2118599   4.00
    7   0.250  0.250  0.2118599   8.00
    8   0.000  0.000  0.2118599   2.00
    9   0.500 -0.500  0.2118599   2.00
   10   0.000  0.250  0.3177899   8.00
   11   0.000  0.500  0.4237198   4.00
   12   0.250  0.250  0.4237198   4.00
   13   0.000  0.000  0.4237198   1.00
 
Question: 
(1) why the q-points are not the same (at least in the same order?
(2) how to guess weight of q-points from the output ph.x ?
      
 Thank you for any help


-- 
with regards
 
Arena Konta
The Institute of Thermophysics in Novosibirsk Scientific Center

___
users mailing list
users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

Re: [Origami] ORIGAMI TRAFFIC NOISE BARRIER

2019-01-23 Thread Xander Arena
Hello team o-list,

The concept of a modulating array for traffic noise barriers was
interesting to me.

You know how sound reduction panels often have different angles or cones to
break up the waves? Do we know of a tessellation pattern that might be
useful, so that a steel sheet might be folded in an effective manner as a
vertical barrier?

My parents are looking for a solution to the noise at their home and are
considering different options, with a steel wall being one of them,


> Date: Tue, 15 Jan 2019 13:54:06 -0500
> From: Karen Reeds 
>
> RECONFIGURABLE ORIGAMI TRAFFIC NOISE BARRIER
> > [University of Michigan] Mechanical Engineering Professor Kon-Well Wang
> > leads a project to develop reconfigurable noise-blocking "origami,"
> > designed to cut down on different types of traffic noise, which is a
> > growing public health concern in urban areas. February 8, 2018.
> >
>
> https://www.youtube.com/watch?v=zLy_JTXhmSM
>
>

xda

www.linkedin.com/in/xander


[QE-users] gfortran vs intel lead to different results of electron-phonon coupling by ph.x

2019-01-17 Thread Arena Konta
 
 
Hi everyone,
 
Using the same input files (from one of the tutorials, step-by-step), I got 
different output files of dynamical matrices when using different intel 
compilators (Intel 13, Intel 15 and Intel 16). Only the results using GNU 
gfortran are correct. In all calculations, there is no significant error of 
freqs. In turn, all scf calculations (intel and gnu) also work fine.
 
Intel 15, QE 6.3
 
 q = (    0.0   0.0   0.0 )
 
 **
 freq (    1) =   0.485694 [THz] =  16.201000 [cm-1]
 (  0.833379  0.00 -0.410303  0.00  0.370314  0.00 )
 freq (    2) =   0.485694 [THz] =  16.201000 [cm-1]
 ( -0.037325  0.00  0.626695  0.00  0.778370  0.00 )
 freq (    3) =   0.485694 [THz] =  16.201000 [cm-1]
 ( -0.551441  0.00 -0.662499  0.00  0.506960  0.00 )
 
  
 Intel 16, QE 6.3
 q = (    0.0   0.0   0.0 )
 
 **
 freq (    1) =   0.485682 [THz] =  16.200616 [cm-1]
 ( -0.635098  0.00  0.108968  0.00  0.764707  0.00 )
 freq (    2) =   0.485682 [THz] =  16.200616 [cm-1]
 ( -0.688313  0.00 -0.529109  0.00 -0.496255  0.00 )
 freq (    3) =   0.485682 [THz] =  16.200616 [cm-1]
 (  0.350537  0.00 -0.841528  0.00  0.411040  0.00 )
 
 
 
 
 Intel 15, QE 6.2.1
  q = (    0.0   0.0   0.0 )
 
 **
 freq (    1) =   0.485689 [THz] =  16.200826 [cm-1]
 (  0.164642  0.00  0.968532  0.00 -0.186653  0.00 )
 freq (    2) =   0.485689 [THz] =  16.200826 [cm-1]
 (  0.014161  0.00  0.186894  0.00  0.982278  0.00 )
 freq (    3) =   0.485689 [THz] =  16.200826 [cm-1]
 ( -0.986252  0.00  0.164367  0.00 -0.017055  0.00 )
 
 
The gfortran results are correct and the same like ones in the tutorial:
 
 q = (    0.0   0.0   0.0 )
 
 **
 freq (    1) =   0.486780 [THz] =  16.237227 [cm-1]
 (  0.550619  0.00  0.765144  0.00 -0.333726  0.00 )
 freq (    2) =   0.486780 [THz] =  16.237227 [cm-1]
 (  0.063986  0.00  0.359925  0.00  0.930784  0.00 )
 freq (    3) =   0.486780 [THz] =  16.237227 [cm-1]
 ( -0.832301  0.00  0.533862 -0.00 -0.149223  0.00 )
 
 
Default compilations (We use Intel Xeon E5-2670):
DFLAGS =  -D__FFTW3 -D__MPI -D__SCALAPACK
MPIF90 = mpif90
F90   = ifort
CC = icc
F77    = ifort
CPP    = cpp
CPPFLAGS   = -P -traditional $(DFLAGS) $(IFLAGS)
CFLAGS = -O3 $(DFLAGS) $(IFLAGS)
F90FLAGS   = $(FFLAGS) -nomodule -fpp $(FDFLAGS) $(CUDA_F90FLAGS) $(IFLAGS) 
$(MODFLAGS)
FFLAGS = -O2 -assume byterecl -g -traceback
FFLAGS_NOOPT   = -O0 -assume byterecl -g -traceback
LD = mpif90
LDFLAGS    = -static-intel
LD_LIBS    =
BLAS_LIBS  =   -lmkl_intel_lp64  -lmkl_sequential -lmkl_core
BLAS_LIBS_SWITCH = external
LAPACK_LIBS    =
LAPACK_LIBS_SWITCH = external
SCALAPACK_LIBS = -lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64
FFT_LIBS   =  -lfftw3
 
 
Everything run on 1 processor. Any suggestions?

Tnak you in advance.


Arena Konta
The Institute of Thermophysics in Novosibirsk Scientific Center

 
 
 

___
users mailing list
users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

[QE-users] q-mesh breaks symmetry

2018-12-21 Thread Arena Konta
 

Hello.


For various sets of q-meshes in ph.x I get error: q-mesh breaks symmetry How 
can I choose the right mesh for following parameters:

ibrav = 7 ( 'I 4/m'), a =  9.92 A and c =  3.52 A
 
Thank you
>  
> -- 
> with regards
>  
> Arena Konta
> The Institute of Thermophysics in Novosibirsk Scientific Center
>      
>
___
users mailing list
users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

[QE-users] Different crystal structure between pw.x and ph.in output files for non-centrosymmetric compund

2018-12-17 Thread Arena Konta










Hello,
 
I try to do calculations for noncentrosymmetric superconductor CaIrSi3 ( 
tetragonal BaNiSn3-type crystal
structure, with space group I4mm (no. 107)) using QE 6.3: 
 


   ibrav = 0
celldm(1)=7.90529
nat=5
ntyp=3
 
/
 
 
 
 CELL_PARAMETERS alat
 1.000   0.000   0.000
  0.000   1.000   0.000
  0.500   0.500   1.180025338847321
 
 
 
  
ATOMIC_POSITIONS (crystal)
Ir   0.7630900   0.7630900   0.4738200
Ca   0.4097500   0.4097500   0.1805000
Si   0.6508900   0.1508900   0.6982200
Si   0.1508900   0.6508900   0.6982200
Si   0.000   0.000   0.000
 
**
 
scf goes fine and I get at the beginning of the output:
         
   bravais-lattice index =    0
 lattice parameter (alat)  =   7.9053  a.u.
 unit-cell volume  = 582.9680 (a.u.)^3
 number of atoms/cell  =    5
 number of atomic types    =    3
 
 
 celldm(1)=   7.905290  celldm(2)=   0.00  celldm(3)=   0.00
 celldm(4)=   0.00  celldm(5)=   0.00  celldm(6)=   0.00
 
 crystal axes: (cart. coord. in units of alat)
   a(1) = (   1.00   0.00   0.00 )
   a(2) = (   0.00   1.00   0.00 )
   a(3) = (   0.50   0.50   1.180025 )
 
 reciprocal axes: (cart. coord. in units 2 pi/alat)
   b(1) = (  1.00  0.00 -0.423720 )
   b(2) = (  0.00  1.00 -0.423720 )
   b(3) = (  0.00  0.00  0.847439 )
 
 
 
But when I start ph.x calculation (in the same folder using exactly the same 
values) I get:
     
     
     bravais-lattice index =    0
 lattice parameter (alat)  =   7.9053  a.u.
 unit-cell volume  = 582.9680 (a.u.)^3
 number of atoms/cell  =    5
 number of atomic types    =    3
 
 
 
 celldm(1)=   15.81058  celldm(2)=   Infinity  celldm(3)=    0.68783
 celldm(4)=    0.0  celldm(5)=    0.36346  celldm(6)=    0.0
 
 crystal axes: (cart. coord. in units of alat)
   a(1) = (  1.  0.  0. )
   a(2) = (  0.  1.  0. )
   a(3) = (  0.5000  0.5000  1.1800 )
 
 reciprocal axes: (cart. coord. in units 2 pi/alat)
   b(1) = (  1.  0. -0.4237 )
   b(2) = (  0.  1. -0.4237 )
   b(3) = (  0.  0.  0.8474 )
 
 
Why there are such differences in celldm? 
 
-- 
with regards
 
Arena Konta
The Institute of Thermophysics in Novosibirsk Scientific Center
     

___
users mailing list
users@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/users

Re: [AsteriskBrasil] Demora para Completar ligação

2018-11-02 Thread Giliardy Arena
Boa tarde.
Obrigado pela resposta, Rogerio.

Sim , já testei como uma extensão simples e o cenário é o mesmo.

No CLI eu só enxergo LOG quando a chamada é conectada.
Não consigo ver nada diferente antes desse momento.

Via tcpdump eu vejo as tentativas, mas não consigo identificar a causa do
atraso através dele.
Me chamou atenção a tentativa do Asterisk em todos os IPs do Call Manager,
quando ele deveria se conectar diretamente ao que enviou a chamada.

Você tem alguma sugestão que eu possa fazer no CLI para tentar enxergar a
tentativa desde o recebimento do INVITE ?

Atenciosamente,
Giliardy Correia Arena.




Em qui, 1 de nov de 2018 às 19:24, Giliardy Arena 
escreveu:

> Sim !
>
> Os ramais ficam no Cisco. Eu apenas vou ligar para um numero do Asterisk
> que vai gravar as ligações.
> Veja uma nova captura
>
> A troca de mensagens OPTION com os servidores que não possuem o ramal que
> eu estou chamado do Cisco que parece estar atrasando Mas não sei como
> resolver, pois já forcei apenas um servidor no sip.conf
>
>
> 19:23:10.984078 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> INVITE sip:2001@172.17.37.129:5060 SIP/2.0
> 19:23:11.496042 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> INVITE sip:2001@172.17.37.129:5060 SIP/2.0
> 19:23:12.507249 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> INVITE sip:2001@172.17.37.129:5060 SIP/2.0
> 19:23:14.513145 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> INVITE sip:2001@172.17.37.129:5060 SIP/2.0
> 19:23:15.983468 ARP, Request who-has asterisk.ogmaster.local tell
> cucmservice01, length 46
> 19:23:15.983484 ARP, Reply asterisk.ogmaster.local is-at 00:50:56:90:dc:d1
> (oui Unknown), length 28
> 19:23:18.524150 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> INVITE sip:2001@172.17.37.129:5060 SIP/2.0
> 19:23:19.220165 IP cucmservice02.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:19.726828 IP cucmservice02.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:20.739614 IP cucmservice02.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:22.706629 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:22.755062 IP cucmservice02.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:23.213088 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:24.220115 ARP, Request who-has asterisk.ogmaster.local tell
> cucmservice02, length 46
> 19:23:24.220130 ARP, Reply asterisk.ogmaster.local is-at 00:50:56:90:dc:d1
> (oui Unknown), length 28
> 19:23:24.224829 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:24.292071 IP infocucmpub.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:24.808252 IP infocucmpub.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:25.810898 IP infocucmpub.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:26.240672 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:26.533679 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> INVITE sip:2001@172.17.37.129:5060 SIP/2.0
> 19:23:26.762741 IP cucmservice02.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:27.827149 IP infocucmpub.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:29.292152 ARP, Request who-has asterisk.ogmaster.local tell
> infocucmpub, length 46
> 19:23:29.292168 ARP, Reply asterisk.ogmaster.local is-at 00:50:56:90:dc:d1
> (oui Unknown), length 28
> 19:23:30.247068 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:30.769748 IP cucmservice02.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:31.835377 IP infocucmpub.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:34.259328 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:34.784241 IP cucmservice02.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:35.845668 IP infocucmpub.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:38.268704 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 19:23:38.797238 

Re: [AsteriskBrasil] Demora para Completar ligação

2018-11-01 Thread Giliardy Arena
ter.local.sip > cucmservice01.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.990505 IP asterisk.ogmaster.local.sip > cucmservice01.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.990611 IP asterisk.ogmaster.local.sip > infocucmpub.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.990688 IP asterisk.ogmaster.local.sip > infocucmpub.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.990777 IP asterisk.ogmaster.local.sip > infocucmpub.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.990878 IP asterisk.ogmaster.local.sip > cucmservice01.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.990994 IP asterisk.ogmaster.local.sip > cucmservice01.sip: SIP:
SIP/2.0 100 Trying
19:23:38.991069 IP asterisk.ogmaster.local.sip > cucmservice02.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.991130 IP asterisk.ogmaster.local.sip > infocucmpub.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.991218 IP asterisk.ogmaster.local.sip > cucmservice01.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.991311 IP asterisk.ogmaster.local.sip > cucmservice02.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.991460 IP asterisk.ogmaster.local.sip > infocucmpub.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.991545 IP asterisk.ogmaster.local.sip > cucmservice01.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.991636 IP asterisk.ogmaster.local.sip > cucmservice02.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.991723 IP asterisk.ogmaster.local.sip > infocucmpub.sip: SIP:
SIP/2.0 404 Not Found
19:23:38.991807 IP asterisk.ogmaster.local.sip > cucmservice01.sip: SIP:
SIP/2.0 404 Not Found
19:23:39.085356 IP asterisk.ogmaster.local.sip > cucmservice01.sip: SIP:
SIP/2.0 180 Ringing
19:23:39.797232 ARP, Request who-has 172.17.39.48 tell cucmservice02,
length 46
19:23:40.768521 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
CANCEL sip:2001@172.17.37.129:5060 SIP/2.0
19:23:40.768819 IP asterisk.ogmaster.local.sip > cucmservice01.sip: SIP:
SIP/2.0 487 Request Terminated
19:23:40.768869 IP asterisk.ogmaster.local.sip > cucmservice01.sip: SIP:
SIP/2.0 200 OK
19:23:40.771996 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
ACK sip:2001@172.17.37.129:5060 SIP/2.0
19:23:40.797266 ARP, Request who-has 172.17.39.48 tell cucmservice02,
length 46

Atenciosamente,
Giliardy Correia Arena.




Em qui, 1 de nov de 2018 às 17:30, Giliardy Arena 
escreveu:

> Oi Luiz.
> Estabeleci um SIP entre o Call Manager e o Asterisk.
> O Call Manager possui um Publisher (39.41) e os Subscribers (39.42 e
> 39.43), onde ficam os telefones registrados.
>
> Já testei tanto deixando todos os IPs possíveis do Call Manager, quanto
> apenas a referente ao registro do meu telefone no Call Manager(39.42) e a
> demora é a mesma.
>
> ;[callman01]
> ;type=friend
> ;context=ramais
> ;host=172.17.39.41
> ;disallow=all
> ;allow=ulaw
> ;allow=alaw
> ;nat=no
> ;canreinvite=yes
> ;qualify=yes
>
> [callman02]
> type=friend
> context=ramais
> host=172.17.39.42
> disallow=all
> allow=ulaw
> allow=alaw
> nat=no
> canreinvite=yes
> qualify=yes
>
> ;[callman03]
> ;type=friend
> ;context=ramais
> ;host=172.17.39.43
> ;disallow=all
> ;allow=ulaw
> ;allow=alaw
> ;nat=no
> ;canreinvite=yes
> ;qualify=yes
>
>
>
> Do lado do Call Manager está tudo configurado e eles estão falando UDP.
>
>
>
>
> No lado do Asterisk , não consegui alguma captura especifica, mas peguei
> via TCPDUMP que ele parece tentar todos antes de efetivamente fechar com o
> primeiro , embora já tenha recebido INVITE do correto.
>
>
>
> tcpdump -i ens192 dst 172.17.37.129 and src 172.17.39.41 or 172.17.39.42
> or 172.17.39.43
>
>
> 16:47:31.740674 IP *cucmservice01.sip* > asterisk.ogmaster.local.sip:
> SIP: INVITE sip:2005@172.17.37.129:5060 SIP/2.0
> 16:47:32.254307 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> INVITE sip:2005@172.17.37.129:5060 SIP/2.0
> 16:47:33.258050 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> INVITE sip:2005@172.17.37.129:5060 SIP/2.0
> 16:47:35.272582 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> INVITE sip:2005@172.17.37.129:5060 SIP/2.0
> 16:47:38.225049 IP infocucmpub.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 16:47:38.740848 IP infocucmpub.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 16:47:39.282208 IP cucmservice01.sip > asterisk.ogmaster.local.sip: SIP:
> INVITE sip:2005@172.17.37.129:5060 SIP/2.0
> 16:47:39.751717 IP infocucmpub.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 16:47:41.754129 IP infocucmpub.sip > asterisk.ogmaster.local.sip: SIP:
> OPTIONS sip:172.17.37.129:5060 SIP/2.0
> 16:47:43.224610 ARP, Request who-has asterisk.ogmaster.local tell
> infocucmpub, length 46
> 16:47:45.768670 IP infocucmpub.sip > asteri

Re: [AsteriskBrasil] Demora para Completar ligação

2018-11-01 Thread Giliardy Arena
060'
into...
[Oct 31 15:36:12] DEBUG[31072] netsock2.c: ...host '172.17.37.129' and port
''.
[Oct 31 15:36:12] DEBUG[31072] netsock2.c: Splitting '172.17.39.41' into...
[Oct 31 15:36:12] DEBUG[31072] netsock2.c: ...host '172.17.39.41' and port
''.
[Oct 31 15:36:12] DEBUG[31072] chan_sip.c: Trying to put 'SIP/2.0 404' onto
UDP socket destined for 172.17.39.41:5060




Atenciosamente,
Giliardy Correia Arena.




Em qui, 1 de nov de 2018 às 15:05, Giliardy Arena 
escreveu:

> Olá pessoal !
> Alguma ajuda ?  Alguma dica ?
>
> Obrigado
>
>
> Atenciosamente,
> Giliardy Correia Arena.
>
>
>
>
> Em qua, 31 de out de 2018 às 10:58, Giliardy Arena <
> giliardy.ar...@gmail.com> escreveu:
>
>> Olá , bom dia.
>>
>> Alguém sugere alguma forma de eu rastrear a ligação desde a chegada da
>> requisicao SIP no servidor Asterisk , para entender o motivo de demorar
>> muito para conectar? Algum debug específico, um trace , um log...
>>
>> Obrigado
>>
>> Em ter, 30 de out de 2018 20:22, Giliardy Arena 
>> escreveu:
>>
>>> Sylvio
>>>
>>> O waitforsilence é para identificar se não tiver mais conversação e
>>> encerrar a ligação.
>>> Para evitar ficar alguma chamada presa gravando eternamente.
>>>
>>>
>>> Atenciosamente,
>>> Giliardy Correia Arena.
>>>
>>>
>>>
>>>
>>> Em ter, 30 de out de 2018 às 17:57, Giliardy Arena <
>>> giliardy.ar...@gmail.com> escreveu:
>>>
>>>> Caros,
>>>> Boa tarde.
>>>>
>>>> Estou aprendendo e estudando sobre o Asterisk.
>>>> Atualmente administro um Cisco Call Manager e a minha ideia é usar o
>>>> Asterisk para gravar ligações recebidas do Call Manager.
>>>>
>>>> Fiz a integração do Asterisk com o Call Manager com sucesso.
>>>>
>>>> Estou com problema para entender o motivo do Asterisk demorar para
>>>> conectar a ligação a uma extensão. Tenho pesquisado, mas com dificuldades
>>>> para entender como debugar.
>>>>
>>>> Criei a seguinte extensão, que atende sozinha e grava.
>>>>
>>>> exten => 2005,1,Answer()
>>>> exten =>
>>>> 2005,n,MixMonitor(Ramal-${CALLERID(num)}-Em-${STRFTIME(${EPOCH},,%d-%m-%Y-%H-%M)}.wav)
>>>> exten => 2005,n,WaitForSilence(1|6)
>>>> exten => 2005,n,Hangup
>>>>
>>>>
>>>> Também experimentei o mesmo sintoma através de uma extensão que criei e
>>>> loguei numa softphone.
>>>>
>>>> - Ativei Debug full , mas não tem nenhuma mensagem importante. Apenas o
>>>> que vejo na CLI do asterisk
>>>>
>>>> - Na CLI do Asterisk só vejo log quando a chamada efetivamente é
>>>> conectada, não sei se consigo ver desde o momento que ele recebe a
>>>> requisição.
>>>>
>>>> - Fiz um TCPDUMP e realmente me parece que é o Asterisk demorando a
>>>> conectar a extensão, mas via TCPDUMP não tenho detalhes para entender e
>>>> ajustar. Demora aproximadamente 30segundos após chamar do Call Manager.
>>>>
>>>>
>>>> Alguém pode me dar um help de por onde eu posso rastrear para tentar
>>>> corrigir ?
>>>>
>>>> Obrigado!
>>>>
>>>> Atenciosamente,
>>>> Giliardy Correia Arena.
>>>>
>>>>
>>>>
___
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
Intercomunicador e acesso remoto via rede IP e telefones IP
Conheça todo o portfólio em www.Khomp.com
___
Para remover seu email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscr...@listas.asteriskbrasil.org

Re: [AsteriskBrasil] Demora para Completar ligação

2018-11-01 Thread Giliardy Arena
Olá pessoal !
Alguma ajuda ?  Alguma dica ?

Obrigado


Atenciosamente,
Giliardy Correia Arena.




Em qua, 31 de out de 2018 às 10:58, Giliardy Arena 
escreveu:

> Olá , bom dia.
>
> Alguém sugere alguma forma de eu rastrear a ligação desde a chegada da
> requisicao SIP no servidor Asterisk , para entender o motivo de demorar
> muito para conectar? Algum debug específico, um trace , um log...
>
> Obrigado
>
> Em ter, 30 de out de 2018 20:22, Giliardy Arena 
> escreveu:
>
>> Sylvio
>>
>> O waitforsilence é para identificar se não tiver mais conversação e
>> encerrar a ligação.
>> Para evitar ficar alguma chamada presa gravando eternamente.
>>
>>
>> Atenciosamente,
>> Giliardy Correia Arena.
>>
>>
>>
>>
>> Em ter, 30 de out de 2018 às 17:57, Giliardy Arena <
>> giliardy.ar...@gmail.com> escreveu:
>>
>>> Caros,
>>> Boa tarde.
>>>
>>> Estou aprendendo e estudando sobre o Asterisk.
>>> Atualmente administro um Cisco Call Manager e a minha ideia é usar o
>>> Asterisk para gravar ligações recebidas do Call Manager.
>>>
>>> Fiz a integração do Asterisk com o Call Manager com sucesso.
>>>
>>> Estou com problema para entender o motivo do Asterisk demorar para
>>> conectar a ligação a uma extensão. Tenho pesquisado, mas com dificuldades
>>> para entender como debugar.
>>>
>>> Criei a seguinte extensão, que atende sozinha e grava.
>>>
>>> exten => 2005,1,Answer()
>>> exten =>
>>> 2005,n,MixMonitor(Ramal-${CALLERID(num)}-Em-${STRFTIME(${EPOCH},,%d-%m-%Y-%H-%M)}.wav)
>>> exten => 2005,n,WaitForSilence(1|6)
>>> exten => 2005,n,Hangup
>>>
>>>
>>> Também experimentei o mesmo sintoma através de uma extensão que criei e
>>> loguei numa softphone.
>>>
>>> - Ativei Debug full , mas não tem nenhuma mensagem importante. Apenas o
>>> que vejo na CLI do asterisk
>>>
>>> - Na CLI do Asterisk só vejo log quando a chamada efetivamente é
>>> conectada, não sei se consigo ver desde o momento que ele recebe a
>>> requisição.
>>>
>>> - Fiz um TCPDUMP e realmente me parece que é o Asterisk demorando a
>>> conectar a extensão, mas via TCPDUMP não tenho detalhes para entender e
>>> ajustar. Demora aproximadamente 30segundos após chamar do Call Manager.
>>>
>>>
>>> Alguém pode me dar um help de por onde eu posso rastrear para tentar
>>> corrigir ?
>>>
>>> Obrigado!
>>>
>>> Atenciosamente,
>>> Giliardy Correia Arena.
>>>
>>>
>>>
___
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
Intercomunicador e acesso remoto via rede IP e telefones IP
Conheça todo o portfólio em www.Khomp.com
___
Para remover seu email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscr...@listas.asteriskbrasil.org

Re: [AsteriskBrasil] Demora para Completar ligação

2018-10-31 Thread Giliardy Arena
Olá , bom dia.

Alguém sugere alguma forma de eu rastrear a ligação desde a chegada da
requisicao SIP no servidor Asterisk , para entender o motivo de demorar
muito para conectar? Algum debug específico, um trace , um log...

Obrigado

Em ter, 30 de out de 2018 20:22, Giliardy Arena 
escreveu:

> Sylvio
>
> O waitforsilence é para identificar se não tiver mais conversação e
> encerrar a ligação.
> Para evitar ficar alguma chamada presa gravando eternamente.
>
>
> Atenciosamente,
> Giliardy Correia Arena.
>
>
>
>
> Em ter, 30 de out de 2018 às 17:57, Giliardy Arena <
> giliardy.ar...@gmail.com> escreveu:
>
>> Caros,
>> Boa tarde.
>>
>> Estou aprendendo e estudando sobre o Asterisk.
>> Atualmente administro um Cisco Call Manager e a minha ideia é usar o
>> Asterisk para gravar ligações recebidas do Call Manager.
>>
>> Fiz a integração do Asterisk com o Call Manager com sucesso.
>>
>> Estou com problema para entender o motivo do Asterisk demorar para
>> conectar a ligação a uma extensão. Tenho pesquisado, mas com dificuldades
>> para entender como debugar.
>>
>> Criei a seguinte extensão, que atende sozinha e grava.
>>
>> exten => 2005,1,Answer()
>> exten =>
>> 2005,n,MixMonitor(Ramal-${CALLERID(num)}-Em-${STRFTIME(${EPOCH},,%d-%m-%Y-%H-%M)}.wav)
>> exten => 2005,n,WaitForSilence(1|6)
>> exten => 2005,n,Hangup
>>
>>
>> Também experimentei o mesmo sintoma através de uma extensão que criei e
>> loguei numa softphone.
>>
>> - Ativei Debug full , mas não tem nenhuma mensagem importante. Apenas o
>> que vejo na CLI do asterisk
>>
>> - Na CLI do Asterisk só vejo log quando a chamada efetivamente é
>> conectada, não sei se consigo ver desde o momento que ele recebe a
>> requisição.
>>
>> - Fiz um TCPDUMP e realmente me parece que é o Asterisk demorando a
>> conectar a extensão, mas via TCPDUMP não tenho detalhes para entender e
>> ajustar. Demora aproximadamente 30segundos após chamar do Call Manager.
>>
>>
>> Alguém pode me dar um help de por onde eu posso rastrear para tentar
>> corrigir ?
>>
>> Obrigado!
>>
>> Atenciosamente,
>> Giliardy Correia Arena.
>>
>>
>>
___
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
Intercomunicador e acesso remoto via rede IP e telefones IP
Conheça todo o portfólio em www.Khomp.com
___
Para remover seu email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscr...@listas.asteriskbrasil.org

Re: [AsteriskBrasil] Demora para Completar ligação

2018-10-30 Thread Giliardy Arena
Sylvio

O waitforsilence é para identificar se não tiver mais conversação e
encerrar a ligação.
Para evitar ficar alguma chamada presa gravando eternamente.


Atenciosamente,
Giliardy Correia Arena.




Em ter, 30 de out de 2018 às 17:57, Giliardy Arena 
escreveu:

> Caros,
> Boa tarde.
>
> Estou aprendendo e estudando sobre o Asterisk.
> Atualmente administro um Cisco Call Manager e a minha ideia é usar o
> Asterisk para gravar ligações recebidas do Call Manager.
>
> Fiz a integração do Asterisk com o Call Manager com sucesso.
>
> Estou com problema para entender o motivo do Asterisk demorar para
> conectar a ligação a uma extensão. Tenho pesquisado, mas com dificuldades
> para entender como debugar.
>
> Criei a seguinte extensão, que atende sozinha e grava.
>
> exten => 2005,1,Answer()
> exten =>
> 2005,n,MixMonitor(Ramal-${CALLERID(num)}-Em-${STRFTIME(${EPOCH},,%d-%m-%Y-%H-%M)}.wav)
> exten => 2005,n,WaitForSilence(1|6)
> exten => 2005,n,Hangup
>
>
> Também experimentei o mesmo sintoma através de uma extensão que criei e
> loguei numa softphone.
>
> - Ativei Debug full , mas não tem nenhuma mensagem importante. Apenas o
> que vejo na CLI do asterisk
>
> - Na CLI do Asterisk só vejo log quando a chamada efetivamente é
> conectada, não sei se consigo ver desde o momento que ele recebe a
> requisição.
>
> - Fiz um TCPDUMP e realmente me parece que é o Asterisk demorando a
> conectar a extensão, mas via TCPDUMP não tenho detalhes para entender e
> ajustar. Demora aproximadamente 30segundos após chamar do Call Manager.
>
>
> Alguém pode me dar um help de por onde eu posso rastrear para tentar
> corrigir ?
>
> Obrigado!
>
> Atenciosamente,
> Giliardy Correia Arena.
>
>
>
___
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
Intercomunicador e acesso remoto via rede IP e telefones IP
Conheça todo o portfólio em www.Khomp.com
___
Para remover seu email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscr...@listas.asteriskbrasil.org

[AsteriskBrasil] Demora para Completar ligação

2018-10-30 Thread Giliardy Arena
Caros,
Boa tarde.

Estou aprendendo e estudando sobre o Asterisk.
Atualmente administro um Cisco Call Manager e a minha ideia é usar o
Asterisk para gravar ligações recebidas do Call Manager.

Fiz a integração do Asterisk com o Call Manager com sucesso.

Estou com problema para entender o motivo do Asterisk demorar para conectar
a ligação a uma extensão. Tenho pesquisado, mas com dificuldades para
entender como debugar.

Criei a seguinte extensão, que atende sozinha e grava.

exten => 2005,1,Answer()
exten =>
2005,n,MixMonitor(Ramal-${CALLERID(num)}-Em-${STRFTIME(${EPOCH},,%d-%m-%Y-%H-%M)}.wav)
exten => 2005,n,WaitForSilence(1|6)
exten => 2005,n,Hangup


Também experimentei o mesmo sintoma através de uma extensão que criei e
loguei numa softphone.

- Ativei Debug full , mas não tem nenhuma mensagem importante. Apenas o que
vejo na CLI do asterisk

- Na CLI do Asterisk só vejo log quando a chamada efetivamente é conectada,
não sei se consigo ver desde o momento que ele recebe a requisição.

- Fiz um TCPDUMP e realmente me parece que é o Asterisk demorando a
conectar a extensão, mas via TCPDUMP não tenho detalhes para entender e
ajustar. Demora aproximadamente 30segundos após chamar do Call Manager.


Alguém pode me dar um help de por onde eu posso rastrear para tentar
corrigir ?

Obrigado!

Atenciosamente,
Giliardy Correia Arena.
___
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
Intercomunicador e acesso remoto via rede IP e telefones IP
Conheça todo o portfólio em www.Khomp.com
___
Para remover seu email desta lista, basta enviar um email em branco para 
asteriskbrasil-unsubscr...@listas.asteriskbrasil.org

Re: [M100] Tandy Model 100

2018-10-26 Thread Rafael Arena
Hi!  Were you able to find a screen?

Thank you,

> On Oct 21, 2018, at 10:25 AM, C.Magaret  wrote:
> 
> Hi Rafael, I believe I have a spare that I can part with.  I’m out of the 
> country for work at the moment, but when I return on Friday I can take a look.
> 
> /CAM
> 
> -- 
> 
> Sent from my newfangled mobile technogizmo.  Please forgive any typos, 
> inelegant brevity, or nonsensical auto-corrections.
> 
>> On Oct 21, 2018, at 16:17, Rafael Arena  wrote:
>> 
>> Yes, I believe you are correct the screen seems to be failing.  There are 
>> parts of the screen that have different contrasts. When i adjust the 
>> contrast those area get brighter and darker but not at the same rate.  Do 
>> you know where I can get a spare screen?  Besides purchasing another unit 
>> from eBay?
>> 
>> Thank you,
> 
> 


Re: [M100] Tandy Model 100

2018-10-21 Thread Rafael Arena
Thank you!

> On Oct 21, 2018, at 10:25 AM, C.Magaret  wrote:
> 
> Hi Rafael, I believe I have a spare that I can part with.  I’m out of the 
> country for work at the moment, but when I return on Friday I can take a look.
> 
> /CAM
> 
> -- 
> 
> Sent from my newfangled mobile technogizmo.  Please forgive any typos, 
> inelegant brevity, or nonsensical auto-corrections.
> 
>> On Oct 21, 2018, at 16:17, Rafael Arena  wrote:
>> 
>> Yes, I believe you are correct the screen seems to be failing.  There are 
>> parts of the screen that have different contrasts. When i adjust the 
>> contrast those area get brighter and darker but not at the same rate.  Do 
>> you know where I can get a spare screen?  Besides purchasing another unit 
>> from eBay?
>> 
>> Thank you,
> 
> 


Re: [M100] Tandy Model 100

2018-10-21 Thread Rafael Arena
Yes, I believe you are correct the screen seems to be failing.  There are parts 
of the screen that have different contrasts. When i adjust the contrast those 
area get brighter and darker but not at the same rate.  Do you know where I can 
get a spare screen?  Besides purchasing another unit from eBay?

Thank you,

> On Oct 14, 2018, at 11:52 AM, Fugu ME100  wrote:
> 
> Hi
> 
> The failure you describe is not one I have seen.  The two LCDs that failed
> in my machines had horizontal bars of slightly darker contrast.  When the
> contrast was varied the bars remained slightly darker than the rest of the
> screen.  Eventually the -5V dropped to -2V as I assume the current draw
> exceeded the power supply limits.  In both cases it appeared the
> horizontal driver chip was bad and could not properly drive the LCD or
> perhaps the LCD itself was bad.  Hard to tell but replacing the LCD module
> with another one fixed the problem.
> 
> The fact you need to power cycle the unit, not just press reset, could
> mean there is a power supply issue on the motherboard.As the contrast
> is changed the LCD driver chips might be seeing the supply voltages drop
> causing erratic behavior.   May want to check that the cable to the screen
> is good and has no bad joints at the LCD module side?  Could be a simple
> dry joint on the cable connection.
> 
> On 14/10/18, 8:22 AM, "M100 on behalf of Rafael Arena"
> 
> wrote:
> 
>> Hi!
>> 
>> Yeah, everything seems stable on the +-5v side. I will try to replace all
>> the caps.  But probably the screen is going bad :(
>> 
>> Thank you,
>> 
>>>>>>> 
>>>>>>> 
>>>>> 
>>>>> 
>>> 
>>> 
> 
> 


Re: [M100] Tandy Model 100

2018-10-14 Thread Rafael Arena
Hi!

Yeah, everything seems stable on the +-5v side. I will try to replace all the 
caps.  But probably the screen is going bad :(

Thank you,

> On Oct 14, 2018, at 10:57 AM, Fugu ME100  wrote:
> 
> Hi
> 
> If the voltage change on pin 4 is smooth the voltages look right - pg 38
> of the M100 reference manual gives 0-4V as the range for V2.  It feels
> like VR1 is working correctly, indeed the whole contrast circuit would
> appear to be fine. 
> 
> With the screen plugged in can you measure the -5V and +5V voltages at
> their respective test points.  They should remain stable as the contrast
> is changed.  Also check the reset line to the LCD, it is pin 7.
> 
> It is quite tricky to test with the screen plugged in, the only way I have
> been able to do that is to take the screen out to get at the connector
> pins.  
> 
> Although it may appear good the -5V supply could still have problems due
> to bad caps.  Similarly the +5V could be bad too because of bad caps.  It
> sounds  more like a power supply issue having to power cycle to make
> things work properly.  If one cap has been replaced I would probably just
> replace all the power supply related caps.  The 10uF caps always seem to
> be dried up when I have had power supply issues.
> 
> It could also just be a bad screen they do fail themselves due to age :(
> 
> 
> On 14/10/18, 3:53 AM, "M100 on behalf of Rafael Arena"
> 
> wrote:
> 
>> Hi!
>> 
>> I tried what was suggested and I get 0-3.8v on pin four (without the
>> screen plugged in).  Can’t seem to figure out how to measure pin 4 with
>> the screen plugged in.  When i turn the contrast knob the screen starts
>> to jump around the display random line sporadically.  I have to turn the
>> computer on and off a few times in order to get it to come on.
>> 
>> Thank you,
>> 
>>> On Oct 12, 2018, at 11:57 AM, Fugu ME100  wrote:
>>> 
>>> Hi
>>> 
>>> The voltages look good.  I usually replace C86 too it is part of the -5V
>>> output circuit. 
>>> 
>>> You could try measuring the contrast voltage on the connector, pin 4,
>>> see
>>> if it smoothly transitions and there are no “jumps".  Also check the -5V
>>> is stable as you vary the contrast.  I have noticed on some screens that
>>> are failing the -5V will drop to -2V as the screen draws too much
>>> current
>>> as the contrast is varied.
>>> 
>>> If the contrast voltage is not a smooth change then you could try
>>> Brian’s
>>> suggestion to clean VR1.
>>> 
>>> Is it always missing a few lines on the screen?  Do the missing lines
>>> have
>>> a pattern?  
>>> 
>>> On 12/10/18, 2:35 AM, "M100 on behalf of Rafael Arena"
>>> 
>>> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> At times the computer comes on and when adjusting the screen display
>>>> the
>>>> image gets all distorted and then fades away.  I have checked the +5
>>>> and
>>>> -5 volts that the screen needs and I get +5 and -4.8 volts
>>>> respectively.
>>>> I changed capaciitor ‘C85’ and checked all the memory chips.  Like I
>>>> said
>>>> it works every now and again, missing a few lines on the screen.  When
>>>> i
>>>> play with the contrast knob the image distorts and some times fades
>>>> away.
>>>> Any of this makes sense? Lol
>>>> 
>>>> Thank you,
>>>> 
>>>>> On Oct 11, 2018, at 10:27 PM, Fugu ME100  wrote:
>>>>> 
>>>>> Hi 
>>>>> 
>>>>> What are the symptoms you are experiencing?
>>>>> 
>>>>> VR1 could go bad but it could also be due to oxidation on the
>>>>> resistors
>>>>> tracks.  People have tried to use contact cleaner to revive them.
>>>>> Might
>>>>> be worth looking into trying that option first?
>>>>> 
>>>>> 
>>>>> On 11/10/18, 3:57 PM, "M100 on behalf of Rafael Arena"
>>>>> >>>> minikni...@hotmail.com>
>>>>> wrote:
>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> I have a semi functional Model 100.  I believe the issue is with the
>>>>>> variable resistor ŒVR1¹.  Where can I get a replacement?  Do those
>>>>>> VR¹s
>>>>>> typically go bad?
>>>>>> 
>>>>>> Thank you,
>>>>> 
>>>>> 
>>> 
>>> 
> 
> 


Re: [M100] Tandy Model 100

2018-10-14 Thread Rafael Arena
Hi!

I tried what was suggested and I get 0-3.8v on pin four (without the screen 
plugged in).  Can’t seem to figure out how to measure pin 4 with the screen 
plugged in.  When i turn the contrast knob the screen starts to jump around the 
display random line sporadically.  I have to turn the computer on and off a few 
times in order to get it to come on.

Thank you,

> On Oct 12, 2018, at 11:57 AM, Fugu ME100  wrote:
> 
> Hi
> 
> The voltages look good.  I usually replace C86 too it is part of the -5V
> output circuit.  
> 
> You could try measuring the contrast voltage on the connector, pin 4, see
> if it smoothly transitions and there are no “jumps".  Also check the -5V
> is stable as you vary the contrast.  I have noticed on some screens that
> are failing the -5V will drop to -2V as the screen draws too much current
> as the contrast is varied.
> 
> If the contrast voltage is not a smooth change then you could try Brian’s
> suggestion to clean VR1.
> 
> Is it always missing a few lines on the screen?  Do the missing lines have
> a pattern?  
> 
> On 12/10/18, 2:35 AM, "M100 on behalf of Rafael Arena"
> 
> wrote:
> 
>> Hi,
>> 
>> At times the computer comes on and when adjusting the screen display the
>> image gets all distorted and then fades away.  I have checked the +5 and
>> -5 volts that the screen needs and I get +5 and -4.8 volts respectively.
>> I changed capaciitor ‘C85’ and checked all the memory chips.  Like I said
>> it works every now and again, missing a few lines on the screen.  When i
>> play with the contrast knob the image distorts and some times fades away.
>> Any of this makes sense? Lol
>> 
>> Thank you,
>> 
>>> On Oct 11, 2018, at 10:27 PM, Fugu ME100  wrote:
>>> 
>>> Hi 
>>> 
>>> What are the symptoms you are experiencing?
>>> 
>>> VR1 could go bad but it could also be due to oxidation on the resistors
>>> tracks.  People have tried to use contact cleaner to revive them.  Might
>>> be worth looking into trying that option first?
>>> 
>>> 
>>> On 11/10/18, 3:57 PM, "M100 on behalf of Rafael Arena"
>>> 
>>> wrote:
>>> 
>>>> Hello,
>>>> 
>>>> I have a semi functional Model 100.  I believe the issue is with the
>>>> variable resistor ŒVR1¹.  Where can I get a replacement?  Do those VR¹s
>>>> typically go bad?
>>>> 
>>>> Thank you,
>>> 
>>> 
> 
> 


Re: [M100] Tandy Model 100

2018-10-12 Thread Rafael Arena
Thanks for the suggestions, i will try that and let everyone know.

Thanks again!

> On Oct 12, 2018, at 11:57 AM, Fugu ME100  wrote:
> 
> Hi
> 
> The voltages look good.  I usually replace C86 too it is part of the -5V
> output circuit.  
> 
> You could try measuring the contrast voltage on the connector, pin 4, see
> if it smoothly transitions and there are no “jumps".  Also check the -5V
> is stable as you vary the contrast.  I have noticed on some screens that
> are failing the -5V will drop to -2V as the screen draws too much current
> as the contrast is varied.
> 
> If the contrast voltage is not a smooth change then you could try Brian’s
> suggestion to clean VR1.
> 
> Is it always missing a few lines on the screen?  Do the missing lines have
> a pattern?  
> 
> On 12/10/18, 2:35 AM, "M100 on behalf of Rafael Arena"
> 
> wrote:
> 
>> Hi,
>> 
>> At times the computer comes on and when adjusting the screen display the
>> image gets all distorted and then fades away.  I have checked the +5 and
>> -5 volts that the screen needs and I get +5 and -4.8 volts respectively.
>> I changed capaciitor ‘C85’ and checked all the memory chips.  Like I said
>> it works every now and again, missing a few lines on the screen.  When i
>> play with the contrast knob the image distorts and some times fades away.
>> Any of this makes sense? Lol
>> 
>> Thank you,
>> 
>>> On Oct 11, 2018, at 10:27 PM, Fugu ME100  wrote:
>>> 
>>> Hi 
>>> 
>>> What are the symptoms you are experiencing?
>>> 
>>> VR1 could go bad but it could also be due to oxidation on the resistors
>>> tracks.  People have tried to use contact cleaner to revive them.  Might
>>> be worth looking into trying that option first?
>>> 
>>> 
>>> On 11/10/18, 3:57 PM, "M100 on behalf of Rafael Arena"
>>> 
>>> wrote:
>>> 
>>>> Hello,
>>>> 
>>>> I have a semi functional Model 100.  I believe the issue is with the
>>>> variable resistor ŒVR1¹.  Where can I get a replacement?  Do those VR¹s
>>>> typically go bad?
>>>> 
>>>> Thank you,
>>> 
>>> 
> 
> 


Re: [M100] Tandy Model 100

2018-10-12 Thread Rafael Arena
Hi,

At times the computer comes on and when adjusting the screen display the image 
gets all distorted and then fades away.  I have checked the +5 and -5 volts 
that the screen needs and I get +5 and -4.8 volts respectively. I changed 
capaciitor ‘C85’ and checked all the memory chips.  Like I said it works every 
now and again, missing a few lines on the screen.  When i play with the 
contrast knob the image distorts and some times fades away.  Any of this makes 
sense? Lol

Thank you,


On Oct 11, 2018, at 11:15 PM, Brian White 
mailto:bw.al...@gmail.com>> wrote:

You may be able to clean it with Deoxit D5.

Drench it good. Work the knob a few times a day for a few days. Give it at 
least a week to dry out and act normal.

While the stuff is still wet, the screen may go totally blank, meaning no 
darkened pixels, or just microscopically faintly under just the right extreme 
angle of light.

But by a week maybe a little more it does dry out and the pot will either be 
better than before, or the same as before, depending on if the original problem 
was dirt & oxidization or not. But it doesn't hurt anything. (plastics, traces, 
etc)

On Thu, Oct 11, 2018, 6:57 PM Rafael Arena 
mailto:minikni...@hotmail.com>> wrote:
Hello,

I have a semi functional Model 100.  I believe the issue is with the variable 
resistor ‘VR1’.  Where can I get a replacement?  Do those VR’s typically go bad?

Thank you,


Re: [M100] Tandy Model 100

2018-10-12 Thread Rafael Arena
Hi,

At times the computer comes on and when adjusting the screen display the image 
gets all distorted and then fades away.  I have checked the +5 and -5 volts 
that the screen needs and I get +5 and -4.8 volts respectively. I changed 
capaciitor ‘C85’ and checked all the memory chips.  Like I said it works every 
now and again, missing a few lines on the screen.  When i play with the 
contrast knob the image distorts and some times fades away.  Any of this makes 
sense? Lol

Thank you,

> On Oct 11, 2018, at 10:27 PM, Fugu ME100  wrote:
> 
> Hi 
> 
> What are the symptoms you are experiencing?
> 
> VR1 could go bad but it could also be due to oxidation on the resistors
> tracks.  People have tried to use contact cleaner to revive them.  Might
> be worth looking into trying that option first?
> 
> 
> On 11/10/18, 3:57 PM, "M100 on behalf of Rafael Arena"
> 
> wrote:
> 
>> Hello,
>> 
>> I have a semi functional Model 100.  I believe the issue is with the
>> variable resistor ŒVR1¹.  Where can I get a replacement?  Do those VR¹s
>> typically go bad?
>> 
>> Thank you,
> 
> 


[M100] Tandy Model 100

2018-10-11 Thread Rafael Arena
Hello,

I have a semi functional Model 100.  I believe the issue is with the variable 
resistor ‘VR1’.  Where can I get a replacement?  Do those VR’s typically go bad?

Thank you,

[Tinyos-help] CFP [EXTDENDED DEADLINE: 15 March] - SmartSys 2018: Third IEEE Workshop on Smart Service Systems

2018-03-14 Thread Antonio Arena
[We apologize if you receive multiple copies of this CFP.]

 

CALL FOR PAPERS - IEEE SmartSys 2018 – EXTENDED DEADLINE: 15 March 2018

Third IEEE Workshop on Smart Service Systems (SmartSys)

Co-located with the IEEE International Conference on Smart Computing (SMARTCOMP 
2018)

Sicily, June 18th/20th, 2018

http://mpsc.umbc.edu/smartsys/2018/ <http://mpsc.umbc.edu/smartsys18/>
 

Technology succeeds when it provides benefits to the society either directly or 
indirectly. Understanding the societal and economic impact and human-centered 
aspects of a smart system or technology in advance and designing the system 
a-priori with potential value-added services help spur the discoveries of new 
tools, methodologies and innovative services.  Smart service systems span 
across a variety of socio-technical facets comprising of devices, people, 
organizations, environments, and technologies to sense, actuate, control and 
assess the physical, cyber and societal artifacts of the human service systems. 
Besides the systems being self-adaptive and fault-tolerant, need to be designed 
in such a way that it can continuously increase the quality and productivity, 
the compliance and sustainability of the smart services it offers. While 
human-centered perspective and cognitive learning help create multi-facet value 
added services and catalyze the sustained economic growth of smart service 
systems, understanding the multi-modal sensing, control, heterogeneity and 
interdependency between different physical, virtual and logical components of 
such a complex system will enable the realization of new transformative smarter 
service systems. If successful, this can help improve the quality-of-service of 
the customers, quality-of-life of the citizens and quality-of returns of the 
stakeholders and investors.

Nurturing the development of smart service systems seeks for inter- and 
trans-disciplinary crosscutting research threads from system and operational 
engineering, computer science and information systems, social and behavioral 
science, computational modeling and industrial engineering etc.  The goal of 
this workshop is to bring together practitioners and researchers from both 
academia and industry in order to have a forum for discussion and technical 
presentations on the fundamental knowledge and principles of  smart service 
systems that enable the value co-creation in sensing, actuating, data 
analytics, learning, cognition, and control of human centric 
cyber-physical-social systems.

Research contributions are solicited in all areas pertinent to smart human 
services and systems, including:

• Innovative tools, methodologies and solutions for smart service systems; 
example includes personalized healthcare, smart energy, smart cities, smart 
manufacturing, intelligent transportation, education, precision medicine and 
agriculture, national security etc.

• Information extraction and interpretation from sensors, actuators, smart 
phones, smart watch, and human

• Context and situational-awareness of smart service systems

• Design of people-centric services and technologies for providing better 
services such as food, transportation and places to live

• Novel architectures and interoperable solutions for internet of things

• Models and methodologies for designing systems of systems

• Big data analytics approaches for providing better customer services, and 
innovating new types of sustainable services

• Modeling, analysis, co-production, and co-evolution of human activity, 
behavior and interaction for the effective adaptation and percolation of 
longitudinal smart service systems

• Role of machine learning, artificial intelligence, robotics, pervasive 
computing, control theory, information and communications technologies

• Design and developments of intelligent systems, intelligent enterprises and 
cyber-physical-social-systems

• Design of inter-dependent complex global systems such as healthcare, smart 
gird, computer networks, logistics and supply-chains, financial markets etc.

• Smart infrastructure and testbed to support the integration of autonomous 
systems and innovative applications

 

Important Dates

Paper submission: 28 February 2018  15 March 2018

Notification:30 March 2018 

Camera Ready: 21 April 2018 

Workshop Date:June 18th or June 20th 2018

 

Organizing Committees

Workshop Co-Organizers

Nirmalya Roy, University of Maryland, Baltimore County

Gurdip Singh, Syracuse University

Sajal Das, Missouri University of Science and Technology

 

Technical Program Co-Chairs:

Jason Hallstrom, Florida Atlantic University, USA

Carlo Vallati, University of Pisa, Italy

 

Publicity Co-chairs

Sreenivasan Ramasamy Ramamurthy, University of Maryland, Baltimore County

Arena Antonio, University of Pisa, Italy

 

Technical Program Committee

Arne Berre, SINTEF, Norway

Jiannong Cao, Hong Kong Polytechnic University, Hong Kong

Salvatore Distefano, University of M

[Wien] Ce 4f open cores

2018-03-08 Thread Arena Konta
Hi All,
 
I follow the the instruction "open core" treatment of 4(5)f electrons. I have 
to shift the energy for Ce 4f by 0.8, so I changed the first line, but I don't 
know which else lines modified/remove and why?
 
 
15 0.80  0  NUMBER OF ORBITALS (EXCLUDING SPIN), SHIFT, IPRINT
1,-1,2   ( N,KAPPA,OCCUP)
2,-1,2   ( N,KAPPA,OCCUP)
2, 1,2   ( N,KAPPA,OCCUP)
2,-2,4   ( N,KAPPA,OCCUP)
3,-1,2   ( N,KAPPA,OCCUP)
3, 1,2   ( N,KAPPA,OCCUP)
3,-2,4   ( N,KAPPA,OCCUP)
3, 2,4   ( N,KAPPA,OCCUP)
3,-3,6   ( N,KAPPA,OCCUP)
4,-1,2   ( N,KAPPA,OCCUP)
4, 1,2   ( N,KAPPA,OCCUP)
4,-2,4   ( N,KAPPA,OCCUP)
4, 2,4   ( N,KAPPA,OCCUP)
4,-3,6   ( N,KAPPA,OCCUP)
0
 
Thank you in advance
Arena, Moscow
___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


[Tinyos-help] CFP (SmartSys 2018) [EXTDENDED DEADLINE]: Third IEEE Workshop on Smart Service Systems

2018-03-01 Thread Antonio Arena
[We apologize if you receive multiple copies of this CFP.]

 

CALL FOR PAPERS - IEEE SmartSys 2018 – EXTENDED DEADLINE

Third IEEE Workshop on Smart Service Systems (SmartSys)

Co-located with the IEEE International Conference on Smart Computing (SMARTCOMP 
2018)

Sicily, June 18th/20th, 2018

http://mpsc.umbc.edu/smartsys/2018/ <http://mpsc.umbc.edu/smartsys18/>
 

Technology succeeds when it provides benefits to the society either directly or 
indirectly. Understanding the societal and economic impact and human-centered 
aspects of a smart system or technology in advance and designing the system 
a-priori with potential value-added services help spur the discoveries of new 
tools, methodologies and innovative services.  Smart service systems span 
across a variety of socio-technical facets comprising of devices, people, 
organizations, environments, and technologies to sense, actuate, control and 
assess the physical, cyber and societal artifacts of the human service systems. 
Besides the systems being self-adaptive and fault-tolerant, need to be designed 
in such a way that it can continuously increase the quality and productivity, 
the compliance and sustainability of the smart services it offers. While 
human-centered perspective and cognitive learning help create multi-facet value 
added services and catalyze the sustained economic growth of smart service 
systems, understanding the multi-modal sensing, control, heterogeneity and 
interdependency between different physical, virtual and logical components of 
such a complex system will enable the realization of new transformative smarter 
service systems. If successful, this can help improve the quality-of-service of 
the customers, quality-of-life of the citizens and quality-of returns of the 
stakeholders and investors.

Nurturing the development of smart service systems seeks for inter- and 
trans-disciplinary crosscutting research threads from system and operational 
engineering, computer science and information systems, social and behavioral 
science, computational modeling and industrial engineering etc.  The goal of 
this workshop is to bring together practitioners and researchers from both 
academia and industry in order to have a forum for discussion and technical 
presentations on the fundamental knowledge and principles of  smart service 
systems that enable the value co-creation in sensing, actuating, data 
analytics, learning, cognition, and control of human centric 
cyber-physical-social systems.

Research contributions are solicited in all areas pertinent to smart human 
services and systems, including:

• Innovative tools, methodologies and solutions for smart service systems; 
example includes personalized healthcare, smart energy, smart cities, smart 
manufacturing, intelligent transportation, education, precision medicine and 
agriculture, national security etc.

• Information extraction and interpretation from sensors, actuators, smart 
phones, smart watch, and human

• Context and situational-awareness of smart service systems

• Design of people-centric services and technologies for providing better 
services such as food, transportation and places to live

• Novel architectures and interoperable solutions for internet of things

• Models and methodologies for designing systems of systems

• Big data analytics approaches for providing better customer services, and 
innovating new types of sustainable services

• Modeling, analysis, co-production, and co-evolution of human activity, 
behavior and interaction for the effective adaptation and percolation of 
longitudinal smart service systems

• Role of machine learning, artificial intelligence, robotics, pervasive 
computing, control theory, information and communications technologies

• Design and developments of intelligent systems, intelligent enterprises and 
cyber-physical-social-systems

• Design of inter-dependent complex global systems such as healthcare, smart 
gird, computer networks, logistics and supply-chains, financial markets etc.

• Smart infrastructure and testbed to support the integration of autonomous 
systems and innovative applications

 

Important Dates

Paper submission: 28 February 2018  15 March 2018

Notification:30 March 2018 

Camera Ready: 21 April 2018 

Workshop Date:June 18th or June 20th 2018

 

Organizing Committees

Workshop Co-Organizers

Nirmalya Roy, University of Maryland, Baltimore County

Gurdip Singh, Syracuse University

Sajal Das, Missouri University of Science and Technology

 

Technical Program Co-Chairs:

Jason Hallstrom, Florida Atlantic University, USA

Carlo Vallati, University of Pisa, Italy

 

Publicity Co-chairs

Sreenivasan Ramasamy Ramamurthy, University of Maryland, Baltimore County

Arena Antonio, University of Pisa, Italy

 

Technical Program Committee

Arne Berre, SINTEF, Norway

Jiannong Cao, Hong Kong Polytechnic University, Hong Kong

Salvatore Distefano, University of Messina, Italy

Ab

Re: [Pw_forum] How to set variables when get symmetry operation # N not allowed?

2018-02-08 Thread Arena Konta
Dear prof. Paolo Giannozzi

Thank you for quick response. Please, clarify me: I set variable
"use_all_frac=.true." and option "verbosity='high'" and get output showed
below. Hoverwer, I am still unable to find the right values of frac. trans
(n=1?) I have to calculate phonons,
so i need to set right k-mesh.

 8 Sym. Ops., with inversion, found


sfrac. trans.

  isym =  1 identity

 cryst.   s( 1) = ( 1  0  0  )
  ( 0  1  0  )
  ( 0  0  1  )

 cart.s( 1) = (  1.000  0.000  0.000 )
  (  0.000  1.000  0.000 )
  (  0.000  0.000  1.000 )


  isym =  2 180 deg rotation - cart. axis [0,0,1]

 cryst.   s( 2) = (-1  0  0  )
  ( 0 -1  0  )
  (-1 -1  1  )

 cart.s( 2) = ( -1.000  0.000  0.000 )
  (  0.000 -1.000  0.000 )
  (  0.000  0.000  1.000 )


  isym =  3  90 deg rotation - cart. axis [0,0,-1]

 cryst.   s( 3) = ( 0 -1  0  )
  ( 1  0  0  )
  ( 0 -1  1  )

 cart.s( 3) = (  0.000  1.000  0.000 )
  ( -1.000  0.000  0.000 )
  (  0.000  0.000  1.000 )


  isym =  4  90 deg rotation - cart. axis [0,0,1]

 cryst.   s( 4) = ( 0  1  0  )
  (-1  0  0  )
  (-1  0  1  )

 cart.s( 4) = (  0.000 -1.000  0.000 )
  (  1.000  0.000  0.000 )
  (  0.000  0.000  1.000 )


  isym =  5 inversion

 cryst.   s( 5) = (-1  0  0  )
  ( 0 -1  0  )
  ( 0  0 -1  )

 cart.s( 5) = ( -1.000  0.000  0.000 )
  (  0.000 -1.000  0.000 )
  (  0.000  0.000 -1.000 )


  isym =  6 inv. 180 deg rotation - cart. axis [0,0,1]

 cryst.   s( 6) = ( 1  0  0  )
  ( 0  1  0  )
  ( 1  1 -1  )

 cart.s( 6) = (  1.000  0.000  0.000 )
  (  0.000  1.000  0.000 )
  (  0.000  0.000 -1.000 )


  isym =  7 inv.  90 deg rotation - cart. axis [0,0,-1]

 cryst.   s( 7) = ( 0  1  0  )
  (-1  0  0  )
  ( 0  1 -1  )

 cart.s( 7) = (  0.000 -1.000  0.000 )
  (  1.000  0.000  0.000 )
  (  0.000  0.000 -1.000 )


  isym =  8 inv.  90 deg rotation - cart. axis [0,0,1]

 cryst.   s( 8) = ( 0 -1  0  )
  ( 1  0  0  )
  ( 1  0 -1  )

 cart.s( 8) = (  0.000  1.000  0.000 )
  ( -1.000  0.000  0.000 )
  (  0.000  0.000 -1.000 )


Thank you in avdance.
Arena Konta


*

Set variable "use_all_frac=.true." and option "verbosity='high'". This will
find and print all symmetries and associated fractional translations. If a
fractional translation along a crystal axis is 1/n, with n integer, the FFT
dimension along that axis must contain a factor n. If you do not need
hybrid functionals or phonons, just set variable "use_all_frac=.true."

Paolo





2018-02-07 20:18 GMT+01:00 Arena Konta <qe6u...@gmail.com>:

> Hi All,
>
> I read Troubleshooting and found out that "you can force your FFT grid to be 
> commensurate with fractional translation (set variables nr1, nr2, nr3 to 
> suitable values)". How to do this for the crystal structure presented below? 
> I have tried to this for various k-mesh, but every time I get 6 symmetry 
> operations are not compatible with FFT grid:
>  warning: symmetry operation # 2 not compatible with FFT grid.
>   -1 0 0
>0 -1 0
>   -1 -1 1
>  warning: symmetry operation # 3 not compatible with FFT grid.
>0 -1 0
>1 0 0
>0 -1 1
>  warning: symmetry operation # 4 not compatible with FFT grid.
>0 1 0
>   -1 0 0
>   -1 0 1
>  warning: symmetry operation # 6 not compatible with FFT grid.
>1 0 0
>0 1 0
>1 1 -1
&g

[Pw_forum] How to set variables when get symmetry operation # N not allowed?

2018-02-07 Thread Arena Konta
Hi All,

I read Troubleshooting and found out that "you can force your FFT grid
to be commensurate with fractional translation (set variables nr1,
nr2, nr3 to suitable values)". How to do this for the crystal
structure presented below? I have tried to this for various k-mesh,
but every time I get 6 symmetry operations are not compatible with FFT
grid:
 warning: symmetry operation # 2 not compatible with FFT grid.
  -1 0 0
   0 -1 0
  -1 -1 1
 warning: symmetry operation # 3 not compatible with FFT grid.
   0 -1 0
   1 0 0
   0 -1 1
 warning: symmetry operation # 4 not compatible with FFT grid.
   0 1 0
  -1 0 0
  -1 0 1
 warning: symmetry operation # 6 not compatible with FFT grid.
   1 0 0
   0 1 0
   1 1 -1
 warning: symmetry operation # 7 not compatible with FFT grid.
   0 1 0
  -1 0 0
   0 1 -1
 warning: symmetry operation # 8 not compatible with FFT grid.
   0 -1 0
   1 0 0
   1 0 -1


  ibrav = 0
  celldm(1) = 18.61847
  nat = 9
  ntyp = 2
/
CELL_PARAMETERS {alat}
  1.000 0.000 0.000
  0.000 1.000 0.000
  0.500 0.500 0.175193124160743

ATOMIC_POSITIONS {crystal}
A 0.3043700 0.3731200 0.000
A 0.6268800 0.3043700 0.000
A 0.6956300 0.6268800 0.000
A 0.3731200 0.6956300 0.000
A 0.000 0.000 0.000
B 0.0559100 0.2829200 0.000
B 0.7170800 0.0559100 0.000
B 0.9440900 0.7170800 0.000
B 0.2829200 0.9440900 0.000

K_POINTS automatic
10 10 18 0 0 0



-- 
with regards

Arena Konta
The Institute of Thermophysics in Novosibirsk Scientific Center
___
Pw_forum mailing list
Pw_forum@pwscf.org
http://pwscf.org/mailman/listinfo/pw_forum

[Tinyos-help] CFP: Third IEEE Workshop on Smart Service Systems (SmartSys)

2018-01-23 Thread Antonio Arena
[We apologize if you receive multiple copies of this CFP.]

 

CALL FOR PAPERS - IEEE SmartSys 2018

Third IEEE Workshop on Smart Service Systems (SmartSys)

Co-located with the IEEE International Conference on Smart Computing (SMARTCOMP 
2018)

Sicily, June 18th/20th, 2018

http://mpsc.umbc.edu/smartsys/2018/

 

Technology succeeds when it provides benefits to the society either directly or 
indirectly. Understanding the societal and economic impact and human-centered 
aspects of a smart system or technology in advance and designing the system 
a-priori with potential value-added services help spur the discoveries of new 
tools, methodologies and innovative services.  Smart service systems span 
across a variety of socio-technical facets comprising of devices, people, 
organizations, environments, and technologies to sense, actuate, control and 
assess the physical, cyber and societal artifacts of the human service systems. 
Besides the systems being self-adaptive and fault-tolerant, need to be designed 
in such a way that it can continuously increase the quality and productivity, 
the compliance and sustainability of the smart services it offers. While 
human-centered perspective and cognitive learning help create multi-facet value 
added services and catalyze the sustained economic growth of smart service 
systems, understanding the multi-modal sensing, control, heterogeneity and 
interdependency between different physical, virtual and logical components of 
such a complex system will enable the realization of new transformative smarter 
service systems. If successful, this can help improve the quality-of-service of 
the customers, quality-of-life of the citizens and quality-of returns of the 
stakeholders and investors.

Nurturing the development of smart service systems seeks for inter- and 
trans-disciplinary crosscutting research threads from system and operational 
engineering, computer science and information systems, social and behavioral 
science, computational modeling and industrial engineering etc.  The goal of 
this workshop is to bring together practitioners and researchers from both 
academia and industry in order to have a forum for discussion and technical 
presentations on the fundamental knowledge and principles of  smart service 
systems that enable the value co-creation in sensing, actuating, data 
analytics, learning, cognition, and control of human centric 
cyber-physical-social systems.

Research contributions are solicited in all areas pertinent to smart human 
services and systems, including:

• Innovative tools, methodologies and solutions for smart service systems; 
example includes personalized healthcare, smart energy, smart cities, smart 
manufacturing, intelligent transportation, education, precision medicine and 
agriculture, national security etc.

• Information extraction and interpretation from sensors, actuators, smart 
phones, smart watch, and human

• Context and situational-awareness of smart service systems

• Design of people-centric services and technologies for providing better 
services such as food, transportation and places to live

• Novel architectures and interoperable solutions for internet of things

• Models and methodologies for designing systems of systems

• Big data analytics approaches for providing better customer services, and 
innovating new types of sustainable services

• Modeling, analysis, co-production, and co-evolution of human activity, 
behavior and interaction for the effective adaptation and percolation of 
longitudinal smart service systems

• Role of machine learning, artificial intelligence, robotics, pervasive 
computing, control theory, information and communications technologies

• Design and developments of intelligent systems, intelligent enterprises and 
cyber-physical-social-systems

• Design of inter-dependent complex global systems such as healthcare, smart 
gird, computer networks, logistics and supply-chains, financial markets etc.

• Smart infrastructure and testbed to support the integration of autonomous 
systems and innovative applications

 

Important Dates

Paper submission: 28 February 2018 

Notification:30 March 2018 

Camera Ready: 21 April 2018 

Workshop Date:June 18th or June 20th 2018

 

Organizing Committees

Workshop Co-Organizers

Nirmalya Roy, University of Maryland, Baltimore County

Gurdip Singh, Syracuse University

Sajal Das, Missouri University of Science and Technology

 

 

 

Technical Program Co-Chairs:

Jason Hallstrom, Florida Atlantic University, USA

Carlo Vallati, University of Pisa, Italy

 

Publicity Co-chairs

Sreenivasan Ramasamy Ramamurthy, University of Maryland, Baltimore County

Arena Antonio, University of Pisa, Italy

 

Technical Program Committee

David Irwin, University of Massachusetts Amherst, USA

Mi Zhang, Michigan State University, USA

Aryya Gangopadhyay, University of Maryland, USA

Enzo Mingozzi, University of Pisa, Italy 

Dubey Abhishek

[Tinyos-help] CFP: Third IEEE Workshop on Smart Service Systems (SmartSys)

2017-12-23 Thread Antonio Arena
[We apologize if you receive multiple copies of this CFP.]

 

CALL FOR PAPERS - IEEE SmartSys 2018

Third IEEE Workshop on Smart Service Systems (SmartSys)

Co-located with the IEEE International Conference on Smart Computing (SMARTCOMP 
2018)

Sicily, June 18th/20th, 2018

http://mpsc.umbc.edu/smartsys/2018/ <http://mpsc.umbc.edu/smartsys18/>
 

Technology succeeds when it provides benefits to the society either directly or 
indirectly. Understanding the societal and economic impact and human-centered 
aspects of a smart system or technology in advance and designing the system 
a-priori with potential value-added services help spur the discoveries of new 
tools, methodologies and innovative services.  Smart service systems span 
across a variety of socio-technical facets comprising of devices, people, 
organizations, environments, and technologies to sense, actuate, control and 
assess the physical, cyber and societal artifacts of the human service systems. 
Besides the systems being self-adaptive and fault-tolerant, need to be designed 
in such a way that it can continuously increase the quality and productivity, 
the compliance and sustainability of the smart services it offers. While 
human-centered perspective and cognitive learning help create multi-facet value 
added services and catalyze the sustained economic growth of smart service 
systems, understanding the multi-modal sensing, control, heterogeneity and 
interdependency between different physical, virtual and logical components of 
such a complex system will enable the realization of new transformative smarter 
service systems. If successful, this can help improve the quality-of-service of 
the customers, quality-of-life of the citizens and quality-of returns of the 
stakeholders and investors.

Nurturing the development of smart service systems seeks for inter- and 
trans-disciplinary crosscutting research threads from system and operational 
engineering, computer science and information systems, social and behavioral 
science, computational modeling and industrial engineering etc.  The goal of 
this workshop is to bring together practitioners and researchers from both 
academia and industry in order to have a forum for discussion and technical 
presentations on the fundamental knowledge and principles of  smart service 
systems that enable the value co-creation in sensing, actuating, data 
analytics, learning, cognition, and control of human centric 
cyber-physical-social systems.

Research contributions are solicited in all areas pertinent to smart human 
services and systems, including:

• Innovative tools, methodologies and solutions for smart service systems; 
example includes personalized healthcare, smart energy, smart cities, smart 
manufacturing, intelligent transportation, education, precision medicine and 
agriculture, national security etc.

• Information extraction and interpretation from sensors, actuators, smart 
phones, smart watch, and human

• Context and situational-awareness of smart service systems

• Design of people-centric services and technologies for providing better 
services such as food, transportation and places to live

• Novel architectures and interoperable solutions for internet of things

• Models and methodologies for designing systems of systems

• Big data analytics approaches for providing better customer services, and 
innovating new types of sustainable services

• Modeling, analysis, co-production, and co-evolution of human activity, 
behavior and interaction for the effective adaptation and percolation of 
longitudinal smart service systems

• Role of machine learning, artificial intelligence, robotics, pervasive 
computing, control theory, information and communications technologies

• Design and developments of intelligent systems, intelligent enterprises and 
cyber-physical-social-systems

• Design of inter-dependent complex global systems such as healthcare, smart 
gird, computer networks, logistics and supply-chains, financial markets etc.

• Smart infrastructure and testbed to support the integration of autonomous 
systems and innovative applications

 

Important Dates

Paper submission: 28 February 2018 

Notification: 30 March 2018 

Camera Ready: 21 April 2018 

Workshop Date:June 18th or June 20th 2018

 

Organizing Committees

Workshop Co-Organizers

Nirmalya Roy, University of Maryland, Baltimore County

Gurdip Singh, Syracuse University

Sajal Das, Missouri University of Science and Technology

 

 

 

Technical Program Co-Chairs:

Jason Hallstrom, Florida Atlantic University, USA

Carlo Vallati, University of Pisa, Italy

 

Publicity Co-chairs

Sreenivasan Ramasamy Ramamurthy, University of Maryland, Baltimore County

Arena Antonio, University of Pisa, Italy

 

Technical Program Committee

TBD___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/li

[Wien] Limit of RmtKmax

2017-07-26 Thread Arena Konta
Dear Wien2k Users,

How to check if my calculations are beyond "approximate numerical linear 
dependency"? The below calculations were converged with the criterion -ec 
0.01 and -cc 0.01 on a fine mesh k-point to determine a good Fermi 
level energy accuracy (simple mettalic 3D compound cointaining Y and Al 
elements). No warning in scf file is appeared. From RKmax>=10 onwards the 
change in energy differences is smaller than 0.0002 Ry, hovewer I have problems 
with convergation the value of the Fermi Energy. What should I do to obtain 
better accuracy of EF?

 limit due to "approximate numerical linear dependency"

7
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.78396516
:DIS  :  CHARGE DISTANCE   (  0.00 for atom2 spin 2)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.4453031967


7.5
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.79802481
:DIS  :  CHARGE DISTANCE   (  0.00 for atom2 spin 1)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.4533274885

8.0
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.80529502
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.4605712711
:DIS  :  CHARGE DISTANCE   (  0.00 for atom2 spin 2)   0.01

8.5
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.80900587
:DIS  :  CHARGE DISTANCE   (  0.00 for atom2 spin 2)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.4674101982


9.0
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81083697
:DIS  :  CHARGE DISTANCE   (  0.00 for atom2 spin 2)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.4741770929

9.5
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81174098
:DIS  :  CHARGE DISTANCE   (  0.00 for atom2 spin 2)   0.02
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.4805577469

10
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81217067
:DIS  :  CHARGE DISTANCE   (  0.00 for atom1 spin 1)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.4863678502

10.5
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81237951
:DIS  :  CHARGE DISTANCE   (  0.00 for atom1 spin 1)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.4918538304

11
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81247632
:DIS  :  CHARGE DISTANCE   (  0.00 for atom1 spin 2)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.4970660550

11.5
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81252520
:DIS  :  CHARGE DISTANCE   (  0.00 for atom1 spin 2)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5020619935

12
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81255122
:DIS  :  CHARGE DISTANCE   (  0.00 for atom1 spin 1)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5069889516

12.5
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81257047
:DIS  :  CHARGE DISTANCE   (  0.00 for atom1 spin 1)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5113533412

13.00
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81257716
:DIS  :  CHARGE DISTANCE   (  0.00 for atom1 spin 2)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5141763509

13.5
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81258348
:DIS  :  CHARGE DISTANCE   (  0.00 for atom1 spin 2)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5142562275

14
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81258360
:DIS  :  CHARGE DISTANCE   (  0.00 for atom1 spin 2)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5122039226

14.5
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81258849
:DIS  :  CHARGE DISTANCE   (  0.00 for atom1 spin 2)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5094474844

15
:ENE  : ** TOTAL ENERGY IN Ry =   -49933.81258989
:DIS  :  CHARGE DISTANCE   (  0.00 for atom1 spin 2)   0.01
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5065405179


Thank you

Arena

___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


[visualization-api] Word Tree Separating into even sized Columns

2017-06-07 Thread Louie Arena
I've been working with a word tree for a while and I think an option to fix 
the words into columns would be a great update, also to decide what the 
width of each column would be. For example, I have a 6 column wide word 
tree and some branches of tree are shorter/longer than others. If there was 
a way to organize them all into columns so that each branch ended at the 
same length it would greatly improve the look and organization of word 
trees in my opinion. 

Does anyone know if there is a way to work around this?

Any suggestions would be greatly appreciated.

Thanks,

Louie

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/45daae19-533d-4645-87bd-85984a35f602%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Wien] Fermi energy & SO calculation

2017-03-29 Thread Arena Konta
Dear prof. Tran,

I appreciate your prompt response. I understand that the k-mesh for the band 
structure plot is not suitable for calculations of DOS.

Please, if I understand correctly:
If I increase the number of K-points, then for DOS we use Efermi from 
case.scf2? The same for Fermi surface calculation? And for Band Structure we 
always use :FER *scf -last value (from saved data)?

Thank you

Arena
___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


[Wien] Fermi energy & SO calculation

2017-03-29 Thread Arena Konta
Dear All,
I have problem with determination of the right value of Fermi energy in my SO 
calculation. Which value should I use to plot bandstructure, DOS and Fermi 
surface? When Ef  from case.scf should be equal the one from case.scf2 ? What i 
we use mJB potential?

SCF: (100 000 k-points)

lapw0
lapw1
lapwso
lapw2 -c -so
lcore
mixer

in cycle 98ETEST: .00135000   CTEST: 0
ec cc and fc_conv 1 1 1

>   stop

Then:

case.scf
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5200132045 (the last one)
case.scf2
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5200132045


Bandstructure (the same number of k-points)
lapw1 -band
lapwso
lapw2 -band -qtl -so -c 
spaghetti -so

case.scf
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5200132045 (the last one)
case.scf2
:FER  : F E R M I - ENERGY   =   0.5268010276 (!!!)



DOS (the same number of k-points)
lapw1
lapwso
lapw2 -qtl -so -c 

case.scf
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5200132045 (the last one)
case.scf2
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5200132045

Fermi surface
kgen -so (500 000 k-points)
lapw1
lapwso
lapw2 -so -fermi -c -so 

case.scf
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5200132045 (the last one)
case.scf2
:FER  : F E R M I - ENERGY(TETRAH.M.)=   0.5199105116

Thank you

Arena, Moscow

___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


Re: [Origami] Recreating Yoshizawa's unpublished models

2017-03-13 Thread Xander Arena
I'm glad I opened my O-list today, this has been an interesting thread.

I've been meaning to share a picture with you all for a few years and this
discussion has motivated me to do so. The picture is of a quickly folded
crane which I placed in a cabinet X-ray unit at a hospital I was
inspecting. This image does indeed show that it would be possible to
reconstruct anybody's models without actually deconstructing them.
http://i101.photobucket.com/albums/m44/xander77arena/Xray%20Origami.jpg

>>Does anyone know if there is any prospect of these works being archived
> >>or even just photographed, let alone displayed in a more public way?
>
> Mrs. Kiyo Yoshizawa actually has been eager to have her husband's work be
> shown in appropriate museum venues in Japan and abroad. One needs to just
> stay informed.
>

Apart from gracious traveling displays, I think it would be really neat if
we one day saw large museums begin to collect these great works (not just
AY stuff) to display them alongside other artistic masters.


Best,


-- 
xda

www.linkedin.com/in/xander
http://www.xanderfolds.com


[hibernate-dev] Hibernate ORM Project - Getting Started on "SuitableForNewContributors" Jira Issues

2017-01-19 Thread Valerie Arena
Hello,

I would like to contribute to Hibernate ORM and would like to work
on "SuitableForNewContributors" Jira Issues. How do I get assigned to an
issue?

Thank You!
Valerie Arena
https://www.linkedin.com/in/arenavalerie
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [Wien] maximum number of inequivalent k-points in case.outputkgen

2016-12-27 Thread Arena Konta


Dear Dr. Kroeker

I increased the NKP parameter in the param.inc file  (NKP  = 2), then 
rebuild wn_readbands and still the same error in program

Thanks in advance,
Arena
___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


[Wien] maximum number of inequivalent k-points in case.outputkgen

2016-12-27 Thread Arena Konta
Dear Prof. Blaha and Dr. Kroeker

Thank you for your prompt responses and attached file. As suggested Dr. 
Kroeker, I increased the numbers in arbmsh.f. The stars  disappeared in 
outputkgen files. I also used the wien2k files attached by prof. Blaha and it 
works properly. However, I still have problems with xcrysden. When I increased 
both MAX_NKPT=99 and MAX_IRNKP= 2 in original wn_readbakgen.f file and 
I get ERROR: while executing wn_readbands program: Error Message: STOP NKP TOO 
SMALL. It seems this error I get when the Wien2k No. Of INEQIVALEN K-points is 
above  (in my case, for 200 000 k-points, I get 13776  No. Of INEQUIVALENT 
K-POINTS and the xcrysden ERROR, but for 140 000 kpoints with 9324 INEQUIVALENT 
k-points there everything is working properly). For the file attached by prof. 
Blaha, I get errors during compilation (without any changes inside):

gfortran -O2 -c wn_readbakgen.f
wn_readbakgen.f:110.33:

read(line,'(43x,i7,err=111)') nkpt  
 1
Error: Positive width required in format specifier E at (1)
wn_readbakgen.f:111.72:

goto 112
1
Error: Label 112 referenced at (1) is never defined
make[1]: *** [wn_readbakgen.o] Error 1

Thanks in advance,

Arena, Moscow




Re: [Wien] maximum number of inequivalent k-points in case.outputkgen

Peter Blaha Wed, 21 Dec 2016 03:34:38 -0800
I attach a few subroutines for SRC_kgen, which have been changed for larger 
formats. They should now not produce "***" up to 100 k-points.


The problem is, that for 1 000 000 k-points, you also have to change 
wn_readbakgen.f in xcrysden. (Or you do not change the "6000 format line" in 
reduz.f ( and stay at max 99 k-points.)


When it works, please let me know.


On 12/20/2016 06:52 PM, Arena Konta wrote:

Dear win2k-user,

I am running wien version 14.2 and have similar problem to that observed in 
thread 

http://wien.zeus.theochem.tuwien.ac.narkive.com/pXOQN5tX/maximum-number-of-k-points
 - the answer does not work for me. I also try to do calculation a Fermi 
surface with a very dense k-mesh (above 10, Spacegroup: 129_P4/nmm), 
e.g.: 
x kgen 12 or using xcrysden

In my case.outputkgen file, the maximum number of inequivalent k-points can 
only be lower than . When the number of k points is larger, it gives 
* 
in the rows, as shown below:

case.outputkgen
9997(  0.234479  0.456618  0.00)9998 (  0.234479  0.456618  0.012504)
 (  0.234479  0.456618  0.025008) (  0.234479  0.456618  0.037512)
 (  0.234479  0.456618  0.050016) (  0.234479  0.456618  0.062520)
 (  0.234479  0.456618  0.075024) (  0.234479  0.456618  0.087528)
 (  0.234479  0.456618  0.100032) (  0.234479  0.456618  0.112536)
 (  0.234479  0.456618  0.125040) (  0.234479  0.456618  0.137544)
 (  0.234479  0.456618  0.150048) (  0.234479  0.456618  0.162553)

in the reduz.f file i have 100 format(i6,4x,3i4,i8,2f10.5), so everything 
seems 
to be ok. I checked this out using gfortran and ifort compilation on two 
different machine type and still the issue persists. Can you help me?


    Regards,

Arena, Moscow
___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


--

  P.Blaha
--
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-165300 FAX: +43-1-58801-165982
Email: bl...@theochem.tuwien.ac.atWIEN2k: http://www.wien2k.at
WWW:   http://www.imc.tuwien.ac.at/TC_Blaha
--

Attachment: kgen-update.tar.gz
Description: GNU Zip compressed data

___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html

___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


[Wien] maximum number of inequivalent k-points in case.outputkgen

2016-12-20 Thread Arena Konta
Dear win2k-user,

I am running wien version 14.2 and have similar problem to that observed in 
thread 
http://wien.zeus.theochem.tuwien.ac.narkive.com/pXOQN5tX/maximum-number-of-k-points
 - the answer does not work for me. I also try to do calculation a Fermi 
surface with a very dense k-mesh (above 10, Spacegroup: 129_P4/nmm), e.g.: 
x kgen 12 or using xcrysden

In my case.outputkgen file, the maximum number of inequivalent k-points can 
only be lower than . When the number of k points is larger, it gives * 
in the rows, as shown below:

case.outputkgen
9997(  0.234479  0.456618  0.00)9998 (  0.234479  0.456618  0.012504)
 (  0.234479  0.456618  0.025008) (  0.234479  0.456618  0.037512)
 (  0.234479  0.456618  0.050016) (  0.234479  0.456618  0.062520)
 (  0.234479  0.456618  0.075024) (  0.234479  0.456618  0.087528)
 (  0.234479  0.456618  0.100032) (  0.234479  0.456618  0.112536)
 (  0.234479  0.456618  0.125040) (  0.234479  0.456618  0.137544)
 (  0.234479  0.456618  0.150048) (  0.234479  0.456618  0.162553)

in the reduz.f file i have 100 format(i6,4x,3i4,i8,2f10.5), so everything seems 
to be ok. I checked this out using gfortran and ifort compilation on two 
different machine type and still the issue persists. Can you help me?


Regards,

Arena, Moscow
___
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


Manifoldfc transformation

2016-08-30 Thread Aurelien Arena
Hi!

don t know where to get the help from. I would like to write a unit test like in

https://github.com/apache/manifoldcf/blob/trunk/connectors/rss/connector/src/test/java/org/apache/manifoldcf/crawler/connectors/rss/tests/RSSSimpleCrawlTester.java

and I am wondering how to add the line that add a transformation (is it 
addPipelineStage ?)

Thanks a lot,

Aurelien


Re: [Origami] Your thoughts about models using other materials?

2016-04-06 Thread Xander Arena
> What are your thoughts regarding the use of this other materials in origami
> models? I ask because I have this hypothesis that creating models that
> include non-folding-materials is mostly frowned upon by the origami
> community. Am I right?
>

I've come to appreciate mixed media approaches to origami. To view origami
as art is to open it up to the flexibility of the creative process. I do
think it appropriate to reveal structural sequencing and methods,
particularly if one wants to take ownership in the design.
-- 
xda

www.linkedin.com/in/xander
http://www.xanderfolds.com


Re: [Origami] Origami Digest, Vol 119, Issue 3

2016-03-04 Thread Xander Arena
Hey Robert, that's fantastic. We know stents have been exemplar models of
origami in medicine for some time, but these mechanized applications are
marvelous.
Nice work!

From: Robert Lang 
>
> My collaborators at BYU have been making some pretty cool origami-inspired
> medical devices for micro-surgery:
>
>
> https://news.byu.edu/news/tiny-origami-inspired-devices-opening-new-possibil
> ities-minimally-invasive-surgery
>
> You'll see a few familiar faces, and some neat devices. Enjoy!
>
> Robert
>
> --
xda

www.linkedin.com/in/xander
http://www.xanderfolds.com


[lftp] [feature request] better output for mirror with parallel

2016-01-27 Thread Dan Arena
Hello,

When using mirror with -P/--parallel it only shows 1 file at a time and
seems to cycle through the ones that are transferring. I would like to see
a total transfer speed for the mirror job, and possibly with -v show the
active speed of them all along with the total.

Thanks,
Dan
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: SMS Gateway

2015-09-14 Thread Leonardo Arena
Il giorno lun, 14/09/2015 alle 14.53 +, Graham Johnston ha scritto:
> Today we use a product from MultiTech Systems call MultiModem iSMS to send 
> SMS text messages from our monitoring system to our on call staff.  This is a 
> 2G product and we need to replace it soon. I know there are more generic 
> cellular modems that can do texting if you are willing to put in the effort, 
> the product we use currently though has a simple HTTP based API specifically 
> to send SMS. Is anybody out there using something similar that can work on 3G 
> or 4G networks?
> 

Here we use SMSTools (http://smstools3.kekekasvi.com/) on a Linux box
with a Multitech Serial/USB modem. It takes formatted text files from a
spooling directory. It never let us down since some years.

HTH

- leo


signature.asc
Description: This is a digitally signed message part


Re: [Origami] Bogata

2015-06-10 Thread Xander Arena
The 6th Origami Bogota convention just finished last night with David Brill
as special guest. You can check the photos at:
http://www.flickr.com/photos/georigami/sets/72157651918371403.


Thanks for sharing this Jorge, looked like a nice montage. Is that Brill's
elephant next to Koh's giraffe?
-- 
xda

www.linkedin.com/in/xander
http://www.xanderfolds.com


Re: [Origami] Los Alamos and honesty regarding high heat

2015-05-22 Thread Xander Arena
And speaking of cranes and atomic bombs, the city of Los Alamos, NM (where
the atomic bomb was developed) will be installing an origami crane
sculpture created by Kevin Box (with a little help from a friend ;o))
outside of their public library later this year. Here's a drawing showing
a mockup, and a photo of the crane sculpture in a different context:

If you get a chance to explore the museum, it's interesting to take note of
the *spherical* trinitite.

Maybe one day iron microspheres will get equal treatment.

-- 
xda

www.linkedin.com/in/xander
http://www.xanderfolds.com


Scoop 1.4.5 on CDH 5.2.1 crashes when doing an incremental import to Parquet files

2015-05-08 Thread Michael Arena
Cloudera backported Parquet support to their version of Sqoop 1.4.5.

Originally, I was doing Sqoop incremental imports from SQL Server to text files 
(TSV).
This worked fine but the size and query speed of the textfiles are a problem.

I then tried importing as Avro files but Sqoop prohibits Avro and incremental 
mode.

I then tried importing as Parquet files.

The initial import worked fine and loaded 69,071 rows.
Then next time Sqoop ran, it pulled in the 1 changed row but then the merge 
step failed since it appears to think the files are text (not Parquet):

15/05/08 16:05:45 INFO mapreduce.Job: Job job_1431092783319_0252 completed 
successfully
15/05/08 16:05:45 INFO mapreduce.Job: Counters: 30
File System Counters
FILE: Number of bytes read=0
FILE: Number of bytes written=144566
FILE: Number of read operations=0
FILE: Number of large read operations=0
FILE: Number of write operations=0
HDFS: Number of bytes read=34006
HDFS: Number of bytes written=11556
HDFS: Number of read operations=32
HDFS: Number of large read operations=0
HDFS: Number of write operations=7
Job Counters
Launched map tasks=1
Other local map tasks=1
Total time spent by all maps in occupied slots (ms)=16564
Total time spent by all reduces in occupied slots (ms)=0
Total time spent by all map tasks (ms)=8282
Total vcore-seconds taken by all map tasks=8282
Total megabyte-seconds taken by all map tasks=33923072
Map-Reduce Framework
Map input records=1
Map output records=1
Input split bytes=119
Spilled Records=0
Failed Shuffles=0
Merged Map outputs=0
GC time elapsed (ms)=82
CPU time spent (ms)=4570
Physical memory (bytes) snapshot=591728640
Virtual memory (bytes) snapshot=3873914880
Total committed heap usage (bytes)=1853882368
File Input Format Counters
Bytes Read=0
File Output Format Counters
Bytes Written=0
15/05/08 16:05:45 INFO mapreduce.ImportJobBase: Transferred 11.2852 KB in 
31.1579 seconds (370.8854 bytes/sec)
15/05/08 16:05:45 INFO mapreduce.ImportJobBase: Retrieved 1 records.
15/05/08 16:05:45 INFO Configuration.deprecation: mapred.output.key.class is 
deprecated. Instead, use mapreduce.job.output.key.class
15/05/08 16:05:46 INFO client.RMProxy: Connecting to ResourceManager at 
ue1b-labA02/10.74.50.172:8032
15/05/08 16:05:46 INFO input.FileInputFormat: Total input paths to process : 5
15/05/08 16:05:46 INFO mapreduce.JobSubmitter: number of splits:5
15/05/08 16:05:47 INFO mapreduce.JobSubmitter: Submitting tokens for job: 
job_1431092783319_0255
15/05/08 16:05:47 INFO impl.YarnClientImpl: Submitted application 
application_1431092783319_0255
15/05/08 16:05:47 INFO mapreduce.Job: The url to track the job: 
http://ue1b-labA02:8088/proxy/application_1431092783319_0255/
15/05/08 16:05:47 INFO mapreduce.Job: Running job: job_1431092783319_0255
15/05/08 16:06:01 INFO mapreduce.Job: Job job_1431092783319_0255 running in 
uber mode : false
15/05/08 16:06:01 INFO mapreduce.Job:  map 0% reduce 0%
15/05/08 16:06:07 INFO mapreduce.Job: Task Id : 
attempt_1431092783319_0255_m_00_0, Status : FAILED
Error: java.lang.RuntimeException: Can't parse input data: 'PAR1��
  ��
'
at QueryResult.__loadFromFields(QueryResult.java:1413)
at QueryResult.parse(QueryResult.java:1221)
at org.apache.sqoop.mapreduce.MergeTextMapper.map(MergeTextMapper.java:53)
at org.apache.sqoop.mapreduce.MergeTextMapper.map(MergeTextMapper.java:34)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:784)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:163)
Caused by: java.lang.NumberFormatException: For input string: PAR1��
 ��
   
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.valueOf(Integer.java:582)
at QueryResult.__loadFromFields(QueryResult.java:1270)
... 11 more



How are you engaging with millennials at your organization? Earn “Lifetime 
Loyalty with Effective Millennial Engagement” by signing up for our next 
webinar. Join us Tuesday, May 12 at 1:00 EDT to obtain the tools you need to 
earn brand loyalty from this important demographic. Click here 
http://content.paytronix.com/Lifetime-Loyalty_0515_sig.html to register!


Re: Sqoop Incremental job does not honor the compression settings after the initial run

2015-05-05 Thread Michael Arena
Sqoop 1.4.5-cdh5.2.1 on Cloudera CDH 5.2.1 cluster

From: Abraham Elmahrek
Reply-To: user@sqoop.apache.orgmailto:user@sqoop.apache.org
Date: Tuesday, May 5, 2015 at 4:18 PM
To: user@sqoop.apache.orgmailto:user@sqoop.apache.org
Subject: Re: Sqoop Incremental job does not honor the compression settings 
after the initial run

This seems like a bug. Which version of Sqoop are you using?

On Tue, May 5, 2015 at 12:50 PM, Michael Arena 
mar...@paytronix.commailto:mar...@paytronix.com wrote:
I am incrementally loading data from SQL Server to Hadoop using an Oozie Sqoop 
Action.
Oozie runs a saved job in the Sqoop Metastore as created below:

sqoop job \
   --create import__test__mydb__mytable \
   --meta-connect *** \
   -- import \
   --connect jdbc:sqlserver://mydbserver:1433;databaseName=mydb; \
   --username  \
   --password-file  \
   --num-mappers 4 \
   --target-dir /***/***/mytable \
   --fields-terminated-by '\t' --input-fields-terminated-by '\t' \
   --null-string '\\N' --null-non-string '\\N' \
   --input-null-string '\\N' --input-null-non-string '\\N' \
   --relaxed-isolation \
   --query SELECT id, first_name, last_name, mod_time FROM mytable \
   --split-by id \
   --merge-key id \
   --incremental lastmodified \
   --check-column mod_time \
   --last-value 1900-01-01 00:00:00.000 \
   --compress --compression-codec org.apache.hadoop.io.compress.SnappyCodec


The initial time the job runs, it creates 4 files like:
part-m-0.snappy
part-m-2.snappy
part-m-3.snappy
part-m-4.snappy

It did not need to do the merge step since there was no existing data.

However, the next time it runs, it pulls over modified rows from SQL Server and 
then merges them into the existing data and creates files:
part-r-0
part-r-1
part-r-2
...
part-r-00020
part-r-00031

which are uncompressed TSV files.


The Sqoop Metastore has the compression settings saved:
% sqoop job --show import__test__mydb__mytable
...
enable.compression = true
compression.codec = org.apache.hadoop.io.compress.SnappyCodec
...


Since the files are named part-m-X.snappy after the first run, I am 
guessing that the -m- in the name means the mappers created them (and also 
since I specified 4 mappers).

On the second run, I am guessing that the (32?) reducers created the output 
since there was merging necessary and the files have -r- in the name.

Is this a bug or expected behavior?
Is there some other settings to tell the reducers to honor the compression 
settings?
If it is a bug, where do I create an issue (JIRA) for it?


How are you engaging with millennials at your organization? Earn “Lifetime 
Loyalty with Effective Millennial Engagement” by signing up for our next 
webinar. Join us Tuesday, May 12 at 1:00 EDT to obtain the tools you need to 
earn brand loyalty from this important demographic. Click here 
http://content.paytronix.com/Lifetime-Loyalty_0515_sig.html to register!



How are you engaging with millennials at your organization? Earn “Lifetime 
Loyalty with Effective Millennial Engagement” by signing up for our next 
webinar. Join us Tuesday, May 12 at 1:00 EDT to obtain the tools you need to 
earn brand loyalty from this important demographic. Click here 
http://content.paytronix.com/Lifetime-Loyalty_0515_sig.html to register!


[Origami] NO - New Sighting?

2015-04-23 Thread Xander Arena
While driving back and forth from Colorado recently, I noticed many
Semitrailers with folding panels at their tail gate, clearly to reduce
drag. Has anybody noticed these panels? Made mention here?

It seemed like an ori-ish engineering application, so I thought I'd share.


-- 
xda

www.linkedin.com/in/xander
http://www.xanderfolds.com


Re: [RCU] CARDDAV unknown SSL error

2015-03-03 Thread Leonardo Arena
On Mar 3, 2015 10:52 PM, Elio Tondo e...@tondo.it wrote:

 On 03/03/2015 22:44, Leonardo Arena wrote:

 I've recently upgraded to PHP 5.6 and this problem has shown up:

 roundcube: cdfopen: Could not open: 0 could not connect to the host
 myhost.mydomain.me http://myhost.mydomain.me: stream_socket_client():
 unable to connect to ssl://127.0.0.1:443 http://127.0.0.1:443 (Unknown
error)


 I've loaded the CA file into openssl.cafile php.ini but no workey.

 Could anybody shed some light on the nature of the error, or at least
how to
 get more debugging info in order to fix it?

 I'm using RC 1.0.4


 http://php.net//manual/en/migration56.openssl.php

 While not recommended in general, it is possible to disable peer
certificate verification for a request by setting the verify_peer context
option to FALSE, and to disable peer name validation by setting the
verify_peer_name context option to FALSE.



The setting openssl.cafile is meant to avoid disabling the check above.

In any case I found how to disable such settings for an IMAP connection,
but not for a CardDAV one.

Thanks.

- leo
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

[RCU] CARDDAV unknown SSL error

2015-03-03 Thread Leonardo Arena
Hi list,
I've recently upgraded to PHP 5.6 and this problem has shown up:

roundcube: cdfopen: Could not open: 0 could not connect to the host 
myhost.mydomain.me: stream_socket_client(): unable to connect to ssl://
127.0.0.1:443 (Unknown error)

I've loaded the CA file into openssl.cafile php.ini but no workey.

Could anybody shed some light on the nature of the error, or at least how
to get more debugging info in order to fix it?

I'm using RC 1.0.4

Thanks!
- leo
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

Re: [RCU] CARDDAV unknown SSL error

2015-03-03 Thread Leonardo Arena


On mer, 2015-03-04 at 06:53 +0100, Leonardo Arena wrote:
 
 On Mar 3, 2015 11:04 PM, Leonardo Arena rna...@gmail.com wrote:
 
 
  On Mar 3, 2015 10:52 PM, Elio Tondo e...@tondo.it wrote:
  
   On 03/03/2015 22:44, Leonardo Arena wrote:
  
   I've recently upgraded to PHP 5.6 and this problem has shown up:
  
   roundcube: cdfopen: Could not open: 0 could not connect to the
 host
   myhost.mydomain.me http://myhost.mydomain.me:
 stream_socket_client():
   unable to connect to ssl://127.0.0.1:443 http://127.0.0.1:443
 (Unknown error)
  
  
   I've loaded the CA file into openssl.cafile php.ini but no
 workey.
  
   Could anybody shed some light on the nature of the error, or at
 least how to
   get more debugging info in order to fix it?
  
   I'm using RC 1.0.4
  
  
   http://php.net//manual/en/migration56.openssl.php
  
   While not recommended in general, it is possible to disable peer
 certificate verification for a request by setting the verify_peer
 context option to FALSE, and to disable peer name validation by
 setting the verify_peer_name context option to FALSE.
  
  
 
  The setting openssl.cafile is meant to avoid disabling the check
 above.
 
 
 Actually this save me from disabling only verify_peer. The cert name
 does not match because I mapped myhost.mydomain.me to 127.0.0.1 in
 the hosts file. I'll try removing it and see if that works.
 

Nope:

roundcube: cdfopen: Could not open: 0 could not connect to the host
opendrive.bsod.eu: stream_socket_client(): unable to connect to
ssl://IP_EDITED:443 (Unknown error)

Can anyone point me how to disable verify_peer_name in the context of
CardDAV connection (if this is the problem)?

Thanks!
- leo


signature.asc
Description: This is a digitally signed message part
___
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

  1   2   3   4   5   6   7   >