Re: Validation DMARC

2019-11-23 Thread Wesley Peng
Google groups replace the from: with their group address. What I know the big 
providers having strict DMARC setting are:

mail.ru
laposte.net

I am glad the more large providers like gmail, outlook don’t have this stupid 
setting.

Regards

On Sat, Nov 23, 2019, at 5:13 PM, Roland Köbler wrote:
> Hi,
> 
> > when validating DMARC, it use the envelop address, or use from address from 
> > the header?
> it unfortunately uses the from-header.
> (If it would use the envelope address, it would not cause that much
> problems.)
> 
> Or in short: DMARC intentionally breaks every mailinglist and every 
> mail-forwarding.
> So, if a mail-provider uses a strict DMARC-policy, it effectively
> says: "Our mail-addresses may not be used for mailinglists."
> 
> The cleanest solution for mailinglists would be to reject mails from
> such adresses. (Spoofing the From-header by removing the authors address
> and replacing it by the lists address, and so hiding the original author,
> could of course also be done, but is not really a good solution.)
> 
> Roland
> 
> 


Re: Question about DMARC

2019-11-22 Thread Wesley Peng
Thanks for helps.

On Sat, Nov 23, 2019, at 11:07 AM, Richard Damon wrote:
> On 11/22/19 6:25 AM, Wesley Peng wrote:
> > Would this list break SPF then? Thanks 
> >
> This list sends with an envelope sender in the lists domain, so it
> doesn't break general SPF, it will break DMARC SPF, since that check SPF
> only to the From: domain.
> 
> This list doesn't modify messages in a way to break DKIM, so messages
> that were DKIM signed to the From: Domain will still pass DMARC DKIM, so
> will pass DMARC (unless the domain doesn't DKIM sign messages, which
> would be very unusual for highly restricted DMARC).
> 
> -- 
> Richard Damon
> 
> 


Validation DMARC

2019-11-22 Thread Wesley Peng
Hi

when validating DMARC, it use the envelop address, or use from address from the 
header? Thanks 



Re: Reject Chinese mail

2019-11-22 Thread Wesley Peng
SA (Spamassassin) is good idea, I saw most people running their own mail 
servers are using it.


On Sat, Nov 23, 2019, at 4:35 AM, Ralph Seichter wrote:
> * merr...@fn.de:
> 
> > We did get a lot of spam messages from Chinese providers. We speak not
> > Chinese, do you think if it is possible to reject all mails from
> > China?
> 
> SpamAssassin, which is often used in combination with Postfix, has a
> plugin called "RelayCountry" that allows you to change the spam score of
> email. It uses GeoIP and is therefore not always accurate, but overall
> it can help.
> 
> There is also the "TextCat" plugin that attempts to determine the
> language of email bodies, and it allows you to adjust spam scores based
> on wanted/unwanted languages.
> 
> Personally, I think that hard blocks based on these plugins are not a
> good idea, but if your business is not set up to handle communication
> written in language X (e.g. because none of your employees speak X),
> adjusting the spam score seems reasonable.
> 
> -Ralph
> 


Re: Question about DMARC

2019-11-22 Thread Wesley Peng
Would this list break SPF then? Thanks 

On Fri, Nov 22, 2019, at 7:15 PM, Richard Damon wrote:
> On 11/21/19 11:47 PM, Wesley Peng wrote:
> > Richard Damon wrote:
> >> That is a question to ask them. Basically the strict DMARC policy is
> >> designed for transactional email, where spoofing is a real danger. The
> >> side effect of it is that addresses on such a domain really shouldn't be
> >> used on mailing lists, or any other 3rd party senders not specifically
> >> set up for that by the domain owner. For the proper usages of this, it
> >> really isn't much of a problem, as the sorts of institutions that deal
> >> with this sort of transactional mail, probably shouldn't be using that
> >> same domain for less formal usages that tends to go with a mailing list.
> >>
> >> The problems arise when a domain that doesn't really need that level of
> >> protection adopts it for some reason, especially if they don't inform
> >> their users of the implications of that decision.
> >
> > Hello Richard,
> >
> > If I am wrong, please forgive me.
> >
> > Many ISP/Registrars provide email forwarding, I even had a pobox.com
> > account which I used for 10+ years with just forwarding feature.
> >
> > When a mail like mail.ru was relayed by those providers, it sounds
> > easy to break SPF/DKIM, so the recepients may reject the message. This
> > is not good practice for the sender, even for mail.ru itself.
> >
> > Am I right?
> >
> > regards.
> >
> Normal forwarding will break SPF, but not DKIM (one reason DMARC uses
> both). A mail provider that uses strict settings but doesn't DKIM sign
> the messages would be considered seriously broken in my experience. The
> issue is that many mailing list will break DKIM by slightly modifing the
> message, like adding a signal word to the subject or a footer with
> information like unsubscribing instructions (this can be a legal
> requirement in some jurisdictions). Note, this list does NOT do this
> sort of modification, so doesn't cause that sort of problem.
> 
> -- 
> Richard Damon
> 
> 


Re: Question about DMARC

2019-11-22 Thread Wesley Peng
I meant I didn’t get it in my mail.ru inbox. The other providers may or may not 
reject it. Thanks.

On Fri, Nov 22, 2019, at 5:52 PM, Wesley Peng wrote:
> Hi
> 
> the mail I sent from mail.ru to this list got dropped, I didn’t get the 
> message I sent.
> 
> 
> On Fri, Nov 22, 2019, at 4:41 PM, Nick wrote:
>> On 2019-11-22 04:21 GMT, Wesley Peng wrote:
>> > The email I am using is with domain of mail.ru, which has the
>> > strictest DMARC policy setting.
>> > 
>> > So mailing list like postfix-users doesn't deliver my message to
>> > myself on this domain. And google groups rewrite the sender address
>> > to their own address.
>> > 
>> > I don't know why mail.ru has this setup, this seems unfriendly.
>> 
>> All of your posts from mail.ru pass DMARC according to my instance of
>> OpenDMARC. If mail.ru isn't returning your posts, it's probably
>> nothing to do with DMARC. Perhaps you can ask them. I also have
>> strict DMARC policy and no difficulty with this list.
>> -- 
>> Nick
>> 
> 


Re: Question about DMARC

2019-11-22 Thread Wesley Peng
Hi

the mail I sent from mail.ru to this list got dropped, I didn’t get the message 
I sent.


On Fri, Nov 22, 2019, at 4:41 PM, Nick wrote:
> On 2019-11-22 04:21 GMT, Wesley Peng wrote:
> > The email I am using is with domain of mail.ru, which has the
> > strictest DMARC policy setting.
> > 
> > So mailing list like postfix-users doesn't deliver my message to
> > myself on this domain. And google groups rewrite the sender address
> > to their own address.
> > 
> > I don't know why mail.ru has this setup, this seems unfriendly.
> 
> All of your posts from mail.ru pass DMARC according to my instance of
> OpenDMARC. If mail.ru isn't returning your posts, it's probably
> nothing to do with DMARC. Perhaps you can ask them. I also have
> strict DMARC policy and no difficulty with this list.
> -- 
> Nick
> 


Re: Question about DMARC

2019-11-21 Thread Wesley Peng




Richard Damon wrote:

  The
side effect of it is that addresses on such a domain really shouldn't be
used on mailing lists,


Thanks for pointing out this. I never knew it.
Now I changed my mail to fastmail account, which I owned it for many 
years. I just don't like its mobile app, it's just a web wrapper, not as 
good as gmail/mail.ru etc.

After I checked I think fastmail will do well on receiving mailing list.

Thanks.


Re: Question about DMARC

2019-11-21 Thread Wesley Peng

Richard Damon wrote:

That is a question to ask them. Basically the strict DMARC policy is
designed for transactional email, where spoofing is a real danger. The
side effect of it is that addresses on such a domain really shouldn't be
used on mailing lists, or any other 3rd party senders not specifically
set up for that by the domain owner. For the proper usages of this, it
really isn't much of a problem, as the sorts of institutions that deal
with this sort of transactional mail, probably shouldn't be using that
same domain for less formal usages that tends to go with a mailing list.

The problems arise when a domain that doesn't really need that level of
protection adopts it for some reason, especially if they don't inform
their users of the implications of that decision.


Hello Richard,

If I am wrong, please forgive me.

Many ISP/Registrars provide email forwarding, I even had a pobox.com 
account which I used for 10+ years with just forwarding feature.


When a mail like mail.ru was relayed by those providers, it sounds easy 
to break SPF/DKIM, so the recepients may reject the message. This is not 
good practice for the sender, even for mail.ru itself.


Am I right?

regards.


Re: Question about DMARC

2019-11-21 Thread Wesley Peng

Richard Damon wrote:

The typical options for the mailing list are

1) Just not allow people from such domains to post to the list (the
reject option you mention)

2) Rewrite the from address from people from such a domain to be from
the domain of the list (often the list address). This is arguably
discouraged by the email RFCs, as the from address should indicate the
AUTHOR of the message, which is the original sender. It also can cause
problems with identifying who sent the message, and can corrupt peoples
address books if their program records that address as being associated
with the sender. It can also make it harder to reply just to the sender.

3) Rewrite the message by wrapping it as an attachment, with the outer
message being from the list. This has the problem that many clients
won't handle the message in a useful manner.


Thank you Richard.

The email I am using is with domain of mail.ru, which has the strictest 
DMARC policy setting.


So mailing list like postfix-users doesn't deliver my message to myself 
on this domain. And google groups rewrite the sender address to their 
own address.


I don't know why mail.ru has this setup, this seems unfriendly.

Thanks.


Question about DMARC

2019-11-21 Thread Wesley Peng

Greetings,

When mail is relayed through mailing list, why the DMARC policy is 
possible to reject?


For example, I sent mail from x...@mail.ru to y...@googlegroups.com

Since mail.ru has the strictest DMARC policy, the recepients may choose 
to reject this mail which is relayed by googlegroups, the reason is due 
to DKIM or SPF fails.


So mailing list makes DKIM or SPF failed?

Thank you for your helps.

Regards.


Re: [Interest] Best way to threaded render (images) going forward?

2019-11-21 Thread Wesley Krasko
Thanks. For now anyways I'm trying to just move from QGLWidget to
QOpenGLWidget, buy time.
Can I get some help? In the QGLWidget one I currently have there is a
separate thread to render and it uses QPainter.
I'm trying to do the same for the new class but I can't seem to get a
QPainter working no matter what! The app runs but as soon as drawing starts
it crashes because, but I"m using similar methods to what I did before. If
I comment out just the attempt to create QPainter, it works fine, renders
fast just doing the glclear part. Hopefully I can attach here. There is a
lot of "Extra" from our previous surface/class, but it's not yet used
anyways. As mentioned, this is working as is, but where you find "//TODO
HERE" in the code, I tried many ways to use a QPainter in the thread
without success.


On Tue, Nov 19, 2019 at 11:18 AM Christoph Feck  wrote:

> On 11/19/19 19:52, Wesley Krasko wrote:
> > Yes, I've read about RHI but it all seems to imply it's for QT Quick,
> what
> > about Qt Widget based apps going forward?
>
> Let me quote what is written there: "We will need to base all our
> rendering infrastructure (QPainter, the Qt Quick Scenegraph, and our 3D
> support) on top of that layer."
>
> QWidgets use QPainter for rendering.
>
> > Is my best bet QOpenGLWidget until 6.x comes out then and then re-write
> again?
>
> If you are using OpenGL, RHI won't magically change your code. Use
> QPainter, the Qt Quick scene graph, or Qt3D, depending on your case.
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
>


-- 
Wes Krasko
www.worldwidewes.com
www.kraskofamily.com
"Stay away from negative people. They have a problem for every solution."
#ifndef GLWIDGET_H
#define GLWIDGET_H

#include "framequeue.h"
#include "hapiinterface.h"

#include 
#include 
#include 
#include 
#include 
#include 
#include 

class GLWidget;

class Renderer : public QObject
{
Q_OBJECT

public:
Renderer(GLWidget *);
~Renderer();
void lockRenderer() { m_renderMutex.lock(); }
void unlockRenderer() { m_renderMutex.unlock(); }
QMutex *grabMutex() { return &m_grabMutex; }
QWaitCondition *grabCond() { return &m_grabCond; }
void prepareExit() { m_exiting = true; m_grabCond.wakeAll(); }

enum {
FULLVL = 0,//"Full Video Local"
FULLVR = 1,//"Full Video Remote"
PIP1 = 2,//PIP one line
PIP2 = 3,//PIP 2 line
LSV = 4,//Left Side Video
RSV = 5//Right Side Video
};
FrameQueue *selfView;
QList remoteViewList;

signals:
void contextWanted();

public slots:
void start();
void stop();
void pause();
void resume();
void resumeToClose();
void setVidLayout(int layout);
void setPrivacyMode(bool isPrivacy);
void setNoRemoteVideo(int lineHandle, bool noRemote);
void scaleUp();
void scaleDown();
void disableEvents();
void render();
void eventHandler(int event, long param1, long param2);

private:
static const int animationFPS = 30;
static const int pipWidth = 160;
static const int pipHeight = 120;

bool m_inited;
GLWidget *m_glwidget;
QMutex m_renderMutex;
QMutex m_grabMutex;
QWaitCondition m_grabCond;
bool m_exiting;

bool skipEvents;
QImage selfImageToRender;
//I'm putting this in temporarily.
//I'm hoping to find a more generic way so I can use lines available from 
Xyclops like everywhere else.
QImage remoteImageToRender1;
QImage remoteImageToRender2;
QImage privacyImage;
QImage holdImage;
QImage audioOnlyImage;
QImage noRemoteVideoImage;
bool pauseRendering;
int localCWidth;
int localCHeight;
int scalingFactor;

bool m_privacyMode;
int m_currentVideoLayout;
int m_sessionVideoLayout;

QRect sizeFrameToFit(int frameWidth, int frameHeight, int position);
};

class GLWidget : public QOpenGLWidget
{
Q_OBJECT
public:
GLWidget(QWidget *parent);
~GLWidget();
void stopRendering();
void startRendering();
void pauseRendering();
void resumeRendering();
void resumeForClose();
bool isStarted();
void setVideoLayout(int layout);
//int getVideoLayout();
void setPrivacyMode(bool isPrivacy);
void setNoRemoteVideo(int lineHandle, bool noRemote);
void scaleUp();
void scaleDown();
void disableEvents();

enum {
NORMALMODE = 0,
SIDEBYSIDE = 1,
REMOTEONLY = 2
};

protected:
void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE { }

signals:
void renderRequested();
void vidLayoutChange(int);
void privacyModeChange(bool);
void setNoRemote(int, bool);

public slots:
void grabContext();

private slots:
voi

the strictest antispam laws?

2019-11-21 Thread Wesley Peng

Hello

I saw a trend that, every ESP has taken hard work on antispam policy.
For example, from my test cases:

1. gmail totally can't be registered from PC, only mobile client (gmail, 
outlook etc) can sign up a new username. they require mobile 
verification in the process.


2. yahoo totally can't be registered without a mobile verification, and 
each telephone number can be used once.


3. yandex is harder to sign up, it requires mobile verification, before 
every message sending, they require you to input the auth code.


4. A new registered outlook email require you to input mobile number 
once and once.


5. GMX/web.de stops auto-registration, every new registration they 
require you to call their service telephone for manual verification.


6. yahoo.co.jp stops web registration, they require mobile verification, 
and use a password-less solution for login. the first new messages 
sending they require you to input Japanese auth code.


7. others including UKR, rambler, Netease have the silimiar rules.

Does this mean every country has taken the strictest antispam laws for 
privacy protection today?


Thanks & Regards.



Re: [Interest] Best way to threaded render (images) going forward?

2019-11-19 Thread Wesley Krasko
Yes, I've read about RHI but it all seems to imply it's for QT Quick, what
about Qt Widget based apps going forward? Also, AFAIK 6 will not be
released until 11 of 2020 which will likely be too late for Mac OS
considering they'll probably have another release before that doing away
completely with OpenGL. What about now? Is my best bet QOpenGLWidget until
6.x comes out then and then re-write again?

On Tue, Nov 19, 2019 at 10:46 AM Christoph Feck  wrote:

> On 11/19/19 19:33, David M. Cotter wrote:
> > is someone working on something like QNativeGraphics, which picks the
> best impl under the hood? eg: metal for macos, opengl for linux, and
> whatever it is now for windows?
>
> See https://www.qt.io/blog/2019/08/07/technical-vision-qt-6
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
>


-- 
Wes Krasko
www.worldwidewes.com
www.kraskofamily.com
"Stay away from negative people. They have a problem for every solution."
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [casper] jasper not working properly after upgrade

2019-11-19 Thread Wesley New
Hi Nitish

This is a python 2/3 issue. The toolflow has been upgraded to use python 3.
Most people are running it in a virtual environment and install the
requirements.txt in the root of mlib_devel. Assuming you are using the
latest version of mlib_devel in casper-astro.

Hope this helps.

Regards

Wesley

On Tue, 19 Nov 2019, 7:03 PM Nitish Ragoomundun, <
nitish.ragoomun...@gmail.com> wrote:

> Hi,
>
> I was using Matlab R2017b and Vivado 2016.4 until recently. Most things
> were working until I had issues with the complex fft block and decided to
> get the latest mlib_devel to program our SNAP board. I followed
> https://casper-toolflow.readthedocs.io/en/latest/src/Installing-the-Toolflow.html
> and installed Matlab R2018a and Vivado 2019.1.1 on Ubuntu 16.04. I tested
> using a design which I know was working before. I noticed that new Matlab
> could not save the Simulink design if I opened the old one itself. So, I
> manually made a replica of the .slx design with the same blocks and same
> parameters. Ctrl+D was successfull. Compilation should have worked but got
> the following error at some stage after running jasper:
>
> .
> ('wb_register_ppc2simulink_sync',
> ['/home/aragorn/Documents/CASPER/mlib_devel/jasper_library/hdl_sources/wb_register_ppc2simulink_sync'])
> snap
> ('infrastructure',
> ['/home/aragorn/Documents/CASPER/mlib_devel/jasper_library/hdl_sources/infrastructure'])
> ('wbs_arbiter',
> ['/home/aragorn/Documents/CASPER/mlib_devel/jasper_library/hdl_sources/wbs_arbiter'])
> sys_block
>  doesn't have
> an attribute 'fullpath'
> ('sys_block',
> ['/home/aragorn/Documents/CASPER/mlib_devel/jasper_library/hdl_sources/sys_block'])
> spi_wb_bridge
> 
> doesn't have an attribute 'fullpath'
> ('spi_wb_bridge',
> ['/home/aragorn/Documents/CASPER/mlib_devel/jasper_library/hdl_sources/spi_wb_bridge'])
> xadc
>  doesn't have an
> attribute 'fullpath'
> ('xadc/xadc.v',
> ['/home/aragorn/Documents/CASPER/mlib_devel/jasper_library/hdl_sources/xadc/xadc.v'])
> ('xadc/xadc_wiz_0.xci',
> ['/home/aragorn/Documents/CASPER/mlib_devel/jasper_library/hdl_sources/xadc/xadc_wiz_0.xci'])
> instantiating user peripherals
> top:
> /home/aragorn/Documents/SNAP/new_Spectrum_Analyser/spectrum_480mhz_2048pts_3c/top.v
> instantiating user_ip
> regenerating top
> Dumping pickle of top-level Verilog module
> Extracting constraints from peripherals
> Generating physical constraints
> Traceback (most recent call last):
>   File
> "/home/aragorn/Documents/CASPER/mlib_devel/jasper_library/cit2csl.py", line
> 107, in 
> sys.stdout.buffer.write(csl)
> AttributeError: 'file' object has no attribute 'buffer'
> Failed to generate binary file
> /home/aragorn/Documents/SNAP/new_Spectrum_Analyser/spectrum_480mhz_2048pts_3c/core_info.jam.tab.bin,
> error code 256.
> Traceback (most recent call last):
>   File
> "/home/aragorn/Documents/CASPER/mlib_devel/jasper_library/exec_flow.py",
> line 202, in 
> tf.write_core_jam_info()
>   File
> "/home/aragorn/Documents/CASPER/mlib_devel/jasper_library/toolflow.py",
> line 525, in write_core_jam_info
> raise Exception(errmsg)
> Exception: Failed to generate binary file
> /home/aragorn/Documents/SNAP/new_Spectrum_Analyser/spectrum_480mhz_2048pts_3c/core_info.jam.tab.bin,
> error code 256.
> Error using jasper (line 23)
> Backend build failed! Check log files for more information
>
>
> If you wish to see the beginning of the messages, please see attached log.
> The messages in the Matlab window following the jasper command are in
> Matlab.log.
> Since the error is a "Traceback" from Python, I am guessing something. I
> did download the new mlib_devel (master branch) and installed the
> requirements using pip3. I saw in
> https://casper-toolflow.readthedocs.io/en/latest/src/Installing-the-Toolflow.html
> that for SNAP, we need Python3 and I checked dependencies. One thing I
> noticed by looking into the scripts inside mlib_devel/jasper_library is the
> line "#! /usr/bin/env python". On Ubuntu 16.04 the default Python is
> version 2.7 and "python" is actually a symlink at /usr/bin/python which
> links to /usr/bin/python2.7. So, for example, if exec_flow.py is run, I am
> pretty sure it is running with python2.7 and not python3.
>
> So, what do you think?
> Can you please advise?
>
> Thanks.
> Regards,
> Nitish
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "
> casper@lists.berkeley.edu&qu

[Interest] Best way to threaded render (images) going forward?

2019-11-19 Thread Wesley Krasko
Hello all, I was sent here from the Qt forum for more "technical" questions.
We have an app, it runs on Linux, Windows, and Mac OS. It is a video relay
app. The video is supplied via an SDK, I subclass one of their classes and
re-implement a lock and unlock function. On lock the SDK writes the current
frame/image into a buffer I supply (raw image data, I'm using a QImage at
the moment) then on unlock it says "ready" and I can draw it. This is
happening about 60fps.
So, at the moment I have 2 methods. One is a QGLWidget based class where I
use a QPainter in another thread to draw the QImage when ready. Its very
fast, no impact on GUI thread, on all platforms. However, there's a known
bug in Qt causing loss of style under Windows so I then had to do a backup
D2D method, non-threaded so it does not perform nearly as well.
Fast forward to today. We ran into all kinds of issues with Mac OS Catalina
and the beginning of their loss of support for OpenGL. We were able to
mitigate this for now by sticking with Mojave + Xcode 10 to build.
I would like to solve this once and for all hopefully. One threaded
rendering method I can use across all platforms. I know RHI is coming but
it looks like it's for Quick. I know that QGLWidget is deprecated and
moving to QOpenGLWidget might solve things but will it be future proof on
Mac? Also, in my attempts to move to this thus far, I can thread if I use
open gl commands directly but am no longer able to use QPainter in the
thread.
Any suggestions on the best method going forward? I think I've read on
everything, QGraphicsView/Scene, RHI, etc and either the
documentation/examples are lacking or what I need to do doesn't seem doable
which I find odd, this seems like it would be a common use case to render
video frames! Thanks.

-- 
Wes Krasko
www.worldwidewes.com
www.kraskofamily.com
"Stay away from negative people. They have a problem for every solution."
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[ceph-users] Re: Ssd cache question

2019-11-18 Thread Wesley Peng
Thanks Manuel for letting me know this.  18.11.2019, 22:11, "EDH - Manuel Rios Fernandez" :Hi Wesley Its a common issue think about a SSD cache will help in ceph. Normally it produces other issue also related to performance, the’res a lot of mailist about this. Our recommendation , in RBD setup don’t help. RegardsManuel  De: Wesley Peng <wes...@160mail.com>Enviado el: lunes, 18 de noviembre de 2019 14:54Para: ceph-users@ceph.ioAsunto: [ceph-users] Ssd cache question Hello For today ceph deployment, is SSD cache pool the must for performance stuff? Thank you. Regards ___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Ssd cache question

2019-11-18 Thread Wesley Peng
HelloFor today ceph deployment, is SSD cache pool the must for performance stuff? Thank you.Regards ___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


FreeBSD Port: x11/sddm

2019-11-16 Thread Wesley Wroten
I have a small problem with sddm on my 12.1 box.. sddm keeps making me log
in twice. Is this a bug or a security issue ?

If this is the case of a bug I can show a video of this happening

Thanks
~wes


[dns-operations] GMX tld question

2019-11-13 Thread Wesley Peng

Hello,

Is .gmx tld run by United Internet?
We have communication issue to their DNS servers.

gmx.21542   IN  NS  anycast10.irondns.net.
gmx.21542   IN  NS  anycast23.irondns.net.
gmx.21542   IN  NS  anycast9.irondns.net.
gmx.21542   IN  NS  anycast24.irondns.net.

But the communication to gmx.net NS servers gets no problem.

gmx.net.11009   IN  NS  ns-gmx.ui-dns.com.
gmx.net.11009   IN  NS  ns-gmx.ui-dns.biz.
gmx.net.11009   IN  NS  ns-gmx.ui-dns.org.
gmx.net.11009   IN  NS  ns-gmx.ui-dns.de.

If anyone know the undercase operators, please let me know.

Thank you.
regards.
___
dns-operations mailing list
dns-operations@lists.dns-oarc.net
https://lists.dns-oarc.net/mailman/listinfo/dns-operations


[jira] [Commented] (SPARK-29778) saveAsTable append mode is not passing writer options

2019-11-11 Thread Wesley Hoffman (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-29778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16972048#comment-16972048
 ] 

Wesley Hoffman commented on SPARK-29778:


Looks like my PR linked right up. How handy!

 

The test works by creating a custom query listener so that I can gather the 
{{LogicalPlan}} and assert the proper {{writeOptions.}}

> saveAsTable append mode is not passing writer options
> -
>
> Key: SPARK-29778
> URL: https://issues.apache.org/jira/browse/SPARK-29778
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Affects Versions: 3.0.0
>Reporter: Burak Yavuz
>Priority: Critical
>
> There was an oversight where AppendData is not getting the WriterOptions in 
> saveAsTable. 
> [https://github.com/apache/spark/blob/782992c7ed652400e33bc4b1da04c8155b7b3866/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala#L530]



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

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



[ceph-users] OSD's addrvec, not getting msgr v2 address, PGs stuck unknown or peering

2019-11-11 Thread Wesley Dillingham
Running 14.2.4 (but same issue observed on 14.2.2) we have a problem with,
thankfully a testing cluster, where all pgs are failing to peer and are
stuck in peering or unknown stale etc states.

My working theory is that this is because the OSDs dont seem to be
utilizing msgr v2 as "ceph osd find osd.NN" only lists the v1 in the
addrvec. This is in contrast to our working 14.2.4 clusters where both v1
and v2 are listed.

Our monitors via `ceph mon dump` show each mon running on v1 and v2 on the
default ports (3300/6789) and I able to reach each of those ports on all
the mons from a few test OSD nodes.

OSD logs are filled with heartbeat_check: no reply from   ever
on either front or back

I have attempted to modify the ceph.conf mon_host on the OSDs to use either
the standard comma separate ip list and the new bracketed format and then
restarting OSD daemons on a number of OSDs but it doesnt seem to impact the
addrvec.

My desire is to get the OSDs working on V2 and see if they are able to
begin peering. How can I force the addrvec to update?  Thanks.

Respectfully,

*Wes Dillingham*
w...@wesdillingham.com
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[Mpi-forum] December MPI Forum Registration Live

2019-11-11 Thread Wesley Bland via mpi-forum
Hi all,

The registration link for the December meeting is now live website and here:

https://www.eventbrite.com/e/mpi-forum-albuquerque-nm-tickets-80928470233 


Please register ASAP (as in before you forget during SC week next week) so week 
can lock in our order for food and we don’t go hungry (or order way too much).

As a reminder in case you didn’t see Matthew’s excellent advice on 
lodging/food/entertainment for Albuquerque, that is available on the logistics 
page:

https://www.mpi-forum.org/meetings/2019/12/logistics 
 

Thanks,
Wesley___
mpi-forum mailing list
mpi-forum@lists.mpi-forum.org
https://lists.mpi-forum.org/mailman/listinfo/mpi-forum


Re: [ANNOUNCE] New committer: Mickael Maison

2019-11-07 Thread Wesley Peng

Matthias J. Sax wrote:

Congrats Mickeal!


-Matthias


Welcome Mickeal!

regards


[Gmsh] How can I classify faces of an imported OPEN CASCADE geometry by color?

2019-11-05 Thread Wesley Ranger
Say we have an uncertain polyhedron, which is built via CAD software. Some of 
its faces contact with other objects and are thus painted red, and the other 
faces are painted blue.

Naturally, I want to *Merge* the shape into Gmsh, and assign the faces into 
different physical groups by color. I am glad to see that the OpenCASCADE CAD 
kernel is now able to read "color & label information" from step files. But I 
haven't managed to find any clue on utilizing such information to set meshing 
options.

Can someone please show me an example to do this? Either script or API is OK.

Best Regards

Ran Wei
___
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh


Re: NiFi WebGUI Timestamp issue

2019-10-30 Thread Wesley C. Dias de Oliveira
Are you using NTP servers?

Em qua, 30 de out de 2019 às 11:36,  escreveu:

> Hi Wesley
>
>
>
> I didn’t change anything on the machine during the time when I restarted
> the cluster (multiple times), however NiFi showed after each restart
> different timestamps/localizations.
>
>
>
> Cheers Josef
>
>
>
> *From: *"Wesley C. Dias de Oliveira" 
> *Reply to: *"users@nifi.apache.org" 
> *Date: *Wednesday, 30 October 2019 at 14:41
> *To: *"users@nifi.apache.org" 
> *Subject: *Re: NiFi WebGUI Timestamp issue
>
>
>
> Hi, Josef.
>
>
>
> It seems to be related to machine time settings.
>
> Have you checked this?
>
>
>
> Em qua, 30 de out de 2019 às 06:57,  escreveu:
>
> Hi Guys,
>
>
>
> We just faced an issue with the time shown in the NiFi webgui (Screenshot
> below).
>
>
>
> We are in Switzerland, so at the moment we have “CET” (UTC + 1h). After a
> restart of our 8-node NiFi 1.9.2 cluster, NiFi suddenly showed “CET” - but
> the timestamp was in fact UTC, so minus 1h. Then we decided to restart all
> NiFi nodes again and now it’s even more confusing, it shows “UTC” but the
> time is from CET?
>
>
>
> [image: cid:16e1ce4a8a64cff311]
>
>
>
>
>
> Can anybody explain where the timestamp and the localization letters are
> coming from? After the reboot for a very short time period it showed
> another localization and timestamp, but then it changed to what I mentioned
> in the screenshot above.
>
>
>
> We have more clusters and single nifi’s and all the other machines show
> the correct timestamp and location… all have the same config.
>
>
>
> Cheers Josef
>
>
>
>
> --
>
> Grato,
>
> Wesley C. Dias de Oliveira.
>
>
>
> Linux User nº *576838.*
>


-- 
Grato,
Wesley C. Dias de Oliveira.

Linux User nº 576838.


Re: NiFi WebGUI Timestamp issue

2019-10-30 Thread Wesley C. Dias de Oliveira
Hi, Josef.

It seems to be related to machine time settings.

Have you checked this?

Em qua, 30 de out de 2019 às 06:57,  escreveu:

> Hi Guys,
>
>
>
> We just faced an issue with the time shown in the NiFi webgui (Screenshot
> below).
>
>
>
> We are in Switzerland, so at the moment we have “CET” (UTC + 1h). After a
> restart of our 8-node NiFi 1.9.2 cluster, NiFi suddenly showed “CET” - but
> the timestamp was in fact UTC, so minus 1h. Then we decided to restart all
> NiFi nodes again and now it’s even more confusing, it shows “UTC” but the
> time is from CET?
>
>
>
>
>
>
>
> Can anybody explain where the timestamp and the localization letters are
> coming from? After the reboot for a very short time period it showed
> another localization and timestamp, but then it changed to what I mentioned
> in the screenshot above.
>
>
>
> We have more clusters and single nifi’s and all the other machines show
> the correct timestamp and location… all have the same config.
>
>
>
> Cheers Josef
>


-- 
Grato,
Wesley C. Dias de Oliveira.

Linux User nº 576838.


Re: Replace semicolon in recipient list

2019-10-23 Thread Wesley Peng




on 2019/10/23 16:48, luc...@dds.nl wrote:

So, you could rewrite the "To:" list into "," separated.


That sounds like what I am looking for, thanks!
How do I do that? I did not get it to work with a REPLACE in the 
header_checks...


I saw postfix has a address rewrite guide you may want to check with.
http://www.postfix.org/ADDRESS_REWRITING_README.html

regards.


Re: Replace semicolon in recipient list

2019-10-23 Thread Wesley Peng




on 2019/10/23 16:40, luc...@dds.nl wrote:

I was just curious, why the From addr is a list of addresses?
Isn't from just a single address?


My bad - I meant to say the "To:" header!


So, you could rewrite the "To:" list into "," separated.

regards.


Re: Replace semicolon in recipient list

2019-10-23 Thread Wesley Peng

Hi

on 2019/10/23 16:27, luc...@dds.nl wrote:
One sending application is sending mail with a From: header containing a 
semicolon-separated list of addresses. This is not according to the 
standard (https://tools.ietf.org/html/rfc2822#section-3.6.3) and is 
rejected by SES:


I was just curious, why the From addr is a list of addresses?
Isn't from just a single address?

regards.


about MX hosts

2019-10-22 Thread Wesley Peng

Hello

I saw my ESP has two MX records pointing to just the same host.

rambler.ru. 21  IN  MX  5 inmx.rambler.ru.
rambler.ru. 21  IN  MX  10 inmx.rambler.ru.

Does this have any value inprovement?

Thanks


Re: [OMPI devel] devel Digest, Vol 3756, Issue 1

2019-10-22 Thread Wesley Bland via devel
No. The MPI Forum will be meeting at the Microsoft office in the same place as 
the last time it was held in Portland:

https://www.mpi-forum.org/meetings/2018/02/logistics

1414 NW Northrup Street

The website hasn’t yet been updated to include the logistics.

> On Oct 22, 2019, at 1:09 PM, Ju-Hyoung Lee via devel 
>  wrote:
> 
> MPI Forum schedule said below information. Is it changed to Cisco Office 
> Portland also?
> 
> 18 February 2020 - 21 February 2020 - Portland, OR (Microsoft)
> 
> -Original Message-
> From: devel  On Behalf Of 
> devel-requ...@lists.open-mpi.org
> Sent: Tuesday, October 22, 2019 11:00 AM
> To: devel@lists.open-mpi.org
> Subject: devel Digest, Vol 3756, Issue 1
> 
> Send devel mailing list submissions to
>   devel@lists.open-mpi.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   
> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.open-mpi.org%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Cjuhlee%40microsoft.com%7Cee80c5948e0749357ecc08d75719b176%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637073640172757610&sdata=ly7Z93gMjiin9t862nWVvf1Mw5Km87LZQdCyvBPkb6M%3D&reserved=0
> or, via email, send a message with subject or body 'help' to
>   devel-requ...@lists.open-mpi.org
> 
> You can reach the person managing the list at
>   devel-ow...@lists.open-mpi.org
> 
> When replying, please edit your Subject line so it is more specific than "Re: 
> Contents of devel digest..."
> 
> 
> Today's Topics:
> 
>   1. Open MPI Winter 2020 face-to-face meeting
>  (Jeff Squyres (jsquyres))
> 
> 
> --
> 
> Message: 1
> Date: Tue, 22 Oct 2019 15:55:38 +
> From: "Jeff Squyres (jsquyres)" 
> To: Open MPI Developers List 
> Subject: [OMPI devel] Open MPI Winter 2020 face-to-face meeting
> Message-ID: <7af55738-5df3-4eb5-83e8-e588466c9...@cisco.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Dates and location have been decided:
> 
> - Feb 17-18, 2020 (immediately prior to the MPI Forum meeting)
> - Portland, OR, USA
> 
> Wiki page is up: 
> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopen-mpi%2Fompi%2Fwiki%2FMeeting-2020-02&data=02%7C01%7Cjuhlee%40microsoft.com%7Cee80c5948e0749357ecc08d75719b176%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637073640172767611&sdata=fHF%2Bz8BtGgO%2FaYdMPK4pfoBBV6GgWf9uL2NS1MyFeZo%3D&reserved=0
> 
> 1. Please put your name on the page if you plan to attend (so you can be 
> registered as a guest) 2. Please put agenda items on the page
> 
> --
> Jeff Squyres
> jsquy...@cisco.com
> 
> 
> 
> --
> 
> Subject: Digest Footer
> 
> ___
> devel mailing list
> devel@lists.open-mpi.org
> https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.open-mpi.org%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Cjuhlee%40microsoft.com%7Cee80c5948e0749357ecc08d75719b176%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637073640172767611&sdata=x5fS7sqHAwSPOA0fFkD%2BnbngDqJANMPC3UZaBqVP4cg%3D&reserved=0
> 
> --
> 
> End of devel Digest, Vol 3756, Issue 1
> **



Re: A news aggregator for the Python community

2019-10-19 Thread Wesley Peng

Sebastian Steins wrote:

Over the last few weeks I've build a hacker news clone for the Python community:

https://news.python.sc

The source is at github.com/sebst/pythonic-news


that looks interesting. thanks.
--
https://mail.python.org/mailman/listinfo/python-list


Re: [cdesktopenv-devel] [PATCH] Remove code blocks marked as 'NOTDONE'

2019-10-17 Thread Wesley Moxam
Oh sorry about that! I thought this was tested 😅

Thanks!

On Thu, Oct 17, 2019 at 10:39 PM Jon Trulson  wrote:

> Hi,
>
> This one failed to build in WmInitWs.c - you accidentally removed two
> important #includes.
>
> I re-added them and applied them to your patch.
>
> Please compile test your submissions :)
>
> Merged, thanks!
>
> -jon
>
> On 10/17/19 7:18 PM, Wesley Moxam wrote:
> > Another clean up, this time I went through the various flags listed in
> > programs/dtwm/README and removed the ones that are definitely not needed.
> >
> > Perhaps some others could be also removed in the future.
> >
> > -- W
> >
> > On Tue, Oct 15, 2019 at 10:18 PM Wesley Moxam  > <mailto:wesley.mo...@gmail.com>> wrote:
> >
> > Ok, two more removal patches:
> >
> > 1) Remove HP_VUE compatibility ifdefs
> > 2) Remove `notdef` ifdefs
> >
> > On Mon, Oct 14, 2019 at 5:36 PM Wesley Moxam  > <mailto:wesley.mo...@gmail.com>> wrote:
> >
> > Here are 3 more removal patches:
> >
> > 1) HP_EXTENSIONS is for HPUX systems. It doesn't seemed to be
> > used anymore.
> > 2) `legacysun` is presumably for older sun systems. I doubt
> > anyone is using it
> > 3) `oldcode` seems to be a name that was used to comment out old
> > code.
> >
> >
> > On Mon, Oct 14, 2019 at 10:16 AM Wesley Moxam
> > mailto:wesley.mo...@gmail.com>> wrote:
> >
> > This is the first of a series of patches to remove dead
> > code. There seems to be a decent amount of half finished
> > code that's omitted via ifdef, it'll be good to remove it.
> >
> > -- W
> >
> >
> >
> > ___
> > cdesktopenv-devel mailing list
> > cdesktopenv-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
> >
>
> --
> Jon Trulson
>
>   "Nothing unreal exists."
>-- Kiri-kin-tha
>
>
>
> ___
> cdesktopenv-devel mailing list
> cdesktopenv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>
___
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


Re: [cdesktopenv-devel] [PATCH] Remove code blocks marked as 'NOTDONE'

2019-10-17 Thread Wesley Moxam
Another clean up, this time I went through the various flags listed in
programs/dtwm/README and removed the ones that are definitely not needed.

Perhaps some others could be also removed in the future.

-- W

On Tue, Oct 15, 2019 at 10:18 PM Wesley Moxam 
wrote:

> Ok, two more removal patches:
>
> 1) Remove HP_VUE compatibility ifdefs
> 2) Remove `notdef` ifdefs
>
> On Mon, Oct 14, 2019 at 5:36 PM Wesley Moxam 
> wrote:
>
>> Here are 3 more removal patches:
>>
>> 1) HP_EXTENSIONS is for HPUX systems. It doesn't seemed to be used
>> anymore.
>> 2) `legacysun` is presumably for older sun systems. I doubt anyone is
>> using it
>> 3) `oldcode` seems to be a name that was used to comment out old code.
>>
>>
>> On Mon, Oct 14, 2019 at 10:16 AM Wesley Moxam 
>> wrote:
>>
>>> This is the first of a series of patches to remove dead code. There
>>> seems to be a decent amount of half finished code that's omitted via ifdef,
>>> it'll be good to remove it.
>>>
>>> -- W
>>>
>>
From 85b60cd528ddaa17e387224438fc03e9238677b2 Mon Sep 17 00:00:00 2001
From: wmoxam 
Date: Mon, 14 Oct 2019 00:31:57 -0400
Subject: [PATCH] Remove all optional compile flags from dtwm that are not
 referenced anywhere, and are unlikely to ever be used

---
 cde/config/cf/Motif.tmpl   |   1 -
 cde/programs/dtwm/README   | 100 -
 cde/programs/dtwm/WmCDecor.c   |  10 
 cde/programs/dtwm/WmCEvent.c   |  13 -
 cde/programs/dtwm/WmCEvent.h   |   2 -
 cde/programs/dtwm/WmColormap.c |  38 -
 cde/programs/dtwm/WmColormap.h |   2 -
 cde/programs/dtwm/WmEvent.c|  42 --
 cde/programs/dtwm/WmFeedback.c |   2 -
 cde/programs/dtwm/WmFunction.c |  51 -
 cde/programs/dtwm/WmGlobal.h   |  12 
 cde/programs/dtwm/WmHelp.c |  71 ---
 cde/programs/dtwm/WmImage.c|  10 
 cde/programs/dtwm/WmInitWs.c   |  21 ---
 cde/programs/dtwm/WmManage.c   |   4 --
 cde/programs/dtwm/WmMenu.c |  26 -
 cde/programs/dtwm/WmOL.c   |   2 -
 cde/programs/dtwm/WmOL.h   |   2 -
 cde/programs/dtwm/WmProperty.c |  21 ---
 cde/programs/dtwm/WmProtocol.c |  20 ---
 cde/programs/dtwm/WmResource.c |  25 -
 cde/programs/dtwm/WmWinConf.c  |  12 
 cde/programs/dtwm/WmWinInfo.c  |  34 ---
 23 files changed, 521 deletions(-)

diff --git a/cde/config/cf/Motif.tmpl b/cde/config/cf/Motif.tmpl
index f3d61265..4ec41387 100644
--- a/cde/config/cf/Motif.tmpl
+++ b/cde/config/cf/Motif.tmpl
@@ -95,7 +95,6 @@ XCOMM $TOG: Motif.tmpl /main/6 1999/05/19 17:00:05 mgreess $
 # define XmDefines  /**/
 #endif
 
-/* To compile without SHAPE extension, set this to -DNO_SHAPE */
 #ifndef MwmDefines
 # define MwmDefines /**/
 #endif
diff --git a/cde/programs/dtwm/README b/cde/programs/dtwm/README
index c32f1513..8c0b66db 100644
--- a/cde/programs/dtwm/README
+++ b/cde/programs/dtwm/README
@@ -5,26 +5,6 @@ The following is a listing of the conditional compilation switches that
 are "not obvious." Excluded are hardware or OS identifiers (e.g. __ultrix),
 header file include flags, and macros (e.g. ABS).
 
-ALTERNATE_POSTMENU
-	This turns on menu posting by a simple call to XtManageChild.
-	Normally, some underbar routines are called.
-
-DT_LEFT_JUSTIFY_TITLE
-	This causes the text in the window titles to be left justified 
-	instead of centered. NOTE that WSM must also be turned on for
-	this to take effect.
-
-CONCAT_TEXTLIST
-	If turned on, then all members of compound text window 
-	properties (WM_NAME, WM_ICON_NAME) are converted to XmStrings
-	and concatenated together. Normally, only the first member
-	is taken.
-
-CONFIG_RELATIVE_TO_CLIENT
-	If defined, then programmatic window configurations are
-	absolute. Normally, the window frame offset is taken into
-	account if it would have been during a user-driven config.
-
 DEBUG
 	Turns on code that prints out error messages (specifically
 	protocol errors).
@@ -44,19 +24,6 @@ header file include flags, and macros (e.g. ABS).
 	If defined, the session hints property is left on the root
 	window after being read. Normally, it is deleted.
 
-DISALLOW_DEEP_ICONS
-	Turns off code that allows icon pixmaps of depth greater than
-	one.
-
-DONT_FILTER_ICON_WINDOWS
-	This disables code that tries to prevent an icon window from being
-	managed as a normal toplevel window.
-
-FUTURE
-	This appears to enable code that will allow item help to work
-	over window icons. I suspect that this is not completely
-	implemented.
-
 ICCC_COMPLIANT
 This enables stricter ICCCM compliance. Specifically, some
 	clients didn't get WM_PROTOCOLS quite right.
@@ -68,89 +35,22 @@ header file include flags, and macros (e.g. ABS).
 LARGECURSORS
 	Allows cursors larger than 16x16.
 
-MCCABE

Re: flink权限问题

2019-10-17 Thread Wesley Peng
hi

hdfs有严格的权限管理系统,这个问题似乎绕不过去吧,flink该有的权限就应该给它开了。

On Thu, Oct 17, 2019 at 7:58 PM jinhai wang  wrote:

> 背景:
>
> 实时flink任务从kafka同步数据到hdfs。
>
>
>
> 问题:
>
> 比如flink的job使用A用户提交,但写hdfs的文件用户只能是B,那这个除了给hdfs添加A的操作权限外,flink
> 这块儿可以优雅解决这类问题吗?checkpoint的写权限应该是A用户吧
>


Re: base64 encoded emails

2019-10-17 Thread Wesley Peng

Hi

on 2019/10/17 16:48, Fourhundred Thecat wrote:

I believe email should be plaintext. I don't like HTML emails either. If
somebody feels that his message needs fancy formatting, he should send
it as pdf attachment. But emails should stay plaintext.


non-latin message body should be encoded for better transfer.

regards.


Re: [cdesktopenv-devel] [PATCH] Remove code blocks marked as 'NOTDONE'

2019-10-15 Thread Wesley Moxam
Ok, two more removal patches:

1) Remove HP_VUE compatibility ifdefs
2) Remove `notdef` ifdefs

On Mon, Oct 14, 2019 at 5:36 PM Wesley Moxam  wrote:

> Here are 3 more removal patches:
>
> 1) HP_EXTENSIONS is for HPUX systems. It doesn't seemed to be used anymore.
> 2) `legacysun` is presumably for older sun systems. I doubt anyone is
> using it
> 3) `oldcode` seems to be a name that was used to comment out old code.
>
>
> On Mon, Oct 14, 2019 at 10:16 AM Wesley Moxam 
> wrote:
>
>> This is the first of a series of patches to remove dead code. There seems
>> to be a decent amount of half finished code that's omitted via ifdef, it'll
>> be good to remove it.
>>
>> -- W
>>
>
From da91aa6cba51943843c969033122e5e919978494 Mon Sep 17 00:00:00 2001
From: wmoxam 
Date: Mon, 14 Oct 2019 09:39:50 -0400
Subject: [PATCH] Remove ancient HP VUE compatibility support

---
 cde/lib/DtSvc/DtUtil1/GetVWmHint.c |  67 --
 cde/lib/DtSvc/DtUtil1/WmWsOccupy.c |  92 -
 cde/lib/DtSvc/DtUtil1/WsmP.h   |  89 +---
 cde/programs/dtwm/README   |   3 -
 cde/programs/dtwm/WmBackdrop.c |   5 +-
 cde/programs/dtwm/WmInitWs.c   |   5 --
 cde/programs/dtwm/WmProperty.c |  31 -
 cde/programs/dtwm/WmProperty.h |   3 -
 cde/programs/dtwm/WmWrkspace.c | 107 -
 cde/programs/dtwm/WmWrkspace.h |   4 --
 10 files changed, 2 insertions(+), 404 deletions(-)

diff --git a/cde/lib/DtSvc/DtUtil1/GetVWmHint.c b/cde/lib/DtSvc/DtUtil1/GetVWmHint.c
index b1701e6f..0cc7d5c7 100644
--- a/cde/lib/DtSvc/DtUtil1/GetVWmHint.c
+++ b/cde/lib/DtSvc/DtUtil1/GetVWmHint.c
@@ -86,10 +86,6 @@ _DtWsmGetDtWmHints(
 unsigned long leftover, items, length;
 int rcode;
 Atom property;
-#ifdef HP_VUE
-unsigned long oldlength;
-#endif /* HP_VUE */
-
 
 property = XmInternAtom(display, _XA_DT_WM_HINTS, False);
 length = sizeof (DtWmHints) / sizeof (long);
@@ -121,69 +117,6 @@ _DtWsmGetDtWmHints(
 	*ppDtWmHints = NULL;
 	}
 }
-#ifdef HP_VUE
-else {
-	/*
-	 * Didn't get the Dt hints, try to get the Vue hints.
-	 * Not that the Vue hints had the same structure, just
-	 * under a different property name.
-	 */
-	property = XmInternAtom(display, _XA_VUE_WM_HINTS, False);
-	/* 
-	 * Property previously existed without attachWindow.
-	 */
-	oldlength = length - (sizeof(Window)/sizeof(long));
-
-	*ppDtWmHints = NULL;
-	if ((rcode=XGetWindowProperty(
-			display,
-			window,
-			property,
-			0L, /* offset */
-			length,
-			False,/* delete */
-			property,			/* req_type */
-			&actualType,
-			&actualFormat,
-			&items,/* items returned */
-			&leftover,
-			(unsigned char **)ppDtWmHints))==Success)
-	{
-
-	if ((actualType != property) ||
-		(items < oldlength))
-	{
-		/* wrong type, force failure */
-		rcode = BadValue;
-		if (actualType != None)
-		{
-		XFree ((char *)*ppDtWmHints);
-		}
-		*ppDtWmHints = NULL;
-	}
-
-	if (*ppDtWmHints && (items < length))
-	{
-		DtWmHints *pvh;
-
-		/* assume old property, return full sized
-		   property with empty values */
-		pvh = (DtWmHints *) malloc (length * sizeof (long));
-
-		pvh->flags = (*ppDtWmHints)->flags;
-		pvh->functions = (*ppDtWmHints)->functions;
-		pvh->behaviors = (*ppDtWmHints)->behaviors;
-		pvh->attachWindow = NULL;
-
-		XFree ((char *) *ppDtWmHints);
-		
-		*ppDtWmHints = pvh;
-	}
-	}
-}
-#endif /* HP_VUE */
-	
 return(rcode);
-
 } /* END OF FUNCTION _DtWsmGetDtWmHints */
 
diff --git a/cde/lib/DtSvc/DtUtil1/WmWsOccupy.c b/cde/lib/DtSvc/DtUtil1/WmWsOccupy.c
index f2542bb7..c19a91cd 100644
--- a/cde/lib/DtSvc/DtUtil1/WmWsOccupy.c
+++ b/cde/lib/DtSvc/DtUtil1/WmWsOccupy.c
@@ -77,14 +77,6 @@ static int _GetWorkspacesOccupied(
 Atom **ppaWs,
 unsigned long *pNumWs,
 Atom property) ;
-#ifdef HP_VUE
-static int _GetWorkspacePresence(
-			Display *display,
-			Window window,
-			Atom **ppWsPresence,
-			unsigned long *pNumPresence,
-			Atom property ) ;
-#endif /* HP_VUE */
 
 /End Static Function Declarations/
 
@@ -159,79 +151,7 @@ _GetWorkspacesOccupied(
 
 } /* END OF FUNCTION GetWorkspacesOccupied */
 
-#ifdef HP_VUE
-
-/*<->*
- *
- *  int _GetWorkspacePresence (display, window, ppWsPresence, 
- *  pNumPresence, property)
- *
- *
- *  Description:
- *  ---
- *  Get the contents of the _DT_WORKSPACE_PRESENCE property on a window
- *
- *
- *  Inputs:
- *  --
- *  display		- display 
- *  window		- window to get hints from
- *  ppWsPresence	- pointer to a pointer to return
- *  pNumPresence	- pointer to a number to return
- *  property		- the property atom
- 

Re: [RELEASE] Python 3.8.0 is now available

2019-10-14 Thread Wesley Peng

awesome news. thanks for all the hard work.

on 2019/10/15 4:23, Łukasz Langa wrote:

We hope you enjoy Python 3.8!

Thanks to all of the many volunteers who help make Python Development and these 
releases possible! Please consider supporting our efforts by volunteering 
yourself or through organization contributions to the Python Software 
Foundation.

--
https://mail.python.org/mailman/listinfo/python-list


Re: [cdesktopenv-devel] [PATCH] Remove code blocks marked as 'NOTDONE'

2019-10-14 Thread Wesley Moxam
Here are 3 more removal patches:

1) HP_EXTENSIONS is for HPUX systems. It doesn't seemed to be used anymore.
2) `legacysun` is presumably for older sun systems. I doubt anyone is using
it
3) `oldcode` seems to be a name that was used to comment out old code.


On Mon, Oct 14, 2019 at 10:16 AM Wesley Moxam 
wrote:

> This is the first of a series of patches to remove dead code. There seems
> to be a decent amount of half finished code that's omitted via ifdef, it'll
> be good to remove it.
>
> -- W
>


remove-hp-extensions.patch
Description: Binary data


remove-legacysun.patch
Description: Binary data


remove-oldcode.patch
Description: Binary data
___
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


[cdesktopenv-devel] [PATCH] Remove code blocks marked as 'NOTDONE'

2019-10-14 Thread Wesley Moxam
This is the first of a series of patches to remove dead code. There seems
to be a decent amount of half finished code that's omitted via ifdef, it'll
be good to remove it.

-- W


remove-NOTDONE.patch
Description: Binary data
___
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


Re: [dns-operations] Spotify contact

2019-10-13 Thread Wesley Peng

Jan-Philipp Benecke wrote:

is someone from Spotify on this list ?
If so, please contact me off list. Your nameservers refusing some PTR
lookups.


You can always send an inquiry mail to off...@spotify.com
They would respond to you.

regards.
___
dns-operations mailing list
dns-operations@lists.dns-oarc.net
https://lists.dns-oarc.net/mailman/listinfo/dns-operations


Re: Python 3.6 on Windows - does a python3 alias get created by installation?

2019-10-12 Thread Wesley Peng

smart.thanks.

On 2019/10/12 12:19 下午, Gisle Vanem wrote:


An "alias" could also simply be created using:
   doskey python3=f:\ProgramFiles\Python36\python.exe

--
https://mail.python.org/mailman/listinfo/python-list


Re: [ANNOUNCE] mod_perl-2.0.11

2019-10-12 Thread Wesley Peng

Edward J. Sabol wrote:

Except we're actually upgrading from Apache 2.2.34 to 2.4.41, and all the
tests pass with 2.2.34 (I just ran them again and verified this), so this
is kind of a new issue for us, but I'm happy to trust in the experiences of
other folks who have running using mod_perl with Apache 2.4.x.


We also run mp2 with httpd 2.2. should we upgrade to httpd 2.4 for 
better performance?


regards.


how to get statistics about inbout/outbound messages

2019-10-11 Thread Wesley Peng
As the subject stated, how can I get the statistics on the numbers of 
inbout/outbound messages every day from Postfix?


Thanks & regards.


Re: 文件重命名

2019-10-08 Thread Wesley Peng

May you want to rename them in HDFS with FileSystem.rename method?


on 2019/10/8 17:39, yanggang_it_job wrote:

写入hdfs的文件都是
part-{parallel-task}-{count}
这种格式


如何重命名啊?


[Mpi-forum] Virtual Meeting Cancelled for 2019-10-02

2019-10-02 Thread Wesley Bland via mpi-forum
Hi folks,

Sorry for the last minute cancellation, but we weren’t able to get a topic
together for this week’s virtual meeting. For those who have something
ready to discuss for next week, please let Martin and I know.

Thanks,
Wesley
___
mpi-forum mailing list
mpi-forum@lists.mpi-forum.org
https://lists.mpi-forum.org/mailman/listinfo/mpi-forum


Re: Possible ?

2019-10-01 Thread Wesley C. Dias de Oliveira
Hi, John,

I would say you should build 20 dataflows because it will probably be more
isolated and testable.

About the password, maybe you can use the password as a variable, huh?

Em ter, 1 de out de 2019 às 12:44, John Fak  escreveu:

> If you want a flow to replicate to say 20 databases and perform data
> action.
>
> 1) Can this be 1 flow (source) connected to 20 targets - or should it be
> separate flows (20).
>
> 2) If you need a password to be dynamic as it may change - and be differnt
> across 20 endpoints . can part of the flow execute a local OS script to
> get the password to then use in the connection dynamically - or can only be
> statistically defined.
>
>
> This would be to send certain data to ceytain databases based on a  flag.
> But to also allow passwords to change without breaking flows.
>
> thx
>
>
>
>
>

-- 
Grato,
Wesley C. Dias de Oliveira.

Linux User nº 576838.


Re: Could not forward element to next operator

2019-09-28 Thread Wesley Peng
Hello,

May this article match your issue?
https://blog.csdn.net/qq_41910230/article/details/90411237

regards.

On Sun, Sep 29, 2019 at 10:33 AM allan <18612537...@163.com> wrote:

> Hi,
>
> 最近发现作业一直在报错,我的窗口是一分钟的窗口。这是什么原因,谁能帮助一下?flink版本1.6 ,错误如下:
>
>
>
> TimerException{org.apache.flink.streaming.runtime.tasks.ExceptionInChainedOperatorException:
> Could not forward element to next operator}
>
>at
> org.apache.flink.streaming.runtime.tasks.SystemProcessingTimeService$TriggerTask.run(SystemProcessingTimeService.java:288)
>
>at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>
>at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>
>at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>
>at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>
>at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
>at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>
>at java.lang.Thread.run(Thread.java:748)
>
> Caused by:
> org.apache.flink.streaming.runtime.tasks.ExceptionInChainedOperatorException:
> Could not forward element to next operator
>
>at org.apache.flink.streaming.
>
>
> runtime.tasks.OperatorChain$CopyingChainingOutput.pushToOperator(OperatorChain.java:596)
>
>at
> org.apache.flink.streaming.runtime.tasks.OperatorChain$CopyingChainingOutput.collect(OperatorChain.java:554)
>
>at
> org.apache.flink.streaming.runtime.tasks.OperatorChain$CopyingChainingOutput.collect(OperatorChain.java:534)
>
>at
> org.apache.flink.streaming.api.operators.AbstractStreamOperator$CountingOutput.collect(AbstractStreamOperator.java:689)


Re: 订阅邮件

2019-09-27 Thread Wesley Peng
Hello

You should not pose across multiple groups.
One thread to one group is more graceful.


杨利君 于2019年9月26日 周四下午3:42写道:

> 订阅flink社区邮件


Re: [OT] [RELEASE CANDIDATE] mod_perl-2.0.11 RC2

2019-09-26 Thread Wesley Peng




on 2019/9/26 18:32, André Warnier (tomcat) wrote:
Not being able myself to contribute really to this process, I did not 
comment on the previous emails here.
But as a grateful user of mod_perl for many years, I just want to 
express my immense gratitude to Steve and all other people who 
contribute to keep this project and product alive and well, and let them 
know that their efforts are not in vain.
The activity of my little software and services company in Germany, 
Spain and worldwide, depends vitally on Apache httpd, perl and mod_perl. 
And I expect that I am not alone in such a situation.


We also use modperl for regular commercial applications.
Thanks for everyone's contribution.

regards.


Re: How to block mail coming from a domain

2019-09-26 Thread Wesley Peng




on 2019/9/26 16:42, Enrico Morelli wrote:

Can you setup spamassassin for domain blacklist?

regards.

How can do that?


The SpamAssassin whitelist and blacklist options can include globs, not 
regular expressions. The valid metacharacters are ? and * to match 0-1 
or 0-many characters respectively. This is the same as a shell glob.


To blacklist mail from foo.com and *.foo.com the following should work:

blacklist_from *@foo.com
blacklist_from *.foo.com

Don't be tempted to blacklist *foo.com, lest you inadvertently block 
some...@totally-legit-foo.com.


Regards.


Re: How to block mail coming from a domain

2019-09-26 Thread Wesley Peng




on 2019/9/26 16:34, Enrico Morelli wrote:

I tried to put .monster or *.monster in sender_access but doesn't work.
Is there a way to block *.monster mails?


Can you setup spamassassin for domain blacklist?

regards.


Re: UpdateRecord Unexpected EOF

2019-09-25 Thread Wesley C. Dias de Oliveira
Hello, Shawn.

It seems to be related to the syntax of your custom fields.

Check below the form that I use to perform such operations:

[image: image.png]


Em qua, 25 de set de 2019 às 14:14, Shawn Weeks 
escreveu:

> Trying to figure out what's causing this issue. In a simple test of
> UpdateRecord I'm getting an exception. This is on NiFi 1.9.2
>
> 2019-09-25 11:59:55,462 ERROR [Timer-Driven Process Thread-10]
> o.a.n.processors.standard.UpdateRecord
> UpdateRecord[id=692c3fdc-016d-1000-1d1a-3f2c2a1a99bb] Failed to process
> StandardFlowFileRecord[uuid=f27dad32-4c50-4c4b-80dd-475a440aa71a,claim=StandardContentClaim
> [resourceClaim=StandardResourceClaim[id=1569426927954-5, container=default,
> section=5], offset=638483,
> length=4492],offset=0,name=20190925165348482.prod.hive_src_file_meta,size=4492];
> will route to failure:
> org.apache.nifi.record.path.exception.RecordPathException: Unexpected token
> '' at line 1, column 0. Query:
> org.apache.nifi.record.path.exception.RecordPathException: Unexpected
> token '' at line 1, column 0. Query:
> at
> org.apache.nifi.record.path.RecordPathParser.displayRecognitionError(RecordPathParser.java:120)
> at
> org.antlr.runtime.BaseRecognizer.reportError(BaseRecognizer.java:186)
> at
> org.apache.nifi.record.path.RecordPathParser.pathOrFunction(RecordPathParser.java:4328)
> at
> org.apache.nifi.record.path.RecordPathParser.pathExpression(RecordPathParser.java:4367)
> at
> org.apache.nifi.record.path.RecordPath.compile(RecordPath.java:84)
> at
> com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalLoadingCache.lambda$new$0(BoundedLocalCache.java:3366)
> at
> com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2039)
> at
> java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853)
> at
> com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2037)
> at
> com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2020)
> at
> com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112)
> at
> com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:67)
> at
> org.apache.nifi.record.path.util.RecordPathCache.getCompiled(RecordPathCache.java:34)
> at
> org.apache.nifi.processors.standard.UpdateRecord.process(UpdateRecord.java:154)
> at
> org.apache.nifi.processors.standard.AbstractRecordProcessor$1.process(AbstractRecordProcessor.java:147)
> at
> org.apache.nifi.controller.repository.StandardProcessSession.write(StandardProcessSession.java:2887)
> at
> org.apache.nifi.processors.standard.AbstractRecordProcessor.onTrigger(AbstractRecordProcessor.java:122)
> at
> org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
> at
> org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1162)
> at
> org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:209)
> at
> org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117)
> at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
>


-- 
Grato,
Wesley C. Dias de Oliveira.

Linux User nº 576838.


[ceph-users] Re: unsubscribe

2019-09-24 Thread Wesley Peng
As the signature shows, please send an email to ceph-users-le...@ceph.io 
for unsubscribing.


hou guanghua wrote:

To unsubscribe send an email to ceph-users-le...@ceph.io

___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


Re: NIFI - PUTSQL - sql.args.1.type

2019-09-23 Thread Wesley C. Dias de Oliveira
Hi, KhajaAsmath.

I've search it too but found nothing.

I think it's more easy to observe the type based on your query. "mapping"
the arguments with the query fields.

Em seg, 23 de set de 2019 às 20:02, KhajaAsmath Mohammed <
mdkhajaasm...@gmail.com> escreveu:

> Hi,
>
> I have existing flow and trying to understand what is sql.args.1.type ?
>
> sql.args.1.type =11
> sql.args.1.type=13
>
> I understood that they are matched to column data type for
> sql.args.1.value.
>
> what is data type for 11 and 13 ? May I know what are all the options
> availabe for String, Integer, double ,date etc
>
> Thanks,
> Asmath
>


-- 
Grato,
Wesley C. Dias de Oliveira.

Linux User nº 576838.


Re: [ANNOUNCE] Apache Ignite 2.7.6 Released

2019-09-20 Thread wesley




On 2019/9/20 6:25 下午, Alexey Goncharuk wrote:
The Apache Ignite Community is pleased to announce the release of Apache 
Ignite 2.7.6.



nice work. thank you.

regards.


[San Diego, CA Permaculture] NEW BOOK/The Dreamt Land CHASING WATER AND DUST ACROSS CALIFORNIA By MARK ARAX

2019-09-18 Thread wesley roe Santa Barbara Permaculture Network
NEW BOOK/The Dreamt Land
CHASING WATER AND DUST ACROSS CALIFORNIA
By MARK ARAX
https://www.youtube.com/watch?v=aEicGQj4wrM 

ABOUT THE DREAMT LAND
“[An] exhaustive, deeply reported account… Few other journalists could have 
written a book as personal and authoritative… As Arax makes plain in this 
important book, it’s been the same story in California for almost two centuries 
now: When it comes to water, ‘the resource is finite. The greed isn’t.'”–Gary 
Krist, The New York Times Book Review

A vivid, searching journey into California’s capture of water and soil–the epic 
story of a people’s defiance of nature and the wonders, and ruin, it has wrought

Mark Arax is from a family of Central Valley farmers, a writer with deep ties 
to the land who has watched the battles over water intensify even as California 
lurches from drought to flood and back again. In The Dreamt Land, he travels 
the state to explore the one-of-a-kind distribution system, built in the 1940s, 
’50s and ’60s, that is straining to keep up with California’s relentless growth.

This is a heartfelt, beautifully written book about the land and the people who 
have worked it–from gold miners to wheat ranchers to small fruit farmers and 
today’s Big Ag. Since the beginning, Californians have redirected rivers, 
drilled ever-deeper wells and built higher dams, pushing the water supply past 
its limit.

The Dreamt Land weaves reportage, history and memoir to confront the “Golden 
State” myth in riveting fashion. No other chronicler of the West has so deeply 
delved into the empires of agriculture that drink so much of the water. The 
nation’s biggest farmers–the nut king, grape king and citrus queen–tell their 
story here for the first time.

This is a tale of politics and hubris in the arid West, of imported workers 
left behind in the sun and the fatigued earth that is made to give more even 
while it keeps sinking. But when drought turns to flood once again, all is 
forgotten as the farmers plant more nuts and the developers build more houses.

Arax, the native son, is persistent and tough as he treks from desert to delta, 
mountain to valley. What he finds is hard earned, awe-inspiring, tragic and 
revelatory. In the end, his compassion for the land becomes an elegy to the 
dream that created California and now threatens to undo it.

MARK ARAX is an author and journalist whose writings on California and the West 
have received numerous awards for literary nonfiction. A former staffer at the 
Los Angeles Times, his work has appeared in The New York Times and the 
California Sunday Magazine. His books include a memoir of his father’s murder, 
a collection of essays about the West, and the best-selling The King of 
California, which won a California Book Award, the William Saroyan Prize from 
Stanford University, and was named a top book of 2004 by the Los Angeles Times 
and the San Francisco Chronicle. He lives in Fresno, California


Prologue 
(Summer 2016)


On a summer day in the San Joaquin Valley, 101 in the shade, I merge onto 
Highway 99 past downtown Fresno and steer through the vibra­tions of heat. I’m 
headed to the valley’s deep south, to a little farm­worker town in a far corner 
of Kern County called Lost Hills. This is where the biggest farmer in 
America—the one whose mad plantings of almonds and pistachios have triggered 
California’s nut rush—keeps on growing, no matter drought or flood. He doesn’t 
live in Lost Hills. He lives in Beverly Hills. How has he managed to outwit 
nature for so long?

The GPS tells me to take Interstate 5, the fastest route through the belly of 
the state, but I’m partial to Highway 99, the old road that brought the Okies 
and Mexicans to the fields and deposited a twang on my Armenian tongue. 
Ninety-nine runs two lanes here, three lanes there, through miles of 
agriculture broken every twenty minutes by fast food, gas station and cheap 
motel. Tracts of houses, California’s last affordable dream, civilize three or 
four exits, and then it’s back to the open road splattered with the guts and 
feathers of chickens that jumped ship on the slaughterhouse drive. Pink and 
white oleanders divide the highway, and every third vehicle that whooshes by is 
a big rig. More often than not, it is hauling away some piece of the valley’s 
unbroken bounty. The harvest begins in January with one type of mandarin and 
ends in December with another type of mandarin, and in between comes everything 
in your supermarket produce and dairy aisles except for bananas and mangoes, 
though the farmers here are working on the tropical, too.

I stick to the left lane and stay ahead of the pack. The big-rig drivers are 
cranky two ways, and the farmworkers in their last-leg vans are half asleep. 
Ninety-nine is the deadliest highway in America. Deadly in the rush of harvest, 
deadly in the quiet of fog, deadly in 

[ceph-users] Re: Unsubscribe

2019-09-17 Thread Wesley Peng




on 2019/9/17 20:34, Rimma Iontel wrote:

To unsubscribe send an email to ceph-users-le...@ceph.io


As the signature in sent mail shows, you would send a message to 
ceph-users-le...@ceph.io for quitting.


regards.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


Use Array Type On Avro Schema

2019-09-17 Thread Wesley C. Dias de Oliveira
Hello, community.

I'm trying to convert a JSON to an Avro using the following Avro schema:

{
  "name": "team",
  "type": "record",
  "namespace": "datarocks",
  "fields": [
{
  "name": "department_slug",
  "type": "string"
},
{
  "name": "slug",
  "type": "string"
},
{
  "name": "name",
  "type": "string"
},
{
  "name": "team_id",
  "type": "int"
},
{
  "name": "roles",
  "type": {
"name": "roles",
"type": "record",
"fields": [
  {
"name": "manager",
"type": {
  "type": "array"
}
  },
  {
"name": "supervisor",
"type": {
  "type": "array"
}
  },
  {
"name": "revenue_manager",
"type": {
  "type": "array"
}
  },
  {
"name": "analyst",
"type": {
  "type": "array"
}
  }
]
  }
},
{
  "name": "related_teams",
  "type": {
"type": "array"
  }
},
{
  "name": "properties",
  "type": {
"type": "array"
  }
}
  ]
}

Here's the JSON I use to parse:
{
  "department_slug" : "org-dev",
  "slug" : "content_team",
  "name" : "Content Team",
  "team_id" : 1,
  "roles" : {
"manager" : [ ],
"supervisor" : [ ],
"revenue_manager" : [ ],
"analyst" : [ ]
  },
  "related_teams" : [ ],
  "properties" : [ ]
}

Nifi version: 1.9.2

The processor seems to not recognize the array type on the Avro schema.

Does someone have an idea?

Thanks for your help.
-- 
Grato,
Wesley C. Dias de Oliveira.

Linux User nº 576838.


json_data_to_parse.json
Description: application/json


avro_schema.json
Description: application/json


[OT] why ATT.net still host its email on Verizon Yahoo

2019-09-17 Thread Wesley Peng

Hello,

though this is a little OT, but I was curious since verizon has bought 
yahoo for long days, why ATT still host its customer email accounts on 
yahoo platform? we know ATT and verizon are commercial competitors.


Thanks for any comments.


Re: Split a stream into any number of streams

2019-09-16 Thread Wesley Peng

Hi

on 2019/9/17 10:28, 王佩 wrote:

*  //  How should I do it?*
splitStream.select("productID1").print();


If I understand for that correctly, you want somewhat the dynamic number 
of Sinks?


regards


Re: Split a stream into any number of streams

2019-09-16 Thread Wesley Peng




on 2019/9/17 9:55, 王佩 wrote:

I want to split a stream into any number of streams according to a field,
and then process the split stream one by one.


I think that should be easy done. refer to:
https://stackoverflow.com/questions/53588554/apache-flink-using-filter-or-split-to-split-a-stream

regards.


RE: What is the Difference Between quit() and exit() commands in Python?

2019-09-16 Thread wesley

  Hi

exit (http://docs.python.org/2/library/constants.html#exit"; rel="noreferrer) is 
an alias for quit (or vice-versa). They exist together simply to make Python more 
user-friendly.

please refer:  
https://stackoverflow.com/questions/19747371/python-exit-commands-why-so-many-and-when-should-each-be-used
 
(https://stackoverflow.com/questions/19747371/python-exit-commands-why-so-many-and-when-should-each-be-used)



-ursprüngliche Nachricht-
Von:  hongyi.z...@gmail.com (mailto:hongyi.z...@gmail.com)
Gesendet: 16.09.2019 14:35 Uhr
An:  python-list@python.org (mailto:python-list@python.org)
Betreff: What is the Difference Between quit() and exit() commands in Python?



What is the Difference Between quit() and exit() commands in Python?
--
 mail.python.org/mailman/listinfo/python-list 
(https://mail.python.org/mailman/listinfo/python-list"; target="_blank" 
rel="noopener)


-ursprüngliche Nachricht Ende-



--
https://mail.python.org/mailman/listinfo/python-list


Re: Refuse mail from hosts with closed port 25

2019-09-16 Thread Wesley Peng

Hi

on 2019/9/16 20:47, Paul van der Vlis wrote:

How can I refuse mail from hosts who don't have an open port 25?

What do you think from such a check?


You shouldn't.

Many email systems have delivery agent and MTA to be separated.
That's to say, they get incoming mails from MTA which has port 25 
opened, but deliver outgoing messages via another gateway who doesn't 
have port 25 enabled.


regards.


[ceph-users] Re: KRBD use Luminous upmap feature.Which version of the kernel should i ues?

2019-09-16 Thread Wesley Peng

Hi

on 2019/9/16 20:19, 潘东元 wrote:

my ceph cluster version is Luminous run the kernel version Linux 3.10


Please refer this page:
https://docs.ceph.com/docs/master/start/os-recommendations/

see [LUMINOUS] section.

regards.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


Re: Change status code for "Host not found"

2019-09-16 Thread Wesley Peng

Hi

on 2019/9/12 22:01, Helmut Schneider wrote:

relay=none, delay=0.09, delays=0.06/0.02/0.01/0, dsn=5.4.4,
status=bounced (Host or domain name not found. Name service error for
name=EXCHANGE01 type=: Host not found)


This is a network issue rather than postfix problem I may think.
You should fix up the network after VPN is down.

regards.


[ceph-users] Re: Activate Cache Tier on Running Pools

2019-09-16 Thread Wesley Peng

Hello

on 2019/9/16 17:36, Eikermann, Robert wrote:
Should it be possible to do that on a running pool? I tried to do so and 
immediately all VMs (Linux Ubuntu OS) running on Ceph disks got readonly 
filesystems. No errors were shown in ceph (but also no traffic arrived 
after enabling the cache tier). Removing the cache tier , rebooting the 
VMs and doing a filesystemcheck repaired everything.


After enable cache tier, did you test to reboot a VM to make it become 
effective?


regards.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[jira] [Comment Edited] (AIRFLOW-2843) ExternalTaskSensor: Add option to cease waiting immediately if the external DAG/task doesn't exist

2019-09-13 Thread Wesley (Jira)


[ 
https://issues.apache.org/jira/browse/AIRFLOW-2843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16929083#comment-16929083
 ] 

Wesley edited comment on AIRFLOW-2843 at 9/13/19 10:08 AM:
---

Using the operator stumbled upon the case where the `external_dag_id` and 
`external_task_id` exist but the DAG is disabled, so the ExternalTaskSensor 
task instance keep poking for a DagRun that does not exist.

Perhaps the `check_existence` should check DagRun instead? or the name should 
be more specific like `check_dag_existence`/ `check_task_existence`?

What you guys think about this use case?

 


was (Author: wesleybatista):
Using the operator stumbled upon the case where the `external_dag_id` and 
`external_task_id` exist but the DAG is disabled, so the ExternalTaskSensor 
task instance keep polling for a DagRun that does not exist.

Perhaps the `check_existence` should check DagRun instead? or the name should 
be more specific like `check_dag_existence`/ `check_task_existence`?

What you guys think about this use case?

 

> ExternalTaskSensor: Add option to cease waiting immediately if the external 
> DAG/task doesn't exist
> --
>
> Key: AIRFLOW-2843
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2843
> Project: Apache Airflow
>  Issue Type: Improvement
>  Components: operators
>Reporter: Xiaodong DENG
>Assignee: Xiaodong DENG
>Priority: Minor
> Fix For: 1.10.3
>
>
> h2. Background
> *ExternalTaskSensor* will keep waiting (given restrictions of retries, 
> poke_interval, etc), even if the external DAG/task specified doesn't exist at 
> all. In some cases, this waiting may still make sense as new DAG may backfill.
> But it may be good to provide an option to cease waiting immediately if the 
> external DAG/task specified doesn't exist.
> h2. Proposal
> Provide an argument "check_existence". Set to *True* to check if the external 
> DAG/task exists, and immediately cease waiting if the external DAG/task does 
> not exist.
> The default value is set to *False* (no check or ceasing will happen) so it 
> will not affect any existing DAGs or user expectation.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (AIRFLOW-2843) ExternalTaskSensor: Add option to cease waiting immediately if the external DAG/task doesn't exist

2019-09-13 Thread Wesley (Jira)


[ 
https://issues.apache.org/jira/browse/AIRFLOW-2843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16929083#comment-16929083
 ] 

Wesley commented on AIRFLOW-2843:
-

Using the operator stumbled upon the case where the `external_dag_id` and 
`external_task_id` exist but the DAG is disabled, so the ExternalTaskSensor 
task instance keep polling for a DagRun that does not exist.

Perhaps the `check_existence` should check DagRun instead? or the name should 
be more specific like `check_dag_existence`/ `check_task_existence`?

What you guys think about this use case?

 

> ExternalTaskSensor: Add option to cease waiting immediately if the external 
> DAG/task doesn't exist
> --
>
> Key: AIRFLOW-2843
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2843
> Project: Apache Airflow
>  Issue Type: Improvement
>  Components: operators
>Reporter: Xiaodong DENG
>Assignee: Xiaodong DENG
>Priority: Minor
> Fix For: 1.10.3
>
>
> h2. Background
> *ExternalTaskSensor* will keep waiting (given restrictions of retries, 
> poke_interval, etc), even if the external DAG/task specified doesn't exist at 
> all. In some cases, this waiting may still make sense as new DAG may backfill.
> But it may be good to provide an option to cease waiting immediately if the 
> external DAG/task specified doesn't exist.
> h2. Proposal
> Provide an argument "check_existence". Set to *True* to check if the external 
> DAG/task exists, and immediately cease waiting if the external DAG/task does 
> not exist.
> The default value is set to *False* (no check or ceasing will happen) so it 
> will not affect any existing DAGs or user expectation.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


Re: [ANNOUNCE] Zili Chen becomes a Flink committer

2019-09-11 Thread Wesley Peng

Hi

on 2019/9/11 17:22, Till Rohrmann wrote:
I'm very happy to announce that Zili Chen (some of you might also know 
him as Tison Kun) accepted the offer of the Flink PMC to become a 
committer of the Flink project.


Congratulations Zili Chen.

regards.


Re: [DISCUSS] Drop older versions of Kafka Connectors (0.9, 0.10) for Flink 1.10

2019-09-11 Thread Wesley Peng




on 2019/9/11 16:17, Stephan Ewen wrote:

We still maintain connectors for Kafka 0.8 and 0.9 in Flink.
I would suggest to drop those with Flink 1.10 and start supporting only 
Kafka 0.10 onwards.


Are there any concerns about this, or still a significant number of 
users of these versions?


But we still have a large scale of deployment kafka 0.9 in production. 
Do you mean the new coming flink won't support kafka 0.9?

Though I understand for it, but just sounds sorry. :)

regards.


[ceph-users] Re: unsubscribe

2019-09-11 Thread Wesley Peng

Hi

on 2019/9/11 15:14, Gökhan Kocak wrote:

___
ceph-users mailing list --ceph-users@ceph.io
To unsubscribe send an email toceph-users-le...@ceph.io


The signature of message you just sent has the info to leave out.

regards.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: 2 OpenStack environment, 1 Ceph cluster

2019-09-10 Thread Wesley Peng



on 2019/9/10 17:14, vladimir franciz blando wrote:
I have 2 OpenStack environment that I want to integrate to an existing 
ceph cluster.  I know technically it can be done but has anyone tried this?




Sure you can. Ceph could be deployed as separate storage service, 
openstack is just its customer. You can have one customer, but also can 
have multi-customers for Ceph service.


regards.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


Re: Flink大state读取磁盘,磁盘IO打满,任务相互影响的问题探讨

2019-09-09 Thread Wesley Peng




on 2019/9/10 13:47, 蒋涛涛 wrote:

尝试手段:

1. 手动迁移IO比较高的任务到其他机器,但是yarn任务提交比较随机,只能偶尔为之

2. 目前没有SSD,只能用普通STATA盘,目前加了两块盘提示磁盘IO能力,但是单盘对单任务的磁盘IO瓶颈还在

还有哪些策略可以解决或者缓解么?


It seems the tricks to improve RocksDB's throughput might be helpfu.

With writes and reads accessing mostly the recent data, our goal is to 
let them stay in memory as much as possible without using up all the 
memory on the server. The following parameters are worth tuning:


Block cache size: When uncompressed blocks are read from SSTables, they 
are cached in memory. The amount of data that can be stored before 
eviction policies apply is determined by the block cache size. The 
bigger the better.


Write buffer size: How big can Memtable get before it is frozen. 
Generally, the bigger the better. The tradeoff is that big write buffer 
takes more memory and longer to flush to disk and to recover.


Write buffer number: How many Memtables to keep before flushing to 
SSTable. Generally, the bigger the better. Similarly, the tradeoff is 
that too many write buffers take up more memory and longer to flush to disk.


Minimum write buffers to merge: If most recently written keys are 
frequently changed, it is better to only flush the latest version to 
SSTable. This parameter controls how many Memtables it will try to merge 
before flushing to SSTable. It should be less than the write buffer 
number. A suggested value is 2. If the number is too big, it takes 
longer to merge buffers and there is less chance of duplicate keys in 
that many buffers.


The list above is far from being exhaustive, but tuning them correctly 
can have a big impact on performance. Please refer to RocksDB’s Tuning 
Guide for more details on these parameters. Figuring out the optimal 
combination of values for all of them is an art in itself.


please ref: https://klaviyo.tech/flinkperf-c7bd28acc67

regards.


Re: symlink to "pack"

2019-09-09 Thread Wesley Peng

Hi

on 2019/9/10 3:18, John W. Krahn wrote:
The operating system is written in C.  The symlink(2) function is part 
of the operating system and is written in C.  Therefore, when perl calls 
symlink(2) it has to send a valid C type string.  Because your string 
starts with a NULL character it is a C string with zero characters.


Good answer John.
I have another question that, since perl is typeless language, how does 
perl know send the correct C type string to C's function?


thanks.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: [Hpr] Passing of 5150

2019-09-09 Thread Jannik Wesley Pruitt via Hpr
Ken very sad news he was very active and passionate in several media and open 
source communities he will be missed.

JWP 

Sent from my iPhone

> On 8. Sep 2019, at 23:45, Curtis Adkins  wrote:
> 
> 5150 will certainly be missed.  I never met him in real life but from
> talking to him on #oggcastplanet, he just seemed like a genuinely nice
> person.
> 
> C:\
> 
>> On 9/8/19 5:26 PM, honkey Magoo wrote:
>> So Fifty's frat brother Randy Hall had let me and the Linuxlugcast group on
>> MeWe know about his passing. He also joined us on the lugcast this past
>> Friday night. He said that he had been in contact with Fifty's cousins and
>> they were going to do a memorial service for him at the Larrison Mortuary
>> in Pratt . I don't have any more details than that. I have been waiting for
>> an obituary, but I haven't seen one yet.
>> 
>> On the next Linuxlugcast recording I would like to do a tribute to fifty.
>> If anyone wants to join, the Mumble server info is on
>> http://www.linuxlugcast.com/
>> If people can't join, but would like to have something read you can email
>> me at honkeymago...@gmail.com or if you want to contribute an audio file
>> you can email me and I'll get it added to the show. When it's done I'll
>> post it to both the Linuxlugcast, and to HPR.
>> 
>> On a more personal note, it wasn't until today that I realized that most of
>> my inbox was emails with FiftyOneFifty. Then I realized that I have been
>> doing the lugcast with him twice a month since February 2014.
>> 
>> I will miss him.
>> 
>> Honkeymagoo
>> 
>> 
>>> On Sun, Sep 8, 2019, 1:42 PM NYbill  wrote:
>>> 
>>> Whoa, sad news indeed. He's one o those guys I seem to recall was always
>>> around since I found this scene way back when. I'm shocked.
>>> 
>>> NYbill
>>> 
 On 9/8/19 6:42 AM, Ken Fallon wrote:
 Hi All,
 
 It is again my sad duty to inform you that another of our hosts and
 friends, 5150 AKA Donald Grier has passed away.
 
 - http://hackerpublicradio.org/correspondents.php?hostid=131
 - https://www.facebook.com/profile.php?id=14256928219
 - https://davsvo.com/2019/09/06/rest-in-peace-don/
 
 
 ___
 Hpr mailing list
 Hpr@hackerpublicradio.org
 http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org
 
>>> 
>>> 
>>> ___
>>> Hpr mailing list
>>> Hpr@hackerpublicradio.org
>>> http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org
>>> 
>> 
>>> On Sun, Sep 8, 2019, 1:42 PM NYbill  wrote:
>>> 
>>> Whoa, sad news indeed. He's one o those guys I seem to recall was always
>>> around since I found this scene way back when. I'm shocked.
>>> 
>>> NYbill
>>> 
 On 9/8/19 6:42 AM, Ken Fallon wrote:
 Hi All,
 
 It is again my sad duty to inform you that another of our hosts and
 friends, 5150 AKA Donald Grier has passed away.
 
 - http://hackerpublicradio.org/correspondents.php?hostid=131
 - https://www.facebook.com/profile.php?id=14256928219
 - https://davsvo.com/2019/09/06/rest-in-peace-don/
 
 
 ___
 Hpr mailing list
 Hpr@hackerpublicradio.org
 http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org
 
>>> 
>>> 
>>> ___
>>> Hpr mailing list
>>> Hpr@hackerpublicradio.org
>>> http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org
>>> 
>> 
>> 
>> ___
>> Hpr mailing list
>> Hpr@hackerpublicradio.org
>> http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org
>> 
> 
> ___
> Hpr mailing list
> Hpr@hackerpublicradio.org
> http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org

___
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org


Re: FLINK WEEKLY 2019/36

2019-09-08 Thread Wesley Peng




on 2019/9/9 11:23, Zili Chen wrote:

FLINK WEEKLY 2019/36

很高兴和大家分享上周 FLINK 社区的发展。在过去的一周里,更多 FLINK 1.10 的特性被提出和讨论,包括新的 FLIP,来自 Apache
Pulsar 社区的 Connector 贡献等等。专门讨论 FLINK 1.10 将要实现什么特性的议程也在进行。
用户问题


A nice work. thank you.

regards.


Re: [flink-1.9] how to read local json file through Flink SQL

2019-09-08 Thread Wesley Peng

On 2019/9/8 5:40 下午, Anyang Hu wrote:
In flink1.9, is there a way to read local json file in Flink SQL like 
the reading of csv file?


hi,

might this thread help you?
http://mail-archives.apache.org/mod_mbox/flink-dev/201604.mbox/%3cCAK+0a_o5=c1_p3sylrhtznqbhplexpb7jg_oq-sptre2neo...@mail.gmail.com%3e

regards.


[ceph-users] Re: using non client.admin user for ceph-iscsi gateways

2019-09-06 Thread Wesley Dillingham
Thanks for the info:
https://docs.ceph.com/docs/master/rbd/iscsi-target-cli/

Presented as a comment in the sample config file:

# Place a copy of the ceph cluster's admin keyring in the gateway's /etc/ceph
# drectory and reference the filename here
gateway_keyring = ceph.client.admin.keyring




From: Jason Dillaman 
Sent: Friday, September 6, 2019 12:37 PM
To: Wesley Dillingham 
Cc: ceph-users@ceph.io 
Subject: Re: [ceph-users] using non client.admin user for ceph-iscsi gateways

Notice: This email is from an external sender.



On Fri, Sep 6, 2019 at 12:00 PM Wesley Dillingham
 wrote:
>
> the iscsi-gateway.cfg seemingly allows for an alternative cephx user other 
> than client.admin to be used, however the comments in the documentations says 
> specifically to use client.admin.

Hmm, can you point out where this is in the docs? Originally,
tcmu-runner didn't support the ability to change the user id, but that
has been available for about a year now [1].

> Other than having the cfg file point to the appropriate key/user with 
> "gateway_keyring" and giving that client read caps on the mons and full 
> access to the pool configured to be used for iscsi are any other particular 
> steps / settings / actions needed?

Just use "profile rbd" for your caps to keep it simple.

> It seems prudent to not use client.admin but I don't want to have unstable 
> behavior or untested setup.
>
> Thanks.
>
> Respectfully,
>
> Wes Dillingham
> wdilling...@godaddy.com
> Site Reliability Engineer IV - Platform Storage / Ceph
>
> ___
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io

[1] 
https://github.com/open-iscsi/tcmu-runner/commit/c85ccdcfb7f4b17926eda1df89e592f5fd9ac5d4

--
Jason
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] using non client.admin user for ceph-iscsi gateways

2019-09-06 Thread Wesley Dillingham
the iscsi-gateway.cfg seemingly allows for an alternative cephx user other than 
client.admin to be used, however the comments in the documentations says 
specifically to use client.admin.

Other than having the cfg file point to the appropriate key/user with 
"gateway_keyring" and giving that client read caps on the mons and full access 
to the pool configured to be used for iscsi are any other particular steps / 
settings / actions needed?

It seems prudent to not use client.admin but I don't want to have unstable 
behavior or untested setup.

Thanks.

Respectfully,

Wes Dillingham
wdilling...@godaddy.com
Site Reliability Engineer IV - Platform Storage / Ceph

___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


Re: [ANNOUNCE] Kostas Kloudas joins the Flink PMC

2019-09-06 Thread Wesley Peng

On 2019/9/6 8:55 下午, Fabian Hueske wrote:

I'm very happy to announce that Kostas Kloudas is joining the Flink PMC.
Kostas is contributing to Flink for many years and puts lots of effort 
in helping our users and growing the Flink community.


Please join me in congratulating Kostas!


congratulation Kostas!

regards.


Re: 希望获得一份编译后的1.6版本以上flink源码

2019-09-06 Thread Wesley Peng

Helo

guaishushu1...@163.com wrote:

因windows系统搭载虚拟机环境,总是不能成功编译flink源码,所以希望能得到一份编译后的1.6版本以上的flink源码


there is docker image for flink 1.9. since you are using a virtual 
machine, then docker might be used.


regards


issues with MTA's timestamp

2019-09-06 Thread Wesley Peng

Hello,

I found if peer MTA's timestamp is too much different from my end, the 
messages may not be displayed.


for example, when you try to sign up to apache projects' mailing list, 
like one of this page:


https://flink.apache.org/community.html

The response message's (for user to confirm) timestamp is 12 hours ahead 
of me.


Thus some email servers won't display the response messages correctly 
(even no response messages appear in the inbox).


At least GMX's mail servers have this issue, as well as web.de. anyone 
can test for it.


Can you give some suggestion?

Thanks.:)


Re: Flink Savepoint 超时

2019-09-06 Thread Wesley Peng




SJMSTER wrote:

Checkpoints一直都是成功的。
今天重新尝试了一下cancle job with savepoint又成功了..
不知道之前为什么试了几次都是超时的..


are there any log items for diagnosis?

regards.


[UPDATE] crystal-0.30.1

2019-09-05 Thread Wesley Moxam
Bumps the version of the crystal compiler to 0.30.1


crystal-0.30.1.diff
Description: Binary data


username specification for email system

2019-09-05 Thread Wesley Peng

Hello,

Is there the username specification for email system?
It seems most special characters like ".", "-", "+", "_", "#", "$" are
permitted in the username part.
And even ___username...@domain.com is right (like my sender account).
So I was confused.

Thanks.


Re: flink1.9.0对DDL的支持

2019-09-04 Thread Wesley Peng

Hi

on 2019/9/5 11:23, pengcheng...@bonc.com.cn wrote:

请教一下, 1.flink1.9.0的table API/sql是不是还没有支持Create view?


from the official documentation of flink 1.9:

Views can also be created within a CLI session using the CREATE VIEW 
statement:


CREATE VIEW MyNewView AS SELECT MyField2 FROM MyTableSource;

Views created within a CLI session can also be removed again using the 
DROP VIEW statement:


DROP VIEW MyNewView;

Attention The definition of views in the CLI is limited to the mentioned 
syntax above. Defining a schema for views or escaping whitespaces in 
table names will be supported in future versions.


So create view is supported but has the limits.

regards.


Re: FLink WEB 怎么加登录验证?

2019-09-04 Thread Wesley Peng

Hi

on 2019/9/5 10:46, wanghongquan.sh wrote:

FLink WEB 控制台中,没有找到登录验证的配置,请问这个WEB怎么加登录验证?


Flink does not directly support authenticating access to the web UI, but 
you can always put something like Apache's basic_auth in front of it.




[ceph-users] Re: v14.2.3 Nautilus released

2019-09-04 Thread Wesley Peng
Thanks for your work. We are using Ceph happily.

Abhishek Lekshmanan 于2019年9月4日 周三下午9:48写道:

>
> This is the third bug fix release of Ceph Nautilus release series. This
> release fixes a security issue. We recommend all Nautilus users upgrade
> to this release. For upgrading from older releases of ceph, general
> guidelines for upgrade to nautilus must be followed
>
> Notable Changes
> ---
> * CVE-2019-10222 - Fixed a denial of service vulnerability where an
>   unauthenticated client of Ceph Object Gateway could trigger a crash from
> an
>   uncaught exception
> * Nautilus-based librbd clients can now open images on Jewel clusters.
> * The RGW `num_rados_handles` has been removed. If you were using a value
> of
>   `num_rados_handles` greater than 1, multiply your current
>   `objecter_inflight_ops` and `objecter_inflight_op_bytes` parameters by
> the
>   old `num_rados_handles` to get the same throttle behavior.
> * The secure mode of Messenger v2 protocol is no longer experimental with
> this
>   release. This mode is now the preferred mode of connection for monitors.
> * "osd_deep_scrub_large_omap_object_key_threshold" has been lowered to
> detect an
>   object with large number of omap keys more easily.
>
> For a detailed changelog please refer to the official release notes
> entry at the ceph blog:
> https://ceph.io/releases/v14-2-3-nautilus-released/
>
> Getting Ceph
> 
>
> * Git at git://github.com/ceph/ceph.git
> * Tarball at http://download.ceph.com/tarballs/ceph-14.2.3.tar.gz
> * For packages, see http://docs.ceph.com/docs/master/install/get-packages/
> * Release git sha1: 0f776cf838a1ae3130b2b73dc26be9c95c6ccc39
>
> --
> Abhishek Lekshmanan
> SUSE Software Solutions Germany GmbH
> ___
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


Re: deal with google mailboxes

2019-09-04 Thread Wesley Peng

viktor,

on 2019/9/4 20:09, Viktor Dukhovni wrote:

Perhaps, but Postfix is not a list manager.   Postfix
just delivers email to the addresses in the message
envelope.  If some list servers restrict posts to
subscribers, any logic to treat addresses as equivalent
would be in the list server, not Postfix, which just
delivers the message to the list server.


That's easy to understand. thank you.


Re: flink sql row_number() over () OOM

2019-09-04 Thread Wesley Peng

Hi

on 2019/9/4 19:30, liu ze wrote:
I use the row_number() over() function to do topN, the total amount of 
data is 60,000, and the state is 12G .

Finally, oom, is there any way to optimize it?


ref: 
https://stackoverflow.com/questions/50812837/flink-taskmanager-out-of-memory-and-memory-configuration


The total amount of required physical and heap memory is quite difficult 
to compute since it strongly depends on your user code, your job's 
topology and which state backend you use.


As a rule of thumb, if you experience OOM and are still using the 
FileSystemStateBackend or the MemoryStateBackend, then you should switch 
to RocksDBStateBackend, because it can gracefully spill to disk if the 
state grows too big.


If you are still experiencing OOM exceptions as you have described, then 
you should check your user code whether it keeps references to state 
objects or generates in some other way large objects which cannot be 
garbage collected. If this is the case, then you should try to refactor 
your code to rely on Flink's state abstraction, because with RocksDB it 
can go out of core.


RocksDB itself needs native memory which adds to Flink's memory 
footprint. This depends on the block cache size, indexes, bloom filters 
and memtables. You can find out more about these things and how to 
configure them here.


Last but not least, you should not activate 
taskmanager.memory.preallocate when running streaming jobs, because 
streaming jobs currently don't use managed memory. Thus, by activating 
preallocation, you would allocate memory for Flink's managed memory 
which is reduces the available heap space.


Re: deal with google mailboxes

2019-09-04 Thread Wesley Peng

Hello

on 2019/9/4 19:08, Wietse Venema wrote:

To signal domain equivalence, the receiver should use CNAME records
or some other explicit mechanism.


from what I know, MX host should not be CNAME records in DNS zone.

regards.


[ceph-users] Re: CEPH 14.2.3

2019-09-04 Thread Wesley Peng




on 2019/9/4 18:18, Fyodor Ustinov wrote:

Please, make an announcement about the new version and prepare the 
documentation before posting the new version to the repository.

It is very, very, very necessary.


me +1

regards.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


deal with google mailboxes

2019-09-04 Thread Wesley Peng

Hello,

As a mailing list server, how does postfix deal with google's mailbox 
formats?


for exmaple, all mailboxes below are indeed the same one:

usern...@gmail.com
user.n...@gmail.com
usernam...@gmail.com
usern...@googlemail.com

Can list server know them and treat them as just one?

Thanks.


Re: [squid-users] HEAD requests: pass through?

2019-09-04 Thread Wesley Peng



on 2019/9/4 17:54, fansari wrote:

Is it possible to configure the squid in a way that such requests are not
answered by the squid itself but passed through to the internet? Because it
may happen that the content on the internet has changed - in this case the
client would compare against the older content from the suqid cache (this
should be avoided).


Can you setup squid to no-cache such HEAD requests?

regards.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[ceph-users] Re: slow requests with the ceph osd dead lock?

2019-09-04 Thread Wesley Peng

Hi

on 2019/9/4 15:00, linghucongsong wrote:

     {
     "time": "2019-09-04 13:38:54.343921",
     "event": "reached_pg"
     },
     {
     "time": "2019-09-04 13:38:54.343938",
     "event": "waiting for rw locks"
     }


There are too many logs for "waiting for rw locks" that indicates the 
system is busy. Maybe you want to scaling more OSDs to improve the 
performance.


regards.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


function alias

2019-09-03 Thread Wesley Peng via beginners

Hello,

How to make a function alias in perl? for example, says() is alias to 
print().


thanks.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




[ceph-users] Re: rgw auth error with self region name

2019-09-03 Thread Wesley Peng

Hi

on 2019/9/4 11:40, 黄明友 wrote:
             I use the aws s3 java sdk , when make a new bucket , with 
the hostname " s3.my-self.mydomain.com" ; will get a auth error.
but , when I use the hostname " s3.us-east-1.mydomian.com" ,will be ok, 
why ?


Both the domains can be resolved by DNS?

regards.
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


Re: flink集群模式下如何动态添加taskmanager

2019-09-03 Thread Wesley Peng

Hi

on 2019/9/4 10:27, 如影随形 wrote:

  在flink集群部署时,有1个jobmanager,有2个taskmanager(slave1,slave2),
现在想添加slave3作为 taskmnanager。如何在不停止集群的情况下,可以像spark一样动态添加吗?


AFAIK the answer is NO for now. However, community tells that this has 
been under consideration from the FLIP-6 Flink Development and Process 
Model.


https://docs.google.com/document/d/1zwBP3LKnJ0LI1R4-9hLXBVjOXAkQS5jKrGYYoPz-xRk/edit#


<    8   9   10   11   12   13   14   15   16   17   >