How do you get this working in Realease 18.04

I was able to get beta versions working with the scripts here (omitting a couple of commands) but it does not work at all on  the release version.  It falls over at this step
git clone https://github.com/jterry75/xrdp-init.git ~/xrdp-init

@dankseman - it almost worked without change for me; I had to comment out
rmmod vsock
in install.sh from the ~/xrdp-init/ubuntu/18.04 directory

Do you need to run git clone etc or just go straight to install.sh?

I just saw that about printers.  It worked for me on 18.04 beta.

No problem - I use this as reference https://www.tenforums.com/virtualization/107147-guide-how-run-ubuntu-18-04-enhanced-mode-hyper-v.html

Well that is the guide I used as well but it fell over in git clone phase.
On Sun, 29 Apr 2018, 14:40 John Kattenhorn<EMAIL_ADDRESS>wrote:

No problem - I use this as reference
https://www.tenforums.com/virtualization/107147-guide-how-run-ubuntu-18-04-enhanced-mode-hyper-v.html
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jterry75/xrdp-init/issues/27#issuecomment-385252291,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjkSfr1-4n2ssrRKhoKGEoiKX9afqVtaks5ttcLogaJpZM4TrVKm
.

What did you get back from sudo apt install git ?

I have partly sussed it.  That link has somehow converted the git clone
into a hyperlink and it falls over.  When I use command from original
source it works.
I removed the line as you said, and redid powershell.  I then shut down vm
stopped and started service but it just point blank refuses to kick to xrdp.
On 29 April 2018 at 14:45, John Kattenhorn<EMAIL_ADDRESS>wrote:

What did you get back from sudo apt install git ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jterry75/xrdp-init/issues/27#issuecomment-385252580,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjkSfkD5PZtZtO0TgjOImOA-JVTKPpwxks5ttcQRgaJpZM4TrVKm
.

I get a xrdp "Just connecting" screen with a login dialog with several session options (Xorg, X11rdp, Xvnc, console, vnc-any, sesman-any, neutrinordp-any).
If I choose Xorg, the dialog disappears and times out after about 5 mins. If I choose X11rdp, RDP says that it got disconnected and attempts to reconnect.
I've tried removing the line suggested above rmmod vsock and reran the ./install.sh script but it has no effect. Is there any other steps I need to follow?
Thanks!

I started from scratch, editing install.sh commenting out the two rmmod lines, got to the end of the setup and got this error:
Job for XRDP service failed because the control process exited with error code.
Amy ideas.

Steps I did:

run install.sh with rmmod vsock commented out only
reboot vm
run script again, saw error about vmw_vsock_vmci_transport. Commented out rmmod vmw_vsock_vmci_transport and rerun the script
reboot vm
connected to console of VM, asked me for enhanced session, disabled printer mapping. Used Xorg to logon.

@matthewturner does your VM log you in automatically?
I am able to log in to an enhanced session in using the Xorg option after disabling automatic login.

I am sure this is actually a Hyper-v issue. Even if you have a Windows
guest, it does not connect properly unless the guest has a password. Always
been like that.
On Wed, 2 May 2018, 22:27 Charlie Billen<EMAIL_ADDRESS>wrote:

@matthewturner https://github.com/matthewturner does your VM log you in
automatically?
I am able to log in to an enhanced session in using the Xorg option after
disabling automatic login.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jterry75/xrdp-init/issues/27#issuecomment-386127044,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjkSfg7pM8CBgaV0KuuBv8IbV6WA193Kks5tuiTMgaJpZM4TrVKm
.

Thanks @charliebillen, @stijnv1 and @dankseman.
I had to comment out both lines (rmmod vsock and rmmod vmw_vsock_vmci_transport) and disable automatic login.
The performance isn't quite what I'd hoped but close. Could those two lines affect performance?
Thanks!

@matthewturner may be wrong but I don't think they'd affect performance.
My potentially incorrect understanding is that those kernel modules allow communication between VMWare guests and hosts, and are removed and replaced with hv_sock which does the same for Hyper-V guests and hosts.
There is another issue (https://github.com/jterry75/xrdp-init/issues/28) with reports of slow performance on HiDPI screens.  If you're running on your Surface Pro maybe you're seeing the same thing?

@matthewturner - vsock is the AF_VSOCK protocol for tcp/ip between virtual machines and any hypervisor. vmw_vsock_vmci_transport is the VMWare implementation of vsock when running on a VMWare hypervisor and hv_sock is the Hyper-V implementation for running on the Windows hypervisor. So the goal is that you are using hv_sock + vsock to enable the Hyper-V socket connections between host/guest.

I am so disappointed that the originator of the 16.04 web article has
failed to respond.  Sad!
On Thu, 3 May 2018, 23:33 Justin<EMAIL_ADDRESS>wrote:

@matthewturner https://github.com/matthewturner - vsock is the AF_VSOCK
protocol for tcp/ip between virtual machines and any hypervisor.
vmw_vsock_vmci_transport is the VMWare implementation of vsock when
running on a VMWare hypervisor and hv_sock is the Hyper-V implementation
for running on the Windows hypervisor. So the goal is that you are using
hv_sock + vsock to enable the Hyper-V socket connections between
host/guest.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jterry75/xrdp-init/issues/27#issuecomment-386456920,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjkSfmOTZLFcfiHeFzIWZJ9kghjRjT2iks5tu4WfgaJpZM4TrVKm
.

I think he must of just missed it. @cwilhit - Is very much on top of responses in other instances. I will work on getting this script fixed today for release 18.04.

Beta releases of 18.04 had the vwmare module loaded by default, so we had that line included in the script because it must be unloaded in order to load hv_sock. I would like to note that these errors complaining about rmmod failing when a module is not loaded is not fatal. It should still continue to work :)
Nevertheless, we'll remove those lines since they're not needed anymore. We're in the final stages of working with Canonical to get an image pre-configured in our Hyper-V Quick Create gallery, which means users don't even have to mess with manually configuring. Thanks for working with us on this!

Even though I removed those lines, it still fails with an error about the
xrdp service as I said earlier, and then xrdp does not work. I believe the
issue is more complicated.
On Fri, 4 May 2018, 20:09 Craig Wilhite<EMAIL_ADDRESS>wrote:

Beta releases of 18.04 had the vwmare module loaded by default, so we had
that line included in the script because it must be unloaded in order to
load hv_sock. I would like to note that these errors complaining about
rmmod failing when a module is not loaded is not fatal. It should still
continue to work :)
Nevertheless, we'll remove those lines since they're not needed anymore.
We're in the final stages of working with Canonical to get an image
pre-configured in our Hyper-V Quick Create gallery, which means users don't
even have to mess with manually configuring. Thanks for working with us on
this!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jterry75/xrdp-init/issues/27#issuecomment-386703687,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjkSfkGZHLtXEgo5gLYbYcSOErDOJyAtks5tvKd3gaJpZM4TrVKm
.

Is this a stock 18.04 release .iso you're using from Canonical and did this occur on your first attempt at running the script?
My most recent attempt at running this script was this morning with an .iso from Canonical's website and it ran with no issues. After all, virtual machines are supposed to be reproduceable.

Well, I finally got it working.  I restarted from scratch and did full installation rather than the minimal installation as well.
I actually typed all the commands and this time it worked.  I do not know if this is relevant but I did the edit to install.sh before the chmod command this time, and I also did initial reboot using reboot command rather than shutting down via Hyper-V Taskbar and restarting.
I copied these from cerberus script on www.tenforums.com
Get the scripts from GitHub
$ sudo apt-get update
$ sudo apt install git
$ git clone https://github.com/jterry75/xrdp-init.git ~/xrdp-init
Make the scripts executable and run them...
$ cd ~/xrdp-init/ubuntu/18.04/
Now edit the install.sh file using whatever editor you like (nano, vi etc)
and comment out these two lines dding a # in front
rmmod vmw_vsock_vmci_ttransport
rmmod vsock
i.e.
rmmod vmw_vsock_vmci_ttransport
rmmod vsock
Save file.
$ sudo chmod +x install.sh
sudo ./install.sh
Reboot VM
$ reboot
Run script again to finish setting up VM
$ cd ~/xrdp-init/ubuntu/18.04/
$ sudo ./install.sh
Shutdown VM completely (I do this from Hyper-V Taskbar)
On Host Windows, run following powershell command (with admin rights)
Set-VM -VMName Ubuntu -EnhancedSessionTransportType HvSocket
Restart VM to kick in to XRDP
In popup box, deselect printers, and choose which drive you want to see.
Login with xorg, and name, password.
Now it is in enhanced mode.

Seems like there might be multiple issues at play here.
For whats is worth I also had issues with stock 18.04. After entering credentials afer xrdp login I just got a blank screen. I followed the microsoft blog documentation and decided to run the 16.04/config-user.sh script which I don't think works right on 18.04. I think I tracked it down to ~/.xsession being out of date--calling unity which got replaced by gnome.
I replaced 'unity' on the last line with:
env GNOME_SHELL_SESSION_MODE=ubuntu gnome-session --session=ubuntu
Now I'm able to log in.

Good to see it is working for you! You do not need to run the 16.04's config-user.sh for 18.04.

Any news on this? My quick create gallery isn't showing an Ubuntu option, just Windows 10 dev environment.

@Ephesos mine doesn't either. Neither enterprise or professional had it available. I just installed it from the iso and installed this library.

Still working through a few things to get the experience we want for the user. When it does go live, we'll post a new update on our blog and I'll tweet it out.

Waiting anxiously for ubuntu 18.04 on quick start.

@felipedeveza it's not that difficult to install yourself. Why wait.

@sregister Your solution worked!

Would some one please post there working xsessions file for ubuntu 18.04 ?

Dealt with similar issues as you guys and tried the various remedies suggested here and other places. What worked for me, however, was installing the full version of Ubuntu; I  sweated it out with the minimalist version. Someone somewhere said to run the VM on Gen 1 than Gen 2 but i was adamant on running it on Gen 2. The minimalist installation on Gen 2 was apparently missing some important driver/ and/or process/es  which i didn't get the time to figure out; i hope someone does so that we get to make it work with the minimalist version.

Don't see any shared-drives in the Ubuntu session.
Wonder if there is any issue with Server 2016?
E.g. Powershell doesn't know '-EnhancedSessionTransportType HvSocket',
not sure if that is necessary here.
Other than this, I get full-screen Ubuntu session, through RDP even with convenient auto-login,
but desperate to see my USB drives.

You have to be running normal version 1803 to do this as 1709 does not have the powershell upgrade needed.  I am almost certain the same is true of Server 2016.

Probably, well just from the MS doc (may 31)
docs.microsoft.com/en-us/windows/desktop/HyperV_v2/msvm-virtualsystemsettingdata
it looks like this parameter is not intended to be added to Server 2016 (maybe not yet)?
How does someone know that he is in EnhancedSessionMode, its just not by getting full-screen and Auto-Login?
I don't see anything in the xrdp.log either.

It just works i.e. you get the xrdp login screen. It will not work with 2016 - you will just get the normal linux ligin screen.
Also, it does not work if you use linux autologin.

@dankseman Don't quite understand whats the difference linux autologin vs RDP autologin could be?
Even the Clipboard mapping works on my system.
Just the shared-drives are missing, so apparently the setting of the transport type to HvSocket is needed.
That much I guess, but for the time being, Server 2016 with Build 14393 doesn't have that feature implemented yet, alas

@pudknocka you need to be running a Windows version of 1803 or newer, like a recent Insider build. That means builds 17134+. Versions earlier than this (like 14393) do not have this feature--you'd need to upgrade to get it.
As for your question about knowing you're in enhanced session mode: you'll have to login through an xrdp login, which has a very distinct baby blue background. Alternatively, in a Hyper-V VMConnect window, hovering over the icons in the toolbar you will see an icon that reads either "Basic Session" or "Enhanced Session"

@cwilhit why is this issue closed without a fix in the Microsoft VM tools/scripts? As of 10/16/2018, linux auto-login is still kills enhanced sessions upon connecting. This happens on a fresh install and what's worse, the setup wizard happily presents the option to enable auto-login ("It's a trap!").
On a side note, Ubuntu 18.04's memory usage is really bloated, apparently due to Gnome (6.5GB idle at login). Do you support enhanced sessions with other desktop managers? If yes, how?
For others seeing this and this issue broke gnome terminal, you can disable auto-login by "Show applications" (bottom-left) -> Details -> Users -> [Unlock] (top right) -> Automatic Login -> Off
Or if terminal is working, by sudo nano /etc/gdm3/custom.conf and comment out the lines as follows
# Enabling automatic login
#  AutomaticLoginEnable = true
#  AutomaticLogin = your_username_here

@SidShetye this issue was opened to track generally getting enhanced mode to work with Ubuntu 18.04 release. If you want to track auto-login, I'd recommend following #22 instead.

Hi!
Posting because I ended up here trying to get Enhanced mode working.
If you're stuck on an older release of Windows 10 and can't use HvSocket, just configure xrdp to listen on tcp, configure networking (make sure your machine can reach the VM over the network), and connect with Remote Desktop Connection (you can add Drive sharing before you connect).
What worked for me:
On my development laptop...
New Gen2 VM, new VHD, install from ubuntu-20.04.1-desktop-amd64.iso
Create new Virtual Switch, external, sharing my wifi adapter with host (This was problematic, but eventually worked, did it 3 times)
wget https://raw.githubusercontent.com/Microsoft/linux-vm-tools/master/ubuntu/18.04/install.sh
run it (chmod +x install.sh; sudo ./install.sh)
reboot, run again per instructions
Nothing changes, go edit /etc/xrdp/xrdp.ini, change port=tcp://:3389
restart xrdpd
try to login with remote desktop, get a black screen???. Killed gnome session manager and I was logged out of both rdp and vm connection.
[messed with xrdp session and gnome config to no avail, tried a few more times]
stay logged out of my session in Virtual Machine Connection
log in over RDP again, works this time. (Maybe gnome won't allow me to log in twice?)
Matt


Property:latestEraOrHighestErathem

Definition
The full name of the latest possible geochronologic era or highest chronostratigraphic erathem attributable to the stratigraphic horizon from which the cataloged item was collected.

Dimension

Existing property
dwc:latestEraOrHighestErathem

Existing class
Geological Context

Existing property identifier
http://rs.tdwg.org/dwc/terms/#latestEraOrHighestErathem

Format
controlled vocabulary

Required
No

Repeatable
No

Constraints

Examples
Cenozoic, Mesozoic

Notes

Vocabulary https://timescalefoundation.org/index.html ?


Not authoritively in imgur

autorizovany in imgur, click OK, then make a screenshot, but uploading is not happening
pin code get normally on the website

looks like I found the problem "access=" and "refresh=" identical in configuration file

This issue existed, and I fixed it in a commit. Not sure which branch, let me dig it up.

As visible, this works for me on dev:

https://i.imgur.com/4JHpNLG.png

Yes, I see that. Try with dev perhaps? It has some other OAuth fixes too

Yes, the git version worked fine, thank you

No problem! Thank you for taking the time to open an issue :)


barcode.SaveImage does not save image

Hi,
Below code does not save image nor returning any exception:
Dim barcode = New Barcode("123456789", TYPE.CODE128)
barcode.SaveImage("test.png", SaveTypes.PNG)

Using NetBarcode 1.4.0 installed via NuGet
Also Looks like docs are not up to date, barcode.SaveImageFile does not exist.
Regards,

Hello, as you can check here https://github.com/Tagliatti/NetBarcode/blob/86cfc62c40c4cabb8a9805d062d33307664fc31b/NetBarcode/Barcode.cs#L468 the function exists. I'm not sure, but VB is not compatible with .NET Core.
The requirements for rolling lib are, .NET Standard 2, libc6-dev and libgdiplus.


standardnotes: Selected text isn't highlighted

Describe the bug
In standardnotes 3.167.2 from nixos-unstable, when selecting text, there's no visual indicator that the text is selected. It can still be cut, copied, dragged, etc, but it isn't highlighted in any way, making it very difficult to actually do anything involving selecting text.
Steps To Reproduce
Steps to reproduce the behavior:

Create a note in standardnotes
Type some text in the note
Select the text

Expected behavior
The selected text should be highlighted.
Additional context
This bug is present whether I'm running standardnotes normally or in wayland-native mode, and is present when I update the derivation to use the latest version 3.167.28. When I revert #241831 and then re-run the update script to get the latest standardnotes using the upstream AppImage, the bug disappears, so it seems to be specifically tied to nixpkgs' electron.
Notify maintainers
@mgregoire @chuangzhu @squalus
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.33-rt11, NixOS, 23.11 (Tapir), 23.11.20230802.66aedfd`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.15.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I can reproduce this.

This seems to be resolved, I can no longer reproduce the bug with standardnotes 3.178.4 from the current nixos-unstable.


Include cell_id, pair_id, and clone_id in ADC API queryable fields

Just on an MinStd call, talking about single cell extensions to MiAIRR and the MinStd manuscript that is planned for next year... I notice that the cell_id, pair_id, and clone_id are not queryable in the current ADC API manuscript. Should they be...
I think we probably want to be able to do things on the /rearrangement entry point like:
{
"filters":{"op":"=","content": { "field":"cell_id","value":"W06_046_091"}},
"fields" :["repertoire_id","v_call","d_call","j_call","junction_aa"]
}
To get a list of rearrangements from a singe cell.
Similarly for pair_id to query for a heavy and light chain pair?
And if you are going there, do we add clone_id as well?
Brian

Yes, I think all identifiers should be queryable. Also clone_id and sequence_id. Though to be clear that these are not globally unique identifiers, so users should restrict their search within a specific repertoire and maybe even within a specific data processing:
{
"filters":{"op":"and","content":[
     {"op":"=","content": { "field":"repertoire_id","value":"my_rep_id"}},
     {"op":"=","content": { "field":"data_processing_id","value":"my_dp_id"}},
     {"op":"=","content": { "field":"cell_id","value":"W06_046_091"}}],
"fields" :["repertoire_id","v_call","d_call","j_call","junction_aa"]
}

@schristley I made this change to the recent manuscript doc and sent it to you, I think we can close this issue...

The reference implementation has been updated but I still need to update the docs.

Added section to the docs which lists these fields as well as some other generic limits.


Transforming content search web parts: extracting result source and search query

[ ] Bug
[x ] Enhancement
Problem Area
[ ] Page Transformation: Error during the setup/use of the Page Transformation UI solution (did you check our troubleshooting guide?)
[ ] Page Transformation: Error during the use of page transformation from PnP PowerShell
[ ] Page Transformation: Error during the use of page transformation from .Net
[ ] Page Transformation: Page is not looking correct after transformation
[ ] Modernization Scanner: something went wrong...
Expected or Desired Behavior
In our environment we have a number of Content search web part (CSWPs) used in classic publishing pages, with the following criteria.

Search against specific Result sources.

Use Search query to filter the results against ContentType ID and Taxonomy fields.

Enable pagination

Transforming CSWPs  to Highlighted Content web part (HCWPs)
Currently cross site transformation of CSWPs on classic publishing sites is not supported.  This means there is a manual process needed to:

Set the site collection url in the "Selected Sites" as Results Sources is not supported.

Copy the search query from existing Content Search web part. Enter the filter conditions as key-value pair (KQL format) in Custom query.
e.g.
From CSWP Query:

ContentTypeId:0x01010044FBB32B81DE4447A78F209576C290FA01*
owstaxIdRelatedx0020To:{Page.Policy.Name}
-owstaxIdPolicyx0020Name:"Useful Stuff"

To HCWP KQL:
(ContentTypeId:0x01010044FBB32B81DE4447A78F209576C290FA01*)
(owstaxIdPolicyx0020Name:"Community:Sharing is Caring Policy;*") (owstaxIdRelatedx0020To:"Responsibilities and Working:Useful Stuff;")

Q: is there a way to automate any the above steps say even,  for a CSWP on a page  located on  non publishing site.
Q: Will cross site be supported anytime
Transforming  CSWPs  to community Search Results Web parts
One option we've started looking at to get around the cross site ban 😑 is to use the search results Web part which does support  result sources and pagination.
Q: Do we simply create  a new web part mapping entry and go through "I want to  add an extra web part to page"
Q: Can we redirect the default mapping to Search Results web part instead of the HCWP using custom page layout file  Again can we still need to extract  the search query and possible transform as appropriate the SRWP:
<Property Name="DataProviderJSON" Type="string" Functions="ContentBySearchToSearchResultsProperties

Similarly, we want enable a mapping of Script Editor web part to desired custom web part.  Do we just add the definition of the custom web part added to webpartmapping.xml and the redirection is  made via the custom  page layout mapping file  ?

Observed Behavior
Steps to Reproduce
Submission Guidelines
Thanks for your contribution! Sharing is caring.

Hi @westerdaled ,
About Transforming CSWPs to Highlighted Content web part (HCWPs)
You can mark the CBS, CBQ web parts as cross site collection supported in your web part mapping file by adding the CrossSiteTransformationSupported attribute. So
<WebPart Type="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart, Microsoft.SharePoint.Publishing, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=71e9bce111e9429c">

will become
<WebPart Type="Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart, Microsoft.SharePoint.Publishing, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=71e9bce111e9429c" CrossSiteTransformationSupported="true">

Once you do you need to specify this custom webpartmapping.xml file as input for the transformation via the -WebPartMappingFile parameter of the ConvertTo-PnPClientSidePage cmdlet.
About Transforming CSWPs to community Search Results Web parts
You would have to update the mapping that today is used for the CBS/CBQ web parts. So today CBS looks like this:
<WebPart Type="Microsoft.Office.Server.Search.WebControls.ContentBySearchWebPart, Microsoft.Office.Server.Search, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
        <Properties>
          <Property Name="BypassResultTypes" Type="bool" Functions="{FullPath} = Concatenate({Host}, {Web});{EncodedWeb} = HtmlEncodeForJson({FullPath})"/>
          <Property Name="ItemTemplateId" Type="string"/>
          ...
          <Property Name="StatesJson" Type="string"/>
          <Property Name="ShowSortOptions" Type="bool"/>
        </Properties>
        <Mappings>
          <Mapping Default="true" Name="default">
            <ClientSideWebPart Type="ContentRollup" Order="10" JsonControlData="{"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{"title":"{Title}"{SearchablePlainTexts}},"imageSources":{{ImageSources}},"links":{"baseUrl":"{EncodedWeb}"{Links}},"componentDependencies":{"layoutComponentId":"cea5863a-b857-46bb-aaf0-ae5f7cb447b6"}},"dataVersion":"2.4","properties":{JsonProperties}}"/>
          </Mapping>
        </Mappings>
      </WebPart>

Where as in your custom mapping it would be something like this:
<WebPart Type="Microsoft.Office.Server.Search.WebControls.ContentBySearchWebPart, Microsoft.Office.Server.Search, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
        <Properties>
          <Property Name="BypassResultTypes" Type="bool" Functions="{FullPath} = Concatenate({Host}, {Web});{EncodedWeb} = HtmlEncodeForJson({FullPath})"/>
          <Property Name="ItemTemplateId" Type="string"/>
          ...
          <Property Name="StatesJson" Type="string"/>
          <Property Name="ShowSortOptions" Type="bool"/>
        </Properties>
        <Mappings>
          <Mapping Default="true" Name="default">
            <ClientSideWebPart Type="Custom" ControlId="<community search web part id>" Order="10" JsonControlData="<community json webpart properties>"/>
          </Mapping>
        </Mappings>
      </WebPart>

The link you shared (https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-userinterface-site-pages-model-publishing#i-want-to-add-an-extra-web-part-on-the-created-page) shows a similar concept, but than for adding a new web part which will be put on a page via the publishing page layout file.
While thinking about this I noticed there's an additional complexity: since the HCWP web part properties are so complex they're created via specific function (https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-userinterface-site-pages-api#contentbysearchtohighlightedcontentproperties) which returns all data (including the parsed queries) as a JSON blob. This JSON blob only works for HCWP, so in case of using the community search web parts the solution will require a custom function and possibly also a custom property to enable this via switch (see https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-userinterface-site-pages-webparts#enabling-the-use-of-the-community-script-editor-web-part-to-be-used-during-transformation).

@jansenbe  Thank you sir! Timely as we have a series of demos planned over the next couple of weeks for various peeps.

Doing some housekeeping and closing this one as there's no pending ask.


Update Windows start script.

If the jre or jdk directory exists in the application's home directory, it will be used as the default JAVA_HOME environment variable value.

Sorry, I don't think we're interested in doing this at this time. Maybe if we were involved in packaging the JDK with the application we would do this, but we would need to make that work for both Windows and Linux.


Adding fragmentation metrics + basic light variables to GGIRpart5 output

This is a large pull request mainly related to the addition of fragmentation metrics. I have been working on this in collaboration with Séverine Sabia and her team for the past year.  Additionally, this pull request also includes a few other updates that we considered relevant for our project.
Part of developing this we applied the new GGIR features to their 4000 GENEActiv recordings and we critically checked outliers, missing values, and variable correlations.
1. Fragmentation metrics

New function g.fragmentation calculates the fragmentation metrics for the waking segment of the day, so this is about physical activity and physical inactivity fragmentation. We are not calculating sleep fragmentation yet, implementing and checking the current functionality was already a lot of work and possibly some of the metrics used for waking hours are less informative for sleep, so it is better not to rush that, but it could be future project. Function g.fragmentation is called from within g.part5.
Correspondingly I have added function documentation and a new section to the vignette on the fragmentation analysis, as well as some guidance on fragmentation metric names. To get you started the most important instruction is:

When setting input argument as frag.metrics="all" GGIR part 5 will perform daytime behavioural fragmentation analysis. It is adviced to do this in combination with argument part5_agg2_60seconds=TRUE as that will aggregate the time series to 1 minute resolution as is common in behavioural fragmentation literature.

2. New bout metric

While working on the fragmentation metrics we discovered that the bout metric is still not optimal, which becomes apparent when aggregating the data 1 minute resolution as we recommend for fragmentation analysis. The new bout.metric is number 6.
I have improved the corresponding unit test to help check that we got it right this time.

3. Part 5 weekday and weekend aggregates.

The user can now get these in the part 5 person-level summary by setting argument week_weekend_aggregate.part5=TRUE, default = FALSE.

4. Part 5 report on LUX information

We are currently exploring ways of reporting the LUX (light) information at day and person level. At the moment this mainly works for GENEActiv data because that is the sensor user in our project. Although, we may be advancing this in the upcoming months I am adding this implementation to the master branch to let other people help test it.

5. Setting maximum number of CPU cores to use.

I have added argument maxNcores to control the maximum number of cores to be used in parallel processing mode. I noticed that this is relevant when working on a shared machines with hundreds of cores. See #417. By default GGIR will still use the maximum number of CPU cores.

Edit: I almost forgot, another addition is:
6. Intensity gradient now also in part 5.

The intensity gradient was already calculated in part 2 over the full recording day, but now it is also calculated in part 5 for daytime (waking hours) only.

I got the same problem with actigraph files

It run smooth on actigraph files now. I'm testing it on some axivity, geneactiv and movisens files, but it should be ok.

the updated branch is working well for me now

I am seeing some poor performance of the sleep detection with the branch. I haven't tested on my local test set for several months, so I'm not sure that this change was due to the current pull request or something before (I have some older test data that suggests it was from before). Either way, the sleep detection is not working as good as it used to. Generally, it seems that sleep-onset is being detected far too late. Here are some examples:

These incorrect sleep onset times are reflected in the part4 cleaned output, with two nights SptDuration incorrectly being labelled as 1.9 and 5 hours:

Here is another example of sleep onset times being too late:

The corresponding part4 cleaned data is also incorrect:

These are only 2 of 8 tests in the test set, so represents a fairly high frequency of error. Sleep onset was working properly on these tests after the GGIR 2.0 release, so I'll test backwards to see when the error came in.

Thanks Matt - Part 3 and part 4 are not changed in this pull request, so if there is a problem with sleep detection then I think it was introduced in an earlier update.
Just had a look, and I identified these PRs from the past 6 months that may be relevant:
https://github.com/wadpac/GGIR/pull/405
https://github.com/wadpac/GGIR/pull/403
https://github.com/wadpac/GGIR/pull/399
https://github.com/wadpac/GGIR/pull/392
https://github.com/wadpac/GGIR/pull/379
https://github.com/wadpac/GGIR/pull/374

Thanks Matt - Part 3 and part 4 are not changed in this pull request, so if there is a problem with sleep detection then I think it was introduced in an earlier update.
Just had a look, and I identified these PRs from the past 6 months that may be relevant:
#405
#403
#399
#392
#379
#374

Thanks @vincentvanhees, I'll go through those updates in order to see where the issue crept in, using my local test-set

Sounds good @m-patterson
Ok, I think you can skip #374 and #379 because they do not affect sleep estimates.
Further, #399 should only affect 1 day recordings.

Overview of all code changes between 7-12-2020 and current PR:
https://github.com/wadpac/GGIR/compare/6bbfc0a2cad4f0d316897495d0b865d437147630...issue195_fragmentation
I just went through them. The functions that changed and that may in one way or the other impact on sleep estimates are below.

R/g.detecmidnight.R
R/g.part5.R <= probably not relevant
R/g.part5.addfirstwake.R  <= probably not relevant
R/g.part5.fixmissingnight.R
R/g.sib.det.R <= probably not relevant
R/g.sib.sum.R <= I restructured the code, but not clear what problem could be.

I have gone through them but do not spot any obvious suspicious changes.

@m-patterson for the "08_verisense" file you shared with me yesterday I do not see anything suspicious in the visual report. Only Day 9 may be considered, but this should be explained by non-wear during that night.

Can you send me a file for which you know that visual report does not look good now, but for which it did look good in the past?

Can you send me a file for which you know that visual report does not look good now, but for which it did look good in the past?

@vincentvanhees, I've uploaded trial 07 to the same older and 02 is currently uploading, those were the example that I showed had an error in sleep onset detection.

As for this pull request, it run well in all the files I tested from different brands.

branch is working correctly on my local test set, it was an error in my window size input that was causing the problem in sleep onset detection.


[WIP] Move TF Operator e2e tests to AWS Prow

This PR moves TF Operator e2e tests to AWS

remove GCP related credentials, volume and command
add AWS credentials and registry
use Kaniko to build image
change the way of setup-cluster and tear-down-cluster

@Jeffwan @gaocegege @PatrickXYS  How do I test it with presubmit from github? It seems the presubmit is now turn off.
Please also take a loop and help me to review the PR, thanks!

Coverage remained the same at 70.839% when pulling ad74c19ae6c4ffe982213c2ee80521c576f04c2c on ChanYiLin:master into fb7b1616af823ada13d181849a3d00d9e9e6ac10 on kubeflow:master.

I have no idea about it. Maybe we should ask @PatrickXYS for help :smile:

Sorry for late. I will have a look tomorrow

Sorry for late. I will have a look tomorrow

/test ?

/test ?

@ChanYiLin Given this comment (https://github.com/kubeflow/tf-operator/pull/1204#issuecomment-762368679), tf-operator can now send event via webhook to our optional-test-infra, you can follow the doc to move forward.
https://github.com/kubeflow/testing/blob/master/aws/Doc/onboarding.md

@ChanYiLin Given this comment (https://github.com/kubeflow/tf-operator/pull/1204#issuecomment-762368679), tf-operator can now send event via webhook to our optional-test-infra, you can follow the doc to move forward.
https://github.com/kubeflow/testing/blob/master/aws/Doc/onboarding.md

/test

/test

/test kubeflow-tf-operator-presubmit

/test kubeflow-tf-operator-presubmit

@PatrickXYS I saw you migrate pytorch testing to here https://github.com/kubeflow/testing/blob/master/aws/GitOps/clusters/optional-test-infra-prow/namespaces/prow/config.yaml
Do I have to do the same thing?
Another question is how can I fix the  No presubmit jobs available for kubeflow/tf-operator@master from the robot
Thanks

@PatrickXYS I saw you migrate pytorch testing to here https://github.com/kubeflow/testing/blob/master/aws/GitOps/clusters/optional-test-infra-prow/namespaces/prow/config.yaml
Do I have to do the same thing?
Another question is how can I fix the  No presubmit jobs available for kubeflow/tf-operator@master from the robot
Thanks

@PatrickXYS By the way
I got my argo workflow failed link
It seems the workflow failed because of the format, how can I know the details?
Thanks

@PatrickXYS By the way
I got my argo workflow failed link
It seems the workflow failed because of the format, how can I know the details?
Thanks

Another question is how can I fix the  No presubmit jobs available for kubeflow/tf-operator@master from the robot
Thanks

This is because we disabled tf-operator job in k8s-ci-bot, but enabled in aws-kf-ci-bot. We should disable kubeflow/tf-operator trigger as well.

Another question is how can I fix the  No presubmit jobs available for kubeflow/tf-operator@master from the robot
Thanks

This is because we disabled tf-operator job in k8s-ci-bot, but enabled in aws-kf-ci-bot. We should disable kubeflow/tf-operator trigger as well.

/test ?

/test ?

@ChanYiLin We can disable k8s-ci-bot's trigger after you finished migration.

@ChanYiLin We can disable k8s-ci-bot's trigger after you finished migration.

@PatrickXYS I saw you migrate pytorch testing to here https://github.com/kubeflow/testing/blob/master/aws/GitOps/clusters/optional-test-infra-prow/namespaces/prow/config.yaml
Do I have to do the same thing?

Basically everything will be the same, I can help after you merge this PR.

@PatrickXYS I saw you migrate pytorch testing to here https://github.com/kubeflow/testing/blob/master/aws/GitOps/clusters/optional-test-infra-prow/namespaces/prow/config.yaml
Do I have to do the same thing?

Basically everything will be the same, I can help after you merge this PR.

Hi @jinchihe
my argo e2e test got following log link
INFO|2021-01-27T02:19:17|/mnt/test-data-volume/kubeflow-tf-operator-presubmit-v1-1204-e222e4f-6208-9a33/src/kubeflow/testing/py/kubeflow/
testing/util.py|73| level=info msg="Creating environment \"test-env-f05d\" with namespace \"default\", pointing to \"version:v1.17.12\" c
luster at address \"https://8480974B097DF564C9B607072B67A721.gr7.us-west-2.eks.amazonaws.com\""
INFO|2021-01-27T02:19:18|/mnt/test-data-volume/kubeflow-tf-operator-presubmit-v1-1204-e222e4f-6208-9a33/src/kubeflow/testing/py/kubeflow/
testing/util.py|73| level=error msg="No Major.Minor.Patch elements found"

I feels like I have met this issue before and you fixed it by updating the gcp cluster version
I got the same issue again now when migrating to aws.
Can you help me to check?
Thanks!

Hi @jinchihe
my argo e2e test got following log link
INFO|2021-01-27T02:19:17|/mnt/test-data-volume/kubeflow-tf-operator-presubmit-v1-1204-e222e4f-6208-9a33/src/kubeflow/testing/py/kubeflow/
testing/util.py|73| level=info msg="Creating environment \"test-env-f05d\" with namespace \"default\", pointing to \"version:v1.17.12\" c
luster at address \"https://8480974B097DF564C9B607072B67A721.gr7.us-west-2.eks.amazonaws.com\""
INFO|2021-01-27T02:19:18|/mnt/test-data-volume/kubeflow-tf-operator-presubmit-v1-1204-e222e4f-6208-9a33/src/kubeflow/testing/py/kubeflow/
testing/util.py|73| level=error msg="No Major.Minor.Patch elements found"

I feels like I have met this issue before and you fixed it by updating the gcp cluster version
I got the same issue again now when migrating to aws.
Can you help me to check?
Thanks!

@Jeffwan Can you also help @ChanYiLin to resolve the issue?
I can jump in as well if that's hard to debug

@Jeffwan Can you also help @ChanYiLin to resolve the issue?
I can jump in as well if that's hard to debug

@PatrickXYS I think the error came from ksonnet which is not maintained anymore.
But the e2e test relied on ks to deploy tfjob fro testing.
I would like to migrate it to tfjob client for example but I don't want to do it in the same PR
May I disable the test now to merge the PR first and then open another issue to migrate the test?
WDYT @gaocegege @Jeffwan

@PatrickXYS I think the error came from ksonnet which is not maintained anymore.
But the e2e test relied on ks to deploy tfjob fro testing.
I would like to migrate it to tfjob client for example but I don't want to do it in the same PR
May I disable the test now to merge the PR first and then open another issue to migrate the test?
WDYT @gaocegege @Jeffwan

Ok I finally get it
https://raw.githubusercontent.com/kubernetes/kubernetes/v1.17.12/api/openapi-spec/swagger.json
since there is no info.version in the APISpec
so ksonnet got No Major.Minor.Patch elements found here
https://github.com/ksonnet/ksonnet/blob/04138b998cb26049626280a0c32be21bdd902d3b/pkg/util/kslib/ksonnet.go#L64
hmmm....

Ok I finally get it
https://raw.githubusercontent.com/kubernetes/kubernetes/v1.17.12/api/openapi-spec/swagger.json
since there is no info.version in the APISpec
so ksonnet got No Major.Minor.Patch elements found here
https://github.com/ksonnet/ksonnet/blob/04138b998cb26049626280a0c32be21bdd902d3b/pkg/util/kslib/ksonnet.go#L64
hmmm....

  def sanitize_for_serialization(self, obj):
       """Builds a JSON POST object.

       If obj is None, return None.
       If obj is str, int, long, float, bool, return directly.
       If obj is datetime.datetime, datetime.date
           convert to string in iso8601 format.
       If obj is list, sanitize each element in the list.
       If obj is dict, return the dict.
       If obj is OpenAPI model, return the properties dict.

       :param obj: The data to serialize.
       :return: The serialized form of data.
       """
       if obj is None:
           return None
       elif isinstance(obj, self.PRIMITIVE_TYPES):
           return obj
       elif isinstance(obj, list):
           return [self.sanitize_for_serialization(sub_obj)
                   for sub_obj in obj]
       elif isinstance(obj, tuple):
           return tuple(self.sanitize_for_serialization(sub_obj)
                        for sub_obj in obj)
       elif isinstance(obj, (datetime.datetime, datetime.date)):
           return obj.isoformat()

       if isinstance(obj, dict):
           obj_dict = obj
       else:
           # Convert model obj to dict except
           # attributes `openapi_types`, `attribute_map`
           # and attributes which value is not None.
           # Convert attribute name to json key in
           # model definition for request.
           obj_dict = {obj.attribute_map[attr]: getattr(obj, attr)
>                       for attr, _ in six.iteritems(obj.openapi_types)
                       if getattr(obj, attr) is not None}
E           AttributeError: 'V1TFJob' object has no attribute 'openapi_types'
/usr/local/lib/python3.8/dist-packages/kubernetes/client/api_client.py:238: AttributeError

Test Failures

  def sanitize_for_serialization(self, obj):
       """Builds a JSON POST object.

       If obj is None, return None.
       If obj is str, int, long, float, bool, return directly.
       If obj is datetime.datetime, datetime.date
           convert to string in iso8601 format.
       If obj is list, sanitize each element in the list.
       If obj is dict, return the dict.
       If obj is OpenAPI model, return the properties dict.

       :param obj: The data to serialize.
       :return: The serialized form of data.
       """
       if obj is None:
           return None
       elif isinstance(obj, self.PRIMITIVE_TYPES):
           return obj
       elif isinstance(obj, list):
           return [self.sanitize_for_serialization(sub_obj)
                   for sub_obj in obj]
       elif isinstance(obj, tuple):
           return tuple(self.sanitize_for_serialization(sub_obj)
                        for sub_obj in obj)
       elif isinstance(obj, (datetime.datetime, datetime.date)):
           return obj.isoformat()

       if isinstance(obj, dict):
           obj_dict = obj
       else:
           # Convert model obj to dict except
           # attributes `openapi_types`, `attribute_map`
           # and attributes which value is not None.
           # Convert attribute name to json key in
           # model definition for request.
           obj_dict = {obj.attribute_map[attr]: getattr(obj, attr)
>                       for attr, _ in six.iteritems(obj.openapi_types)
                       if getattr(obj, attr) is not None}
E           AttributeError: 'V1TFJob' object has no attribute 'openapi_types'
/usr/local/lib/python3.8/dist-packages/kubernetes/client/api_client.py:238: AttributeError

Test Failures

I now manually set the api-spec to 1.13.0
it works for ksonnet

  def sanitize_for_serialization(self, obj):
       """Builds a JSON POST object.

       If obj is None, return None.
       If obj is str, int, long, float, bool, return directly.
       If obj is datetime.datetime, datetime.date
           convert to string in iso8601 format.
       If obj is list, sanitize each element in the list.
       If obj is dict, return the dict.
       If obj is OpenAPI model, return the properties dict.

       :param obj: The data to serialize.
       :return: The serialized form of data.
       """
       if obj is None:
           return None
       elif isinstance(obj, self.PRIMITIVE_TYPES):
           return obj
       elif isinstance(obj, list):
           return [self.sanitize_for_serialization(sub_obj)
                   for sub_obj in obj]
       elif isinstance(obj, tuple):
           return tuple(self.sanitize_for_serialization(sub_obj)
                        for sub_obj in obj)
       elif isinstance(obj, (datetime.datetime, datetime.date)):
           return obj.isoformat()

       if isinstance(obj, dict):
           obj_dict = obj
       else:
           # Convert model obj to dict except
           # attributes `openapi_types`, `attribute_map`
           # and attributes which value is not None.
           # Convert attribute name to json key in
           # model definition for request.
           obj_dict = {obj.attribute_map[attr]: getattr(obj, attr)
>                       for attr, _ in six.iteritems(obj.openapi_types)
                       if getattr(obj, attr) is not None}
E           AttributeError: 'V1TFJob' object has no attribute 'openapi_types'
/usr/local/lib/python3.8/dist-packages/kubernetes/client/api_client.py:238: AttributeError

Test Failures

@PatrickXYS this part is what I am not familiar might need you or others help.
I am debugging the argo e2e test workflow.

@ChanYiLin This is the issue which caused the AttributeError: 'V1TFJob' object has no attribute 'openapi_types'
https://github.com/kubernetes-client/python/issues/1112

@ChanYiLin Hi any updates on this PR? In the near future I'll migrate tf-operator to new test-infra as well to avoid consuming internal account's resources.
I'll suggest changes here as well to make sure we can migrate soon.

/test ?

/test kubeflow-tf-operator-presubmit
This should kick off test but expected to fail without adopting above changes

@ChanYiLin Hi any updates on this PR? In the near future I'll migrate tf-operator to new test-infra as well to avoid consuming internal account's resources.
I'll suggest changes here as well to make sure we can migrate soon.

@PatrickXYS Sorry for replying late
I get this two days for this work, I'll make sure to make this PR works.

@PatrickXYS Yes!
After fixing all the bugs related to python version or kubernetes client version, it finally works. Thanks for the help !
Let me squash the commit and remove the WIP label

/lgtm

@Jeffwan @gaocegege @PatrickXYS
This PR is done, please review and leave lgtm if there is no problem. Then we can close it :)

/lgtm
/approve


Conflicts: check that profile emails are not obfuscated

Otherwise a lot of invalid conflict can be detected. I suggest to check if there is at least one profile.content.emails that starts with ****@ and throw an exception.

I think the function that get the profile info needs to make sure the emails are not obfuscated and throw an exception if they are.

Should we throw an exception even if only the username is obfuscated?

What do you mean username? only email addresses are obfuscated. If you find at least one email that startwith '***' then you should throw an error.

by username I mean only the first part of email, i.e. part before @?

ohhh YEs! we only obfuscate the first part of the email with ****

then it won't cause any problems with subdomains and I say we should remove the emails intersection as it's not necessary anymore.

I don't understand your last comment, I think you should stop computing the conflicts.

What's the need of computing conflicts with emails since we are already using subdomains? Is there any particular case which is not covered by subdomains?

sometimes email domains are not listed in the history of the profile so we should take it in account for conflict detection. There might be profiles with no history at all but one email address and we should use it as a domain.

Maybe in the future, we should force the users to complete their history record if they enter an institutional email, after that we can ignore emails for conflict detection.

get_profile_info currently combines domains from both profile.content['emails'] and profile.content['history'].
The scenario you mentioned

sometimes email domains are not listed in the history of the profile so we should take it in account for conflict detection. There might be profiles with no history at all but one email address and we should use it as a domain.

I think is specific to get_neurips_profile_info, which we should change to what's happening in get_profile_info.

What do you propose to change?
We also compute conflicts looking at the relations:
conflicts.update(author_relations.intersection(user_info['emails']))
conflicts.update(author_emails.intersection(user_info['relations']))

We can not get rid of the emails, at least for now.

I see, I have couple of questions first:

Do we store the obfuscated info anywhere?
What happens next if we raise an exception?

No, the API obfuscate the emails when it returns the JSON in the GET /profiles call. Only if you have not permission to see the emails.
The user that is running the code should see the exception and fix the permission issue.

Ah, since it's a permission issue, raising an exception makes sense. I'll add this. However, I'd still suggest removing email-email conflicts and updating the get_neurips_profile_info. Let me know if you want to do that.

Finally, is the obfuscation always ****@?

I'd still suggest removing email-email conflicts

Co-authors with no profiles should use the email to compute domain conflicts.
Profiles with no history must use the email to compute domain conflicts.

Do you want to remove this line?
conflicts.update(author_emails.intersection(user_info['emails']))

updating the get_neurips_profile_info

Can you describe the proposed change here?

is the obfuscation always ****@

Yes.

I'll make a PR. It'll be easier to review the changes that way.


Customize View

Hello. Are you planning on creating a nib for the embedded view? This would make the auto layout much more simple - and customizable!

I figured it out - just make my own cell and use the other methods you supply to get the data. Awesome.


'checked' is redundant in this context.

Codacy detected an issue:
Message: 'checked' is redundant in this context.
Occurred on:

Commit:  c885a9400c301374088bab86d4a29982a6a50f9b
File:    kvs-tools-csharp/src/Archive/MediaFileReader.cs
LineNum: 18
Code:    var totalSize = (uint)checked(KtsrHeader.NumberOfBytes + mediaSize);

Currently on:

Commit:  c885a9400c301374088bab86d4a29982a6a50f9b
File:    kvs-tools-csharp/src/Archive/MediaFileReader.cs
LineNum: 18

In C#, int + uint becomes long.


[techtalks] RTMP fails with ERROR: rtmpdump exited with code 1

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.09.15. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.09.15

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
youtube-dl -v rtmp://webcast.weyond.com/vod/PRIVATE/PRIVATE/mp4: PRIVATE.mp4
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'rtmp://webcast.weyond.com/vod/PRIVATE/PRIVATE/mp4: PRIVATE.mp4']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.09.15
[debug] Python version 3.5.2 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.8.6, ffprobe 2.8.6, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Invoking downloader on 'rtmp://webcast.weyond.com/vod/PRIVATE/PRIVATE/mp4: PRIVATE.mp4'
[download] Destination: mp4 -PRIVATE.flv
[debug] rtmpdump command line: rtmpdump --verbose -r rtmp://webcast.weyond.com/vod/PRIVATE/PRIVATE/mp4: PRIVATE.mp4 -o 'mp4 -PRIVATE-mp4 -PRIVATE.flv.part' --resume --skip 1
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
[rtmpdump] DEBUG: Parsed host    : webcast.weyond.com
[rtmpdump] DEBUG: Parsed app     : vod/PRIVATE/PRIVATE
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : webcast.weyond.com
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4: PRIVATE.mp4
[rtmpdump] DEBUG: tcUrl    : rtmp://webcast.weyond.com:1935/vod/PRIVATE/PRIVATE
[rtmpdump] DEBUG: app      : vod/PRIVATE/PRIVATE
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Failed to get last keyframe.
[rtmpdump] DEBUG: Closing connection.
[rtmpdump] 0 bytes
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
[rtmpdump] DEBUG: Parsed host    : webcast.weyond.com
[rtmpdump] DEBUG: Parsed app     : vod/PRIVATE/PRIVATE
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : webcast.weyond.com
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4: PRIVATE.mp4
[rtmpdump] DEBUG: tcUrl    : rtmp://webcast.weyond.com:1935/vod/PRIVATE/PRIVATE
[rtmpdump] DEBUG: app      : vod/PRIVATE/PRIVATE
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Failed to get last keyframe.
[rtmpdump] DEBUG: Closing connection.

ERROR: rtmpdump exited with code 1
  File "/Users/user/anaconda3/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/Users/markostamenovic/anaconda3/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 449, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 439, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 751, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1435, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1699, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1641, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 354, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 202, in real_download
    self.report_error('rtmpdump exited with code %d' % retval)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 162, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 568, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 530, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
fails on rtmp download from techtalks.tv
PRIVATE inserted into sensitive urls

Please give a concrete example. http://techtalks.tv/talks/learning-topic-models-going-beyond-svd/57758/ works fine.

Closing as no response for a long time

How about this link: http://techtalks.tv/talks/deep-learning-for-nlp-without-magic-part-1/58414/


Custom naming strategy not work

package xxx
trait Mysql extends NamingStrategy {
  def table(s: String) = s"`$s`"
  def column(s: String) = s"`$s`"
}

object Mysql extends Mysql

When I try to implement an custom mysql escape nameing strategy, compiler complains

Can't load object 'xxx.Mysql'.

the 0.2.1 version actually not support column, table, method

@jilen Yes, it's available only on 2.2-SNAPSHOT. If you'd like to use it,

The class is compiled before the source folder using it. It's the same procedure as macros, see the sbt documentation for more information: http://www.scala-sbt.org/0.13.5/docs/Detailed-Topics/Macro-Projects.html
Add the maven central's snapshot repo: resolvers += Resolver.sonatypeRepo("snapshots")


Validate byte and string

Create a method to validate if a CharSequence is empty ("") or null
Make public BinaryCodec.isEmpty in order to reuse and avoid duplicate validations

Coverage increased (+0.001%) to 94.51% when pulling 35a4093d144476f96df2d0226805a01b272c80e1 on arturobernalg:feature/utils into 85cb447f13280ee29c9311a0c78a26f6d10d44dd on apache:master.

Hi @arturobernal
Would you mind rebasing this PR on master?

Hi @arturobernal
Would you mind rebasing this PR on master?

Hi @arturobernal
Would you mind rebasing this PR on master?

Done.

Hi @arturobernalg
Would you please resolve the one conflict?

done


Add OSM Matrix space

Community Resource Name
OpenStreetMap Matrix Space
What is it?
Matrix space with all known OSM Matrix (and IRC) rooms
URL link to the resource
https://matrix.to/#/!dVTUnmFeNhukpAwMoy:t2bot.io?via=matrix.org&via=grin.hu&via=mozilla.org
Location
Global
Description (optional)
Matrix is more modern replacement for IRC but still interoperable with it. This space contains
all known OSM related rooms including IRC channels.

Hey @vranki - occasionally we get requests like this to add a worldwide matrix, see #305 / #316, and in the past I've said "no" because it's a global source that would be presented to everyone, but not run by the OSM Foundation.
I'm ok if local communities want to use matrix to organize and bridge their channels, and I've accepted plenty of these, but for global resources the request really needs to come from the OSMF or CWG.

Thanks @bhousel - I understand the situation. What would be the way to approach OSM Foundation to recognize the space and make it official? Looking at big picture Matrix has replaced IRC in major FOSS institutions (KDE, Gnome, Mozilla, Ansible, etc) so it's a logical choice for OSM community in future.
Currently there are a lot of overlapping OSM chat channels, so as a newcomer it is very confusing. Standardizing to one (open) platform and pointing users to it in documentation would fix this. Naturally bridges can be set up so those who want to stay on other platforms can do so.


Add code coverage badge

Codecov Report

Merging #103 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #103   +/-   ##
=========================================
  Coverage     82.52%   82.52%
  Complexity      234      234
=========================================
  Files            45       45
  Lines           950      950
  Branches        151      151
=========================================
  Hits            784      784
  Misses          109      109
  Partials         57       57

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7cc48b7...0495a10. Read the comment docs.


feat: Add new tutorial steps related to social features

[x] Add a new tutorial step (tooltip) for the Users Around list.

[x] Add a new tutorial step (tooltip) for the social features groups in the taskbar (voice chat, world chat and friends).

[x] Create a new tutorial path for users that already saw the tutorial. In this path the user should view the tooltip for the Users Around list but it will be automatically hidden after 5 seconds.

TESTING URL: https://explorer.decentraland.zone/branch/feat/New-tutorial-step-for-the-Users-Around-list/index.html
NOTE: Add the param &RESET_TUTORIAL in the url if you need to restart the tutorial flow.

Looks good! It's ok to show the new step every time the user goes into explorer? It can be annoying.

Yes, it will be always showed but it automatically hides after 5 seconds.

Looks good! It's ok to show the new step every time the user goes into explorer? It can be annoying.

Yes, it will be always showed but it automatically hides after 5 seconds.

We could add something like UsersAroundListStep = 512 to the TutorialFinishStep and add it to the tutorialflag of the profile to avoid showing it again


x86 VMX instruction set is not recognized

Hello,
x86 VMX instruction set is not recognized by udis86
[XX]  disasm: x86: [VMCALL]
[XX]  disasm: x86: [VMLAUNCH]
[XX]  disasm: x86: [VMRESUME]
[XX]  disasm: x86: [VMXOFF]
From the radare2-regressions

Missing vendor set e.g. ud_set_vendor(u, UD_VENDOR_INTEL);
Further reference http://udis86.sourceforge.net/manual/libudis86.html
echo "0f 01 c1" | ./udcli -x -32 -v intel
0000000000000000 0f01c1           vmcall


Add StoryboardSegue type

As a fix for calling performSegueWithIdentifier on controllers that don't match the provided StoryboardSegueIdentifier:
Add a "StoryboardSegue" type that wraps a StoryboardSegueIdentifier together with the appropriate ViewController. Something similar to:
public struct StoryboardSegue<Segue, Source, Destination> {
  public let identifier: StoryboardSegueIdentifier<Segue, Source, Destination>
  public let sourceViewController: Source
}

That way we can add a performSegue method in an extension:
extension StoryboardSegue where Source: UIViewController  {
  func performSegue() {
    sourceViewController.performSegueWithIdentifier(identifier, sender: sourceViewController)
  }
}

If possible, also change the existing UIViewController extension so that performSegueWithIdentifier can only be called with segues of the correct source type. Or remove it all together.

As soon as we merge https://github.com/mac-cain13/R.swift.Library/pull/2 this will be solved I think. So closing this one already, since we only need to discuss some details on that other PR.


Install Content files again.

Fix for https://github.com/fsprojects/Paket/issues/3269
This PR allows the usage of nuget packages with Content files, as well as allowing .cs files to be included as Content. Previously they got added as Compile, which caused duplicate errors to prevent the project from compiling.

@forki not sure how to deal with this test: https://github.com/fsprojects/Paket/blob/master/tests/Paket.Tests/ProjectFile/FileBuildActionSpecs.fs#L18-L24
Since this PR changes that behaviour for toolsVersion 15

Since this PR changes that behaviour for toolsVersion 15

Can you extend the test to cover both cases (ie create an additional createProjectv15 helper for example)?

@CumpsD Is this a blocker for my Fake release? :)

I will have a look at the test later today (in an emergency room right now)
No idea if it is a blocker, Content files from nuget packages dont get copied in our projects ;)

@CumpsD Ok thanks for the fast response let's see what happens (However, it wasn't urgent enough to compete with emergency room)

New test is incoming :) having lots of trouble running them on this machine, fingers crossed

@matthid could it be that this test is also flaky, I have no idea why it fails: https://ci.appveyor.com/project/paket/paket/build/<IP_ADDRESS>2/job/kxrbi3tfxcokahlo
Something about Azure functions.
Anyway, I've updated the test to create a v15 project, if you could have a look?

@matthid is this ready?

I think the impact will be fine, since nobody was bothered by the fact it got broken in the first place except @btodts who asked for the change :)

Well tests are here to "lock" this behavior and find this issue in case we need it (maybe we can have the issue number in the new test name). We can continue the discussion from there if we break anyone.
:shipit:

See #3331.

Unfortunately I had to revert this. Can you please send a new pull request? Thanks


Merge into homebrew

Would it be possible to have this formula added to the homebrew main repository?

That'd be nice.

Do you know how we'd do that?
Do you know anyone who'd be willing to maintain that package?
(While NeoMutt is in this local repo, it's trivial for me to update it whenever I make a release)

according to brew documentation publishing is possible using pull requests. So it will maybe take some time to get merged.
What if we use neomutt/homebrew-neomutt for developers + testing and then create pull requests to homebrew/core?

So it will maybe take some time to get merged.

I imagine so the first time.
As for normal releases, it seems there's a dev script to automate the process: -- Mutt's last release

What if we use neomutt/homebrew-neomutt for developers + testing

That sounds good.
I'll add a list of jobs to the initial comment.

Merged into Homebrew core


Node drain podselector field

// DrainSpec encapsulates kubectl drain parameters minus node/pod selectors.
type DrainSpec struct {
Timeout                  *time.Duration json:"timeout,omitempty"
GracePeriod              *int32         json:"gracePeriod,omitempty"
DeleteLocalData          *bool          json:"deleteLocalData,omitempty"
IgnoreDaemonSets         *bool          json:"ignoreDaemonSets,omitempty"
Force                    bool           json:"force,omitempty"
DisableEviction          bool           json:"disableEviction,omitempty"
SkipWaitForDeleteTimeout int            json:"skipWaitForDeleteTimeout,omitempty"
}
will there be an option to use --podselector in DrainSpec? right now only !upgrade.cattle.io/controller=system-upgrade-controller pods (and the Daemonsets) are not evicted. I want to skip some other critical controller-pods(that are hosting my images and RPMs) as well in SUC plan.

Any updates on this ?

This was added in a commit two weeks ago or so: https://github.com/rancher/system-upgrade-controller/commit/0c3aa94c1a9b2330ed5ecff6fa730f258e107b2a

#239 fixed some bugs in #231 and the main release is now 0.11.0 and it resolves these issues for me.


Use C12 for atmosphere Tier1 tests

Currently Tier1 tests are using C90 resolution which takes about half an hour to complete and requires multiple compute nodes. @rtodling created some low-res backgrounds in the R2D2 folder that we could use.
Afterwards, we could just simply copy tier1 C90 tests to tier2 and users still can access them.

This works for 2021 by just making two changes in the tier1 YAML.

I'm able to run low resolution atmosphere tests (c13 as opposed to c91).
Following the discussion during last development meeting, we want Swell defaults to be Tier 2 with higher/proper model resolutions. Which is fine, but this will impact the CI-workflow scripting which use tier1 defaults (more like defaults + tier1 overrides). I think as a next step we could see if we can use @ashiklom's swell t1test ufo_testing scripting within the CI-workflow YAMLs.


Fix: strzl_sort_config_t symbol

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


Renew just dies with no error (sometimes it says EOF)

run command works fine, renew fails silently for me
This is my cron that's been working for months
/usr/local/bin/lego<EMAIL_ADDRESS>-d=example.com -d=d1.example.com -d=d2.example.com --path=/etc/lego --dns=route53

This is the output I get (sometimes the EOF line is missing)
2017/01/08 23:28:49 [INFO][example.com] acme: Trying renewal with 1408 hours remaining
2017/01/08 23:28:49 [INFO][example.com, d1.example.com, d2.example.com] acme: Obtaining bundled SAN certificate
2017/01/08 23:28:51 EOF

Only started happening in Dec I believe. Any ideas?

Hey!
How often does your cron job run? I noticed you are not using the --days switch.

once a month

The log message is not useful, to be sure, but I usually see EOF when the network connection is flaky or the remote is having issues. Is it a consistent EOF error?

not sure what to do here, any points to debug this further? Sometimes the EOF message is missing and the process just finishes.
I'll the master branch and see if it's any different

We've started seeing this too. Everything was working fine until we came to renew on 25th Jan, now renew sometimes works fine but other times just exits with no output, error or cert generated.
$ AWS_REGION='us-east-1' AWS_ACCESS_KEY_ID='...' AWS_SECRET_ACCESS_KEY='...' /usr/local/bin/lego --email='...' --dns="route53" --path='/tmp/lego' --accept-tos  --domains="..." renew 2>&1
2017/02/01 17:12:51 [INFO] acme: Trying renewal with 466 hours remaining
2017/02/01 17:12:51 [INFO] acme: Obtaining bundled SAN certificate
$

We run our cron once a week but we check for certs expiring within 30 days to renew.

I seem to have also encountered this error. It fails in the same spot, however mine spit out a panic.
`panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xc8 pc=0x7fb1a3f5f935]
goroutine 18 [running]:
panic(0x7fb1a48ae740, 0xc420012070)
/usr/lib/go/src/runtime/panic.go:500 +0x1a5
github.com/xenolf/lego/acme.(*Client).getChallenges.func1(0xc4204182a0, 0xc420408840, 0xc4204087e0, 0xc420429300, 0xf)
/go/src/github.com/xenolf/lego/acme/client.go:529 +0x195
created by github.com/xenolf/lego/acme.(*Client).getChallenges
/go/src/github.com/xenolf/lego/acme/client.go:542 +0x115`

I'm also seeing this EOF when using lego via Sabayon - https://github.com/dmathieu/sabayon/issues/42:
$ heroku run bin/sabayon -a sabayon-for-my-app

Running bin/sabayon on ⬢ sabayon-for-my-app... up, run.1834 (Hobby)
2017/01/30 17:14:22 cert.create<EMAIL_ADDRESS>domains='[www.domain1.com www.domain2.com]'
2017/01/30 17:14:23 [INFO] acme: Registering account for<EMAIL_ADDRESS>2017/01/30 17:14:23 [INFO][www.domain1.com, www.domain2.com] acme: Obtaining bundled SAN certificate
2017/01/30 17:14:24 EOF

$

I have the exact same situation as @danielflippance, same log as well. The EOF appears right after the note about Obtaining bundled SAN certificate. No error message, just does not work.

So what I did was a tried deploying an identical copy of the sabayon app (which uses lego) to see what would happen. I ran the sabayon job and on first run, I got a panic, before from that moment on, receiving EOF errors once again. Here is the panic:
panic: runtime error: slice bounds out of range

goroutine 74 [running]:
panic(0x717ee0, 0xc4200100e0)
	/app/tmp/cache/go1.7.5/go/src/runtime/panic.go:500 +0x1a1
github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme.(*jws).Nonce(0xc42038eb00, 0xc4203a0500, 0x1, 0xc4201183f0, 0x1)
	/tmp/tmp.Q2359EFByl/.go/src/github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme/jws.go:105 +0xd4
github.com/dmathieu/sabayon/vendor/gopkg.in/square/go-jose%2ev1.(*genericSigner).Sign(0xc420308a50, 0xc4203a0460, 0x7d, 0x9d, 0x7f487012e1e8, 0xc420308a50, 0x0)
	/tmp/tmp.Q2359EFByl/.go/src/github.com/dmathieu/sabayon/vendor/gopkg.in/square/go-jose.v1/signing.go:157 +0x64f
github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme.(*jws).signContent(0xc42038eb00, 0xc4203a0460, 0x7d, 0x9d, 0xc42018acf0, 0x99, 0x100)
	/tmp/tmp.Q2359EFByl/.go/src/github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme/jws.go:70 +0x100
github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme.(*jws).post(0xc42038eb00, 0xc42038f380, 0x33, 0xc4203a0460, 0x7d, 0x9d, 0x0, 0x88, 0x88)
	/tmp/tmp.Q2359EFByl/.go/src/github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme/jws.go:35 +0x67
github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme.postJSON(0xc42038eb00, 0xc42038f380, 0x33, 0x7511a0, 0xc42018acf0, 0x6f1f80, 0xc42018ac60, 0x0, 0x0, 0x0)
	/tmp/tmp.Q2359EFByl/.go/src/github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme/http.go:96 +0x153
github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme.(*Client).getChallenges.func1(0xc4200821b0, 0xc4200e6360, 0xc4200e6060, 0xc42001415a, 0x1d)
	/tmp/tmp.Q2359EFByl/.go/src/github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme/client.go:408 +0x1c6
created by github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme.(*Client).getChallenges
	/tmp/tmp.Q2359EFByl/.go/src/github.com/dmathieu/sabayon/vendor/github.com/xenolf/lego/acme/client.go:421 +0x113

Perhaps this will help debug the issue!

@mtimofiiv Thanks for the stack trace! Sabayon seems to use a version of lego which did not check for a certain condition in the Nonce() function. This has since been resolved and should no longer pop up - I don't think it is related to this issue though.

I've added some better logging to where I assume this is happening. Would be great if any of you could test it.

I built lego from master/HEAD last week and that fixed the problem for me. Time for a new release?

I have rebuilt from HEAD and now I am getting instead of just EOF:
acme: Error 429 -  -
During one try I got:
- package: github.com/Masterminds/cookoo
version: 1.1.0
- package: github.com/kylelemons/go-gypsy
EOF

Latest version also gives me the same unexplained 429 error. I suspect this one is also a duplicate:
https://github.com/xenolf/lego/issues/356

429 is hitting a rate limit on the endpoint, surely related/fixed in #357? Is someone able to test to see if that resolves it?

I tried #357 with no success. I don't see 429 error anymore but it just dies as described here...

It may be some kind of wrongful 429. To me it happened in the scenario where I was requesting a single cert with multiple additional domains. I requested the http-01 verification, and one of the domains did not correctly resolve to its destination.
So I saw a bunch of approvals of the verifications, and then all of a sudden 429 on the bad domain, despite the fact that it was probably more of a 400 or the like.

I tried #357 with no success. I don't see 429 error anymore but it just dies as described here...

@Wonderfall Have you tried editing the RPS const to a lower value to see if that helps?

@xenolf Yep I tried 15, 10... Same problem.

I think I'm running into this issue too. It just exits during renew. I have successfully renewed with the same command previously. Now, it just generates 0 byte files with extensions only, no filenames.

This should be solved since #390


Initial values for weights and Biases in MLP Classifier

Hi, is it possible to change the initial values for the weights and biases? I think they are set in Lasagne but I don't know which initial values are used and if I can change them using "Classifier".
Thank you very much

You can access them at low-level using get_parameters() and set_parameters(). It's lasagne default, but it doesn't matter too much if you use batch normalization.

Am I right that I can access those functions through the _backend of the classifier?
Thank you very much

Also, when I try to use the option normalize="batch" I get the following error message. Any help will be very useful. Thanks 1
Traceback (most recent call last):
File "", line 1, in
File "C:\Anaconda\lib\site-packages\sknn\mlp.py", line 397, in fit
return super(Classifier, self)._fit(X, yp, w)
File "C:\Anaconda\lib\site-packages\sknn\mlp.py", line 213, in _fit
X, y = self._initialize(X, y, w)
File "C:\Anaconda\lib\site-packages\sknn\mlp.py", line 42, in _initialize
return self._backend._initialize_impl(X, y, w)
File "C:\Anaconda\lib\site-packages\sknn\backend\lasagne\mlp.py", line 241, in _initialize_impl
self._create_mlp(X, w)
File "C:\Anaconda\lib\site-packages\sknn\backend\lasagne\mlp.py", line 188, in _create_mlp
network = self._create_layer(layer.name, layer, network)
File "C:\Anaconda\lib\site-packages\sknn\backend\lasagne\mlp.py", line 171, in _create_layer
network = lasagne.layers.batch_norm(network)
AttributeError: 'module' object has no attribute 'batch_norm'

You need the latest Lasagne from requirements.txt.

Thank you very much. normalize="batch" indeed works with the latest lasagne. I have a followup question however regarding get_parameters() and set_parameters(). I have the following error when I call myclassifier.get_parameters(). When I look at the structure of _mlp_to_array() I can't figure out the weights and biases. Thanks again for your help
Traceback (most recent call last):
File "", line 1, in
File "C:\Anaconda\lib\site-packages\sknn\nn.py", line 584, in get_parameters
return [P(w, b, s.name) for s, (w, b) in zip(self.layers, self._backend._mlp_to_array())]
ValueError: too many values to unpack

Batch normalization seems to break the set/get because it requires many values not just bias/weight.
It's a bug ;-)

Thanks for your super quick responses. Can we access the final weights/biases somewhere else?

Call nn._backend._mlp_to_array() directly, should be a long list of vectors.

Thanks again. Great package btw.


Enable additional Error Messages for Password Policy authenticator

In some systems need to be aware of additional information at any failures during the password policy Authenticator flow as in following.
https://docs.wso2.com/display/IS530/Customizing+Authentication+Error+Messages and https://docs.wso2.com/display/IS530/Error+Codes+and+Descriptions

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


chore(main): release 0.3.1

:robot: I have created a release beep boop
0.3.1 (2024-10-23)
Bug Fixes

improve README instructions (b54f024)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.3.1
:sunflower:


refactor TimeGutter to TimeSliceGroup/TimeSlice

This change adds

The render() method of TimeGutter now generates a series of TimeSliceGroups that render individual TimeSlice
react storybook story to test the output.

thanks! Made a few notes mostly nits. Is there a reason that you didn't also include the DaySlot here? It's a bit weird to have the code base in this intermediate state. I'd cut those components over as well. Even if you do want to do more work on the Day bits, you could make the structural change separate i'd think

another note, the padding is missing on the labels.

Awesome work so fast. I'm leaving for a week, maybe I should just create a PR from the branch that has all the work? I was trying to split them out for you.
I would do this when I return. All the unused props are used in the other thing, I was busy stripping them down.
Sent using CloudMagic Email [https://cloudmagic.com/k/d/mailapp?ct=pa&cv=8.5.28&pv=5.1.1&source=email_footer_2] On Mon, May 23, 2016 at 8:06 AM, Jason Quense <<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
another note, the padding is missing on the labels.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub [https://github.com/intljusticemission/react-big-calendar/pull/99#issuecomment-220974769]

no rush, just go on vacation :P

I implemented all of your concerns on the more recent PR.  Closing this one


TextElement.Inlines for all platforms

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Depends on: #1950
Supersedes: #1689
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Will reopen this and most likely rework parts of it when all dependencies are ready.


mobile: Consolidate dumpStats and terminate implementations to common/engine.cc

This PR is needed as part of unifying the two Engine code. With this change, Platform::Engine will simply delegate its tasks to Envoy::Engine.
Risk Level: low (refactoring)
Testing: unit tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

/assign @abeyad @alyssawilk


Pagination in page list templates

Feature Request
It appears that pagination inside page list is really needed, even more with recent blogpost model addition, since it is common to have multiple entries in a blog and so blogpost list should be paginated to avoid loading everything.
Describe the solution you'd like
I didn't have a real concrete solution yet, since we are talking about pagination inside a cms page on its child objects.
So we need to create a new listing object (since Page.get_child_pages is from djangocms code) that would be using the Pagination object from Django. Problem is we don't have hands on a page view, and the pagination need to reach the request to get the "GET" attributes to find url arguments about required page number (?page=42).
Once a Pagination object is working and available inside template, we can use it to display a list of available page numbers (and possibly the previous/next item).
Do you want to work on it through a Pull Request?
Why not.

New pull request #822 should close this issue when merged.

Solved by PR https://github.com/openfun/richie/pull/822. We now use dj-pagination to paginate list pages and related objects on detail pages.


[Select] When disabled the  element misses the disabled attribute

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
When you create a <TextField select disabled />, the <input> element does not have the disabled prop, classes and aria-disabled="true" are added to the div to mark it as disabled
Expected Behavior 🤔
The input element should have the disabled prop
Steps to Reproduce 🕹
https://codesandbox.io/s/material-demo-forked-0n5s1?file=/demo.tsx
If you inspect the select field, the input element is not disabled, but it is disabled in the native select (though that's a select element)
Context 🔦

When a form field is disabled, its value is not supposed to be submitted when a form is submitted. I wanted to use that property to submit partial data, conditionally. Also, testing aria-disabled=true to check if it's disabled does not seem idiomatic.
Neither of these is very important, but the behaviour is unexpected when a regular TextField disables its input
Your Environment 🌎

Tech
Version

Material-UI
v5.0.0-alpha-17

React

Browser

TypeScript

etc.

@masoodusmani Thanks for the report, this looks accurate:

The disabled attribute is used to make the control non-interactive and to prevent its value from being submitted.

https://www.w3.org/TR/html51/sec-forms.html#element-attrdef-disabledformelements-disabled
What do you think about this diff? Do you want to work on a pull request? :)
diff --git a/packages/material-ui/src/Select/SelectInput.js b/packages/material-ui/src/Select/SelectInput.js
index ded48e9e1d..34244bb0ef 100644
--- a/packages/material-ui/src/Select/SelectInput.js
+++ b/packages/material-ui/src/Select/SelectInput.js
@@ -401,6 +401,7 @@ const SelectInput = React.forwardRef(function SelectInput(props, ref) {
         aria-hidden
         onChange={handleChange}
         tabIndex={-1}
+        disabled={disabled}
         className={classes.nativeInput}
         autoFocus={autoFocus}
         {...other}

@oliviertassinari Looks good! I'd like to work on it, sure. I'll check the contributing guide today, and see if I can get set up later today.


Flow analysis doesn't track definite unassignment in lazy locals correctly.

The following program does not read x in an unassigned state, but currently the front end and the analyzer report the use of x in the initializer of y as a definitely unassigned read.  The laziness of late initializers does not seem to be taken into account in the flow analysis.
main() {
  late int x;
  late int y = x;

  x = 3;
  y;
}

cc @johnniwinther @scheglov @stereotype441

Agreed.  We should be able to fix this fairly simply by re-using the logic we use for closures.  In essence we would treat the code above as syntactic sugar for:
main() {
  int? x;
  int get_x() => x!;
  int? y;
  int get_y() => y ??= get_x();

  x = 3;
  get_y();
}

(note that this is a bit handwavy because such a desugaring wouldn't work in general: it would do the wrong thing for nullable-typed late variables, and it would destroy the ability to promote late variables.  I'll make sure that the real implementation of flow analysis handles late nullable variables correctly and retains the ability to promote late variables.)

In thinking through some tests, I noted the following difference between closures and late variables which we may or may not want to account for:
void test(bool b) {
  late int x;
  late int y;
  var f = () {
      x;  // x is neither definitely assigned nor definitely unassigned
      x = 3;
  }
  f();  // Use of x is undefined
  f(); // Use of x is not defined
  late var z = y + (y = 3); // use of y can be soundly treated as definitely unassigned, since there are no writes in the enclosing body
  z; // Use of y is definitely unassigned
  z; // Second use does not re-evaluate the initializer

I don't think this is a particularly high value nuance to capture.   I will write tests based on the assumption that we will not distinguish between these, and we can update the tests if this changes.

Thinking about my previous example a bit, I'm not sure that it's correct to treat y as definitely unassigned in the initializer of z.  Consider this variant:
void test(bool b) {
  late int x;
  late int y;
  var f = () {
      x;  // x is neither definitely assigned nor definitely unassigned
      x = 3;
  }
  f();  // Use of x is undefined
  f(); // Use of x is not defined
  late var z = y + (y = 3) + throw "Bad"; // use of y cannot be soundly treated as definitely unassigned
  try {
     z; // Use of y is definitely unassigned
  } catch (e, s) {}
  try {
     z; // Re-evaluates the initializer, use of y is now assigned.
  } catch (s, e) {}

(removed beta epic as it was already there under flow analysis, which is in beta epic)


[QUESTION] Is there any ways or tools to prove that the program is running in a enclave? (not remote attestation)

Your Question
Hai. Is there any ways or tools to prove that the program is running in enclave and the memory is encrypted? (not remote attestation)

Hi @Ariel08081214

To verify whether HyperEnclave has correctly isolated memory between different enclaves, you can try to modify HyperEnclave Driver, and read Enclave's memory. You will get General Protection error when performing such illegal access;
To verify whether the enclave's memory is encrypted, you can modify Hypervisor,  read an encrypted memory region without memory decryption, and you will get the ciphertext.


context deadline exceeded

we have no configurations of metrics in allowlist or blocklist so that means prometheus scrapes all the metrics. After successful scrapes for sometime, we observed that the promethus notifies the error "context deadline exceeded" and unable to scrape metrics. We have settings of scrape interval is 5 seconds. default scrape timeout is 10 seconds.
Thanks
Asisranjan Nayak

@Asisranjan Is this on Prometheus or the exporter? I assume the error is on Prometheus logs. Can you share the exact log lines that indicate the error. Also, what do you see in the exporter logs at that time?

when I send request to fetch metrics using curl, I could see following log message in trace logs with number of occurrence in exporter along with "Empty reply from server" as curl response

sindex-stats (5270)
namespace-stats (83)
set-stats (10)
latency-stats (10)
node-stats (10)
job-stats (10)

Allocated resource:
memory - 100Mi
cpu - 50m
curl -v http://<IP_ADDRESS>:9145/metrics

Trying <IP_ADDRESS>:9145...
TCP_NODELAY set
Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 9145 (#0)

GET /metrics HTTP/1.1
Host: <IP_ADDRESS>:9145
User-Agent: curl/7.68.0
Accept: /

Empty reply from server
Connection #0 to host <IP_ADDRESS> left intact
curl: (52) Empty reply from server

Closing this issue. Please feel free re-open if needed.


Hard Negative Mining vs random sampling

Has anyone tried doing hard negative mining when generating the sentence pairs as opposed to random sampling? @tomaarsen - is random sampling the default?

Random sampling for the negative pairs is the default, yes. My understanding is that this is a relatively hard to beat baseline.
@danielkorat has done some research on different sampling approaches, and I believe he found that some of the seemingly clever sampling approaches were beaten by simple random sampling. However, I think he also found that there are some improvements to be made over purely random sampling.
I don't recall exactly if he tried finding hard negatives, but perhaps he can elaborate himself a bit, if he finds the time.

Tom Aarsen

I was wondering something similar.  I have a n-class case where some of the classes will likely already be well separated in the un-tuned embedding space.  It would be nice to bias sampling towards the pairs where I know a priori there is likely to be confusion in the downstream classification task.


Configuration: Simplify generating list of generated files in build file templates

Computing the value of the GENERATED variable in the build file
templates is somewhat overcomplicated, and because of possible
duplication errors, changes are potentially error prone.
Looking more closely at how this list is determined, it can be
observed that the exact list of files to check is consistently
available in all the values found in the %unified_info tables
'depends', 'sources' and 'shared_sources', and all that's needed is to
filter those values so only those present as keys in the 'generate'
table are left.
This computation is also common for all build files, so due to its
apparent complexity, we move it to common0.tmpl, with the result left
in a global variable (@generated), to be consumed by all build file
templates.
common0.tmpl is included among the files to process when creating
build files, but unlike common.tmpl, it comes first of all.

As for red cross from travis. Looks like another intermittent impossible problem on osx [again]. Impossible becasue we know that server listens, but client fails to connect. What one can do is to arrange it so that it doesn't time out for 10 minutes...

nmake build_all_generated says "don't know how to make 'crypto\aes\aes-x86_64.s'. In other words this doesn't work as is.

Thanks.

On related note one can wonder if it would be sensible to exercise build_all_generated through ci? As '[n]make build_all_generated' followed by '[n]make PERL=foobar', so that we notice when it breaks...

Sounds like a good idea, yeah

I've modified .travis.yml to test build_all_generated.  The same should be done with appveyor.yml, but my PowerShell-fu is insufficient, so if someone can help, that would be great.

I've modified .travis.yml to test build_all_generated

It's going to fail because you need to add $(SCRIPTS) to build_all_generated.

It's going to fail because you need to add $(SCRIPTS) to build_all_generated.

Not to mention that if you shortcut PERL yourself, then you have to configure with no-makedepend.

PERL=no-perl is probably better choice...

build_all_generated ... appveyor.yml

I've tossed a commit to #5929... [Recall that we always configure with no-makedepend in appveyor.]

I've modified .travis.yml to test build_all_generated

It's going to fail because you need to add $(SCRIPTS) to build_all_generated.

I changed the computation of @generated to include them...

Not to mention that if you shortcut PERL yourself, then you have to configure with no-makedepend.

Thanks.  Fixed

I've tossed a commit to #5929... [Recall that we always configure with no-makedepend in appveyor.]

Cheery-picked it

Merged.
ad5c205c011d1e2ec538d1f4d75477133e0dcab3 appveyor.yml: exercise build_all_generated.
6197bc7c5490d215f6abc20afa27308d5e301df2 .travis.yml: exercise build_all_generated
8258975c94398930e7b5406b8a3af53a662d1354 Configuration: Simplify generating list of generated files in build file templates


fix(app): code updated to work with react-router-dom v6

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

:tada: This PR is included in version 1.0.0-alpha.12 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: