Impossible to download es-basic:6.3

Bug Description
Impossible to pull es-basic:6.3.x
$ docker pull docker.elastic.co/elasticsearch/elasticsearch-basic:6.3.2
Error response from daemon: manifest for docker.elastic.co/elasticsearch/elasticsearch-basic:6.3.2 not found

Thanks for reporting — you are correct. That image does not exist. With the merging of X-Pack in 6.3.0 there are now only 2 packages any more:

The default one, which includes X-Pack and has the basic license enabled by default; you can start a trial once per major version.
The open source version.

Did you get that information from https://www.docker.elastic.co or somewhere else? To get the 6.3.x packages follow the same pattern as 6.4.0. So docker pull docker.elastic.co/elasticsearch/elasticsearch:6.3.2 should get you what you want.
@karmi I think we need to update https://www.docker.elastic.co. 6.4.0 has the right images, but 6.3.x uses the wrong schema from 6.2.x and earlier.

Yes this information was from https://www.docker.elastic.co/ indeed. I though it was only merged with 6.3.x releases. My bad! An update of the website would be great indeed.

Hi @Nek-, thanks for the report!, that's indeed a bug on the website.
@xeraa , I'd like to transfer it to @fxdgear , who's the main owner of the Docker infrastructure now.

Is this something you are OK to look at now, @fxdgear?

Catching up on old tickets I've been tagged in.
Yes I'll look into this. right now getting Clients-CI up and running is priority number 1 but I'll take a look at this asap


Admin Login Screen Errors

Describe the bug
I created a new Hugo repository with Academic's one-click install. I followed the instructions on the page to set up Netlify CMS, enabled Git Gateway, invited myself as a user, etc.
When I clicked on the invitation email, it correctly brought me to the site and prompted me for a password. I entered it, it said I was logged in, and all was good. Then I tried to go to /admin. No matter what I did, when I clicked on the "Login with Netlify Identity" button, nothing at all happened -- no console errors, no error pop-ups, no anything.
Eventually, at least 5 minutes later, I saw this error:

TypeError: Failed to fetch
...
net::ERR_HTTP2_PROTOCOL_ERROR

After (as recommended in a previous issue) I pushed an inconsequential update to GitHub, the page began throwing ""Git Gateway Error [object Object]" yellow pop-up notifications.
Finally, I was able to get the page to work by sending a password reset email.
To Reproduce
Follow instructions at https://sourcethemes.com/academic/docs/install/#install-with-web-browser without locally cloning the site and editing it first.
Expected behavior

Login would work nicely and without having to first make an inconsequential edit, then send a password reset email.
Screenshots

Applicable Versions:

Netlify CMS version: netlify-cms-app: 2.12.11, netlify-cms-core: 2.25.0, netlify-cms 2.10.47
Git provider: [e.g. GitHub, BitBucket]
Ubuntu (Pop!_OS)
Chrome 81, Firefox

CMS configuration

https://github.com/sourcethemes/academic-kickstart/blob/master/static/admin/config.yml
Additional context

See #3408, #3621 for relevant issues that eventually helped me find a workaround

Hi @nebrelbug is this still an issue? I've seen other cases recently where it takes some time for git-gateway to start working after initial deploy

Same exact issues here. Haven't been able to solve it.

I'm having this issue currently with a Gatsby site using GitHub as the identity provider. It was working great and I had made several blog posts over two weeks through the admin panel. Just went to log on and am getting the API_ERROR: Git Gateway Error: [object Object] message.
I tried enabling and re-enabling identity external providers, and  re-generating the GitHub API access token under services Git Gateway. Tried a fresh deploy and am still getting nothing. Hopefully resolves soon, would really like to know the cause of it.

I'm closing this issue, as we don't seem to have a reproducible workaround.
If someone encounters this issue, please open a new issue and please provide the browser network traffic (requests and responses) for the settings requests, especially the one that errors out.

Note: also commented in #3408
Git Gateway Error: [object Object]
Also experiencing this issue - and I am connecting using Github authentication.
Was working fine yesterday, but today -bluh-. Hopefully someone is keeping their eyes on this : )


Link broken

Streamlit does not display when clicking on link to view webapp.

Deployed app on streamlit displays "app is booting"


Tooltips

What this adds: tooltip with info about county name, population, and water use value. Circle that is being hovered on changes to opacity 1 (rather than 0.8) and is brought to the front. When the mouse moves away, the circle goes back to it's original position (functionally, a duplicate is being made and then deleted). For some reason, the hovers became slow when I added an initial opacity (commented that in the line).
For now this is the rest of #35. Performance can be worked on with #19.

Oops - not actually using "moveToBack" anymore...I need to delete that. Trying out the hovertext function from vizlab first - https://github.com/USGS-VIZLAB/vizlab/blob/d38ee8d61d060f7e6da2d6f4fe930cbb7dc773c0/inst/js/tooltip.js


Support true and false for boolean fields

I just saw that a boolean field will only filter property if its parameter is True or False. "true", "false" are not parsed properly. That seems like something to improve to me, as in the HTML layer, true and false are much more common and natural for parameters, so I suggest that the boolean filter to accept true, True, false and False notation.

Hi @imaia - this was implemented in #270, however it's not the default widget for BooleanFilters. This can be overridden though with the widget param in the constructor.

Spot on.


MobX strict mode

Hello, thanks for your awesome work!
Is there a way to make mobx-persist work with mobx strict mode? When I have it turned on, I get Possible Unhandled Promise Rejection warnings, and the stores are not persisted.
If you guide me I can help with a PR on that, since I really want to use the strict mode. The mobx action uses extras.allowStateChanges function under the hood, I think it can be used to ignore the mobx strict mode.

I just did it wrapping store updating code into extras.allowStateChanges.

@binchik
i have fixed it by wrapping the init function into a action, and released a new version.
thanks for your reporting!


dependencies included in the distribution

having binary blobs which are outputs of other projects is not good.
the transition could be made in the following way:

document which dependency is obtained from where
my guesses:
multiaddr.jar  multibase.jar  multihash.jar: https://github.com/multiformats
hamcrest-core-1.3.jar  junit-4.12.jar: maven repo
cid.jar: ??? I have found only https://github.com/ipfs/go-cid
modify pom.xml to obtain the dependencies in compile time (and build.xml, but actually you should delete it)
delete the lib folder
nudge multiformats to be good citizens and publish in maven. update pom.xm when done
You should also publish in maven, but that's another issue.
If you do 1), i might do 2) for you.

I'm of the view that depending on a third party outside your source tree to be able to compile your project is a bad idea. As soon as that third party is unavailable, you cannot progress. I'm fine with the maven version here doing what it wants (including getting dependencies from a third party), but the ant version, which I use, will continue to vendor it's dependencies into the lib directory. This means that all you need to be able to build and run the project is a checkout of this repository. You are right that the sources should be more documented. Cid is from https://github.com/ipld/java-cid

I've updated the dependency list in the readme

Thank you. Now it's my turn, so I won't close the ticket just yet. Feel free to nudge me if nothing happens.
There are some fundamental differences between the maven and the node.js repository :)
I believe one can count on that once something is in maven, that will stay there.
You have no choice but to stay on the shoulder on others. Your project have a lot of dependencies from the system c library to each of the build tools. Why single out source code dependencies?
All you have to do is to make sure that you are building on solid foundations.

I do not know the owners of the maven central repository and do not want to rely on them staying around. I also want to be able to do a fresh git clone and then have everything I need to build locally, so I should be able to proceed even if I'm offline after the clone.


Wallet Doesn't Show Fiat Value

The interface is currently not displaying the fiat value.
To Do:

Debug why BtcBalanceInFiat is null.

Testing Information:

The API has been tested and is working correctly.

Just o be sure are you on mainnet?

Just o be sure are you on mainnet?

Nice catch! I've forgot that...
Closing the issue


Use HTTP with WinRM when user disables SSL

I've noticed that testinfra always attempts to use HTTPS with the WinRM backend, even when I set the no_ssl query parameter. This is causing problems for me because the host in question is not configured to support HTTPS.
It looks like this bug was probably introduced when the ssl and verify_ssl parameters got inverted--when their names changed, the new names were not added to the 'whitelist' of accepted query parameters on line 51 of testinfra/backend/__init__.py.
Adding no_ssl and no_verify_ssl to the list allows these query parameters to propagate to the WinRMBackend.

In case there was any doubt--I don't think the CI build failing is related to my changes.. it looks like even master is failing right now: https://travis-ci.org/philpep/testinfra/jobs/415373327

Good catch, merged, thanks for fixing this !

Thanks :)


Using Collapse

Hi,
I am trying to use the collapse shortcode, but I couldn't figure out how. I am really new to Hugo so I struggle adding new stuff.
I was able to use a custom one but was hoping I could keep the same style as the TOC and use it in-text. Could you tell me what am I doing wrong?
(I was just trying the {{ collapse }} option)

@BedirT You can use it like you see here, just include a summary:
https://github.com/sethforprivacy/sethforprivacy.com/blob/master/content/about.md

@sethforprivacy Thanks for the example, and the answer.
I am still getting an error though.
failed to extract shortcode: template for shortcode "collapse" not found

Are you sure you're using this specific theme and have it properly enabled/installed? I don't have mine defined anywhere custom, I'm just using collapse as seen here:
./layouts/shortcodes/collapse.html


Subscribe to states instead of polling

Currently we use locall polling every some seconds to the XML status endpoints: http://192.168.1.xxx/goform/formMainZone_MainZoneXmlStatus.xml
However I noticed that the Marantz Remote App actally receives status updates (such as volume changes) instantly.
Therefore there apperently is some way to subscribe to states/properties using something like a webhook or something, would be awesom if we could figure out how to receive those state updates.
We could then stop polling all the time and receive instant state changes!
I sent an e-mail to Marantz to ask how this works and if they have any documentation.
Is there someone who knows how this works or how to figure this out?
@scarface-4711 do you have any idea?

Moreover the Marantz Remote App manages to know that I am playing from Spotify while all the status xml files just display NETWORK as source but I can not figure out from the xml files if i am playing spotify or some other network source....
Therefore there must be some other way to get status information that we are not yet aware of...

Success!  I am receiving realtime NOTIFY from the receiver after sending a SUBSCRIBE from my desktop computer via postman.   If you read at end you will see I am not sure if this is the endpoint that worked, so read more if it doesn't work.  And maybe your port is different.  Obviously I set that callback port to 80 for convenience.
SUBSCRIBE http://:60006/upnp/event/renderer_dvc/AVTransport
with headers:
HOST :60006
CALLBACK <http://:80/>
NT upnp:event
TIMEOUT Second-180
Below is workflow notes:
Bear with me, I am just keeping notes as I tinker:
I see SSDP coming from the receiver:
NOTIFY * HTTP/1.1
HOST: <IP_ADDRESS>:1900
CACHE-CONTROL: max-age=180
LOCATION: http://<IP_ADDRESS>:60006/upnp/desc/aios_device/aios_device.xml
VERSIONS.UPNP.HEOS.COM: 10,-275207632,-521045671,363364703,1840750642,105553199,-316033077,1711326982,-170053632,363364703,395144743
NETWORKID.UPNP.HEOS.COM: 0418d6f19fae
BOOTID.UPNP.ORG: 965061649
IPCACHE.URL.UPNP.HEOS.COM: /ajax/upnp/get_device_info
NT: urn:schemas-upnp-org:device:MediaServer:1
NTS: ssdp:alive
SERVER: LINUX UPnP/1.0 Denon-Heos/147202
USN: uuid:497d9c87-75d2-2db1-99cf-38fad9f45a2a::urn:schemas-upnp-org:device:MediaServer:1
So I GET http://<IP_ADDRESS>:60006/upnp/desc/aios_device/aios_device.xml and receive:
<?xml version="1.0" encoding="utf-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0"
 xmlns:DMH="http://www.dmglobal.com"
 xmlns:qq="http://www.tencent.com"
 xmlns:avega_media_server="urn:schemas-avegasystems-com:media-server:metadata-1-0:DIDL-Lite"
>
    <specVersion>
        <major>1</major>
        <minor>0</minor>
    </specVersion>
    <device>
        <deviceType>urn:schemas-denon-com:device:AiosDevice:1</deviceType>
        <friendlyName>TV Speakers</friendlyName>
        <manufacturer>Denon</manufacturer>
        <manufacturerURL>http://www.denon.com</manufacturerURL>
        <modelName>Denon AVR-X1500H</modelName>
        <modelNumber>Aios 4.025</modelNumber>
        <serialNumber>AYW27181117704</serialNumber>
        <UDN>uuid:c5f13838-c15e-1453-0080-0005cdd1f6ea</UDN>
        <DMH:X_Audyssey>00000002</DMH:X_Audyssey>
        <DMH:X_AudysseyPort>1256</DMH:X_AudysseyPort>
        <DMH:X_WebAPIPort>8080</DMH:X_WebAPIPort>
        <deviceList>
            <device>
                <deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
                <friendlyName>TV Speakers</friendlyName>
                <manufacturer>Denon</manufacturer>
                <manufacturerURL>http://www.denon.com</manufacturerURL>
                <modelName>Denon AVR-X1500H</modelName>
                <modelNumber>Aios 4.025</modelNumber>
                <UDN>uuid:aa583ee8-ebb5-196f-0080-0005cdd1f6ea</UDN>
                <qq:X_QPlay_SoftwareCapability>QPlay:1</qq:X_QPlay_SoftwareCapability>
                <serviceList>
                    <service>
                        <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
                        <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
                        <SCPDURL>/upnp/scpd/renderer_dvc/AVTransport.xml</SCPDURL>
                        <controlURL>/upnp/control/renderer_dvc/AVTransport</controlURL>
                        <eventSubURL>/upnp/event/renderer_dvc/AVTransport</eventSubURL>
                    </service>
                    <service>
                        <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
                        <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
                        <SCPDURL>/upnp/scpd/renderer_dvc/ConnectionManager.xml</SCPDURL>
                        <controlURL>/upnp/control/renderer_dvc/ConnectionManager</controlURL>
                        <eventSubURL>/upnp/event/renderer_dvc/ConnectionManager</eventSubURL>
                    </service>
                    <service>
                        <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
                        <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
                        <SCPDURL>/upnp/scpd/renderer_dvc/RenderingControl.xml</SCPDURL>
                        <controlURL>/upnp/control/renderer_dvc/RenderingControl</controlURL>
                        <eventSubURL>/upnp/event/renderer_dvc/RenderingControl</eventSubURL>
                    </service>
                </serviceList>
            </device>
            <device>
                <deviceType>urn:schemas-denon-com:device:AiosServices:1</deviceType>
                <friendlyName>AiosServices</friendlyName>
                <manufacturer>Denon</manufacturer>
                <manufacturerURL>http://www.denon.com</manufacturerURL>
                <modelName>Denon AVR-X1500H</modelName>
                <modelNumber>Aios 4.025</modelNumber>
                <UDN>uuid:4722a897-1630-1532-0080-0005cdd1f6ea</UDN>
                <serviceList>
                    <service>
                        <serviceType>urn:schemas-denon-com:service:ErrorHandler:1</serviceType>
                        <serviceId>urn:denon-com:serviceId:ErrorHandler</serviceId>
                        <SCPDURL>/upnp/scpd/AiosServicesDvc/ErrorHandler.xml</SCPDURL>
                        <controlURL>/upnp/control/AiosServicesDvc/ErrorHandler</controlURL>
                        <eventSubURL>/upnp/event/AiosServicesDvc/ErrorHandler</eventSubURL>
                    </service>
                    <service>
                        <serviceType>urn:schemas-denon-com:service:ZoneControl:2</serviceType>
                        <serviceId>urn:denon-com:serviceId:ZoneControl</serviceId>
                        <SCPDURL>/upnp/scpd/AiosServicesDvc/ZoneControl.xml</SCPDURL>
                        <controlURL>/upnp/control/AiosServicesDvc/ZoneControl</controlURL>
                        <eventSubURL>/upnp/event/AiosServicesDvc/ZoneControl</eventSubURL>
                    </service>
                    <service>
                        <serviceType>urn:schemas-denon-com:service:GroupControl:1</serviceType>
                        <serviceId>urn:denon-com:serviceId:GroupControl</serviceId>
                        <SCPDURL>/upnp/scpd/AiosServicesDvc/GroupControl.xml</SCPDURL>
                        <controlURL>/upnp/control/AiosServicesDvc/GroupControl</controlURL>
                        <eventSubURL>/upnp/event/AiosServicesDvc/GroupControl</eventSubURL>
                    </service>
                </serviceList>
            </device>
            <device>
                <deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>
                <friendlyName>TV Speakers</friendlyName>
                <manufacturer>Denon</manufacturer>
                <manufacturerURL>http://www.denon.com</manufacturerURL>
                <modelDescription>Shares User defined folders and files to other Universal Plug and Play media devices.</modelDescription>
                <modelName>Denon AVR-X1500H</modelName>
                <modelNumber>Aios 4.025</modelNumber>
                <serialNumber>AYW27181117704</serialNumber>
                <UDN>uuid:497d9c87-75d2-2db1-99cf-38fad9f45a2a</UDN>
                <avega_media_server:X_VirtualServersSupported>True</avega_media_server:X_VirtualServersSupported>
                <serviceList>
                    <service>
                        <serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>
                        <serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>
                        <SCPDURL>/upnp/scpd/ams_dvc/ContentDirectory.xml</SCPDURL>
                        <controlURL>/upnp/control/ams_dvc/ContentDirectory</controlURL>
                        <eventSubURL>/upnp/event/ams_dvc/ContentDirectory</eventSubURL>
                    </service>
                    <service>
                        <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
                        <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
                        <SCPDURL>/upnp/scpd/ams_dvc/ConnectionManager.xml</SCPDURL>
                        <controlURL>/upnp/control/ams_dvc/ConnectionManager</controlURL>
                        <eventSubURL>/upnp/event/ams_dvc/ConnectionManager</eventSubURL>
                    </service>
                </serviceList>
            </device>
            <device>
                <deviceType>urn:schemas-denon-com:device:ACT-Denon:1</deviceType>
                <friendlyName>ACT-TV Speakers</friendlyName>
                <manufacturer>Denon</manufacturer>
                <manufacturerURL>http://www.denon.com</manufacturerURL>
                <modelName>Denon AVR-X1500H</modelName>
                <modelNumber>Aios 4.025</modelNumber>
                <serialNumber>AYW27181117704</serialNumber>
                <UDN>uuid:73282090-1dcc-9671-6f2a-bd7738127c5a</UDN>
                <DeviceID>AIOS:0001</DeviceID>
                <firmwareRevision>147202</firmwareRevision>
                <firmware_date>Thu 2019-09-12 02:43:50</firmware_date>
                <firmware_version>1.520.200</firmware_version>
                <lanMac>00:05:CD:D1:F6:E8</lanMac>
                <locale>en_NA</locale>
                <moduleRevision>4</moduleRevision>
                <moduleType>Aios 4.025</moduleType>
                <productRevision>1</productRevision>
                <releaseType>Production</releaseType>
                <wlanMac>00:05:CD:D1:F6:EA</wlanMac>
                <serviceList>
                    <service>
                        <serviceType>urn:schemas-denon-com:service:ACT:1</serviceType>
                        <serviceId>urn:denon-com:serviceId:ACT</serviceId>
                        <SCPDURL>/ACT/SCPD.xml</SCPDURL>
                        <controlURL>/ACT/control</controlURL>
                        <eventSubURL>/ACT/event</eventSubURL>
                    </service>
                </serviceList>
            </device>
        </deviceList>
    </device>
</root>

Interesting here we see WebAPI port and Audyssey port 1265, maybe investigate fun things?
So I GET http://<IP_ADDRESS>:60006/upnp/scpd/renderer_dvc/AVTransport.xml
Big XML maybe come back later (will paste at bottom of post)
Note that HTTP SUBSCRIBE normally is error 400.  Now if I SUBSCRIBE http://<IP_ADDRESS>:60006/upnp/event/renderer_dvc/AVTransport I get:

412 Precondition Failed

that may indicate it understands SUBSCRIBE method.
OK, now I open the app on my phone and turn on the receiver, change volume up & down, note that app is receiving state, turn off receiver.

Here is the full HTTP of the first SUBSCRIBE:
Hypertext Transfer Protocol
SUBSCRIBE /upnp/event/renderer_dvc/ConnectionManager HTTP/1.1\r\n
[Expert Info (Chat/Sequence): SUBSCRIBE /upnp/event/renderer_dvc/ConnectionManager HTTP/1.1\r\n]
Request Method: SUBSCRIBE
Request URI: /upnp/event/renderer_dvc/ConnectionManager
Request Version: HTTP/1.1
HOST: <IP_ADDRESS>:60006\r\n
CALLBACK: http://<IP_ADDRESS>:49200/\r\n
NT: upnp:event\r\n
TIMEOUT: Second-180\r\n
\r\n
[Full request URI: http://<IP_ADDRESS>:60006/upnp/event/renderer_dvc/ConnectionManager]
Included the HOST CALLBACK NT TIMEOUT headers in Postman and got a 200 OK
Changed callback to .81 (the VM running WireShark)
Let's go turn on receiver and move teh knob.
Some grumbling and profanity later.
Upon setting the callback to .51 (my actual computer) port to 80 (don't want to deal with firewall) I am now receiving NOTIFY from the receiver to my desktop computer as I fiddle with it from my phone.  Note that I subscribed to four of the endpoints so I don't know which was correct.  They are listed in that initial xml, the service endpoints. I am tired now.
<e:propertyset
    xmlns:e="urn:schemas-upnp-org:event-1-0">
    <e:property>
        <LastChange>
             [truncated]<Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Mute channel="Master" val="0"/><Mute channel="Zone1" val="0"/><M
            </LastChange>
        </e:property>
    </e:propertyset>

<e:propertyset
    xmlns:e="urn:schemas-upnp-org:event-1-0">
    <e:property>
        <LastChange>
             [truncated]<Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0"><Volume channel="Zone1" val="52"/><VolumeDB channel="Zone1" val="52"/&g
            </LastChange>
        </e:property>
    </e:propertyset>

Here is wireshark filter:
(ip.src==<IP_ADDRESS> and ip.dst==<IP_ADDRESS>) or (ip.dst==<IP_ADDRESS> and ip.src==<IP_ADDRESS>) and http
I changed my mind and don't think I need to paste the big XML.

@JPHutchins Greath work, this sounds really promising!
I was not familiar with postman, but I downloaded and installed it and looks like a nice tool.
When I GET http://192.168.1.IP:60006/upnp/desc/aios_device/aios_device.xml
I get a Could not get any response message...
I am afraid my receiver uses a diffrent port or something.
I have a SR5008 that does not support HEOS.
I hope I can get this protecal working on my receiver.
How do you do:
SUBSCRIBE http://receiverIP:60006/upnp/event/renderer_dvc/RenderingControl
with headers:
HOST receiverIP:60006
CALLBACK <http://yourIP:80/>
NT upnp:event
TIMEOUT Second-180

I do not see any option in postman to use SUBSCRIBE instead of GET?
What can I check to see if this protecoll works on a SR5008?

I just found the following new endpoints that work for my receiver SR5008:
http://192.168.1.IP:8080/description.xml
http://192.168.1.IP:8080/RenderingControl/desc.xml
http://192.168.1.IP:8080/ConnectionManager/desc.xml
http://192.168.1.IP:8080/AVTransport/desc.xml
http://192.168.1.IP/goform/spotifyConfig (gives an error that I supplied an invallid command)
The remote app uses a lot of
http://192.168.1.IP/goform/AppCommand.xml
and I can now also capture the request that is sends and the responses that it gets.
Will see if I get something working

Note that HTTP SUBSCRIBE normally is error 400. Now if I SUBSCRIBE http://<IP_ADDRESS>:60006/upnp/event/renderer_dvc/AVTransport I get:

@JPHutchins How do you perform a HTTP SUBSCRIBE?
Do you do that with postman or with python?
How does that work?
I am wondering if I could subscribe to the http://192.168.1.IP:8080/AVTransport/desc that I just found...

I think that you need to use wireshark to sniff the SSDP that I got that port 60006 xml endpoint from.  That xml should contain a summary of what services are available.
Sent from my iPhone

On Feb 10, 2020, at 12:19 PM, starkillerOG<EMAIL_ADDRESS>wrote:
Note that HTTP SUBSCRIBE normally is error 400. Now if I SUBSCRIBE http://<IP_ADDRESS>:60006/upnp/event/renderer_dvc/AVTransport I get:
@JPHutchins How do you perform a HTTP SUBSCRIBE?
Do you do that with postman or with python?
How does that work?
I am wondering if I could subscribe to the http://192.168.1.IP:8080/AVTransport/desc that I just found...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

If you would like to try subscribe you need to type it in where you would normally select the method.  If you ever get response, including that 412, then you found an endpoint.
Sent from my iPhone

On Feb 10, 2020, at 12:19 PM, starkillerOG<EMAIL_ADDRESS>wrote:
Note that HTTP SUBSCRIBE normally is error 400. Now if I SUBSCRIBE http://<IP_ADDRESS>:60006/upnp/event/renderer_dvc/AVTransport I get:
@JPHutchins How do you perform a HTTP SUBSCRIBE?
Do you do that with postman or with python?
How does that work?
I am wondering if I could subscribe to the http://192.168.1.IP:8080/AVTransport/desc that I just found...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Let’s look at https://github.com/flyte/upnpclient
Sent from my iPhone

On Feb 10, 2020, at 12:19 PM, starkillerOG<EMAIL_ADDRESS>wrote:
Note that HTTP SUBSCRIBE normally is error 400. Now if I SUBSCRIBE http://<IP_ADDRESS>:60006/upnp/event/renderer_dvc/AVTransport I get:
@JPHutchins How do you perform a HTTP SUBSCRIBE?
Do you do that with postman or with python?
How does that work?
I am wondering if I could subscribe to the http://192.168.1.IP:8080/AVTransport/desc that I just found...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@starkillerOG I'd like for you to try the upnpclient library since this already seems promising for implementation (though the existing ssdp could be expanded, I just like other people doing the work ;))
pip install upnpclient
python3

Now in python3 repl:
import upnpclient as upnp
devices = upnp.discover()
devices

This should print a list of discovered upnp on your network.  Note the index number (mine is 1) and assign it to d:
d = devices[1]
d.services

This prints some capabilities, let's compare:
[
  <Service service_id='urn:upnp-org:serviceId:AVTransport'>,
  <Service service_id='urn:upnp-org:serviceId:ConnectionManager'>,
  <Service service_id='urn:upnp-org:serviceId:RenderingControl'>,
  <Service service_id='urn:denon-com:serviceId:ErrorHandler'>,
  <Service service_id='urn:denon-com:serviceId:ZoneControl'>,
  <Service service_id='urn:denon-com:serviceId:GroupControl'>,
  <Service service_id='urn:upnp-org:serviceId:ContentDirectory'>,
  <Service service_id='urn:upnp-org:serviceId:ConnectionManager'>,
  <Service service_id='urn:denon-com:serviceId:ACT'>
]

Now let's see if we can find your endpoint!
d.location

For me this displays:
'http://<IP_ADDRESS>:60006/upnp/desc/aios_device/aios_device.xml'

This is part of the upnp protocol, a description of available services.  Apparently this is fairly standardized so I probably wasted some time using wireshark.

When I run:
import upnpclient as upnp
devices = upnp.discover()

I get these errors regarding my SR5008:
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (<string>, line 4)' for http://192.168.1.xxx:8080/description.xml
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (<string>, line 4)' for http://192.168.1.xxx:8080/description.xml
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (<string>, line 4)' for http://192.168.1.xxx:8080/description.xml
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (<string>, line 4)' for http://192.168.1.xxx:8080/description.xml
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (<string>, line 4)' for http://192.168.1.xxx:8080/description.xml
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (<string>, line 4)' for http://192.168.1.xxx:8080/description.xml

If I then run devices, I do get a list summing up some devices I have on my network but the Marantz is not in there, probably because of those errors mentioned above....
If I look at http://192.168.1.xxx:8080/description.xml I get the following XML:
<?xml version="1.0"?>
<root
  xmlns="urn:schemas-upnp-org:device-1-0"
  xmlns:ms=" urn:microsoft-com:wmc-1-0"
  xmlns:smsc="www.smsc.com"
  xmlns:qq="http://www.tencent.com"
  xmlns:pnpx="http://schemas.microsoft.com/windows/pnpx/2005/11"
  xmlns:df="http://schemas.microsoft.com/windows/2008/09/devicefoundation">
	<specVersion>
		<major>1</major>
		<minor>0</minor>
	</specVersion>
	<device>
		<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>
		<pnpx:X_compatibleId>MS_DigitalMediaDeviceClass_DMR_V001
				</pnpx:X_compatibleId>
		<pnpx:X_deviceCategory>MediaDevices
				</pnpx:X_deviceCategory>
		<pnpx:X_hardwareId>VEN_0126&DEV_0022&REV_01
				</pnpx:X_hardwareId>
		<df:X_deviceCategory>Multimedia.DMR
				</df:X_deviceCategory>
		<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
		<friendlyName>?</friendlyName>
		<manufacturer>Marantz</manufacturer>
		<manufacturerURL>http://www.marantz.com</manufacturerURL>
		<modelDescription>AV SURROUND RECEIVER</modelDescription>
		<modelName>*SR5008</modelName>
		<modelNumber>5008</modelNumber>
		<modelURL>http://www.marantz.com</modelURL>
		<serialNumber>?</serialNumber>
		<UDN>?</UDN>
		<UPC>?</UPC>
		<iconList>
			<icon>
				<mimetype>image/jpeg</mimetype>
				<width>48</width>
				<height>48</height>
				<depth>24</depth>
				<url>/BCO_device_sm_icon.jpg</url>
			</icon>
			<icon>
				<mimetype>image/jpeg</mimetype>
				<width>120</width>
				<height>120</height>
				<depth>24</depth>
				<url>/BCO_device_lrg_icon.jpg</url>
			</icon>
			<icon>
				<mimetype>image/png</mimetype>
				<width>48</width>
				<height>48</height>
				<depth>24</depth>
				<url>/BCO_device_sm_icon.png</url>
			</icon>
			<icon>
				<mimetype>image/png</mimetype>
				<width>120</width>
				<height>120</height>
				<depth>24</depth>
				<url>/BCO_device_lrg_icon.png</url>
			</icon>
		</iconList>
		<serviceList>
			<service>
				<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
				<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
				<SCPDURL>/RenderingControl/desc.xml</SCPDURL>
				<controlURL>/RenderingControl/ctrl</controlURL>
				<eventSubURL>/RenderingControl/evt</eventSubURL>
			</service>
			<service>
				<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
				<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
				<SCPDURL>/ConnectionManager/desc.xml</SCPDURL>
				<controlURL>/ConnectionManager/ctrl</controlURL>
				<eventSubURL>/ConnectionManager/evt</eventSubURL>
			</service>
			<service>
				<serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
				<serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
				<SCPDURL>/AVTransport/desc.xml</SCPDURL>
				<controlURL>/AVTransport/ctrl</controlURL>
				<eventSubURL>/AVTransport/evt</eventSubURL>
			</service>
		</serviceList>
		<presentationURL>http://192.168.1.xxx</presentationURL>
	</device>
</root>

Note that I replaced IP with xxx and some unimportant info with ?
I am pretty sure the problem is the space " " in the urn in line 4:
xmlns:ms=" urn:microsoft-com:wmc-1-0"
Will see if I can fix this by edeting upnpclient.

Try the subscribe url from postman again like in my original post but use port 8080 instead of 60006.
Are you 100% sure that it is not in the devices list, it sure looks like it found it!
Sent from my iPhone

On Feb 10, 2020, at 11:31 PM, starkillerOG<EMAIL_ADDRESS>wrote:
When I run:
import upnpclient as upnp
devices = upnp.discover()
I get these errors regarding my SR5008:
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (, line 4)' for http://192.168.1.xxx:8080/description.xml
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (, line 4)' for http://192.168.1.xxx:8080/description.xml
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (, line 4)' for http://192.168.1.xxx:8080/description.xml
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (, line 4)' for http://192.168.1.xxx:8080/description.xml
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (, line 4)' for http://192.168.1.xxx:8080/description.xml
Error 'xmlns:ms: ' urn:microsoft-com:wmc-1-0' is not a valid URI, line 4, column 40 (, line 4)' for http://192.168.1.xxx:8080/description.xml
If I then run devices, I do get a list summing up some devices I have on my network but the Marantz is not in there, probably because of those errors mentioned above....
If I look at http://192.168.1.xxx:8080/description.xml I get the following XML:

1
0

<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>
pnpx:X_compatibleIdMS_DigitalMediaDeviceClass_DMR_V001
</pnpx:X_compatibleId>
pnpx:X_deviceCategoryMediaDevices
</pnpx:X_deviceCategory>
pnpx:X_hardwareIdVEN_0126&DEV_0022&REV_01
</pnpx:X_hardwareId>
df:X_deviceCategoryMultimedia.DMR
</df:X_deviceCategory>
urn:schemas-upnp-org:device:MediaRenderer:1
?
Marantz
http://www.marantz.com
AV SURROUND RECEIVER
*SR5008
5008
http://www.marantz.com
?
?
?

image/jpeg
48
48
24
/BCO_device_sm_icon.jpg

image/jpeg
120
120
24
/BCO_device_lrg_icon.jpg

image/png
48
48
24
/BCO_device_sm_icon.png

image/png
120
120
24
/BCO_device_lrg_icon.png

urn:schemas-upnp-org:service:RenderingControl:1
urn:upnp-org:serviceId:RenderingControl
/RenderingControl/desc.xml
/RenderingControl/ctrl
/RenderingControl/evt

urn:schemas-upnp-org:service:ConnectionManager:1
urn:upnp-org:serviceId:ConnectionManager
/ConnectionManager/desc.xml
/ConnectionManager/ctrl
/ConnectionManager/evt

urn:schemas-upnp-org:service:AVTransport:1
urn:upnp-org:serviceId:AVTransport
/AVTransport/desc.xml
/AVTransport/ctrl
/AVTransport/evt

http://192.168.1.xxx

Note that I replaced IP with xxx and some unimportant info with ?
I am pretty sure the problem is the space " " in the urn in line 4:
xmlns:ms=" urn:microsoft-com:wmc-1-0"
Will see if I can fix this by edeting upnpclient.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@JPHutchins we are making progress, the orignal url that you used does not work for me, but the url specified in the http://192.168.1.xxx:8080/description.xml of my receiver do give responses:
I used postman
SUBSCRIBE: http://192.168.1.ReceiverIP:8080/AVTransport/evt
with the headers:
HOST: 192.168.1.ReceiverIP:8080
CALLBACK: http://192.168.1.PC_IP:80/
NT: upnp:event
TIMEOUT: Second-180

I get response "412 Precondition Failed" so i would say that is progress
using the same headers I get:
http://192.168.1.ReceiverIP:8080/RenderingControl/evt --> 412 Precondition Failed
http://192.168.1.ReceiverIP:8080/ConnectionManager/evt --> 412 Precondition Failed
http://192.168.1.ReceiverIP:8080/AVTransport/evt --> 412 Precondition Failed

http://192.168.1.ReceiverIP:8080/ConnectionManager/ctrl --> 405 Method Not Allowed

@JPHutchins yes I am sure the Marantz is not listed in devices after using
import upnpclient as upnp
devices = upnp.discover()
devices

That is disappointing.
change CALLBACK: http://192.168.1.PC_IP:80/ to CALLBACK: <http://192.168.1.PC_IP:80/>

@JPHutchins you are a greath help, thank you!!!
changed CALLBACK to <http://192.168.1.PC_IP:80/> and I got a 200 OK response!
I used postman
SUBSCRIBE: http://192.168.1.ReceiverIP:8080/AVTransport/evt
with headers:
HOST: 192.168.1.ReceiverIP:8080
CALLBACK: <http://192.168.1.PC_IP:80>
NT: upnp:event

(I did not need the timeout)
All endpoints now respond with 200 OK:
http://192.168.1.ReceiverIP:8080/RenderingControl/evt --> 200 OK
http://192.168.1.ReceiverIP:8080/ConnectionManager/evt --> 200 OK
http://192.168.1.ReceiverIP:8080/AVTransport/evt --> 200 OK

On wirshark on my PC I see a synchoronize tcp SYN coming from the Marantz to the PC on the port I specify with CALLBACK, unfortanetly this SYN is never acknowledged or responded to so I see a few retransmissions of the SYN coming from the Marantz to the PC and then it quits.
I never see any notifications of vollume changes, but I guess that is because the connection of the callback cannot be established properly.
@JPHutchins How did you manage to establish that callback connection and receive the events?

I managed to receive some Notify:)
I used the following python script to receive the notification and open a port:
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('192.168.1.PC_IP', 50000))
s.listen(1)
socksize = 1024
print("Now listening...\n")
conn, addr = s.accept()
print('New connection from %s:%d' % (addr[0], addr[1]))

while True:
    data = conn.recv(socksize)
    if data:
        print(data)
    elif data == 'killsrv':
        conn.close()
        sys.exit()

print("closing socket")
s.close()

I used the subscription in postman of my previous command and a random port number (like 50000), to endpoint: http://192.168.1.Receiver_IP:8080/RenderingControl/evt
I then received the following:
b'NOTIFY / HTTP/1.1\r\nHOST: 192.168.1.PC_IP:50014\r\nCONTENT-TYPE: text/xml;charset="utf-8"\r\nCONTENT-LENGTH: 502\r\nNT: upnp:event\r\nNTS: upnp:propchange\r\nSID: uuid:???\r\nSEQ: 0\r\n\r\n'
b'<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0">\r\n  <e:property>\r\n    <LastChange><Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/">\r\n  <InstanceID val="0">\r\n    <PresetNameList val="FactoryDefaults, InstallationDefaults"/>\r\n    <Mute channel="Master" val="0"/>\r\n    <Volume channel="Master" val="0"/>\r\n  </InstanceID>\r\n</Event></LastChange>\r\n  </e:property>\r\n</e:propertyset>\r\n'

Unfortunately I do not receive any additional event/notifies when I change vollume or channel....
If I look at the http://192.168.1.Receiver_IP:8080/RenderingControl/desc.xml I see:
<?xml version="1.0"?>
<scpd
  xmlns="urn:schemas-upnp-org:service-1-0">
	<specVersion>
		<major>1</major>
		<minor>0</minor>
	</specVersion>
	<actionList>
		<action>
			<name>ListPresets</name>
			<argumentList>
				<argument>
					<name>InstanceID</name>
					<direction>in</direction>
					<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
				</argument>
				<argument>
					<name>CurrentPresetNameList</name>
					<direction>out</direction>
					<relatedStateVariable>PresetNameList</relatedStateVariable>
				</argument>
			</argumentList>
		</action>
		<action>
			<name>SelectPreset</name>
			<argumentList>
				<argument>
					<name>InstanceID</name>
					<direction>in</direction>
					<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
				</argument>
				<argument>
					<name>PresetName</name>
					<direction>in</direction>
					<relatedStateVariable>A_ARG_TYPE_PresetName</relatedStateVariable>
				</argument>
			</argumentList>
		</action>
		<action>
			<name>GetMute</name>
			<argumentList>
				<argument>
					<name>InstanceID</name>
					<direction>in</direction>
					<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
				</argument>
				<argument>
					<name>Channel</name>
					<direction>in</direction>
					<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
				</argument>
				<argument>
					<name>CurrentMute</name>
					<direction>out</direction>
					<relatedStateVariable>Mute</relatedStateVariable>
				</argument>
			</argumentList>
		</action>
		<action>
			<name>SetMute</name>
			<argumentList>
				<argument>
					<name>InstanceID</name>
					<direction>in</direction>
					<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
				</argument>
				<argument>
					<name>Channel</name>
					<direction>in</direction>
					<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
				</argument>
				<argument>
					<name>DesiredMute</name>
					<direction>in</direction>
					<relatedStateVariable>Mute</relatedStateVariable>
				</argument>
			</argumentList>
		</action>
		<action>
			<name>GetVolume</name>
			<argumentList>
				<argument>
					<name>InstanceID</name>
					<direction>in</direction>
					<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
				</argument>
				<argument>
					<name>Channel</name>
					<direction>in</direction>
					<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
				</argument>
				<argument>
					<name>CurrentVolume</name>
					<direction>out</direction>
					<relatedStateVariable>Volume</relatedStateVariable>
				</argument>
			</argumentList>
		</action>
		<action>
			<name>SetVolume</name>
			<argumentList>
				<argument>
					<name>InstanceID</name>
					<direction>in</direction>
					<relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
				</argument>
				<argument>
					<name>Channel</name>
					<direction>in</direction>
					<relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
				</argument>
				<argument>
					<name>DesiredVolume</name>
					<direction>in</direction>
					<relatedStateVariable>Volume</relatedStateVariable>
				</argument>
			</argumentList>
		</action>
	</actionList>
	<serviceStateTable>
		<stateVariable sendEvents="no">
			<name>PresetNameList</name>
			<dataType>string</dataType>
		</stateVariable>
		<stateVariable sendEvents="yes">
			<name>LastChange</name>
			<dataType>string</dataType>
		</stateVariable>
		<stateVariable sendEvents="no">
			<name>Mute</name>
			<dataType>boolean</dataType>
		</stateVariable>
		<stateVariable sendEvents="no">
			<name>Volume</name>
			<dataType>ui2</dataType>
			<allowedValueRange>
				<minimum>255</minimum>
				<maximum>0</maximum>
				<step>1</step>
			</allowedValueRange>
		</stateVariable>
		<stateVariable sendEvents="no">
			<name>A_ARG_TYPE_Channel</name>
			<dataType>string</dataType>
			<allowedValueList>
				<allowedValue>Master</allowedValue>
			</allowedValueList>
		</stateVariable>
		<stateVariable sendEvents="no">
			<name>A_ARG_TYPE_InstanceID</name>
			<dataType>ui4</dataType>
		</stateVariable>
		<stateVariable sendEvents="no">
			<name>A_ARG_TYPE_PresetName</name>
			<dataType>string</dataType>
			<allowedValueList>
				<allowedValue>FactoryDefaults</allowedValue>
			</allowedValueList>
		</stateVariable>
	</serviceStateTable>
</scpd>

I see the sendEvents="no" in a lot of places, is this also the case with you @JPHutchins?
I think that is my current problem, not sure how to get those to "yes"......
Probably through the http://192.168.1.Receiver_IP:8080/RenderingControl/ctrl endpoint with some POST but do not have a qlue what to sent....
any ideas @JPHutchins?

If I do my best to format the event that I received I get:
<e:propertyset xmlns:e="urn:schemas-upnp-org:event-1-0">
  <e:property>
    <LastChange>
      <Event xmlns='urn:schemas-upnp-org:metadata-1-0/RCS/'>
       <InstanceID val='0'>
           <PresetNameList val='FactoryDefaults, InstallationDefaults'>
           <Mute channel='Master' val='0'>
           <Volume channel='Master' val='0'>
        </InstanceID>
      </Event>
    </LastChange>
  </e:property>
</e:propertyset>

Litle bit strange it gives me a vollume value of 0 while I am playing music and the vollume is defenitly not 0!

@starkillerOG  To trigger the events I was moving the volume up and down.  My XML for RenderingControl is very similar with a lot of sendEvents="no" so hopefully we don't have to get too fiddly.
I would keep that socket open and subscribe to all of the evt endpoints(RenderingControl, AVTransport, ConnectionManager) you have found changing the volume up and down  after each subscription (remotely is OK - at least that's how I've done it) until you see greater frequency of NOTIFYs.

@starkillerOG I would also encourage running WireShark with filter ip.src==receiverIP and take a look at the SSDP broadcast message.  It should have a "Location" tag that points you to the upnp endpoint - maybe you have discovered an older implementation that is partially working or something?
Please paste the output of the SSDP here for documentation purposes.

Here is the SSDP output from a packet capture:
M-SEARCH * HTTP/1.1
Content-Length: 0
ST: urn:schemas-upnp-org:device:MediaRenderer:1
MX: 3
MAN: "ssdp:discover"
HOST: <IP_ADDRESS>:1900

HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
EXT:
LOCATION: http://192.168.1.Receiver_IP:8080/description.xml
SERVER: KnOS/3.2 UPnP/1.0 DMP/3.5
ST: urn:schemas-upnp-org:device:MediaRenderer:1
USN: uuid:???::urn:schemas-upnp-org:device:MediaRenderer:1

(Note: I have replaced the Receiver_IP and USN:uuid).

@JPHutchins What program/script did you use to capture the Notifies?


unconditional class generation

Hello, I am a beginner, I have downloaded the model of VIT-B, may I ask how I should import my own data set for unconditional class generation?
Thank you for your answer，this will help me tremendously.

The pre-trained model we release can perform unconditional image generation on ImageNet. If you want a model for unconditional generation on your own dataset, you need to pre-train MAGE on that dataset by yourself.


Current client-go version (v0.26.3) contains possible panic in discovery

/bug
Please update project calico to use client-go version to v0.26.4+
Why: Possible panic when using client-go v0.26.0 - v0.26.3 (looks like current client-go is affected: v0.26.3) for discovery.
kubernetes issue: https://github.com/kubernetes/kubernetes/issues/119840

Thanks, I'd working on this.

https://github.com/projectcalico/calico/blob/60f8a9e884567ca690487849ff9df991091eced0/go.mod#L92
We using v0.26.5, It seems we are safe.


function "norms" not defined or found

matlab implementation of pogs calls norms(matrix, int, int), line 355 and 357. To my believe this function is not provided.

Hi wensoffthewall, it should have been vecnorm not norms. Not quite sure how it got there. I've fixed it now.


Defaults to fix

If you are using defaultsTo and pass in a value of undefined the hasOwnProperty check was failing. This fixes that and will set the value correctly.
Also will need to be hot patched on the 0.10.x branch after merge.

Looks good to me :white_check_mark:

Looooooooks mergeable to me :)


ResolveUrl() don't work with tag

ResolveUrl() don't work with tag <base href="...">
If page contains tag <base href="...">, resolving must be relatively href attribute, now is relatively browser url.

Looks good. Thanks for the PR.

@headzoo when I can view my fix after
go get github.com/headzoo/surf
or
go get gopkg.in/headzoo/surf.v1
?
I need this fix in my project, but I dont want to edit local package

I pushed tag v1.0.1. Give go get a try now using that version.


Add ShortBuffer and FloatBuffer to API whitelist

These are useful for audio buffers. While it's still necessary to
copy to a ByteBuffer when passing it on to Terasology, this
helps a lot during synthesis and effect processing.
Additionally, these are analogous to ByteBuffer and IntBuffer. So
it seems reasonable to have these too. (And in a future PR,
maybe DoubleBuffer, LongBuffer and CharBuffer?)

Contains
Brief description of what the PR does like "Fixes #12345"
How to test
Brief description of how to test / confirm this PR before merging
Outstanding before merging
If anything. You can use neat checkboxes! Feel free to delete if not needed

[ ] Need to consider use case x
[ ] Still have to adjust the wiki doc
[ ] Will need translation work

Can one of the admins please verify this patch?

@GooeyHub: ok to test
Thanks @SoniEx2

Hooray Jenkins reported success with all tests good!

@SoniEx2 thanks for taking the initiative and making a PR! If you'd like, you can add the other buffers to the whitelist in this PR itself; I personally don't see why they shouldn't be whitelisted :)

should I add Buffer as well?

also, what about Buffer*Exceptions, etc?

I would say to just add what you are immediately using, or we could keep suggesting classes till we're out of Java :-)
Speaking of - it would be nice to actually see some of the code this is being used for. Open source and all that.
I'm going to merge this as-is and suggest for you to feel free to submit a second PR for the other plain Buffer classes if you're going to use them, ideally with some actual details for what you're using them for (audio stuff - I get that much. Like links to a module repo eventually). That'll also give you another chance to heed the PR template 👍
Thanks for the review and confirmation @eviltak!

so basically, I'm making a non-Terasology-specific voxel game DAW/noteblock library. (don't worry, its license is explicitly incompatible with Minecraft.) just plain Java and you write your own bindings on top.
I'm not sure if you can .flip() FloatBuffers and other buffers without the Buffer class being in the sandbox. I haven't tried it yet. so maybe I'll need to add it as well.
the point of the library, however, is to be extensible. it'll provide the basics and then you attach whatever you want to it. FM synts, ADSR envelopes, whatever.


Updated repositories.toml with this repo(https://github.com/Syknapse/Contribute-To-This-Project)

ℹ Repository information
The repository has:

[ ] At least three issues with the good first issue label.
[ ] At least 10 contributors.
[ ] Detailed setup instructions for the project.
[ ] CONTRIBUTING.md
[ ] Actively maintained.

Hey @amishaagg  ! I tried to contribute to this repo as well but I haven't seen any activity in the last few months. I decided to fork it to keep it alive. Please see https://github.com/lucavallin/gfi and feel free to open a pull request there. At this time I am setting up the hosting and cleaning up the code. If you're up for it, I could use some help to convert the app from Nuxt.js & Python to Next.js & Typescript.


Updates to token security policy issue #715

This PR fixes (is supposed to fix) the security handling of server according to spec. @sbender9 could you do a review? I've tested the REST part of the policy against https://github.com/fabdrol/signalk-js-client/tree/sdk - which works now.

@sbender9 changes have been made. @tkurki can you complete your review? I believe it's outdated ;-). Then we can merge.

Closing for inactivity, feel free to reopen.


Fake dates with GZDates

:warning: Train
This PR includes #1, #2 and #3 PRs.
:tophat: What? Why?
Added new GZDates class to create random dates. Can easily create dates around current day, or fordward/backward or around a specific date.
:clipboard: Developer checklist

[x] Unit Tests (if necessary)
[x] Documentation

:ghost: GIF

:+1:

:+1:


Change size

I want the highest resolution possible so have selected standard resolution but i would like to control the size of the images using CSS? is this possible?

Yes! The exact CSS selector you use depends on what you have in your template, but this works for the default settings:
#instafeed img {
  width: 500px;
  height: 500px;
}


Fix striping issue from Rob and William

Type of Change

[x] Bug fix (non-breaking change, fixes #5357 )
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Ensure that continuing a restore with striped log backups works
Approach
Clean up the usage of groups in the log backup selection section in Select-DbaBackupInformation. At some point they'd moved to a single value that was throwing things off

Failed appv run doesn't appear to be down to my change.
Asked William to take it for a spin and confirm their issue is fixed and not just my test rig's

yep, agreed. hard fail on their service :/

I'm not sure that this is fixed tbh. I pinged Stuart about it on dbatools slack channel. Testing with my live case was not successful. Maybe needs looking at again.
I'm going to try building a separate test case this weekend. Should this fix be left closed and a new bug filed if the issue remains?

Sorry, slack didn't ping me for the thread reply
My test rig was azure and disk based.
From the slack update I think there might be an issue with the amount of data as well. If it works from disk then it should work from azure. The process doesn't really make any distinction between azure files and 'normal' files other than URL= rather than DISK= when adding the device.
Any chance you can share more details of the files/errors. I'll drop you an email address via twitter if it can't go public, and I've reopened the issue - https://github.com/sqlcollaborative/dbatools/issues/5357 - so keep updates in there


Icons

Started updating some of the icons used on the site to match @vedam's Figma document
Before:

After:

these icons are still used on the new site. i'll leave this open for now for reference


Windows docker instructions

It took me a long time to find the right way to mount a directory from Windows, but in the end it should have a form something like this:
docker run -it --rm -v c:\Users\jordan\Downloads\ds002168:/bids:ro -v c:\Users\jordan\Downloads\ds002168_hippunfold:/output khanlab/hippunfold:latest /bids /output participant --modality T1w -n

TODO docs updates for Windows:

[x] point-and-click to download ds002168 from dropbox (no wget)
[x] add absolute paths to example docker mounts
[x] remove the \ continue line character from examples since windows cmd doesn't recognize it

Git terminal (run on windows) or another bash emulator could avoid these issues but may be more trouble for installation.
Other than these challenges the container appears to be working!

Addressed in https://github.com/khanlab/hippunfold/pull/222


Add support for parallel Cucumber scenarios

Flank and Cucumber
cucumber-android now allows use of Orchestrator and test sharding, I would like to then run these tests in parallel with Firebase.
It would be great if Flank worked for these tests, currently it doesn't find the tests (I assume because it's expecting JUnit 3 and 4 tests) and as a result, runs them all as a single shard.
Please see the below output seen when trying to run the project's 150 tests as 4 shards.
>>$ java -jar ~/flank.jar firebase test android run
AndroidArgs
    gcloud:
      results-bucket: test-lab-bucket
      results-dir: null
      record-video: true
      timeout: 15m
      async: false
      project: project-id
      results-history-name: null
      # Android gcloud
      app: ./app/build/outputs/apk/debug/app-debug.apk
      test: ./app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk
      auto-google-login: true
      use-orchestrator: true
      environment-variables:
        clearPackageData: true
      directories-to-pull:

      performance-metrics: true
      test-targets:

      device:
        - model: Pixel2
          version: 28
          locale: en
          orientation: portrait
      flaky-test-attempts: 2

    flank:
      testShards: 4
      shardTime: 600
      repeatTests: 1
      smartFlankGcsPath:
      files-to-download:

      test-targets-always-run:

      disableSharding: false
RunTests
  Uploading app-debug.apk .
  Uploading app-debug-androidTest.apk .

  Smart Flank cache hit: 0% (0 / 16)
  Shard times: 160s

  16 tests / 1 shard

How do these Cucumber steps show up to dex-test-parse? The parallel execution feature is based on reading the dex byte code.
If the byte code parser can't find them, then Flank doesn't currently have a way of running the tests in parallel. Project Nitrogen is coming later this year and that'll allow us to support more use cases.

They aren't returned. I believe dex-test-parse is picking up references to JUnit TestCase class and @Test annotations.
Thanks for getting back to me. I will try again with Project Nitrogen.

Thanks. Once nitrogen is released, let me know how that goes.


Frame rate when using velocity is low compared with using css transform and transition

macOS latest

VelocityJS version: latest
Browser: chrome
Operating System: macOs

Checklist

Is this an issue with code?: maybe
Is this an issue with documentation?: maybe
Have you reproduced this in other browsers?: yes
Have you checked for updates?: yes
Have you checked for similar open issues?: no

overview
I am using velocity in vue.js. As vue.js document said, I combined velocity with vue transition hooks like this:
<transition
      @before-enter='beforeEnter'
      @enter='enter'
      @leave='leave'
>
      <img
        ref='img'
        v-if='isFloatingImgShow'
        class='floating-img'
        src="../assets/logo.png"
>
</transition>

in css
.floating-img {
    position: absolute;
    right: 50%;
    bottom: 50%;
    transform: translate(50%, 50%);
}

and in my script, the enter hook call back function
enter(el, done) {
      Velocity(el, {opacity: 1}, {duration: 1000});
      Velocity(el,
        {
          right: 0,
          bottom: 0,
          transform: ['translate(0, 0)', 'translate(50%, 50%)']
        },
        {
          duration: 1000,
          delay: 3000,
        }
      );
    },

and now the question is, when the el is transforming to the bottom right of the screen, the frame rate is low, not smooth at all.
but if I use css to controll transform like this:
enter(el, done) {
      Velocity(el, {opacity: 1}, {duration: 1000, complete: () => {el.classList.add('aa')} });
    },

.aa {
    transition: 1000ms;
    right: 0;
    bottom: 0;
    transform: translate(0%, 0%);
  }

then every thing works pretty smooth.
So is the way I use velocity went wrong that caused this?

How did you go about this issue?

I went with Anime.js.
beforeEnter(el) {
        el.style.opacity = 0
        el.style.transform = "translate(0, 26px)"
      },
 enter(el, done) {
        const delay = el.dataset.index * 200
        setTimeout(function () {
          anime({
            targets: el,
            opacity: 1,
            translateY: -26,
            easing: 'easeInOutQuad',
            duration: 500,
            complete: done
          })
        }, delay)


Python cartridge agent component

Wrote the maven-antrun-plugin execution to zip the cartridgeagent/cartridgeagent/* contents
Renamed python_cartridgeagent to cartridgeagent

@chamilad Is this pull request still valid? If not may be we can close it.
Thanks

@imesh This is already merged. Closing.


Add translation feature for comments

+Add cloud translation dependency
+Add a translate button for every comment
+Add a translation server (receives the text and returns translation)
+Add a place to put the translation

LGTM, but I would like to have a screenshot of this working. Can you add one?

LGTM, but I would like to have a screenshot of this working. Can you add one?

Added!


Hidden slides z-index

The hidden slides withing translate3d div cover controls left and right of the slide container making them inaccessible.  For example, I have a scrollbar that cannot be scrolled because the hidden slide is messing it up.

Hi. Can you show me that in a live example?

Hi davidghi,
I must have had the slider margin, width, etc. too wide for its container. I cleaned up my css and things are working now. Thanks.


Component/radio

The labels are already clickable

I'm kind of confused what this component looks like. There is no label, just the radio button?

@nickwaelkens RadioButton contains the label as well. Radio is just the circle.


[substrate] dot is not recognized as an internal or external command, operable program or batch file.

Dear All,
I am very new to this scene and have depleted source in finding the answer for this error.
Please do advise or direct me for the following issue:-

I have followed the guide as per the tutorial on : Create Your First Substrate Chain
I'm using Windows 10 and followed the extra steps in installing the necessary applications
I'm unable to proceed further when I type ./target/release/node-template purge-chain --dev as it gives me the following error:
'.' is not recognized as an internal or external command, operable program or batch file.

Appreciate your assistance.
Thank you.

Are you using Windows Subsystem on Linux? The command you shared is a Linux style command so it makes sense that it would not work natively on Windows, but there are compatibility layers that can be used to allow you to execute commands like this one Windows. Unfortunately, I do not have access to a Windows machine so it's difficult for me to be of much help.

Hi Danforbes,
Thank you for responding.
Im using Windows 10 and the following application was installed to try the tutorial:-

Visual Studio
Rust
LLVM
OpenSSL
CMake

But I think I noticed something when I try running rustup-init.exe, the installation was partly blocked by antivirus.
Any assistance to get full running tutorial?

I might suggest running/installing a Windows Subsystem for Linux (WSL) and running this via the linux WSL.


Update Vacillate.json

The Pull Request resolves Issue #[Issue-Number]
Description:
A brief description about the addition or edits made.
Notes: Delete all the text including this!

The #[Issue-Number] should be replaced with the specific Issue being referenced.

@vaibhavnaikprojects
Please follow the template mentioned in CONTRIBUTING.md
Example is not necessary. Although, kudos to your effort.
Thanks for contributing


server: log even if we have an empty x-request-id

We miss out on logs by forgetting to set this header and that makes debugging harder.

Codecov Report

Merging #590 into master will not change coverage.
The diff coverage is 58.33%.

@@           Coverage Diff           @@
##           master     #590   +/-   ##
=======================================
  Coverage   91.64%   91.64%
=======================================
  Files          64       64
  Lines        5329     5329
=======================================
  Hits         4884     4884
  Misses        300      300
  Partials      145      145


Fix refs for React 16, update deps

The real base is 5af7a3b604734c45c98880f1d9069bd4f31dac5f
This is to make the migration to v3 easier for users.

Thanks @GeKorm, this is a good idea. I've merged this into the appropriate base, but when I run the demo as is it breaks on the carousel demo in particular and the others also don't respond to well to rapid clicks. Would you have time to look at the carousel before I release this?
I'll have time for this on the weekend again, at which point I should manage to fix the open issue with non-updating children. If you can't look into this here I might also fix this over the weekend.

The carousel breaks because it's mutating the props.
Converting
style.cursor = 'pointer'

to
    const newStyle = {...style, cursor: 'pointer'}

    return (
      <div style={newStyle} onClick={this.handleClick}>

fixes it. No clue about the rapid clicks glitch I'm afraid.

Thanks, I've released v2.2.2.

Thanks, I've released v2.2.2.

Hi, @marnusw, thanks for this great lib!
Actually we have some old project depending on this version, and we're trying to look into src for debugging purpose. However the v2.2.2 is not in tag list https://github.com/marnusw/react-css-transition-replace/tags , is there any chance to create this git tag? Thanks.

Thanks, I've released v2.2.2.

Hi, @marnusw, thanks for this great lib!
Actually we have some old project depending on this version, and we're trying to look into src for debugging purpose. However the v2.2.2 is not in tag list https://github.com/marnusw/react-css-transition-replace/tags , is there any chance to create this git tag? Thanks.

I've created a branch for v2.2.2 based on this PR, in case others need it.
https://github.com/evisong/react-css-transition-replace/tree/dev-2.2.2-local


Update Parse Server on Heroku

Hi All,
I deployed Parse Server using the auto-deploy but I'm having issues which I'm told were fixed in 2.1.4, but the parse-server-example is only updated to 2.1.2. Anyone know how to update it on Heroku?
Thanks!

@benc555 did you solve this?

hi, i have the same problem , how do you resolve that?


add raise keyword

add raise keyword

Is this a keyword though?
I cant find it in http://caml.inria.fr/pub/docs/manual-ocaml-312/manual044.html

@anmonteiro You are right. I was just trying examples from here:
https://realworldocaml.org/v1/en/html/error-handling.html and it is actually a function.


Remove "More Culling" by fxmorin

He is not a trustworthy developer: https://www.youtube.com/watch?v=hxIzMQUlDLI
I wasn't aware of it until someone shared this video with me on IRC. I personally removed it from my instance and in my opinion it should be removed from the mod pack as well since the author is known to spread malicious code.

that's extremely old news. i think i've briefly heard of that drama; i'm certain fx isn't the same person today as he was 2 years ago, is very sorry about what he's done there and won't do it again.

Do we know how much the culling mod contributes to performance? If it isn't significant then it significantly outweighs the potential risks.

not really atm. i could benchmark the game with and without the mod but i don't think that's nessesary, once again, the video you've sent is extremely old news and i trust fx to have become a better person since then.


Browserify support should be opt-in

When running, for example:
donejs add plugin

I think the browserify support added to package.json should be made opt-in via the CLI.
At least there should be some documentation explaining the browserify-specific stuff for package.json, but I'm not sure where such documentation should live.

I think you're right. We can change it to make it opt-in and disabled by default. It seems to be more likely to make a plugin that doesn't need to support CSSify.

@daffl Cool, do you want me to look at it or will you handle it?

I'm ok opting into CSSify via the CLI, but browserify support should be included by default. This is one of its most important features ... to build a plugin with whatever format you chose and have it work in the most common module loaders and formats.


Make the descriptions more clear/consistent

Following commits may be merged directly:
4b8f2d5ccffa95fd0961ea0853a6221b51802405
5521746c0f44b9e1fc9d67e8401e23e80e11c31e
4dfd421a9b8d9687dabbc0faca6febac7ce31147
a577be2edfee2bb5841c13896cfbd17d5fa80434
3fc370ce82eff97f508951a8169d617ed977345e
b6ac18da8cc196d052f90f01b226377462ca8464
a621b3dba8868cb0baf4eff66261693751faff74
29f147c4806c5efb723b21ca3ad5b44675b6f7ae

I just added my last two comments and after you addressed these this PR is ready to be merge after fixing some minor language quirks by myself. :)


Notifications summary

This method should be used to get notification summary for requested addresses with 8 hours depth.
In progress #302.
Btw, is "notifications summary" a valid name for this task?

Btw, is "notifications summary" a valid name for this task?

I think it quite reflects the essence


build: upgrade components

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


Circular dependency between Client and Consumer

Working on documenting some of the code and I discovered a nasty circular dependency within client <=> consumer. Initially looks to be only in Client#sendFetchRequest

Close this temporarily.


Repaired requirements.txt file

The requirements.txt need have missing = sign in every line of code.

This branch has conflicts


Zero-width objects select weird

Rectangles and ellipses of zero (or 10^-16) width/height select funny.  Object X6XJvbwMCppnxFjLP is an example. The bounding box computation seems to get an Infinity and then set it to (0,0)-(0,0).
We should disable them or render them as line segments.

Follow-up: rectangles and ellipses that have both width and height zero are now invisible (though at least they select fine). Expect them to look like a point.


add some @throws in constructors

In some constructors Exceptions are thown, but not mentioned in the Docblocks. This results in phpstan error messages when I want to catch these Exceptions.

Thanks


Invalid Argument Error

Hi Shanu
I tried Model3v1 for 10 samples. Accordingly I generated train_paths and when i run, I get the below error.
PLease let know.
I have attached the source file too -
model3v1.txt
File "", line 1, in
[elided 1 identical lines from previous traceback]
File "/usr/lib/python2.7/idlelib/run.py", line 324, in runcode
exec code in self.locals
File "/home/arunkumar/Downloads/Relation-Classification-master/model3v1.py", line 422, in
s_seq.get_shape(), tf.TensorShape([None, 100])])
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 3096, in while_loop
result = loop_context.BuildLoop(cond, body, loop_vars, shape_invariants)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 2874, in BuildLoop
pred, body, original_loop_vars, loop_vars, shape_invariants)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 2814, in _BuildLoop
body_result = body(*packed_vars_for_body)
File "/home/arunkumar/Downloads/Relation-Classification-master/model3v1.py", line 415, in matmul_hl
temp = tf.tanh(tf.matmul(input_seq[j], W) + b)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/array_ops.py", line 588, in _slice_helper
name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/array_ops.py", line 754, in strided_slice
shrink_axis_mask=shrink_axis_mask)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 5397, in strided_slice
name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 3271, in create_op
op_def=op_def)
InvalidArgumentError (see above for traceback): slice index 1 of dimension 0 out of bounds.
[[Node: gradients_1/hidden_layer_seq/while_3/strided_slice_grad/StridedSliceGrad = StridedSliceGrad[Index=DT_INT32, T=DT_FLOAT, begin_mask=0, ellipsis_mask=0, end_mask=0, new_axis_mask=0, shrink_axis_mask=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](gradients_1/hidden_layer_seq/while_3/strided_slice_grad/StridedSliceGrad/StackPopV2, gradients_1/hidden_layer_seq/while_3/strided_slice_grad/StridedSliceGrad/StackPopV2_1, gradients_1/hidden_layer_seq/while_3/strided_slice_grad/StridedSliceGrad/StackPopV2_2, gradients_1/hidden_layer_seq/while_3/strided_slice_grad/StridedSliceGrad/Const_3, gradients_1/hidden_layer_seq/while_3/MatMul_grad/tuple/control_dependency)]]

Exact error and the code line
InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'input/sp_childs' with dtype int32 and shape [5,2,20,20]
For complete model training
---> 29         _, _loss, step, _summary = sess.run([train_op, total_loss, global_step_dep, summary], feed_dict)

first check whether [[childs_path1[k], childs_path2[k]] for k in range(s, end)] has the same dimension as [5, 2, 20, 20] and also the data type

Thank you Shanu for the response.
I tried for a small sample as it was slow. But now i tried with all 8000 and am running them in python2
All pickles are written with python2
Now I get this error.
InvalidArgumentError (see above for traceback): Inputs to operation gradients_1/AddN_1101 of type AddN must have the same size and shape.  Input 0: [2,20,1,100] != input 1: [2,1,1,100
This is in model3v2, this line of code
For complete model training
    _, _loss, step, _summary = sess.run([train_op, total_loss, global_step_dep, summary], feed_dict)

Kindly help

please try using python 3.
Just use printing the shapes of this tensors, then debug the code

Hey shanu, why should there be a change in dimensions of the tensors, if i am using the same data as yours @arunzz were you able to solve the problem?

Can you please post the error or for which tensors dimension problem is occurring?

Yes
Use python 3
It worked.
No changes to any dimensions.
But the label encoding also has to be passed into relation encoder. That part is missing i think

On Jun 15, 2018, at 11:33 AM, Shanu Kumar<EMAIL_ADDRESS>wrote:
Can you please post the error or for which tensors dimension problem is occurring?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@arunzz  can you share some more insights, actually i am currently learning about it meanwhile i am working on this. It will be a great help. or maybe you can share your version.

Hi
Shanu is our guru :) He wrote the entire thing.
Regards
Arun
On Fri, Jun 15, 2018 at 2:51 PM, NeverInAsh<EMAIL_ADDRESS>wrote:

@arunzz https://github.com/arunzz can you share some more insights,
actually i am currently learning about it meanwhile i am working on this.
It will be a great help. or maybe you can share your version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Sshanu/Relation-Classification/issues/9#issuecomment-397564692,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUJLxe8vgjyeDesR7_i7C6nubFghBQFSks5t83ySgaJpZM4ThR3G
.

It worked, thanks shanu :)

@arunzz @NeverInAsh I'm wondering what you guys did to fix the error? I am running python 3

Just python3
Initialize global variables after loading glove embeddings.

On Jul 2, 2018, at 7:59 PM, enmatics<EMAIL_ADDRESS>wrote:
@arunzz @NeverInAsh I'm wondering what you guys did to fix the error? I am running python 3
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@arunzz I have meet the same problem. I am running python 3, but the problem still exist. Can you attached the worked model3v2 source file?

model3v2.py.zip

@arunzz which version of tensorlfow and python you use?

@arunzz when I don't init glove embedding in your source file, it will exist the error:
InvalidArgumentError (see above for traceback): slice index 1 of dimension 0 out of bounds.
[[Node: gradients_1/hidden_layer_seq/while_3/strided_slice_grad/StridedSliceGrad = StridedSliceGrad[Index=DT_INT32, T=DT_FLOAT, begin_mask=0, ellipsis_mask=0, end_mask=0, new_axis_mask=0, shrink_axis_mask=1, _device="/job:localhost/replica:0/task:0/device:CPU:0"]
when I init glove embedding, it will exist the error:
InvalidArgumentError (see above for traceback): Inputs to operation gradients_1/AddN_1101 of type AddN must have the same size and shape. Input 0: [2,20,1,100] != input 1: [2,1,1,100]

@arunzz When I use tensorflow 1.12.0, it will lead "ArithmeticOptimize" error. Then I replaced the version of tensorflow 1.8.0. and worked. But it will occur "concat" error and "hidden_layer" error. Then I replaced the version of tensorflow 1.10.0. Your source file finally worked.

@arunzz in model3v2
model = tf.train.latest_checkpoint(model_dir)
saver.restore(sess, model)
when I try to restore
the error says 👎
ValueError: Can't load save_path when it is None.
Please help


added delay for network charts

Added scope.delay = 2000; to let it appear a lot smoother.

Sorry was meant for #301


Improve streaming statements usage

According to MySQL JDBC API Implementation Notes, section ResultSet, the streaming statement should be user with care, as it locks the DB until the statement is closed. The DB.find() methods that use a RowListener always use streaming statements, and they are used by other methods:

DB.findAll()
LazyList.hydrate()
Model.findWith()

Issues

Methods DB.findAll() and LazyList.hydrate() should avoid using streaming statements, as they return Lists. They even have the following sentence in their documentation: "Do not use it for large result sets."
There's no option to disable streaming in  DB.find() (DB.findAll() and LazyList.hydrate() should call it with streaming disabled, and Model.findWith() should still call it with streaming enabled).
Streaming is currently only implemented for MySQL. We could investigate how to implement it for the other DBMSs.

Created DB.findWith() (following the same pattern as Model.findWith()) that receives a listener. Now it can be a ResultSetListener, or (as before) a RowListener or a RowListenerAdapter:
Base.findWith(new ResultSetListener() {
    @Override public void onResultSet(ResultSet rs) throws SQLException {
        while (rs.next()) {
            System.out.println(rs.getObject(1));
        }
    }
}, true, "select * from people");

Base.findWith(new RowListener() {
    @Override public boolean next(Map<String, Object> row) {
        System.out.println(row.get("id"));
        return true;
    }
}, true, "select * from people");

The true passed as second parameter defines that it should use a streaming statement. Methods DB.findAll() and LazyList.hydrate() now use DB.findWith() passing false for streaming (so, no streaming for them). Also, deprecated RowProcessor (in favor of the new ResultSetListener and RowListener structure).

Done with items 1 and 2. Item 3 still pending:

Methods DB.findAll() and LazyList.hydrate() should avoid using streaming statements, as they return Lists. They even have the following sentence in their documentation: "Do not use it for large result sets."
There's no option to disable streaming in  DB.find() (DB.findAll() and LazyList.hydrate() should call it with streaming disabled, and Model.findWith() should still call it with streaming enabled).
Streaming is currently only implemented for MySQL. We could investigate how to implement it for the other DBMSs.

Please:

Un-deprecate find() and RowListener
Add documentation that MySQL users can take advantage of findWith vs find.

At this point, we can close this, because 99% of people use MySQL

I will.
Just review RowProcessor a second time. It does nothing now, an instance of it is only used to keep the fluent find(...).with(...) interface, plus it hold references of ResultSet and Statement to be able to close them later (as they cannot be closed in the same scope they were opened thanks to the fluent interface). This class was the reason I deprecated the whole thing...

yeah, I see your point. However, this class has been there for a long time, and used extensively in projects. Since we cannot just delete it in future versions, we also should not deprecate it.

had to revert most changes here because it broke dependent projects pretty badly


(javascript) highlight error

Describe the issue

Which language seems to have the issue?
javascript

And what exactly is the issue here again?

window is a JS (browser) built-in variable and is being highlighted as such. There has been some discussion in the past of allowing for more dynamic changes to keywords, but currently that isn't easily possible... (there are various ways you might dynamically alter/monkey patch a grammar, but that's a bit out of scope for discussion here)
I don't think we want to ship a "browser JS" vs "non-browser JS" grammar... I suppose you could try and make the case that we should remove all browser specific globals from the highlighter - and then I'd also presume we should remove Node specific variables like global as well...?
I'm willing to listen - but as you're the very first person to ever raise this as an issue right now I'd have to consider that you are likely in the minority... that the majority of users are benefiting from this behavior.
But perhaps you're very pursuasive?  Want to make the case?


Add RPM target to makefile to enable building multicorn as an RPM

Have added extra elements into setup.py to build an RPM for Multicorn (including the multicorn.so).
Added a target in Makefile to make this easy to run
make rpm

I have created a new update for this which includes pre and post install actions. Update pending.


Add a test to repro #701

Current coverage is 93.02%

Merging #1281 into master will increase coverage by +0.02% as of 4498336

@@            master   #1281   diff @@
======================================
  Files           84      84
  Stmts         5275    5275
  Branches       960     960
  Methods          0       0
======================================
+ Hit           4906    4907     +1
  Partial         11      11
+ Missed         358     357     -1

Review entire Coverage Diff as of 4498336

Powered by Codecov. Updated on successful CI builds.

LGTM


BUG: You requested GPUs: [0] But your machine only has: []

🐛 Bug

I have the problem as follows:
pytorch_lightning.utilities.exceptions.MisconfigurationException: You requested GPUs: [0] But your machine only has: []
python3.7

print(torch.cuda.device_count()) 0
torch.cuda.is_available() False

Thank u for your help!

print(torch.cuda.device_count()) 0
torch.cuda.is_available() False

@djahdkjqbwfkb1213 As you pointed out, GPUs doesn't seem to be available on your system.

print(torch.cuda.device_count()) 0
torch.cuda.is_available() False

@djahdkjqbwfkb1213 As you pointed out, GPUs doesn't seem to be available on your system.

yes, and I want to find how to fix it up.
I'm trying to change the environment to py3.8 cuda11.3

print(torch.cuda.device_count()) 0
torch.cuda.is_available() False

@djahdkjqbwfkb1213 As you pointed out, GPUs doesn't seem to be available on your system.

it is still wrong (py3.8 cuda11.3)

Search for pytorch beginner's guide and setup a valid dl environment for pytorch.
Your problem has nothing to do with pytorch-lightning.
Make sure that nvidia-smi prints correct gpu information before trying anything related to pytorch or pytorch-lightning.


Make sure we list HEAD as a valid method when GET exists

Closing this as this is already what it does, just on a different level.


Updates dependencies version to latest

Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 72.22%. Comparing base (e3a8e4c) to head (a9d1bcc).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3040      +/-   ##
============================================
- Coverage     72.29%   72.22%   -0.08%
+ Complexity     7292     7288       -4
============================================
  Files           722      722
  Lines         32513    32513
  Branches       3396     3396
============================================
- Hits          23505    23482      -23
- Misses         7387     7412      +25
+ Partials       1621     1619       -2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Introduce multiSelect for ScalarQuantizer

Resolves #13918
Description
This introduces a multiSelect(from, to, k[]) method on the Selector abstract class, and gives implementations of the method for both Selector implementations, IntroSelector and RadixSelector.
This is really only used so far in the ScalarQuantizer, which uses IntroSelector, to find confidence intervals (quantiles) for lists of vectors. This code was refactored to find all quantiles at once. ScalarQuantizer.fromVectors() does 1 confidence interval (2 quantiles), and ScalarQuantizer.fromVectorsAutoInterval() does 2 confidence intervals (4 quantiles).
multiSelect details
For both RadixSelector and IntroSelector, the multiSelect() code is not too dissimilar from the select() code, however all paths are taken that could lead to one of the k values. In each path, only the relevant k values are checked. If a path has only 1 k value, then select() is called instead of multiSelect().
One difference in RadixSelector is that recursive calls are not done in-place, rather kept in a list to do after checking all path-options, so that we don't have to keep a stack of histograms. This should not be expensive, because the list that contains these recursive-call-path-options, is capped at the number of valid k values for that path, which will likely be small most of the time.
Also I provided a default Selector.multiSelect() call that is not optimized, because Selector is a public class that people might have made custom implementations of?
Benchmarking
Real benchmarking still needs to be done, but using IntelliJ's profiler on TestScalarQuantizer.testFromVectorsAutoInterval4Bit(), I have seen a >20% speed improvement in the call to ScalarQuantizer.fromVectorsAutoInterval() when using 1028 dimensions (310 ms -> 240 ms). This speedup holds when using 1000 vectors instead of 100  (3200 ms -> 2500 ms) and when using 1000 vectors and a smaller dimension of 128 (480 ms -> 370 ms).
Oops, bad results
I'd love to make benchmarks that fit with the way Lucene does them. Are there already vector benchmarks that I could build off of, or do I need to start from scratch?

So after fixing the innocuous bugs in the implementations, it looks like there is no speed up here. The confidence interval finding can be up to 30% faster or so, but that's such a small portion of the quantization cost, that it really doesn't make a difference at all. (I think the bug was creating bad quantization that made the findNearestNeighbors search much faster)
Oh well, good to test out and see at least. Probably no reason to merge if there isn't a Lucene use case that would really benefit from this.


way to solve Import-Project-Eclipse-RequireItems-Exception

导入skywalking工程到eclipse,遇到如下异常
Missing requirement: Checkstyle configuration plugin for M2Eclipse <IP_ADDRESS>705301746 (com.basistech.m2e.code.quality.checkstyle.feature.feature.group
<IP_ADDRESS>705301746) requires 'net.sf.eclipsecs.core 5.2.0' but it could not be found
解决办法。

Coverage remained the same at 23.87% when pulling 5dc98cd6d5eb304ed5c3b50f6ef9c850254572c1 on hardzhang:master into 5893dbe926c2b3db2c22cd459455dd13e7065143 on apache:master.

@hardzhang Could do fix the markdown style issue? Hope to merge this soon. A doc related pr should be accepted quickly.


Update docs to include installation from scratch

Fixes #26
Fixes #12
Proposed Changes

Add documentation to install everything needed from a clean K8s cluster.
Wait for Strimzi to register resources on installation.

/lgtm
/approve


I can't find the Interrupt pins

Hello,
Does anybody know what the Interrupt pins are for this LilyGO TTGO T-Display V1.1 ESP32?
I now want to use GPIO39 as interrupt pin for my sensor?, is that gonna work?

All IO ports can be configured as interrupts


Bump plugin versions, remove scalariform

Adds sbt-dependency-graph, removes scaliform. We need to revive #172

Coverage remained the same at 90.63% when pulling 039cdbe9f26ebb1e92a9378fa368cecc66baef9e on Christewart:2018-11-28-bump-plugins into 2b087a131b676439a177a29f4dcb92b5f5909745 on bitcoin-s:master.


[RHTAP-3262] Adds GITOPS_CREDENTIALS to Jenkins job configuration

This PR adds GitOps credentials to Jenkins job configuration.
Issue: RHTAP-3262
PR to add GITOPS_CREDENTIALS to jenkins-credentials script.

/retest


What is the role of Mistral Inference during Natural-Instruction dataset preparation?

First, I would like to congratulate you on winning first place in the NeurIPS2023 llm-efficiency challenge! 🥳🥳
I wrote an issue since I've got a question while reading Repo's README introduced Birbal. I understand that in the process of collecting training data, the Natural-Instruction dataset goes through 'relevant task selection' and inference is performed with the Mistral model. My question is why inference was performed? I could not fully understand by just referring README file 😭
I would appreciate it if you let me know!

Hi @gauss5930 , inference is performed to compare model's prediction with ground truth to decide whether a record should be sampled or not.


Add ability to check version

A problem/task I want to solve
There is no way to check the installed version. Please add the option to see the version.
The solution I'd like
git-elegant --version
Considered alternatives
Or can be add to output of command git-elegant -h

Resolved


Blob names/IDs might reveal data

When saving a blob and a user-provided ID is attributed to it, you must ensure that it doesn't reveal "real world, unencrypted data". The file names of blobs is just their ID... -_- THAT MUST BE OUTLINED IN THE DOCUMENTATION!

Outlined in an upcoming threat model.


Cannot compile cabal after upgrading to Plutus V2

I get the following error when trying to run cabal build:

My cabal.project tries to include Plutus Simple Model as follows:

I'm not sure how I can solve this, it's the latest commit of master branch.

@matteocoppola Is this still an issue?


Allow reuse of context in reRender()

Tagged as 0.8.0, @probedb - will publish to npm once tests pass.

Cheers!


Get heads by username

Add the ability to do /dh [name] for people to buy heads that aren't included in the GUI. Additionally, the ability to set the price for heads that are bought with this command would be nice. Perhaps two different price settings as well, one for buying your own head and one for buying the heads of other people.

Taken from #13. Separated for organizational purposes.

Added in d9a31f0236ba6c87b850c667e337c8d3078832bd.


Error

Delphi 12 Community Edition
[DCC Fatal Error] FMX.MediaLibrary.Android.pas(23): F2051 Unit System.Android.Permissions was compiled with a different version of Androidapi.JNIBridge.TJavaArray`1.GetItem
System.Android.Permissions - in folder delphi
Androidapi.JNIBridge - in folder alcinoe

could you please update you repository to the very last one ? this problème must have been resolved


ihaskell-charts base dependency

ihaskell-charts could not be installed because it requires base==4.6.*
here is the error message:
cabal: Could not resolve dependencies:
trying: ihaskell-charts-<IP_ADDRESS> (user goal)
next goal: base (dependency of ihaskell-charts-<IP_ADDRESS>)
rejecting: base-<IP_ADDRESS>/installed-e4b... (conflict: ihaskell-charts =>
base==4.6.*)
rejecting: base-<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>,
<IP_ADDRESS>, <IP_ADDRESS> (global constraint requires installed instance)
Dependency tree exhaustively searched.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Things have been updated on Hackage.


Generate check results for locally opened files

In the branch add_check_initial:

Make a new directory in packages/apollo-shared/src called "Checks"
Make an abstract base class "Check" in that directory for checks
I think the base class for now just needs one method with the signature:
async checkFeature(feature: AnnotationFeatureSnapshot, sequence: string): CheckResultSnapshot
Import that base class in packages/jbrowse-plugin-apollo/src/BackendDrivers/InMemoryFileDriver.ts and create a check using it (can be just a fake check for now, like in packages/apollo-collaboration-server/src/checks/checks.service.ts)
In that same file in the for (const seqLine of featuresAndSequences) { loop

Call the check on the feature generated by const feature = createFeature(seqLine)
Make list of non-empty check results
After all checks have been made, add them to the client store with apolloDataStore.addCheckResults

You can check if this works by using the menu item "Open local GFF3 file" to open a small file and then running getSnapshot(JBrowseSession.apolloDataStore.checkResults) in the browser console to see if there are any results there.

I got the file name wrong in the description, sorry! I meant for everything to be in OpenLocalFile.tsx, not in InMemoryFileDriver.ts. Luckily it looks like you realized that.


⚠ ETF has degraded performance

In 4503630, ETF (https://markets.hankyung.com/equity-product/etf) experienced degraded performance:

HTTP code: 200
Response time: 6700 ms

Resolved: 신규상장 performance has improved in 986b3e3.


occm: Fix updating lb listener with allowed CIDR

What this PR does / why we need it:
Only updating the listener when Octavia supports VIP ACL, also fixes the way for how to check if a feature is supported in the deployed Octavia version.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged):
fixes #829

/lgtm

/approve


Feature/notify admin

Adds a notification lambda for new user registrations which may need approval.
Refactors folders and config.

Reviewed in office hours, Sept 1, 2022.


Players Screen Size is Messed

I don't see a way to adjust the players screen size. I'm using a Laptop and a TV but they have different resolutions. Also the TV is in Portrait mode so that I can easily move the cursor over to it.
The Red Outline for the Players Screen is completely wack and shows a long rectangle that doesn't match anything close to the monitors...

Right now it should use the full screen to display the player's view.  Because its in portrait mode it is trying to display it in portrait mode which is why the rectangle is really long. I haven't really set anything up to allow portrait screens so it won't work as well as landscape.
The TV and Laptop having different resolutions isn't a problem, it only cares about the resolution of the TV.

Ahh okay, I'll fiddle around with it and see what's going on. The other
issue I had was the image files are smooshed in the app. I have a few maps
that are not square and look pretty distorted. I'd love to see something in
the future that allows me to zoom in on my screen and not have it distorted.
All in all, it's an amazing piece of work! I'll be using it game night on
Tuesday and let you know how it goes.
On Sat, Apr 29, 2017, 7:47 PM Ben McAllister<EMAIL_ADDRESS>wrote:

Right now it should use the full screen to display the player's view.
Because its in portrait mode it is trying to display it in portrait mode
which is why the rectangle is really long. I haven't really set anything up
to allow portrait screens so it won't work as well as landscape.
The TV and Laptop having different resolutions isn't a problem, it only
cares about the resolution of the TV.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/McAJBen/DungeonBoard/issues/1#issuecomment-298207439,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAee3WRnQRTSb6t7O7CePcQWe4IUaU-Xks5r0_ZHgaJpZM4NMXT6
.


translate content/zh/docs/reference/kubernetes-api/authorization-resources/subject-access-review-v1.md into chinese

#33518

/check-cla
/easycla

This document have been translated in #33953.

#33953

Thanks for your contribution! 😊
/close


ASCOMLibrary does not accept JSON response from indigo_alpaca_agent (which works with ASCOM Platform)

indigo_alpaca_agent produces JSON responses to /configureddevices that ASCOMLibrary does not accept. For example it creates the following response
{ "Value": [ { "DeviceName": "Altair ALTAIRGP130M (guider)", "DeviceType": "Telescope", "DeviceNumber": "1", "UniqueID": "775684E2-D406-4B47-8372-3362E338B455" }, { "DeviceName": "Altair ALTAIRGP130M", "DeviceType": "Camera", "DeviceNumber": "0", "UniqueID": "775684E2-0797-4225-8415-9554D475B455" }, { "DeviceName": "Mount Simulator (guider)", "DeviceType": "Telescope", "DeviceNumber": "3", "UniqueID": "47B431C1-E184-493C-8184-C73776B76797" }, { "DeviceName": "Mount Simulator", "DeviceType": "Telescope", "DeviceNumber": "2", "UniqueID": "2567C757-B722-4850-8747-C73776B76797" }, ], "ClientTransactionID": 0, "ServerTransactionID": 68 }
The problems here are that the "DeviceNumber" should be an integer not a string and that the trailing comma is rejected in the array of devices.
However, the same JSON is accepted by the ASCOM Platform's Alpaca code, and the indigo code was set up to work correctly with the ASCOM Platform, in spite of being strictly not compatible with the Alpaca API spec (see https://github.com/indigo-astronomy/indigo/issues/504)
We should make the ASCOMLibrary JSON handling more forgiving to accept the current response of the indigo_alpaca_agent code (this is simple to do via options to the JSON serializer).

Closing this issue because #31 is now closed.