WMT 2024: Low-Resource Indic Language Translation.

2024-04-21 Thread Santanu Pal via Mt-list
Dear Colleagues,

We are pleased to inform you that we will be hosting the "Shared Task:
Low-Resource Indic Language Translation" again this year as part of WMT
2024. Following the outstanding success and enthusiastic participation
witnessed in the previous year's edition, we are excited to continue this
important initiative. Despite recent advancements in machine translation
(MT), such as multilingual translation and transfer learning techniques,
the scarcity of parallel data remains a significant challenge, particularly
for low-resource languages.

The WMT 2024 Indic Machine Translation Shared Task aims to address this
challenge by focusing on low-resource Indic languages from diverse language
families. Specifically, we are targeting languages such as Assamese, Mizo,
Khasi, Manipuri, Nyishi, Bodo, Mising, and Kokborok.


For inquiries and further information, please contact us at
lrilt.wm...@gmail.com. Additionally, you can find more details and updates
on the task through the following link: Task Link:
https://www2.statmt.org/wmt24/indic-mt-task.html.

We highly encourage participants to register in advance so that we can
provide updates regarding release dates of data and other relevant
information periodically

To register for the event, please fill out the registration form available
here.  (
https://docs.google.com/forms/d/e/1FAIpQLSd8LwriqdLLhVNAvUWEcGRJmKuBFQZ9BR_TKpb6VYZEnyGU0g/viewform?pli=1
)


We look forward to your participation and contributions to advancing
low-resource Indic language translation.

with best regards,
Santanu


[Corpora-List] WMT 2024: Low-Resource Indic Language Translation.

2024-04-21 Thread Santanu Pal via Corpora
Dear Colleagues,

We are pleased to inform you that we will be hosting the "Shared Task:
Low-Resource Indic Language Translation" again this year as part of WMT
2024. Following the outstanding success and enthusiastic participation
witnessed in the previous year's edition, we are excited to continue this
important initiative. Despite recent advancements in machine translation
(MT), such as multilingual translation and transfer learning techniques,
the scarcity of parallel data remains a significant challenge, particularly
for low-resource languages.

The WMT 2024 Indic Machine Translation Shared Task aims to address this
challenge by focusing on low-resource Indic languages from diverse language
families. Specifically, we are targeting languages such as Assamese, Mizo,
Khasi, Manipuri, Nyishi, Bodo, Mising, and Kokborok.

For inquiries and further information, please contact us at
lrilt.wm...@gmail.com. Additionally, you can find more details and updates
on the task through the following link: Task Link:
https://www2.statmt.org/wmt24/indic-mt-task.html.

We highly encourage participants to register in advance so that we can
provide updates regarding release dates of data and other relevant
information periodically

To register for the event, please fill out the registration form available
here.  (
https://docs.google.com/forms/d/e/1FAIpQLSd8LwriqdLLhVNAvUWEcGRJmKuBFQZ9BR_TKpb6VYZEnyGU0g/viewform?pli=1
)



We look forward to your participation and contributions to advancing
low-resource Indic language translation.

with best regards,
Santanu
___
Corpora mailing list -- corpora@list.elra.info
https://list.elra.info/mailman3/postorius/lists/corpora.list.elra.info/
To unsubscribe send an email to corpora-le...@list.elra.info


[FFmpeg-user] Unclear Instructions for Sending Commands to Filtergraphs

2023-03-13 Thread Santanu Biswas
The feature to send commands to filters in filtergraphs is barely even
documented.
https://ffmpeg.org/ffmpeg-filters.html#Changing-options-at-runtime-with-a-command

But, what commands a filter supports is (almost) well documented.

At runtime too, it does a poor job at providing quick reference.
https://github.com/FFmpeg/FFmpeg/blob/master/fftools/ffmpeg.c#L3537

fprintf(stderr, "\nEnter command: |all |-1
[ ]\n");

baffled me a lot in the command-line, even though I'm using FFmpeg for
five years. How are people even supposed to infer all this mess? The
syntax is ambigious. And, looking source code I figured out,
parenthesis should've been used to isolate possible options.

Also,
https://github.com/FFmpeg/FFmpeg/blob/master/fftools/ffmpeg.c#L3539

set_tty_echo(1);

doesn't work with Windows console therefore makes it hard to type. IMO
readline should be used instead of own techniques as there might be
errors while typing.

Even though I managed to send a command to multiple filters (i.e
afreqshift, rubberband), it returns (-38) all the time, according to
avfilter_graph_send_command() that is an error. Further verifying the
meaning of (-38), av_strerror() reports, "Function not implemented." I
check if that is really the case or not. But,
https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/af_afreqshift.c#L383
tells me otherwise.

$ ffmpeg -f lavfi -i 'sine,afreqshift,rubberband' -f null -
ffmpeg version n5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12.2.1 (GCC) 20230111
  configuration: --prefix=/usr --disable-debug
--disable-static --disable-stripping --enable-amf --enable-avisynth
--enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp
--enable-gnutls --enable-gpl --enable-ladspa --enable-libaom
--enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d
--enable-libdrm --enable-libfreetype --enable-libfribidi
--enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx
--enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb
--enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus
--enable-libpulse --enable-librav1e --enable-librsvg
--enable-librubberband --enable-libsoxr --enable-libspeex
--enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora
--enable-libv4l2 --enable-libvidstab --enable-libvmaf
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid
--enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl
--enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil  57. 28.100 / 57. 28.100
  libavcodec 59. 37.100 / 59. 37.100
  libavformat59. 27.100 / 59. 27.100
  libavdevice59.  7.100 / 59.  7.100
  libavfilter 8. 44.100 /  8. 44.100
  libswscale  6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc56.  6.100 / 56.  6.100
Input #0, lavfi, from 'sine,afreqshift,rubberband':
  Duration: N/A, start: 0.00, bitrate: 1411 kb/s
  Stream #0:0: Audio: pcm_f32le, 44100 Hz, mono, flt, 1411 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_f32le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
encoder : Lavf59.27.100
  Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Metadata:
  encoder : Lavc59.37.100 pcm_s16le
size=N/A time=00:01:44.96 bitrate=N/A speed= 105x
Enter command: |all |-1 [ ]
afreqshift -1 shift 100^M
Command reply for stream 0: ret:-38 res:
size=N/A time=00:08:53.51 bitrate=N/A speed=13.5x
video:0kB audio:45953kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown
Exiting normally, received signal 2.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".


[prometheus-users] Prometheus process access /data folder and locks access for additional pods

2022-09-23 Thread Santanu Mishra
Hi Brian & Team,
 I have deployed Prometheus (1 pod) in OpenShift (Kubernetes) platform 
and when triggering a new deployment to replace the current pod with a new 
pod the /data folder gets locked by the existing pod and the new pod fails 
to deploy, as it doesn't get access to the /data folder.

I have the storage path defined as --storage.tsdb.path=/prometheus/, but 
facing the issue.

Please suggest a work around for this issue.

Thanks!
With Regards. 


-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/cc1e2262-e11a-4b80-89a6-84ca2e44ac21n%40googlegroups.com.


[prometheus-users] Re: How to configure Prometheus to have an integration with blackbox running on https

2022-08-25 Thread Santanu Mishra
Hi Brian,
 We will have a look at the suggestions.
Thanks!

On Thursday, August 25, 2022 at 12:05:00 PM UTC-7 Brian Candler wrote:

> If you read your error message carefully:
>
> > I am getting 'Get "http://blackbox-dev.xyz.com:443/metrics: context 
> deadline exceeded"
>
> then it looks like Prometheus is trying to talk to an http:// endpoint; 
> but you said it was https://.
>
> Put "scheme: https" in your scrape job config to use https.  If your 
> certificate is not signed by a public CA like LetsEncrypt then you may need 
> additional settings to get the certificate validation to work.
>
> If that's not the problem, then it's probably an issue with kubernetes or 
> openshift, not prometheus.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/8257b8bc-d375-4456-9135-0afe97c0ff00n%40googlegroups.com.


[prometheus-users] Re: How to configure Prometheus to have an integration with blackbox running on https

2022-08-25 Thread Santanu Mishra
Hi Brian,
 Any inputs on this issue ?

Thanks!
On Wednesday, August 24, 2022 at 11:04:26 AM UTC-7 Santanu Mishra wrote:

> Hi Team,
>   I have a blackbox container running as "
> https://blackbox-dev.xyz.com/; in a OpenShift cluster. I have Prometheus 
> running as separate container "https://prometheus-dev.xyz.com/graph;. 
> I am unable to connect Prometheus with Blackbox using below config in 
> prometheus.yml.
>
> I am getting 'Get "http://blackbox-dev.xyz.com:443/metrics: context 
> deadline exceeded"
>
>
> global:
>
> scrape_interval: 30s
>
> evaluation_interval: 5s
>
>
>
> rule_files:
>
> - ./alert.rules
>
>
>
> scrape_configs:
>
> - job_name: blackbox # To get metrics about the exporter itself
>
> metrics_path: /metrics
>
> static_configs:
>
> - targets:
>
> - blackbox-dev.xyz.com:443 
>
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/3ffee56f-073a-4caf-abd6-99bbbe1fb9adn%40googlegroups.com.


[prometheus-users] How to configure Prometheus to have an integration with blackbox running on https

2022-08-24 Thread Santanu Mishra
Hi Team,
  I have a blackbox container running as 
"https://blackbox-dev.xyz.com/; in a OpenShift cluster. I have Prometheus 
running as separate container "https://prometheus-dev.xyz.com/graph;. 
I am unable to connect Prometheus with Blackbox using below config in 
prometheus.yml.

I am getting 'Get "http://blackbox-dev.xyz.com:443/metrics: context 
deadline exceeded"


global:

scrape_interval: 30s

evaluation_interval: 5s



rule_files:

- ./alert.rules



scrape_configs:

- job_name: blackbox # To get metrics about the exporter itself

metrics_path: /metrics

static_configs:

- targets:

- blackbox-dev.xyz.com:443 


Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/96aeb100-18f0-44f4-873f-d7b3ae17c1f1n%40googlegroups.com.


Re: [prometheus-users] Re: blackbox monitoring for webpages requiring user auth

2022-06-07 Thread Santanu Mishra
Hi Brian,
 Does blackbox exporter support monitoring authenticated APIs. If it 
does then how to make it work.
Thanks!

On Thursday, August 24, 2017 at 12:16:35 AM UTC-7 Brian Brazil wrote:

> On 24 August 2017 at 00:37, nsmeds  wrote:
>
>> Any updates on this? It'd be much appreciated <3
>>
>>
> This was released a while back, see 
> https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md#http_probe
>  
>
>> On Wednesday, May 24, 2017 at 12:35:36 AM UTC-7, Brian Brazil wrote:
>>>
>>> On 24 May 2017 at 03:02,  wrote:
>>>
 I found this post. I expect not only basic auth but also other auth 
 methods.

>>>
>>> There's work in progress to make this possible. It requires some 
>>> refactoring.
>>>
>>> Brian
>>>  
>>>

 https://groups.google.com/forum/#!topic/prometheus-users/q4d1AN67E6o

 2017年5月24日水曜日 10時46分03秒 UTC+9 californi...@gmail.com:
>
> Blackbox exporter seems not to support monitor webpages requiring user 
> authentication. Is this correct?
>
 -- 
 You received this message because you are subscribed to the Google 
 Groups "Prometheus Users" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to prometheus-use...@googlegroups.com.
 To post to this group, send email to promethe...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/prometheus-users/ca9ec99c-3de4-4ccc-8042-1d476c39020c%40googlegroups.com
  
 
 .

 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> -- 
>>> Brian Brazil
>>> www.robustperception.io
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Prometheus Users" group.
>>
> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to prometheus-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to prometheus-users@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-users/664454c4-4b67-41eb-93fb-292ed2b3f9bd%40googlegroups.com
>>  
>> 
>> .
>
>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Brian Brazil
> www.robustperception.io
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/07bb779f-162a-4450-82ed-4cbf764c7fe4n%40googlegroups.com.


[FFmpeg-devel] [DOC] Missing Parameter Description

2022-06-02 Thread Santanu Biswas
https://ffmpeg.org/doxygen/trunk/vf__amplify_8c_source.html#l00107
https://ffmpeg.org/doxygen/trunk/vf__atadenoise_8c_source.html#l00365
https://ffmpeg.org/doxygen/trunk/vf__avgblur_8c_source.html#l00290
https://ffmpeg.org/doxygen/trunk/vf__avgblur_vulkan_8c_source.html#l00133
https://ffmpeg.org/doxygen/trunk/vf__avgblur_vulkan_8c_source.html#l00178
https://ffmpeg.org/doxygen/trunk/vf__bilateral_8c_source.html#l00359
https://ffmpeg.org/doxygen/trunk/vf__bilateral_8c_source.html#l00380
https://ffmpeg.org/doxygen/trunk/vf__bilateral_8c_source.html#l00401
https://ffmpeg.org/doxygen/trunk/vf__blockdetect_8c_source.html#l00215
https://ffmpeg.org/doxygen/trunk/vf__blurdetect_8c_source.html#l00280
https://ffmpeg.org/doxygen/trunk/vf__bm3d_8c_source.html#l00749
https://ffmpeg.org/doxygen/trunk/vf__cas_8c_source.html#l00067
https://ffmpeg.org/doxygen/trunk/vf__cas_8c_source.html#l00134
https://ffmpeg.org/doxygen/trunk/vf__convolve_8c_source.html#l00700
https://ffmpeg.org/doxygen/trunk/vf__dblur_8c_source.html#l00224
https://ffmpeg.org/doxygen/trunk/vf__deblock_8c_source.html#l00333
https://ffmpeg.org/doxygen/trunk/vf__fftdnoiz_8c_source.html#l00547
https://ffmpeg.org/doxygen/trunk/vf__fftdnoiz_8c_source.html#l00646
https://ffmpeg.org/doxygen/trunk/vf__gblur_8c_source.html#l00244
https://ffmpeg.org/doxygen/trunk/vf__gblur_vulkan_8c_source.html#l00162
https://ffmpeg.org/doxygen/trunk/vf__guided_8c_source.html#l00295
https://ffmpeg.org/doxygen/trunk/vf__hysteresis_8c_source.html#l00107
https://ffmpeg.org/doxygen/trunk/vf__lagfun_8c_source.html#l00094
https://ffmpeg.org/doxygen/trunk/vf__limitdiff_8c_source.html#l00181
https://ffmpeg.org/doxygen/trunk/vf__limiter_8c_source.html#l00163
https://ffmpeg.org/doxygen/trunk/vf__maskedclamp_8c_source.html#l00108
https://ffmpeg.org/doxygen/trunk/vf__maskedmerge_8c_source.html#l00083
https://ffmpeg.org/doxygen/trunk/vf__maskedminmax_8c_source.html#l00160
https://ffmpeg.org/doxygen/trunk/vf__maskedthreshold_8c_source.html#l00143
https://ffmpeg.org/doxygen/trunk/vf__maskfun_8c_source.html#l00137
https://ffmpeg.org/doxygen/trunk/vf__maskfun_8c_source.html#l00179
https://ffmpeg.org/doxygen/trunk/vf__maskfun_8c_source.html#l00235
https://ffmpeg.org/doxygen/trunk/vf__median_8c_source.html#l00111
https://ffmpeg.org/doxygen/trunk/vf__median_8c_source.html#l00192
https://ffmpeg.org/doxygen/trunk/vf__midequalizer_8c_source.html#l00109
https://ffmpeg.org/doxygen/trunk/vf__mix_8c_source.html#l00156
https://ffmpeg.org/doxygen/trunk/vf__morpho_8c_source.html#l00824
https://ffmpeg.org/doxygen/trunk/vf__multiply_8c_source.html#l00108
https://ffmpeg.org/doxygen/trunk/vf__negate_8c_source.html#l00283
https://ffmpeg.org/doxygen/trunk/vf__pixelize_8c_source.html#l00201
https://ffmpeg.org/doxygen/trunk/vf__premultiply_8c_source.html#l00486
https://ffmpeg.org/doxygen/trunk/vf__threshold_8c_source.html#l00092
https://ffmpeg.org/doxygen/trunk/vf__tmidequalizer_8c_source.html#l00262
https://ffmpeg.org/doxygen/trunk/vf__vaguedenoiser_8c_source.html#l00424
https://ffmpeg.org/doxygen/trunk/vf__varblur_8c_source.html#l00223
https://ffmpeg.org/doxygen/trunk/vf__varblur_8c_source.html#l00270
https://ffmpeg.org/doxygen/trunk/vf__xmedian_8c_source.html#l00151
https://ffmpeg.org/doxygen/trunk/vf__yaepblur_8c_source.html#l00237

All of the aforementioned filters use a parameter `plane' for
processing a specific set of plane(s) but the documentation at
https://ffmpeg.org/ffmpeg-filters.html lacks an explanation for these.
Observing the source code yields that it is a bitmask for selecting
filtering planes, in sequential order as per pixel format.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


Bug#1012032: fontconfig: does not respect user configuration

2022-05-28 Thread Santanu
Package: fontconfig
Version: 2.13.1-4.4
Severity: important
X-Debbugs-Cc: shbi...@gmail.com

fontconfig does not read user specific configuration files,
only ever `access(2)'es them (revealed by strace(1)) but
unlike system-wide configuration never `openat(2)'s them.

  $ strace fc-match monospace 2>&1 | grep '\.fonts\.conf'
  access("/home/sb/.fonts.conf.d", R_OK)  = 0
  access("/etc/fonts/~/.fonts.conf.d", R_OK) = -1 ENOENT (No such file or 
directory)
  access("/home/sb/.fonts.conf.d", R_OK)  = 0
  access("/etc/fonts/~/.fonts.conf.d", R_OK) = -1 ENOENT (No such file or 
directory)
  access("/home/sb/.fonts.conf", R_OK)= -1 ENOENT (No such file or 
directory)
  access("/etc/fonts/~/.fonts.conf", R_OK) = -1 ENOENT (No such file or 
directory)
  access("/home/sb/.fonts.conf", R_OK)= -1 ENOENT (No such file or 
directory)
  access("/etc/fonts/~/.fonts.conf", R_OK) = -1 ENOENT (No such file or 
directory)

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8), LANGUAGE=en_IN:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fontconfig depends on:
ii  fontconfig-config  2.13.1-4.4
ii  libc6  2.33-7
ii  libfontconfig1 2.13.1-4.4
ii  libfreetype6   2.12.1+dfsg-2

fontconfig recommends no packages.

fontconfig suggests no packages.

-- no debconf information



[FFmpeg-devel] [PATCH] avfilter/asrc_sine: Generate full amplitude sine wave.

2022-05-28 Thread Santanu Biswas
Previously, generating a full amplitude sine wave require to either
use the 'volume' filter in combination with this filter or manually
generate sine wave using 'aevalsrc' (e.g "aevalsrc=sin(2*PI*t*440)").
This method is not bit-exact; therefore it is much coherent to not
scale the amplitude by 1/8 and keep it as it is.

Signed-off-by: Santanu Biswas 
---
 doc/filters.texi| 2 +-
 libavfilter/asrc_sine.c | 8 ++--
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index 0e10946cca..a42e27b9b5 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -7452,7 +7452,7 @@ Set number of taps for low-pass filter.
 
 @section sine
 
-Generate an audio signal made of a sine wave with amplitude 1/8.
+Generate an audio signal made of a sine wave.
 
 The audio signal is bit-exact.
 
diff --git a/libavfilter/asrc_sine.c b/libavfilter/asrc_sine.c
index c0d8d2265b..6c2f9d40f3 100644
--- a/libavfilter/asrc_sine.c
+++ b/libavfilter/asrc_sine.c
@@ -83,13 +83,11 @@ static const AVOption sine_options[] = {
 AVFILTER_DEFINE_CLASS(sine);
 
 #define LOG_PERIOD 15
-#define AMPLITUDE 4095
-#define AMPLITUDE_SHIFT 3
 
 static void make_sin_table(int16_t *sin)
 {
 unsigned half_pi = 1 << (LOG_PERIOD - 2);
-unsigned ampls = AMPLITUDE << AMPLITUDE_SHIFT;
+unsigned ampls = 32767;
 uint64_t unit2 = (uint64_t)(ampls * ampls) << 32;
 unsigned step, i, c, s, k, new_k, n2;
 
@@ -116,9 +114,7 @@ static void make_sin_table(int16_t *sin)
 sin[half_pi - i - step / 2] = (k * c + 0x8000) >> 16;
 }
 }
-/* Unshift amplitude */
-for (i = 0; i <= half_pi; i++)
-sin[i] = (sin[i] + (1 << (AMPLITUDE_SHIFT - 1))) >> AMPLITUDE_SHIFT;
+
 /* Use symmetries to fill the other three quarters */
 for (i = 0; i < half_pi; i++)
 sin[half_pi * 2 - i] = sin[i];
-- 
2.35.1

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


[Libevent-users] Generic bufferevent for any type of FD

2021-11-29 Thread Santanu
Current bufferevent API provides for only socket related ones and an
intermediate one for data transformation. The older API however had a
generic version of bufferevent that accepted any type of FD. Also if
bufferevent_socket_new() is meant to be used as the generic bufferevent for
all kinds of file descriptors then why is it named "socket" then? Also why
does it restrict the use of file-descriptors obtained from pipe(2), how is
the naming and semantics intuitive?

What I have is stdin-stdout (can be any type of course) and a socket with
which I want to perform full-duplex non-blocking IO with libevent. I can
see no way but to either use the "deprecated" API or use the low level
interface with evbuffers. Any guidance on this?


[Wikipedia-l] Re: Wikipedia-l Digest, Vol 180, Issue 5

2021-08-18 Thread Santanu Banerjee
Respected Sir/Madam,

I wish to urgently unsubscribe from this mailing list. I have tried to
unsubscribe by visiting the website but found that no account is associated
along with my email. Kindly, therefore, do the needful urgently to please
unsubscribe me from the mailing list.

Thanking you in anticipation and eagerly awaiting your swift response.

Yours faithfully,
Santanu Banerjee.
*P* *Please don't print any e-mails unless you really need to. *
*"SAVE PAPER, SAVE TREES, SAVE ENVIRONMENT".*


On Mon, 26 Apr 2021 at 17:32, 
wrote:

> Send Wikipedia-l mailing list submissions to
> wikipedia-l@lists.wikimedia.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.wikimedia.org/mailman/listinfo/wikipedia-l
> or, via email, send a message with subject or body 'help' to
> wikipedia-l-requ...@lists.wikimedia.org
>
> You can reach the person managing the list at
> wikipedia-l-ow...@lists.wikimedia.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Wikipedia-l digest..."
>
>
> Today's Topics:
>
>1. AfroCine: Conclusion of the 2020 Months of African Cinema
>   Global Contest (Sam Oyeyele)
>
>
> --
>
> Message: 1
> Date: Mon, 26 Apr 2021 11:08:52 +
> From: Sam Oyeyele 
> To: "wikipedia-l@lists.wikimedia.org"
> 
> Subject: [Wikipedia-l] AfroCine: Conclusion of the 2020 Months of
> African Cinema Global Contest
> Message-ID:
> <
> am6pr04mb613405c0677268fdff6798329c...@am6pr04mb6134.eurprd04.prod.outlook.com
> >
>
> Content-Type: text/plain; charset="Windows-1252"
>
> Greetings!
>
>
> The Months of African Cinema Global Edit-a-thon was concluded on 30
> November 2020,[1] and we want to send a big thank you to all the
> participants who helped make it a success! Over 3,200 articles were created
> across 19 language Wikipedias, surpassing all expectations and placing the
> contest firmly as one of the most successful article-writing contests on
> Wikipedia.
>
>
>
> We also want to extend our heartfelt gratitude to all those who
> volunteered to be part of the jury team. It was very complicated trying to
> assess the quality of 3,000 articles, but we did it! All our winners have
> now been announced and you can check the complete list here.<
> https://en.wikipedia.org/wiki/Wikipedia:WikiProject_AfroCine/Months_of_African_Cinema/Winners
> >[2]
>
>
>
> Thank you so much for being part of this global event! Thank you for
> helping to fix African content gaps on Wikipedia! We hope to see more of
> your participation in future AfroCine events and activities. Please
> remember to sign up on the main WikiProject participants’ page,[3] and on
> the meta page[4] to get updated with these activities.
>
>
>
> Thanks,
>
> Sam,
>
> On behalf of The AfroCine Project team.
>
>
>   1.
> https://en.wikipedia.org/wiki/Wikipedia:WikiProject_AfroCine/Months_of_African_Cinema
>
>   2.
> https://en.wikipedia.org/wiki/Wikipedia:WikiProject_AfroCine/Months_of_African_Cinema/Winners
>
>   3.
> https://en.wikipedia.org/wiki/Wikipedia:WikiProject_AfroCine/Participants
>
>   4.  https://meta.wikimedia.org/wiki/The_AfroCine_Project
>
>
>
> --
>
> Subject: Digest Footer
>
> ___
> Wikipedia-l mailing list
> Wikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikipedia-l
>
>
> --
>
> End of Wikipedia-l Digest, Vol 180, Issue 5
> ***
>
___
Wikipedia-l mailing list -- wikipedia-l@lists.wikimedia.org
To unsubscribe send an email to wikipedia-l-le...@lists.wikimedia.org


Cassandra with Calcite integration problem

2021-06-14 Thread santanu mohanty
Hello Team
We have integrated Cassandra with calcite with your given example and
getting below problem

compare to run in spark thrift server it is petty slow

can you suggest good git code example or tunning parameter fro driver
configuration?
we are planning to integrate in Production but not sure about performance.

Not getting much more resources to experiment more.
Thank
santanu


Re: [SR-Users] unsubscribe list

2021-04-23 Thread Santanu B
where to  unsubscribe list


On Mon, Apr 19, 2021 at 11:35 AM Luis Vieira  wrote:

>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [sage-support] Size reduced of a basis

2021-04-20 Thread Santanu Sarkar
Hi Martin,
Thank you so much for your kind help. It works!

Kind regards,
Santanu

On Mon, 22 Mar 2021 at 19:49, 'Martin R. Albrecht' via sage-support <
sage-support@googlegroups.com> wrote:

> Hi Santanu,
>
> With very high precision it goes through:
>
> #+begin_src jupyter-python :kernel sagemath
> A = random_matrix(ZZ, 10, 10, x=-2^500, y=2^500)
> A.echelonize() # make it interesting by turning into HNF
>
> from fpylll import FPLLL, IntegerMatrix, GSO, LLL
> B = IntegerMatrix.from_matrix(A)
> FPLLL.set_precision(2) # 2 bits of precision!
> M = GSO.Mat(B, float_type="mpfr")
> M.update_gso()
> L = LLL.Reduction(M)
> L.size_reduction()
> C = B.to_matrix(matrix(ZZ, 10, 10)) # back to Sage's format
> #+end_src
>
> HNF is pretty bad for precision, so it’s an extreme example.
>
> Cheers,
> Martin
>
>
> Santanu Sarkar  writes:
> > Hi Martin,
> >Thanks a lot. For entries upto 500 bits, it works fine.
> > But for large entries, I am getting error.
> > A = random_matrix(ZZ, 10, 10, x=-2^550, y=2^550)
> > File "abc.sage.py", line 28, in 
> > L.size_reduction()
> >   File "src/fpylll/fplll/lll.pyx", line 379, in
> > fpylll.fplll.lll.LLLReduction.size_reduction
> > fpylll.util.ReductionError: b'success'
> >
> > Kind regards,
> > Santanu
> >
> >
> > On Wed, 17 Mar 2021 at 15:47, 'Martin R. Albrecht' via sage-support <
> > sage-support@googlegroups.com> wrote:
> >
> >> Hi there,
> >>
> >> You can do it by calling down to FPyLLL which (together with NTL) powers
> >> lattice reduction in Sage. Here’s an example:
> >>
> >> #+begin_src jupyter-python :kernel sagemath
> >> A = random_matrix(ZZ, 10, 10, x=-1, y=2)
> >> A.echelonize() # make it interesting by turning into HNF
> >> print("# Input")
> >> print(A)
> >> print()
> >>
> >> from fpylll import IntegerMatrix, GSO, LLL
> >> B = IntegerMatrix.from_matrix(A)
> >> M = GSO.Mat(B)
> >> M.update_gso()
> >> L = LLL.Reduction(M)
> >> L.size_reduction()
> >> C = B.to_matrix(matrix(ZZ, 10, 10)) # back to Sage's format
> >>
> >> print("# Output")
> >> print(C)
> >> print()
> >> #+end_src
> >>
> >> #+RESULTS:
> >> #+begin_example
> >> # Input
> >> [  1   0   0   0   0   0   0   0   0  41]
> >> [  0   1   0   0   0   0   0   0   0  34]
> >> [  0   0   1   0   0   0   0   0   1  27]
> >> [  0   0   0   1   0   0   0   0   1  96]
> >> [  0   0   0   0   1   0   0   0   0  38]
> >> [  0   0   0   0   0   1   0   0   1  78]
> >> [  0   0   0   0   0   0   1   0   1   1]
> >> [  0   0   0   0   0   0   0   1   1  91]
> >> [  0   0   0   0   0   0   0   0   2  69]
> >> [  0   0   0   0   0   0   0   0   0 100]
> >>
> >> # Output
> >> [  1   0   0   0   0   0   0   0   0  41]
> >> [ -1   1   0   0   0   0   0   0   0  -7]
> >> [ -1   0   1   0   0   0   0   0   1 -14]
> >> [ -1  -1  -1   1   0   0   0   0   0  -6]
> >> [ -1   0   0   0   1   0   0   0   0  -3]
> >> [  0   0   0  -1   0   1   0   0   0 -18]
> >> [  0   0   0   0   0   0   1   0   1   1]
> >> [  0   0   0  -1   0   0   0   1   0  -5]
> >> [  1   0   0  -1   0   0   0   0   1  14]
> >> [  0   0   0  -1   0   0   0   0  -1   4]
> >> #+end_example
> >>
> >>
> >> Cheers,
> >> Martin
> >>
> >> Santanu Sarkar  writes:
> >> > Dear all,
> >> >In Sagemath, is it possible to change a basis
> >> > of a lattice which is size reduced? That is my interest is only on
> >> > 1st condition of LLL basis.
> >> >
> >> >
> >> > Kind regards,
> >> > Santanu
> >>
> >>
> >> --
> >>
> >> _pgp: https://keybase.io/martinralbrecht
> >> _www: https://malb.io
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "sage-support" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to sage-support+unsubscr...@googlegroups.com.
> >> To view this discussion on the web visit
> >>
> https://groups.google.com/d/msgid/sage-support/871rcet773.fsf%40googlemail.com
> >> .
> >>
>
>
> --
>
> _pgp: https://keybase.io/martinralbrecht
> _www: https://malb.io
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/87mtuwzrbw.fsf%40googlemail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPLNzAmFsTLRvK-GEkFcbkutV0%2BkB%3DoZYHda8i6MzZBpJA%40mail.gmail.com.


[SR-Users] please unsubscribe my email from the mail list, thank you

2021-04-08 Thread Santanu B
please unsubscribe my email from the mail list, thank you
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [sage-support] Size reduced of a basis

2021-03-19 Thread Santanu Sarkar
Hi Martin,
   Thanks a lot. For entries upto 500 bits, it works fine.
But for large entries, I am getting error.
A = random_matrix(ZZ, 10, 10, x=-2^550, y=2^550)
File "abc.sage.py", line 28, in 
L.size_reduction()
  File "src/fpylll/fplll/lll.pyx", line 379, in
fpylll.fplll.lll.LLLReduction.size_reduction
fpylll.util.ReductionError: b'success'

Kind regards,
Santanu


On Wed, 17 Mar 2021 at 15:47, 'Martin R. Albrecht' via sage-support <
sage-support@googlegroups.com> wrote:

> Hi there,
>
> You can do it by calling down to FPyLLL which (together with NTL) powers
> lattice reduction in Sage. Here’s an example:
>
> #+begin_src jupyter-python :kernel sagemath
> A = random_matrix(ZZ, 10, 10, x=-1, y=2)
> A.echelonize() # make it interesting by turning into HNF
> print("# Input")
> print(A)
> print()
>
> from fpylll import IntegerMatrix, GSO, LLL
> B = IntegerMatrix.from_matrix(A)
> M = GSO.Mat(B)
> M.update_gso()
> L = LLL.Reduction(M)
> L.size_reduction()
> C = B.to_matrix(matrix(ZZ, 10, 10)) # back to Sage's format
>
> print("# Output")
> print(C)
> print()
> #+end_src
>
> #+RESULTS:
> #+begin_example
> # Input
> [  1   0   0   0   0   0   0   0   0  41]
> [  0   1   0   0   0   0   0   0   0  34]
> [  0   0   1   0   0   0   0   0   1  27]
> [  0   0   0   1   0   0   0   0   1  96]
> [  0   0   0   0   1   0   0   0   0  38]
> [  0   0   0   0   0   1   0   0   1  78]
> [  0   0   0   0   0   0   1   0   1   1]
> [  0   0   0   0   0   0   0   1   1  91]
> [  0   0   0   0   0   0   0   0   2  69]
> [  0   0   0   0   0   0   0   0   0 100]
>
> # Output
> [  1   0   0   0   0   0   0   0   0  41]
> [ -1   1   0   0   0   0   0   0   0  -7]
> [ -1   0   1   0   0   0   0   0   1 -14]
> [ -1  -1  -1   1   0   0   0   0   0  -6]
> [ -1   0   0   0   1   0   0   0   0  -3]
> [  0   0   0  -1   0   1   0   0   0 -18]
> [  0   0   0   0   0   0   1   0   1   1]
> [  0   0   0  -1   0   0   0   1   0  -5]
> [  1   0   0  -1   0   0   0   0   1  14]
> [  0   0   0  -1   0   0   0   0  -1   4]
> #+end_example
>
>
> Cheers,
> Martin
>
> Santanu Sarkar  writes:
> > Dear all,
> >In Sagemath, is it possible to change a basis
> > of a lattice which is size reduced? That is my interest is only on
> > 1st condition of LLL basis.
> >
> >
> > Kind regards,
> > Santanu
>
>
> --
>
> _pgp: https://keybase.io/martinralbrecht
> _www: https://malb.io
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/871rcet773.fsf%40googlemail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPLBQKG74Bv3OoBtVOEwXpq7-33ppHpK_Jb0aHZmRYJSAw%40mail.gmail.com.


[sage-support] Size reduced of a basis

2021-03-16 Thread Santanu Sarkar
Dear all,
   In Sagemath, is it possible to change a basis
of a lattice which is size reduced? That is my interest is only on
1st condition of LLL basis.


Kind regards,
Santanu

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPJdfdziwmybabcU5UDXGYHmyg_5an1OzdXqQxYiqiN5jA%40mail.gmail.com.


[sage-support] Linear complexity profile of a binary sequence

2020-11-11 Thread Santanu Sarkar
Dear all,
 I have a binary sequence
{0,1,1,1,1,0,0,0,1,1,0,1,0,1,0,0,1,0,1,1,1,0,0,0,1,1,0,1,0,1}.
I want to find its Linear complexity profile using SageMath. Any idea?

Regards,
Santanu

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPKRRWb1y3AFK20Ld9gjL4zOhapToJVZoW45ZL_Hfh1b%2Bg%40mail.gmail.com.


Re: [SR-Users] how to get a value from SIP INVITE Header

2020-10-14 Thread Santanu B
Please help to configure  uri transformation page.

Thanks
Santanu

On Wed, Oct 14, 2020 at 1:08 PM Henning Westerholt  wrote:

> Hello,
>
>
>
> can you share the error you have got? If you just want to get the
> substring of the +34x@domain URI, have a look to the string
> transformations on the same link.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sai sudheer 
> *Sent:* Tuesday, October 13, 2020 5:04 PM
> *To:* Henning Westerholt ; Henning Westerholt <
> h...@skalatan.de>; Kamailio (SER) - Users Mailing List <
> sr-users@lists.kamailio.org>
> *Subject:* RE: [SR-Users] how to get a value from SIP INVITE Header
>
>
>
> Hi.
>
> Thanks for your response. I went through the uri transformation page,
> tried it but no luck.
>
>
>
> Is there any other method to slice the string from
> +34xx...@sub.domain.com to +34??
>
>
>
> Regards
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers_wl=ym_sub1=Internal_sub2=Global_YGrowth_sub3=EmailSignature>
>
>
>
> On Tue, Oct 13, 2020 at 17:30, Henning Westerholt
>
>  wrote:
>
> Hello,
>
>
>
> have a look to the transformations for URIs:
> https://www.kamailio.org/wiki/cookbooks/devel/transformations#uri_transformations
>
> There is one to get parameters as well.
>
>
>
> $shm variables are shared in shared memory, so you can share them in other
> calls. The $avp/$xavp are shared between processes, but belongs to the SIP
> transaction.
>
>
>
> About routing calls by prefix – have a look to the lcr, carrierroute or
> drouting modules, for example.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *sai
> sudheer
> *Sent:* Tuesday, October 13, 2020 12:44 PM
> *To:* sr-users@lists.kamailio.org; sr-...@lists.kamailio.org
> *Subject:* [SR-Users] how to get a value from SIP INVITE Header
>
>
>
> Hii
>
>
>
> Please help me to get the a value from SIP INVITE header reached to
> kamailio like INVITE sip:+341930203...@sub.domain.com;myid=+
> 3...@sub.domain.com SIP/2.0 and i want to save the myid value +34 into a
> variable, without the domain name.
>
>
>
>
>
>  $var(uri) = $sel(ruri);
>
>  xavp_params_explode("$(var(uri){s.unbracket})", "uri");
>
>  xlog("L_INFO", "$var(uri) Received converted to
> $xavp(uri=>myid[0])\n");
>
>
>
> I tried above and it prints +3...@sub.domain.com But i want to just save
> +34 into a variable to further check the prefix based routing from the
> database.
>
>
>
> 1) Could you please help how to get it or If there is any alternate/single
> line approach to get this value?
>
> 2) $var & $xavp are process-local variables, and they cant be shared with
> other calls? Right
>
> 3) What is the best module to route calls based their prefix ? pstn_route
> or dynamic routing or any suggestions?
>
>
>
> Please help, thanks in advance.
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] how to get a value from SIP INVITE Header

2020-10-13 Thread Santanu B
I have tried to configure SIP through SIREMIS. Could you please share some
documents for this. I want y SIP endpoint to join in the Jitsi Conference
room. Please guide me.

Thanks and regards,
Santanu

On Tue, Oct 13, 2020 at 5:31 PM Henning Westerholt  wrote:

> Hello,
>
>
>
> have a look to the transformations for URIs:
> https://www.kamailio.org/wiki/cookbooks/devel/transformations#uri_transformations
>
> There is one to get parameters as well.
>
>
>
> $shm variables are shared in shared memory, so you can share them in other
> calls. The $avp/$xavp are shared between processes, but belongs to the SIP
> transaction.
>
>
>
> About routing calls by prefix – have a look to the lcr, carrierroute or
> drouting modules, for example.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *sai
> sudheer
> *Sent:* Tuesday, October 13, 2020 12:44 PM
> *To:* sr-users@lists.kamailio.org; sr-...@lists.kamailio.org
> *Subject:* [SR-Users] how to get a value from SIP INVITE Header
>
>
>
> Hii
>
>
>
> Please help me to get the a value from SIP INVITE header reached to
> kamailio like INVITE sip:+341930203...@sub.domain.com;myid=+
> 3...@sub.domain.com SIP/2.0 and i want to save the myid value +34 into a
> variable, without the domain name.
>
>
>
>
>
>  $var(uri) = $sel(ruri);
>
>  xavp_params_explode("$(var(uri){s.unbracket})", "uri");
>
>  xlog("L_INFO", "$var(uri) Received converted to
> $xavp(uri=>myid[0])\n");
>
>
>
> I tried above and it prints +3...@sub.domain.com But i want to just save
> +34 into a variable to further check the prefix based routing from the
> database.
>
>
>
> 1) Could you please help how to get it or If there is any alternate/single
> line approach to get this value?
>
> 2) $var & $xavp are process-local variables, and they cant be shared with
> other calls? Right
>
> 3) What is the best module to route calls based their prefix ? pstn_route
> or dynamic routing or any suggestions?
>
>
>
> Please help, thanks in advance.
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Regd : SIP Configuration in Kamailio

2020-10-13 Thread Santanu B
Dear David,
In /var/log folder I am unable to see any kamailio log. Only syslog file is
available. Please help me to find the Kamailio log.
Also please guide me to find out the trace also as I am very new to SIP
Server.

Thanks a lot.

Regards,
Santanu

On Tue, Oct 13, 2020 at 4:05 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> Hello,
>
> You will need to provide more information. What happens? What errors do
> you see in kamailio’s log? A trace would also be nice.
>
>
>
> On Tue, 13 Oct 2020 at 06:24, Santanu B  wrote:
>
>> Hi,
>> We are using Jitsi Meet for Video Conference Service. We want our SIP
>> endpoint to join in the conference room in Jitsi. For that i am trying to
>> configure Kamailio SIP Server in our environment. I have installed the
>> Server and my endpoints are registered in my SIP server. Both endpoints are
>> able to connect to each other. But I am unable to configure the SIP
>> endpoints to join in the Meet Conference Room. Please guide me to configure.
>>
>> Thanks and regards,
>> Santanu
>>
>>
>> ___
>>
>> Kamailio (SER) - Users Mailing List
>>
>> sr-users@lists.kamailio.org
>>
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Regd : SIP Configuration in Kamailio

2020-10-12 Thread Santanu B
Hi,
We are using Jitsi Meet for Video Conference Service. We want our SIP
endpoint to join in the conference room in Jitsi. For that i am trying to
configure Kamailio SIP Server in our environment. I have installed the
Server and my endpoints are registered in my SIP server. Both endpoints are
able to connect to each other. But I am unable to configure the SIP
endpoints to join in the Meet Conference Room. Please guide me to configure.

Thanks and regards,
Santanu
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [sage-devel] Unimodular transformation matrix of LLL algorithm

2020-09-30 Thread Santanu Sarkar
Dear Martin,
  Kindly see the following code.

from fpylll import (IntegerMatrix, LLL)
row=160
col=100
tt=cputime()
A = random_matrix(ZZ,  row,col,x=-2000, y=2000)
U = IntegerMatrix.identity(row)
tt=cputime()
B = LLL.reduction(IntegerMatrix.from_matrix(A), U).to_matrix(matrix(ZZ,
row,col))
print cputime(tt)
tt=cputime()
A=A.LLL()
print cputime(tt)

Lattice reduction takes 49 seconds in the first case and 7 seconds in the
second case.
Maybe I am missing something.

Best regards,
Santanu

On Tue, 29 Sep 2020 at 09:01, 'Martin R. Albrecht' via sage-devel <
sage-devel@googlegroups.com> wrote:

> Hi there,
>
> Sage is using FP(y)LLL under the hood, so there shouldn’t be that much of
> a performance difference. As far as I can see, both Sage and FPyLLL have
> the same defaults so it’s not clear to me why you see this performance
> difference.
>
> Cheers,
> Martin
>
>
> Santanu Sarkar  writes:
> > Dear Martin,
> > Thank you so much. It works!
> > Can we make it faster?
> > It took 17 seconds for my problem but
> > M1.LLL() took only 3 seconds. Of course I understand we
> > are calculating extra matrix U.
> >
> > Thanks again for your help.
> >
> > Regards,
> > Santanu
> >
> >
> >
> > On Sun, 27 Sep 2020 at 20:45, 'Martin R. Albrecht' via sage-devel <
> > sage-devel@googlegroups.com> wrote:
> >
> >> Hi there,
> >>
> >> This should do the trick:
> >>
> >> sage: from fpylll import *
> >> sage: A = random_matrix(ZZ, 6, 90)
> >> sage: U = IntegerMatrix.identity(6)
> >> sage: B = LLL.reduction(IntegerMatrix.from_matrix(A),
> >> U).to_matrix(matrix(ZZ, 6,
> >> 90))
> >> sage: U = U.to_matrix(matrix(ZZ, 6,6))
> >> sage: B == U*A
> >> True
> >> sage: abs(U.det())
> >> 1
> >>
> >> Cheers,
> >> Martin
> >>
> >>
> >> Santanu Sarkar  writes:
> >> > Dear all,
> >> >I have a matrix M1 with integer entries with 90 rows and 6 columns.
> >> > After applying LLL algorithm of M1, I get M2=M1.LLL(). I want to get
> >> > corresponding unimodular transformation matrix T such that
> >> > T*M1=M2. We can find T by
> >> > T=M2*M1.pseudoinverse() or T== M1.solve_left(M2), but determinant of T
> >> > becomes 0 i.e.,  T.det()=0.
> >> > I want T.det()=1.
> >> >
> >> > Best regards,
> >> > Santanu
> >>
> >>
> >> --
> >>
> >> _pgp: https://keybase.io/martinralbrecht
> >> _www: https://malb.io
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "sage-devel" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to sage-devel+unsubscr...@googlegroups.com.
> >> To view this discussion on the web visit
> >>
> https://groups.google.com/d/msgid/sage-devel/87h7rjmesx.fsf%40googlemail.com
> >> .
> >>
>
>
> --
>
> _pgp: https://keybase.io/martinralbrecht
> _www: https://malb.io
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/87blhrm5uu.fsf%40googlemail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAOe8sPJP1-ZWg9hnZvRfpU7x7nkyLw7%2BO%2BT8i0Sm8RevbVzQEA%40mail.gmail.com.


Re: [sage-devel] Unimodular transformation matrix of LLL algorithm

2020-09-28 Thread Santanu Sarkar
Dear Nils,
Thanks a lot for your help.

On Mon, 28 Sep 2020 at 08:27, Nils Bruin  wrote:

>
>
> On Sunday, September 27, 2020 at 1:48:03 PM UTC-7, Santanu Sarkar wrote:
>>
>> Dear Nils,
>>Thank you so much for your comments.
>> I consider Matrix E=[I,M1], where I is identity matrix.
>> Then reduction of E took 100 seconds. Hence I am not
>> going any advantage.
>>
>> Try [10^b*M1,I] with b = 50 or so (it depends on your problem what a
> "large" number is). I'm not promising that it's faster, but it's worth a
> try. If you do not scale M1, then I would expect you're getting back
> different answers, unless all the vectors in the span of M1 already have
> very large norm.
>
> I now also see that you're looking at a very "overgenerated" lattice (span
> of 90 vectors in ZZ^6?) Such a lattice almost surely has a very small
> covolume. I'd expect that just a HNF is actually quite fast to compute. The
> transformation matrix in such a case is also highly non-unique. It's not so
> surprising that keeping track of it is very much more expensive in this
> case (although I'm not sure it explains the full factor that you see).
>
> I'd expect that something like 8 combinations of the 90 generating vectors
> already generate the same lattice. Now you're looking at LLL-reducing a 8x6
> matrix rather than a 90x6 matrix!
>
Yes, 8 vectors generate same lattice. How can we use this information to
find a matrix U such that
UM1=M1.LLL() with determinant of U=\pm 1? I see the following code to find
coordinate vectors is very slow
in the actual problem.

from sage.modules.free_module_integer import IntegerLattice
A = random_matrix(ZZ, 3, 3, x=-2, y=2)
L = IntegerLattice(A, lll_reduce=False);
v=vector([-1,0,0])
print L.coordinates(v)


Please help me.

Regards,
Santanu


>
>
>
>
>
>> Regards,
>> Santanu
>>
>>
>> On Mon, 28 Sep 2020 at 01:12, Nils Bruin  wrote:
>>
>>> You could do the same thing as you do with Gaussian elimination to track
>>> the row operations: augment the matrix with an identity matrix.
>>> In order for the augmentation to not affect your LLL reduction, you'd
>>> want to multiply your original matrix by a large constant, so that the
>>> augmented coordinates do not affect the norms significantly.
>>>
>>> On Sunday, September 27, 2020 at 11:20:28 AM UTC-7, Dima Pasechnik wrote:
>>>>
>>>>
>>>>
>>>> On Sun, 27 Sep 2020, 18:43 Santanu Sarkar, 
>>>> wrote:
>>>>
>>>>> Dear Martin,
>>>>> Thank you so much. It works!
>>>>> Can we make it faster?
>>>>> It took 17 seconds for my problem but
>>>>> M1.LLL() took only 3 seconds. Of course I understand we
>>>>> are calculating extra matrix U.
>>>>>
>>>> one needs to do some Cython programming, as suggested by
>>>> the trac ticket mentioned above.
>>>>
>>>>
>>>>
>>>>> Thanks again for your help.
>>>>>
>>>>> Regards,
>>>>> Santanu
>>>>>
>>>>>
>>>>>
>>>>> On Sun, 27 Sep 2020 at 20:45, 'Martin R. Albrecht' via sage-devel <
>>>>> sage-...@googlegroups.com> wrote:
>>>>>
>>>>>> Hi there,
>>>>>>
>>>>>> This should do the trick:
>>>>>>
>>>>>> sage: from fpylll import *
>>>>>> sage: A = random_matrix(ZZ, 6, 90)
>>>>>> sage: U = IntegerMatrix.identity(6)
>>>>>> sage: B = LLL.reduction(IntegerMatrix.from_matrix(A),
>>>>>> U).to_matrix(matrix(ZZ, 6,
>>>>>> 90))
>>>>>> sage: U = U.to_matrix(matrix(ZZ, 6,6))
>>>>>> sage: B == U*A
>>>>>> True
>>>>>> sage: abs(U.det())
>>>>>> 1
>>>>>>
>>>>>> Cheers,
>>>>>> Martin
>>>>>>
>>>>>>
>>>>>> Santanu Sarkar  writes:
>>>>>> > Dear all,
>>>>>> >I have a matrix M1 with integer entries with 90 rows and 6
>>>>>> columns.
>>>>>> > After applying LLL algorithm of M1, I get M2=M1.LLL(). I want to get
>>>>>> > corresponding unimodular transformation matrix T such that
>>>>>> > T*M1=M2. We can find T by
>>>>>> > T=M2*M1.pseudoinverse() or T== M1.solve_left(M2), but determinant
>>>>>>

Re: [sage-devel] Unimodular transformation matrix of LLL algorithm

2020-09-27 Thread Santanu Sarkar
Dear Nils,
   Thank you so much for your comments.
I consider Matrix E=[I,M1], where I is identity matrix.
Then reduction of E took 100 seconds. Hence I am not
going any advantage.

Regards,
Santanu


On Mon, 28 Sep 2020 at 01:12, Nils Bruin  wrote:

> You could do the same thing as you do with Gaussian elimination to track
> the row operations: augment the matrix with an identity matrix.
> In order for the augmentation to not affect your LLL reduction, you'd want
> to multiply your original matrix by a large constant, so that the augmented
> coordinates do not affect the norms significantly.
>
> On Sunday, September 27, 2020 at 11:20:28 AM UTC-7, Dima Pasechnik wrote:
>>
>>
>>
>> On Sun, 27 Sep 2020, 18:43 Santanu Sarkar,  wrote:
>>
>>> Dear Martin,
>>> Thank you so much. It works!
>>> Can we make it faster?
>>> It took 17 seconds for my problem but
>>> M1.LLL() took only 3 seconds. Of course I understand we
>>> are calculating extra matrix U.
>>>
>> one needs to do some Cython programming, as suggested by
>> the trac ticket mentioned above.
>>
>>
>>
>>> Thanks again for your help.
>>>
>>> Regards,
>>> Santanu
>>>
>>>
>>>
>>> On Sun, 27 Sep 2020 at 20:45, 'Martin R. Albrecht' via sage-devel <
>>> sage-...@googlegroups.com> wrote:
>>>
>>>> Hi there,
>>>>
>>>> This should do the trick:
>>>>
>>>> sage: from fpylll import *
>>>> sage: A = random_matrix(ZZ, 6, 90)
>>>> sage: U = IntegerMatrix.identity(6)
>>>> sage: B = LLL.reduction(IntegerMatrix.from_matrix(A),
>>>> U).to_matrix(matrix(ZZ, 6,
>>>> 90))
>>>> sage: U = U.to_matrix(matrix(ZZ, 6,6))
>>>> sage: B == U*A
>>>> True
>>>> sage: abs(U.det())
>>>> 1
>>>>
>>>> Cheers,
>>>> Martin
>>>>
>>>>
>>>> Santanu Sarkar  writes:
>>>> > Dear all,
>>>> >I have a matrix M1 with integer entries with 90 rows and 6 columns.
>>>> > After applying LLL algorithm of M1, I get M2=M1.LLL(). I want to get
>>>> > corresponding unimodular transformation matrix T such that
>>>> > T*M1=M2. We can find T by
>>>> > T=M2*M1.pseudoinverse() or T== M1.solve_left(M2), but determinant of T
>>>> > becomes 0 i.e.,  T.det()=0.
>>>> > I want T.det()=1.
>>>> >
>>>> > Best regards,
>>>> > Santanu
>>>>
>>>>
>>>> --
>>>>
>>>> _pgp: https://keybase.io/martinralbrecht
>>>> _www: https://malb.io
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "sage-devel" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to sage-...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/sage-devel/87h7rjmesx.fsf%40googlemail.com
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "sage-devel" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to sage-...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-devel/CAOe8sPLQ8%2BqnGwJq%3DCGTi5f-HcZAJc3%2Bgpe6sf-qASGnvPVRJw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/sage-devel/CAOe8sPLQ8%2BqnGwJq%3DCGTi5f-HcZAJc3%2Bgpe6sf-qASGnvPVRJw%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/7a0e4e01-74b0-4076-beb5-c8fc4dbb05eeo%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/7a0e4e01-74b0-4076-beb5-c8fc4dbb05eeo%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAOe8sPKyH3UX3a3spPK2m_maZhPDUKwrALwrspbWgbxmyNHY_A%40mail.gmail.com.


Re: [sage-devel] Unimodular transformation matrix of LLL algorithm

2020-09-27 Thread Santanu Sarkar
Dear Martin,
Thank you so much. It works!
Can we make it faster?
It took 17 seconds for my problem but
M1.LLL() took only 3 seconds. Of course I understand we
are calculating extra matrix U.

Thanks again for your help.

Regards,
Santanu



On Sun, 27 Sep 2020 at 20:45, 'Martin R. Albrecht' via sage-devel <
sage-devel@googlegroups.com> wrote:

> Hi there,
>
> This should do the trick:
>
> sage: from fpylll import *
> sage: A = random_matrix(ZZ, 6, 90)
> sage: U = IntegerMatrix.identity(6)
> sage: B = LLL.reduction(IntegerMatrix.from_matrix(A),
> U).to_matrix(matrix(ZZ, 6,
> 90))
> sage: U = U.to_matrix(matrix(ZZ, 6,6))
> sage: B == U*A
> True
> sage: abs(U.det())
> 1
>
> Cheers,
> Martin
>
>
> Santanu Sarkar  writes:
> > Dear all,
> >I have a matrix M1 with integer entries with 90 rows and 6 columns.
> > After applying LLL algorithm of M1, I get M2=M1.LLL(). I want to get
> > corresponding unimodular transformation matrix T such that
> > T*M1=M2. We can find T by
> > T=M2*M1.pseudoinverse() or T== M1.solve_left(M2), but determinant of T
> > becomes 0 i.e.,  T.det()=0.
> > I want T.det()=1.
> >
> > Best regards,
> > Santanu
>
>
> --
>
> _pgp: https://keybase.io/martinralbrecht
> _www: https://malb.io
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/87h7rjmesx.fsf%40googlemail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAOe8sPLQ8%2BqnGwJq%3DCGTi5f-HcZAJc3%2Bgpe6sf-qASGnvPVRJw%40mail.gmail.com.


[sage-devel] Unimodular transformation matrix of LLL algorithm

2020-09-27 Thread Santanu Sarkar
Dear all,
   I have a matrix M1 with integer entries with 90 rows and 6 columns.
After applying LLL algorithm of M1, I get M2=M1.LLL(). I want to get
corresponding unimodular transformation matrix T such that
T*M1=M2. We can find T by
T=M2*M1.pseudoinverse() or T== M1.solve_left(M2), but determinant of T
becomes 0 i.e.,  T.det()=0.
I want T.det()=1.

Best regards,
Santanu

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAOe8sPL9gocLMRMBLWZ0T6KJ3_u7tqphJi-UBO0rVLGaeWLcbw%40mail.gmail.com.


[sage-support] Unimodular transformation matrix of LLL algorithm

2020-09-27 Thread Santanu Sarkar
Dear all,
   I have a matrix M1 with integer entries with 90 rows and 6 columns.
After applying LLL algorithm of M1, I get M2=M1.LLL(). I want to get
corresponding unimodular transformation matrix T such that
T*M1=M2. We can find T by
T=M2*M1.pseudoinverse() or T== M1.solve_left(M2), but determinant of T
becomes 0 i.e.,  T.det()=0.
I want T.det()=1.

Best regards,
Santanu

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPKjdEU95wO0B8P0sYxw5S15aVWX_MgL-6XX3wUUVEJ4-Q%40mail.gmail.com.


[sage-support] Reduction over Ideal

2020-08-05 Thread Santanu Sarkar
Dear all,
Consider ideal I= over the binary field GF(2).
Then (x2).reduce(I) gives x2. I want it to be x0*x1.
In fact , I want this kind of reduction always should give quadratic
polynomial
(I know that this is possible for my problems).

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPJcWOxLLtWNCH1deD1WOa4brnoSwLeUtVeKayeNPk3S8g%40mail.gmail.com.


[tesseract-ocr] Unable to read the TIFF image properly

2020-04-27 Thread Santanu Roy
Hi,

Please find attached TIFF image file.

The tesseract OCR is reading the 0 (Zeros) as alphabet 'O'.

I'm using a libtesseract302.dll for this.

Please help me in this regards

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/2a586f68-9329-4273-a829-a555f6c63b6e%40googlegroups.com.


[sage-support] Installation problem

2020-04-21 Thread Santanu Sarkar
Dear all,
  I am trying to install Sage 9.0. But I am getting error.
I have upgraded from Ubuntu 14.04 to Ubuntu 18.04.
I am getting this:

(base) santanu@Santanu-Laptop:~/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath$
make
...
.
make[1]: ***
[/home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/local/var/lib/sage/installed/pkgconf-0.9.7.p2]
Error 1
make[1]: Leaving directory
'/home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/build/make'

real 0m48.492s
user 0m1.040s
sys 0m0.363s
***
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make base-toolchain'):

* package: pkgconf-0.9.7.p2
  log file:
/home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/logs/pkgs/pkgconf-0.9.7.p2.log
  build directory:
/home/santanu/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath/local/var/tmp/sage/build/pkgconf-0.9.7.p2

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Makefile:31: recipe for target 'base-toolchain' failed
make: *** [base-toolchain] Error 1
(base) santanu@Santanu-Laptop
:~/Documents/sage-9.0-Ubuntu_18.04-i686/SageMath$

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sP%2BpAmEzNu2vpEyG6fpziMDjaMabQig%2BSVnG%2B2SGrOwo%2BQ%40mail.gmail.com.


[sage-support] Problem to install Cryptominisat

2020-04-19 Thread Santanu Sarkar
Hi all,
  When I am trying to install Cryptominisat, I am getting following error.

(base) santanu@Santanu-Laptop:~/Desktop/sage-8.9-Ubuntu_18.04-i686/SageMath$
./sage -i cryptominisat



***
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-toolchain'):

* package: pkgconf-0.9.7.p2
  log file:
/home/santanu/Desktop/sage-8.9-Ubuntu_18.04-i686/SageMath/logs/pkgs/pkgconf-0.9.7.p2.log
  build directory:
/home/santanu/Desktop/sage-8.9-Ubuntu_18.04-i686/SageMath/local/var/tmp/sage/build/pkgconf-0.9.7.p2

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Makefile:31: recipe for target 'all-toolchain' failed
make: *** [all-toolchain] Error 1




But I have installed pkgconf.


(base) santanu@Santanu-Laptop:~$ sudo apt-get install pkgconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
pkgconf is already the newest version (0.9.12-6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(base) santanu@Santanu-Laptop:~$

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPJUUV_kiUXcic3zi5jact_LQWo%3DAqCwx-Lk0CP%3DoOnCzg%40mail.gmail.com.


[Wien] Band structure calculation

2019-12-09 Thread Santanu Pathak
  In an calculation with PBE xc, energy values are coming without any
warning and the error files are generating but are completely empty.
Whereas band structure calculation is being interrupted due to lapw1 error,
shown in follow.

LAPW1 - Error
0.140u 0.015s 0:00.15 100.0%0+0k 0+5136io 0pf+0w


1. Why these empty error files are generated at all?
2. How can band structure be calculated in this case?

Thank you.

*Best Regards,*
*Santanu *

[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
12/09/19,
07:31:51 PM
___
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


[jira] [Created] (CTAKES-539) cTakes 4.0 installation error

2019-12-06 Thread santanu barkakati (Jira)
santanu barkakati created CTAKES-539:


 Summary: cTakes 4.0 installation error
 Key: CTAKES-539
 URL: https://issues.apache.org/jira/browse/CTAKES-539
 Project: cTAKES
  Issue Type: Bug
Reporter: santanu barkakati


I am trying to follow the user installation guide, but got error in below step1 
of 
h3. CAS Visual Debugger (CVD)

bin\runctakesCVD.bat  
desc\ctakes-clinical-pipeline\desc\analysis_engine\AggregatePlaintextFastUMLSProcessor.xml

Would appreciate some direction.

*Below is the error from log file:*

12:03:17.219 - 1: org.apache.uima.tools.cvd.MainFrame.handleException(526): 
SEVERE: Initialization of annotator class 
"org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator" 
*{color:#FF}failed.{color}*  (Descriptor: 
file:/C:/Users/sbarkakati/cTakes/apache-ctakes-4.0.0/desc/ctakes-dictionary-lookup-fast/desc/analysis_engine/UmlsLookupAnnotator.xml)12:03:17.219
 - 1: org.apache.uima.tools.cvd.MainFrame.handleException(526): SEVERE: 
Initialization of annotator class 
"org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator" failed.  
(Descriptor: 
file:/C:/Users/sbarkakati/cTakes/apache-ctakes-4.0.0/desc/ctakes-dictionary-lookup-fast/desc/analysis_engine/UmlsLookupAnnotator.xml)org.apache.uima.resource.ResourceInitializationException:
 Initialization of annotator class 
"org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator" failed.  
(Descriptor: 
file:/C:/Users/sbarkakati/cTakes/apache-ctakes-4.0.0/desc/ctakes-dictionary-lookup-fast/desc/analysis_engine/UmlsLookupAnnotator.xml)
 at 
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:271)
 at 
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:170)
 at 
org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
 at 
org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
 at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279) at 
org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:407) at 
org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:256) at 
org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:429)
 at 
org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:373)
 at 
org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:186)
 at 
org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
 at 
org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
 at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279) at 
org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:371) at 
org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1484) at 
org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:476) at 
org.apache.uima.tools.cvd.CVD.main(CVD.java:164)Caused by: 
org.apache.uima.resource.ResourceInitializationException at 
org.apache.ctakes.dictionary.lookup2.ae.AbstractJCasTermAnnotator.initialize(AbstractJCasTermAnnotator.java:131)
 at 
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:266)
 ... 16 moreCaused by: java.io.FileNotFoundException: No File exists at 
org/apache/ctakes/dictionary/lookup/fast/sno_rx_16ab.xml at 
org.apache.ctakes.core.resource.FileLocator.getFullPath(FileLocator.java:193) 
at org.apache.ctakes.core.resource.FileLocator.locateFile(FileLocator.java:99) 
at org.apache.ctakes.core.resource.FileLocator.getAsStream(FileLocator.java:73) 
at org.apache.ctakes.core.resource.FileLocator.getAsStream(FileLocator.java:53) 
at 
org.apache.ctakes.dictionary.lookup2.ae.AbstractJCasTermAnnotator.initialize(AbstractJCasTe

 

rmAnnotator.java:128) ... 17 more



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


Re: [Mojolicious] Mojolicious Web Clients Book

2019-11-29 Thread Zakarias Santanu
The link doesn’t work

> On 21 Nov 2019, at 16.17, sri  wrote:
> 
> You can now pre-order the book brian d foy announced at Mojoconf.
> 
> https://www.amazon.com/gp/product/B0815XLYJX/ 
> 
> 
> --
> sebastian
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Mojolicious" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to mojolicious+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mojolicious/21938b5f-9092-4a9a-85c3-35dc549bbba5%40googlegroups.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/8F02C357-B22D-4007-86BB-86C6C6F701F7%40gmail.com.


Re: [Wien] B3LYP calculation

2019-11-14 Thread Santanu Pathak
Sorry, the in0 file is following, not the previous one.

*in0 file*

TOT  XC_B3LYP (XC_LDA,XC_PBESOL,XC_WC,XC_MBJ,XC_REVTPSS)
NR2V  IFFT  (R2V)
  40  40  402.00  1min IFFT-parameters, enhancement factor, iprint

*Best Regards,*

*Santanu Pathak*
*Senior Research Fellow*
*Variable Energy Cyclotron Centre*

*1/AF Bidhan Nagar, Kolkata-700064, India*
*Phone no.: 033-2318-4460 / **09163419475*



[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
11/15/19,
01:01:47 AM

On Fri, Nov 15, 2019 at 12:57 AM Santanu Pathak 
wrote:

> I am following those steps ofcourse only after running a simple
> calculation with PBA-GGA potential.
> for convenience, I am copying the 3 files in0, in0_grr and inhf I have
> edited for B3LYP calculation.
> Kindly tell the solution.
>
> *in0 file*
>
> TOT  XC_PBE (XC_LDA,XC_PBESOL,XC_WC,XC_MBJ,XC_REVTPSS)
>
> NR2V  IFFT  (R2V)
>   40  40  402.00  1min IFFT-parameters, enhancement factor, iprint
>
> *in0_grr file*
>
> TOT   EX_SLDA EC_NONE VX_SLDA VC_NONE (
>  (XC_LDA,XC_PBESOL,XC_WC,XC_MBJ,XC_REVTPSS)
> R2V  IFFT  (R2V)
>   24  24  402.00  1min IFFT-parameters, enhancement factor, iprint
>
> *inhf file*
>
> 0.2 alpha
> Fscreened (T) or unscreened (F)
> 0.165lambda
> 10   nband
> 6gmax
> 3lmaxe
> 3lmaxv
> 1d-3 tolu
>
>
> ---********---***-
>
> *Best Regards,*
>
> *Santanu Pathak*
> *Senior Research Fellow*
> *Variable Energy Cyclotron Centre*
>
> *1/AF Bidhan Nagar, Kolkata-700064, India*
> *Phone no.: 033-2318-4460 / **09163419475*
>
>
>
> [image: Mailtrack]
> <https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
>  Sender
> notified by
> Mailtrack
> <https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
>  11/15/19,
> 12:56:45 AM
>
> On Fri, Nov 15, 2019 at 12:46 AM Santanu Pathak 
> wrote:
>
>> I am trying a B3LYP calculation.
>> I have followed steps as given in manual (p 52 of manual@2018).
>> 1. XC_B3LYP in case.in0
>> 2. EX_SLDA and VX_SLDA in case.in0_grr
>> 3. selected unscreened and alpha 0.2 in case.inhf
>> and then running command run_lapw -hf
>>
>> But error is coming as follow. What's the solution?
>>
>>  LAPW0 END
>>  LAPW0 END
>>
>> *cp: cannot stat âTadop_neut_relax_PBE_K100.kgen_ibzâ: No such file or
>> directorycp: cannot stat âTadop_neut_relax_PBE_K100.klist_ibzâ: No such
>> file or directory*
>>  LAPW1 END
>>  LAPW2 END
>>  CORE  END
>> OPEN FAILED
>> >   stop error
>>
>> *Best Regards,*
>>
>> *Santanu Pathak*
>> *Senior Research Fellow*
>> *Variable Energy Cyclotron Centre*
>>
>> *1/AF Bidhan Nagar, Kolkata-700064, India*
>> *Phone no.: 033-2318-4167 / **09163419475*
>>
>>
>>
>>
>> [image: Mailtrack]
>> <https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
>>  Sender
>> notified by
>> Mailtrack
>> <https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
>>  11/15/19,
>> 12:45:07 AM
>>
>
___
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: [Wien] B3LYP calculation

2019-11-14 Thread Santanu Pathak
I am following those steps ofcourse only after running a simple calculation
with PBA-GGA potential.
for convenience, I am copying the 3 files in0, in0_grr and inhf I have
edited for B3LYP calculation.
Kindly tell the solution.

*in0 file*

TOT  XC_PBE (XC_LDA,XC_PBESOL,XC_WC,XC_MBJ,XC_REVTPSS)

NR2V  IFFT  (R2V)
  40  40  402.00  1min IFFT-parameters, enhancement factor, iprint

*in0_grr file*

TOT   EX_SLDA EC_NONE VX_SLDA VC_NONE (
 (XC_LDA,XC_PBESOL,XC_WC,XC_MBJ,XC_REVTPSS)
R2V  IFFT  (R2V)
  24  24  402.00  1min IFFT-parameters, enhancement factor, iprint

*inhf file*

0.2 alpha
Fscreened (T) or unscreened (F)
0.165lambda
10   nband
6gmax
3lmaxe
3lmaxv
1d-3 tolu

------***-

*Best Regards,*

*Santanu Pathak*
*Senior Research Fellow*
*Variable Energy Cyclotron Centre*

*1/AF Bidhan Nagar, Kolkata-700064, India*
*Phone no.: 033-2318-4460 / **09163419475*



[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
11/15/19,
12:56:45 AM

On Fri, Nov 15, 2019 at 12:46 AM Santanu Pathak 
wrote:

> I am trying a B3LYP calculation.
> I have followed steps as given in manual (p 52 of manual@2018).
> 1. XC_B3LYP in case.in0
> 2. EX_SLDA and VX_SLDA in case.in0_grr
> 3. selected unscreened and alpha 0.2 in case.inhf
> and then running command run_lapw -hf
>
> But error is coming as follow. What's the solution?
>
>  LAPW0 END
>  LAPW0 END
>
> *cp: cannot stat âTadop_neut_relax_PBE_K100.kgen_ibzâ: No such file or
> directorycp: cannot stat âTadop_neut_relax_PBE_K100.klist_ibzâ: No such
> file or directory*
>  LAPW1 END
>  LAPW2 END
>  CORE  END
> OPEN FAILED
> >   stop error
>
> *Best Regards,*
>
> *Santanu Pathak*
> *Senior Research Fellow*
> *Variable Energy Cyclotron Centre*
>
> *1/AF Bidhan Nagar, Kolkata-700064, India*
> *Phone no.: 033-2318-4167 / **09163419475*
>
>
>
>
> [image: Mailtrack]
> <https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
>  Sender
> notified by
> Mailtrack
> <https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
>  11/15/19,
> 12:45:07 AM
>
___
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] B3LYP calculation

2019-11-14 Thread Santanu Pathak
I am trying a B3LYP calculation.
I have followed steps as given in manual (p 52 of manual@2018).
1. XC_B3LYP in case.in0
2. EX_SLDA and VX_SLDA in case.in0_grr
3. selected unscreened and alpha 0.2 in case.inhf
and then running command run_lapw -hf

But error is coming as follow. What's the solution?

 LAPW0 END
 LAPW0 END

*cp: cannot stat âTadop_neut_relax_PBE_K100.kgen_ibzâ: No such file or
directorycp: cannot stat âTadop_neut_relax_PBE_K100.klist_ibzâ: No such
file or directory*
 LAPW1 END
 LAPW2 END
 CORE  END
OPEN FAILED
>   stop error

*Best Regards,*

*Santanu Pathak*
*Senior Research Fellow*
*Variable Energy Cyclotron Centre*

*1/AF Bidhan Nagar, Kolkata-700064, India*
*Phone no.: 033-2318-4167 / **09163419475*




[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;>
11/15/19,
12:45:07 AM
___
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


[sage-support] LLL algorithm in infinity norm

2019-11-01 Thread Santanu Sarkar
Dear all,
  I want run LLL algorithm in infinity norm (max norm). Is it
possible in Sage? My lattice is generated by row vectors
of a square matrix.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPK62RGd%3DP03PPZmHvuTFM9E5w6cACcxERc4TRTjpg8ADA%40mail.gmail.com.


[sage-support] Solve inequality in Sage

2019-10-20 Thread Santanu Sarkar
Hi,
 I have inequalities like these:

3 x1 + 5 x2 + 2 x3 + 5 x4 + 7 x5 <= 28
 2 x1 + 0 x2 + 0 x3 + 8 x4 <= 14
 4 x4 + 5 x5 <= 22
 3 x2 <= 2
 3 x4  >= 1

I want to get a  solution. Values of x's are either 0 or 1.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPLL%3DwyaGMVQPzCfAG9LX%3D1tjcRxrbc9w3LB8rt9T_SWhQ%40mail.gmail.com.


Regarding array

2019-08-12 Thread Santanu
While exploring nim, I came to know that you cannot create an array during 
dynamically. The size of the array must be known at compile time. There are a 
few work around as i have found in the previous thread i ask or one can use 
static[int] while using array within a function or object. Why was the array 
designed this way in nim? Most major static language can create dynamically. Is 
seq the answer to this problem? I am assuming seq is like a Array in java or 
vector in c++ where the memory doubles after hitting a certain threshold. What 
is the performance difference between array and seq?

One more question ... How do i pass a matrix to function?


proc (mat: var openArray[seq[int]]) = discard


Run

This is working for a 2d seq, but if the rank increases it will be quite 
cumbersome. Is there a more elegant way to pass matrix to a function?


[gmx-users] cmap error while making tpr file from dcd file

2019-06-13 Thread Santanu Santra
hey users,
While I'm trying to calculate some properties in gromacs
from dcd files (NAMD), I followed the protocol in generating xtc file from
vmd by loading psf and pdb files, and by grompp engine using a similar mdp
file equivalent to my NAMD configuration file, I got CMAP error as
follows:::
===
ERROR 1 [file xxx_350k.top, line 2163]:
  Unknown cmap torsion between atoms 8 10 12 27 29
==
And this is the first line in CMAP category of my xtc file, so I believe
it's unable to read CMAP part. Any kind of suggestion is highly appreciated
which can help me to get rid of the error or to generate tpr file from dcd
(NAMD) files.

Thanks in advance
Regards

Santanu Santra



--
-- 
Gromacs Users mailing list

* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a 
mail to gmx-users-requ...@gromacs.org.


Re: create array at runtime

2019-06-04 Thread Santanu
int* p = (int*) malloc (size * sizeof (int)); Is there a way to write this in 
Nim or do I have to ffi malloc (and will it work?). I don't want a variable 
length container but to set the size dynamically.

type


Stack = object
A: array[5, int]

This works but the array size is fixed. I want to specify the array size at 
object creation. Thanks for your help. 


create array at runtime

2019-06-04 Thread Santanu

type
Stack[T] = object
top: int
size: int
A: array[size, T]


Run

This does not work as size is unknown at creation. How to create a ptr to array 
like in C?


Re: [sage-support] Re: How to find one element of residue field as a vector over base field

2019-05-15 Thread Santanu Sarkar
On Wed, 15 May 2019 at 17:03, Kwankyu  wrote:

> Hi Chandra,
>
> What is Place (x^2 + x + 1, x*y + 1)? Is it ideal generated by
>>
>> (x^2 + x + 1, x*y + 1).
>>
>>
> No. Place (x^2 + x + 1, x*y + 1) is the unique place of the function field
>
> at which both functions x^2 + x +1, x*y + 1 vanish.
>
> Thank you for your response. We know that a place is the unique maximal
ideal of a local (valuation) ring obtained from the valuation map, which is
well known to be a principle ideal.
 So, there will be a single generator for a place. But here it is
represented by two polynomials. We didn't get what it means. Can we find
the corresponding valuation ring, valuation map
ant the generator for the place?


>
>
>> What is the value of $\frac{xy}{(x^2 + x + 1) } +
>>
>> \frac{1}{x^2 + x + 1}+$ Place $(x^2 + x + 1, x y + 1)$?
>>
>>
> You cannot add an element of the function field with a place.
>
Actually by this we meant the element modulo the place ( a maximum ideal).


>
>
>> It is an element of residue field which is isomorphic to
>>
>> $\mathbb{F}_{2^2}$. Since $\mathbb{F}_{2^2}$ is isomorphic
>> to $\mathbb{F}^2_{2}$ as a vector space,
>>
>> I want value in $\mathbb{F}^2_{2}$.
>>
>>
> vector(a)
>
> or you can use the maps returned by
>
> k.vector_space(map=True)
>
> if k is the residue field.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/813396b6-b7ae-452d-9b30-c73003262155%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPLhyMm3HFxUx42_N2goGF_FHnv%2BUuAEPvdbX%2Bs3h2ySbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Function Field

2019-05-13 Thread Santanu Sarkar
Hi,
  Sorry. This is not working:

K. = FunctionField(GF(2))
R. = K[]
f=y^2 + 1 + 1/x
L. = K.extension(f)
print L.places(1)

I am using https://sagecell.sagemath.org/

On Mon, 13 May 2019 at 16:48, Vincent Delecroix <20100.delecr...@gmail.com>
wrote:

> Hello,
>
> It works for me and I obtain
>
> [Place (1/x, y), Place (1/x, y + 1), Place (x, x*y)]
>
> Could you describe the SageMath version you are using?
>
> Vincent
>
> Le 13/05/2019 à 10:10, Santanu Sarkar a écrit :
> > Hi,
> >This code works well.
> >
> > K. = FunctionField(GF(2))
> > R. = K[]
> > f=y^2 + y + 1/x
> > L. = K.extension(f)
> > print L.places(1)
> >
> >
> > But if I take f=y^2 + y + 1/x, it is giving error.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/e8d3d937-7dd5-0e51-1f8e-e9c310aaa74c%40gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPLZ78QwoK55xhx5431x1pDOtOtiGB_YzMy9jG8TLBb4Mg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Function Field

2019-05-13 Thread Santanu Sarkar
Hi,
  This code works well.

K. = FunctionField(GF(2))
R. = K[]
f=y^2 + y + 1/x
L. = K.extension(f)
print L.places(1)


But if I take f=y^2 + y + 1/x, it is giving error.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPLT-%2BHx3we%2BMimrV0qm-b2g5NZFnZcnHX-BEKb_rFTSvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: How to define variables over integer

2019-05-09 Thread Santanu Sarkar
Dear friends,
   Thank you so much for your help. It is working now.

Regards,
Santanu

On Thu, 9 May 2019 at 15:19, Simon King  wrote:

> Hi Santanu,
>
> Am Mittwoch, 8. Mai 2019 15:15:06 UTC+2 schrieb Santanu:
>>
>> I know how to define variables over BooleanPolynomialRing.
>> This is as follows.
>>
>> n=4
>> V=BooleanPolynomialRing(n+1,['z%d'%(i) for i in range(n+1)] )
>> V.inject_variables()
>>
>
> The above is what you could do *in an interactive session* in the case
> that the number of variables isn't known in advance. If it is known that
> you have exactly four variables, simply do
>sage: V. = BooleanPolynomialRing()
> which would automatically define z0,...,z3 in the global namespace.
>
> Similarly, you can do
>sage: V. = ZZ[]
> to create a polynomial ring over the integers with generators z0,...,z3
>
> But the above is not what you could do *in a python module* and in a
> module it is also a bad idea to inject variables.
>
> So, simply put the variables in a list or access them by methods of V.
>
>
>> Can we define similar code over integers (ZZ) or rationals (QQ)?
>>
>
> Actually I wonder if we mean the same when we say "variables over ZZ". I
> mean "generators of a polynomial ring with integer coefficients". When the
> number of generators isn't known in advance, but the generators are named
> z0,z1,z2,..., such ring can be created, e.g., by
> sage: P = PolynomialRing(ZZ, 'z', 5)
> sage: P
> Multivariate Polynomial Ring in z0, z1, z2, z3, z4 over Integer Ring
>
> However, I could imagine that you wanted to ask how to create a symbolic
> variable that is assumed to take values in ZZ --- and that's totally
> different from a generator of a polynomial ring over ZZ. So, if that's what
> you mean, you could do (in an interactive session)
>
> sage: var('z0 z1 z2 z3', domain='integer')
> (which would inject the variables into the global namespace) or
> Z = var('z0 z1 z2 z3', domain='integer')
> (which would also work in a python module and puts the variables into a
> tuple).
>
> Also I want to store variables in an array like Z=[z0,z1,z2,z3]
>> but it should be automatic. I will change only n.
>>
>
> If you really want to work with symbolic variables, you could do
> sage: n = 5
> sage: Z = var(['z{}'.format(i) for i in range(n)], domain='integer')
> sage: Z
> (z0, z1, z2, z3, z4)
> sage: z0
> z0
> (thus, the variables are both put in a tuple and injected into the global
> name space.
>
> However, I believe that very many Sage users work with symbolic variables
> when they should better use generators of polynomial rings. So, perhaps
> code such as the following
> sage: P = PolynomialRing(ZZ, 'z', n)
> sage: Z = P.gens()
> sage: Z
> (z0, z1, z2, z3, z4)
> sage: P.gen(0)
> z0
> sage: P.inject_variables()
> Defining z0, z1, z2, z3, z4
> (the latter only in an interactive session) suites your needs better.
>
> Best regards,
> Simon
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/d7d49151-5dc8-445c-b0dc-e494eb558965%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-support/d7d49151-5dc8-445c-b0dc-e494eb558965%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPJhKPX4jYZUPAJnjNjkGvMtj4TNCpPkcBD9zg0vo1k4ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[sage-support] How to define variables over integer

2019-05-08 Thread Santanu Sarkar
I know how to define variables over BooleanPolynomialRing.
This is as follows.

n=4
V=BooleanPolynomialRing(n+1,['z%d'%(i) for i in range(n+1)] )
V.inject_variables()

Can we define similar code over integers (ZZ) or rationals (QQ)?
Also I want to store variables in an array like Z=[z0,z1,z2,z3]
but it should be automatic. I will change only n.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAOe8sPKEKd0DEWaz-4fWpu5MemssWHUtrNJwaLOS_dCvTkTUXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Wien] WARNING in CHARGED CELL calculation

2019-04-29 Thread Santanu Pathak
I am calculating energy and hyperfine parameters for oxide. I have
performed a neutral cell calculation and then due to performing, made the
required changes in input files (1. Removed 1 electron, therefore reduced
:NE by 1 in .in2c file, and 2.  Edited 1st line in .inm file by BROYD
-1.0   YES). For one particular structure of the oxide, the charged cell
calculation shows no warning and DOS calculation is meaningful. But any
calculation with very little change in atomic positions is showing WARNING
in energy and message in .scf file is following:

:WARN  :CHARGED CELL with  -1.000
an energy correction like C Q**2/(L eps) is not included
(PRB51,4014; PRB73,35215)

How can this WARNING be taken care of? Thank you.

*Best Regards,*

*Santanu Pathak*
*Senior Research Fellow*
*Variable Energy Cyclotron Centre*

*1/AF Bidhan Nagar, Kolkata-700064, India*




On Wed, Mar 6, 2019 at 3:00 PM Santanu Pathak 
wrote:

> I am calculating the electronic structure of oxide material. There's no
> error in the scf run and DOS, band structure, optical properties are being
> studied. But after following all the steps for Electron Density plot, *a
> message 'DIR WRONG'* is coming in *x lapw5* as below.
>
> [image: image.png]
> Therefore electron density plot is not formed as shown below.
> [image: image.png]
>
> How can this problem be solved? Kindly let me know if any further detail
> is needed about the scf run or structure for solving the problem. Thank you.
>
>
> *Best Regards, *
>
> *Santanu Pathak*
> *Senior Research Fellow*
> *Variable Energy Cyclotron Centre*
>
> *1/AF Bidhan Nagar, Kolkata-700064, India*
> *Phone no.: 033-2318-4460 / **09163419475*
>
>
>
___
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


typed and untyped

2019-04-26 Thread Santanu
Going through the manual example i got an idea what typed and untyped is. When 
the return type of a template is void the code within it is substituted. But 
what happens when the return type is typed and untyped respectively.


[Wien] 'DIR WRONG' error in electron density plotting

2019-03-06 Thread Santanu Pathak
I am calculating the electronic structure of oxide material. There's no
error in the scf run and DOS, band structure, optical properties are being
studied. But after following all the steps for Electron Density plot, *a
message 'DIR WRONG'* is coming in *x lapw5* as below.

[image: image.png]
Therefore electron density plot is not formed as shown below.
[image: image.png]

How can this problem be solved? Kindly let me know if any further detail is
needed about the scf run or structure for solving the problem. Thank you.


*Best Regards, *

*Santanu Pathak*
*Senior Research Fellow*
*Variable Energy Cyclotron Centre*

*1/AF Bidhan Nagar, Kolkata-700064, India*
*Phone no.: 033-2318-4460 / **09163419475*
___
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: Nim VS Code autocompletion

2019-02-19 Thread Santanu
Thanks guys for your help, solved the problem. Apparently while installing the 
compiler manually something must have gone wrong with koch tools. Although nim 
was added to the path, but nimble and nimsuggest was not. Did a fresh install 
using chooseNim and now works fine.


Re: Nim VS Code autocompletion

2019-02-19 Thread Santanu
Added both file to etc/profile.d and also used source to load them. But after 
restarting the the terminal it does not work.


Re: Nim VS Code autocompletion

2019-02-19 Thread Santanu
So i have to add both the path of nim-0.19.4/bin and .nimble/bin in two 
separate files namely nim.sh and nimble.sh ?? 


Nim VS Code autocompletion

2019-02-19 Thread Santanu
Hi, Completely new to nim. I install nim on my arch Linux machine using "" sudo 
pacman -S nim", works fine, install the nim package in vs code, still works 
like gem; gives useful snippet of info for each proc. But the version of nim in 
the repository is 0.18.0, so couldn't install any third party library like 
jester. Uninstall it, download the binaries for the latest version from the 
official website also nimble. Installed it with the direction given, added path 
to .bachrc. Works fine, But no code completion now in vs code. I think the path 
to nimsuggest in not added. Tried to add the dir of nimsuggest inside 
nim-0.19.4 to path. Does not work. Plz Help! 


Code completion on vs code

2018-10-27 Thread Santanu
Hi , i have installed nim-0.19 on my windows pc Added bin dir to path Code is 
being compiled and is running. But the code completion is not working on vs 
code Also enabled nimsuggest on extension settings but still not working Plz 
help 


[gmx-users] Bad contact error for gromacs 5.0.4 but running in 4.6.5

2018-09-04 Thread Santanu Santra
hi all,
   I have two sets of solutions containing solute 0.5 M and 2M in
water. While I was simulating 2 M solution this was running successfully
without error in gromacs 4.6.5 version but getting error in gromacs 5.0.4
version with the same input gro file and same mdp file.

The error in gromacs 5.0.4 is :

Polak-Ribiere Conjugate Gradients:
   Tolerance (Fmax)   =  1.0e+03
   Number of steps=  500
   F-max =  9.56087e+02 on atom 432
   F-Norm=  1.37462e+02

step -1: Water molecule starting at atom 1236 can not be settled.
Check for bad contacts and/or reduce the timestep if appropriate.

WARNING: Listed nonbonded interaction between particles 1121 and 1135
at distance 2.693 which is larger than the table limit 2.000 nm.

This is likely either a 1,4 interaction, or a listed interaction inside
a smaller molecule you are decoupling during a free energy calculation.
Since interactions at distances beyond the table cannot be computed,
they are skipped until they are inside the table limit again. You will
only see this message once, even if it occurs for several interactions.

IMPORTANT: This should not happen in a stable simulation, so there is
probably something wrong with your system. Only change the table-extension
distance in the mdp file if you are really sure that is the reason.

Step 0, Epot=-nan, Fnorm= -nan, Fmax=3.990e+08 (atom 1130)
[XXX:09843] *** Process received signal ***
[XXX:09843] Signal: Segmentation fault (11)
[XXX:09843] Signal code: Address not mapped (1)
[XXX:09843] Failing at address: 0xfffe030f98c0
[XXX:09843] [ 0] /lib64/libpthread.so.0[0x357040f710]
[XXX:09843] [ 1]
/opt/gromacs-5.0.4/bin/../lib64/libgromacs_mpi.so.0(+0xe5398e)[0x2b3ee666b98e]
[XXX:09843] [ 2]
/opt/gromacs-5.0.4/bin/../lib64/libgromacs_mpi.so.0(+0xe57396)[0x2b3ee666f396]
[XXX:09843] [ 3]
/opt/gromacs-5.0.4/bin/../lib64/libgromacs_mpi.so.0(nbnxn_put_on_grid+0xf67)[0x2b3ee66728d7]
[XXX:09843] [ 4]
/opt/gromacs-5.0.4/bin/../lib64/libgromacs_mpi.so.0(do_force_cutsVERLET+0x37a)[0x2b3ee668b06a]
[XXX:09843] [ 5]
/opt/gromacs-5.0.4/bin/../lib64/libgromacs_mpi.so.0(do_force+0x203)[0x2b3ee668f233]
[XXX:09843] [ 6]
/opt/gromacs-5.0.4/bin/../lib64/libgromacs_mpi.so.0(+0xf26f4f)[0x2b3ee673ef4f]
[XXX:09843] [ 7]
/opt/gromacs-5.0.4/bin/../lib64/libgromacs_mpi.so.0(do_cg+0x10b1)[0x2b3ee6745e51]
[XXX:09843] [ 8] mdrun_mpi(mdrunner+0x1056)[0x420e26]
[XXX:09843] [ 9] mdrun_mpi(_Z9gmx_mdruniPPc+0x1811)[0x42e7b1]
[XXX:09843] [10]
/opt/gromacs-5.0.4/bin/../lib64/libgromacs_mpi.so.0(_ZN3gmx24CommandLineModuleManager3runEiPPc+0xe1)[0x2b3ee5a3f2d1]
[XXX:09843] [11] mdrun_mpi(main+0x87)[0x40bd07]
[XXX:09843] [12] /lib64/libc.so.6(__libc_start_main+0xfd)[0x356fc1ed1d]
[XXX:09843] [13] mdrun_mpi[0x40bbb9]
[XXX:09843] *** End of error message ***
Segmentation fault (core dumped)
:
also I tried to give minimized gro file(minimized in gromacs 4.6.5) as
input gro file for again minimization in gromacs 5.0.4  but still getting
the same error.

also I tried to rescale the system by taking em.gro (minimized in gromacs
4.6.5) in gromacs 5.0.4 but still getting the same error.
:;
(1) Although the system is very dense but if it is running in gromacs 4.6.5
version then why not for gromacs 5.0.4 ?
(2) In order to run in gromacs 5.0.4 version what modification in mdp file
needed?

Any suggestion is highly appreciated.

Thanks in advance.
Santanu Santra







--
-- 
Gromacs Users mailing list

* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a 
mail to gmx-users-requ...@gromacs.org.


[gmx-users] gmx convert-tpr tool is not found but tpbconv_mpi is present in gromacs 5.0.4

2018-07-06 Thread Santanu Santra
Hi all,
 I have installed gromacs 5.0.4 in a parallel cluster. While I was
serching for gmx convert-tpr tool to extend my simulation that has been run
previously upto 15 ns (I want to continue the simulation upto 100 ns).
According to gromacs documentation tpbconv_mpi tool is removed from gromacs
5.0. version and this is replaced by gmx convert-tpr tool. But in my
bin directory there is nothing in the name of  gmx convert-tpr or in
similar name, but I found tpbconv_mpi . I also tried with that tool to
extend but it is showing error .

I tried the command==
tpbconv_mpi -s md_nvt -o md_nvt_25.tpr -extend 1

I got 
GROMACS:  gmx tpbconv, VERSION 5.0.4
Executable:   /opt/gromacs-5.0.4/bin/gmx_mpi
Library dir:  /opt/gromacs-5.0.4/share/gromacs/top
Command line:
  tpbconv_mpi -s md_nvt -o md_nvt_25.tpr -extend 1

This tool has been removed from Gromacs 5.0. Please see
  http://www.gromacs.org/Documentation/How-tos/Tool_Changes_for_5.0
for ideas how to perform the same tasks with the new tools.
===

I am confused with two contrary statements.
(1) If tpbconv_mpi tool is removed from gromacs 5.0.X version, then how it
is present in my bin directory and also it is not working
(2) why  gmx convert-tpr tool is absent in my bin directory. As all other
tools are available in my bin directory.


Any help or suggestion is highly accepted. Thanks in advance.
-- 
Gromacs Users mailing list

* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!

* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

* For (un)subscribe requests visit
https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a 
mail to gmx-users-requ...@gromacs.org.


Re: [sage-support] Re: How to find solution

2017-10-18 Thread Santanu Sarkar
Dear Simon,
Thank you so much.

Regards,
Santanu

On 15 October 2017 at 13:30, Simon King <simon.k...@uni-jena.de> wrote:

> On 2017-10-14, Simon King <simon.k...@uni-jena.de> wrote:
> > First, define a variable `a`. I don't know if one really needs
> > to declare its domain to solve the problem, but when one does,
> > the computation works:
>
> One doesn't need to. var('a') is just fine.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

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


[sage-support] How to find solution

2017-10-14 Thread Santanu Sarkar
In Sage, is it possible to find a such that

 \int_{a}^{\infty} e^(-x^2/2) dx=2^(-20)

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


Re: [Neo4j] Re: Using Neo4j Community edition in commercial applications

2017-09-17 Thread santanu DUTTA
I am in this situation right now - just an idea and me working with the 
Community edition. I am also planning to run everything on Windows VM. 
How have your experience been with Neo4j? Did you finally go ahead with 
Neo4j or switched to some other dbs?

On Friday, 15 July 2016 12:14:26 UTC-7, Dave M wrote:
>
> Dennis, I am in a similar situation.  I just have an idea, but am playing 
> with the Community Edition until I know things will actually work.  What 
> decisions have you made about scalability?  For example, right now I'm 
> planning on running everything on a Windows Server VM, just because I am 
> more familiar with Windows.  But I wonder if eventually hosting on EC2 
> means I have to go the Ubuntu route.  Do you have any suggestions?
>

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


how to pass constant parameter to Init() function of UDAF

2017-08-14 Thread Santanu Chatterjee
I am trying to develop a UDAF which takes three parameters. SQL syntax
would look like this :

select myudaf(col1, 1, 100) from mytab;

Here col1 is from table mytab and of type numeric (double/int etc.). The
other two parameters are constants. The third parameter determines memory
allocation for intermediate results. Therefore, I need to access it from
Init() function. Here is how I developed my update and init functions :

void myUDAFInit(FunctionContext *ctx, StringVal *dst);
void myUDAFUpdate(FunctionContext *ctx, const DoubleVal& d, const IntVal&,
const IntVal&, StringVal* result);

Also, I am defining my UDAF like this :

create aggregate function myUDAF(double, int, int) returns... ;

However, when I try to access function arguments in my Init() function, it
says the arguments are non-constant. Is there a different way to define
constant arguments?

Thanks in Advance.


.Net SDK exception in Microsoft Service Fabric

2017-07-25 Thread santanu adhikari
Hi,
   I have installed .Net SDK ManagedONS (v 1.3.0) in a Microsoft Service
Fabric stateless service application. Whenever calling any class of the
SDK, getting exception :
External component has thrown an exception.
But same things are working in Console Apllication.
Is there any solution for that?


GWT DataGrid background colour for rows

2017-05-30 Thread Santanu Banerjee
I am trying to apply background colour to some rows dynamically based on 
some program logic, but I can see that the colour is disspearing on any 
further row selection.
I used two approaches to change the colour.
1) baseGrid.getRowElement(i).getCells().getItem(0).addClassName();
2)TableCellElement cell = 
grid.getRowElement(i).getCells().getItem(colIndex); 
cell.getStyle().setProperty("background", "#DD");

Could you please suggest any alternative ways I can do it. so that the 
background colour of the rows do not change on any further row selection?

Thanks,
Santanu

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


[akka-user] Using Akka for Data Synchronization Use Case

2017-05-07 Thread Santanu Dey
*Please suggest if Akka can be used for the following use case:*


I have to run an application for two different user groups one from the 
Intranet and another from the Internet. 

The company policy requires me to run this applications from two different 
hosting sites 

Each site would contain its own DB, App and Web server resources. 

However the application copy on either side should be consistent with 
respect to data. 

Only communication between these two layers are allowed via a message 
queue. 

*Questions*

   1. Can Akka be used on both sides application layer to solve the data 
   consistency problem on either copies of the application?
   2. Can Akka make use of the message queue for communicating between the 
   hosting site A to hosting site B?

Thanks 

Santanu Dey

-- 
>>>>>>>>>>  Read the docs: http://akka.io/docs/
>>>>>>>>>>  Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


[polymer-dev] Re: How to distinguish between structural changes to array made in parent element vs property changes to an item of array made in child element observer?

2017-03-04 Thread Santanu Basu
I could also see the log output being reasonable.  But that gets at the 
question behind the question, which is this:  How can I observe a change 
caused by an actual edit of an item of the list, and not a reassignment of 
the data objects to the element instances that is causes by things like 
unshift, sort, or filter?  That distinction is really what I'm interested 
in.

On Saturday, March 4, 2017 at 9:34:31 PM UTC-7, Santanu Basu wrote:
>
> I have posted this in another form on SO (
> http://stackoverflow.com/questions/42565640/how-to-distinguish-between-structural-changes-to-array-made-in-parent-element-vs)
>  
> and in the 2.0-preview branch slack channel, but I know they are heads down 
> with the upcoming release, so hopefully somewhere in the broader group here 
> will have insight to share.
>
> The TL;DR question: how many times should the observer, defined in 
> editor-element.html log to console for the following sample code: 
> https://plnkr.co/edit/iTZqM4GwpASEqQgtRGEk?  I would have expected 4, but 
> it actually happens 6 times.
>
> More details: the elements are a list element which, using dom-repeat, 
> renders a list of todos, and each todo is rendered by an instance of an 
> editor element.  The data is a list of todo objects, each of which has a 
> primitive property called description.  First, two todo objects are pushed 
> onto the list.  Then the first todo object's description property is 
> edited.  Then a third todo object is unshifted (not pushed) onto the list. 
>  The data binding is defined two way between the items inside the 
> dom-repeat of the list element and the todo property of the editor element. 
>  In other words, the binding is made at the object, not the property.  The 
> editor element defines an observer on "todo.description", printing a 
> message to the console each time an observation is made.
>
> thanks in advance for any help
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/f1383f98-64b5-4030-b3e7-42a1529539c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[polymer-dev] How to distinguish between structural changes to array made in parent element vs property changes to an item of array made in child element observer?

2017-03-04 Thread Santanu Basu
I have posted this in another form on SO 
(http://stackoverflow.com/questions/42565640/how-to-distinguish-between-structural-changes-to-array-made-in-parent-element-vs)
 
and in the 2.0-preview branch slack channel, but I know they are heads down 
with the upcoming release, so hopefully somewhere in the broader group here 
will have insight to share.

The TL;DR question: how many times should the observer, defined in 
editor-element.html log to console for the following sample code: 
https://plnkr.co/edit/iTZqM4GwpASEqQgtRGEk?  I would have expected 4, but 
it actually happens 6 times.

More details: the elements are a list element which, using dom-repeat, 
renders a list of todos, and each todo is rendered by an instance of an 
editor element.  The data is a list of todo objects, each of which has a 
primitive property called description.  First, two todo objects are pushed 
onto the list.  Then the first todo object's description property is 
edited.  Then a third todo object is unshifted (not pushed) onto the list. 
 The data binding is defined two way between the items inside the 
dom-repeat of the list element and the todo property of the editor element. 
 In other words, the binding is made at the object, not the property.  The 
editor element defines an observer on "todo.description", printing a 
message to the console each time an observation is made.

thanks in advance for any help

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/94aba116-6925-4ea6-880d-b2e6ca7b5e7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Division in non-Integral domain

2017-02-27 Thread Santanu Sarkar
Dear Simon,
   Thank you very much for your help.

Regards,
Santanu

On 26 February 2017 at 00:03, Simon King <simon.k...@uni-jena.de> wrote:

> Hi Santanu,
>
> I am sorry that your question was unanswered for so long.
>
> On 2017-02-24, Santanu Sarkar <sarkar.santanu@gmail.com> wrote:
> > How to check  $x+4 \in <1+x+x^2+2x^3>$ in the ring $\mathbb{Z}_8[x]$,
> where
> ><1+x+x^2+2x^3> is the ideal generated by 1+x+x^2+2x^3?
> > If yes, how to find $g(x)$ so that $g(x) (1+x+x^2+2x^3)=x+4$?
>
> Here, Singular (or libsingular) can help. Singular provides the method
> "lift". You are working in ZZ/8[x], which is a quotient of ZZ[x]. Hence,
> your relation ideal has the two generators 1+x+x^2+2x^3 and 8.
>
> A slight complication: The default implementation of ZZ[x] does not use
> Singular. Hence, below I implicitly force using singular by defining a
> *multivariate* polynomial ring over ZZ:
>   sage: R.<x,y> = ZZ[]
>   sage: I = [1+x+x^2+2*x^3, 8]*R
>
> And then you can check containment in a straight forward way:
>   sage: 6*x^2 + 6*x + 2 in I
>   True
>   sage: x+4 in I
>   False
>
> So, it should be possible to express 6*x^2+6*x+2 in terms of 8 and
> 1+x+x^2+2*x^3. Indeed, using Singular's lift, we obtain this:
>   sage: from sage.libs.singular.function import singular_function
>   sage: lift = singular_function('lift')
>   sage: L = lift(I, 6*x^2 + 6*x + 2); L
>   [24*x^2 - 12*x - 6]
>   [ -6*x^5 + 3*x + 1]
>   sage: L[0]*I.0+L[1]*I.1
>   (6*x^2 + 6*x + 2)
>   sage: lift(I, x+4)
>   Traceback (most recent call last):
>   ...
>   RuntimeError: error in Singular function call 'lift':
>   2nd module does not lie in the first
>
> Best regards,
> Simon
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

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


[sage-support] Division in non-Integral domain

2017-02-23 Thread Santanu Sarkar
Hi,

How to check  $x+4 \in <1+x+x^2+2x^3>$ in the ring $\mathbb{Z}_8[x]$, where
<1+x+x^2+2x^3> is the ideal generated by 1+x+x^2+2x^3?
If yes, how to find $g(x)$ so that $g(x) (1+x+x^2+2x^3)=x+4$?

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


Re: [sage-support] Re: Lattice reduction over polynomial lattice

2017-02-23 Thread Santanu Sarkar
Dear all,
   Thanks a lot for your kind help.

On 22 February 2017 at 13:49, Johan S. R. Nielsen 
wrote:

> Indeed, Sage has row_reduced_form for a polynomial matrix. The row reduced
> form is sufficient to find a vector in the row space which has minimal
> degree.
>
> The method used to be called weak_popov_form, but that form is slightly
> stronger and the algorithm does not compute it. Hence the warning.
>
> The current implementation is very slow. The next beta release of Sage
> should feature #21024 which introduces an implementation of the
> Mulders-Storjohann algorithm, which computes the weak Popov form, and does
> so much faster than the current row_reduced_form (hence, row_reduced_form
> will, in the future, actually call weak_popov_form). If you are impatient,
> you can checkout that ticket and recompile Sage to get the new
> implementation right away.
>
> Best,
> Johan
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

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


[Touch-packages] [Bug 1667190] [NEW] "dpkg:error processing package click".... trying to install onedrive

2017-02-22 Thread Santanu Tripathy
Public bug reported:

I was trying to install onedrive in Ubuntu 14.04 using the package from
https://github.com/xybu/onedrive-d-old. While running the install file
inside the downloaded folder it is giving the following errors

./install.sh 
python3 installed...OK
Reading package lists... Done
Building dependency tree   
Reading state information... Done
python3-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  apparmor-easyprof-ubuntu libboost-regex1.54.0 libfdk-aac0:i386
  libgconfmm-2.6-1c2 libllvm3.6 libllvm3.6:i386 libmbim-glib0 libqmi-glib0
  libvapoursynth0 libx264-142:i386 libx265-79 libx265-95
  linux-image-3.19.0-74-generic linux-image-4.4.0-59-generic
  linux-image-extra-3.19.0-74-generic linux-image-extra-4.4.0-59-generic
  python3-apparmor-click usb-modeswitch usb-modeswitch-data vlc-plugin-pulse
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up click (0.4.21.1ubuntu0.2) ...
Traceback (most recent call last):
  File "/usr/bin/click", line 31, in 
from click import commands
ImportError: cannot import name 'commands'
dpkg: error processing package click (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 click
E: Sub-process /usr/bin/dpkg returned an error code (1)

** Affects: click (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1667190

Title:
  "dpkg:error  processing package  click" trying to install onedrive

Status in click package in Ubuntu:
  New

Bug description:
  I was trying to install onedrive in Ubuntu 14.04 using the package
  from https://github.com/xybu/onedrive-d-old. While running the install
  file inside the downloaded folder it is giving the following
  errors

  ./install.sh 
  python3 installed...OK
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  python3-dev is already the newest version.
  The following packages were automatically installed and are no longer 
required:
apparmor-easyprof-ubuntu libboost-regex1.54.0 libfdk-aac0:i386
libgconfmm-2.6-1c2 libllvm3.6 libllvm3.6:i386 libmbim-glib0 libqmi-glib0
libvapoursynth0 libx264-142:i386 libx265-79 libx265-95
linux-image-3.19.0-74-generic linux-image-4.4.0-59-generic
linux-image-extra-3.19.0-74-generic linux-image-extra-4.4.0-59-generic
python3-apparmor-click usb-modeswitch usb-modeswitch-data vlc-plugin-pulse
  Use 'apt-get autoremove' to remove them.
  0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Setting up click (0.4.21.1ubuntu0.2) ...
  Traceback (most recent call last):
File "/usr/bin/click", line 31, in 
  from click import commands
  ImportError: cannot import name 'commands'
  dpkg: error processing package click (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   click
  E: Sub-process /usr/bin/dpkg returned an error code (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1667190/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Bug 1667190] [NEW] "dpkg:error processing package click".... trying to install onedrive

2017-02-22 Thread Santanu Tripathy
Public bug reported:

I was trying to install onedrive in Ubuntu 14.04 using the package from
https://github.com/xybu/onedrive-d-old. While running the install file
inside the downloaded folder it is giving the following errors

./install.sh 
python3 installed...OK
Reading package lists... Done
Building dependency tree   
Reading state information... Done
python3-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  apparmor-easyprof-ubuntu libboost-regex1.54.0 libfdk-aac0:i386
  libgconfmm-2.6-1c2 libllvm3.6 libllvm3.6:i386 libmbim-glib0 libqmi-glib0
  libvapoursynth0 libx264-142:i386 libx265-79 libx265-95
  linux-image-3.19.0-74-generic linux-image-4.4.0-59-generic
  linux-image-extra-3.19.0-74-generic linux-image-extra-4.4.0-59-generic
  python3-apparmor-click usb-modeswitch usb-modeswitch-data vlc-plugin-pulse
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up click (0.4.21.1ubuntu0.2) ...
Traceback (most recent call last):
  File "/usr/bin/click", line 31, in 
from click import commands
ImportError: cannot import name 'commands'
dpkg: error processing package click (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 click
E: Sub-process /usr/bin/dpkg returned an error code (1)

** Affects: click (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667190

Title:
  "dpkg:error  processing package  click" trying to install onedrive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1667190/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[sage-support] Re: Lattice reduction over polynomial lattice

2017-02-20 Thread Santanu Sarkar
Dear all,
  I am searching lattice reduction for polynomial matrices in Sage.
Kindly help me.

T. Mulders and A. Storjohann. On lattice reduction for polynomial matrices.
Journal of Symbolic Computation, 35(4):377 – 401, 2003



On 20 February 2017 at 21:19, Santanu Sarkar <sarkar.santanu@gmail.com>
wrote:

> Dear all,
>I have polynomial lattice over a finite field. So each component of the
> vectors v_1, v_2, v_3 are polynomials over a finite field say F_11. Hence
> v_1=(f_1(x), f_2(x), f_3(x)),  v_2=(g_1(x), g_2(x), g_3(x)) and
> v_3=(h_1(x), h_2(x), h_3(x)). Here norm is the maximum degree of each
>  component. Does there exist LLL algorithm for this lattice in Sage?
>
>
>

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


[sage-support] Lattice reduction over polynomial lattice

2017-02-20 Thread Santanu Sarkar
Dear all,
   I have polynomial lattice over a finite field. So each component of the
vectors v_1, v_2, v_3 are polynomials over a finite field say F_11. Hence
v_1=(f_1(x), f_2(x), f_3(x)),  v_2=(g_1(x), g_2(x), g_3(x)) and
v_3=(h_1(x), h_2(x), h_3(x)). Here norm is the maximum degree of each
 component. Does there exist LLL algorithm for this lattice in Sage?

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


[sage-support] Sage Crash Report

2017-01-12 Thread Santanu Sarkar
I am getting these. Please help me.


santanu@Math-Sans:~/SageMath$ ./sage
┌┐
│ SageMath Version 7.1, Release Date: 2016-03-20 │
│ Type "notebook()" for the browser-based notebook interface.│
│ Type "help()" for help.│
└┘

**

Oops, Sage crashed. We do our best to make it stable, but...

A crash report was automatically generated with the following information:
  - A verbatim copy of the crash traceback.
  - A copy of your input history during this session.
  - Data on your current Sage configuration.

It was left in the file named:
'/home/santanu/.sage/ipython_genutils-0.1.0/Sage_crash_report.txt'
If you can email this file to the developers, the information in it will
help
them in understanding and correcting the problem.

You can mail it to: sage-support at sage-support@googlegroups.com
with the subject 'Sage Crash Report'.

If you want to do it now, the following command will work (under Unix):
mail -s 'Sage Crash Report' sage-support@googlegroups.com <
/home/santanu/.sage/ipython_genutils-0.1.0/Sage_crash_report.txt

To ensure accurate tracking of this issue, please file a report about it at:
http://trac.sagemath.org

Hit  to quit (your terminal may close):

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

IPython post-mortem report

{'commit_hash': u'7f50c6b',
 'commit_source': 'installation',
 'default_encoding': 'UTF-8',
 'ipython_path': 
'/home/santanu/SageMath/local/lib/python2.7/site-packages/IPython',
 'ipython_version': '4.1.2',
 'os_name': 'posix',
 'platform': 'Linux-4.4.0-57-generic-x86_64-with-debian-stretch-sid',
 'sys_executable': '/home/santanu/SageMath/local/bin/python',
 'sys_platform': 'linux2',
 'sys_version': '2.7.10 (default, Mar 22 2016, 03:28:40) \n[GCC 4.9.3]'}

***



***

Crash traceback:

---
---
ImportError  Python 2.7.10: /home/santanu/SageMath/local/bin/python
   Thu Jan 12 21:05:08 2017
A problem occurred executing Python code.  Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.
/home/santanu/SageMath/src/bin/sage-ipython in ()
  1 #!/usr/bin/env python
  2 # -*- coding: utf-8 -*-
  3 """
  4 Sage IPython startup script.
  5 """
  6 
  7 # Install extra readline commands before IPython initialization
  8 from sage.repl.readline_extra_commands import *
  9 
 10 from sage.repl.interpreter import SageTerminalApp
 11 
 12 app = SageTerminalApp.instance()
---> 13 app.initialize()
global app.initialize = >
 14 app.start()

 in initialize(self=, argv=None)

/home/santanu/SageMath/local/lib/python2.7/site-packages/traitlets/config/application.pyc
 in catch_config_error(method=, 
app=, *args=(None,), **kwargs={})
 59 
 60 
#-
 61 # Application class
 62 
#-
 63 
 64 @decorator
 65 def catch_config_error(method, app, *args, **kwargs):
 66 """Method decorator for catching invalid config 
(Trait/ArgumentErrors) during init.
 67 
 68 On a TraitError (generally caused by bad config), this will print 
the trait's
 69 message, and exit the app.
 70 
 71 For use on init methods, to prevent invoking excepthook on invalid 
input.
 72 """
 73 try:
---> 74 return method(app, *args, **kwargs)
method = 
app = 
args = (None,)
kwargs = {}
 75 except (TraitError, ArgumentError) as e:
 76 app.print_help()
 77 app.log.fatal("Bad config encountered during initialization:")
 78 app.log.fatal(str(e))
 79 app.log.debug("Config at the time: %s", app.config)
 80 app.exit(1)
  

[j-nsp] Measure transit traffic to specific destination

2016-12-29 Thread Santanu Mandal
Dear all,
I want to measure traffic bandwidth consuming for a specific destination IP
from My Orzanization. Say how much is bandwidth is consumed for destination
x.x.x.x out of total bandwidth in my ISP link.

I have configured S-flow, but there I can see total amount of traffic
transfered over a period of time. But My concern is, data transfer rate
confumed for this destination, not tootal amount of data.

It would be gratfull if you can suggest a tool for this purpose or how to
approach to achive this.



Thanking you
​ in advance​


Santanu
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

[Wikimedia-in-WB] Photowalk in Latbagan

2016-12-19 Thread Santanu Chandra
ব্যারাকপুরের লাট বাগানে ফটোওয়াক প্রসঙ্গে আজকে কথা হচ্ছিল অমর্ত্য তালুকদার
এর সঙ্গে। ডিফেন্সের আই ডি কার্ড থাকার সুবাদে পুলিস ব্যারাকের অন্তর্গত এই
জায়গায় ঢোকা এবং ফটো তোলার অনুমতি ওনার মারফৎ পাওয়া যাবে। শনিবার দুপুর দুটো
অথবা রবিবার সকাল আটটায় ব্যারাকপুর স্টেশনে জমায়েত।

এই সপ্তাহের মধ্যে তারিখ নিশ্চিত করে ওনাকে জানাতে হবে, আশাকরি  শুক্র বারের
মধ্যে একটা দিন আমরা নিজেরা আলোচনার মাধ্যমে ঠিক করে নিতে পারি...
---
Santanu Chandra
Skype: Santanu731
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://lists.wikimedia.org/pipermail/wikimedia-in-wb/attachments/20161219/915d6887/attachment.html>
___
Wikimedia-in-WB mailing list
Wikimedia-in-WB@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikimedia-in-wb


[jira] [Commented] (FLEX-35212) [FlexJS] DataGrid requires a way to select it's row(s) automatically

2016-12-14 Thread Santanu Karar (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-35212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15750451#comment-15750451
 ] 

Santanu Karar commented on FLEX-35212:
--

Hello Peter. Thank you for this new feature, I surely test this very soon from 
nightly build.

Regarding selecting multiple rows, custom bead extending which bead or adding a 
new bead you're referring to?

> [FlexJS] DataGrid requires a way to select it's row(s) automatically
> 
>
> Key: FLEX-35212
> URL: https://issues.apache.org/jira/browse/FLEX-35212
> Project: Apache Flex
>  Issue Type: Improvement
>Affects Versions: Apache FlexJS 0.8.0
>    Reporter: Santanu Karar
>Assignee: Peter Ent
> Fix For: Apache FlexJS 0.8.0
>
>
> At present {{DataGrid.selectedIndex}} is a read-only property. We probably 
> need a way to select one or multiple rows at runtime to DataGrid.



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


[jira] [Updated] (FLEX-35211) [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF

2016-12-12 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35211:
-
Description: 
(This issue once discussed in Apache mailing-list at: 
http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html)

*Requirement*
Updating UI components' styles at runtime. If possible, updating their 
_className_ property at runtime and see it's effect without refreshing browser.

*What we have*
Updating _className_ property to any component do not works.

*Workaround*
Using _BindableCSSStyle_ to update any given style at runtime and see it's 
effect.

*Result*
_BindableCSSStyle_ API not able to update all it's properties at runtime. 
Furthermore, it only shown partially working in SWF, HTML version completely 
broken.

*Expected*
Class able to change all it's public properties at runtime in both HTML and SWF 
run.


h3. Observation 
As suggested in mailing-list (link given above), _BindableCSSStyle_ used in 
*FlexJSStore* example project that supplied within SDK bundle, in 
{{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I 
tested, it does updates "border" property to a component at runtime. 

It does not updates all other properties at rumtime though (in SWF, HTML 
version do not works at all), i.e. backgroundColor.

I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml 
file only:

{code}






   

...
private function rollOverHandler(event:MouseEvent):void
{
borderStyles.borderColor = "#ff";
borderStyles.backgroundColor = "#00";
//style["dropShadowEnabled"] = true;
buttons.visible = true;
} 
{code}

Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as 
an example. 

  was:
(This issue once discussed in Apache mailing-list at: 
http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html)

*Requirement*
Updating UI components' styles at runtime. If possible, updating their 
_className_ property at runtime and see it's effect without refreshing browser.

*What we have*
Updating _className_ property to any component do not works.

*Workaround*
Using _BindableCSSStyle_ to update any given style at runtime and see it's 
effect.

*Result*
_BindableCSSStyle_ API not able to update all it's properties at runtime. 
Furthermore, it only shown partially working in SWF, HTML version completely 
broken.

*Expected*
Class able to change all it's public properties at runtime in both HTML and SWF 
run.


h3. Observation 
As suggested in mailing-list (link given above), _BindableCSSStyle_ used in 
*FlexJSStore* example project that supplied within SDK bundle, in 
{{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I 
tested, it does updates "border" property to a component at runtime. 

It does not updates all other properties at rumtime though (in SWF, HTML 
version do not works at all), i.e. backgroundColor.

I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml 
file only:

{code}

   

...
private function rollOverHandler(event:MouseEvent):void
{
borderStyles.borderColor = "#ff";
borderStyles.backgroundColor = "#00";
//style["dropShadowEnabled"] = true;
buttons.visible = true;
} 
{code}

Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as 
an example. 


> [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF
> --
>
> Key: FLEX-35211
> URL: https://issues.apache.org/jira/browse/FLEX-35211
> Project: Apache Flex
>  Issue Type: Bug
>Affects Versions: Apache FlexJS 0.8.0
>Reporter: Santanu Karar
>
> (This issue once discussed in Apache mailing-list at: 
> http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html)
> *Requirement*
> Updating UI components' styles at runtime. If possible, updating their 
> _className_ property at runtime and see it's effect without refreshing 
> browser.
> *What we have*
> Updating _className_ property to any component do not works.
> *Workaround*
> Using _BindableCSSStyle_ to update any given style at runtime and see it's 
> effect.
> *Result*
> _BindableCSSStyle_ API not able to update all it's properties at runtime. 
> Furthermore, it only shown partially working in SWF, HTML version completely 
> broken.
> *Expected*
> Class able to change all it's public properties at runtime in both HTML and 
> SWF run.
> h3. Observation 
> As suggested in mailing-list (link given above), _BindableCSSStyle_ used in 

[jira] [Updated] (FLEX-35211) [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF

2016-12-12 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35211:
-
Description: 
(This issue once discussed in Apache mailing-list at: 
http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html)

*Requirement*
Updating UI components' styles at runtime. If possible, updating their 
_className_ property at runtime and see it's effect without refreshing browser.

*What we have*
Updating _className_ property to any component do not works.

*Workaround*
Using _BindableCSSStyle_ to update any given style at runtime and see it's 
effect.

*Result*
_BindableCSSStyle_ API not able to update all it's properties at runtime. 
Furthermore, it only shown partially working in SWF, HTML version completely 
broken.

*Expected*
Class able to change all it's public properties at runtime in both HTML and SWF 
run.


h3. Observation 
As suggested in mailing-list (link given above), _BindableCSSStyle_ used in 
*FlexJSStore* example project that supplied within SDK bundle, in 
{{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I 
tested, it does updates "border" property to a component at runtime. 

It does not updates all other properties at rumtime though (in SWF, HTML 
version do not works at all), i.e. backgroundColor.

I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml 
file only:

{code}

   

...
private function rollOverHandler(event:MouseEvent):void
{
borderStyles.borderColor = "#ff";
borderStyles.backgroundColor = "#00";
//style["dropShadowEnabled"] = true;
buttons.visible = true;
} 
{code}

Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as 
an example. 

  was:
(This issue once discussed in Apache mailing-list at: 
http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html)

*Requirement*
Updating UI components' styles at runtime. If possible, updating their 
_className_ property at runtime and see it's effect without refreshing browser.

*What we have*
Updating _className_ property to any component do not works.

*Workaround*
Using _BindableCSSStyle_ to update any given style at runtime and see it's 
effect.

*Result*
_BindableCSSStyle_ API not able to update all it's properties at runtime. 
Furthermore, it only shown partially working in SWF, HTML version completely 
broken.


h3. Observation 
As suggested in mailing-list (link given above), _BindableCSSStyle_ used in 
*FlexJSStore* example project that supplied within SDK bundle, in 
{{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I 
tested, it does updates "border" property to a component at runtime. 

It does not updates all other properties at rumtime though (in SWF, HTML 
version do not works at all), i.e. backgroundColor.

I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml 
file only:

{code}

   

...
private function rollOverHandler(event:MouseEvent):void
{
borderStyles.borderColor = "#ff";
borderStyles.backgroundColor = "#00";
//style["dropShadowEnabled"] = true;
buttons.visible = true;
} 
{code}

Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as 
an example. 


> [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF
> --
>
> Key: FLEX-35211
> URL: https://issues.apache.org/jira/browse/FLEX-35211
> Project: Apache Flex
>  Issue Type: Bug
>Affects Versions: Apache FlexJS 0.8.0
>Reporter: Santanu Karar
>
> (This issue once discussed in Apache mailing-list at: 
> http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html)
> *Requirement*
> Updating UI components' styles at runtime. If possible, updating their 
> _className_ property at runtime and see it's effect without refreshing 
> browser.
> *What we have*
> Updating _className_ property to any component do not works.
> *Workaround*
> Using _BindableCSSStyle_ to update any given style at runtime and see it's 
> effect.
> *Result*
> _BindableCSSStyle_ API not able to update all it's properties at runtime. 
> Furthermore, it only shown partially working in SWF, HTML version completely 
> broken.
> *Expected*
> Class able to change all it's public properties at runtime in both HTML and 
> SWF run.
> h3. Observation 
> As suggested in mailing-list (link given above), _BindableCSSStyle_ used in 
> *FlexJSStore* example project that supplied within SDK bundle, in 
> {{/flexjs/FlexJSStore/productsView/ProductCatalog

[jira] [Updated] (FLEX-35211) [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF

2016-12-12 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35211:
-
Description: 
(This issue once discussed in Apache mailing-list at: 
http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html)

*Requirement*
Updating UI components' styles at runtime. If possible, updating their 
_className_ property at runtime and see it's effect without refreshing browser.

*What we have*
Updating _className_ property to any component do not works.

*Workaround*
Using _BindableCSSStyle_ to update any given style at runtime and see it's 
effect.

*Result*
_BindableCSSStyle_ API not able to update all it's properties at runtime. 
Furthermore, it only shown partially working in SWF, HTML version completely 
broken.


h3. Observation 
As suggested in mailing-list (link given above), _BindableCSSStyle_ used in 
*FlexJSStore* example project that supplied within SDK bundle, in 
{{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I 
tested, it does updates "border" property to a component at runtime. 

It does not updates all other properties at rumtime though (in SWF, HTML 
version do not works at all), i.e. backgroundColor.

I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml 
file only:

{code}

   

...
private function rollOverHandler(event:MouseEvent):void
{
borderStyles.borderColor = "#ff";
borderStyles.backgroundColor = "#00";
//style["dropShadowEnabled"] = true;
buttons.visible = true;
} 
{code}

Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as 
an example. 

  was:
(This issue once discussed in Apache mailing-list at: 
http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html)

*Requirement*
Updating UI components' styles at runtime. If possible, updating their 
_className_ property at runtime and see it's effect without refreshing browser.

*What we have*
Updating _className_ property to any component do not works.

*Workaround*
Using _BindableCSSStyle_ to update any given style at runtime and see it's 
effect.

*Result*
_BindableCSSStyle_ API not able to update all it's properties at runtime. 
Furthermore, it only shown working in SWF mode, HTML version completely broken.


h3. Observation 
As suggested in mailing-list (link given above), _BindableCSSStyle_ used in 
*FlexJSStore* example project that supplied within SDK bundle, in 
{{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I 
tested, it does updates "border" property to a component at runtime. 

It does not updates all other properties at rumtime though (in SWF, HTML 
version do not works at all), i.e. backgroundColor.

I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml 
file only:

{code}

   

...
private function rollOverHandler(event:MouseEvent):void
{
borderStyles.borderColor = "#ff";
borderStyles.backgroundColor = "#00";
//style["dropShadowEnabled"] = true;
buttons.visible = true;
} 
{code}

Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as 
an example. 


> [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF
> --
>
> Key: FLEX-35211
> URL: https://issues.apache.org/jira/browse/FLEX-35211
> Project: Apache Flex
>  Issue Type: Bug
>Affects Versions: Apache FlexJS 0.8.0
>Reporter: Santanu Karar
>
> (This issue once discussed in Apache mailing-list at: 
> http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html)
> *Requirement*
> Updating UI components' styles at runtime. If possible, updating their 
> _className_ property at runtime and see it's effect without refreshing 
> browser.
> *What we have*
> Updating _className_ property to any component do not works.
> *Workaround*
> Using _BindableCSSStyle_ to update any given style at runtime and see it's 
> effect.
> *Result*
> _BindableCSSStyle_ API not able to update all it's properties at runtime. 
> Furthermore, it only shown partially working in SWF, HTML version completely 
> broken.
> h3. Observation 
> As suggested in mailing-list (link given above), _BindableCSSStyle_ used in 
> *FlexJSStore* example project that supplied within SDK bundle, in 
> {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I 
> tested, it does updates "border" property to a component at runtime. 
> It does not updates all other properties at rumtime though (in SWF, HTML 
> version do not works at al

[jira] [Updated] (FLEX-35211) [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF

2016-12-12 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35211:
-
Summary: [FlexJS] BindableCSSStyle do not works or partially works between 
HTML and SWF  (was: [FlexJS] BindableCSSStyle do not updates all it's 
properties at runtime)

> [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF
> --
>
> Key: FLEX-35211
> URL: https://issues.apache.org/jira/browse/FLEX-35211
> Project: Apache Flex
>  Issue Type: Bug
>Affects Versions: Apache FlexJS 0.8.0
>    Reporter: Santanu Karar
>
> (This issue once discussed in Apache mailing-list at: 
> http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html)
> *Requirement*
> Updating UI components' styles at runtime. If possible, updating their 
> _className_ property at runtime and see it's effect without refreshing 
> browser.
> *What we have*
> Updating _className_ property to any component do not works.
> *Workaround*
> Using _BindableCSSStyle_ to update any given style at runtime and see it's 
> effect.
> *Result*
> _BindableCSSStyle_ API not able to update all it's properties at runtime. 
> Furthermore, it only shown working in SWF mode, HTML version completely 
> broken.
> h3. Observation 
> As suggested in mailing-list (link given above), _BindableCSSStyle_ used in 
> *FlexJSStore* example project that supplied within SDK bundle, in 
> {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I 
> tested, it does updates "border" property to a component at runtime. 
> It does not updates all other properties at rumtime though (in SWF, HTML 
> version do not works at all), i.e. backgroundColor.
> I tested with a simple example, by modifying the 
> "ProductCatalogThumbnail.mxml file only:
> {code}
> 
> borderWidth="1" borderColor="#FF" backgroundColor="#FF"/>
> 
> ...
> private function rollOverHandler(event:MouseEvent):void
> {
> borderStyles.borderColor = "#ff";
> borderStyles.backgroundColor = "#00";
> //style["dropShadowEnabled"] = true;
> buttons.visible = true;
> } 
> {code}
> Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as 
> an example. 



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


[jira] [Created] (FLEX-35215) [FlexJS] Responsive VerticalColumnLayout

2016-12-12 Thread Santanu Karar (JIRA)
Santanu Karar created FLEX-35215:


 Summary: [FlexJS] Responsive VerticalColumnLayout
 Key: FLEX-35215
 URL: https://issues.apache.org/jira/browse/FLEX-35215
 Project: Apache Flex
  Issue Type: Improvement
Affects Versions: Apache FlexJS 0.8.0
Reporter: Santanu Karar


*Requirement*
It'd be great if columns wrapped as rows if browser resized, at runtime.

*Present state*
A simple code as following creates 2 columns with fixed widths. 
{code}












{code}
We change the VerticalColumnLayout's _numColumns_ property change only once 
while starting the application but runtime.

*Expectation*
When browser resized, if it's visible width became less than 500px (per above 
code example), the second column came down below the first column, to form as a 
row of item. 



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


[jira] [Created] (FLEX-35212) [FlexJS] DataGrid requires a way to select it's row(s) automatically

2016-12-11 Thread Santanu Karar (JIRA)
Santanu Karar created FLEX-35212:


 Summary: [FlexJS] DataGrid requires a way to select it's row(s) 
automatically
 Key: FLEX-35212
 URL: https://issues.apache.org/jira/browse/FLEX-35212
 Project: Apache Flex
  Issue Type: Improvement
Affects Versions: Apache FlexJS 0.8.0
Reporter: Santanu Karar


At present {{DataGrid.selectedIndex}} is a read-only property. We probably need 
a way to select one or multiple rows at runtime to DataGrid.



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


[jira] [Created] (FLEX-35211) [FlexJS] BindableCSSStyle do not updates all it's properties at runtime

2016-12-11 Thread Santanu Karar (JIRA)
Santanu Karar created FLEX-35211:


 Summary: [FlexJS] BindableCSSStyle do not updates all it's 
properties at runtime
 Key: FLEX-35211
 URL: https://issues.apache.org/jira/browse/FLEX-35211
 Project: Apache Flex
  Issue Type: Bug
Affects Versions: Apache FlexJS 0.8.0
Reporter: Santanu Karar


(This issue once discussed in Apache mailing-list at: 
http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html)

*Requirement*
Updating UI components' styles at runtime. If possible, updating their 
_className_ property at runtime and see it's effect without refreshing browser.

*What we have*
Updating _className_ property to any component do not works.

*Workaround*
Using _BindableCSSStyle_ to update any given style at runtime and see it's 
effect.

*Result*
_BindableCSSStyle_ API not able to update all it's properties at runtime. 


h3. Observation 
As suggested in mailing-list (link given above), _BindableCSSStyle_ used in 
*FlexJSStore* example project that supplied within SDK bundle, in 
{{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I 
tested, it does updates "border" property to a component at runtime. 

It does not updates all other properties at rumtime though, i.e. 
backgroundColor.

I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml 
file only:

{code}

   

...
private function rollOverHandler(event:MouseEvent):void
{
borderStyles.borderColor = "#ff";
borderStyles.backgroundColor = "#00";
//style["dropShadowEnabled"] = true;
buttons.visible = true;
} 
{code}

Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as 
an example. 



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


[jira] [Comment Edited] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file

2016-12-06 Thread Santanu Karar (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-35190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15724866#comment-15724866
 ] 

Santanu Karar edited comment on FLEX-35190 at 12/6/16 9:59 AM:
---

Hello Alex,

I've updated the patch file, sorry for the trouble. 

Yes, after adding that default property metadata, I did build it's 'swc' and 
tested locally. This worked fine after that addition. I noticed I thrown by the 
said error when my MXML implementation was almost empty even:
{code}
http://ns.adobe.com/mxml/2009;
xmlns:js="library://ns.apache.org/flexjs/basic">

{code}

I'm not sure about what binding expression problem you've noticed, though.


was (Author: santanu4ver):
Hello Alex,

I've updated the patch file, sorry for the trouble. 

Yes, after adding that default property metadata, I did build it's 'swc' and 
tested locally. This worked fine after that addition. I noticed I thrown by the 
said error when my MXML implementation was almost empty event:
{code}
http://ns.adobe.com/mxml/2009;
xmlns:js="library://ns.apache.org/flexjs/basic">

{code}

I'm not sure about what binding expression problem you've noticed, though.

> [FlexJS] DataItemRenderer breaks if extends as MXML file
> 
>
> Key: FLEX-35190
> URL: https://issues.apache.org/jira/browse/FLEX-35190
> Project: Apache Flex
>  Issue Type: Bug
>Affects Versions: Apache FlexJS 0.8.0
>Reporter: Santanu Karar
> Attachments: devsena.patch
>
>
> I took a nightly build of Apache FlexJS and tried by it's supplied 
> *DataGridExample* example project. The example used a custom DataItemRenderer 
> class, but it was an ActionScript implementation. 
> When I tried to create MXML file extending same DataItemRenderer class, when 
> used to DataGrid component, I couldn't even able to build but thrown by 
> compiler error:
> *1551: Internal error in ABC generator subsystem, when generating code for: 
> E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml:
>  java.lang.NullPointerException*
> I'm attaching herewith the full error details for your review:
> {panel}
> Description   ResourcePathLocationType
> 1551: Internal error in ABC generator subsystem, when generating code for: 
> E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml:
>  java.lang.NullPointerException
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirecti

[jira] [Updated] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file

2016-12-06 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35190:
-
Attachment: devsena.patch

> [FlexJS] DataItemRenderer breaks if extends as MXML file
> 
>
> Key: FLEX-35190
> URL: https://issues.apache.org/jira/browse/FLEX-35190
> Project: Apache Flex
>  Issue Type: Bug
>Affects Versions: Apache FlexJS 0.8.0
>    Reporter: Santanu Karar
> Attachments: devsena.patch
>
>
> I took a nightly build of Apache FlexJS and tried by it's supplied 
> *DataGridExample* example project. The example used a custom DataItemRenderer 
> class, but it was an ActionScript implementation. 
> When I tried to create MXML file extending same DataItemRenderer class, when 
> used to DataGrid component, I couldn't even able to build but thrown by 
> compiler error:
> *1551: Internal error in ABC generator subsystem, when generating code for: 
> E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml:
>  java.lang.NullPointerException*
> I'm attaching herewith the full error details for your review:
> {panel}
> Description   ResourcePathLocationType
> 1551: Internal error in ABC generator subsystem, when generating code for: 
> E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml:
>  java.lang.NullPointerException
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:926)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3605)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349)
>   at 
> org.apache.flex.compiler.inter

[jira] [Commented] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file

2016-12-06 Thread Santanu Karar (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-35190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15724866#comment-15724866
 ] 

Santanu Karar commented on FLEX-35190:
--

Hello Alex,

I've updated the patch file, sorry for the trouble. 

Yes, after adding that default property metadata, I did build it's 'swc' and 
tested locally. This worked fine after that addition. I noticed I thrown by the 
said error when my MXML implementation was almost empty event:
{code}
http://ns.adobe.com/mxml/2009;
xmlns:js="library://ns.apache.org/flexjs/basic">

{code}

I'm not sure about what binding expression problem you've noticed, though.

> [FlexJS] DataItemRenderer breaks if extends as MXML file
> 
>
> Key: FLEX-35190
> URL: https://issues.apache.org/jira/browse/FLEX-35190
> Project: Apache Flex
>  Issue Type: Bug
>Affects Versions: Apache FlexJS 0.8.0
>Reporter: Santanu Karar
> Attachments: devsena.patch
>
>
> I took a nightly build of Apache FlexJS and tried by it's supplied 
> *DataGridExample* example project. The example used a custom DataItemRenderer 
> class, but it was an ActionScript implementation. 
> When I tried to create MXML file extending same DataItemRenderer class, when 
> used to DataGrid component, I couldn't even able to build but thrown by 
> compiler error:
> *1551: Internal error in ABC generator subsystem, when generating code for: 
> E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml:
>  java.lang.NullPointerException*
> I'm attaching herewith the full error details for your review:
> {panel}
> Description   ResourcePathLocationType
> 1551: Internal error in ABC generator subsystem, when generating code for: 
> E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml:
>  java.lang.NullPointerException
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:926)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3605)
>   at 
> org.apache.flex.compiler.internal.as.code

[jira] [Updated] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file

2016-12-05 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35190:
-
Attachment: devsena.patch

> [FlexJS] DataItemRenderer breaks if extends as MXML file
> 
>
> Key: FLEX-35190
> URL: https://issues.apache.org/jira/browse/FLEX-35190
> Project: Apache Flex
>  Issue Type: Bug
>Affects Versions: Apache FlexJS 0.8.0
>    Reporter: Santanu Karar
> Attachments: devsena.patch
>
>
> I took a nightly build of Apache FlexJS and tried by it's supplied 
> *DataGridExample* example project. The example used a custom DataItemRenderer 
> class, but it was an ActionScript implementation. 
> When I tried to create MXML file extending same DataItemRenderer class, when 
> used to DataGrid component, I couldn't even able to build but thrown by 
> compiler error:
> *1551: Internal error in ABC generator subsystem, when generating code for: 
> E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml:
>  java.lang.NullPointerException*
> I'm attaching herewith the full error details for your review:
> {panel}
> Description   ResourcePathLocationType
> 1551: Internal error in ABC generator subsystem, when generating code for: 
> E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml:
>  java.lang.NullPointerException
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:926)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3605)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349)
>   at 
> org.apache.flex.compiler.inter

[jira] [Commented] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file

2016-12-05 Thread Santanu Karar (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-35190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15724494#comment-15724494
 ] 

Santanu Karar commented on FLEX-35190:
--

I would like to propose a fix that I tested locally. Please, check attached 
herewith devsena.patch file for more details. The relevant area to fix is as 
this:
{panel}
-#Mon Jun 08 13:23:50 PDT 2015
-eclipse.preferences.version=1
-encoding/=utf-8
diff --git 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/DataItemRenderer.as
 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/DataItemRenderer.as
index 7de2389..815f40a 100644
--- 
a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/DataItemRenderer.as
+++ 
b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/DataItemRenderer.as
@@ -28,6 +28,7 @@ package org.apache.flex.html.supportClasses
import 
org.apache.flex.html.beads.controllers.ItemRendererMouseController;
}
import org.apache.flex.core.ValuesManager;
+   [DefaultProperty("mxmlContent")]
 
/**
 *  The DataItemRenderer class is the base class for most 
itemRenderers. This class
diff --git a/frameworks/projects/HTML/src/test/flex/build.xml 
b/frameworks/projects/HTML/src/test/flex/build.xml
index 2b6e1af..e5a0628 100644
{panel}

Let me know if I can propose a pull request. 

> [FlexJS] DataItemRenderer breaks if extends as MXML file
> 
>
> Key: FLEX-35190
> URL: https://issues.apache.org/jira/browse/FLEX-35190
> Project: Apache Flex
>  Issue Type: Bug
>Affects Versions: Apache FlexJS 0.8.0
>Reporter: Santanu Karar
>
> I took a nightly build of Apache FlexJS and tried by it's supplied 
> *DataGridExample* example project. The example used a custom DataItemRenderer 
> class, but it was an ActionScript implementation. 
> When I tried to create MXML file extending same DataItemRenderer class, when 
> used to DataGrid component, I couldn't even able to build but thrown by 
> compiler error:
> *1551: Internal error in ABC generator subsystem, when generating code for: 
> E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml:
>  java.lang.NullPointerException*
> I'm attaching herewith the full error details for your review:
> {panel}
> Description   ResourcePathLocationType
> 1551: Internal error in ABC generator subsystem, when generating code for: 
> E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml:
>  java.lang.NullPointerException
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122)
>   at 
> org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
>   at 
> org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXML

[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component

2016-12-05 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35197:
-
Attachment: (was: src.zip)

> [FlexJS] Data-binding is broken or not implemented in DataGrid component
> 
>
> Key: FLEX-35197
> URL: https://issues.apache.org/jira/browse/FLEX-35197
> Project: Apache Flex
>  Issue Type: Question
>Affects Versions: Apache FlexJS 0.8.0
>    Reporter: Santanu Karar
> Attachments: src.zip
>
>
> (I've took the _DataGrid_ example that supplied within the nightly build of 
> 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only)
> h3.Requirement
> Binding is a strong feature in Flex technology. As an user I also do expect 
> that FlexJS will also empowers us with the same strength developing projects. 
> While testing _DataGrid_ example that supplies within SDK bundle, I noticed 
> that pay-as-you-go view only available but no actual run-time data binding 
> (as far I tested); which is the strength that I was talking about. Is 
> run-time data-binding (by any _beads_ or any other way) to DataGrid component 
> is at all available yet? 
> In the following tests I tried to update one row object's (_Product_) one 
> particular field (_image_) value, to see it's change in row renderer, at 
> run-time. 
> I also tried to add or delete an item to it's _dataProvider_ collection to 
> see their changes in DataGrid UI.
> h3.Actual Result
> Run-time data update to collection list not affecting to DataGrid UI.
> h3.How I Tested
> I've attached the source ZIP that supplied within SDK bundle and I modified 
> few codes to test my requirement.
> The example consists of a DataGrid, and few buttons as follows:
> - Replace Array - replace the entire model with a new Array
> - Update Entry - Update the image for the first entry
> - Add Entry - Add a new entry to the end of the list
> - Remove Entry - Remove the first entry
> - Refresh - this recreates the array and saves it to the model. This forces 
> the DataGrid to update by the same method as Replace Array
> "Replace Array" and "Refresh" worked fine. "Refresh" is a possible workaround 
> for data update to grid UI, but it is inefficient for a real application. The 
> other buttons did not cause DataGrid UI to update. The places which I've 
> changed as follows. 
> *Product.as*
> {code}
> // since I was trying to update one field at least to DataGrid UI, I added 
> get/set methods to the _image_ field
> private var _image:String;
> [Bindable(event="imageChanged")]
> public function get image():String
> {
>   return _image;
> }
>   
> public function set image(value:String):void
> {
>   if (value != _image)
>   {
>   _image = value;
>   dispatchEvent(new Event("imageChanged"));
>   }
> }
> {code}
> *MyInitialView.mxml*
> {code}
> // Replacing or recreating the collection list
> private function replaceArray():void
> { 
>   // Only this part worked when SimpleBinding used rather than 
> ConstantBinding
>   ProductsModel(applicationModel).productList = new ArrayList([new 
> Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]);
>   
>   writeStatus();
> }
> // Update an entry to the collection
> private function updateEntry():void
> {
>   // This part not working or updating to DataGrid UI either
>   /*ProductsModel(applicationModel).productList.source[1] = tmp;
>   ProductsModel(applicationModel).dispatchEvent(new 
> Event("propertyChange"));*/
>   // This part not working or updating to DataGrid UI
>   var tmp:Product = 
> ProductsModel(applicationModel).productList.getItemAt(0) as Product;
>   tmp.image = "Modified Text";
>   
>   writeStatus();  
> }
> // Adding an item to the collection list
> private function addEntry():void
> {
>   // Add a new entry to the list
>   idCounter++;
>   ProductsModel(applicationModel).productList.addItem(new 
> Product("product" + idCounter, "Added" + idCounter, 35, 190, 
> "assets/smallorangerect.jpg"));
>   
>   writeStatus();
> }
> // Removing an item from the collection list
> private function removeEntry():void
> {
>   // remove the first item
>   ProductsModel(applica

[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component

2016-12-05 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35197:
-
Attachment: src.zip

> [FlexJS] Data-binding is broken or not implemented in DataGrid component
> 
>
> Key: FLEX-35197
> URL: https://issues.apache.org/jira/browse/FLEX-35197
> Project: Apache Flex
>  Issue Type: Question
>Affects Versions: Apache FlexJS 0.8.0
>    Reporter: Santanu Karar
> Attachments: src.zip
>
>
> (I've took the _DataGrid_ example that supplied within the nightly build of 
> 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only)
> h3.Requirement
> Binding is a strong feature in Flex technology. As an user I also do expect 
> that FlexJS will also empowers us with the same strength developing projects. 
> While testing _DataGrid_ example that supplies within SDK bundle, I noticed 
> that pay-as-you-go view only available but no actual run-time data binding 
> (as far I tested); which is the strength that I was talking about. Is 
> run-time data-binding (by any _beads_ or any other way) to DataGrid component 
> is at all available yet? 
> In the following tests I tried to update one row object's (_Product_) one 
> particular field (_image_) value, to see it's change in row renderer, at 
> run-time. 
> I also tried to add or delete an item to it's _dataProvider_ collection to 
> see their changes in DataGrid UI.
> h3.Actual Result
> Run-time data update to collection list not affecting to DataGrid UI.
> h3.How I Tested
> I've attached the source ZIP that supplied within SDK bundle and I modified 
> few codes to test my requirement.
> The example consists of a DataGrid, and few buttons as follows:
> - Replace Array - replace the entire model with a new Array
> - Update Entry - Update the image for the first entry
> - Add Entry - Add a new entry to the end of the list
> - Remove Entry - Remove the first entry
> - Refresh - this recreates the array and saves it to the model. This forces 
> the DataGrid to update by the same method as Replace Array
> "Replace Array" and "Refresh" worked fine. "Refresh" is a possible workaround 
> for data update to grid UI, but it is inefficient for a real application. The 
> other buttons did not cause DataGrid UI to update. The places which I've 
> changed as follows. 
> *Product.as*
> {code}
> // since I was trying to update one field at least to DataGrid UI, I added 
> get/set methods to the _image_ field
> private var _image:String;
> [Bindable(event="imageChanged")]
> public function get image():String
> {
>   return _image;
> }
>   
> public function set image(value:String):void
> {
>   if (value != _image)
>   {
>   _image = value;
>   dispatchEvent(new Event("imageChanged"));
>   }
> }
> {code}
> *MyInitialView.mxml*
> {code}
> // Replacing or recreating the collection list
> private function replaceArray():void
> { 
>   // Only this part worked when SimpleBinding used rather than 
> ConstantBinding
>   ProductsModel(applicationModel).productList = new ArrayList([new 
> Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]);
>   
>   writeStatus();
> }
> // Update an entry to the collection
> private function updateEntry():void
> {
>   // This part not working or updating to DataGrid UI either
>   /*ProductsModel(applicationModel).productList.source[1] = tmp;
>   ProductsModel(applicationModel).dispatchEvent(new 
> Event("propertyChange"));*/
>   // This part not working or updating to DataGrid UI
>   var tmp:Product = 
> ProductsModel(applicationModel).productList.getItemAt(0) as Product;
>   tmp.image = "Modified Text";
>   
>   writeStatus();  
> }
> // Adding an item to the collection list
> private function addEntry():void
> {
>   // Add a new entry to the list
>   idCounter++;
>   ProductsModel(applicationModel).productList.addItem(new 
> Product("product" + idCounter, "Added" + idCounter, 35, 190, 
> "assets/smallorangerect.jpg"));
>   
>   writeStatus();
> }
> // Removing an item from the collection list
> private function removeEntry():void
> {
>   // remove the first item
>   ProductsModel(applicationModel).produc

[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component

2016-12-05 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35197:
-
Description: 
(I've took the _DataGrid_ example that supplied within the nightly build of 
0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only)

h3.Requirement

Binding is a strong feature in Flex technology. As an user I also do expect 
that FlexJS will also empowers us with the same strength developing projects. 
While testing _DataGrid_ example that supplies within SDK bundle, I noticed 
that pay-as-you-go view only available but no actual run-time data binding (as 
far I tested); which is the strength that I was talking about. Is run-time 
data-binding (by any _beads_ or any other way) to DataGrid component is at all 
available yet? 

In the following tests I tried to update one row object's (_Product_) one 
particular field (_image_) value, to see it's change in row renderer, at 
run-time. 
I also tried to add or delete an item to it's _dataProvider_ collection to see 
their changes in DataGrid UI.

h3.Actual Result

Run-time data update to collection list not affecting to DataGrid UI.

h3.How I Tested

I've attached the source ZIP that supplied within SDK bundle and I modified few 
codes to test my requirement.

The example consists of a DataGrid, and few buttons as follows:
- Replace Array - replace the entire model with a new Array
- Update Entry - Update the image for the first entry
- Add Entry - Add a new entry to the end of the list
- Remove Entry - Remove the first entry
- Refresh - this recreates the array and saves it to the model. This forces the 
DataGrid to update by the same method as Replace Array

"Replace Array" and "Refresh" worked fine. "Refresh" is a possible workaround 
for data update to grid UI, but it is inefficient for a real application. The 
other buttons did not cause DataGrid UI to update. The places which I've 
changed as follows. 

*Product.as*
{code}
// since I was trying to update one field at least to DataGrid UI, I added 
get/set methods to the _image_ field
private var _image:String;

[Bindable(event="imageChanged")]
public function get image():String
{
return _image;
}

public function set image(value:String):void
{
if (value != _image)
{
_image = value;
dispatchEvent(new Event("imageChanged"));
}
}
{code}

*MyInitialView.mxml*
{code}
// Replacing or recreating the collection list
private function replaceArray():void
{   
// Only this part worked when SimpleBinding used rather than 
ConstantBinding
ProductsModel(applicationModel).productList = new ArrayList([new 
Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]);

writeStatus();
}

// Update an entry to the collection
private function updateEntry():void
{
// This part not working or updating to DataGrid UI either
/*ProductsModel(applicationModel).productList.source[1] = tmp;
ProductsModel(applicationModel).dispatchEvent(new 
Event("propertyChange"));*/

// This part not working or updating to DataGrid UI
var tmp:Product = 
ProductsModel(applicationModel).productList.getItemAt(0) as Product;
tmp.image = "Modified Text";

writeStatus();  
}

// Adding an item to the collection list
private function addEntry():void
{
// Add a new entry to the list
idCounter++;
ProductsModel(applicationModel).productList.addItem(new 
Product("product" + idCounter, "Added" + idCounter, 35, 190, 
"assets/smallorangerect.jpg"));

writeStatus();
}

// Removing an item from the collection list
private function removeEntry():void
{
// remove the first item
ProductsModel(applicationModel).productList.removeItemAt(0);

writeStatus();
}

// Refreshing the collection to datagrid
private function refresh():void
{
// force an update setting the model to the same value it already has.  
See replaceArray()

// this was insufficient to trigger the update:
// ProductsModel(applicationModel).productList = 
ProductsModel(applicationModel).productList;

// Since there was NO refresh logic to ArrayList or DataGrid component, 
we only do a brute refresh to the list
var oldArray:ArrayList = ProductsModel(applicationModel).productList;
var newArray:ArrayList = new ArrayList();
var index:int;
for (index = 0; index < oldArray.length; index++) {
newArray.addItem(oldArray.getItemAt(in

[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component

2016-12-05 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35197:
-
Attachment: src.zip

> [FlexJS] Data-binding is broken or not implemented in DataGrid component
> 
>
> Key: FLEX-35197
> URL: https://issues.apache.org/jira/browse/FLEX-35197
> Project: Apache Flex
>  Issue Type: Question
>Affects Versions: Apache FlexJS 0.8.0
>    Reporter: Santanu Karar
> Attachments: src.zip
>
>
> (I've took the _DataGrid_ example that supplied within the nightly build of 
> 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only)
> h3.Requirement
> Binding is a strong feature in Flex technology. As an user I also do expect 
> that FlexJS will also empowers us with the same strength developing projects. 
> While testing _DataGrid_ example that supplies within SDK bundle, I noticed 
> that pay-as-you-go view only available but no actual run-time data binding 
> (as far I tested); which is the strength that I was talking about. Is 
> run-time data-binding (by any _beads_ or any other way) to DataGrid component 
> is at all available yet? 
> In the following tests I tried to update one row object's (_Product_) one 
> particular field (_image_) value, to see it's change in row renderer, at 
> run-time. 
> I also tried to add or delete an item to it's _dataProvider_ collection to 
> see their changes in DataGrid UI.
> h3.Actual Result
> Run-time data update to collection list not affecting to DataGrid UI.
> h3.How I Tested
> I've attached the source ZIP that supplied within SDK bundle and I modified 
> few codes to test my requirement. The places which I've changed as follows. 
> *Product.as*
> {code}
> // since I was trying to update one field at least to DataGrid UI, I added 
> get/set methods to the _image_ field
> private var _image:String;
> [Bindable(event="imageChanged")]
> public function get image():String
> {
>   return _image;
> }
>   
> public function set image(value:String):void
> {
>   if (value != _image)
>   {
>   _image = value;
>   dispatchEvent(new Event("imageChanged"));
>   }
> }
> {code}
> *MyInitialView.mxml*
> {code}
> // Upon a button click I tried to change collection data at run-time to make 
> effect in DataGrid UI
> private function onButtonClicked():void
> {
>   // 1. This part not working or updating to DataGrid UI
>   /*var tmp:Product = 
> ProductsModel(applicationModel).productList.getItemAt(1) as Product;
>   tmp.image = "Modified Text";*/
>   
>   // 2. This part not working or updating to DataGrid UI either
>   /*ProductsModel(applicationModel).productList.source[1] = tmp;
>   ProductsModel(applicationModel).dispatchEvent(new 
> Event("propertyChange"));*/
>   
>   // 3. Only this part worked when *SimpleBinding used instead of 
> ConstantBinding*
>   ProductsModel(applicationModel).productList = new ArrayList([new 
> Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]);
> }
> ...
> // DataGrid ConstantBinding bead replaced with SimpleBinding
>  change="dataGridChange()" rowHeight="30">
>   
>
> sourcePropertyName="productList" destinationPropertyName="dataProvider" 
> eventName="propertyChange"/>
> ...
> {code}
> I also created a new MXML based _DataItemRenderer_ component to see if 
> binding is working anyway: *ProductItemRendererMXML.mxml*; But it didn't 
> worked either. 
> I discussed this at dev mailing-list 
> (http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html)
>  where Alex suggested that a chain of specific beads usage may help this 
> feature, but he wasn't sure if such beads already developed or not. 
> Is there any such beads or procedure already available, or, in-development? 



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


[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component

2016-12-05 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35197:
-
Attachment: (was: src.zip)

> [FlexJS] Data-binding is broken or not implemented in DataGrid component
> 
>
> Key: FLEX-35197
> URL: https://issues.apache.org/jira/browse/FLEX-35197
> Project: Apache Flex
>  Issue Type: Question
>Affects Versions: Apache FlexJS 0.8.0
>    Reporter: Santanu Karar
> Attachments: src.zip
>
>
> (I've took the _DataGrid_ example that supplied within the nightly build of 
> 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only)
> h3.Requirement
> Binding is a strong feature in Flex technology. As an user I also do expect 
> that FlexJS will also empowers us with the same strength developing projects. 
> While testing _DataGrid_ example that supplies within SDK bundle, I noticed 
> that pay-as-you-go view only available but no actual run-time data binding 
> (as far I tested); which is the strength that I was talking about. Is 
> run-time data-binding (by any _beads_ or any other way) to DataGrid component 
> is at all available yet? 
> In the following tests I tried to update one row object's (_Product_) one 
> particular field (_image_) value, to see it's change in row renderer, at 
> run-time. 
> I also tried to add or delete an item to it's _dataProvider_ collection to 
> see their changes in DataGrid UI.
> h3.Actual Result
> Run-time data update to collection list not affecting to DataGrid UI.
> h3.How I Tested
> I've attached the source ZIP that supplied within SDK bundle and I modified 
> few codes to test my requirement. The places which I've changed as follows. 
> *Product.as*
> {code}
> // since I was trying to update one field at least to DataGrid UI, I added 
> get/set methods to the _image_ field
> private var _image:String;
> [Bindable(event="imageChanged")]
> public function get image():String
> {
>   return _image;
> }
>   
> public function set image(value:String):void
> {
>   if (value != _image)
>   {
>   _image = value;
>   dispatchEvent(new Event("imageChanged"));
>   }
> }
> {code}
> *MyInitialView.mxml*
> {code}
> // Upon a button click I tried to change collection data at run-time to make 
> effect in DataGrid UI
> private function onButtonClicked():void
> {
>   // 1. This part not working or updating to DataGrid UI
>   /*var tmp:Product = 
> ProductsModel(applicationModel).productList.getItemAt(1) as Product;
>   tmp.image = "Modified Text";*/
>   
>   // 2. This part not working or updating to DataGrid UI either
>   /*ProductsModel(applicationModel).productList.source[1] = tmp;
>   ProductsModel(applicationModel).dispatchEvent(new 
> Event("propertyChange"));*/
>   
>   // 3. Only this part worked when *SimpleBinding used instead of 
> ConstantBinding*
>   ProductsModel(applicationModel).productList = new ArrayList([new 
> Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]);
> }
> ...
> // DataGrid ConstantBinding bead replaced with SimpleBinding
>  change="dataGridChange()" rowHeight="30">
>   
>
> sourcePropertyName="productList" destinationPropertyName="dataProvider" 
> eventName="propertyChange"/>
> ...
> {code}
> I also created a new MXML based _DataItemRenderer_ component to see if 
> binding is working anyway: *ProductItemRendererMXML.mxml*; But it didn't 
> worked either. 
> I discussed this at dev mailing-list 
> (http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html)
>  where Alex suggested that a chain of specific beads usage may help this 
> feature, but he wasn't sure if such beads already developed or not. 
> Is there any such beads or procedure already available, or, in-development? 



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


[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component

2016-12-05 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35197:
-
Description: 
(I've took the _DataGrid_ example that supplied within the nightly build of 
0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only)

h3.Requirement

Binding is a strong feature in Flex technology. As an user I also do expect 
that FlexJS will also empowers us with the same strength developing projects. 
While testing _DataGrid_ example that supplies within SDK bundle, I noticed 
that pay-as-you-go view only available but no actual run-time data binding (as 
far I tested); which is the strength that I was talking about. Is run-time 
data-binding (by any _beads_ or any other way) to DataGrid component is at all 
available yet? 

In the following tests I tried to update one row object's (_Product_) one 
particular field (_image_) value, to see it's change in row renderer, at 
run-time. 
I also tried to add or delete an item to it's _dataProvider_ collection to see 
their changes in DataGrid UI.

h3.Actual Result

Run-time data update to collection list not affecting to DataGrid UI.

h3.How I Tested

I've attached the source ZIP that supplied within SDK bundle and I modified few 
codes to test my requirement. The places which I've changed as follows. 

*Product.as*
{code}
// since I was trying to update one field at least to DataGrid UI, I added 
get/set methods to the _image_ field
private var _image:String;

[Bindable(event="imageChanged")]
public function get image():String
{
return _image;
}

public function set image(value:String):void
{
if (value != _image)
{
_image = value;
dispatchEvent(new Event("imageChanged"));
}
}
{code}

*MyInitialView.mxml*
{code}
// Upon a button click I tried to change collection data at run-time to make 
effect in DataGrid UI
private function onButtonClicked():void
{
// 1. This part not working or updating to DataGrid UI
/*var tmp:Product = 
ProductsModel(applicationModel).productList.getItemAt(1) as Product;
tmp.image = "Modified Text";*/

// 2. This part not working or updating to DataGrid UI either
/*ProductsModel(applicationModel).productList.source[1] = tmp;
ProductsModel(applicationModel).dispatchEvent(new 
Event("propertyChange"));*/

// 3. Only this part worked when *SimpleBinding used instead of 
ConstantBinding*
ProductsModel(applicationModel).productList = new ArrayList([new 
Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]);
}

...

// DataGrid ConstantBinding bead replaced with SimpleBinding



...
{code}

I also created a new MXML based _DataItemRenderer_ component to see if binding 
is working anyway: *ProductItemRendererMXML.mxml*; But it didn't worked either. 

I discussed this at dev mailing-list 
(http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html)
 where Alex suggested that a chain of specific beads usage may help this 
feature, but he wasn't sure if such beads already developed or not. 

Is there any such beads or procedure already available, or, in-development? 

  was:
(I've took the _DataGrid_ example that supplied within the nightly build of 
0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only)

h3.Requirement

Binding is a strong feature in Flex technology. As an user I also do expect 
that FlexJS will also empowers us with the same strength developing projects. 
While testing _DataGrid_ example that supplies within SDK bundle, I noticed 
that pay-as-you-go view only available but no actual run-time data binding (as 
far I tested); which is the strength that I was talking about. Is run-time 
data-binding (by any _beads_ or any other way) to DataGrid component is at all 
available yet? 

In the following tests I tried to update one row object's (_Product_) one 
particular field (_image_) value, to see it's change in row renderer, at 
run-time. 
I also tried to add or delete an item to it's _dataProvider_ collection to see 
their changes in DataGrid UI.

h3.Actual Result

Run-time data update to collection list not affecting DataGrid UI.

h3.How I Tested

I've attached the source ZIP that supplied within SDK bundle and I modified few 
codes to test my requirement. The places which I've changed as follows. 

*Product.as*
{code}
// since I was trying to update one field at least to DataGrid UI, I added 
get/set methods to the _image_ field
private var _image:String;

[Bindable(event="imageChanged")]
public function get image():String
{
return _image;
}

public function set image(value:Stri

[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component

2016-12-05 Thread Santanu Karar (JIRA)

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

Santanu Karar updated FLEX-35197:
-
Description: 
(I've took the _DataGrid_ example that supplied within the nightly build of 
0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only)

h3.Requirement

Binding is a strong feature in Flex technology. As an user I also do expect 
that FlexJS will also empowers us with the same strength developing projects. 
While testing _DataGrid_ example that supplies within SDK bundle, I noticed 
that pay-as-you-go view only available but no actual run-time data binding (as 
far I tested); which is the strength that I was talking about. Is run-time 
data-binding (by any _beads_ or any other way) to DataGrid component is at all 
available yet? 

In the following tests I tried to update one row object's (_Product_) one 
particular field (_image_) value, to see it's change in row renderer, at 
run-time. 
I also tried to add or delete an item to it's _dataProvider_ collection to see 
their changes in DataGrid UI.

h3.Actual Result

Run-time data update to collection list not affecting DataGrid UI.

h3.How I Tested

I've attached the source ZIP that supplied within SDK bundle and I modified few 
codes to test my requirement. The places which I've changed as follows. 

*Product.as*
{code}
// since I was trying to update one field at least to DataGrid UI, I added 
get/set methods to the _image_ field
private var _image:String;

[Bindable(event="imageChanged")]
public function get image():String
{
return _image;
}

public function set image(value:String):void
{
if (value != _image)
{
_image = value;
dispatchEvent(new Event("imageChanged"));
}
}
{code}

*MyInitialView.mxml*
{code}
// Upon a button click I tried to change collection data at run-time to make 
effect in DataGrid UI
private function onButtonClicked():void
{
// 1. This part not working or updating to DataGrid UI
/*var tmp:Product = 
ProductsModel(applicationModel).productList.getItemAt(1) as Product;
tmp.image = "Modified Text";*/

// 2. This part not working or updating to DataGrid UI either
/*ProductsModel(applicationModel).productList.source[1] = tmp;
ProductsModel(applicationModel).dispatchEvent(new 
Event("propertyChange"));*/

// 3. Only this part worked when *SimpleBinding used instead of 
ConstantBinding*
ProductsModel(applicationModel).productList = new ArrayList([new 
Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]);
}

...

// DataGrid ConstantBinding bead replaced with SimpleBinding



...
{code}

I also created a new MXML based _DataItemRenderer_ component to see if binding 
is working anyway: *ProductItemRendererMXML.mxml*; But it didn't worked either. 

I discussed this at dev mailing-list 
(http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html)
 where Alex suggested that a chain of specific beads usage may help this 
feature, but he wasn't sure if such beads already developed or not. 

Is there any such beads or procedure already available, or, in-development? 

  was:
(I've took the _DataGrid_ example that supplied within the nightly build of 
0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only)

h3.Requirement

Binding is a strong feature in Flex technology. As an user I also do expect 
that FlexJS will also empowers us with the same strength developing projects. 
While testing _DataGrid_ example that supplies within SDK bundle, I noticed 
that pay-as-you-go view only available but no actual run-time data binding (as 
far I tested); which is the strength that I was talking about. Is run-time 
data-binding (by any _beads_ or any other way) to DataGrid component is at all 
available yet? 

h3.Actual Result

Run-time data update to DataGrid UI is not working.

h3.How I Tested

I've attached the source ZIP that supplied within SDK bundle and I modified few 
codes to test my requirement. The places which I've changed as follows. 

*Product.as*
{code}
// since I was trying to update one field at least to DataGrid UI, I added 
get/set methods to the _image_ field
private var _image:String;

[Bindable(event="imageChanged")]
public function get image():String
{
return _image;
}

public function set image(value:String):void
{
if (value != _image)
{
_image = value;
dispatchEvent(new Event("imageChanged"));
}
}
{code}

*MyInitialView.mxml*
{code}
// Upon a button click I tried to change collection data at run-time to make 
effect in DataGrid UI
private fun

  1   2   3   4   5   6   7   8   9   10   >