HTTP Error 400: Bad Request - on RTP Play (https://www.rtp.pt/play/)

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.06.06
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-o', 'Pedro e Inês-2021-06-04.mp4', 'https://streaming-ondemand.rtp.pt/nas2.share/h264/512x384/p7347/p7347_1_20210604161007e000t4235d/master.mpd']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.8.5 (CPython) - Linux-5.8.0-55-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
[generic] master: Requesting header
WARNING: Could not send HEAD request to https://streaming-ondemand.rtp.pt/nas2.share/h264/512x384/p7347/p7347_1_20210604161007e000t4235d/master.mpd: HTTP Error 400: Bad Request
[generic] master: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 634, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description

Since a couple of weeks ago I can't download videos from RTP Play website.
I'm using the latest Firefox and a plugin which gives me the line to insert on the terminal to download the video with youtube-dl.
For example, for this video on https://www.rtp.pt/play/p7347/e549150/pedro-e-ines when I click on the plugin it gives me this:
Python youtube-dl -o "Pedro e Inês-2021-06-04.mp4" "https://streaming-ondemand.rtp.pt/nas2.share/h264/512x384/p7347/p7347_1_20210604161007e000t4235d/master.mpd"
then I just remove 'Python' from that string and execute it on the terminal. This was working a couple of weeks ago, like I said.
My system is:
lsb_release -a
LSB Version:	core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal
Can you see the problem please?
Thank you

For mpd url, try with --referer https://www.rtp.pt/. Similar to #29068.

Yes it works!
Thank you!


Access token issue

I'm trying to running app but I'm receiving a error that access token cannot be acquired. I configured all settings according setup documentation.
Rgds

Can you open the .txt log file and paste the full error message here?
It should be at your user's folder "Documents\NovaPoint\SolutionName"

Hello there
2024/01/17 21:49:02 - [NPLogger] - Logs: C:\Users\duke-admin\Documents\NovaPoint\SiteReport\SiteReport_20240117214902\SiteReport_20240117214902_Logs.txt2024/01/17 21:49:02 - [NPLogger] - Report: C:\Users\duke-admin\Documents\NovaPoint\SiteReport\SiteReport_20240117214902\SiteReport_20240117214902_Report.csv2024/01/17 21:49:02 - [NPLogger] - Solution properties2024/01/17 21:49:02 - [NPLogger] - AdminUPN: 2024/01/17 21:49:02 - [NPLogger] - RemoveAdmin: False2024/01/17 21:49:02 - [NPLogger] - SiteAll: True2024/01/17 21:49:02 - [NPLogger] - IncludePersonalSite: False2024/01/17 21:49:02 - [NPLogger] - IncludeShareSite: True2024/01/17 21:49:02 - [NPLogger] - OnlyGroupIdDefined: False2024/01/17 21:49:02 - [NPLogger] - SiteUrl: 2024/01/17 21:49:02 - [NPLogger] - IncludeSubsites: False2024/01/17 21:49:02 - [NPLogger] - Solution has started, please wait to the end2024/01/17 21:49:02 - [AppInfo.GetSPOAccessToken] - Start getting Access Token for root site https://https://duke-admin.sharepoint.com2024/01/17 21:49:02 - [ProgressUI] - Progress 100%2024/01/17 21:49:02 - [NPLogger.ScriptFinish] - Access Token could not be aquired2024/01/17 21:49:02 - [NPLogger.ScriptFinish] -    at NovaPointLibrary.Commands.Authentication.AppInfo.GetSPOAccessToken(String siteUrl) in C:\NovaPoint\NovaPoint-main\src\NovaPointLibrary\Commands\Authentication\AppInfo.cs:line 189   at NovaPointLibrary.Commands.Authentication.AppInfo.GetContext(String siteUrl) in C:\NovaPoint\NovaPoint-main\src\NovaPointLibrary\Commands\Authentication\AppInfo.cs:line 143   at NovaPointLibrary.Commands.SharePoint.Site.SPOSiteCollectionCSOM.GetAsync(String siteUrl, Boolean includeShareSite, Boolean includePersonalSite, Boolean onlyGroupIdDefined) in C:\NovaPoint\NovaPoint-main\src\NovaPointLibrary\Commands\SharePoint\Site\SPOSiteCollectionCSOM.cs:line 100   at NovaPointLibrary.Solutions.Report.SiteReport.RunScriptAsync() in C:\NovaPoint\NovaPoint-main\src\NovaPointLibrary\Solutions\Report\SiteReport.cs:line 82   at NovaPointLibrary.Solutions.Report.SiteReport.RunAsync() in C:\NovaPoint\NovaPoint-main\src\NovaPointLibrary\Solutions\Report\SiteReport.cs:line 44
At
Atenciosamente,
Alexandre Belchior
@.***
On Thursday, January 25, 2024 at 10:26:04 AM GMT-3, Barbarur<EMAIL_ADDRESS>wrote:

Can you open the .txt log file and paste the full error message here?
It should be at your user's folder "Documents\NovaPoint\SolutionName"
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I think on the settings page you have added https://duke, edit it to keep only the domain name duke.

Same issue
2024/01/26 15:20:59 - [NPLogger] - Logs: C:\Users\duke-admin\Documents\NovaPoint\SiteReport\SiteReport_20240126152059\SiteReport_20240126152059_Logs.txt2024/01/26 15:20:59 - [NPLogger] - Report: C:\Users\duke-admin\Documents\NovaPoint\SiteReport\SiteReport_20240126152059\SiteReport_20240126152059_Report.csv2024/01/26 15:20:59 - [NPLogger] - Solution properties2024/01/26 15:20:59 - [NPLogger] - AdminUPN: 2024/01/26 15:20:59 - [NPLogger] - RemoveAdmin: False2024/01/26 15:20:59 - [NPLogger] - SiteAll: True2024/01/26 15:20:59 - [NPLogger] - IncludePersonalSite: True2024/01/26 15:20:59 - [NPLogger] - IncludeShareSite: True2024/01/26 15:20:59 - [NPLogger] - OnlyGroupIdDefined: False2024/01/26 15:20:59 - [NPLogger] - SiteUrl: 2024/01/26 15:20:59 - [NPLogger] - IncludeSubsites: False2024/01/26 15:20:59 - [NPLogger] - Solution has started, please wait to the end2024/01/26 15:21:00 - [AppInfo.GetSPOAccessToken] - Start getting Access Token for root site https://duke-admin.sharepoint.com2024/01/26 15:21:01 - [ProgressUI] - Progress 100%2024/01/26 15:21:01 - [NPLogger.ScriptFinish] - Access Token could not be aquired2024/01/26 15:21:01 - [NPLogger.ScriptFinish] -    at NovaPointLibrary.Commands.Authentication.AppInfo.GetSPOAccessToken(String siteUrl) in C:\NovaPoint\NovaPoint-main\src\NovaPointLibrary\Commands\Authentication\AppInfo.cs:line 189   at NovaPointLibrary.Commands.Authentication.AppInfo.GetContext(String siteUrl) in C:\NovaPoint\NovaPoint-main\src\NovaPointLibrary\Commands\Authentication\AppInfo.cs:line 143   at NovaPointLibrary.Commands.SharePoint.Site.SPOSiteCollectionCSOM.GetAsync(String siteUrl, Boolean includeShareSite, Boolean includePersonalSite, Boolean onlyGroupIdDefined) in C:\NovaPoint\NovaPoint-main\src\NovaPointLibrary\Commands\SharePoint\Site\SPOSiteCollectionCSOM.cs:line 100   at NovaPointLibrary.Solutions.Report.SiteReport.RunScriptAsync() in C:\NovaPoint\NovaPoint-main\src\NovaPointLibrary\Solutions\Report\SiteReport.cs:line 82   at NovaPointLibrary.Solutions.Report.SiteReport.RunAsync() in C:\NovaPoint\NovaPoint-main\src\NovaPointLibrary\Solutions\Report\SiteReport.cs:line 44
Atenciosamente,
Alexandre Belchior
@.***
On Friday, January 26, 2024 at 05:30:19 AM GMT-3, Barbarur<EMAIL_ADDRESS>wrote:

I think on the settings page you have added https://duke, edit it to keep only the domain name duke.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Barbarur, just a question. Can I run directly from VS or may I compile it and generate a .exe file?
Atenciosamente,
Alexandre Belchior
@.***
On Friday, January 26, 2024 at 05:30:19 AM GMT-3, Barbarur<EMAIL_ADDRESS>wrote:

I think on the settings page you have added https://duke, edit it to keep only the domain name duke.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

You can run it directly on VS, just build and run. No need to compile the .exe or .msi
The only way I'm able to reproduce your issue is when adding duke-admin.sharepoint.com at the settings page, if adding only duke, I'm not able to reproduce the issue (I'm using my own domain, typing here yours just as reference).
I'm planning to streamline this part to avoid manual typing of the domain and capture the information directly from Graph.

Hello Barbarur, thank you so much ele for your support here.
Do your device is Azure AD joined or ADDS/hybrid joined? I’m asking this because when I run app in my VM I don’t  receive any authentication request. Just a message about cannot retrieve access token.
Warm regards
Sent from Yahoo Mail for iPhone
On Friday, January 26, 2024, 11:18 PM, Barbarur @.***> wrote:
You can run it directly on VS, just build and run. No need to compile the .exe or .msi
The only way I'm able to reproduce your issue is when adding duke-admin.sharepoint.com at the settings page, if adding only duke, I'm not able to reproduce the issue (I'm using my own domain, typing here yours just as reference).
I'm planning to streamline this part to avoid manual typing of the domain and capture the information directly from Graph.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Can you try the latest version? I added some additional logs I hope it help to clarify this kind of issue.
So far I can only see some kind of input error. But we can have it more clear with the new version.
The app doesn't require to run in a domain joined or managed devices. That can only be a requirement from the tenant itself. But I don't think that's your case.

Domain is now obtained programatically from Graph API without the need to add it on settings. This should avoid any potential typing issue with URLs for obtaining the token.


Hash-sets should grow consistent with desired capacity...

It would be nice if these were all t, basically hash-sets grow to different lengths when adding one-by-one than if they are presized.


cronWorkflowSpec.antiSchedule must be optional

No need to be pointer since it's a string

Codecov Report

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

@@           Coverage Diff           @@
##           master      #61   +/-   ##
=======================================
  Coverage   40.23%   40.23%
=======================================
  Files           9        9
  Lines         835      835
=======================================
  Hits          336      336
  Misses        473      473
  Partials       26       26

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 e9cc0b7...94a0d11. Read the comment docs.

Auto merging since it's a very very very minor change. If @clamoriniere1A will disagree I'll back-out the code.
FYI: @EricMountain-1A


'locals' keyword is not syntax-highlighted

It seems that the locals keyword is missing syntax highlighting:

Locals generally seem to be less supported than variables, for example, Go to Definition doesn't work for me.

goto definition is not supported for locals yet, will fix in a follow-up PR


Initial image view loads tiles sequentially

It looks like the initial view of an image loads the tiles sequentially, never in parallel. Once they are loaded then zooming in loads additional tiles in parallel as expected. I've tried setting various combinations of immediateRender, imageLoaderLimit, sequenceMode etc... but none seem to change the initial behavior.
Here's the network trace for the homepage demo which mirrors what I'm seeing in my own app:

Is this expected?

Interesting... no, that's not expected. I'm not sure why it would do that, but I see the same results you're seeing.
Would you be up for investigating?

Yeah, I started having a look through the codebase but still getting familiar / up-to-speed with it. I wanted to check if I wasn't just missing some setting first or it isn't by design.

Excellent... let me know if you need any help finding your way around the code!


Keyboard Manager add hotkey to toggle "Enable Keyboard Manager"

Description of the new feature / enhancement
When hotkeys are not needed, for example in chat, discord, etc you user can use hotkey to toggle Keyboard Manager on/off.
Scenario when this would be used?
In games, apps.
Supporting information
No response

Issue is a duplicate
Thank you for your issue! We've linked your report against another issue #4879
Thanks for helping us to make PowerToys a better piece of software.


Fix to work with latest flutter_map

If we want more adjustments then there's #11

Thank you. Indeed a breaking change.


Loss Issue

I tried reproducing your results with batch hard, but the loss doesnt decrease below (0.5), although i have tried decreasing it. Im trying to use the loss function in Keras as well. Same results. Thanks.
In keras my batch_all function is working pretty fine, e.g:
def margin_triplet_loss(y_true, y_pred):

    out_a = tf.gather(y_pred, tf.range(0, batch_size, 3))
    out_p = tf.gather(y_pred, tf.range(1, batch_size, 3))
    out_n = tf.gather(y_pred, tf.range(2, batch_size, 3))
    loss = K.maximum(1
                     + K.sum(K.square(out_a-out_p), axis=1)
                     - K.sum(K.square(out_a-out_n), axis=1),
                     0.0)
    return K.mean(loss)

For the batch hard loss, you need to decrease the learning rate.
With the default learning rate of 1e-3, the embeddings collapse to a single point so the loss is equal to the margin (0.5).

Thank, but what about using it with Keras and a big number of classes? it would be a big help if it can !

I'm not sure what you are trying to do and what code you are using so some context would be helpful.

Okay, im creating a model for image similarity. I already have a triplets dataset which are fed into my network in the form 3*batch_size. However while i'm using the above triplet loss (batch_all), the loss drops to 0 pretty quickly, which in turns mean, that i have easy triplet. Thus; i tried using the hard_triplet loss in this repository and the problem i have is that the loss doesn't get below the specified margin (e.g 0.5). I hope this explains. Thanks

The batch hard triplet loss in this repo works for batches with multiple images for each class.
For instance you would need to have a batch size of 100, which 10 images from each class.
In your case your triplets are already formed so you need to change the triplet selection process, not the triplet loss.

Doesnt your function generates pairwise distances  based on labels ? i think its thus able to generate and select the hard samples, in other words i might consider my dataset as a seed dataset. Im a right ? thanks

To summarize my request, can i extend you function to generate hard samples based on my seed dataset ? and if yes, what requirements must reside within the batch?


flatland: 1.3.3-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository flatland to 1.3.3-1:

upstream repository: https://github.com/avidbots/flatland.git
release repository: https://github.com/avidbots/flatland-release.git
distro file: noetic/distribution.yaml
bloom version: 0.11.2
previous version for package: 1.3.2-1

flatland_msgs
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne

flatland_plugins
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne

flatland_server
* added missing std_srvs dep
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne
* added missing std_srvs dep
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne
* added missing std_srvs dep
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne

flatland_viz
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne
* Merge pull request #95 <https://github.com/avidbots/flatland/issues/95> from avidbots/per-package-licenses
  Per package licenses
* Contributors: Joseph Duchesne

I ran into a missing std_srvs dependencity on my first release attempt due to not being able to run the prerelease tests locally on 20.04. Is the documentation out of date or is 18.04 required?

I ran into a missing std_srvs dependencity on my first release attempt due to not being able to run the prerelease tests locally on 20.04. Is the documentation out of date or is 18.04 required?

For Noetic, 20.04 is required. At what part of the process did you see the error?
I see ros-noetic-std-srvs in the debian control file for the focal package, so that part of the release seems to have worked.

The problem I ran into was in running http://wiki.ros.org/regression_tests#Setting_up_Your_Computer_for_Prerelease

E: Unable to locate package python3-ros-buildfarm

This caused by earlier PR to fail on the build farm because I didn't catch the missing dependency locally (and the ros_indistrual_ci github integration on our repo also missed it).
This PR should work, provided I'm not missing another dependency that's sneaking by our CI.

I ran into a missing std_srvs dependencity on my first release attempt due to not being able to run the prerelease tests locally on 20.04. Is the documentation out of date or is 18.04 required?

For Noetic, 20.04 is required. At what part of the process did you see the error?
I see ros-noetic-std-srvs in the debian control file for the focal package, so that part of the release seems to have worked.

flatland_server build is failing with
23:37:47 In file included from /tmp/binarydeb/ros-noetic-flatland-server-1.3.2/src/simulation_manager.cpp:51:
23:37:50 /tmp/binarydeb/ros-noetic-flatland-server-1.3.2/include/flatland_server/service_manager.h:53:10: fatal error: std_srvs/Empty.h: No such file or directory
23:37:50    53 | #include <std_srvs/Empty.h>

here: https://build.ros.org/job/Nbin_ufv8_uFv8__flatland_server__ubuntu_focal_arm64__binary/3/console
This leads me to believe that I missed the dependency for flatland-server.

Can this PR be merged? I'm getting a deluge of daily emails from the existing version failing to build.


Addition of CMAKE_CXX_FLAGS to boost_library scheme breaks boost build

This issue was caused by commit  9f4834a21534b82214fa38c5399af1ea8af6e2e7, it looks like release 0.11.2 has been released from the development branch (was this intended) and includes this bug
line 233 adds the ${CMAKE_CXX_FLAGS}\n" after "${boost_compiler}". From the boost documentation http://www.boost.org/build/doc/html/bbv2/reference/tools.html these flags should be separated from the compiler by a colon

looks like release 0.11.2 has been released from the development branch (was this intended) and includes this bug

Yes, usually if release made from branch develop there is Pre-release badge at the left. After successfull travis build I've removed Pre-release and it became Latest release. But in own case travis works fine: https://travis-ci.org/ruslo/hunter/builds/67101839

breaks boost build

What platform/toolchain you're using and what library building?

these flags should be separated from the compiler by a colon

you mean that it should be just:
     "using ${toolset_name}\n"
     "  : ${toolset_version}\n"
     "  : \"${boost_compiler}\" : ${CMAKE_CXX_FLAGS}\n"
     "  : <archiver> \"${CMAKE_AR}\"\n"
     ";\n"

?

Windows msvc-12.0 32bit
Boost b2 works if I use the following command:
 "using ${toolset_name}\n"
 "  : ${toolset_version}\n"
 "  : \"${boost_compiler}\"\n"
 "  : ${CMAKE_CXX_FLAGS} <archiver> \"${CMAKE_AR}\"\n"
 ";\n"

I'm not sure what the  command is doing, as far as I can tell this is not used by boost build.
There is another problem caused by 9f834a. Whitespace is introduced when line 242 is parsed
"linkflags=${CMAKE_EXE_LINKER_FLAGS}"
Is parsed as linkflags= /......
^
Boost b2 is unable to parse the white space
For testing I have removed this line

What platform/toolchain you're using and what library building?
Tested using system and thread

I'm not sure what the archiver command is doing, as far as I can tell this is not used by boost build

I don't know too :) This was added in https://github.com/ruslo/hunter/commit/0724fb89ac0657f23e11332015bafbbf57b29ba6
@pretyman Does the <archiver> is critical for building on Android? I can't find reference to it in documentation: http://www.boost.org/build/doc/html/bbv2/reference/tools.html Though there are some links like: https://svn.boost.org/trac/boost/ticket/1055

Windows msvc-12.0 32bit

confirmed: vs-12-2013 + boost.system is broken :(

reverting 0724fb8 fixes the problem for me, happy to test once you have a solution

@oliverdaniell just for your information https://github.com/ruslo/hunter/issues/180

@ruslo as far as I understand yes, the archiver is needed to package boost as Android libraries.
If we really want to compile flags in the jam file, and not as cxxflags in command line we can try to put it after colon with the archiver:
<archiver> ${CMAKE_AR}
<compileflags>${CMAKE_CXX_FLAGS}

I've seen single flags like this, but never more than one per <compileflags>, but since the tag is in plural, it makes be believe it should take more than one flag.
I think I tried back then to build boost without the archiver, but I was unsuccessful to use boost (I can't remember if it failed to build or if my tests failed to link with boost test)

it makes be believe it should take more than one flag

@pretyman I've tested it and seems that only one flag allowed in <compileflags> but section can be repeated several times. Solution: https://github.com/ruslo/hunter/commit/988eeb894b12d7568ecad18db8aeecc13345bbdc

Boost b2 is unable to parse the white space between = and /machine

@oliverdaniell Works for me without this change. Can you please try this one: v0.11.3

Tested on v0.11.3 visual studio 2013.

@oliverdaniell Works for me without this change. Can you please try this one: v0.11.3
My mistake, I was testing by copying the cmake output to the command line

Since we hit this again here is the summary of solution of this bug:

C++ flags should not be set in the section with compiler, i.e.

file(APPEND ${boost_user_jam} "  : \"${boost_compiler}\" ${CMAKE_CXX_FLAGS}\n")

will not work for Visual Studio

C++ flags should be set in <compilefilags> section (one flag for one <compileflags>, can be repeated several times)

To test: vs-12-2013 + Boost-system example


bugfix: Strip newlines from comments to ensure valid output

Currently, having /n in a token description will cause the ts/descriptionToComment transform to create invalid output. This PR just strips \n (and also \r to be safe) from the comments.
Problematic token
"heading-large": {
        "value": {
          "fontFamily": "Roboto",
          "fontWeight": "Regular",
          "lineHeight": "36",
          "fontSize": "28",
          "letterSpacing": "0"
        },
        "type": "typography",
        "description": "The headline text styles are intended for a wide range of use cases when large text is needed including:\n\nPage headings/titles,\nSection headings/titles,\nCard headings/titles"
      },

Current broken output (Javascript)
export const GENERAC_HEADING_LARGE = "400 28px/36 Roboto"; // The headline text styles are intended for a wide range of use cases when large text is needed including:

Page headings/titles,
Section headings/titles,
Card headings/titles

Fixed output after this PR
export const GENERAC_HEADING_LARGE = "400 28px/36 Roboto"; // The headline text styles are intended for a wide range of use cases when large text is needed including:  Page headings/titles, Section headings/titles, Card headings/titles

Closed this and will reopen soon with an updated branch


Erroneous debug output for binding error of TemplateBinding to boolean property when null.

Describe the bug
Starting with Avalonia 11.1.0, some control templates are generating error messages like the following:
[Binding]An error occurred binding 'IsVisible' to 'TemplateBinding: IsIconVisible': 'Could not convert '(null)' (null) to 'System.Boolean'.' (ContentPresenter #PART_IconPresenter)

The binding referenced by the control template is defined as:
<ContentPresenter ... IsVisible="{TemplateBinding IsIconVisible}" />

Once loaded, the binding works as expected, but the error output is misleading to customers.
To Reproduce
I was unable to reproduce in a simple sample application with a custom control, but it is easy to reproduce referencing the publicly available Actipro InfoBar control.
Step 1:
Use Visual Studio on Windows to load a sample Avalonia desktop application.
Step 2:
Add a NuGet reference to ActiproSoftware.Controls.Avalonia.Pro v24.1.0
<PackageReference Include="ActiproSoftware.Controls.Avalonia.Pro" Version="24.1.0" />

Step 3:
Update App.axaml to include Actipro themes like in the following:
<Application xmlns="https://github.com/avaloniaui"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="AvaloniaApplication.App"
    xmlns:actipro="http://schemas.actiprosoftware.com/avaloniaui">

    <Application.Styles>
        <actipro:ModernTheme Includes="Pro" />
        <FluentTheme />
    </Application.Styles>
</Application>

Step 4:
Add an Actipro InfoBar control to any view like the following:
xmlns:actipro="http://schemas.actiprosoftware.com/avaloniaui"
...
<actipro:InfoBar Title="Title" Message="An essential application message for the user." />

Step 5:
Run the application with Avalonia 11.1.0.  If necessary, navigate to the view with the InfoBar control.  When the "Actipro Controls" popup is displayed, click the Evaluate button to continue.  Once InfoBar is displayed, the Visual Studio Output tool window should display a message like the following:
[Binding]An error occurred binding 'IsVisible' to 'TemplateBinding: IsIconVisible': 'Could not convert '(null)' (null) to 'System.Boolean'.' (ContentPresenter #PART_IconPresenter)

Step 6:
Optionally run the application with Avalonia 11.0.11 and the same error message is not observed.
Expected behavior
No error message should be displayed for any TemplateBinding before the template is ready.
Avalonia version
11.1.0
OS
Windows
Additional context
No response

Hi @boydpatterson ,
Thanks for reporting this, but I'm not sure that this warning is erroneous. From what I can see, the binding is from InfoBar.IsIconVisible to ContentPresenter.IsVisible. InfoBar.IsIconVisible is a bool? whereas ContentPresenter.IsVisible is a bool.
At the time that the template binding starts up, the InfoBar.IsIconVisible property is null:

And so the warning is logged. I don't have access to the source for InfoBar, so I'm not sure what conditions cause IsIconVisible to be non-null, but at this point the InfoBar is attached to a logical and visual tree. You say "No error message should be displayed for any TemplateBinding before the template is ready" but I'm not sure what you mean here - in this case, what part of applying the template will cause IsIconVisible to become non-null?
As for why this wasn't logging a warning in 11.0.x - we didn't log binding errors for template bindings in that version.

Hi @grokys. You're absolutely right, and my apologies for missing that. Recovering from COVID this week, so I'll blame it on the brain fog 😶🌫
We define that property as Nullable<bool> so that we can coerce some default behavior about only showing the icon when there's content to be shown, so the issue appears to be that the property has not been coerced yet.  We typically wait to coerce all properties in OnApplyTemplate, but the warning message is being generated before the template is applied.  It basically never should be null, so that's primarily why I forgot about it.  If we also coerce properties in the constructor, that prevents the binding message from being displayed.  It's redundant, but not a big deal to prevent the warning.
Thank you for looking, and sorry, again, for taking your time on this.


How to smooth exported ply

requierd info

Camera Model
D435i

Firmware Version
D400_Series_FW_5_11_11_100

Operating System & Version
Win (8.1/10)

Platform
PC

SDK Version
SDK-WIN10-<IP_ADDRESS>9

Language
C++

Question
After exporting point cloud the surface looks like pixels sharp edges. Does anyone have idea how make (programmatically) to surface smooth (with some kind of examples would be great) of course i mean not implementing smooth shader but geometries change.
I was trying to do some approaches with post-processing filters but it looks like it is the part of exporting thing (or maybe i'm wrong).
actual result

expectation result

The links below may provide useful advice about smoothing out a point cloud.
https://github.com/IntelRealSense/librealsense/issues/1053
https://github.com/IntelRealSense/librealsense/issues/1375
When exporting a ply, also take care to set the depth units correctly.
https://github.com/IntelRealSense/librealsense/issues/2009
Some users have reported that they get better results from exporting the ply from the RealSense Viewer program instead of a script such as export_to_ply.

Thanks for fast reply.
I digged a lot about it already and i did a lot of things to improve quality of scan. For example: change distance, take care of light conditions, changing power of emitter, etc..
Of course i can get a little bit better result than this what i show but still is looks like "minecraft blocks" (its just for compare)
I was wondering if someone could help me with adding somehow algorithms called "Mesh Smoothing" or "Mesh denoiser" before exporting it to ply.
Here example (paper) of  algoritmes what i'm trying to reach:
https://isaacguan.github.io/2018/01/26/Mesh-Smoothing/
Here the demo of upper example:
https://isaacguan.github.io/projects/mesh-smoothing/
Other example (paper):
https://wang-ps.github.io/denoising.html

Please tell us more about the setting you chose. This looks worse that it should be.
Depth units =100
Distance=20cm
Turn down laser to 60mW
848x480
90fps
Post process with temporal average and down sample 2x.
Possibly set exposure manually until monchrone image looks quite dark.

Thanks for sharing this camera settings. This improves my scan expectations (helps me a lot), but still i'm dreaming about some kind of mesh denoiser working just like in example:
https://isaacguan.github.io/projects/mesh-smoothing/
Because it actually looks like points are merged like layers (maybe some kind of improving exporter?)
I'm reaching this smooth model by blender smooth brush in sculpt mode but i need this made programatically.
actual result

expectation result

MartyG-RealSense

Some users have reported that they get better results from exporting the ply from the RealSense Viewer program instead of a script such as export_to_ply.

Can someone share the code for this trick, couse i would like to compare and can't find this.
I have only
points.export_to_ply("filename.ply", color);

There is a code example here for export_to_ply:
https://github.com/IntelRealSense/librealsense/issues/2832#issuecomment-443823647
There is also an example program in the Python language called export_ply_example:
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/export_ply_example.py
If you want to programmatically apply processing to a point cloud mesh, it may be better to do it with the Point Cloud Library, which the RealSense SDK has support for via a wrapper.
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/pcl
I recommend googling for 'pcl mesh smoothing' for leads on how to do this.

requierd info
Camera Model 	D435i
Firmware Version 	D400_Series_FW_5_11_11_100
Operating System & Version 	Win (8.1/10)
Platform 	PC
SDK Version 	SDK-WIN10-<IP_ADDRESS>9
Language 	C++
Question
After exporting point cloud the surface looks like pixels sharp edges. Does anyone have idea how make (programmatically) to surface smooth (with some kind of examples would be great) of course i mean not implementing smooth shader but geometries change.
I was trying to do some approaches with post-processing filters but it looks like it is the part of exporting thing (or maybe i'm wrong).
actual result

expectation result

Once I compute the normals  to ply file exported, I am also getting result equivalent to the actual
result on your 1st post.


Meta DSL framework

Opening a draft PR for merging the meta DSL framework in master. To be reviewed, commented on, etc. in the coming days. With @nikswamy, @mtzguido, @tahina-pro.

Should we rename Refl.Typing to FStar.Reflection.Typing?


Lists of projects load very slowly when lots of projects exist

For users with many projects, the projects list loads very slowly. E.g., for a list of about 30 projects, the My Projects page takes more than a minute to fully load.
For an institutional portal with about the same number of projects, the project list takes about 30 seconds to load (sometimes the list fails to load at all, the message "fetching more projects" appears perpetually).

This has been changed to only load a partial list of projects. Please contact us if you experience more issues.


Invalid device string: 'float32'

Reminder

[X] I have read the README and searched the existing issues.

 You can find where each parameters has been saved in the index located at output/tmp/checkpoint-5/model.safetensors.index.json.
Traceback (most recent call last):
  File "/opt/conda/envs/lf/bin/llamafactory-cli", line 8, in <module>
    sys.exit(main())
  File "~/LLaMA-Factory/src/llamafactory/cli.py", line 111, in main
    run_exp()
  File "~/LLaMA-Factory/src/llamafactory/train/tuner.py", line 50, in run_exp
    run_sft(model_args, data_args, training_args, finetuning_args, generating_args, callbacks)
  File "~LLaMA-Factory/src/llamafactory/train/sft/workflow.py", line 90, in run_sft
    train_result = trainer.train(resume_from_checkpoint=training_args.resume_from_checkpoint)
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/transformers/trainer.py", line 1932, in train
    return inner_training_loop(
  File "<string>", line 367, in _fast_inner_training_loop
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/transformers/trainer.py", line 3307, in training_step
    loss = self.compute_loss(model, inputs)
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/transformers/trainer.py", line 3338, in compute_loss
    outputs = model(**inputs)
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/accelerate/utils/operations.py", line 822, in forward
    return model_forward(*args, **kwargs)
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/accelerate/utils/operations.py", line 810, in __call__
    return convert_to_fp32(self.model_forward(*args, **kwargs))
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/torch/amp/autocast_mode.py", line 16, in decorate_autocast
    return func(*args, **kwargs)
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/unsloth/models/llama.py", line 856, in _CausalLM_fast_forward
    outputs = self.model(
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/envs/lf/lib/python3.10/site-packages/unsloth/models/llama.py", line 561, in LlamaModel_fast_forward
    inputs_embeds = inputs_embeds.to(self.config.torch_dtype)
RuntimeError: Invalid device string: 'float32'

Expected behavior
Successful training.
Others
The problem occurs in the first step after saving the first checkpoint. I guess it's because model.config.torch_dtype changes from torch.bfloat16 to a string float32 while saving the checkpoint.

Maybe it's an issue from Hugging Face Transformers. I found the following code in transformers/modeling_utils.py:
class PreTrainedModel(nn.Module, ModuleUtilsMixin, GenerationMixin, PushToHubMixin, PeftAdapterMixin):
    def save_pretrained(...):
        ...
        # save the string version of dtype to the config, e.g. convert torch.float32 => "float32"
        # we currently don't use this setting automatically, but may start to use with v5
        dtype = get_parameter_dtype(model_to_save)
        model_to_save.config.torch_dtype = str(dtype).split(".")[1]
       ...

What could we do to fix it...

Maybe it's an issue with unsloth.
I got same error when use_unsloth: true.
### model
model_name_or_path: Qwen/Qwen2-1.5B-Instruct
flash_attn: fa2
# use_unsloth: true

### method
stage: sft
do_train: true
finetuning_type: full
bf16: true

### dataset
dataset: mine
template: qwen
cutoff_len: 4000
overwrite_cache: true
preprocessing_num_workers: 8

### output
output_dir: Qwen2-1.5B-Instruct
logging_steps: 10
save_steps: 10
save_strategy: steps
plot_loss: true
overwrite_output_dir: true

per_device_train_batch_size: 8
gradient_accumulation_steps: 4
learning_rate: 1.0e-4
num_train_epochs: 1
lr_scheduler_type: cosine
ddp_timeout: 180000000

### eval
val_size: 0.1
per_device_eval_batch_size: 8
eval_strategy: steps
eval_steps: 30

### log
report_to: wandb
run_name: Qwen2-1.5B-Instruct

@hiyouga This has fixed in unsloth. And it will be useful in next unsloth version or user can fix it follow now: https://github.com/unslothai/unsloth/pull/874#issue-2447675422

@hiyouga This has fixed in unsloth. And it will be useful in next unsloth version or user can fix it follow now: unslothai/unsloth#874 (comment)

Thanks for your reminding! I will close this issue.


[DOCFIX] Code blocks updates

@yupeng9 This PR fixes the code blocks in the documentation by using specific references to the lexers used. Also fixed spacing and header issues where I saw them.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13353/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13358/
Test PASSed.


ReportContent: add ?commentId support

Ticket
Closes #1822
Changes

Add ?commentId= support in the URL.
claimId remains a required parameter so that we can derive the comment URL.

The backend will know it's a comment report when both parameters are present.

The comment URL is added to the top of additional_details.
The backend rejects if additional_details is provided for DMCA. Grayed out DMCA for the case of reporting comments.

Updated per Slack conversation. Description updated to reflect final changes.

Thank you!


How to write phpunit case for laravel-admin extensions?

Laravel Version: 5.8.x
PHP Version: 7.2.x
Laravel-admin: dev-master as v1.6.1

Description:
English: I wanna know how to write phpunit case for laravel-admin extensions?
Chinese: 请问如何为 laravel-admin 的扩展编写单元测试用例？
Steps To Reproduce:
nope

自问自答
可以参见
https://github.com/xiaohuilam/laravel-admin-select2/tree/master/tests
的 SelectApiTest.php


Files get replaced on open

I edited both the tree and rules file but when I open minecraft the files get replaced with the originals. I even edited them again through the launched minecraft under mod config. I am at a loss, but have my edits backed up. Any help would be great!

it says there is an error with this?

To keep things from crashing it resets to the defaults when it finds an error, but the old files should be renamed and backed up.
More details, including a log file, and making sure you're checking on the latest version of the mod would help though.

Still not including the information I asked for. Although your IDs are probably wrong, that should not cause it to fail loading.

It looks like you are using 'magic quotes' which ARE NOT the same as 'double quotes'
magic quotes look like “” while double quotes look like "". You should use a better text editor.


Sequences are not shown in Table properties

System information:

Operating system (distribution) and version - Windows 10 1909 x64
DBeaver version - 7.0.5
Java version - Java 8
Additional extensions - None

Connection specification:

Database name and version
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)?

Describe the problem you're observing:

When you right click on the table and click View Table > It opens a properties page and displays various properties like, Columns, Indexes, constraints etc..

It would be nice to also see sequences if possible. Also if you could include that in DDL so that its easier to create a table with those sequences.
Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs

Please tell your database.


dev to main: The tcmalloc project is basically completed

But there are still many unreasonable places that need to be modified and optimized.

But there are still many unreasonable places that need to be modified and optimized.

Optimize using radix trees
Remove all new calling in the code
test in diff condition


Adding Support for Sending Data Between the Frontend and the Backend

This PR is a small one, and is related to issue #26. This PR adds:

Entity struct now implements Serialize.
Entity structs can now  be returned in a tauri command to be sent to the frontend.
Types that implement TS should now generate typescript types that match their serde translation

To send data over a command, you have to have something like this:
#[tauri::command]
fn get_test_data() -> Vec<Entity> {
    let mut entity : Entity = Entity::new();
    entity.add(Name("Test".to_string()));
    vec![entity]
}

and on the front end you do this:
let data = await invoke("get_test_data"); //Data should be {Name : "Test"}

To receive data on the backend, you do this:
#[tauri::command]
fn set_test_data(data : Value) {
    let mut entity : Entity = Entity::new();
    let name : Name = serde_json::from_value(data["Name"].clone()).unwrap();
    let damage : Damage = serde_json::from_value(data["Damage"].clone()).unwrap();
    entity.add(name);
    entity.add(damage);
    println!("Test {}", entity.to_string());
}

Sadly there is no functions that can do this nicely. Data that coms from the frontend must be sorted out by the backend. To send data from the front end you do this:
invoke("set_test_data", {data : entity});

Note: I really like the list registering of types, that's sweet!


Update twitter hpack version

Motivation:
https://github.com/twitter/hpack released version v1.0.1.
Modifications:

Update pom files to pull in new version

Results:
Depend on the most recent hpack library.

@normanmaurer @nmittler - FYI

@Scottmitch looks good

Cherry-picked 4.1 (b66b38d ) master (45acf6d)

LGTM


conversion does not seem to be working

Hello,
I'm trying to use your package as I would like to use png files that are contained into an IPA on a website.
I can't seem to see the image generated by cgbiToPng method in my browser.
I'm happy to provide more information if needed

Hi, it would be great, if you provide more info. Especially:

do you provide correct path to app icon?
does the script outputs any messages/errors?
"can't see the image" means browser is not correctly displaying it?

Hello Jakub,
This is what I'm trying to do:
var cgbiToPng = require('cgbi-to-png');
var input=fs.createReadStream("icon.png");
var output = fs.createWriteStream('icon.new.png');

cgbiToPng(input,function(err,pngStream){
  pngStream.pipe(output);
});

I have attached the images. I don't get an error from the cgbiToPng function
Is there anything I'm doing wrong?
Alternatively, I've been looking at
https://www.npmjs.com/package/node-pngdefry, but I prefer your project as
we can work on streams directly.
Best,
Bastien
On Fri, Mar 18, 2016 at 7:53 AM Jakub Knejzlík<EMAIL_ADDRESS>wrote:

Hi, it would be great, if you provide more info. Especially:

do you provide correct path to app icon?
does the script outputs any messages/errors?
"can't see the image" means browser is not correctly displaying it?

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/jakubknejzlik/cgbi-to-png/issues/1#issuecomment-198243033

this looks ok. Maybe it's about the concrete png(cgbi) file. Does the buffer version produce similar result? Also is it the problem with any of your files or only one of them?

I have the same result with the buffer version
var cgbiBuffer = fs.readFileSync("cgbi-image.png");
var pngBuffer = cgbiToPng.revert(cgbiBuffer);
fs.writeFileSync("cgbi-image.new.png",pngBuffer);

I don't think it's the image as I have also tried with the one provided in
your test directory
On Fri, Mar 18, 2016 at 10:45 AM Jakub Knejzlík<EMAIL_ADDRESS>wrote:

this looks ok. Maybe it's about the concrete png(cgbi) file. Does the
buffer version produce similar result? Also is it the problem with any of
your files or only one of them?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/jakubknejzlik/cgbi-to-png/issues/1#issuecomment-198301815

That's strange. But if you have problem even with image from tests, it's probably something outside of script (maybe nodejs version, way you're displaying image etc.)

I'm running node v5.4.1 on mac OS X 10.11.3. and trying to open the image with Chrome (v49). I'm not using Safari as I suspect you can open cgbi images with safari

@bcojan could you please check the latest fix (more info #2) ... I guess it could be the same source of problems

I had the same problem. I updated the module to the last version referred in #2 and everything is working fine now.
Thank's !

Great, thanks for feedback!


Add a Sort parameter, add to list endpoints

Based on https://jsonapi.org/format/#fetching-sorting
Issue: https://github.com/ansible/galaxy-dev/issues/55
"Add the search parameters from Community Galaxy that apply to Collections. Exclude platforms, clode_platforms and contributor type."

If this is intended to used with viewsets that replace the old OrderByFilter ('order=' and 'order_by=' query params ) with drf ordering_fields we should probably enumerate the possible sort keys.
namespaces

name

collections

namespace
name
dates?
?

collections/{namespace}/

name
dates?
?

collections/{namespace}/{name}/versions/

semver
import date?

/imports/collections/

import task id
import date
success/status?

/users

name
id
creation date?
last login date?

/_ui/tags/

tag name

If this is intended to used with viewsets that replace the old OrderByFilter ('order=' and 'order_by=' query params ) with drf ordering_fields we should probably enumerate the possible sort keys.

Agreed.

namespaces

name

Yes, though it should be the default order, so probably no additional sorting key required.

collections

namespace
name
dates?
?

Yes to namespace and name. We may add additional fields later.

collections/{namespace}/

What is that? We don't have that endpoint.

collections/{namespace}/{name}/versions/

semver
import date

Yes

/users
name

Yes, the default order.

id

What is the use case for sorting by ID, except sort of replacement for creation date?

creation date?

probably

last login date?

probably

/_ui/tags/
tag name

Yes, but it should be the default order.

@alikins Please don't use PRs for such discussions. It's hard to track them. Please use appropriate GitHub issue for that.

Some sort options we should add:
Collections:

created date of latest version (not sure this is possible)
download count
best match (assuming we're using something like postgres full text search)

Namespaces:

Company name

Seems to be abandoned.


Generate test data on the fly

Detailed Description
Run the test generation script in the test action.
Context
This would fix stale test data from causing problems and making tests pass that shouldn't.
Possible Implementation
Add a step in the tests that calls the test generation script, either in the reusable workflow or here

You can use the FakeDataset for this.
https://github.com/openclimatefix/nowcasting_dataloader/blob/main/nowcasting_dataloader/fake.py

Yeah, that can work, but I was more thinking for the ones that test loading from the NetCDF files, to instead make those NetCDF files on the fly and then loading them for the tests that use that, the test_netcdf_dataset and such

So a test could be

create netcdf in temp folder
run dataset loader using the temp folder


[SPARK-30803][SQL]Can't set option 'cross' in join method.

What changes were proposed in this pull request?
The PySpark documentation says "Must be one of: inner, cross, outer, full, fullouter, full_outer, left, leftouter, left_outer, right, rightouter, right_outer, semi, leftsemi, left_semi, anti, leftanti and left_anti."
However, I get the following error when I set the cross option.
scala> val df1 = spark.createDataFrame(Seq((1,"a"),(2,"b")))
df1: org.apache.spark.sql.DataFrame = [_1: int, _2: string]

scala> val df2 = spark.createDataFrame(Seq((1,"A"),(2,"B"), (3, "C")))
df2: org.apache.spark.sql.DataFrame = [_1: int, _2: string]

scala> df1.join(right = df2, usingColumns = Seq("_1"), joinType = "cross").show()
java.lang.IllegalArgumentException: requirement failed: Unsupported using join type Cross
  at scala.Predef$.require(Predef.scala:281)
  at org.apache.spark.sql.catalyst.plans.UsingJoin.<init>(joinTypes.scala:106)
  at org.apache.spark.sql.Dataset.join(Dataset.scala:1025)
  ... 53 elided

Why are the changes needed?
The documentation says cross option can be set, but when I try to set it, I get an java.lang.IllegalArgumentException.
Does this PR introduce any user-facing change?
Accepting this PR fix will behave the same as the documentation.
How was this patch tested?
There is already a test for JoinTypes, but I can't find a test for the join option itself.

Can one of the admins verify this patch?

ok to test

Okay seems we should fix. @kozakana can you add a test case?

cc @cloud-fan and @hvanhovell do you remember if we intentionally disabled cross join in join APIs? It's documented that cross is supported in join API. We should either fix the documentation or the codes.

Test build #132990 has started for PR 30803 at commit 87048bc.

It was probably a mistake. Can we add a test?

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37590/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37590/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37590/

@HyukjinKwon
Thank you for confirming. I try add a test case.

Test build #132990 has finished for PR 30803 at commit 87048bc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132990/

@HyukjinKwon
join methods has
def join(right: Dataset[_], joinExprs: Column, joinType: String): DataFrame
def join(right: Dataset[_], joinExprs: Column): DataFrame
def join(right: Dataset[_], usingColumns: Seq[String], joinType: String): DataFrame
def join(right: Dataset[_], usingColumns: Seq[String]): DataFrame
def join(right: Dataset[_], usingColumn: String): DataFrame
def join(right: Dataset[_]): DataFrame

ref. org.apache.spark.sql.Dataset
join method always requires a column name. So it may have been implemented as crossJoin. And, I discovery this comment.
https://github.com/apache/spark/blob/8197ee3b15265d39f05f192934b7d7e661713eaa/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala#L993-L995
I suggest remove the cross option from the join method and use only the crossJoin method. What do you think?

@kozakana do you mean the current behavior already makes sense?

@kozakana, I think you can specify empty column names in:
def join(right: Dataset[_], usingColumns: Seq[String], joinType: String): DataFrame
def join(right: Dataset[_], usingColumns: Seq[String]): DataFrame

e.g.)
join(right, Nil)

Thanks! I try it.

@HyukjinKwon
Thanks for your advice. I added test of cross join in org.apache.spark.sql.DataFrameJoinSuite.

Test build #133319 has started for PR 30803 at commit 690ef81.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37912/

Test build #133319 has finished for PR 30803 at commit 690ef81.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133319/

@kozakana, can you file a JIRA as guided in http://spark.apache.org/contributing.html? SPARK-30803 seems an unrelated JIRA.

ok! I understand the number and I can post the JIRA.

@HyukjinKwon
I created SPARK-33897 in JIRA and modify title of github issue.

Merged to master and branch-3.1.


[WIP] Jinjasql template support

NOTE: it is not advised to try and add support for jinjasql type templates at this time. Current version of jinjasql on pypi is missing a fix which corrects naming issues of bindparams on current version 0.1.6.
Add support for jinjasql templates as another query option.
This will put the template file through a jinjasql preparer first, and then run that against the normal sql backend lookup process.
There are much cleaner ways of doing this, and this is also missing tests, but it seemed worth starting the conversation early.
Example code:
SELECT *
  FROM table
{% if where_defined %}
WHERE defined = {{where_defined}}
{% endif %}

For more information, check out jinjasql on github

Test failure here is due to not being able to find jinjasql when running tests with app.py
possible fix could be removing the import statement of jinjasql from nerium/contrib/resultset/__init__.py

Pronounced ninjasquirrel

Will add back tym as a reviewer once things are passing and tested.

I have moved a lot of testing to a separate module, as that made it easier to have an import trial to skip tests if necessary. The current version required for running this is the master of a repo, and therefore not easily specified as a dependency.
In order to get the code coverage up, the dependency:
git install git+https://github.com/hashedin/jinjasql.git must be installed somewhere in the pipeline, as v0.1.6 does not have a crucial fix which is on master necessary for desired behavior in this repo.

Just added a min version to the setup.py extras_require to make sure that version 0.1.7 is installed. the min version could be less, but it seems like there are at least a few things broken with named params in earlier versions... so better safe than sorry since that's what this is tested against.


device <-> device via Vulkan Memory Allocator

Does the vulkan memory allocator support device to device memory transfers.  We would like to to go GPU to FPGA without going through host memory.

How could the support look like?
For every separate VkDevice you use, you need to create a separate VmaAllocator object. This library doesn't launch any data transfers by itself. You have to do it on your side. VMA just lets you allocate chunks of memory. It helps with choosing right memory type out of available ones, and sub-allocating pieces of larger memory blocks. That's all. Everything else is user's responsibility or could constitute a higher-level library on top of VMA.
That said, please feel free to propose any enhancements that would be useful in your case.
By the way, if you develop using Vulkan on some exotic platform (exotic from my perspective, as a Windows PC developer :)) then can you please send me output of "vulkaninfo" from it, or some other document that would describe parameters of Vulkan environment in that platform? I'm curious what memory heaps and types are available there.

I assume the question is answered now and I close the ticket. Please feel free to comment it if you have any additional questions or suggestions.

Apologies for the off topic bump!
@CaptGreg just out of curiosity, what cool things are you doing requiring interop between GPU and FPGA?

Fin-tech calculations.  We are seeing a 100x speed bump using a FPGA and a
GPU compared to a GPU only solution.  Our customers think that is cool.
Now if only the PCIe bus was faster, we could go faster.
On Thu, 2 Apr 2020 at 12:06, Joe Hermaszewski<EMAIL_ADDRESS>wrote:

Apologies for the off topic bump!
@CaptGreg https://github.com/CaptGreg just out of curiosity, what cool
things are you doing requiring interop between GPU and FPGA?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/issues/45#issuecomment-607939144,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZP6YMZKT77ZURU6BOBT3LRKSZ2DANCNFSM4FZDKZ5Q
.


Machine Translation no longer possible

Microsoft retired it - can't create new accounts: https://datamarket.azure.com/account/applications

Thanks for the pointer. I will remove the feature once I have some spare time and add an explanation to the README. If anybody needs the feature, they are free to copy the code and adapt it for a different translation service in its own library. I think supporting incremented updates is going to be the main goal of this library going forward.

I could create a new account yet, the correct url is https://datamarket.azure.com/developer/applications
From what I understand they are re-organizing/integrating it within their services, not really retiring

Thanks for the information, it's good to know. The big question is though if they are going to keep a free service and if the API will be implemented into Polyglot, otherwise work would be required to get it working again which I'm not willing to make.

After some browsing here you have the refurbished service page, free tier still available for 2Mchars/month 😄  https://azure.microsoft.com/es-es/pricing/details/cognitive-services/translator-text-api/

Thanks for the research, sounds good. Only question is if it continues to work out of the box – then I would only update the registrations links (or are they even still correct?).

Yes, free tier is good for most applications out there

That doesn't answer my question. Is translation working as-is with the current version of BartyCrouch? Or do we need to update the links?


Error in search after Spring '23 release

When Search button is pressed, the following error message is displayed on the screen with a red toast.
Error Message: "Search: Attempt to de-reference a null object"

hi bro.
Thanks for useful and wonderful library.
Im new bie in salesforce.
Im using your recordhunter library for practice salesforce project.
I want to ask some question for you:

how i can get field name of child object from parent object ?

example: I have two object are Account (parent) object and Opportunity (Child) object.
・when I want to get Account Name from Opportunity object.
I fill: Account.Name  in input fields.
・But I want to get Opportunity Name from Account Object.
I fill: Opportunities__r.Name, I get error message. cannot find  Opportunities__r.Name field

When Search button is pressed, the following error message is displayed on the screen with a red toast.
I get Error Message: "Search: Attempt to de-reference a null object"

with two question above. Could you help me some solution?
thanks you so much.

@hrk623 さん
ご迷惑をおかけし申し訳ありませんでした。
よろしくお願いいたします。


Incremental training

I am interested to use the DIEN model. What are the strategies to do incremental training to fit new user interactions and new items without having to retrain the whole model from scratch ?
I read the paper of the model and they only discuss how to reduce latency for model serving and not how to do incremental training.

@YahyaL

incremental training.

I think the easiest way is to save and load the model many times.
when new data comes, load trained model, re-train using new data and save it.


Missing addNode and addEdge methods in public API

When wanting to add nodes or edges to the network, the only documented options I could find were to either

Re-create the graph by passing in all existing data + the new node/edge with setData({...}), or
Use the GUI and click around to add nodes

How can I add a node or edge without recreating re-setting all the data or using the GUI?
Would it be possible to expose the GUI methods for adding nodes and edges through the global API?

Was able to implement the desired functionality using the methods on the DataSet instances used to create the network graph.
const nodesDataSet = new DataSet(nodes);
const edgesDataSet = new DataSet(edges);
const data = {
  nodes: nodesDataSet,
  edges: edgesDataSet,
};
const network = new Network(container, data, options);

// later in the app

nodesDataSet.add({id: 'test-id-123', label: 'Test'})

After calling the add method, the node appeared on the graph as expected.
Docs for DataSet.
Will keep issue open b/c I still feel it's worth either exposing these methods in the global API for network, or at least amending the docs document how to achieve this.

Was able to implement the desired functionality using the methods on the DataSet instances used to create the network graph.
const nodesDataSet = new DataSet(nodes);
const edgesDataSet = new DataSet(edges);
const data = {
  nodes: nodesDataSet,
  edges: edgesDataSet,
};
const network = new Network(container, data, options);

// later in the app

nodesDataSet.add({id: 'test-id-123', label: 'Test'})

After calling the add method, the node appeared on the graph as expected.
Docs for DataSet.
Will keep issue open b/c I still feel it's worth either exposing these methods in the global API for network, or at least amending the docs document how to achieve this.

This is the correct way to do it. If you feel it should be clarified in the docs feel free to open a PR.
Exposing them on Network would be tricky because there are multiple methods and especially type safety would be nontrivial.


backlog replay with incorrect username

using matterircd 0.20, on mattermost:
When replaying the backlog, right after reconnecting I've noticed that the nickname that says the backlog is wrong
We currently have a channel where a bot is saying a lot (and is the only user really speaking in the channel).  When reconncting a random user is saying the stuff the bot said instead of the correct bot-nickname

Need debug log for this, can you provide?

This is possibly fixed with #326
could you try master?

#326 does not fix this. Note that #326 is a fix for slack, this is a mattermost issue.
don't forget to talk to me on irc so we can get the logs sorted out :)


ModuleNotFoundError: No module named 'pyrealsense2 by python script in startup (jetson nano)

ModuleNotFoundError: No module named 'pyrealsense2 by python script in startup (jetson nano)

Required Info

Camera Model
D435i

Operating System & Version
Ubuntu 18.04

Kernel Version (Linux Only)
4.9.253-tegra

SDK Version
2.53.1

Firmware Version
<IP_ADDRESS>

Platform
NVIDIA Jetson Nano

Language
python 3.6.9

Segment
Robot

Hello, I'm having a problem with the pyrealsense2 module. When my Python script is called normally, there are no problems. However, I wanted to build a sort of robot using the Jetson Nano and the camera, so I wanted to put my script into the autostart. Unfortunately, I now always receive the error message: ModuleNotFoundError: No module named 'pyrealsense2'. Additionally, I have discovered that if I run the script with sudo rights, I receive the same error message, but that has never been a real problem for me. I would be very grateful for help, as I am still relatively new to the Linux world.
For the camera installation, I used this: https://github.com/35selim/RealSense-Jetson/blob/main/build_pyrealsense2_and_SDK.sh.
autostart:
[Desktop Entry]
Type=Application
Exec=python3 /home/jetson/My/main.py
Hidden=false
NoDisplay=false
Terminal=true
X-GNOME-Autostart-enabled=true
X-GNOME-Autostart-delay=100
Name[en_US]=v2
Name=v2
Type=Application
Comment[en_US]=

Hi @PhenonGH  There was a past case at https://github.com/IntelRealSense/librealsense/issues/7861#issuecomment-734775839 that used autostart and they defined their Exec path like this:
[Desktop Entry] Type=Application Name=Realsense Exec=/usr/bin/python3 /home/pi/counter.py
Does your error still occur if you change your Exec path from python3 to /usr/bin/python3
The Python 3 path on a particular computer can be found by using the command which python3

Thank you for your quick response, unfortunately your solution was not effective and the same error still appears.

The steps in your build_pyrealsense2_and_SDK.sh build script resemble the list of instructions in the guide at https://github.com/IntelRealSense/librealsense/issues/6964#issuecomment-707501049 for installing librealsense and pyrealsense2 together on Jetson Nano.  I cannot see a problem in your script's sequence of commands.
The error ModuleNotFoundError: No module named 'pyrealsense2' may occur if the program cannot find the pyrealsense2 files for some reason.  A workaround for this is to place two pyrealsense2 .so files in the same folder location as your project script so that they do not need to be located via the PYTHONPATH.  The two files to place next to your script are librealsense2.so and pyrealsense2.so.
When the pyrealsense2 wrapper is built for Python 3, the pyrealsense2.so file will be generated with a complex filename based around your Python 3 version number, such as pyrealsense2.cpython-36m-arm-linux-gnueabihf.so
Aside from https://github.com/IntelRealSense/librealsense/issues/7861#issuecomment-734775839 the pyrealsense2 wrapper has not been used with autostart, so I would recommend using the wrapper in the conventional way if possible.

Ok it works.
Workaround:
I have copied these files:
pybackend2.cpython-36m-aarch64-linux-gnu.so.2
pybackend2.cpython-36m-aarch64-linux-gnu.so.2.51.1
pyrealsense2.cpython-36m-aarch64-linux-gnu.so
pyrealsense2.cpython-36m-aarch64-linux-gnu.so.2.51
pyrealsense2.cpython-36m-aarch64-linux-gnu.so.2.51.1
from librealsense>build>wrappers>python
into my program folder. I don't know if all the files or only some of them are required, I will try it out sometime.
Many thanks without your help I probably wouldn't have come up with this solution.
The topic can be closed.

You are very welcome, @PhenonGH - it's excellent news that copying the .so files worked for you.  Thanks very much for the update!

@MartyG-RealSense I am using the Librealsense SDK 2.55.1

Please try moving the pyrealsense2.cpython-36m-arm-linux-gnueabihf.so file to the same folder that your pyrealsense2 project script is in if you have not done so already, and also move the file librealsense2.so to that folder.
If you cannot find both of these .so files then please check for them in the build > wrappers > Python directory of your librealsense2 source code folder.


Add a Darcula colorscheme

This pull request adds the Darcula colorscheme (found in IDEs like IntelliJ). It is ideally used in truecolor mode, but it also approximates well to a 256-color palette.
Here are some previews:
Python, truecolor:

Python, no truecolor:

Go, truecolor:

Go, no truecolor:

This looks like a nice colorscheme and it's great that it looks good as a 256 color approximation. In the future I think it would be best if extra colorschemes were provided as plugins rather than put into the repo like this (we just can't keep adding everyone's favorite colorscheme). I will merge this though.
Also, do you think the file should just be darcula.micro instead of darcula-tc.micro because it looks pretty much the same in the 256 color approximation and I'm afraid people will see the tc and not want to use it if they don't have true color.

Yeah, I guess the -tc suffix can be dropped for this one.

Sure.

Done, I renamed darcula-tc.micro to darcula.micro.

This is just my opinion, but the name of the color scheme is very confusing. The theme is wonderful, but it looks like the Base 16, not like Dracula. It would be cool to rename it in order not to confuse users

I named it after the dark theme in JetBrains IDEs, which is called Darcula. (I didn't look at Base16 themes while doing this.)

Oh god.  Darcula, not Dracula.


Optional Metadata and console.consoleRestore method.

Been using your module for a while and have recently needed to pin memory usage and other process metadata to my console output for tracking purposes.

Looks interesting! I'll look into it... :)

Thanks a lot, @jotham :)


FIX: layout problem on collapsing a node with many children

Changes in the PR:

added a removeEdgesByParent function to remove the remnant edges of a node when we are collapsing it.
converted dependency dagre to @dagrejs/dagre bcz of this https://github.com/dagrejs/dagre/blob/master/README.md
moved instance of dagreGraph and getLayoutedElements one level up from Node.tsx -> App.tsx so that every time our App.tsx rerenders a new fresh layout is created.

related:
https://github.com/asyncapi/website/issues/3334

closing this PR.
cuz created a new one pointing to next branch


Errors when trying to download "yuchenlin/zero-eval" dataset

Hi! Thanks for your amazing work. When I was trying to use mmlu-redux task, I ran this command below:
bash zero_eval_local.sh -d mmlu-redux -m TinyLlama/TinyLlama-1.1B-Chat-v1.0 -p tinyllama-chat -s 4 -b 8 > logs/tinyllama-chat.log 2>&1
and got errors:

[rank0]: Traceback (most recent call last):
[rank0]:   File "/home/xiaochul/llm2llm/ZeroEval/src/unified_infer.py", line 117, in
[rank0]:     id_strs, chat_history, model_inputs, metadata = load_eval_data(args)
[rank0]:   File "/home/xiaochul/llm2llm/ZeroEval/src/unified_utils.py", line 66, in load_eval_data
[rank0]:     dataset, id_name = mapping_task_names(data_name)
[rank0]:   File "/home/xiaochul/llm2llm/ZeroEval/src/task_configs.py", line 10, in mapping_task_names
[rank0]:     dataset = load_dataset("yuchenlin/zero-eval", "mmlu-redux", split="test")
[rank0]:   File "/home/xiaochul/miniconda3/envs/zeroeval/lib/python3.10/site-packages/datasets/load.py", line 2594, in load_dataset
[rank0]:     builder_instance = load_dataset_builder(
[rank0]:   File "/home/xiaochul/miniconda3/envs/zeroeval/lib/python3.10/site-packages/datasets/load.py", line 2266, in load_dataset_builder
[rank0]:     dataset_module = dataset_module_factory(
[rank0]:   File "/home/xiaochul/miniconda3/envs/zeroeval/lib/python3.10/site-packages/datasets/load.py", line 1914, in dataset_module_factory
[rank0]:     raise e1 from None
[rank0]:   File "/home/xiaochul/miniconda3/envs/zeroeval/lib/python3.10/site-packages/datasets/load.py", line 1834, in dataset_module_factory
[rank0]:     dataset_info = hf_api.dataset_info(
[rank0]:   File "/home/xiaochul/miniconda3/envs/zeroeval/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
[rank0]:     return fn(*args, **kwargs)
[rank0]:   File "/home/xiaochul/miniconda3/envs/zeroeval/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 2446, in dataset_info
[rank0]:     hf_raise_for_status(r)
[rank0]:   File "/home/xiaochul/miniconda3/envs/zeroeval/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 371, in hf_raise_for_status
[rank0]:     raise HfHubHTTPError(str(e), response=response) from e
[rank0]: huggingface_hub.utils._errors.HfHubHTTPError: 500 Server Error: Internal Server Error for url: https://huggingface.co/api/datasets/yuchenlin/zero-eval (Request ID: Root=1-66a545ab-22f978203117e18c5f2cd6f1;403ad615-9f7d-4909-b1ba-f0feb40cfa3c)
[rank0]: Internal Error - We're working hard to fix this as soon as possible!

It seems that your dataset "yuchenlin/zero-eval" located on huggingface datasets can not be downloaded. I tried to download it in another separate file like:
dataset = load_dataset("yuchenlin/zero-eval", "mmlu-redux", split="test")
but still failed.
Could you check if there is an error in your dataset? Thanks! :)

this should be an error from the huggingface side. they have some stability issues these days. it should be fixed very soon.


dc web1

Codecov Report
Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.55%. Comparing base (682e265) to head (1d16fe8).

Files
Patch %
Lines

acrobat/scripts/alloy/mobile-widget.js
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #720      +/-   ##
==========================================
- Coverage   89.57%   89.55%   -0.02%
==========================================
  Files          39       39
  Lines        4814     4816       +2
==========================================
+ Hits         4312     4313       +1
- Misses        502      503       +1

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


Union of Two Sorted Arrays

❗Write Code in Only One Language ( CPP , C , Java , Python )
Give File Name :  filename  ✅ In respective language folder
📑 DESCRIPTION
Union of Two Sorted Arrays

Union of two arrays can be defined as the common and distinct elements in the two arrays.
Given two sorted arrays of size n and m respectively, find their union.
Example 1:
Input:
n = 5, arr1[] = {1, 2, 3, 4, 5}
m = 3, arr2 [] = {1, 2, 3}
Output: 1 2 3 4 5
Explanation: Distinct elements including
both the arrays are: 1 2 3 4 5.

Example 2:
Input:
n = 5, arr1[] = {2, 2, 3, 4, 5}
m = 5, arr2[] = {1, 1, 2, 3, 4}
Output: 1 2 3 4 5
Explanation: Distinct elements including
both the arrays are: 1 2 3 4 5.

Example 2:
Input:
n = 5, arr1[] = {1, 1, 1, 1, 1}
m = 5, arr2[] = {2, 2, 2, 2, 2}
Output: 1 2
Explanation: Distinct elements including
both the arrays are: 1 2

Expected Time Complexity: O(n+m).
Expected Auxiliary Space: O(n+m).

Assign me @vivekPatil45

@vivekPatil45 I would like to contribute to this issue. Could you please assign this task to me.

@1Mangesh1 solve it

#100 fixed


custom attr and event not work

<draggable
  :style="computedStyleObject"
  @click="handleClickEvent"
>
  ...
</draggable>

style attribute and click event not work, but vue2 version can work, it can be resolve😭?

@David-Desmaisons
https://github.com/SortableJS/vue.draggable.next/pull/55

Did you try  @click.native="handleClickEvent"` ?

@David-Desmaisons vue3 not supportnative

@David-Desmaisons  plz add this line：see

@falstack I will review and merge this week-end.

@falstack  Corrected in version 4.1.0


Fix huggingface question-answering translator bug

Fixed bug in QuestionAnsweringTranslator

Codecov Report

Merging #1875 (36505e5) into master (bb5073f) will decrease coverage by 2.36%.
The diff coverage is 64.62%.

@@             Coverage Diff              @@
##             master    #1875      +/-   ##
============================================
- Coverage     72.08%   69.72%   -2.37%
- Complexity     5126     5545     +419
============================================
  Files           473      527      +54
  Lines         21970    24515    +2545
  Branches       2351     2667     +316
============================================
+ Hits          15838    17092    +1254
- Misses         4925     6110    +1185
- Partials       1207     1313     +106

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

...odality/cv/translator/BigGANTranslatorFactory.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...nslator/InstanceSegmentationTranslatorFactory.java
14.28% <0.00%> (-3.90%)
:arrow_down:

.../cv/translator/SemanticSegmentationTranslator.java
0.00% <0.00%> (ø)

.../cv/translator/StyleTransferTranslatorFactory.java
40.00% <ø> (ø)

... and 423 more

Help us with your feedback. Take ten seconds to tell us how you rate us.


App Not Working Properly

Hi, I have installed the smart app and getting the error log below during the simulation.  I have the latest SmartThings App running on iPhone.  Can you give me some guidance on what the problem may be?
637f8888-2fc7-43e6-8534-b1b75711b641 10:37:51 AM: debug line 160 Flume_Devices '[]'
637f8888-2fc7-43e6-8534-b1b75711b641 10:37:51 AM: debug getChildDevices(false), children=0
637f8888-2fc7-43e6-8534-b1b75711b641 10:37:51 AM: debug line 983 state.myQueryData '[]' state.myAlertData '[]
637f8888-2fc7-43e6-8534-b1b75711b641 10:37:51 AM: error line 1734 Flume SM error in initFlume_locations retrieving locations: groovyx.net.http.HttpResponseException: Too Many Requests
637f8888-2fc7-43e6-8534-b1b75711b641 10:37:51 AM: debug line 1528 initFlume_locations(flumeUserId) = 21438

If you read this: https://community.smartthings.com/t/release-smarthings-smart-app-and-device-handler-for-flume-smart-home-water-monitor/220670
Look for the section on Proxy. It explains why you are getting this:

groovyx.net.http.HttpResponseException: Too Many Requests

I have found that if you hit this condition when you try to set up the SmartApp it will not complete successfully. I tried repeating the process (going into the Smart App in the app) until it eventually works which you'll see in the trace logging.
Good luck.


Private branch

Sorry, didn't notice this. I don't think you meant to do this. I want to keep this repo generic.


A failure occurred in build - Antergos (Arch) Linux

Hello,
I'm using Antergos Linux (Arch) on a ThinkPad X1 Carbon 5th Gen (20HR002MGE) and somehow the installation for 1.9 with the GUI Antergegos installer over AUR won't work. I get this error:
`  CCLD     scsi_id
CC       src/v4l_id/v4l_id.o
CCLD     v4l_id
CC       src/accelerometer/accelerometer.o
CCLD     accelerometer
CC       src/keymap/keymap-keymap.o
In file included from src/keymap/keymap.c:41:0:
src/keymap/keys-from-name.h:158:1: error: conflicting types for ‘lookup_key’
lookup_key (register const char str, register size_t len)
^~~~~~~~~~
src/keymap/keymap.c:39:19: note: previous declaration of ‘lookup_key’ was here
const struct key lookup_key (const char *str, unsigned int len);
^~~~~~~~~~
make[2]: *** [Makefile:2051: src/keymap/keymap-keymap.o] Error 1
make[1]: *** [Makefile:3190: all-recursive] Error 1
make: *** [Makefile:1333: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
`
please consider in your answers that I'm not that advanced with Linux yet.
Thanks a lot!

Hmm, looking at https://aur.archlinux.org/packages/brackets/?comments=all it should work now.
A comment to similar issue than yours says that
@alfredo.ardito You can use libudev0-shim instead of libudev0

So installing that dep first could work. The archlinux package is supported by a thirdparty, so you might be able to find more help by asking help from https://aur.archlinux.org/packages/brackets instead.
Hopefully this helps you somewhat

That solved my problem :) Awesome! Thank you! I really appreciate your help!

Awesome 👍


Cropped icon rendering with Powerline+Font Awesome font . 'Fix' with opening split panes.

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: macOS Sierra 10.12.4
Hyper.app version: <IP_ADDRESS>8
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/paulklemm/5ee36a36930a7ba0a895f2bcdc8c915d
Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): N/A
The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

I'm using ZSH with the powerlevel9k theme and SourceCodePro+Powerline+Awesome Regular font (https://github.com/gabrielelana/awesome-terminal-fonts).
The icons are cropped in hyper.

When I open a new split pane horizontally, the problem disappears, while the new pane is still rendered wrong.

Opening a third one doesn't help.

If you, however, split horizontally, you can also get the opposing pane fixed.

Same issue here, noticed it on the previous version as well.

Any update on this?

If it helps: I am using fish with the  oh-my-fish/theme-bobthefish theme, as well as MesloLGS Nerd Font as hyper font.

+1 also having the same 'icons cut off' issue. Using Zsh w/ InputMono Nerd Font.  Also seeing a split fixing it in the original window.

I've now encountered this issue. ZSH, PowerLevel9K with FureCode Nerd Font

Update:
Related issues I could find:

https://github.com/zeit/hyper/issues/1336
https://github.com/zeit/hyper/issues/1845

It seems that PR https://github.com/zeit/hyper/pull/1536 solves the problem. It was merged into master end of May and should therefore be in the next Hyper.js release.
🤞🏽

@deiga You're right. Just compiled the current codebase and the problem still persists.

The interesting thing is that it only happens when there is a background color.
With colored background:

With default color background:

@lucasqueiroz For me it's independent of the background color. Can you share your config?

@lucasqueiroz The bug you mentioning has something to do with your theme, nothing is cropped out.

It's not the theme. I've removed the theme, added again. It only works when there is no background color for the text.

Switched to iTerm as a result of this issue and it's working fine. Problem persists in Hyper with same config

Any progress on this issue? This present in v1.4.3

Seems like vscode terminal also has the same issue: https://github.com/Microsoft/vscode/issues/30289. Potentially issue upstream in xterm.js?

@chhschou is right, VS Code has the same problem:

Any improvement on this issue?

mine works in vscode but have the same issue in Hyper

For me, it has been fixed in 2.x

2.x ? isn't the last version 1.4.8?

Check the prerelease section
On Sep 30, 2017, at 12:12 AM, jobarbo <notifications<EMAIL_ADDRESS>wrote:
2.x ? isn't the last version 1.4.8?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/zeit/hyper/issues/1769#issuecomment-333233943, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJoxV-mCE-GuP2IRW0MWDVPUIN80i3Etks5snVYigaJpZM4NKph1.

On Hyper v2.0.3, still not fixed:

I believe this is a simple fix, we should be using the xterm-wide-char to display the powerline characters css class instead of xterm-normal-char.

Seems to be fixed as of 2.0.4 (might be related to the recent fix in xterm.js).

@fsegouin It's partially fixed. I still experience problems as @chhschou describes. Some Icons are still cropped.

@gabrieldrs  Doing this seems to mess with the cursor, slightly offsetting it to the left when there are icons on the same line. Do you happen to know of any other fix for this?

Hey there, to verify if this is indeed a Hyper issue or upstream at https://github.com/xtermjs/xterm.js/ could you please test if another xterm.js powered terminal shows the same problem you are experiencing? I suggest using https://github.com/Microsoft/vscode for testing. Thanks!

@Stanzilla I was indeed experiencing the same issues in the vscode terminal. I have removed any icons to avoid this, so I haven't tested it since a bit after posting here.

Special indicators (like the branch icon and less noticeable the git dot) are cropped in 2.1.0-canary.1:

Surprisingly this is bugged in VSCode as well.


End marker never shows

Both the source and the minified file causes the end marker to never show.
End marker shows correctly if using the (older?) version from the example page.
Seems to stem from the following line which is commented out.
https://github.com/OFFLINE-GmbH/multi-timeline.js/blob/6d4cf058f31f1947a0ec1d359402e9c2e50618dd/src/js/multi-timeline.js#L348
Also, shouldn't this be "border" and not "order"?
https://github.com/OFFLINE-GmbH/multi-timeline.js/blob/6d4cf058f31f1947a0ec1d359402e9c2e50618dd/src/scss/multi-timeline.scss#L111

Good catch, that should definitively be border.
I don't think the commented out line is the cause of the problem. If you specify an end value and don't set the markerDateFormat to false you should get the end marker. If not, this is the place i'd start to debug:
https://github.com/OFFLINE-GmbH/multi-timeline.js/blob/master/src/js/multi-timeline.js#L464
If you find the cause of the problem please feel free to submit a PR with a bugfix.

Thank you for your quick reply.
In my test page I did specify an end value and set markerDateFormat to a valid date format. No end marker is shown even with a fairly wide time span.
Retrieving the js-file from the demo page and switching to this file in my test page's head causes the end marker to show correctly.
I've already did some debugging and started from line 464 as you also suggest.
My result this far is that the end marker div is created but gets removed again here:
https://github.com/OFFLINE-GmbH/multi-timeline.js/blob/6d4cf058f31f1947a0ec1d359402e9c2e50618dd/src/js/multi-timeline.js#L352
This is inside the condition above:
https://github.com/OFFLINE-GmbH/multi-timeline.js/blob/6d4cf058f31f1947a0ec1d359402e9c2e50618dd/src/js/multi-timeline.js#L351
Setting a breakpoint and testing the outerWidth shows me, that this value is never higher than the 140 threshold. Even a time span nearly as wide as a timeline defined for a whole month resolves to a outerWidth value of approx. 38.
Switching to the 'working' js from the demo page gives a outerWidth value of more than 1900, thus show (ie. not removing) the end marker div.
I might test a few things more, but for now I haven't figured out why the outerWidth is too low.
This is the status so far. I will be happy to do a pull request if I find the answer.


amplify mock api with @searchable hangs resolving dependencies

Pre-post Checks

[x] Checked for dup issues
[x] Using latest cli/amplify

Issue
Graphql models with @searchable directive hang while mocking during generation of searchable-lambda-trigger via pipenv.
Sample Output
$ amplify mock
Mock Storage endpoint is running at http://localhost:20005
⚠ Your instance type for OpenSearch is t2.small.elasticsearch, you may experience performance issues or data loss. Consider reconfiguring with the instructions here https://docs.amplify.aws/cli/graphql/search-and-result-aggregations/#set-up-opensearch-for-production-environments
⚠
NodeToNodeEncryption is enabled for this Search Domain, disabling this flag or reverting to Amplify CLI <= 10.5.2 will result in this being disabled, triggering a rebuild of the Search Index. To backfill your search domain see https://docs.amplify.aws/cli/graphql/troubleshooting/#backfill-opensearch-index-from-dynamodb-table.

⚠ WARNING: owners may reassign ownership for the following model(s) and role(s):  Project: [owner]
 If this is not intentional, you may want to apply field-level authorization rules to these fields. To read more: https://docs.amplify.aws/cli/graphql/authorization-rules/#per-user--owner-based-data-access.
✅ GraphQL schema compiled successfully.

Edit your schema at /home/user/project/react-amplified/amplify/backend/api/project/schema.graphql or place .graphql files in a directory at /home/user/project/react-amplified/amplify/backend/api/project/schema
Building the searchable lambda trigger
Pipfile.lock not found, creating...
Locking [packages] dependencies...

Graphql Model
type Project @model @searchable @auth(rules: [
    {allow: public, operations: [read]},
    {allow: private, operations: [read]},
    {allow: owner, operations: [read, update, create]}]) {
  id: ID!
  createdAt: AWSDateTime
  updatedAt: AWSDateTime
  isPublic: Boolean
}

Expected Behaviour
amplify mock successfully mocks @searchable graphql models
Env Details
<EMAIL_ADDRESS>dependencies:
axios: ^0.26.0     rimraf: ^3.0.2     tar-stream: ^2.2.0
<EMAIL_ADDRESS>dependencies:
@aws-amplify/analytics: 6.0.11     @aws-amplify/core: 5.0.11          @aws-amplify/notifications: 1.0.11 @aws-amplify/xr: 4.0.11
@aws-amplify/api: 5.0.11           @aws-amplify/datastore: 4.0.11     @aws-amplify/predictions: 5.0.11   tslib: ^2.0.0
@aws-amplify/auth: 5.1.5           @aws-amplify/geo: 2.0.11           @aws-amplify/pubsub: 5.0.11
@aws-amplify/cache: 5.0.11         @aws-amplify/interactions: 5.0.11  @aws-amplify/storage: 5.1.1

Further Digging
Looking further at the pipenv file deployed by amplify mock:
$ cd /home/user/project/react-amplified/amplify/mock-api-resources/searchable/searchable-lambda-trigger
$ tree
.
├── Pipfile
└── src
    ├── index.py
    ├── pyproject.toml
    └── setup.py

$ sha256sum src/*
dc8bf41e4e9a5a5b6bd4515f8bdd1f95b23c744e074e6be28832d03c39226cb7  src/index.py
125992d564de51df1fe0117f2d211dd27c0c6c368465d9b158849c2c80807bc2  src/pyproject.toml
8e90207912422b3d607def5618e499718fe59d26bcf57bb8170c04a03597a18d  src/setup.py
$ cat Pipfile

[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
src = {editable = true, path = "./src"}
boto3 = "*"

[requires]
python_version = "3.8"

$ pipenv lock
Locking [packages] dependencies...

Hangs forever.
Pipenv on a custom Pipfile works fine, only the mock generated Pipefile hangs.
Final Comments
I've read many posts online discussing the flakiness of pipenv, specifically when resolving dependencies. Pipenv seems to dismiss these as latency issues when performing dependency fetching, yet myself and others can fetch these dependencies via pip instantly. Perhaps this is simply a Pipfile error. If not, I'd encourage amplify to reassess the reliability of Pipenv.

Hi @GrimmityGrammity 👋 , Thank you for reporting this. Unfortunately, we cannot duplicate the problem using the specified schema. Could you please try again with the most recent CLI version? additionally, verify the if PIP has the necessary permissions to execute.

Hi 👋 Closing this as we have not heard back from you. If you are still experiencing this issue and in need of assistance, please feel free to comment and provide us with any information previously requested by our team members so we can re-open this issue and be better able to assist you.
Thank you!

Apologies for the late reply. I have solved my issue, although not with an ideal solution. I had no luck simply upgrading packages, @aws-amplify/cli included. It always hung resolving dependencies.
The ugly solution was to rebuild my environment from scratch. I installed node/python/java/amplify, pulled my project, updated outdated packages, set JAVA_HOME, ran amplify mock and it worked.
I assume my old box was fraught with dependency conflicts and outdated packages, preventing a clean upgrade. Rather than sort out the mess, it was easier in my case to simply create a new environment. For those who may stumble upon this in the future, consider this ticket. phani-srikar's steps to check OpenSearch were very helpful.
Thanks everyone


New version: RomanNumerals v0.3.3

Registering package: RomanNumerals
Repository: https://github.com/anthonyclays/RomanNumerals.jl
Created by: @hhaensel
Version: v0.3.3
Commit: 98aea191767fed49196625f3c411d52d46534b8b
Git reference: v0.3.3
Description: Support for Roman numerals in Julia

[noblock]
PR for version 0.3.2 is currently being auto-merged

[noblock]
version 0.3.2 has been registered successfully


[3.9] Replace ansi-html with ansi-html-community

Scope & Purpose
This is a backport of #15654 for 3.9. For upgrade compatibility reasons it includes an alias module re-exporting ansi-html-community as ansi-html.

[x] :hammer: Refactoring/simplification

Checklist

[x] :book: CHANGELOG entry made

Related Information

[x] Jira ticket: BTS-730

FYI I've manually tested the module alias.

jenkins passed, the github PR status integration is just broken again


add ability to deploy a build to a server

This can be as simple as extracting a build artifact zip to a path.

blocked by #22

abandoning Arbor CI


Plugin initialization failed, there was a failure with event subscription. Did you read the readme: https://github.com/potmat/homebridge-google-nest-sdm#where-do-the-config-values-come-from StatusError: User not authorized to perform this action

I have been trying for months and everytime I reset these values I still get this error.

I had to create a new event subscription with AllUsers Prinicple Permission enabled with the topic ID of the Nest SDM pub/sub.

Hi @tealtwo could you elaborate on how to create a new event subscription with AllUsers Principle Permission?

i went under permissions in the pu/sub topic id
On Thu, Feb 2, 2023 at 1:12 AM Greg Wang @.***> wrote:

Hi @tealtwo https://github.com/tealtwo could you elaborate on how to
create a new event subscription with AllUsers Principle Permission?
—
Reply to this email directly, view it on GitHub
https://github.com/potmat/homebridge-google-nest-sdm/issues/61#issuecomment-1413253994,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATDJNRDBUSZPNXSS5KKWMK3WVNM7XANCNFSM6AAAAAAUGTPJY4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Source git support

Add tests for sourcegit.
Filter synced files in patches.
Add upstrem option to propose-update.

I am not sure why the tests fail with pytest but not in pycharm. I need to look at it.

The CI failure seems to imply that the machine is dirty.

What about the srpm command? Would it be hard to also add the complete source-git support in there?

I do not think so, I'll try that on Monday.

Would it be hard to also add the complete source-git support in there?

What about merging now and adding that in the next PR?
I would like to add some tests for it as well and do not want to make this one huge and rebase it multiple times..;-)

That was actually just a question: how hard it's gonna be to add source-git support to the srpm command: we shouldn't add it here.


Link on the footer is improper

code of conduct mistakenly assined to contact us page

I can do that. @sanjay-kv

can make a seperate page just like faq


Alter score script and yml files for usage of multiple models

How can we alter the scripts in order to use multiple models? I can't find any related question or documentation on this part and I am struggling to implement this by myself. My training script will generate a couple of hundred models. I would like to specify which models to use in the API calls and select the appropriate models by filename.
service = Model.deploy(ws, aci_service_name, [my_model_1, my_model_2], inference_config, deployment_config)
I should probably do something similar as the statement above, but i do not know how to do this with the yml file as i can not find any documentation on altering the ms-air-aiagility.vss-services-azureml.azureml-restApi-task.MLPublishedPipelineRestAPITask@0 task to allow multiple endpoints.
Any help on this point would be much appreciated!

@MichielMosmans Would using multiple pipelines for training/deploying multiple models meet your requirement?
Or maybe you can implement your own task instead of using the existing one?

@gary918 @MichielMosmans
A quick question.
Do we need separate pipelines for multiple models? Also, can we not have multiple deployment-endpoints on ACI and AKS.
Eg. we can have /score for one /score2 for another.