Error NBC Unable to extract SAML Login URL

Please follow the guide below

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

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

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

Before submitting an issue make sure you have:

[x ] At least skimmed through the README, most notably the FAQ and BUGS sections
[ x] Searched the bugtracker for similar issues including closed ones
[x ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

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

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

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v --ap-mso 'Verizon' --ap-username '***********' --ap-password '**********' https://www.nbc.com/superstore/video/back-to-school/3802458
[debug] System config: []
[debug] User config: ['--prefer-ffmpeg', '-f', 'best[height=720]', '-o', '%(series)s - s%(season_number)02de%(episode_number)02d - %(title)s.%(ext)s', '--audio-format', 'best']
[debug] Custom config: []
[debug] Command-line args: ['-v', '--ap-mso', 'Verizon', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', 'https://www.nbc.com/superstore/video/back-to-school/3802458']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.03.18
[debug] Python version 3.7.2 (CPython) - Darwin-18.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.1, ffprobe 4.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[NBC] 3802458: Downloading JSON metadata
[NBC] 3802458: Downloading Provider Redirect Page
[NBC] 3802458: Downloading SAML Login Page
ERROR: Unable to extract SAML Login URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 794, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 529, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/extractor/nbc.py", line 106, in _real_extract
    url, video_id, 'nbcentertainment', resource)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/extractor/adobepass.py", line 1482, in _extract_mvpd_auth
    saml_login_page, 'SAML Login URL', group='url')
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 1004, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract SAML Login URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

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

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

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
I am using youtube-dl for tv shows on NBC's website.  I am using Verizon credentials and had been doing this for a while with the verizon mso settings with no issue.  I recently reimaged my macbook and installed everything fresh.  youtube-dl had been working from nbc's website getting past seasons of "Superstore" episodes with no issue.  https://www.nbc.com/superstore/video/baby-shower/3806777  Now I am getting the above stated issue.  I am not sure if I somehow am having issues based on python version?  Or if I have certain files in the wrong place and they are not being called by youtube-dl anymore?  If there is any advice or help anyone can provide please let me know.  I tried to follow info from here: https://github.com/ytdl-org/youtube-dl/pull/14363 as issue seemed similar.  I keep coming up with errors, and will not work.

URL is dead


Augmented Reality does not work on iOS

(related to #3548)
Description
in Safari in iOS, I can see the "mixed reality" button, while wrapped in a native app, using capacitor, it does not show. Anyway, even in safari, clicking it does not do anything, and there is nothing in the console.

Safari
WKWebView

<model-viewer
  #modelViewer
  alt="3D Sign Language Avatar"
  camera-controls
  camera-orbit="0deg 90deg auto"
  camera-target="0m 2.8m 0m"
  field-of-view="90deg"
  interaction-prompt="none"
  loading="eager"
  preload
  ar
  ar-scale="fixed"
  xr-environment
  src="3d/character.glb"
  ios-src="3d/character.usdz"
  ar-modes="scene-viewer webxr quick-look"></model-viewer>

Live Demo
Reproduction available in https://sign.mt

write "test"
hit the view switcher on the bottom right
and change to the avatar

Version

model-viewer: v3.4.0

Browser Affected

[x] Safari

OS

[x] iOS

AR

[ ] WebXR
[ ] SceneViewer
[ ] QuickLook

In your site I don't see the ios-src that you have in your comment. How much filesize does your GLB have? When you click the AR button, does it disappear and then reappear? Sometimes Safari is strangely slow to process USDZs.

It only adds the ios-src when you open the site from iOS (emulator or real device), because of the way my caching system works for offline usage.

In order to debug, I open the site on my iPhone, and then using safari developer tools view the iPhone dev tools.
Clicking the AR button does not flicker, doesn't do anything.
The GLB is 27mb: https://firebasestorage.googleapis.com/v0/b/sign-mt-assets/o/3d%2Fcharacter.glb?alt=media
The USDZ is 19mb (converted using reality converter): https://firebasestorage.googleapis.com/v0/b/sign-mt-assets/o/3d%2Fcharacter.usdz?alt=media

27mb is huge - you really shouldn't need more than 5 if you've properly optimized for mobile. You may be running out of GPU RAM. Can you make a simple repro with a smaller model and no fancy caching? I would guess the problem is caused by one of those two.


[hold off on reviewing] Goal animation logic

Fixes #4461 and #4445

Changes goal animation config fields to be text fields that take in FID values as discussed in #4461
Creates two helper functions - one that gets the current range of progress, and one that gets the animation file that corresponds with that progress range.
Creates a variable that the template can use to print the correct animation file.

@angaither @aaronschachter

@sbsmith86 can we close this one out now?

@angaither  yea


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_34e0e462-e186-4b9d-b307-f5483fc7b252/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_34e0e462-e186-4b9d-b307-f5483fc7b252.git

Docs Build status updates of commit 766da07:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-source' (branch: Release_Archive_main_2022-01-25-07-18-21) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Accessing and editing embedded excel files?

Hi Steve,
I'm wondering if there's way to access the embedded excel file in charts. I thought it would be:
prs.slides[0].shapes[0].chart._workbook
Is this the right object? It seems that I can open it using xlsxwriter but somehow I can't write anything to it and save it back to the pptx file.
Thanks a lot for your help!

No, you need to go to the part level because the Excel is in a different part (EmbeddedXlsxPart or something). Step-by-step it's like this:
chart_part = chart.part
chart_workbook = chart_part.chart_workbook
xlsx_part = chart_workbook.xlsx_part

From there you have the methods on Part: https://github.com/scanny/python-pptx/blob/master/pptx/opc/package.py#L169
So maybe save xlsx_part.blob as file something.xlsx and then read it. You could also pop the blob into a StringIO object and then maybe pass it into openpyxl or something.


How to set l and h keys to open/close directory or file?

Self-Diagnosis

[x] I have searched the issues for an answer to my question.
[x] I have reviewed the NERDTree documentation. :h NERDTree
[x] I have reviewed the Wiki.
[x] I have searched the web for an answer to my question.

State Your Question
I come from coc-explorer and it had a default key binding which opened or closed directory or files with the help of l and h keys respectively. I would like to know how I can set that same behaviour in Nerdtree on my neovim. I read the docs and found that there is a way to set custom keymaps by NERDTreeAddKeyMap but it came with some error when launching nvim (Unknown function NERDTreeAddKeyMap). Maybe I did it wrong, could you please help me how to set up such keybindings in nerdtree.

Unfortunately, that is not possible with NERDTree. The o key does both opening and closing of directories. The closest you can come to coc-explorer is to use o and x in place of l and h, but the x key's behavior is not quite the same as coc-explorer's l key.
To change the keys associated with a NERDTree action, in particular the suggestion above, you would do this:
let NERDTreeMapActivateNode = 'l'
let NERDTreeMapCloseDir = 'h'

The NERDTreeAddKeyMap function is used to extend NERDTree with functions that you write to add new functionality to the plugin. If you're feeling ambitious, you could implement the desired h and l behavior you're seeking by creating a new NERDTree plugin.

I wish clicking h on a directory node closed it, but I think I can get used to toggling behaviour of  l.
Thanks for your help!


Possible to work within code blocks?

In Ruby Rspec it's very common to use code blocks to define chunks when defining specs.
Something like this:
RSpec.describe Some::Class do
  describe '.build' do
    # set some vars
    context 'some context' do
      # more vars
      it 'a spec' do
        # spec definition
      end

      it 'another spec' do
        # spec definition
      end
    end

    context 'another context' do
      # ...
    end
  end

  describe '.call' do
    # ...
    # ...
  end
# it goes like this
end

I don't see anything in the navbuddy window since there are no class and method definitions. My main hope when getting this plugin was that i would stop getting lost mainly in these kind of long spec files. Is it possible to include these kind of nested block definitions in the nav window?

Navbuddy itself doesn't parse the code, it just gets the data from lsp for which symbols are present in the file. You could try alternate language servers for ruby to see if they can provide this data, or maybe open an issue in the language server's repo.

You're right, for a moment i was thinking of treesitter nodes instead of lsp symbols. Just double checked and solargraph deosn't list code blocks as symbols. Only other lsp for ruby is `ruby-ls' which is not in a usable state for me. Maybe i need use a plugin which shows context through treesitter..
But thanks for the answer, and for the great plugin!


Large Memory is Used by Codis-proxy

195GB is occupied by codis-proxy process:

I notice that it is not a new issue since Ngaut commented ”Caused by zookeeper client library. fixed.” in “codis-proxy use large memory #107”
Could anyone tell me how to fix it step by step, thanks

fixed means fixed in the code。 what's your codis' version? recommend upgrade codis to 3.2

The version is

According to my workmate, its version is 3.2


Create tooreal.is-a-fullstack.dev.json

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] There is no NS Records (Enforced as of Sepetember 4th, 2024)

Description
Personal Project to host a small instance
Link to Website
wowzers2.netlify.app
I have read the CLA Document and I hereby sign the CLA

I have read the CLA Document and I hereby sign the CLA

recheck


bug(TFD-840): force the output link order on FilterRow.

Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
The outpuit link order is not fixed due to the usage of an HashMap.
Therefore, the UI usually display the link in the wrong order.
What is the new behavior?
Used a LinkedHashMap to force the order of the output link
Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: failure :x:

Pull request test result: success :star:


Define schema for the new database

Description
As a developer, I want to define a schema for the new database.
Acceptance criteria

[x] current templates converted into tables to promt discussion
[x] meeting for discussion scheduled
[ ] schema agreed

we had 1 meeting, another meeting scheduled. Moving to the next sprint.

we had 1 meeting, another meeting scheduled. Moving to the next sprint.

Had another meeting.

Needs another meeting with @Afollet
Then another meeting with everyone

I would like to table this until the next Sprint when we are not working on release tasks. @zperova

👍

moving to the next sprint

We have agreed that for the immediate needs this can be considered done.
We can expand schema later on as needed.


web app not work well in touch device

open url in touch device like mobile
https://staffengineer.github.io/velo?document=https://gist.githubusercontent.com/StaffEngineer/b8ba7a054a3852d6f88044f604bc08b7/raw/6a1631fb6763c784f5da7db13fc2f3cbd0242c0c/velo.json
With After long clikc(press).
It's like choosing everything, that is, not being able to do anything.

This is expected. The main platform for this app is native desktop as mentioned in readme. There were an issue related to mobile support: https://github.com/StaffEngineer/velo/issues/44 but I simple don't have enough resources to implement it. If you want to have touchpad/mobile support, please submit a PR.


Implement Smalltalk-style method chaining syntax

Courtesy of @arnsholt. Slightly made-up but complete example:
my employee = {
    name: "Frank",
    age: 44,
    role: "Senior Janitor",
    printName() {
        say(employee.name);
    },
    printAge() {
        say(employee.age);
    },
    printRole() {
        say(employee.role);
    }
};

employee
    ..printName()
    ..printAge()
    ..printRole()
;

That is, even though those printMumble methods don't explicitly return the employee object (or some this equivalent), the .. call syntax allows them to be used as if they did.
Here's a possible implementation:
macro postfix:<..>(object_ast, identifier_ast, parameterlist_ast)
    is parsed(/ ".." <identifier> "(" <parameterlist> ")" / {

    return quasi {
        {{{object_ast}}}.{{{Q::Identifier @ identifier_ast}}({{{Q::ParameterList @ parameterlist_ast}}});
        {{{object_ast}}};
    };
}

Looks good to me. Only quibble I have is on the macro implementation: if object_ast is something that performs a destructive operation (say, getting the next item off a queue or something), wouldn't the macro end up performing many of them, rather than just one?

Oh, another thing. In ST invocant m1; m2; m3 has the return value of m3, not the invocant itself which is what we get with this macro.

Only quibble I have is on the macro implementation: if object_ast is something that performs a destructive operation (say, getting the next item off a queue or something), wouldn't the macro end up performing many of them, rather than just one?

Yes, you're right. More generally, with quasis in macros, whenever one is using the same value multiple times, one always wants to capture, with no exception that I've found so far.
Ok, here's a new implementation that does that:
return quasi {
    my object = {{{object_ast}}};
    object.{{{Q::Identifier @ identifier_ast}}({{{Q::ParameterList @ parameterlist_ast}}});
    object;
};

Oh, another thing. In ST invocant m1; m2; m3 has the return value of m3, not the invocant itself which is what we get with this macro.

Hm, you're right. The last method shouldn't return self, because that's clearly useless, just like it's useful in earlier places in the chain.
Let's see... postfixes nest like this: ((employee..printName())..printAge())..printRole(). The corresponding macros get called innermost-first, that is, from left to right. Which means that what a postfix:<..> macro should do is not codegen its own method call, but rather tweak the previous method call, if any, to return the invocant.
Under that scheme, ..printRole() which is called last ends up tweaking ..printAge(), but nothing ends up tweaking ..printRole() so it ends up returning what it usually does (None).
Yes, this scheme is more ambitious, but I like it better, I think.

Hm, you're right. The last method shouldn't return the invocant, because that's clearly useless, just like it's useful in earlier places in the chain.

Yup. In ST, if that's actually what you want, you can just call the identity method, i.e. invocant m1; m2; self

Yeah, for maximum manipulexity you want to be able to choose between the invocant and the returned value. In ST it's solved by the chaining operator returning the last return value and having a method that just returns the invocant (called yourself actually, not self. self is the reserved word containing the invocant of a method).

Smalltalk's syntax is different than the one I propose in OP. It uses semicolons and periods.
I think I might have gotten the .. syntax from LiveScript cascades. Who knows how long ago I read that. :smile:

Dart also uses ..:
String s = (new StringBuffer()
..add('Jenny ')
..add('I ')
..add('got ')
..add('your ')
..add('number')
).toString();

Additionally, as this example shows, the entire cascade does return the original invocant (in Dart).
I was going to write something about how the postfix .. syntax clearly clashes with the infix .. range syntax. (According to the current/growing spec, range .. is a built-in syntax... although this might change before the dust settles; it's clearly a candidate for throwing out into a module.) But then I thought, everything's fair if you predeclare, and the world is clearly large enough for two different features with conflicting syntax. Something similar has been discussed earlier in the issues with postfix ++ for destructive increment vs infix ++ for nondestructive array concatenation.


issue Linking CXX shared library libglog.so

Hello,
i have build gflags' files with : cmake -DINTTYPES_FORMAT:STRING=C99 -DNAMESPACE:STRING=google -DCMAKE_INSTALL_PREFIX=../../Install/gflags -DBUILD_SHARED_LIBS=ON ../../gflags
Then, i have added : set (CMAKE_POSITION_INDEPENDENT_CODE ON) to the CMakefile.txt
which, i believe, add the -fPic compile option.
i have the following error :
[ 24%] Built target glog_internal
[ 27%] Linking CXX shared library libglog.so
/usr/bin/ld: /home/franck/Dev/LibLivre/Build/..Install/gflags/lib/libgflags.a(gflags_completions.cc.o): warning: relocation against `_ZN3fLS25FLAGS_tab_completion_wordB5cxx11E' in read-only section `.text.startup'
/usr/bin/ld: /home/franck/Dev/LibLivre/Build/..Install/gflags/lib/libgflags.a(gflags.cc.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/glog.dir/build.make:96: libglog.so.0.7.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:889: CMakeFiles/glog.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

I looking for solutions but i run out of ideas... i didn't know if i manage well to "recompile with -fPic", i do not know what is fPic, i have googled it and there is no result...
Any idea ?

The linker error message indicates that, in fact, you did not compile gflags using -fPIC which can be easily verified by inspecting the command-line used by the compiler.
Please ask the gflags folks how can this be best achieved or use the search function. This issue popped up several times in the past; see #680 #661 #174 #819.


Added clipping distance to tabletop AR sample.

@ldanzinger @GuillaumeBelz Ready for review. Thank you.
I saw that this was almost done/is done so I figured I would just make the small change and have it ready to go.

I saw that this was almost done/is done

Yes, this is merged.


libwebkit2gtk-4.0-dev not in Ubuntu 24.04

I do know how to get around this. But, correct me if I'm wrong, webkit is only used to render the login page and then fetching the token that gets generated, right? You probably won't have to worry about it braking if someone has libwebkit2gtk-4.x-dev installed instead of 4.0 specifically.
And yes, I understand the issue is that each version has it's own package name, instead of just the same package name with versioning. Perhaps  some pattern matching like "libwebkit2gtk-4(.\d)*?-dev" can help.
Apologies if I'm totally off base. I'm just trying to think of ways to make this more resilient and less work to maintain.
Loving the work you all have done by the way, I had almost given up getting Hearthstone running on Linux, before I stumbled on this today. I had assumed wine or some sort of android emulation was the only way to go, and they never quite work. So imagine my surprise to see it can be run natively by running the OSX version of Hearthstone using the Linux version of Unity, genius!

Hey, yes you're right, the tool is just to load the login page and fetch the token and as it never expires, you don't need to use it again. It was contributed and I've added the crypto stuff. Before it existed, you had to visit the web page in any browser and paste the token to c# tool in token folder which is mainly extracted from the unity code of the game.
I have made some small changes based on your suggestion to make it less dependant on the version :)


Fix tests for arrow>=0.15.6

Since its last release0, the heavily used arrow library supports ISO
week dates1. The CLI tests assumed that arrow does not support this.
However, the new version nullified this assumption.
As a provisional measure, the version of arrow was limited upwards in
PR #3722. An obsolete version was thereby requested.
A current version, or at least support for one, is important for
third-party package managers. Especially GNU/Linux distributions prefer
to use their own package manager to install software over pip.
Thus, this commit removes both the restriction to an outdated arrow
version in the requirements.txt and validates previously invalid marked
week dates.

It's a strong requirement, but I've no hard-feelings about this. @k4nar & @joelostblom WDYT?

Currently I see three options:

Enforce an outdated version of arrow and keep the old tests.
Enforce the latest version of arrow and use the updated tests.
Remove the ISO week date-test and a limitation to arrow's version.

Imho, removing tests is never good. Thus, one has to pick a side of arrow's version barrier: use an old version or force the (currently) newest.

I don't have anything against this either. I am not very experienced with what Linux distros prefer so I defer judgement there (although my general problem with many have been that they have too old packages so not sure if they would have such a recent version of arrow).
One additional alternative could be to have a separate version requirement on arrow for development, since it only breaks the tests and list in the docs that week dates are only available on the latest version of arrow, which would avoid limiting the availability of Watson to those that don't care about week dates or running the tests, but for some reason can't get the latest arrow (maybe this is not at all common and therefore moot).
Just throwing out ideas.

I created this PR as a contributor to a distribution - NixOS, if it matters. The latest arrow version thus prevented me from version bumping watson. As options I saw adding a custom patch, submitting a patch upstream or using an extra arrow package only for watson.
Others are facing the same problem, e.g., openSUSE have patched watson to remove arrow's version limitation. Nevertheless, it's dark out there regarding packages - both for arrow and watson.
Yet enforcing an old version leads to incompatibilities in the long run. Incentives for updating should therefore be provided.

@geistesk you convinced me :wink: Waiting for @k4nar opinion on this.

Ok, then. @geistesk can you update the changelog so that I can merge this. Thank you! :pray:

@jmaupetit: Does it look right to you now?


[BangleJS 2] [Feature request] Commandline-Clock JS2 Enhanced - Add option to change date locale to Month/Day/Year

For American losers out there, this would be a neat option, though far from necessary.

If this used the locale library it should change automatically when the Languages app is installed

... and its does! Just install the Languages app set to US and it'll work


Average precision metric for binary classification

Is your feature request related to a problem? Please describe.
There is ROC AUC in ComputeModelStatistics, but at the same time Average Precision (areaUnderPR) is absent.
Describe the solution you'd like
It will be awesome to add it as it is very useful for many binary classification tasks.
Additional context
None.
AB#1789611

I think this already supported as the name "AUC" but tagging in @imatiach-msft for exact details

Hmm, getAUC calls areaUnderROC not areaUnderPR, so it should be ROC AUC not PR AUC.
Also it not clear what the difference between areaUnderROC (MetricConstants.AreaUnderROCMetric) and AUC (MetricConstants.AucSparkMetric) as getAUC internally calls areaUnderROC from spark.mllib.evaluation.BinaryClassificationMetrics.
These are just synonyms for ROC AUC?

Perhaps we can rename this

There is a common agreement in community that AUC = ROC AUC (areaUnderROC in spark terms), so probably no need to rename anything. Instead it will be nice to add ROC PR (areaUnderPR in spark terms) and name it as AP (average precision) for instance (naming is not my best 😓 ). At least it then will follow LightGBM metrics naming:

Usually when I see AUC (Area Under Curve) I assume it's for ROC (Receiver Operating Characteristic) already, PR AUC is used less often.

Exactly!

Honestly "PR AUC" is used a lot less often than ROC AUC as I've personally seen.

Indeed, but it depends on task you solve. ROC is a balance between TPR and FPR while PR is Precision - Recall balance. It may help with highly-imbalanced datasets. You might have ROC AUC close to 1.0 but with practically zero recall at the same time. Whereas ROC PR is much more useful for such tasks.

@imatiach-msft i think area under PR is much better for unbalanced tasks

@ppruthi 👋
Sorry, it is still unclear to me from the above conversation whether this feature will be implemented or it will not.
I can surely close it if it is not in plans anytime soon.


Client Files

Hello! How can I add Client Files to the container? There are new simulation versions for other Torrent Clients, and I would like to make use of them.

Can you be more specific? What do you mean by "Client Files" and what do you mean by "simulation versions"?

Sure!
On BiglyBT > Tools > Options > Extreme Mod > Perfect Spoof > This list


Preview3 - Razor Component project fails to build with a 'ResolvePackageAssets' task failure

Describe the bug
I am trying to port a server side 0.8.0 Blazor application to be a Razor component of my web server using Asp.Net Core preview 3.
To Reproduce
I have moved all of my assets from a Blazor app to be server side following the pattern of the new RazorComponent single project solution. The project that is the server with the RCs fails to build with:
9 ------ Build started: Project: Optimiser.Web, Configuration: Debug Any CPU ------ 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018: The "ResolvePackageAssets" task failed unexpectedly. 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at System.Collections.Generic.Dictionary2.get_Item(TKey key)
9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.NET.Build.Tasks.LockFileExtensions.CollectDependencies(IDictionary2 libraryLookup, IEnumerable1 dependencies, HashSet1 exclusionList) in /_/src/Tasks/Microsoft.NET.Build.Tasks/LockFileExtensions.cs:line 193 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.NET.Build.Tasks.LockFileExtensions.CollectDependencies(IDictionary2 libraryLookup, IEnumerable1 dependencies, HashSet1 exclusionList) in /_/src/Tasks/Microsoft.NET.Build.Tasks/LockFileExtensions.cs:line 180
9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.NET.Build.Tasks.LockFileExtensions.GetPlatformExclusionList(LockFileTarget lockFileTarget, LockFileTargetLibrary platformLibrary, IDictionary2 libraryLookup) in /_/src/Tasks/Microsoft.NET.Build.Tasks/LockFileExtensions.cs:line 153 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheWriter.GetPlatformPackageExclusions() in /_/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs:line 1191 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheWriter..ctor(ResolvePackageAssets task, Stream stream) in /_/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs:line 610 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader.CreateReaderFromDisk(ResolvePackageAssets task, Byte[] settingsHash) in /_/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs:line 483 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader..ctor(ResolvePackageAssets task) in /_/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs:line 434 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ReadItemGroups() in /_/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs:line 279 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ExecuteCore() in /_/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs:line 271 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() in /_/src/Tasks/Common/TaskBase.cs:line 35 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() 9 C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() 9 Done building project "Optimiser.Web.csproj" -- FAILED.
Expected behavior
I expect to be able to build the project
I would like to know how to track down this issue if the suspicion is that it in my code base.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
VS2019P4
C:\Solutions\OHI\Optimiser>dotnet --info
.NET Core SDK (reflecting any global.json):
Version:   3.0.100-preview3-010431
Commit:    d72abce213
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.17763
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\
Host (useful for support):
Version: 3.0.0-preview3-27503-5
Commit:  3844df9537
.NET Core SDKs installed:
2.1.600 [C:\Program Files\dotnet\sdk]
2.2.200 [C:\Program Files\dotnet\sdk]
3.0.100-preview3-010431 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview3-19153-02 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview3-27503-5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0-preview3-27504-2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
C:\Solutions\OHI\Optimiser>

I see the same issue when updating an existing 0.8.0 Blazor (Asp.Net Core Hosted) application and also when creating a new 0.9.0 Blazor (Asp.Net Core Hosted) application.

I have two PoC apps that exhibited this error. I managed to get one of them to build. The other I still haven't succeeded. The error is slightly different now with VS P4.1:
C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018: The "ResolvePackageAssets" task failed unexpectedly. [C:\Solutions\OHI\Busy-Beacons\BusyBeaconsAdmin.Server\BusyBeaconsAdmin.Server.csproj] C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018: System.Collections.Generic.KeyNotFoundException: **The given key 'NETStandard.Library' was not present in the dictionary**. [C:\Solutions\OHI\Busy-Beacons\BusyBeaconsAdmin.Server\BusyBeaconsAdmin.Server.csproj] C:\Program Files\dotnet\sdk\3.0.100-preview3-010431\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error MSB4018:    at System.Collections.Generic.Dictionary2.get_Item(TKey key) [C:\Solutions\OHI\Busy-Beacons\BusyBeaconsAdmin.Server\BusyBeaconsAdmin.Server.csproj]`

I have a reproducible (albeit large) solution in which I can change one nuget package reference and the error appears/disappears.
The project layout is
App.Client - An RC library that was converted from a Blazor 0.8.0 library; It contains the app.cshtml that is the entry point for the RC components. It ran as server side execution Blazor in 0.8.0
App.Server - A 3.0.0.P2 web server that hosts the RC
App.Server has a package reference that is
<    < PackageReference Include="BuildWebCompiler" Version="1.12.394" /> >
If I remove this package reference either via nuget or directly removing it from the project file I get the error documented above, if I add it back the error disappears. There is no need for the package as I have my wwwroot folder and all of the scss files that need to be built in the App.Client project.

Can you post repro steps, starting from creating a new project and not using third-party dependencies?
I know that's nontrivial to do, but it's the only way I'll be able to identify whether there's a bug or whether there was a mistake in your upgrade process. Thanks.

cc @nguerrera

Can you post repro steps, starting from creating a new project and not using third-party dependencies?
I know that's nontrivial to do, but it's the only way I'll be able to identify whether there's a bug or whether there was a mistake in your upgrade process. Thanks.

Steve,
Since I have no idea what causes the problem I don't think that I can create a repro case. I tried a very simple new project and added/removed the dependency with no issue. I would be willing to allow you or a team member access to my project repository. It should be a simple matter to clone the repository and then demonstrate the problem. Since this is a build issue you would not need any of the surrounding infrastructure needed to run the project.

Thanks @MarkStega.
This is not something we've heard many complaints about and given no repro and the fact that you're now unblocked we're closing this.

I don't think this should be closed. I can't remove an unneeded nuget package from my project without getting the error and I offered access to my project repository that has an easy repro.

BuildWebCompiler

App.Server has a package reference that is
< < PackageReference Include="BuildWebCompiler" Version="1.12.394" /> >

That's interesting, I found that my client project has a reference to BuildWebCompiler (also 1.12.394) but my server project does not. As soon as I remove the reference from the client then the everything builds ok and we're off to the races.

My App.Client still has the wwwroot directory which I map on the server. So my client needs (and has the reference). My server does not have resources that need to be built, hence my desire to remove the BuildWebCompiler reference from Server.csproj


[OPPRO-155] Add benchmarks for q1 and q6

What changes were proposed in this pull request?
Added benchmarks for q1 and q6.
TODO: add parquet benchmark after parquet scan is enabled.
How was this patch tested?
Locally verified.

LGTM


[Toolkit bug]: An unexpected error occurred while initializing RTX Remix

Contact Details (Optional)
<EMAIL_ADDRESS>Describe the bug
I just finished installing the Toolkit from Omniverse but when I try to run it it opens up an error screen saying "An unexpected error occurred while initializing RTX Remix. 'remix::dxvk_CreateD3D9' has failed. Error code: 1"
I do not have an integrated GPU and have tried everything else that people have said.
I have not tried running any games in RTX yet.
Sorry if this is a duplicate issue.
How do you reproduce the bug?

Open Omniverse
Launch RTX Remix

What is the expected behavior?
The toolkit should open to the main menu
Version
2024.3.1
Logs
Edit: I think I found the logs. I will attach them
kit_20240714_122703.log
Media

just spent 7 hours and it turns out you need to uninstall the OpenCL™, OpenGL®, and Vulkan® Compatibility Pack from uninstall or remove a program. I hope this helps any others with this issue


frontend: Add router to pluginLib

We want all the route related methods to be used by plugin developers
thus exporting this in the pluginLib makes sense.

@ashu8912, how about this fixup patch?
@illume , I was having doubts whether to expose the ROUTES object directly as this commit makes it or introduce a new getDefaultRoutes() exported function instead. Because maybe for developers, doing Routes.getDefaultRoutes() is better than Routes.ROUTES. WDYT?

Good idea. Routes.getDefaultRoutes() sounds better.

Updated it. Not sure why Ashu's avatar is not showing on the first commit, since I kept the authorship...


Multilanguage

Hi,
How can I help to support multilanguage site?
Thank you.

Hi @gioramies
There's nothing specific here that can help you with internationalization..
However you may look at angular-translate or the Laravel internationalization docs


Comparable(T) and Ints becoming references?

class Foo
  include Comparable(Int)

  def <=>(other : Int)
    0
  end
end

struct Int
  include Comparable(Foo)

  def <=>(other : Foo)
    -(other <=> self)
  end
end

# p Foo.new == 3
p 3 == Foo.new

if you uncomment that you get
Error in ./a.cr:17: instantiating 'Foo#==(Int32)'

p Foo.new == 3
          ^

in /usr/local/Cellar/crystal-lang/0.15.0/src/comparable.cr:23: no overload matches 'Foo#same?' with type Int32
Overloads are:
 - Reference#same?(other : Reference)
 - Reference#same?(other : Nil)

      return true if self.same?(other)
                          ^~~~~

I'm sure I'm missing something, but in comparable, #== is
  # Compares this object to *other* based on the receiver’s `<=>` method, returning `true` if it returns `0`.
  # Also returns `true` if this and `other` are the same object.
  def ==(other : T)
    if self.is_a?(Reference) && (other.is_a?(Reference) || other.is_a?(Nil))
      return true if self.same?(other)
    end

    (self <=> other) == 0
  end

and somehow (other.is_a?(Reference) || other.is_a?(Nil)) must be true with 0, but ints are structs so I'm super confused.

https://carc.in/#/r/wqj
Using the spaceship operator you can define order between objects (as in, is this one bigger or smaller than the other), but not equality. Even if it returns 0 (so they are, from an order perspective, the same), they do not have to be equal. So you'd have to specifically overwrite the #== method, too, to get your desired behavior.

I was able to reduce it to this:
a = "foo"
other = 3
if a.is_a?(Reference) && (other.is_a?(Reference) || other.is_a?(Nil))
  a.same?(other)
end

The main problem is that right now the compiler doesn't do type filtering in the || operator. The check other.is_a?(Reference) || other.is_a?(Nil) won't restrict other's type inside the if. Also doing other.is_a?(Reference | Nil) doesn't work because you can't use Reference in a union type right now.
So, this is something to improve in the language :-)
For now, as a workaround, I'll change Comparable to make two comparisons, one against Reference and another against Nil.

Cool, thanks


cli(ticdc): Stablize the changefeed list result

What problem does this PR solve?

Issue Number: close #xxx
What is changed and how it works?
Before:
The changefeed list results are not stable both for cli cmd and the OpenAPI. It may cause some confusions for users.
After:
The changefeed list result will be sorted by namespace id and changefeed id alphabetically.
Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/cc @asddongmen
/cc @sdojjy
/cc @crelax

Codecov Report

Merging #6142 (0d273f1) into cli-use-open-api (6a92960) will decrease coverage by 0.5970%.
The diff coverage is 100.0000%.

Flag
Coverage Δ

cdc
64.7090% <100.0000%> (+0.0028%)
:arrow_up:

dm
51.9483% <ø> (+0.0279%)
:arrow_up:

engine
?

Flags with carried forward coverage won't be shown. Click here to find out more.
@@                   Coverage Diff                    @@
##           cli-use-open-api      #6142        +/-   ##
========================================================
- Coverage           58.4156%   57.8186%   -0.5971%
========================================================
  Files                   708        550       -158
  Lines                 83743      72954     -10789
========================================================
- Hits                  48919      42181      -6738
+ Misses                30373      26887      -3486
+ Partials               4451       3886       -565

/merge


Variable functions and closures aren't supported

Blueberry doesn't support PHP's closures yet, which is a shame, because they're really cool. Perhaps something like the following could work:
myClosure = def foo(bar) use (a, &b)
  return a + b + bar
end

We could also clone Hack's ==>, perhaps just making it -> like CoffeeScript since we don't have the conflict PHP does. It auto-imports referenced variables from surrounding scope:
myClosure = (bar) -> a + bar
myClosure = (bar) -> do
  return a + b + bar
end

The connected issue is variable functions. In PHP, you can do this:
$x = 'strlen';
$x('foobar');

But in Blueberry, it's currently not possible to do this, since there aren't any sigils. That's really quite a shame. I'm not sure how to solve this.
One approach would be, like CoffeeScript, to change how variables are scoped. If you had earlier declared a variable called foobar in your script, then we'd compile the Blueberry code foobar() to PHP $foobar(), but if you hadn't, we'd compile it to PHP foobar(). This would mean we'd have to explicitly declare variables global at the top level... which would probably be good thing! That, or get rid of them entirely.
Another approach is what Snowscript does, where all function declarations are done as variables. I really don't like that idea, though.

I really like this syntax
myClosure = (bar) -> a + bar
myClosure = (bar) -> do
  return a + b + bar
end

That works well :)
Main issue is the implicit variable capture.

Yeah I think it's going to have to be
myClosure = (bar) use (a) -> a + bar
myClosure = (bar) use (a) -> do
  return a + b + bar
end

Maybe.

As for calling variable functions... Certainly a() would get compiled to a();. I'd say the simplest solution is add some syntax construct to know when it's supposed to be a regular function call and when a variable function call.
For example, $a() could get compiled to $a();. But adding the $ character, might be confusing. Something I thought maybe was doing call a() and compile that to $a();.

Okay I implemented it the hard way in 664073591ec5c334db676fb1b1fc649105e6af80. I added a very simple scope collector. So now we have access to all assigned variables, and also the ones in the parameters. Just a note: Class attributes cannot be closures, because it would be just silly.

Awesome :)
Does this do implicit variable capture too? Because with the same infrastructure you can do that.

You mean like adding the variables in the current scope to the closure's use automatically?

No, just the ones you choose to use, e.g.:
a = 3
b = 2
c = (z) -> z + b

<?php
$a = 3;
$b = 2;
$c = function (z) use ($b) { return $z + $b; }

This would work similarly to Hack's lambda functions which have the ==> syntax:
http://docs.hhvm.com/manual/en/hack.lambda.examples.php

Ah I see now. I'll give that a shot later today.

Incidentally, it's something I want to add to PHP proper, but I'm too focussed on certain other things just now.

Interesting! This was harder than I expected. Mostly because I have to parse a block, and actually see what variables that block requires. I implemented a dummy solution in a6d76a98506a39fb1c425b1ee1c1309a55d6135e. Will look at this closer eventually. For now I'd like to give the languages some other features such as static methods :)

Moved discussion to #39


Sample contract failing to be match for required pattern

Standard truffle contracts unboxed with https://truffleframework.com/docs/truffle/getting-started/creating-a-project return error with Sabre:
sabre contracts/MetaCoin.sol
Bad data in analysis-request JSON:
In contract MetaCoin:
* field "bytecode" with value "608060405234801561001057600080fd5b50326000908152602081905260409020612710905561024b806100346000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80637bd703e81461004657806390b98a111461007e578063f8b2cb4f146100be575b600080fd5b61006c6004803603602081101561005c57600080fd5b50356001600160a01b03166100e4565b60408051918252519081900360200190f35b6100aa6004803603604081101561009457600080fd5b506001600160a01b038135169060200135610178565b604080519115158252519081900360200190f35b61006c600480360360208110156100d457600080fd5b50356001600160a01b0316610204565b600073__$c1e9661f796f9214b5c8076e394fd5a419$__6396e4ee3d61010984610204565b60026040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b15801561014657600080fd5b505af415801561015a573d6000803e3d6000fd5b505050506040513d602081101561017057600080fd5b505192915050565b33600090815260208190526040812054821115610197575060006101fe565b33600081815260208181526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060015b92915050565b6001600160a01b03166000908152602081905260409020549056fea165627a7a723058204870795535bc4f787f5cf8ad43aa2639bfc2dc28f1700ad9c97f8cd5853dd3220029" fails to match the required pattern: /^(0x)?([0-9a-fA-F]{2})+$/
* field "deployedBytecode" with value "608060405234801561001057600080fd5b50600436106100415760003560e01c80637bd703e81461004657806390b98a111461007e578063f8b2cb4f146100be575b600080fd5b61006c6004803603602081101561005c57600080fd5b50356001600160a01b03166100e4565b60408051918252519081900360200190f35b6100aa6004803603604081101561009457600080fd5b506001600160a01b038135169060200135610178565b604080519115158252519081900360200190f35b61006c600480360360208110156100d457600080fd5b50356001600160a01b0316610204565b600073__$c1e9661f796f9214b5c8076e394fd5a419$__6396e4ee3d61010984610204565b60026040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b15801561014657600080fd5b505af415801561015a573d6000803e3d6000fd5b505050506040513d602081101561017057600080fd5b505192915050565b33600090815260208190526040812054821115610197575060006101fe565b33600081815260208181526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060015b92915050565b6001600160a01b03166000908152602081905260409020549056fea165627a7a723058204870795535bc4f787f5cf8ad43aa2639bfc2dc28f1700ad9c97f8cd5853dd3220029" fails to match the required pattern: /^(0x)?([0-9a-fA-F]{2})+$/

Please check and fix. I'm getting this in Ubuntu and MacOs environments

I think this is an upstream issue that should be reported to https://github.com/ConsenSys/mythx-developer-support

The key of the problem must be at opcode PUSH20 0x0 which directs the bytes are 73__$c1e9661f796f9214b5c8076e394fd5a419$__, it should be<PHONE_NUMBER>00000000000000000000000000000000, so maybe we should make some conversion or something else.

Looks like some kind of placeholder...

Yeah, it is a placeholder, because we quote a library in this contract MetaCoin.sol,  I am looking for more details about it at the official document.

I do not find a better way to do it now, now my solution is
const reger=new RegExp("[\__$].*[\$__]","gm");
const fourty_bits = "0000000000000000000000000000000000000000"
data.bytecode = data.bytecode.replace(reger, fourty_bits);
data.deployedBytecode = data.deployedBytecode.replace(reger, fourty_bits);

as you see above, I intend to use  regular expression to replace the placeholder, but I do not think it is a good way, if one contract quotes two and more libraries, I am not sure what will happen, so I will test it, and at the same time, I will try to find whether there is a better way to solve it. Maybe I can try to traverse the compiled.contract or something else.

yeah, I am almost sure that we should solve the quoting library by replacing the placeholder, but I should change my method to be more readable.

Yeah, I did it the same way in Mythril Classic.
Does your method deal with multiple library imports?

@b-mueller  I just use the regular expression to modify it, you can look at here, but it still throw out an error Analysis failed: source list index out of range.I am not sure for this.

Fixed a problem, but introduced another problem. Maybe I did wrong.

Ok, I'll have a look at it tomorrow!


Error while communicating with the miniflux server

Upgrading from 1.4.1 to any of the releases later throws an error at me. I assume the bit of the logs that matters is net::ERR_CLEARTEXT_NOT_PERMITTED.
I've cleared the app data, reinstalled, rebooted etc. Even created a new API key despite things working before an upgrade and none of that seems to matter.
{FluxNews}  {readConfigValues}  {Starting read config values}  {23 June 2024 07:04:15 PM}  {INFO} {FluxNews}  {initializeDB}  {Starting initializeDB}  {23 June 2024 07:04:15 PM}  {INFO} {FluxNews}  {initializeDB}  {Finished initializeDB}  {23 June 2024 07:04:15 PM}  {INFO} {FluxNews}  {initializeDB}  {Starting creating DB}  {23 June 2024 07:04:15 PM}  {INFO} {FluxNews}  {initializeDB}  {Finished creating DB}  {23 June 2024 07:04:15 PM}  {INFO} {FluxNews}  {readConfigValues}  {Finished read config values}  {23 June 2024 07:04:16 PM}  {INFO} {FluxNews}  {initializeDB}  {Starting initializeDB}  {23 June 2024 07:04:16 PM}  {INFO} {FluxNews}  {initializeDB}  {Finished initializeDB}  {23 June 2024 07:04:16 PM}  {INFO} {FluxNews}  {readConfig}  {Starting read config}  {23 June 2024 07:04:16 PM}  {INFO} {FluxNews}  {readConfig}  {Finished read config}  {23 June 2024 07:04:16 PM}  {INFO} {FluxNews}  {readConfigValues}  {Starting read config values}  {23 June 2024 07:04:16 PM}  {INFO} {FluxNews}  {readConfigValues}  {Finished read config values}  {23 June 2024 07:04:16 PM}  {INFO} {FluxNews}  {readConfig}  {Starting read config}  {23 June 2024 07:04:16 PM}  {INFO} {FluxNews}  {readConfig}  {Finished read config}  {23 June 2024 07:04:16 PM}  {INFO} {FluxNews}  {initializeDB}  {Starting initializeDB}  {23 June 2024 07:04:16 PM}  {INFO} {FluxNews}  {initializeDB}  {Finished initializeDB}  {23 June 2024 07:04:16 PM}  {INFO} {FluxNews}  {syncNews}  {Start syncing with miniflux server.}  {23 June 2024 07:07:04 PM}  {INFO} {FluxNews}  {checkMinifluxCredentials}  {Starting checking miniflux credentials}  {23 June 2024 07:07:04 PM}  {INFO} {FluxNews}  {authCheck}  {Caught an error in authCheck function! : ClientException: Cronet exception: org.chromium.net.impl.NetworkExceptionImpl: Exception in CronetUrlRequest: net::ERR_CLEARTEXT_NOT_PERMITTED, ErrorCode=11, InternalErrorCode=-29, Retryable=false, uri=http://ipaddress/v1/me}  {23 June 2024 07:07:04 PM}  {ERROR} {FluxNews}  {syncNews}  {Syncing with miniflux server executed in 0:00:00.054631}  {23 June 2024 07:07:04 PM}  {INFO} {FluxNews}  {syncNews}  {Finished syncing with miniflux server.}  {23 June 2024 07:07:04 PM}  {INFO} {FluxNews}  {syncNews}  {Start syncing with miniflux server.}  {23 June 2024 07:07:05 PM}  {INFO} {FluxNews}  {checkMinifluxCredentials}  {Starting checking miniflux credentials}  {23 June 2024 07:07:05 PM}  {INFO} {FluxNews}  {authCheck}  {Caught an error in authCheck function! : ClientException: Cronet exception: org.chromium.net.impl.NetworkExceptionImpl: Exception in CronetUrlRequest: net::ERR_CLEARTEXT_NOT_PERMITTED, ErrorCode=11, InternalErrorCode=-29, Retryable=false, uri=http://ipaddress/v1/me}  {23 June 2024 07:07:05 PM}  {ERROR} {FluxNews}  {syncNews}  {Syncing with miniflux server executed in 0:00:00.011588}  {23 June 2024 07:07:05 PM}  {INFO} {FluxNews}  {syncNews}  {Finished syncing with miniflux server.}  {23 June 2024 07:07:05 PM}  {INFO} {FluxNews}  {readConfigValues}  {Starting read config values}  {23 June 2024 07:07:11 PM}  {INFO} {FluxNews}  {readConfigValues}  {Finished read config values}  {23 June 2024 07:07:11 PM}  {INFO} {FluxNews}  {readConfig}  {Starting read config}  {23 June 2024 07:07:11 PM}  {INFO} {FluxNews}  {readConfig}  {Finished read config}  {23 June 2024 07:07:12 PM}  {INFO} {FluxNews}  {initializeDB}  {Starting initializeDB}  {23 June 2024 07:07:12 PM}  {INFO} {FluxNews}  {initializeDB}  {Finished initializeDB}  {23 June 2024 07:07:12 PM}  {INFO} {FluxNews}  {checkMinifluxCredentials}  {Starting checking miniflux credentials}  {23 June 2024 07:07:21 PM}  {INFO} {FluxNews}  {syncNews}  {Start syncing with miniflux server.}  {23 June 2024 07:07:33 PM}  {INFO} {FluxNews}  {checkMinifluxCredentials}  {Starting checking miniflux credentials}  {23 June 2024 07:07:33 PM}  {INFO} {FluxNews}  {authCheck}  {Caught an error in authCheck function! : ClientException: Cronet exception: org.chromium.net.impl.NetworkExceptionImpl: Exception in CronetUrlRequest: net::ERR_CLEARTEXT_NOT_PERMITTED, ErrorCode=11, InternalErrorCode=-29, Retryable=false, uri=http://ipaddress/v1/me}  {23 June 2024 07:07:33 PM}  {ERROR} {FluxNews}  {syncNews}  {Syncing with miniflux server executed in 0:00:00.009050}  {23 June 2024 07:07:33 PM}  {INFO} {FluxNews}  {syncNews}  {Finished syncing with miniflux server.}  {23 June 2024 07:07:33 PM}  {INFO} {FluxNews}  {readConfigValues}  {Starting read config values}  {23 June 2024 07:07:36 PM}  {INFO} {FluxNews}  {readConfigValues}  {Finished read config values}  {23 June 2024 07:07:36 PM}  {INFO} {FluxNews}  {readConfig}  {Starting read config}  {23 June 2024 07:07:36 PM}  {INFO} {FluxNews}  {readConfig}  {Finished read config}  {23 June 2024 07:07:36 PM}  {INFO} {FluxNews}  {initializeDB}  {Starting initializeDB}  {23 June 2024 07:07:36 PM}  {INFO} {FluxNews}  {initializeDB}  {Finished initializeDB}  {23 June 2024 07:07:36 PM}  {INFO}

Hello, is the IP address a private or a public one?
I suspect that the cronet http client handles plaintext connections differently than the native one.
I'll try to debug it tomorrow and create a hotfix release.

First of all, thanks for all the work on the app!
I noticed a similar issue. Installed an older version (1.4.2) from F-Droid and the issue is gone. I have a local DNS setup pointing to my miniflux.
Logs if it helps:
{FluxNews}  {readConfigValues}  {Starting read config values}  {25 June 2024 12:47:42 AM}  {INFO}
{FluxNews}  {initializeDB}  {Starting initializeDB}  {25 June 2024 12:47:42 AM}  {INFO}
{FluxNews}  {initializeDB}  {Finished initializeDB}  {25 June 2024 12:47:42 AM}  {INFO}
{FluxNews}  {initializeDB}  {Starting creating DB}  {25 June 2024 12:47:42 AM}  {INFO}
{FluxNews}  {initializeDB}  {Finished creating DB}  {25 June 2024 12:47:42 AM}  {INFO}
{FluxNews}  {readConfigValues}  {Finished read config values}  {25 June 2024 12:47:44 AM}  {INFO}
{FluxNews}  {initializeDB}  {Starting initializeDB}  {25 June 2024 12:47:44 AM}  {INFO}
{FluxNews}  {initializeDB}  {Finished initializeDB}  {25 June 2024 12:47:44 AM}  {INFO}
{FluxNews}  {readConfig}  {Starting read config}  {25 June 2024 12:47:44 AM}  {INFO}
{FluxNews}  {readConfig}  {Finished read config}  {25 June 2024 12:47:44 AM}  {INFO}
{FluxNews}  {readConfigValues}  {Starting read config values}  {25 June 2024 12:47:44 AM}  {INFO}
{FluxNews}  {readConfigValues}  {Finished read config values}  {25 June 2024 12:47:44 AM}  {INFO}
{FluxNews}  {readConfig}  {Starting read config}  {25 June 2024 12:47:44 AM}  {INFO}
{FluxNews}  {readConfig}  {Finished read config}  {25 June 2024 12:47:44 AM}  {INFO}
{FluxNews}  {initializeDB}  {Starting initializeDB}  {25 June 2024 12:47:44 AM}  {INFO}
{FluxNews}  {initializeDB}  {Finished initializeDB}  {25 June 2024 12:47:44 AM}  {INFO}
{FluxNews}  {syncNews}  {Start syncing with miniflux server.}  {25 June 2024 12:48:53 AM}  {INFO}
{FluxNews}  {authCheck}  {Caught an error in authCheck function! : ClientException: Cronet exception: org.chromium.net.impl.NetworkExceptionImpl: Exception in CronetUrlRequest: net::ERR_CLEARTEXT_NOT_PERMITTED, ErrorCode=11, InternalErrorCode=-29, Retryable=false, uri=http://miniflux.server.home/v1/me}  {25 June 2024 12:48:53 AM}  {ERROR}
{FluxNews}  {syncNews}  {Finished syncing with miniflux server.}  {25 June 2024 12:48:53 AM}  {INFO}
{FluxNews}  {readConfigValues}  {Starting read config values}  {25 June 2024 12:48:57 AM}  {INFO}
{FluxNews}  {readConfigValues}  {Finished read config values}  {25 June 2024 12:48:57 AM}  {INFO}
{FluxNews}  {readConfig}  {Starting read config}  {25 June 2024 12:48:57 AM}  {INFO}
{FluxNews}  {readConfig}  {Finished read config}  {25 June 2024 12:48:57 AM}  {INFO}
{FluxNews}  {initializeDB}  {Starting initializeDB}  {25 June 2024 12:48:57 AM}  {INFO}
{FluxNews}  {initializeDB}  {Finished initializeDB}  {25 June 2024 12:48:57 AM}  {INFO}
{FluxNews}  {deleteLocalNewsCache}  {Starting deleting the local news cache}  {25 June 2024 12:49:05 AM}  {INFO}
{FluxNews}  {deleteLocalNewsCache}  {Finished deleting the local news cache}  {25 June 2024 12:49:05 AM}  {INFO}
{FluxNews}  {checkMinifluxCredentials}  {Starting checking miniflux credentials}  {25 June 2024 12:49:09 AM}  {INFO}
{FlutterLogsPlugin}  {exportPLogs}  {PLogs Path: FluxNewsLogs/FluxNewsLogs/Exported/25062024_004913_AM_all_[1].zip}  {25 June 2024 12:49:13 AM}  {INFO}
{FluxNews}  {checkMinifluxCredentials}  {Starting checking miniflux credentials}  {25 June 2024 12:49:32 AM}  {INFO}

?

It's a private IP. Not sure why I snipped a 192.168 thing out.
As @akumar-xyz mentioned above too thanks a lot for the work on this. It's a wonderful app.

I have just created a new release which should now fix the bug.
The release has already been submitted for publication in the Play Store and should also be published in the f-droid store in the next 5 days.
Sorry for the inconvenience!

Thank you for that and don't be sorry. It's been a day since the problem was even brought to your attention and then fixed. That's amazing. <3

Installed from the play store and can confirm issue is resolved.


Bracket support for #if and #endif in cpp

Calling #if and #elseif 'brackets' is a stretch and I don't think we do this in other languages...

@aeschli this is about #if and #endif (not #elseif). There are languages that use begin and end or even \begin and \end as bracket pairs.
What are your concerns about this new "bracket" pair?

Sorry, yes, of course I meant endif.
Just worrying of unexpected issues and follow up work as we don't use brackets in that way yet. But I see in our source code we have examples and tests for keywords as brackets. Your call, @hediet
I assume https://github.com/microsoft/vscode/issues/159586 is the motivating issue.

Trailing commas are not allowed in JSON objects. With this PR, the c++ language configuration file cannot read with standard JSON parser anymore.

@jlelong It's fixed with https://github.com/microsoft/vscode/pull/161192 .


Wheel for TF 1.8?

Did you build a wheel file for Tensorflow 1.8? Or if you didn't, which instructions did you follow?

https://devtalk.nvidia.com/default/topic/1031300/jetson-tx2/tensorflow-1-8-wheel-with-jetpack-3-2-/1

Ok, thanks.


making sure permissions retains while building pex binary

Address issue #223

Also note that CI failed import sort order checks. The fix is automated, just: tox -eisort-run

When do you think this can be merged?

Do you have any updates on that?
It breaks some important packages as pyspark for example that relies on spark-submit executable scripts.

Completely forgot about this. I will take a look.
Sunny Aggarwal
Mobile: +91-9560331114
Skype: saggarwal89
Twitter https://twitter.com/#!/snyaggarwal | LinkedIn
http://in.linkedin.com/in/snyaggarwal | GitHub
https://github.com/snyaggarwal
On Fri, Mar 22, 2019 at 4:38 PM eryshev<EMAIL_ADDRESS>wrote:

Do you have any updates on that?
It breaks some important packages as pyspark for example that relies on
spark-submit executable scripts.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pantsbuild/pex/pull/381#issuecomment-475579760, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABxacjhTgZ7ix8wwdcO1EhDx7IKHjNS9ks5vZLnDgaJpZM4NFvie
.

I did some tests as we are blocked by this and I would like to get this merged.
It seems enough to only copy the permissions to the PEX_ROOT cache.
I created another PR with a unit test:
https://github.com/pantsbuild/pex/pull/703/files

#703 implemented this so closing. Thanks for pushing this along back in the day!


UnhandledPromiseRejectionWarning

I get an error about target/index folder creation. If I create the folder manually then it gets deleted during run of the tool.
Expected Behaviour
Tool prints report
Actual Behaviour
Exception thrown
Reproduce Scenario (including but not limited to)
Steps to Reproduce
node index-converter.js
Platform and Version
Mac
Sample Code that illustrates the problem
Logs taken while reproducing problem
Index Conversion Start...
Base AEM Version for Reference 65
(node:11934) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, mkdir './target/index'
at Object.mkdirSync (fs.js:738:3)
at Object.performIndexConversion (/Users/.../aem-cloud-service-source-migration/packages/index-converter/index.js:62:12)
at executeIndexConversion (/Users/.../aem-cloud-service-source-migration/packages/index-converter/executors/index-converter.js:38:20)
at Object. (/Users/.../aem-cloud-service-source-migration/packages/index-converter/executors/index-converter.js:35:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
(node:11934) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11934) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Hi @gruberrolandvaltech , it is recommended to use the tool via AIO CLI plugin for source migration (please refer to aio-cli-plugin-aem-cloud-service-migration) , this will help you avoid tool specific/libraries issue (if any). let us know if you still face the issue ?

This worked better, thanks.


chore: trusted nodes

Add trusted nodes configuration option which will prioritize trusted nodes connection and always accept a connection to a trusted node even if over the max connection limit.

prnet cleaned-up successfully


Inadequate description. No detail or usage about this property.

[Enter feedback here]
To use this property requires the developer to use trial and error to determine its usage and value. A couple sentences and a data example would save many minutes of experimentation.
FolderPicker.SuggestedStartLocation ??
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 577a55a9-0d4b-d002-1a77-ea1dbf211e43
Version Independent ID: 12240525-cee1-5aa5-811a-c7c646b53067
Content: FolderPicker.SuggestedStartLocation Property (Windows.Storage.Pickers) - Windows UWP applications
Content Source: winrt-api-build/xml/Windows.Storage.Pickers/FolderPicker.xml
Product: uwp
Technology: winrt-reference
GitHub Login: @GrantMeStrength
Microsoft Alias: jken

Agreed. I've added a link to a sample, and some code that hopefully makes this clearer. Will be updated on the topic page soon. Thank you for the feedback!


[feature request] Extend SHOW MEASUREMENTS to accept a database parameter

Currently, show measurements lists all measurements in a selected database. It would be nice if we had the possibility to specify the database inside the request, just like in show retention policies on <database>.
Proposal: show measurements on <database>.<retention policy>
Edit: InfluxDB 0.9.3

It would be really handy to see the Retention policies on which a measurement is stored

$ influx
Connected to http://localhost:8086 version <IP_ADDRESS>
InfluxDB shell <IP_ADDRESS>
> show retention policies on singular
name            duration        replicaN        default
default         0               1               false
singular        8760h0m0s       1               true
singular_180d   4320h0m0s       1               false

@ivanscattergood see #3318 for the feature request you describe

Closing in favor of https://github.com/influxdb/influxdb/issues/3318


Add insecure option http

This adds code, tests, and documentation for a new "http" --insecure-options flag.

I'll add a CHANGELOG entry after the 0.15 release is done.

LGTM

I've added the CHANGELOG and squashed the commits.


Make sure emoji work on signs

I feel like adding a :thonk: to my wall next to my 15 double chests of eggs.

This should be possible just by moving the override earlier, i'll try get this done

Next update,


Smaller syringe size

About the PR

Adds size definition to syringes, lowering them from 5 to 3 size.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Whisper

tweak: Syringes are now size 3, down from 5.

why

Probably so they can share space with 3 size bottles, i.e 2 bottles and one syringe makes 9 space. I can't think of much other reasons

good


Client x quit with exit code 1 and signal 0

Hi! whenever i start to type Neovim gives me tons of errors saying and my cpu usage goes rapid increasing with neovim consuming 98%
From the lsp logs it is due to the usage of __dirname without .cjs extension

Similar issue

Fixed. It was happening because i had a package.json in my ~ dir which had type: module. but copilot.lua should include a package.json


Fix description markdown rendering in completion

Before this, markdown-rendered HTML from description was rendered as plain text.
To test, use the demo with tsconfig.json schema and type a new property ts to trigger completion for ts-node, which description contains a link.

Ran into this as well, any updates on what it would take to get this merged?


Migrate pb2exec uses to Helix

Fixes #878
This has a bunch of things left to do, including updating the Helix library potentially for all the update chat settings endpoints

Looks good to me


Two-tone icons and more

Automatically convert type name to camel case
Icon type derived from Frame name in Figma are now camel-cased: Two-tone → twoTone
Easier to test changes in the generation tool
Previously, you had to commit or discard all your changes in git's working directory to generate new icons. This made it hard to test changes in the generation tool. I isolated git pre-checks to packages/radix-icons folder.
Now you can tinker with generate-icon-lib and generate icons as 👌 you 🤙 go 👊
Two-tone icons
Added two-tone icon designs. The list is incomplete, but we can already have enough to start using them. Here's a preview.
Use them like this:
<VariantIcon type="twoTone" color="blue" />

Two-tone icons will handle the lighter tone via opacity on its elements, so you don't have to manage two colors ☝

LGTM 👌

@colmtuite Will merge, but feel free to leave comments still.

@vladmoroz
Released<EMAIL_ADDRESS>


OKTA add Domain name column

Customer wants to ingest for multipla OKTA domains into the same OKTA_CL table
to be able to differentiate between domains we need to expose OKTA domain name as property.
solution : add the above lines
if ($recordCount -gt 0) {
    Write-Output "$recordCount record(s) are avaliable as of $startDate"
    $domain1 = $env:uri
    $domain = $domain1.Replace("api/v1/logs?since=","")
    $response  | Add-Member -MemberType NoteProperty -Name "Domain" -Value  $domain
    $json = $response | ConvertTo-Json -Depth 5

   Write-Output $json

    Post-LogAnalyticsData -customerId $customerId -sharedKey $sharedKey -body ([System.Text.Encoding]::UTF8.GetBytes($json)) -logType $LogType
}
else{

    Write-Output "No new Okta logs are avaliable as of $startDate"

@Yaniv-Shasha Can you please try this?
if ($recordCount -gt 0) {
Write-Output "$recordCount record(s) are avaliable as of $startDate"
$domain = [regex]::matches($uri, 'https://([\w.]+)/').captures.groups[1].value
$response | Add-Member -MemberType NoteProperty -Name "Domain" -Value $domain
#$domain1 = $env:uri
# $domain = $domain1.Replace("api/v1/logs?since=","")
# $response  | Add-Member -MemberType NoteProperty -Name "Domain" -Value  $domain
$json = $response | ConvertTo-Json -Depth 5
Post-LogAnalyticsData -customerId $customerId -sharedKey $sharedKey -body ([System.Text.Encoding]::UTF8.GetBytes($json))
-logType $LogType
}
else{

Hi @chinguyen1  from my testing your sugested solution doesnt give me the domain feild.
let take it offline

Yaniv and I synced offline and it worked with these lines.
$domain = [regex]::matches($uri, 'https:\/\/([\w\.\-]+)\/').captures.groups[1].value
$responseObj = $response | ConvertFrom-Json
$responseObj | Add-Member -MemberType NoteProperty -Name "Domain" -Value $domain

@chicduong, would you mind adding this to your next PR?

https://github.com/Azure/Azure-Sentinel/pull/936


click-event-has-key-events doesn't always pick up click directive

A co-worker noticed some inconsistency on when this rule throws an error. In our particular use case, these two versions throw the linting error as expected:
<button @click.prevent="isExpanded = !isExpanded">

<button @click.prevent="toggleIsExpanded()">

However, this one doesn't throw the linting error.
<button @click.prevent="toggleIsExpanded">

This is in Vue 3, for what it's worth.

So none of these should throw that linting error. That error should only be thrown for non-interactive elements (elements that do not descend from widget). Since you're using a button, that should never raise an error. If it was a div, then all 3 should raise an error.
So it seems like only the last one is working as expected?

My bad, I don't know why I created the examples with <button> instead of <div>. The issue was happening on a <div> in our code. Tested all three scenarios again with <div> to confirm:

✅ <div @click="isExpanded = !isExpanded"> raises the error
✋ <div @click="toggleIsExpanded"> doesn't raise the error
✅ <div @click="toggleIsExpanded()"> raises the error

This is awesome, thank you @kddeisz!


WIP: Add Jenkinsfile support

Similar to https://github.com/cfpb/hmda-platform-ui/pull/1066, proof-of-concept for building hmda-pub-ui via Jenkins pipeline.

Closing as outdated.


Failed to detach app

Are you sure you read the readme?
Yes
Android version and skin (MIUI etc... is MIUI still a thing? idk):
Redmi Note 8 Pro, VoltageOs Android 14
Screenshot of Play Store page of the app you are trying to detach:
photo_2024-05-22_12-31-28
photo_2024-05-22_12-31-14
Screenshot of the helper CLI showing detached apps (from Option 2):
photo_2024-05-22_12-29-48
Logs taken with su -c logcat -d -s "zygisk-detach" > /sdcard/log.txt:
log.txt
Empty log, but still uploaded for template
Not providing this information will get your issue closed

if the logs are empty, then the module did not event start which is a bug of your setup.
magisk/kernelsu? what are the other modules?

if the logs are empty, then the module did not event start which is a bug of your setup.
magisk/kernelsu? what are the other modules?

kernelsu. I have installed a few other modules which are shown below:

if the logs are empty, then the module did not event start which is a bug of your setup.
magisk/kernelsu? what are the other modules?

Kernelsu. I have a few other modules installed which are shown below:

there is no zygisk-detach with version v1.17.0

there is no zygisk-detach with version v1.17.0

I have installed the latest version (v1.16.1) but unfortunately, it still wont get detached.

idk. try reinstalling zygisknext. like i said its a bug of your setup or the other modules you use. there is nothing i can fix here.

I tried uninstalling and re-installing Zygisknext but it still doesn't detach. Is the one im using the correct one? (v1.0.5)


Missing Effects

While working on PoreRT, I noticed that the Sponge API is missing some effects that Bukkit has...
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html

[x] MOBSPAWNER_FLAMES
[ ] ENDER_SIGNAL
[x] VILLAGER_PLANT_GROW
[x] DRAGON_BREATH
[x] END_GATEWAY_SPAWN
[x] STEP_SOUND (No easy way of getting the correct sounds for breaking/placing/stepping from a BlockType)
[ ] RECORD_PLAY (Same issue as STEP_SOUND, but not as much of an issue)

I'll try to implement this this weekend, but we'll see.
Also the Sponge API's effect files seem badly documented ...

The sound types are over here.

Number 1-5 are Particles ..., and for Number 6, look again :P

In order to fix this issue, I instead ran a comparison against the tab completion in Vanilla.

Missing: DragonBreath, SweepAttack, DamageIndicator, FallingDust, End Rod
Whatever the others are, arn't available as particles in Vanilla. So looking for it in other parts of the API is possible.

The missing particle types are added in: #1222
This issue is referring to hardcoded effects, the ones that can be send through: http://wiki.vg/Protocol#Effect

There are many different sounds for blocks, should have a BlockSounds interface to represent them, which would be mixin'd to net.minecraft.block.SoundType:
diff --git a/src/main/java/org/spongepowered/api/block/BlockType.java b/src/main/java/org/spongepowered/api/block/BlockType.java
index c9599b4..7050108 100644
--- a/src/main/java/org/spongepowered/api/block/BlockType.java
+++ b/src/main/java/org/spongepowered/api/block/BlockType.java
@@ -105,4 +105,11 @@
      * @return The block trait, if available
      */
     Optional<BlockTrait<?>> getTrait(String blockTrait);
+
+    /**
+     * Gets the {@link BlockSounds} for this block.
+     *
+     * @return The block sounds
+     */
+    BlockSounds getSounds();
 }

/*
 * This file is part of SpongeAPI, licensed under the MIT License (MIT).
 *
 * Copyright (c) SpongePowered <https://www.spongepowered.org>
 * Copyright (c) contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package org.spongepowered.api.block;

import org.spongepowered.api.effect.sound.SoundType;
import org.spongepowered.api.entity.living.Living;

/**
 * Represents sounds for a block.
 */
public interface BlockSounds {

    /**
     * Gets the pitch used when playing sounds.
     *
     * @return The pitch
     */
    float getVolume();

    /**
     * Gets the volume used when playing sounds.
     *
     * @return The volume
     */
    float getPitch();

    /**
     * Gets the sound played when the block is breaking.
     *
     * @return The break sound
     */
    SoundType getBreakSound();

    /**
     * Gets the sound played when the block is stepped on.
     *
     * @return The step sound
     */
    SoundType getStepSound();

    /**
     * Gets the sound played when the block is placed.
     *
     * @return The place sound
     */
    SoundType getPlaceSound();

    /**
     * Gets the sound played when the block is hit.
     *
     * @return The hit sound
     */
    SoundType getHitSound();

    /**
     * Gets the sound played when a {@link Living} entity falls onto the block.
     *
     * @return The fall sound
     */
    SoundType getFallSound();
}

@Cybermaxke You are right, I should have checked the protocol information.
I was getting particles confused with "effects"
http://wiki.vg/Protocol#Particle

@kashike Well if we add block sounds, than we should add entity sounds as well.
And to keep it more "generic" we could change the method interface to
Optional<SoundType> getSound(SoundTypeCategory)
BlockSoundTypeCategories

STEP
FALL
HIT
PLACE
BREAK
OPEN (Door/Chest)
CLOSE
...

EntitySoundTypeCategories

SCREAM/BARK
TALK
HURT
DIE
...

Added RECORD_PLAY, even though it isn't as much of an issue

I added the following effects to the pr #1222:
BREAK_BLOCK - Plays the break effect with sound
DRAGON_BREATH_ATTACK - Plays the dragon breath attack effect with sound
ENDER_TELEPORT - Ender pearl effect (I think, will have to recheck)
FERTILIZER - The bonemeal effect
MOBSPAWNER_FLAMES
SPLASH_POTION
I didn't add:
END_GATEWAY_SPAWN - Is just and LARGE_EXPLOSION and a sound
STEP_SOUND - Should be added to the block api
RECORD_PLAY - Should be added to the data api?

STEP_SOUND is the block breaking effect :P

You can easily recreate the 'END_GATEWAY_SPAWN' effect by creating a 'LARGE_EXPLOSION' particle and playing the 'BLOCK_END_GATEWAY_SPAWN' sound, so I don't think that it's worth to add it.

True ...

The ENDER_SIGNAL particle in the api is ENDER_TELEPORT, I used a wrong name.
And for the RECORD_PLAY, this isn't really a particle and uses some special behavior. This would require some separate methods, because you can start/stop a record at a specific block position.

@Zidane @Cybermaxke I believe this has been incorrectly closed automatically by github?

@ryantheleach Everything in this issue should now be covered in the API.


Move JS to the correct position in 2.4.0 manifest.

Signed-off-by: Peter Zhu<EMAIL_ADDRESS>Description
Move JS to the correct position in 2.4.0 manifest.
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/2649
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The groovy check failure is not related, merging.


Flutter NetworkImage memory not freed when new screen pushed

Details

I am building an app quite similar to the one linked in the gist below. Each page is a GridViews that is populated with NetworkImages (around 100). When you click an image, it will take you to a new screen that has different NetworkImages.
The issue is that when you are taken to a new screen, the images in the previous screen stay in memory. This means that navigation causes a memory leak. Ideally, only the URLs  and sizes should be kept in memory when off screen and the images would be rebuilt when needed.
Reproducible example app: https://gist.github.com/Sofianel5/3b29e15024b902f6f04ce2f84598171c
This issue only appears on a physical device.

Target Platform: iOS
Target OS version/browser: 14.4
Devices: iPhoneX
Logs

Logs

Analyzing memorybug...
No issues found! (ran in 2.8s)

[✓] Flutter (Channel master, 1.26.0-18.0.pre.10, on Mac OS X 10.15.4 19E287 darwin-x64, locale en-US)
    • Flutter version 1.26.0-18.0.pre.10 at /Users/sofiane/Downloads/flutter
    • Framework revision fe3fb6afa6 (5 weeks ago), 2021-01-26 22:44:03 -0500
    • Engine revision b11bef83a5
    • Dart version 2.12.0 (build 2.12.0-263.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/sofiane/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/sofiane/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ! CocoaPods 1.9.2 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.53.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (2 available)
    • iPhone  (mobile) • 253c1c83a61ac1f37bb328b7de2f276eddb7ed17 • ios            • iOS 14.4
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 89.0.4389.72

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Cannot increase CloudFront timeout

I would like to be able to increase the timeout of my CloudFront distribution but it does not appear in the CloudFront console, can someone explain how I do this

The cloudfront distribution will not appear in your account as Amplify manages it for you.
Could you give more details of what exactly you're trying to accomplish?
What do you mean when you say you're trying to "increase the timeout of the cloudfront distribution"?

Hi :wave:, Closing until further information is provided.


Update Gruntfile.js

Update os and browsers to test against.

Looks good.

Merged in ff4d890410eecbbc9087950950ec104491c4ab8e

Thanks.


Add light/dark color columns

Added team_dark_color and team_light_color columns to teams_colors_logos that organize primary and secondary color by brightness for stylized use.

I think we're going to hold off on this one for now since light/dark aren't directly provided by teams (i.e. is judgement call anyway)


Fix typo when reading code

Description
Fix typo when reading code
Motivation and Context
Fixes #
How Has This Been Tested?
Checklist:

[x] I have added a Signed-off-by.
[] I have either added documentation to cover my changes or this change requires no new documentation.
[] I have either added unit tests to cover my changes or this change requires no new tests.
[] I have run golint and have fixed valid warnings in code I have added or modified. This tool generates false positives so you may choose to ignore some warnings. The goal is clean, consistent, and readable code.

The continuous integration build process will run make checks to confirm that tests pass and that code quality meets minimum standards. You may optionally run this locally as PRs will not be accepted until they pass.
Signed-off-by:Kai Chen<EMAIL_ADDRESS>

Thanks, LGTM


[WIP] Updating python to 3.5 and pandas to 0.19.0

I did not test this update very thoroughly but tried a few things and it seems to work.

[x] Upgrade Python base image to 3.5
[x] Upgrade pandas to 0.19.0
[x] Upgrade scipy to 0.18.1
[x] Upgrade numpy to 1.12.2
[x] Bump Makefile RELEASE to 0.19.0

Last edit by: @jmaupetit

Thank you for this. Every release is tagged so that it cannot be a big issue. Can you please also fix the tasks I have added in the PR description?

Done. (But one note: numpy's new version is 1.11.2 and not 1.12.2, as it stands in the checklist, I assume this was a typo)


upgrading 3 to 4 breaks

-    "ember-template-imports": "3.4.2",
+    "ember-template-imports": "4.1.0",

Suddenly lots of import issues.
in a .gts
import { LinkTo } from '@ember/routing';
logo.ts:60 Uncaught (in promise) ReferenceError: LinkTo is not defined
or (via /tests)
import didInsert from '@ember/render-modifiers/modifiers/did-insert';
Uncaught (in promise) ReferenceError: didInsert is not defined

Should be resolved now: https://github.com/ember-template-imports/ember-template-imports/issues/228#issuecomment-2066094190


Failed to generate plugin

Hi!
When a I try to generate plugin following the tuto I have this issue :
$ ./wpmvc generate myplugin
./core/

Parse error:  syntax error, unexpected T_STRING in ****/wp-includes/l
oad.php on line 1095
I'm on Wordpress 4.9.4 and I've tried with php 5.4 and php 7.1
Thanks  !

Hi--this doesn't look related to the plugin. Line 1095 is:
return ( $thing instanceof WP_Error );
But it seems like there is a parse error there in your installation (i.e. that line says something else that isn't valid PHP). You may want to reinstall WordPress, disable other plugins, and debug from there.

The wordpress installation is new, it's a clean install there is no plugin...

Looks like the correct syntax is: ./wpmvc generate plugin MyPlugin. If that doesn't work, is this a multisite installation?

It's the same :
$ ./wpmvc generate plugin myplugin

Parse error:  syntax error, unexpected T_STRING in /homepages/12/d563432393/htdocs/bf/wp-includes/l
oad.php on line 1095

Thanks.
Can anyone else watching this thread reproduce this? So far no luck for me...

Also what is the text on /homepages/12/d563432393/htdocs/bf/wp-includes/load.php line 1095?

it is : return ( $thing instanceof WP_Error );

Unfortunately on a clean installation of WordPress (single site) with just the wp-mvc plugin, I cannot reproduce this:
$ ./wpmvc generate plugin myplugin MyPlugin

Welcome to WP MVC Console!

[Running Generate::plugin]

[Complete]

$ ls ..
akismet		hello.php	index.php	myplugin	wp-mvc

This is running PHP 7.0.27 (cli) (built: Jan  5 2018 12:26:39) ( NTS ) WordPress 4.9.4 and WP MVC 1.3.14 (latest) from the plugin repository.

Silly question: have you activated the plugin on the install already?

Yes it is activated.

I've tried on several installations of WP but it always failed

I've found the issue :
https://assistance.1and1.fr/hebergement-c65619/programmation-c65626/php-c65653/php-cli--executer-des-scripts-dans-le-shell-a793786.html
I am hosted by 1and1 and they provide an old version of php when using command line.
I had to specify the version of php when using the command line

Great, glad you found it!
In case anyone else finds this thread in future, could you specify which version of php was the culprit? Sounds like it wasn't able to parse the instanceof command? Or something else?
Thanks for coming back to clarify.


add test cases for embeddings

Description
Added test cases for Embeddings.
Fixes #1824
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (does not change functionality, e.g. code style improvements, linting)
[ ] Documentation update

How Has This Been Tested?
Test cases

[x] Unit Test
[ ] Test Script (please provide)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Maintainer Checklist

[ ] closes #xxxx (Replace xxxx with the GitHub issue number)
[ ] Made sure Checks passed

@reachAnushaKondam Can you please check why tests are failing?

E   ModuleNotFoundError: No module named 'sentence_transformers'

Thanks Team


Internal team should be able to scale product to at least 200 concurrent users

(from @nokierae ): Laravel supports a large number of concurrent requests out of the box, even on modest hardware, but there are plenty of options for performance tuning.
https://www.slideshare.net/chtalbert/high-concurrency-architecture-and-laravel-performance-tuning


Add Turkish translation

Hi,
Thanks for this great card. I am impatient to use it in my HA. I translate it to Turkish and I hope that everything is okey.
Regards,

Hi,
You are totally right! I accepted your recommendation and update README file.
Regards,


[Avalanche] Updated Paraswap to V5

[x] deployed and comment address [Avalanche]
[ ] Add to dsa-connect

Deployed on Avalanche:
Name: PARASWAP-V5-A
Address: 0x8a7fCeE0e1Ff6DB33C7E83060c18e3B97915A970


Anderson's Law

Cited here: https://youtu.be/FyCYva9DhsI?si=sq6IylyM-db9SmNw&t=1043
Not seeing it anywhere online, though...

See also: https://www.reddit.com/r/quotes/comments/39n8mz/i_have_yet_to_see_any_problem_however_complicated/
And:  https://quoteinvestigator.com/2015/06/15/complicated/


single_taps not recognized after resuming from pause menu

First, excellent plugin! I'm developing a little Tetris game for mobile and have been using your plugin with great success. Up until now. :)
I have made a pause menu for my game now, and using the in-built Godot pause system by setting get_tree().paused = true. And when I resume the game again with get_tree().paused = false, my single finger taps are no longer recognized. Drags and long presses are. Really weird... On the computer it works, but not on the mobile.
I've been looking through InputManager.gd and testing out a few things, but couldn't get it to work no matter what. I really don't know what's causing this. Could there be some timers that are still running in your script even if the game is paused, and they therefore go out of bounds? I see this condtion:
if raw_gesture.elapsed_time < TAP_TIME_LIMIT and distance <= TAP_DISTANCE_LIMIT:
					_emit("single_tap", InputEventSingleScreenTap.new(raw_gesture))

I figured that maybe raw_gesture.elapsed_time was being incremented during pause, but I really have no clue what's going on in your code.
Do you think you could maybe take a look in this?

Thanks for answering! I'm using Godot 3.5.1 stable, and the latest GDTIM 2.1.
I'm currently investigating this a bit more. Honestly, it could very well be my own code that is the source of the issue. In case I won't be able to track down the error I will get back to you with a minimal reproduction project.