ethertype

................

<EMAIL_ADDRESS>

-.........."...@

.;..`....d......

................

<EMAIL_ADDRESS>

................

................

................

................

................

................

................

................

................

................

................

Ohhh ... my mistake
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Libre
de virus. www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 8, 2019 at 3:46 PM emard<EMAIL_ADDRESS>wrote:

I forced the correct mac using nping (the exact parameters are in some
of above messages)
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

ethdmac_vld with each ping jumps to '1' and stays 1 during cca 1us

How do you get ethdmac_vld =1 if the PC doen't know the FPGA mac ?
Have you fill PC arp table manually ?

ethdbcst_vld with each arp packet jumps to '1' and stays 1 durring cca
1us
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI if I ping it continuously, it doesn't answer arp.
I filtered capturing to only arp packets,
I see arp broadcasts from PC and they are not replied back to PC
and also doesn't appear at arp table.
by monitoring ethdmac_vld I see that something is
received because it becomes '1' during cca 1us every time
ping packet arrives
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

mii_ipcg is as minimal as it was possible. It only answers ARP
request.
<

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

Libre
de virus. www.avast.com
<

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 8, 2019 at 11:48 AM emard<EMAIL_ADDRESS>wrote:

I stareted monitoring "ethdbcst_vld"
it's behavior is erratic.
Sometimes it becomes '1' when I ping
and sometimes
but sometimes, I can send many pings continuousy
but "ethdbcst_vld" is constatly '0'
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I've set signals for scoping ethdbcst_vld and now
diamond crashes grrrrr
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I will scope the ethdbcst_vld signal
there should be something if RX is working
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I tried before to not reverse but that time
I havent tried raw nping
I can try again to not reverse rx side and nping it
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

no arp answer on wireshark ?. might be rx haven't reversed ?

On Thu, Aug 8, 2019, 09:50 emard<EMAIL_ADDRESS>wrote:

Aha, it's not supposed answer to DHCP server but

quietly accept IP addres. I tried normal linux ping,

of course but it doesn't work, becuase for that it

first wants ARP to be answered and got no answer:

14:38:07.878871 00:aa:bb:cc:dd:ee > ff:ff:ff:ff:ff:ff,
ethertype
ARP

(0x0806), length 42: Request who-has <IP_ADDRESS> tell

<IP_ADDRESS>, length 28

0x0000: ffff ffff ffff 00aa bbcc ddee 0806 0001
................

0x0010: 0800 0604 0001 00aa bbcc ddee c0a8 12fe
................

0x0020: 0000 0000 0000 c0a8 12ba ..........

I then tried this raw nping (with parameters that skip ARP)

nping -c 10 --privileged -delay 100ms -q1 --send-eth -e

enx00aabbccddee --dest-mac 00:40:00:01:02:03 --data
0011223344556677

<IP_ADDRESS>

14:41:20.276468 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 50: <IP_ADDRESS> > <IP_ADDRESS>: ICMP
echo

request, id 5901, seq 5251, length 16

0x0000: 0040 0001 0203 00aa bbcc ddee 0800 4500
<EMAIL_ADDRESS>

0x0010: 0024 16e9 0000 4001 bce7 c0a8 12fe c0a8
<EMAIL_ADDRESS>

0x0020: 12ba 0800 ff5e 170d 1483 0011 2233 4455
.....^......"3DU

0x0030: 6677 fw

On OLED display I see the bytes coming so at least I'm shure
that
usb_mii

RX

section is delivering proper data to scopeio ip modules.

Those bytes shown on tcpdump are exactly delivered to OLED,

(no wired eth preamble). I just reversed bits.

On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

it only sends dhcprequest. Once it receives the ip, its
ready
wont
answer

back.

Have you pinged to the IP address ? . It uses a special ARP
packet
called

ARP broadcast.

the very first moment you send a packet to the ip it will
answer
the
arp

On Thu, Aug 8, 2019, 06:47 emard<EMAIL_ADDRESS>wrote:

HI

I cherrypicked your latest commit for preamble_disable

but RX side seems still as if it is not working properly

dnsmasq recognizes btn1 press as ipcfg request

11:38:09.748509 00:40:00:01:02:03 > ff:ff:ff:ff:ff:ff,
ethertype
IPv4

(0x0800), length 296: <IP_ADDRESS>.68 > <IP_ADDRESS>.67:
BOOTP/DHCP,

Request from 00:40:00:01:02:03, length 250

11:38:09.748831 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 349: <IP_ADDRESS>.67 >
<IP_ADDRESS>.68:

BOOTP/DHCP, Reply, length 307

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPDISCOVER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPOFFER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

but it doesn't hear any response (no response packet seen
on
wireshark)

and it didn't answer any ARP requests so arp table for this
device
is

empty

? (<IP_ADDRESS>) at  on enx00aabbccddee

On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI

I will test the "work" branch today, you did the
important

part of making preamble generation optional at your core

TX and RX side

My description of usb_mii was unclear I wanted to say -

when usb_mii_txdata(7 downto 0) <= x"12", then 0x12 is

captured with wireshark. scopeio core output is
compatible
with

wired_mii_txdata(0 to 7) so for usb_mii, reverse() is
required.

I like to hack this USB-CDC-Ethernet "phy" to get it
working

that's not a real phy, but a kind of packet encapsulation

framework.

On 8/7/19, Miguel Angel<EMAIL_ADDRESS>wrote:

I've added a preamble_disable parameter. I've commited
on
branch

work,

directory library/mii.

I DIDN'T TRY IT or TEST IT. I haven't merged it yet on
master
as
I'm

still

in hospital and I commited a modification of scopeio on
branch
work

that

i haven't tried it yet

On Wed, Aug 7, 2019 at 12:06 PM emard <
<EMAIL_ADDRESS>

wrote:

HI

summary on usb_mii: bits have to be reversed.

All phys work bit 0 at the left.

What is sent as mii_txdata = x"12" this appears on
wireshark
as

0x12 in the packet. scopeio mii reverses bits for needs
of
the

actual

mii

and for usb it needs to be reversed again.

I don't understand this.

usb_mii should work without preamble. I made a ping
echo
reply
core

and it works without preamble on TX and without on RX
side.

standard phys required a preamble ... but if it works
that
is
only

thing

that matters :)))))

I managed to remove preamble at TX side of scopeio,
then
wireshark

recognized it as dhcp and also dnsmasq server

offered the lease. I didn't understand the code fully
to
remove

preamble expectation from RX side to test it fully...

On 8/7/19, D EMARD<EMAIL_ADDRESS>wrote:

preamble is obviously just for real ethernet wire,

usb cdc "ethernet" makes valid packet without
preamble

yes a generic option would be nice, also on rx side

if there's preamble also expected

On 8/7/19, Miguel Angel<EMAIL_ADDRESS>wrote:

Great ... phy mii always need the preamble ...
strange

On Wed, Aug 7, 2019, 09:53 emard
<EMAIL_ADDRESS>

wrote:

here is log from successful request, only the offer
hasn't
been

recognized

probably preamble on rx side too

Aug 7 14:51:42 ssd dnsmasq-dhcp[17101]:

DHCPDISCOVER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

Aug 7 14:51:42 ssd dnsmasq-dhcp[17101]:

DHCPOFFER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

Aug 7 14:51:43 ssd kernel: [458583.952679] device

enx00aabbccddee

entered promiscuous mode

Aug 7 14:51:45 ssd dnsmasq-dhcp[17101]:

DHCPDISCOVER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

Aug 7 14:51:45 ssd dnsmasq-dhcp[17101]:

DHCPOFFER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

On 8/7/19, D EMARD<EMAIL_ADDRESS>wrote:

miirx_pre

ethertype

................

<EMAIL_ADDRESS>

-.........."...@

.;..`....d......

................

<EMAIL_ADDRESS>

................

................

................

................

................

................

................

................

Can you check this myipcfg_vld ?. it tells if FPGA dchp decodes the dhcp
reply from the server.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Libre
de virus. www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 8, 2019 at 3:47 PM emard<EMAIL_ADDRESS>wrote:

also I have arpproto_vld jump to 1; i will test
further other similar signals if I can locate the
one which no longer jumps to 1
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I forced the correct mac using nping (the exact parameters are in some
of above messages)
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

ethdmac_vld with each ping jumps to '1' and stays 1 during cca 1us

How do you get ethdmac_vld =1 if the PC doen't know the FPGA mac ?
Have you fill PC arp table manually ?

ethdbcst_vld with each arp packet jumps to '1' and stays 1 durring cca
1us
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI if I ping it continuously, it doesn't answer arp.
I filtered capturing to only arp packets,
I see arp broadcasts from PC and they are not replied back to PC
and also doesn't appear at arp table.
by monitoring ethdmac_vld I see that something is
received because it becomes '1' during cca 1us every time
ping packet arrives
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

mii_ipcg is as minimal as it was possible. It only answers ARP
request.
<

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

Libre
de virus. www.avast.com
<

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 8, 2019 at 11:48 AM emard<EMAIL_ADDRESS>wrote:

I stareted monitoring "ethdbcst_vld"
it's behavior is erratic.
Sometimes it becomes '1' when I ping
and sometimes
but sometimes, I can send many pings continuousy
but "ethdbcst_vld" is constatly '0'
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I've set signals for scoping ethdbcst_vld and now
diamond crashes grrrrr
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I will scope the ethdbcst_vld signal
there should be something if RX is working
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I tried before to not reverse but that time
I havent tried raw nping
I can try again to not reverse rx side and nping it
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

no arp answer on wireshark ?. might be rx haven't reversed ?

On Thu, Aug 8, 2019, 09:50 emard<EMAIL_ADDRESS>wrote:

Aha, it's not supposed answer to DHCP server but

quietly accept IP addres. I tried normal linux ping,

of course but it doesn't work, becuase for that it

first wants ARP to be answered and got no answer:

14:38:07.878871 00:aa:bb:cc:dd:ee > ff:ff:ff:ff:ff:ff,
ethertype
ARP

(0x0806), length 42: Request who-has <IP_ADDRESS> tell

<IP_ADDRESS>, length 28

0x0000: ffff ffff ffff 00aa bbcc ddee 0806 0001
................

0x0010: 0800 0604 0001 00aa bbcc ddee c0a8 12fe
................

0x0020: 0000 0000 0000 c0a8 12ba ..........

I then tried this raw nping (with parameters that skip ARP)

nping -c 10 --privileged -delay 100ms -q1 --send-eth -e

enx00aabbccddee --dest-mac 00:40:00:01:02:03 --data
0011223344556677

<IP_ADDRESS>

14:41:20.276468 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 50: <IP_ADDRESS> > <IP_ADDRESS>: ICMP
echo

request, id 5901, seq 5251, length 16

0x0000: 0040 0001 0203 00aa bbcc ddee 0800 4500
<EMAIL_ADDRESS>

0x0010: 0024 16e9 0000 4001 bce7 c0a8 12fe c0a8
<EMAIL_ADDRESS>

0x0020: 12ba 0800 ff5e 170d 1483 0011 2233 4455
.....^......"3DU

0x0030: 6677 fw

On OLED display I see the bytes coming so at least I'm shure
that
usb_mii

RX

section is delivering proper data to scopeio ip modules.

Those bytes shown on tcpdump are exactly delivered to OLED,

(no wired eth preamble). I just reversed bits.

On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

it only sends dhcprequest. Once it receives the ip, its
ready
wont
answer

back.

Have you pinged to the IP address ? . It uses a special ARP
packet
called

ARP broadcast.

the very first moment you send a packet to the ip it will
answer
the
arp

On Thu, Aug 8, 2019, 06:47 emard<EMAIL_ADDRESS>

wrote:

HI

I cherrypicked your latest commit for preamble_disable

but RX side seems still as if it is not working properly

dnsmasq recognizes btn1 press as ipcfg request

11:38:09.748509 00:40:00:01:02:03 > ff:ff:ff:ff:ff:ff,
ethertype
IPv4

(0x0800), length 296: <IP_ADDRESS>.68 > <IP_ADDRESS>.67:
BOOTP/DHCP,

Request from 00:40:00:01:02:03, length 250

11:38:09.748831 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 349: <IP_ADDRESS>.67 >
<IP_ADDRESS>.68:

BOOTP/DHCP, Reply, length 307

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPDISCOVER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPOFFER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

but it doesn't hear any response (no response packet seen
on
wireshark)

and it didn't answer any ARP requests so arp table for
this
device
is

empty

? (<IP_ADDRESS>) at  on enx00aabbccddee

On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI

I will test the "work" branch today, you did the
important

part of making preamble generation optional at your core

TX and RX side

My description of usb_mii was unclear I wanted to say -

when usb_mii_txdata(7 downto 0) <= x"12", then 0x12 is

captured with wireshark. scopeio core output is
compatible
with

wired_mii_txdata(0 to 7) so for usb_mii, reverse() is
required.

I like to hack this USB-CDC-Ethernet "phy" to get it
working

that's not a real phy, but a kind of packet
encapsulation

framework.

On 8/7/19, Miguel Angel<EMAIL_ADDRESS>wrote:

I've added a preamble_disable parameter. I've
commited
on
branch

work,

directory library/mii.

I DIDN'T TRY IT or TEST IT. I haven't merged it yet on
master
as
I'm

still

in hospital and I commited a modification of scopeio on
branch
work

that

i haven't tried it yet

On Wed, Aug 7, 2019 at 12:06 PM emard <
<EMAIL_ADDRESS>

wrote:

HI

summary on usb_mii: bits have to be reversed.

All phys work bit 0 at the left.

What is sent as mii_txdata = x"12" this appears on
wireshark
as

0x12 in the packet. scopeio mii reverses bits for
needs
of
the

actual

mii

and for usb it needs to be reversed again.

I don't understand this.

usb_mii should work without preamble. I made a ping
echo
reply
core

and it works without preamble on TX and without on RX
side.

standard phys required a preamble ... but if it works
that
is
only

thing

that matters :)))))

I managed to remove preamble at TX side of scopeio,
then
wireshark

recognized it as dhcp and also dnsmasq server

offered the lease. I didn't understand the code fully
to
remove

preamble expectation from RX side to test it fully...

On 8/7/19, D EMARD<EMAIL_ADDRESS>wrote:

preamble is obviously just for real ethernet wire,

usb cdc "ethernet" makes valid packet without
preamble

yes a generic option would be nice, also on rx side

if there's preamble also expected

On 8/7/19, Miguel Angel<EMAIL_ADDRESS>wrote:

Great ... phy mii always need the preamble ...
strange

On Wed, Aug 7, 2019, 09:53 emard
<EMAIL_ADDRESS>

wrote:

miirx_pre

ethertype

................

<EMAIL_ADDRESS>

-.........."...@

.;..`....d......

................

<EMAIL_ADDRESS>

................

................

................

................

................

And ipproto_vld jumps to 1
Then I experimented with different MAC supplied as nping parameter:
correct MAC 00:40:00:01:02:03 ipproto_vld = 1 at nping
wrong MAC 00:40:00:01:02:04 ipproto_vld = 0 at nping constantly
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

also I have arpproto_vld jump to 1; i will test
further other similar signals if I can locate the
one which no longer jumps to 1
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I forced the correct mac using nping (the exact parameters are in some
of above messages)
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

ethdmac_vld with each ping jumps to '1' and stays 1 during cca 1us

How do you get ethdmac_vld =1 if the PC doen't know the FPGA mac ?
Have you fill PC arp table manually ?

ethdbcst_vld with each arp packet jumps to '1' and stays 1 durring cca
1us
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI if I ping it continuously, it doesn't answer arp.
I filtered capturing to only arp packets,
I see arp broadcasts from PC and they are not replied back to PC
and also doesn't appear at arp table.
by monitoring ethdmac_vld I see that something is
received because it becomes '1' during cca 1us every time
ping packet arrives
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

mii_ipcg is as minimal as it was possible. It only answers ARP
request.
<
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

Libre
de virus. www.avast.com
<
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 8, 2019 at 11:48 AM emard<EMAIL_ADDRESS>wrote:

I stareted monitoring "ethdbcst_vld"
it's behavior is erratic.
Sometimes it becomes '1' when I ping
and sometimes
but sometimes, I can send many pings continuousy
but "ethdbcst_vld" is constatly '0'
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I've set signals for scoping ethdbcst_vld and now
diamond crashes grrrrr
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I will scope the ethdbcst_vld signal
there should be something if RX is working
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I tried before to not reverse but that time
I havent tried raw nping
I can try again to not reverse rx side and nping it
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

no arp answer on wireshark ?. might be rx haven't reversed ?

On Thu, Aug 8, 2019, 09:50 emard<EMAIL_ADDRESS>wrote:

Aha, it's not supposed answer to DHCP server but

quietly accept IP addres. I tried normal linux ping,

of course but it doesn't work, becuase for that it

first wants ARP to be answered and got no answer:

14:38:07.878871 00:aa:bb:cc:dd:ee > ff:ff:ff:ff:ff:ff,
ethertype
ARP

(0x0806), length 42: Request who-has <IP_ADDRESS> tell

<IP_ADDRESS>, length 28

0x0000: ffff ffff ffff 00aa bbcc ddee 0806 0001
................

0x0010: 0800 0604 0001 00aa bbcc ddee c0a8 12fe
................

0x0020: 0000 0000 0000 c0a8 12ba ..........

I then tried this raw nping (with parameters that skip ARP)

nping -c 10 --privileged -delay 100ms -q1 --send-eth -e

enx00aabbccddee --dest-mac 00:40:00:01:02:03 --data
0011223344556677

<IP_ADDRESS>

14:41:20.276468 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 50: <IP_ADDRESS> > <IP_ADDRESS>: ICMP
echo

request, id 5901, seq 5251, length 16

0x0000: 0040 0001 0203 00aa bbcc ddee 0800 4500
<EMAIL_ADDRESS>

0x0010: 0024 16e9 0000 4001 bce7 c0a8 12fe c0a8
<EMAIL_ADDRESS>

0x0020: 12ba 0800 ff5e 170d 1483 0011 2233 4455
.....^......"3DU

0x0030: 6677 fw

On OLED display I see the bytes coming so at least I'm shure
that
usb_mii

RX

section is delivering proper data to scopeio ip modules.

Those bytes shown on tcpdump are exactly delivered to OLED,

(no wired eth preamble). I just reversed bits.

On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

it only sends dhcprequest. Once it receives the ip, its
ready
wont
answer

back.

Have you pinged to the IP address ? . It uses a special ARP
packet
called

ARP broadcast.

the very first moment you send a packet to the ip it will
answer
the
arp

On Thu, Aug 8, 2019, 06:47 emard<EMAIL_ADDRESS>wrote:

HI

I cherrypicked your latest commit for preamble_disable

but RX side seems still as if it is not working properly

dnsmasq recognizes btn1 press as ipcfg request

11:38:09.748509 00:40:00:01:02:03 > ff:ff:ff:ff:ff:ff,
ethertype
IPv4

(0x0800), length 296: <IP_ADDRESS>.68 > <IP_ADDRESS>.67:
BOOTP/DHCP,

Request from 00:40:00:01:02:03, length 250

11:38:09.748831 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 349: <IP_ADDRESS>.67 >
<IP_ADDRESS>.68:

BOOTP/DHCP, Reply, length 307

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPDISCOVER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPOFFER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

but it doesn't hear any response (no response packet seen
on
wireshark)

and it didn't answer any ARP requests so arp table for
this
device
is

empty

? (<IP_ADDRESS>) at  on enx00aabbccddee

On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI

I will test the "work" branch today, you did the
important

part of making preamble generation optional at your core

TX and RX side

My description of usb_mii was unclear I wanted to say -

when usb_mii_txdata(7 downto 0) <= x"12", then 0x12 is

captured with wireshark. scopeio core output is
compatible
with

wired_mii_txdata(0 to 7) so for usb_mii, reverse() is
required.

I like to hack this USB-CDC-Ethernet "phy" to get it
working

that's not a real phy, but a kind of packet
encapsulation

framework.

On 8/7/19, Miguel Angel<EMAIL_ADDRESS>wrote:

I've added a preamble_disable parameter. I've
commited
on
branch

work,

directory library/mii.

I DIDN'T TRY IT or TEST IT. I haven't merged it yet on
master
as
I'm

still

in hospital and I commited a modification of scopeio on
branch
work

that

i haven't tried it yet

On Wed, Aug 7, 2019 at 12:06 PM emard <
<EMAIL_ADDRESS>

wrote:

HI

summary on usb_mii: bits have to be reversed.

All phys work bit 0 at the left.

What is sent as mii_txdata = x"12" this appears on
wireshark
as

0x12 in the packet. scopeio mii reverses bits for
needs
of
the

actual

mii

and for usb it needs to be reversed again.

I don't understand this.

usb_mii should work without preamble. I made a ping
echo
reply
core

and it works without preamble on TX and without on RX
side.

standard phys required a preamble ... but if it works
that
is
only

thing

that matters :)))))

I managed to remove preamble at TX side of scopeio,
then
wireshark

recognized it as dhcp and also dnsmasq server

offered the lease. I didn't understand the code fully
to
remove

preamble expectation from RX side to test it fully...

On 8/7/19, D EMARD<EMAIL_ADDRESS>wrote:

preamble is obviously just for real ethernet wire,

usb cdc "ethernet" makes valid packet without
preamble

yes a generic option would be nice, also on rx side

if there's preamble also expected

On 8/7/19, Miguel Angel<EMAIL_ADDRESS>wrote:

Great ... phy mii always need the preamble ...
strange

On Wed, Aug 7, 2019, 09:53 emard
<EMAIL_ADDRESS>

wrote:

miirx_pre

ethertype

................

<EMAIL_ADDRESS>

-.........."...@

.;..`....d......

................

<EMAIL_ADDRESS>

................

................

................

................

................

................

................

................

checking myipcfg_vld
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

And ipproto_vld jumps to 1
Then I experimented with different MAC supplied as nping parameter:
correct MAC 00:40:00:01:02:03 ipproto_vld = 1 at nping
wrong MAC 00:40:00:01:02:04 ipproto_vld = 0 at nping constantly
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

also I have arpproto_vld jump to 1; i will test
further other similar signals if I can locate the
one which no longer jumps to 1
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I forced the correct mac using nping (the exact parameters are in some
of above messages)
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

ethdmac_vld with each ping jumps to '1' and stays 1 during cca 1us

How do you get ethdmac_vld =1 if the PC doen't know the FPGA mac ?
Have you fill PC arp table manually ?

ethdbcst_vld with each arp packet jumps to '1' and stays 1 durring cca
1us
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI if I ping it continuously, it doesn't answer arp.
I filtered capturing to only arp packets,
I see arp broadcasts from PC and they are not replied back to PC
and also doesn't appear at arp table.
by monitoring ethdmac_vld I see that something is
received because it becomes '1' during cca 1us every time
ping packet arrives
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

mii_ipcg is as minimal as it was possible. It only answers ARP
request.
<
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

Libre
de virus. www.avast.com
<
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 8, 2019 at 11:48 AM emard<EMAIL_ADDRESS>wrote:

I stareted monitoring "ethdbcst_vld"
it's behavior is erratic.
Sometimes it becomes '1' when I ping
and sometimes
but sometimes, I can send many pings continuousy
but "ethdbcst_vld" is constatly '0'
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I've set signals for scoping ethdbcst_vld and now
diamond crashes grrrrr
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I will scope the ethdbcst_vld signal
there should be something if RX is working
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I tried before to not reverse but that time
I havent tried raw nping
I can try again to not reverse rx side and nping it
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

no arp answer on wireshark ?. might be rx haven't reversed ?

On Thu, Aug 8, 2019, 09:50 emard<EMAIL_ADDRESS>wrote:

Aha, it's not supposed answer to DHCP server but

quietly accept IP addres. I tried normal linux ping,

of course but it doesn't work, becuase for that it

first wants ARP to be answered and got no answer:

14:38:07.878871 00:aa:bb:cc:dd:ee > ff:ff:ff:ff:ff:ff,
ethertype
ARP

(0x0806), length 42: Request who-has <IP_ADDRESS> tell

<IP_ADDRESS>, length 28

0x0000: ffff ffff ffff 00aa bbcc ddee 0806 0001
................

0x0010: 0800 0604 0001 00aa bbcc ddee c0a8 12fe
................

0x0020: 0000 0000 0000 c0a8 12ba ..........

I then tried this raw nping (with parameters that skip ARP)

nping -c 10 --privileged -delay 100ms -q1 --send-eth -e

enx00aabbccddee --dest-mac 00:40:00:01:02:03 --data
0011223344556677

<IP_ADDRESS>

14:41:20.276468 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 50: <IP_ADDRESS> > <IP_ADDRESS>: ICMP
echo

request, id 5901, seq 5251, length 16

0x0000: 0040 0001 0203 00aa bbcc ddee 0800 4500
<EMAIL_ADDRESS>

0x0010: 0024 16e9 0000 4001 bce7 c0a8 12fe c0a8
<EMAIL_ADDRESS>

0x0020: 12ba 0800 ff5e 170d 1483 0011 2233 4455
.....^......"3DU

0x0030: 6677 fw

On OLED display I see the bytes coming so at least I'm shure
that
usb_mii

RX

section is delivering proper data to scopeio ip modules.

Those bytes shown on tcpdump are exactly delivered to OLED,

(no wired eth preamble). I just reversed bits.

On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

it only sends dhcprequest. Once it receives the ip, its
ready
wont
answer

back.

Have you pinged to the IP address ? . It uses a special
ARP
packet
called

ARP broadcast.

the very first moment you send a packet to the ip it will
answer
the
arp

On Thu, Aug 8, 2019, 06:47 emard
<EMAIL_ADDRESS>wrote:

HI

I cherrypicked your latest commit for preamble_disable

but RX side seems still as if it is not working properly

dnsmasq recognizes btn1 press as ipcfg request

11:38:09.748509 00:40:00:01:02:03 > ff:ff:ff:ff:ff:ff,
ethertype
IPv4

(0x0800), length 296: <IP_ADDRESS>.68 > <IP_ADDRESS>.67:
BOOTP/DHCP,

Request from 00:40:00:01:02:03, length 250

11:38:09.748831 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 349: <IP_ADDRESS>.67 >
<IP_ADDRESS>.68:

BOOTP/DHCP, Reply, length 307

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPDISCOVER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPOFFER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

but it doesn't hear any response (no response packet seen
on
wireshark)

and it didn't answer any ARP requests so arp table for
this
device
is

empty

? (<IP_ADDRESS>) at  on enx00aabbccddee

On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI

I will test the "work" branch today, you did the
important

part of making preamble generation optional at your
core

TX and RX side

My description of usb_mii was unclear I wanted to say -

when usb_mii_txdata(7 downto 0) <= x"12", then 0x12 is

captured with wireshark. scopeio core output is
compatible
with

wired_mii_txdata(0 to 7) so for usb_mii, reverse() is
required.

I like to hack this USB-CDC-Ethernet "phy" to get it
working

that's not a real phy, but a kind of packet
encapsulation

framework.

On 8/7/19, Miguel Angel<EMAIL_ADDRESS>wrote:

I've added a preamble_disable parameter. I've
commited
on
branch

work,

directory library/mii.

I DIDN'T TRY IT or TEST IT. I haven't merged it yet on
master
as
I'm

still

in hospital and I commited a modification of scopeio
on
branch
work

that

i haven't tried it yet

On Wed, Aug 7, 2019 at 12:06 PM emard <
<EMAIL_ADDRESS>

wrote:

HI

summary on usb_mii: bits have to be reversed.

All phys work bit 0 at the left.

What is sent as mii_txdata = x"12" this appears on
wireshark
as

0x12 in the packet. scopeio mii reverses bits for
needs
of
the

actual

mii

and for usb it needs to be reversed again.

I don't understand this.

usb_mii should work without preamble. I made a ping
echo
reply
core

and it works without preamble on TX and without on RX
side.

standard phys required a preamble ... but if it works
that
is
only

thing

that matters :)))))

I managed to remove preamble at TX side of scopeio,
then
wireshark

recognized it as dhcp and also dnsmasq server

offered the lease. I didn't understand the code fully
to
remove

preamble expectation from RX side to test it fully...

On 8/7/19, D EMARD<EMAIL_ADDRESS>wrote:

preamble is obviously just for real ethernet wire,

usb cdc "ethernet" makes valid packet without
preamble

yes a generic option would be nice, also on rx side

if there's preamble also expected

On 8/7/19, Miguel Angel<EMAIL_ADDRESS>wrote:

miirx_pre

ethertype

................

<EMAIL_ADDRESS>

-.........."...@

.;..`....d......

................

<EMAIL_ADDRESS>

................

................

................

................

................

if dhcp server is running after I press ipcfg button
when dhcp server offers the IP address then
I see jump myipcfg_vld = 1 shortly, during cca 0.1 us
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

checking myipcfg_vld
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

And ipproto_vld jumps to 1
Then I experimented with different MAC supplied as nping parameter:
correct MAC 00:40:00:01:02:03 ipproto_vld = 1 at nping
wrong MAC 00:40:00:01:02:04 ipproto_vld = 0 at nping constantly
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

also I have arpproto_vld jump to 1; i will test
further other similar signals if I can locate the
one which no longer jumps to 1
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I forced the correct mac using nping (the exact parameters are in some
of above messages)
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

ethdmac_vld with each ping jumps to '1' and stays 1 during cca 1us

How do you get ethdmac_vld =1 if the PC doen't know the FPGA mac ?
Have you fill PC arp table manually ?

ethdbcst_vld with each arp packet jumps to '1' and stays 1 durring
cca
1us
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI if I ping it continuously, it doesn't answer arp.
I filtered capturing to only arp packets,
I see arp broadcasts from PC and they are not replied back to PC
and also doesn't appear at arp table.
by monitoring ethdmac_vld I see that something is
received because it becomes '1' during cca 1us every time
ping packet arrives
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

mii_ipcg is as minimal as it was possible. It only answers ARP
request.
<
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

Libre
de virus. www.avast.com
<
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 8, 2019 at 11:48 AM emard<EMAIL_ADDRESS>wrote:

I stareted monitoring "ethdbcst_vld"
it's behavior is erratic.
Sometimes it becomes '1' when I ping
and sometimes
but sometimes, I can send many pings continuousy
but "ethdbcst_vld" is constatly '0'
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I've set signals for scoping ethdbcst_vld and now
diamond crashes grrrrr
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I will scope the ethdbcst_vld signal
there should be something if RX is working
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I tried before to not reverse but that time
I havent tried raw nping
I can try again to not reverse rx side and nping it
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

no arp answer on wireshark ?. might be rx haven't reversed ?

On Thu, Aug 8, 2019, 09:50 emard<EMAIL_ADDRESS>wrote:

Aha, it's not supposed answer to DHCP server but

quietly accept IP addres. I tried normal linux ping,

of course but it doesn't work, becuase for that it

first wants ARP to be answered and got no answer:

14:38:07.878871 00:aa:bb:cc:dd:ee > ff:ff:ff:ff:ff:ff,
ethertype
ARP

(0x0806), length 42: Request who-has <IP_ADDRESS> tell

<IP_ADDRESS>, length 28

0x0000: ffff ffff ffff 00aa bbcc ddee 0806 0001
................

0x0010: 0800 0604 0001 00aa bbcc ddee c0a8 12fe
................

0x0020: 0000 0000 0000 c0a8 12ba ..........

I then tried this raw nping (with parameters that skip ARP)

nping -c 10 --privileged -delay 100ms -q1 --send-eth -e

enx00aabbccddee --dest-mac 00:40:00:01:02:03 --data
0011223344556677

<IP_ADDRESS>

14:41:20.276468 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 50: <IP_ADDRESS> > <IP_ADDRESS>: ICMP
echo

request, id 5901, seq 5251, length 16

0x0000: 0040 0001 0203 00aa bbcc ddee 0800 4500
<EMAIL_ADDRESS>

0x0010: 0024 16e9 0000 4001 bce7 c0a8 12fe c0a8
<EMAIL_ADDRESS>

0x0020: 12ba 0800 ff5e 170d 1483 0011 2233 4455
.....^......"3DU

0x0030: 6677 fw

On OLED display I see the bytes coming so at least I'm
shure
that
usb_mii

RX

section is delivering proper data to scopeio ip modules.

Those bytes shown on tcpdump are exactly delivered to OLED,

(no wired eth preamble). I just reversed bits.

On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

it only sends dhcprequest. Once it receives the ip, its
ready
wont
answer

back.

Have you pinged to the IP address ? . It uses a special
ARP
packet
called

ARP broadcast.

the very first moment you send a packet to the ip it will
answer
the
arp

On Thu, Aug 8, 2019, 06:47 emard
<EMAIL_ADDRESS>wrote:

HI

I cherrypicked your latest commit for preamble_disable

but RX side seems still as if it is not working properly

dnsmasq recognizes btn1 press as ipcfg request

11:38:09.748509 00:40:00:01:02:03 > ff:ff:ff:ff:ff:ff,
ethertype
IPv4

(0x0800), length 296: <IP_ADDRESS>.68 > <IP_ADDRESS>.67:
BOOTP/DHCP,

Request from 00:40:00:01:02:03, length 250

11:38:09.748831 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 349: <IP_ADDRESS>.67 >
<IP_ADDRESS>.68:

BOOTP/DHCP, Reply, length 307

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPDISCOVER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPOFFER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

but it doesn't hear any response (no response packet
seen
on
wireshark)

and it didn't answer any ARP requests so arp table for
this
device
is

empty

? (<IP_ADDRESS>) at  on enx00aabbccddee

On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI

I will test the "work" branch today, you did the
important

part of making preamble generation optional at your
core

TX and RX side

My description of usb_mii was unclear I wanted to say

when usb_mii_txdata(7 downto 0) <= x"12", then 0x12 is

captured with wireshark. scopeio core output is
compatible
with

wired_mii_txdata(0 to 7) so for usb_mii, reverse() is
required.

I like to hack this USB-CDC-Ethernet "phy" to get it
working

that's not a real phy, but a kind of packet
encapsulation

framework.

On 8/7/19, Miguel Angel<EMAIL_ADDRESS>wrote:

I've added a preamble_disable parameter. I've
commited
on
branch

work,

directory library/mii.

I DIDN'T TRY IT or TEST IT. I haven't merged it yet
on
master
as
I'm

still

in hospital and I commited a modification of scopeio
on
branch
work

that

i haven't tried it yet

On Wed, Aug 7, 2019 at 12:06 PM emard <
<EMAIL_ADDRESS>

wrote:

HI

summary on usb_mii: bits have to be reversed.

All phys work bit 0 at the left.

What is sent as mii_txdata = x"12" this appears on
wireshark
as

0x12 in the packet. scopeio mii reverses bits for
needs
of
the

actual

mii

and for usb it needs to be reversed again.

I don't understand this.

usb_mii should work without preamble. I made a ping
echo
reply
core

and it works without preamble on TX and without on
RX
side.

standard phys required a preamble ... but if it
works
that
is
only

thing

that matters :)))))

I managed to remove preamble at TX side of scopeio,
then
wireshark

recognized it as dhcp and also dnsmasq server

offered the lease. I didn't understand the code
fully
to
remove

preamble expectation from RX side to test it
fully...

On 8/7/19, D EMARD<EMAIL_ADDRESS>wrote:

miirx_pre

ethertype

................

<EMAIL_ADDRESS>

-.........."...@

.;..`....d......

................

<EMAIL_ADDRESS>

................

................

Good ... it decodes dhcp and takes offered ip address.
arp_txdv tells if FPGA is sending ARP reply and
rply_req tells if an ARP request is received.
there is a commented lines that tells
-- rply_req <= btn;
I think i used to force arp replies
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Libre
de virus. www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 8, 2019 at 4:16 PM emard<EMAIL_ADDRESS>wrote:

if dhcp server is running after I press ipcfg button
when dhcp server offers the IP address then
I see jump myipcfg_vld = 1 shortly, during cca 0.1 us
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

checking myipcfg_vld
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

And ipproto_vld jumps to 1
Then I experimented with different MAC supplied as nping parameter:
correct MAC 00:40:00:01:02:03 ipproto_vld = 1 at nping
wrong MAC 00:40:00:01:02:04 ipproto_vld = 0 at nping constantly
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

also I have arpproto_vld jump to 1; i will test
further other similar signals if I can locate the
one which no longer jumps to 1
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I forced the correct mac using nping (the exact parameters are in some
of above messages)
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

ethdmac_vld with each ping jumps to '1' and stays 1 during cca 1us

How do you get ethdmac_vld =1 if the PC doen't know the FPGA mac ?
Have you fill PC arp table manually ?

ethdbcst_vld with each arp packet jumps to '1' and stays 1 durring
cca
1us
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI if I ping it continuously, it doesn't answer arp.
I filtered capturing to only arp packets,
I see arp broadcasts from PC and they are not replied back to PC
and also doesn't appear at arp table.
by monitoring ethdmac_vld I see that something is
received because it becomes '1' during cca 1us every time
ping packet arrives
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

mii_ipcg is as minimal as it was possible. It only answers ARP
request.
<

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

Libre
de virus. www.avast.com
<

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 8, 2019 at 11:48 AM emard<EMAIL_ADDRESS>wrote:

I stareted monitoring "ethdbcst_vld"
it's behavior is erratic.
Sometimes it becomes '1' when I ping
and sometimes
but sometimes, I can send many pings continuousy
but "ethdbcst_vld" is constatly '0'
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I've set signals for scoping ethdbcst_vld and now
diamond crashes grrrrr
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I will scope the ethdbcst_vld signal
there should be something if RX is working
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I tried before to not reverse but that time
I havent tried raw nping
I can try again to not reverse rx side and nping it
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

no arp answer on wireshark ?. might be rx haven't reversed
?

On Thu, Aug 8, 2019, 09:50 emard<EMAIL_ADDRESS>

wrote:

Aha, it's not supposed answer to DHCP server but

quietly accept IP addres. I tried normal linux ping,

of course but it doesn't work, becuase for that it

first wants ARP to be answered and got no answer:

14:38:07.878871 00:aa:bb:cc:dd:ee > ff:ff:ff:ff:ff:ff,
ethertype
ARP

(0x0806), length 42: Request who-has <IP_ADDRESS> tell

<IP_ADDRESS>, length 28

0x0000: ffff ffff ffff 00aa bbcc ddee 0806 0001
................

0x0010: 0800 0604 0001 00aa bbcc ddee c0a8 12fe
................

0x0020: 0000 0000 0000 c0a8 12ba ..........

I then tried this raw nping (with parameters that skip
ARP)

nping -c 10 --privileged -delay 100ms -q1 --send-eth -e

enx00aabbccddee --dest-mac 00:40:00:01:02:03 --data
0011223344556677

<IP_ADDRESS>

14:41:20.276468 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 50: <IP_ADDRESS> > <IP_ADDRESS>:
ICMP
echo

request, id 5901, seq 5251, length 16

0x0000: 0040 0001 0203 00aa bbcc ddee 0800 4500
<EMAIL_ADDRESS>

0x0010: 0024 16e9 0000 4001 bce7 c0a8 12fe c0a8
<EMAIL_ADDRESS>

0x0020: 12ba 0800 ff5e 170d 1483 0011 2233 4455
.....^......"3DU

0x0030: 6677 fw

On OLED display I see the bytes coming so at least I'm
shure
that
usb_mii

RX

section is delivering proper data to scopeio ip modules.

Those bytes shown on tcpdump are exactly delivered to
OLED,

(no wired eth preamble). I just reversed bits.

On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

it only sends dhcprequest. Once it receives the ip, its
ready
wont
answer

back.

Have you pinged to the IP address ? . It uses a special
ARP
packet
called

ARP broadcast.

the very first moment you send a packet to the ip it
will
answer
the
arp

On Thu, Aug 8, 2019, 06:47 emard
<EMAIL_ADDRESS>wrote:

HI

I cherrypicked your latest commit for preamble_disable

but RX side seems still as if it is not working
properly

dnsmasq recognizes btn1 press as ipcfg request

11:38:09.748509 00:40:00:01:02:03 > ff:ff:ff:ff:ff:ff,
ethertype
IPv4

(0x0800), length 296: <IP_ADDRESS>.68 > <IP_ADDRESS>.67:
BOOTP/DHCP,

Request from 00:40:00:01:02:03, length 250

11:38:09.748831 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 349: <IP_ADDRESS>.67 >
<IP_ADDRESS>.68:

BOOTP/DHCP, Reply, length 307

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPDISCOVER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

Aug 8 11:38:09 ssd dnsmasq-dhcp[22708]:
DHCPOFFER(enx00aabbccddee)

<IP_ADDRESS> 00:40:00:01:02:03

but it doesn't hear any response (no response packet
seen
on
wireshark)

and it didn't answer any ARP requests so arp table for
this
device
is

empty

? (<IP_ADDRESS>) at  on enx00aabbccddee

On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI

I will test the "work" branch today, you did the
important

part of making preamble generation optional at your
core

TX and RX side

My description of usb_mii was unclear I wanted to say

when usb_mii_txdata(7 downto 0) <= x"12", then 0x12
is

captured with wireshark. scopeio core output is
compatible
with

wired_mii_txdata(0 to 7) so for usb_mii, reverse() is
required.

I like to hack this USB-CDC-Ethernet "phy" to get it
working

that's not a real phy, but a kind of packet
encapsulation

framework.

On 8/7/19, Miguel Angel<EMAIL_ADDRESS>wrote:

I've added a preamble_disable parameter. I've
commited
on
branch

work,

directory library/mii.

I DIDN'T TRY IT or TEST IT. I haven't merged it yet
on
master
as
I'm

still

in hospital and I commited a modification of scopeio
on
branch
work

that

i haven't tried it yet

On Wed, Aug 7, 2019 at 12:06 PM emard <
<EMAIL_ADDRESS>

wrote:

All phys work bit 0 at the left.

I don't understand this.

that matters :)))))

miirx_pre

rply_req is constantly 0
dhcp server is running and I press ipcfg btn and dhcp offers the IP
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

Good ... it decodes dhcp and takes offered ip address.
arp_txdv tells if FPGA is sending ARP reply and
rply_req tells if an ARP request is received.
there is a commented lines that tells
-- rply_req <= btn;
I think i used to force arp replies
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Libre
de virus. www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 8, 2019 at 4:16 PM emard<EMAIL_ADDRESS>wrote:

if dhcp server is running after I press ipcfg button
when dhcp server offers the IP address then
I see jump myipcfg_vld = 1 shortly, during cca 0.1 us
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

checking myipcfg_vld
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

And ipproto_vld jumps to 1
Then I experimented with different MAC supplied as nping parameter:
correct MAC 00:40:00:01:02:03 ipproto_vld = 1 at nping
wrong MAC 00:40:00:01:02:04 ipproto_vld = 0 at nping constantly
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

also I have arpproto_vld jump to 1; i will test
further other similar signals if I can locate the
one which no longer jumps to 1
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I forced the correct mac using nping (the exact parameters are in
some
of above messages)
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

ethdmac_vld with each ping jumps to '1' and stays 1 during cca 1us

How do you get ethdmac_vld =1 if the PC doen't know the FPGA mac ?
Have you fill PC arp table manually ?

ethdbcst_vld with each arp packet jumps to '1' and stays 1 durring
cca
1us
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

HI if I ping it continuously, it doesn't answer arp.
I filtered capturing to only arp packets,
I see arp broadcasts from PC and they are not replied back to PC
and also doesn't appear at arp table.
by monitoring ethdmac_vld I see that something is
received because it becomes '1' during cca 1us every time
ping packet arrives
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

mii_ipcg is as minimal as it was possible. It only answers ARP
request.
<

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

Libre
de virus. www.avast.com
<

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Aug 8, 2019 at 11:48 AM emard
<EMAIL_ADDRESS>wrote:

I stareted monitoring "ethdbcst_vld"
it's behavior is erratic.
Sometimes it becomes '1' when I ping
and sometimes
but sometimes, I can send many pings continuousy
but "ethdbcst_vld" is constatly '0'
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I've set signals for scoping ethdbcst_vld and now
diamond crashes grrrrr
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I will scope the ethdbcst_vld signal
there should be something if RX is working
On 8/8/19, D EMARD<EMAIL_ADDRESS>wrote:

I tried before to not reverse but that time
I havent tried raw nping
I can try again to not reverse rx side and nping it
On 8/8/19, Miguel Angel<EMAIL_ADDRESS>wrote:

no arp answer on wireshark ?. might be rx haven't
reversed
?

On Thu, Aug 8, 2019, 09:50 emard
<EMAIL_ADDRESS>

wrote:

Aha, it's not supposed answer to DHCP server but

quietly accept IP addres. I tried normal linux ping,

of course but it doesn't work, becuase for that it

first wants ARP to be answered and got no answer:

14:38:07.878871 00:aa:bb:cc:dd:ee > ff:ff:ff:ff:ff:ff,
ethertype
ARP

(0x0806), length 42: Request who-has <IP_ADDRESS> tell

<IP_ADDRESS>, length 28

0x0000: ffff ffff ffff 00aa bbcc ddee 0806 0001
................

0x0010: 0800 0604 0001 00aa bbcc ddee c0a8 12fe
................

0x0020: 0000 0000 0000 c0a8 12ba ..........

I then tried this raw nping (with parameters that skip
ARP)

nping -c 10 --privileged -delay 100ms -q1 --send-eth -e

enx00aabbccddee --dest-mac 00:40:00:01:02:03 --data
0011223344556677

<IP_ADDRESS>

14:41:20.276468 00:aa:bb:cc:dd:ee > 00:40:00:01:02:03,
ethertype
IPv4

(0x0800), length 50: <IP_ADDRESS> > <IP_ADDRESS>:
ICMP
echo

request, id 5901, seq 5251, length 16

0x0000: 0040 0001 0203 00aa bbcc ddee 0800 4500
<EMAIL_ADDRESS>

0x0010: 0024 16e9 0000 4001 bce7 c0a8 12fe c0a8
<EMAIL_ADDRESS>

0x0020: 12ba 0800 ff5e 170d 1483 0011 2233 4455
.....^......"3DU

0x0030: 6677 fw

On OLED display I see the bytes coming so at least I'm
shure
that
usb_mii

RX

section is delivering proper data to scopeio ip modules.

Those bytes shown on tcpdump are exactly delivered to
OLED,

(no wired eth preamble). I just reversed bits.


Dict in njitted function

Minimum example:

import numba as nb
from numba.core import types
from numba.typed import Dict

d_test = Dict.empty(
    key_type=types.unicode_type,
    value_type=types.float64,
)

d_test['a'] = 0.1
d_test['b'] = 0.2

@nb.njit()
def nb_dict_test():
    v1 = d_test['a']
    v2 = d_test['b']
    summed_v = v1 + v2
    return summed_v

nb_dict_test()

or
d_test = Dict.empty(
    key_type=types.float64,
    value_type=types.float64,
)

d_test[0.1] = 0.1
d_test[0.2] = 0.2

@nb.njit()
def nb_dict_test():
    v1 = d_test[0.1]
    v2 = d_test[0.2]
    summed_v = v1 + v2
    return summed_v

nb_dict_test()

do not work with the error message
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: ensure IR is legal prior to lowering)
The use of a DictType[unicode_type,float64]<iv=None> type, assigned to variable 'd_test' in globals, is not supported as globals are considered compile-time constants and there is no known way to compile a DictType[unicode_type,float64]<iv=None> type as a constant.
File "<string>", line 12:
<source missing, REPL/exec in use?>

Putting the dict into the function does work, but this is not the desired solution as it is slow for my case:

@nb.njit()
def nb_dict_test():
    d_test = Dict.empty(
        key_type=types.float64,
        value_type=types.float64,
    )

    d_test[0.1] = 0.1
    d_test[0.2] = 0.2

    v1 = d_test[0.1]
    v2 = d_test[0.2]
    summed_v = v1 + v2
    return summed_v

nb_dict_test()

Not sure if this is indeed not implemented or if there is an error in my implementation? The goal is to have a lookup table inside of a @nb.njit() function - is there any recommended way to do it?

It is a deviation from Python semantics in Numba that globals are treated as constants: https://numba.readthedocs.io/en/stable/reference/pysemantics.html?highlight=global#global-and-closure-variables - however, I think it ought to be possible to support your use cases, since they don't mutate the Dict inside the jitted function.
I'll labelling this as a feature request, to support read-only access to global typed dicts in nopython mode.

Putting the dict into the function does work, but this is not the desired solution as it is slow for my case.

In what way is this slow? Is it that a dictionary has to be built?

Indeed, the above is just a toy example. The creation of my dictionary itself takes several minutes and my intention is to build it once and then access it with a different @nb.njit() function multiple times.

Indeed, the above is just a toy example. The creation of my dictionary itself takes several minutes and my intention is to build it once and then access it with a different @nb.njit() function multiple times.

Is it built dynamically or is it the same dictionary every time?

It is the same dictionary, so it should be considered a constant. This is why I would assume that this should be possible.

It is the same dictionary, so it should be considered a constant. This is why I would assume that this should be possible.

Can you just define it inline, like:
def my_table():
    d = {1:2, 3:4}

?

It is very large with over 100k entries, but I guess I could try with a dict comprehension ? I could test this. Would this make numba accept it ?

What matters is where the dictionary is built, there's a trade off between making the compiler work hard to build the dictionary in a function and then caching that function, and building the dictionary in the interpreter and then passing it around. At least if it's defined in a function it can be reused relatively easily. What's the data like to generate the dictionary? Is it an already existing python dictionary or can the way to build it be described programmatically?

The dictionary can be built programmatically based on Numpy arrays containing some vectors. It involves some number-crunching and the goal is to have some kind of lookup table to/dictionary to just look up the result (just a float, the key can be anything). I do not even need to be a dictionary, just some method for memoization to avoid recalculation of the answers (here https://stackoverflow.com/questions/63107727/numba-compatable-memoization someone else had a similar problem). The only constraint is that the lookup needs to be inside a function that can be 'njitted' as this is required by the library I use.

It is a deviation from Python semantics in Numba that globals are treated as constants: https://numba.readthedocs.io/en/stable/reference/pysemantics.html?highlight=global#global-and-closure-variables - however, I think it ought to be possible to support your use cases, since they don't mutate the Dict inside the jitted function.
I'll labelling this as a feature request, to support read-only access to global typed dicts in nopython mode.

If there is a workaround to support this feature in numba 0.52?
I tried to hack lower_assign by return llvmlite.ir.values.Constant if value.value is a typed.Dict, but not working.

Hello! Just seconding this feature request and checking in if you have found a workaround to this? I'm currently facing the same issue (using a fixed dictionary external to njitted function) and this feature would be extremely useful.


feat: add support for TikTok embeds

Some of our brands (Vogue Business, The New Yorker) have embedded TikTok into articles and would like better support for them (and visual finesse) on their brand sites. We're accomplishing this by making a new annotation.
This also adds some nice identification so when our editors paste TikTok embed codes into our text editor, we can turn that into an embed.
This should support turning a URL into an embed like:
https://www.tiktok.com/@teenvogue/video/292170367534714880

or a full HTML code like:

  @teenvogue

When officialayoteo ask to hold your phone 🕴🏾🕴🏾

  ♬ Better Off Alone - Ayo & Teo

@dkorenblyum could you take a peek at this :)


https://scala-sbt.org/ redirects to http://www.scala-sbt.org/

Expected
https://scala-sbt.org/ should redirect to https://www.scala-sbt.org/
Details
> http https://scala-sbt.org/
HTTP/1.1 301 Moved Permanently
CF-RAY: 3e8a98d8898955fa-ORD
Connection: keep-alive
Content-Type: text/html
Date: Tue, 06 Feb 2018 02:14:38 GMT
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Location: http://www.scala-sbt.org/
Server: cloudflare
Set-Cookie: __cfduid=d10a82da8c17b45745e1fb580888451881517883278; expires=Wed, 06-Feb-19 02:14:38 GMT; path=/; domain=.scala-sbt.org; HttpOnly
Transfer-Encoding: chunked
X-GitHub-Request-Id: 245B:6A13:DC150:13F985:5A790F8E

<title>301 Moved Permanently</title>

301 Moved Permanently

nginx

Done:
$ http https://scala-sbt.org/
HTTP/1.1 301 Moved Permanently
CF-RAY: 3e9507663c43299f-DUB
Cache-Control: max-age=3600
Connection: keep-alive
Date: Wed, 07 Feb 2018 08:37:44 GMT
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Expires: Wed, 07 Feb 2018 09:37:44 GMT
Location: https://www.scala-sbt.org
Server: cloudflare
Transfer-Encoding: chunked

Sweet, thanks a lot!

All credit to @JustinPihony.


NCAR CMIP6 source_id CESM1-1-CAM5-CMIP5

label = CESM1-1-CAM5-CMIP5
label_extended = CESM1-1-CAM5-CMIP5
source_id = CESM1-1-CAM5-CMIP5
institution_id = NCAR
release_year = 2011
activity_participation = DCPP
aerosol:
description = MAM3 (same grid as atmos)
native_nominal_resolution = 100 km
atmos:
description = CAM5.2 (0.9x1.25 finite volume grid; 288 x 192 longitude/latitude; 32 levels; top level 2.25 mb)
native_nominal_resolution = 100 km
atmosChem:
description = MAM3 (same grid as atmos)
native_nominal_resolution = 100 km
land:
description = CLM4 (same grid as atmos)
native_nominal_resolution = 100 km
ocean:
description = POP2 (320x384 longitude/latitude; 60 levels; top grid cell 0-10 m)
native_nominal_resolution = 100 km
ocnBgchem:
description = BEC (same grid as ocean)
native_nominal_resolution = 100 km
seaIce:
description = CICE4 (same grid as ocean)
native_nominal_resolution = 100 km

@strandwg CESM1-1-CAM5-CMIP5 is now registered. I tweaked your activity_participation to include CMIP as it is expected that the required DECK simulations for this model will also be contributed. You can review the registered details at CMIP6_source_id.html


Improve loading on Slow 3G

Looking at a WPT trace, we have some opportunities to improve the first load:

Somehow(?) preload worker dependencies (via prefetch?)
Delay SW and analytics until after worker is fully initialized
IUU?

Some general questions, because I am curious.

is there a reason that we are not link rel preloading all of the script files (either in HTTP headers or in the head?)
Should you link rel preload analytics script so it starts earlier? or even just pre-connect?
The requests 7-11 are all tiny. The connect time seems to be large, is this just because http2 pipe-lining is queuing them up and the connection time is really non-existent? Are we not concatenating them because the expectation that they are likely to be updated in isolation so we are minimising updates when we update parts of the app?
Is there a reason why our GA code isn't setting it to async in bootstrap.tsx (the standard import code does this).


"TypeError: b.animate is not a function" after 2.2.0

TypeError: b.animate is not a function.
(In 'b.animate({opacity:["1","0"]},{duration:1,fill:"forwards"})', 'b.animate' is undefined)
This error appears only in Safari (on iPhone and on Mac in Safari 8.0). In Chrome everything is OK.

I do get the same error in Safari

Haven't been able to repro this error so for in Safari 9 on iOS/Mac 10.9.

I got the same error on Android 5.0.2 (XperiaZ3) stock browser.
If I wrap the following code in web-animation-bonus-object-key-frames.js with a try catch block,
  var element = document.documentElement;
  var animation = element.animate({'opacity': ['1', '0']},
      {duration: 1, fill: 'forwards'});
  animation.finish();
  var animated = getComputedStyle(element).getPropertyValue('opacity') == '0';
  animation.cancel();
  if (animated) {
    return;
  }

the error has gone.

My issue seems to be dups of #72.

Haven't gotten my hands on a copy of Safari 8 to repro this yet.
Could you please check if the issue persists in 2.2.1?

I am receiving this error on Safari 9.0.1, Firefox 46, and Microsoft Edge 20.10240.16384.0 as well.
Begins onload with:
"TypeError: b.animate is not a function. (In 'b.animate({opacity:["1","0"]},{duration:1,fill:"forwards"})', 'b.animate' is undefined)"
Then follows with:
"ReferenceError: Can't find variable: KeyframeEffect" when.
Interestingly enough Firefox Developer Edition (48.0a2) does not throw this error. In 47.x of Dev Edition the error would occur.
As stated by others, Chrome does not have this issue.

@mford516 could you provide an example page that shows those errors?

@mford516 Also could you clarify whether you're using version 2.2.1 of the Web Animations polyfill?

Both https://events.google.com/io2016/ and chromestatus.com have been updated to use 2.2.1 and I don't see errors in Safari 9.1 and FF 49.0a1.

@alancutter I was running 2.2.0, but just updated to 2.2.1 and still receive the error in Safari 9 (also updated from 9.0.1 to 9.1).
@dstockwell My current implementation is rather complicated. I can try to work on getting a jsBin set up to reproduce the issue.
In the meantime, here is some background. I'm using Polymer within an Angular 2 web application, therefore invoking the shadow dom. Also, in order to get the polyfills to work properly I'm loading webcomponents.js rather than webcomponents-lite.js. Could this be the issue? I understand that shadow dom is yet to be fully supported by browsers other than Chrome, but as far as I can see from the webcomponents.js compatibility matrix this should work fine across all major browsers.
Perhaps this has to do with my implementation of Polymer, I only arrived here after @dstockwell referenced this issue in #170

I am also getting the same error
reciever.html:49 Uncaught TypeError: $(...).animate is not a function

I am also getting the same error
reciever.html:49 Uncaught TypeError: $(...).animate is not a function

sent me your code

I do get the same error in Safari

use chrome

use chrome

But website should run on all browser no? at least on edge

I do get the same error in Safari

use chrome

This solution doesn't exactly work for people who want there website to work on more than one browser...


Enhancement: Update XR Samples to Unity 6

Sample
All XR Samples
Checklist

[x] PR title follows convention - keyword: Short description of change
[x] PR targets the correct branch
[x] Self-review of changes
[x] There are no warnings related to changes
[ ] A build was made and tested on all relevant platforms
[x] No unrelated changes have been made to any other code or project files
[x] Commits have descriptive titles

ArcGIS Maps SDK Version
Maps SDK 1.6 w/ Unity 6000.0.23f1 LTS

Thanks. Does this need to be reviewed on a XR party? Happy to do that.

Thanks for doing this early to keep samples up-to-date! Does this need to be reviewed on a XR party? Happy to do that.

It would benefit it. I already tested XR Table Top and VR Sample to ensure they both still work. But having everyone or at least one other person test it to ensure they are working would be useful.

Thanks for doing this early to keep samples up-to-date! Does this need to be reviewed on a XR party? Happy to do that.

It would benefit it. I already tested XR Table Top and VR Sample to ensure they both still work. But having everyone or at least one other person test it to ensure they are working would be useful.

Ok, let us know when

I verified on Unity 6000.0.23f1 with a Valve Index. Should we update to latest LTS .25f1 before merging?
Please address my readme feedback before merging.

I don't think it's necessary. At the end of the day, unity hub will always have a newer version out than what ever our min is. I think it's better to be on the min Unity 6 (non preview) and let people use what ever specific version they want. The difference between 23 and 25 isn't going to be major.


Corrected version of package

Corrected README on Angular Material Version
This pull request makes the following changes:

README update

Merged internally in: 6a9f90eb4e14056934f00525341406a78a613aee


feat: update mParticle version and type def to 2.15.x

Summary

Update version references of mParticle library and types to 2.15.x
Fixes #71 and #72

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Remove std::result_of_t deprecated in C++17

try_visit_any uses std::result_of_t which is deprecated in C++17. This PR replaces std::result_of_t by std::invoke_result_t so we can compile in C++ 17 mode without disabling any warnings.
Fixes #1007

Can you add a note to the CHANGELOG?

Can you add a note to the CHANGELOG with this bug fix?

I didn't initially think this was CHANGELOG worthy. :)


Function CollectionReference.doc() undefined

how to solve this?
http://prntscr.com/o6grv0

It seems like you're trying to make a .doc(value) call, but value is undefined.

Hi @ThigoPSI. From the stack trace you provided, the error is most likely occurring because there is not a valid userId in the database matched up with the fake access token. Did you add the user data to the database as described in the README (see Connect to Firebase)?
I would recommend ensuring that you followed all the setup instructions, and then try again.

Closing as obsolete.

Closing as obsolete.


Add DeepSpeed Example with MPI Operator

Related: https://github.com/kubeflow/training-operator/issues/2040
As we discussed multiple times, Kubeflow community are looking for examples on how to use MPI Operator and DeepSpeed.
We should add some example to the MPI Operator: https://github.com/kubeflow/mpi-operator/tree/master/examples/v2beta1 or Training Operator: https://github.com/kubeflow/training-operator/tree/master/examples.
Some pending PRs can be found here as reference:

https://github.com/kubeflow/mpi-operator/pull/610
https://github.com/kubeflow/mpi-operator/pull/567

/good-first-issue
/help
/area example
/cc @alculquicondor @kubeflow/wg-training-leads @kuizhiqing

I believe that both (training-operator and mpi-operator) examples would be worth it. But, I think that we should add each example for PyTorchJob with deepspeed and torchrun, and MPIJob v2 with deepspeed and mpirun.

Sure, that sound great @tenzen-y! It would be great to see the benchmarks for mpirun and torchrun to run DeepSpeed on Kubernetes.

It sounds great, but I guess that there are no significant performance differences between both approaches since the deepspeed uses the NCCL backend even if we use mpirun.

I'm working on an equivalent example for the Flux Operator - but quick question. Will it work OK to test without GPU? I've been trying to get just 3 nodes, each with one nvidia GPU on Google Cloud, and I never get the allocation.

Ah - this looks more promising. https://github.com/kubeflow/mpi-operator/pull/567/files

@tenzen-y Does DeepSpeed only support nccl backend ? E.g. we can't run it with CPUs ?

@tenzen-y Does DeepSpeed only support nccl backend ? E.g. we can't run it with CPUs ?

TBH, I don't have any experience only with CPU. But at the first glance, the deepspeed seems to support PyTorch without GPU: https://github.com/microsoft/DeepSpeed/blob/master/.github/workflows/cpu-torch-latest.yml

that there are no significant performance differences between both approaches since the deepspeed uses the NCCL backend even if we use mpirun.

This statement is generally correct in almost all cases with NCCL context. Though, I've two few experiences to share for those using mpi-style set-up and suffering performance issue.

Avoid using mpi library(mpi4py e.g.) to do any collective communication, for some metrics collection etc., even if they only using TCP network.
DO NOT produce too much logs in mpirun scenario, the mpirun would collect logs from all the workers which may hurt the performance

Overall, mpirun and torchrun should have no performance difference.


Event storm after type update

I have been running some more tests and discovered an interesting problem with the update event management.
The archive manager and the inbound event listener that receives typeDef events from the cohort both pass typeDefPatches to the same event manager that routes the request to the local repository's inbound typeDef processor which happens to be the RCM.
The RCM calls the local repository to update the typeDef.  The local repository calls the real repository connector and then, if it is responsible for sending events, it sends out an OMRSEvent notification to say that the type has changed.  This is picked up by the other members of the cohort who process it, and send the updated typedef event again - and the loop goes on ...
In cocoCohort where there are 6 repositories doing this it is quite exciting :)
The logic is almost identical to the addTypeDef which does not have this problem.  The subtle difference is that the RCM calls verifyTypeDef before calling addTypeDef and only calls addTypeDef if the type needs defining.  This means that events coming around for the second time are ignored and the loop stops.
The update typedef (and delete type def) need to make a test (eg getTypeDef) to see if the event needs actioning.  If the type is already updated (or deleted) then the event is ignored.

I have prevented the event storm but there is still a problem ...
Thu Jan 02 18:36:52 GMT 2020 cocoMDS1 Action OMRS-AUDIT-0307  Conflicting type definitions for type <null> (<null>) have been detected in remote system cocoMDS6 (e8cd6668-d526-4a82-8b4d-2be2e8303af2).  Other system involved has metadata collection null Error message is: OMRS-REPOSITORY-400-059 Type definition with guid eb6dfdd2-8c6f-4f0d-a17d-f6ce4799f64f and name EmbeddedConnection conflicts with an existing type definition in open metadata repository cocoMDS6
Thu Jan 02 18:37:14 GMT 2020 cocoMDS4 Information OMRS-AUDIT-0112 A re-registration request has been received for cohort cocoCohort from server cocoMDS2 that hosts metadata collection f97d02ac-6c8c-4ec8-9df4-f18198fdc141
Thu Jan 02 18:37:17 GMT 2020 cocoMDS4 Information OMRS-AUDIT-0112 A re-registration request has been received for cohort cocoCohort from server cocoMDS6 that hosts metadata collection e8cd6668-d526-4a82-8b4d-2be2e8303af2
Thu Jan 02 18:37:18 GMT 2020 cocoMDS1 Information OMRS-AUDIT-0112 A re-registration request has been received for cohort cocoCohort from server cocoMDS2 that hosts metadata collection f97d02ac-6c8c-4ec8-9df4-f18198fdc141
Thu Jan 02 18:38:42 GMT 2020 cocoMDS1 Action OMRS-AUDIT-0307  Conflicting type definitions for type <null> (<null>) have been detected in remote system cocoMDS2 (f97d02ac-6c8c-4ec8-9df4-f18198fdc141).  Other system involved has metadata collection null Error message is: OMRS-REPOSITORY-400-059 Type definition with guid acc7cbc8-09c3-472b-87dd-f78459323dcb and name OpenDiscoveryAnalysisReport conflicts with an existing type definition in open metadata repository cocoMDS2
Thu Jan 02 18:50:18 GMT 2020 cocoMDS4 Error OCF-KAFKA-TOPIC-CONNECTOR-0008 The connector listening on topic egeria.omag.openmetadata.repositoryservices.cohort.cocoCohort.OMRSTopic received an unexpected exception org.apache.kafka.common.KafkaException from Apache Kafka.  The message in the exception was User rebalance callback throws an error
Thu Jan 02 18:50:18 GMT 2020 cocoMDS1 Error OCF-KAFKA-TOPIC-CONNECTOR-0008 The connector listening on topic egeria.omag.openmetadata.repositoryservices.cohort.cocoCohort.OMRSTopic received an unexpected exception org.apache.kafka.common.KafkaException from Apache Kafka.  The message in the exception was User rebalance callback throws an error
Thu Jan 02 18:50:21 GMT 2020 cocoMDS1 Information OMRS-AUDIT-0112 A re-registration request has been received for cohort cocoCohort from server cocoMDS6 that hosts metadata collection e8cd6668-d526-4a82-8b4d-2be2e8303af2
Thu Jan 02 18:51:49 GMT 2020 cocoMDS1 Action OMRS-AUDIT-0307  Conflicting type definitions for type <null> (<null>) have been detected in remote system cocoMDS2 (f97d02ac-6c8c-4ec8-9df4-f18198fdc141).  Other system involved has metadata collection null Error message is: OMRS-REPOSITORY-400-059 Type definition with guid acc7cbc8-09c3-472b-87dd-f78459323dcb and name OpenDiscoveryAnalysisReport conflicts with an existing type definition in open metadata repository cocoMDS2
Thu Jan 02 18:51:53 GMT 2020 cocoMDS4 Error OCF-KAFKA-TOPIC-CONNECTOR-0008 The connector listening on topic egeria.omag.openmetadata.repositoryservices.cohort.cocoCohort.OMRSTopic received an unexpected exception org.apache.kafka.common.KafkaException from Apache Kafka.  The message in the exception was User rebalance callback throws an error
Thu Jan 02 18:51:56 GMT 2020 cocoMDS1 Information OMRS-AUDIT-0112 A re-registration request has been received for cohort cocoCohort from server cocoMDS6 that hosts metadata collection e8cd6668-d526-4a82-8b4d-2be2e8303af2
Thu Jan 02 18:52:01 GMT 2020 cocoMDS1 Action OMRS-AUDIT-0307  Conflicting type definitions for type <null> (<null>) have been detected in remote system cocoMDS2 (f97d02ac-6c8c-4ec8-9df4-f18198fdc141).  Other system involved has metadata collection null Error message is: OMRS-REPOSITORY-400-059 Type definition with guid eb6dfdd2-8c6f-4f0d-a17d-f6ce4799f64f and name EmbeddedConnection conflicts with an existing type definition in open metadata repository cocoMDS2

Only one server in the cohort reports conflicts - it changes which one it is.  I can not detect why thes events are coming out.  The strange thing is that the fields of the event are not properly filled out either which suggests problems with the event bean parsing.
Going to push current fixes since they are better than previous behaviour and then look again tomorrow.


Support verification for npm SLSA v1.0

What is "npm v1.0"?

Updated the title.. I meant npm SLSA v1.0 format

npm CLI is close to having support for v1 format https://github.com/npm/cli/pull/6613

Duplicate to #450


Port forward ignores errOut for some errors

This is a potentially a user error, but it's not obvious to me what I could have done differently. When I create a port forward  via portforward.New() with appropriate writers for out and errOut there's cases where the errOut is ignored.
Specifically where I get an error like so:
E1007 16:49:40.319613   54503 portforward.go:409] an error occurred forwarding 62307 -> 8999: error forwarding port 8999 to pod SOME_UUID, uid : failed to execute portforward in network namespace "/var/run/netns/cni-SOME_UUID": failed to connect to localhost:8917 inside namespace "SOME_UUID", IPv4: dial tcp4 <IP_ADDRESS>:8999: connect: connection timed out IPv6 dial tcp6 [::1]:8999: connect: cannot assign requested address

The first part an error occurred forwarding appears to come from here
Problem is I'm actually passing a custom writer to errOut, which should ensure all errors are ran through my structured logger (otherwise I get non-json output in the middle of my structured logs, which screws up the parsing of them).

I did find a hacky workaround after attempting to following the code, which is to call:
klog.LogToStderr(false)
klog.SetLogger(logger)

before running portforward.
Ideally I wouldn't introduce these packages into my code, but I couldn't see another way to do it.
The above method has the drawback that I have to depend on klog, go-logr and go-logr/zerologr in addition to my actual logger, zerolog. Those exist purely to prevent one unstructured error log from appearing.
If I've missed a better/cleaner way to do this, I'd love to see an example if possible.

/remove-lifecycle rotten

/remove-lifecycle stale


Preserve properties

This preserves message properties when traversing the request node, following an advice in th Node-RED documentation (not exactly the way the do, because of Observe).
It removes the onPayloadDecoded, too, using standard Node-RED flow to achieve the same thing in tests.

Coverage decreased (-0.7%) to 92.308% when pulling 0fc22ab33f2b3195c0031399db113d16029dceb4 on Guimier:preserve-properties into 077fe93f7e3aefafc1afb2ae370ea0cf7b48bf5e on reederz:master.

LGTM


Notifications aren't migrated from the old site

My settings page has only 2 notifications, from questions I followed on beta.
It's missing the 259 active ones I have on www (user id 105951).

My notification settings look correctly migrated.


Tail emission should be included in the Moneropedia

This is a good point. We can get somebody working on this ASAP.


black page start Kali linux M1 Macbook air  issue

Configuration (required)

UTM Version: ARM64
OS Version: Moterey 12.5
Device Model: Macbook air 2020 M1
Is it jailbroken (name jailbreak used)?
How did you install UTM?

Good day everyone i need your help  im trying to run kali linux on my M1 macbook machine using UTM  but it doesn't pass the black page, at first it was working just fine until i mistakenly deleted some file on my desktop since then it never worked again
your help will be highly appreciated because i checked everywhere and i couldn't find the solution on this particular , a step by step solution will be highly appreciated  even if its a short video will help since i'll be able to follow through, i have tried everything i just can't get it right and it frustrates me.

Try this: #4090

Thank you so much it works perfect.

I'm running version 4.0.8 of UTM and the mentioned "Full Graphics" and "Text only" options are gone. Is there any other way to get Kali to install?


Ongoing type improvements

On the expense of internal "type-safety" I managed to wiggle my way out of the Prisma types in JS env problem by manually declaring bark functions type. So at the very least libraries can overcome the issue tracked in: https://github.com/prisma/prisma/issues/20128


Thirdparty dependencies during installation

Describe:
When installing areg-sdk, it copies only libraries that are included in the project. To make sure that all dependencies are resolved, there should be a possibility to copy third-party libraries in the binary folder of areg-sdk.

This option should be configurable.
By default, it should not copy.
Make sure that available licenses are copied.
Make sure to ignore system available libraries.

If vcpkg properly configured, there is no need to copy thirdparty libraries. It is checked locally. This ticket can be closed, because no need to copy.


Add goldenTags and summary metrics to the aws vpc network interface e…

Relevant information
GoldenTags and summary metrics for the AWS VPC Network Interface entity which did not have them.
Checklist

[x] I've read the guidelines and understand the acceptance criteria.
[x] The value of the attribute marked as identifier will be unique and valid.
[x] I've confirmed that my entity type wasn't already defined. If it is I'm providing an
explanation above.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Update documentation for new ActivityExtractionParamSet table

Closing, as this table is only on a fork (dj-sciops/lulab_element-calcium-imaging) so we do not need to add documentation.


The K flag doesn't work on lists of strings

Normally, the K flag will convert a string input into a list of ASCII codes, but it doesn't work when the input is a list of strings.Example: Try it Online!
(created by Aaron Miller here)

No K flag = no bug


something's aren't working

Describe your bug here.
Week 1 stagecurtains & stage_light are gone, Week 3 sky & behindTrain are gone, Week 4 bgLimo, limoDancer & the entire gore folder are gone, Week 5 bgEscalator & upperBop are gone, and Week 6 bgFreaks & bgGhouls are gone.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build?


newbies folder

apparently there is a newbies folder now.

Maybe in the next R Journal issue we can hope for a new description of folders? There was one in https://journal.r-project.org/archive/2018-1/cran.pdf

Or maybe one could ask on R-package-devel. :woman_shrugging:

New categories in the table above are newbies(a specific queue for the manual inspection of first time CRAN submissions) and waiting(packages for which the CRAN team waits for an answer from the maintainer).

https://journal.r-project.org/archive/2019-1/cran.pdf


feat: do not throw exceptions during transactions by default

Needs #6919
Supersedes #6886
Description

[BC] do not throw exceptions during transactions by default
add $db->transException(true) to throw exceptions
update docs
add tests

Ref: #6909
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

Rebased, and this PR is ready.
@codeigniter4/database-team Please review.

This breaking change is only when DBDebug is true.
If a dev uses the default value (ENVIRONMENT !== 'production'), this does not change the behavior change in production.

Okay, so the impact is minimal.


False click on drag end

I see a couple of similar issues reported but no solution for the problem.
I have a simple slider, no image galleries, but when I click on a item I have to highlight it and start an ajax request.
When I drag the items, as soon as the drag end a false click is detected and my item is highlighted and my ajax request is fired.
This should not happen since I'm still in the process of dragging to decide after where to click.
Is there a solution to prevent this bug? Because this is clearly a bug. Thanks!

I have the same problem. Have you found any solutions?

anyone got a solution to this?

see https://github.com/sachinchoolur/lightslider/issues/113#issuecomment-158691546


[es] Update "Serverless" term in Spanish

Update the content/es/serverless.md term since it is outdated with the original one in English.

solved by https://github.com/cncf/glossary/pull/3229


Changed Reservoir to Supplier<Result>

The running result of sample APK:

It works fine, I will supply the test tomorrow, and update the docs, then republish it.
( I came home from work tonight, feel so tired, have to sleep, good night : )

Looks great though :)


Redisson LZ4 decoder encounter java.lang.IllegalArgumentException: initialCapacity

Hi,
I am trying to use LZ4 encoding in my python code to write data to the Redis cluster, and my Java app reads it.
The issue happens when I try to use the Redisson LZ4 Codec to decompress the LZ4 encoded data from Redis. And the Redisson client start to give "java.lang.IllegalArgumentException: initialCapacity -2147483648 (expected: >= 0)" exception.
This exception happens if the original String is more than 127 characters (include space). If the original String shorter or equal to 127 characters, then decompression works fine and no exception.
========== Detail and Sample Code =============
Here is the detail of the python app where I use to write the data:
Main Library:
Python lz4 3.1.10 - https://python-lz4.readthedocs.io/en/stable/intro.html
Redis-py-cluster 2.1.3 - https://github.com/Grokzen/redis-py-cluster
Sample Code:
from rediscluster import RedisCluster
import lz4.block

redis_client = RedisCluster(startup_nodes=[{"host": "<Redis_host>", "port": "<Port>"}], decode_responses=True)
# Total amount of 'a' is 127, and add one extra 'b' to make it fail in the Java side
# If you keep length of this string smaller or equal to 127, then no exception will happen in java side.
str_val = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab"
lz4_compressed_value = lz4.block.compress(str_val.encode('utf-8'))
redis_client.set("test", lz4_compressed_value)

Here is the detail of the java app where I use to read and decode the data:
Main Library:
Redisson 3.15.1
lz4-java 1.8.0 (If I don't include this dependency in maven, then it will throw "NoClassDefFoundError: net/jpountz/lz4/LZ4Factory" exception)
Sample Code:
public class RedissonTest {

    public static void main(String[] args) throws Exception {

        try {
            Config config = new Config();
            config.useClusterServers().addNodeAddress("redis://<Redis_host:port>");
            RedissonClient redisson = Redisson.create(config);

            RBucket<String> bucket = redisson.getBucket("test", new LZ4Codec(new StringCodec()));
            String res = bucket.get();
            System.out.println(res);

        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}

Here is the exception I encountered:
[redisson-netty-2-29] ERROR org.redisson.client.handler.CommandDecoder - Unable to decode data. channel: [id: 0xc6b22b36, L:/<IP_ADDRESS>:11468 - R:/<IP_ADDRESS>:6360], reply: ReplayingDecoderByteBuf(ridx=22, widx=22), command: (GET), params: [test]
java.lang.IllegalArgumentException: initialCapacity: -2147483648 (expected: >= 0)

=================================
After digging into the code, the value "-2147483648" is coming from the function "buf.readInt()" in "LZ4Codec.java" .
public LZ4Codec(Codec innerCodec) {
        this.factory = LZ4Factory.fastestInstance();
        this.decoder = new Decoder<Object>() {
            public Object decode(ByteBuf buf, State state) throws IOException {
                int decompressSize = buf.readInt();
                ByteBuf out = ByteBufAllocator.DEFAULT.buffer(decompressSize);

If the original string contains 127 or fewer characters, this "buf.readInt()" will return a positive number.
If the original string contains more than 127 character, this "buf.readInt()" will return the negative number as shown above. And "ByteBufAllocator.DEFAULT.buffer(decompressSize)" failed with the exception above.
Both python lz4 library and the lz4-java that I use are based on Yann Collet's LZ4 library written by C. I would like to ask for help if there is anything that I am doing wrong.
Thanks for your time!

Did you resolve the issue?

Hi @mrniko , not yet exactly and I switch to snappy compression instead of LZ4 for now. I will close this issue now, and if I come across the same issue again, I will update this issue.

Experiencing the same issues two years later with org.redisson:redisson:3.23.4 and org.redisson:redisson:3.25.2

Hi SHxKM, did you fix the issue, i am having same issue.

Hi SHxKM, did you fix the issue, i am having same issue.

Yes. It’s because Redisson expects lz4 but lz4 is unavailable at runtime. Including lz4 as separate dependency solved the issue. Not sure @mrniko is aware though.

@SHxKM
Do you mean this https://github.com/lz4/lz4-java/releases dependency?

@mrniko yes


Speech-Recognitin issue

Hi,
While running  "python tensorflow/examples/speech_commands/train.py"
I am getting following issue.::
"ImportError: cannot import name audio_ops"
Please help.

This is a known issue, we haven't released the drivers.
https://stackoverflow.com/questions/45952387/anaconda-install-of-tensorflow-missing-audio-ops-from-contrib-framework


Support dotenv for environment variables

Motivations
It would be nice to support .env file for setting environment variables such as GITHUB_TOKEN, etc.

Would you like to implement this feature? -> maybe if I have time

Solution
Use dotenvy. Simple and quick.
Alternatives
None.
Additional context
I usually find myself using the environment variables while testing a piece of software. However, using plain variables are not secure and I would much prefer placing them in a file instead.

Just going over the things we have talked about here and reporting individual issues for them.

Hey Orhun, thank for opening this.
Imo writing a secret to a file is an antipattern and I don't want to encourage it.
I found that the best way to export an è via variable is by using a password manager.
In this way, the secret isn't written on disk.
For example, this is how to do it with one password: https://developer.1password.com/docs/cli/secrets-environment-variables/
If people still want to use the .env approach, they can use https://github.com/dotenvx/dotenvx which also supports encryption, or sorce the .env file manually.
Wdyt?
Anyway, we should document the results of this discussion in the website 👍

Imo writing a secret to a file is an antipattern and I don't want to encourage it.

I think using environment plaintext variables is worse lmao - but fair.

they can use dotenvx/dotenvx which also supports encryption, or sorce the .env file manually.

Another js binary to add to my system :/ I don't like it that much but I guess my reason for opening this issue is entirely based on personal preference so I respect it if you don't want to support it.

Anyway, we should document the results of this discussion in the website 👍

Yes please, that would be great 👍🏼


Upgrade to Gradle 7

This is to prepare for #3688

Are you working on the build failures?
I don't mind doing it but I don't want to duplicate effort.

Thanks for offering the help. I am attempting to fix this in https://github.com/detekt/detekt/pull/3691

Tests are flaky... is that a known issue with the detekt build? I had to rerun the checks twice before everything came up green.

is that a known issue with the detekt build?

I have been noticing that lately as well. Since we are seeing out-of-memory issues, the first thing I would like to try is to bump Gradle JVM heap sizes.


Changes to types.ts not triggering type/eslint checks

Current behavior
If I have a types only file (say types.ts), changes to this file doesn't cause the plugin to perform type checks or run eslint checks when used in combination with babel-loader.
Expected behavior

Changes to a file that only has types should cause the plugin to do type/eslint checks again so that correct information is reported.
Steps to reproduce the issue

Use the babel-loader example project and add a types.ts file with the following contents:
export type Animal = {
  type: 'Dog' | 'Cat';
  speak: () => string;
};

Change index.ts to:
import { Animal } from './types';

const dog: Animal = {
  speak: () => 'Bark!',
  type: 'Dog',
};

console.log(dog);

Make some change to types.ts and see that nothing happens during yarn dev. Same goes for eslint if it was enabled.
Issue reproduction repository

Environment
{
    "@babel/core": "^7.10.3",
    "@babel/preset-env": "^7.10.3",
    "@babel/preset-typescript": "^7.10.1",
    "babel-loader": "^8.1.0",
    "fork-ts-checker-webpack-plugin": "^5.0.5",
    "typescript": "^3.9.5",
    "webpack": "^4.43.0",
    "webpack-cli": "^3.3.12",
    "webpack-dev-server": "^3.11.0"
}

os: WSL Ubuntu 18.04.4 LTS

Closing as a duplicate of https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/36 (which I've just reopened)
@piotr-oles had hoped this issue would be resolved by v5 - but it looks like it hasn't been.


Clicking new scene from "Scene" popup menu opens 2 new scene tabs

Godot version:
Godot Engine v4.0.dev.custom_build.d817be92c
Does NOT occur on 3.2 Stable
OS/device including version:
Win 10 1903
Issue description:
Scene > New Scene opens 2 scene tabs, not one (2 new scenes are created)
Steps to reproduce:
As above.
Minimal reproduction project:
N/A
Via breakpoints I have seen that
https://github.com/godotengine/godot/blob/d817be92c2d9edce842ab37ab13117743f8a3bee/scene/gui/popup_menu.cpp#L296-L304
Is reached twice, both with pressed = false.
Through some print strings at:
https://github.com/godotengine/godot/blob/d817be92c2d9edce842ab37ab13117743f8a3bee/scene/main/window.cpp#L884
The mouse up (pressed = false) event is being fired twice.

I think this issue is beyond my knowledge at this stage.

Could be related to #37331 (and thus will fixed by the same PR)

Assuming fixed by #37519 as mentioned by @KoBeWi. Please comment if you can still reproduce it.


Beacon Detecting/Lost Region

@sandeepmistry Hi , Is it Possible to know when beacon is out of range?  Eg: we can detect a beacon enters into a region with "onDiscover" method and beacon parameters. likewise,can i get a when a beacon lost/ out of range?
Is there any method available to do that?

This is not supported with in the library, however you can extend the noble example to do something like this: https://github.com/sandeepmistry/noble/blob/master/examples/enter-exit.js
Please submit a pull request if you get something working ...


add cors headers settings

Add cors-headers to enable this feature
Signed-off-by: thimmy687<EMAIL_ADDRESS>

Please check if some aditional advanced setup is required:
https://github.com/adamchainz/django-cors-headers#configuration


Configure aws partition.

So that partitions other than aws, like aws-us-gov and aws-cn, can be used.

Hi Joshua,
Thanks for the contribution. The code looks good and we'd like to get it merged, but before doing so we want to run it through the tests in our other pipeline (mentioned in #26).
We've put it in our current iteration and someone should be able to do it soon. Apologies again if it takes longer than normal over the holiday period.
Cheers,
Dan

Thanks @combor! I actually included a very similar change in #27 and neglected to include it here. PR updated.

Hi @combor: I was thinking about your comment earlier and agree that validate methods shouldn't mutate the config, so I tried a slightly different approach--setting defaults on json unmarshal. WDYT?

Hm, that seems to hide FillDefaults method deep in an unexpected place :)
How about sth like this:
--- a/config.go
+++ b/config.go
@@ -11,11 +11,11 @@ import (
 )

 type Config struct {

-       RDSConfig          rdsbroker.Config `json:"rds_config"`
+       RDSConfig          *rdsbroker.Config `json:"rds_config"`
 }

 func LoadConfig(configFile string) (config *Config, err error) {
@@ -38,6 +38,8 @@ func LoadConfig(configFile string) (config *Config, err error) {
                return config, err
        }

+       config.FillDefaults()
+
        if err = config.Validate(); err != nil {
                return config, fmt.Errorf("Validating config contents: %s", err)
        }
@@ -45,6 +47,10 @@ func LoadConfig(configFile string) (config *Config, err error) {
        return config, nil
 }

+func (c *Config) FillDefaults() {
+       c.RDSConfig.FillDefaults()
+}
+

?

Yep, that sounds better, updated!

Some minor leftovers to fix and we are good to go.

Thanks, updated.

Cool, looks good now and passes our acceptance tests. Merging...thanks for contribution!


v0.0.5 version bump & changelog update

v0.0.5 - 2023-09-12 - Write that which we can read

ZoneFileProvider, full support writing zone files out to disk
ZoneFileSource.list_zones added to support dynamic zone config

/cc https://pypi.org/project/octodns-bind/0.0.5/


Migration to Swift 4.

Full migration and all warnings solved. Cocoapods assets updated (please tag accordingly).

Hi @LilMoke! The podspec must be published in order for you to use it directly. You can use the fork repo, like this:
pod 'WWCalendarTimeSelector', :git => 'https://github.com/intellitour/WWCalendarTimeSelector.git', :tag => '1.4.3'


Create PULL_REQUEST_TEMPLATE.md

[ ] CHANGELOG.md updated
[ ] Rebased/mergable
[ ] Tests pass
[ ] Sign CLA (if not already signed)

Create a template for pull requests.

Already done apparently.


added mysql connector django to the mysql engines

Closes #1445

Coverage decreased (-0.02%) to 69.434% when pulling 7f5e3aed238ed7050e3c55e02783b435ddb6248d on ethanhowell:master into 3129261da6db466ae2ce180512b7946b358ca20a on django-extensions:master.

Coverage decreased (-0.02%) to 69.434% when pulling 7f5e3aed238ed7050e3c55e02783b435ddb6248d on ethanhowell:master into 3129261da6db466ae2ce180512b7946b358ca20a on django-extensions:master.

Thanks !


'unicode' is not defined

Hi,
Firts of all congratz for this amazing picker and for ending the AnimSchool monopoly.
Me and other animators are all having the same problem loading the picker.
Error: NameError: file C:/Users/User/Documents/maya/scripts\dwpicker\optionvar.py line 59: name 'unicode' is not defined
Im using Maya 2022, Win10.
Any solution to this?
Cheers.

Hi, Maya2022 is using python 3 which cause that issue.
I don't tested yet the picker in that environment (it will be done asap)
Then I can't promise that you will not encounter other issues until it will released safe for 2022. At that time, I just pushed a small fix for that particulary bug. It is not included in a release but you can download the code directly. ::crossed_fingers::
I'll advance the python3 milestone for next friday (But i think i should be done before)
Thanks for the support and the report.

Same error, different line.
Error: NameError: file C:/Users/Zaka/Documents/maya/scripts\dwpicker\optionvar.py line 71: name 'unicode' is not defined
I guess we have to wait for a 2022 release.
Thanks.

Ok :s
Sorry if I had a maya 22 on my personnal machine, I would fix that directly, but it will have to wait i'm back to the studio.
Don't worry, it will be really soon :)

Hoo damn, I'm so clumsy .. Looking at the fix, i made it but left behind the failing lines. Actually, this error should be gone now.

Working perfectly now!
Thank you!!

Maya 2022 officially supported :) !


[Error] Downloading stash for Standard, details logged to DebugInfo.log, please open a ticket at https://github.com/Stickymaddness/Procurement/issues

Can't log in since new version and don't know how to access DebugInfo.log folder, please help.

Please update to Procurement 1.19.0, and create a new ticket if this is still an issue.


#2098 change averaging for SPMe+SR

Description
Changed the averaging for SEI, lithium plating and porosity submodels for SPM and SPMe. Wait to merge until the citation is updated.
Fixes #2098
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[x] No style issues: $ flake8
[x] All tests pass: $ python run-tests.py --unit
[x] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

I have a few questions about this, let's go over it in the Monday meeting

I have a few questions about this, let's go over it in the Monday meeting

I will miss the next two meetings, but there's no rush on this so happy to chat about when I am back.

Note that I have updated ORegan2021 to ORegan2022 now that it has been published, hence all the files modified.