JET PU Id for 2016 and naf executor

Added JET PU Id wps for 2016 and merged naf executor written by @valsdav

Thanks a lot @phnattla, all good for me


support for aioimaplib

does this also work for the (aioimaplib)[https://github.com/bamthomas/aioimaplib]?
If not, is support for this planned?

for aioimaplib look https://github.com/optinsoft/asocksimap

for aioimaplib look https://github.com/optinsoft/asocksimap


Create SECURITY.md

Thank you for the consideration @Aremixdj. This is the default template, so if we were to merge it, there would be required updates. We currently support the latest minor version, denoted by the active default branch. Thanks!


AdGuard with Norton 360 incompatibility

Please answer the following questions for yourself before submitting an issue

[X] Filters were updated before reproducing an issue
[x] I checked the knowledge base and found no answer
[X] I checked to make sure that this issue has not already been filed

AdGuard version
Adguard for Windows 7.19.0 (4853)
Browser version
Edge 131.0.2903.86
OS version
Win 11
Issue Details
Steps to reproduce:

Install Adguard
Install Norton 360
Reboot

Expected Behavior
No response
Actual Behavior
After installing Norton 360, filtering stops working to some extent. Some ads are filtered and others are not. YT video ad filtering stops working, some cosmetic filters do not work. Immediately after installation, the problem does not occur, and starts after restarting the computer. It does not matter whether Adguard or Norton is installed first. Uninstalling Norton completely solves the problem.
Screenshots
Screenshot 1

Additional Information
No response

You didn't specify the version of Norton 360. Do you mean the new v.24?

Apparently this is due to the new version's option HTTPS Scanning.
screenshot

Hi. This is about the latest version of Norton 360 with the new interface. Unfortunately I don't know exactly what number because I had to uninstall. The earlier version before the interface change worked fine with AdGuard.
Does unchecking the feature you showed on the screenshot solve the problem?

I don't know, since I haven't installed the new version yet, which has a lot of negative reviews.
But considering that it's actually an Avast clone, the solution to this problem is related to it.


Show a "Please install flash" message when flash required and not installed

At the moment in a fresh install of firefox without flash I get this:

After installing flash it works fine. Would be nice if the user was informed that flash was the issue instead of being told to switch browser. When I have time I can take a look at this if you want?

@tjenkinson Sure, you could take a look at this. I suggest creating a plugin for this, since the No-Op playback is only displayed when no other option is found, and not every browser needs flash for the playbacks.
This "error" screen is not entirely wrong, you just need a plugin to check whether installing flash would allow the player to find a playback for the video and inform the user to install it.

Hi @tjenkinson, any progress with this?

No sorry I'm pretty busy with other stuff at the moment. I'll comment here if I get time.

On 27 May 2015, at 19:33, Bruno Torres<EMAIL_ADDRESS>wrote:
Hi @tjenkinson, any progress with this?
—
Reply to this email directly or view it on GitHub.

So I'm thinking a method could be added to Playbacks 'flashRequired()' which would return a boolean.
For everything where this may return true there should also be a 'canPlayWithFlash()' method which is the same as 'canPlay' but assumes flash is present.
Then there could be another playback called 'no_flash', which would check the other playbacks to see if they 'canPlayWithFlash()' and if it gets a true report true from its 'canPlay()'.
Sound ok?

Also chrome is now defaulting to some form of 'click to play' for plugins so this might become more important. Think it might automatically allow plugins from the same domain but haven't looked into it in depth yet.

@tjenkinson I thinks there's only one problem with your idea. It creates a playback dependency on other playbacks.
The 'no_flash' playback checking other playbacks breaks the idea of having atomic playbacks. Playbacks shouldn't be aware of the others, unless it's a composition or inheritance relationship.
I think you could improve your idea using a core plugin instead of a 'no_flash' playback. The core plugin could listen to a CONTAINER_READY event, and check whether the playback is a 'no_op' playback. If it's a 'no_op', it could check whether the Playbacks respond true to flashRequired and canPlayWithFlash the source. This way you don't break the architecture, as well as avoid creating a meta-playback to check whether the others are flash-dependent.
What do you think?

@towerz yes I agree keeping the playbacks unaware of each other makes sense.
Would the plugin replace the html for the no_op playback when it's shown to show the flash message? Replacing what no_op creates doesn't seem very efficient though.
What's the advantage of it being a plugin over logic in the no_op playback when determining what text to show? If it's in the no_op playback to determine what's rendered it means that no_op will be aware of the other playbacks, but this has to happen at some point.
I might not be understanding what plugins can do.

@tjenkinson we designed clappr using 3 types of plugins:

core-scoped plugins, which have access to the whole player structure/state
container-scoped plugins, which have access to the structure/state of a single container, which in turn represents the area where a video or other content is rendered
playback type plugins, which sole responsibility is to render/decode a video or other content

The no_op playback is a placeholder playback which does not play any content, but instead displays a message that it's not capable of playing the content passed as parameter. Adding some logic to handle content playback capability is out of it's scope as a playback.
Given the aforementioned plugin scope descriptions, I believe the best implementation would be to use a UIContainerPlugin or UICorePlugin. Since our objective is to display an error screen telling the user that flash is needed for loading the content, we need access to the Loader object, which is scoped to the player core. It's used to determine the available plugins in the current player instance. Because of this, I would implement this functionality using a UICorePlugin, which has access to the player core object and can render content to the player element.
About the playback logic to tell whether the playback canPlayWithFlash and has flashRequired, I'm not opposed to that, it's in fact useful. I would suggest adding a default implementation for flashRequired in the base Playback class returning false and then follow your idea for the canPlayWithFlash.

@towerz ok thanks I think I understand but the one thing that's still confusing is that the no_op playback at the moment renders the message in the screenshot I posted at the start of this issue.
So I guess the plugin would reach into the playback to remove that text from the dom, then render it's own on the player?
Or could the plugin be called "UnrecognisedPlaybackScreen" (or something like that), and this would either render the message in the screenshot above to the player, or the "install flash" message. In this case the no_op playback would only render the noise canvas and not the text.

@tjenkinson yes, the plugin could remove the no_op playback from the DOM then render it's own message on the player element.
The text message on the no_op playback is only a generic message. It could be replaced by a plugin specifically designed for that, like the one you suggested. I think it's an even better idea.

@towerz great I'll start work on this then :)

@towerz  just looking at some recent commits. I guess it would make more sense just to assume flash is required if the plugin extends playbacks/base_flash_playback now? And then `BaseFlashPlayback
Some other work has come up so this on hold again at the moment for me.

@towerz  just looking at some recent commits. I guess it would make more sense just to assume flash is required if the plugin extends playbacks/base_flash_playback now? And then BaseFlashPlayback would contain the canPlayWithFlash method which would be overridden.
Some other work has come up so this on hold again at the moment for me I'll reply here when I get some time again.

@tjenkinson I think that would make more sense indeed. We tried to isolate the code for a flash-based playback in a single class, so it would be better to implement canPlayWithFlash and flashRequired in BaseFlashPlayback.

@tjenkinson can we close this one since https://github.com/clappr/clappr/pull/559 ?

@leandromoreira not really, #559 does not solve the problem. As I mentioned in the PR, the problem is that a fake playback was implemented to replace the 'no_op' playback. The actual solution that we discussed in this issue is not yet implemented.

Since we jumped into hls.js we can reopen that if it's necessary.


Possible xpath bug with Poltergeist/PhantomJS?

I don't know enough about either one of these gems to say what the problem is, but my console told me to report it, so I am.
When I click the "li" element with "Edit page styles" # features/step_definitions/general_steps.rb:63
  There was an error inside the PhantomJS portion of Poltergeist. This is probably a bug, so please report it.

  [object Object]
      at /Users/jakebuob/.rvm/gems/ruby-1.9.3-p286/gems/poltergeist-1.2.0/lib/capybara/poltergeist/client/compiled/web_page.js:350
      at /Users/jakebuob/.rvm/gems/ruby-1.9.3-p286/gems/poltergeist-1.2.0/lib/capybara/poltergeist/client/compiled/web_page.js:38
      at /Users/jakebuob/.rvm/gems/ruby-1.9.3-p286/gems/poltergeist-1.2.0/lib/capybara/poltergeist/client/compiled/browser.js:136
      at /Users/jakebuob/.rvm/gems/ruby-1.9.3-p286/gems/poltergeist-1.2.0/lib/capybara/poltergeist/client/compiled/main.js:23
      at /Users/jakebuob/.rvm/gems/ruby-1.9.3-p286/gems/poltergeist-1.2.0/lib/capybara/poltergeist/client/compiled/connection.js:16
      at /Users/jakebuob/.rvm/gems/ruby-1.9.3-p286/gems/poltergeist-1.2.0/lib/capybara/poltergeist/client/compiled/connection.js:1 (Capybara::Poltergeist::BrowserError)
  ./features/step_definitions/general_steps.rb:64:in `/^I click the "(.*?)" element with "(.*?)"$/'
  features/pages.feature:20:in `When I click the "li" element with "Edit page styles"'

The step that triggered it was the following:
  When(/^I click the "(.*?)" element with "(.*?)"$/) do |element, content|
    find("//#{element}[text()='#{content}']").click
  end

This issue is over 2 years old,  I'm going to close it for now since there have been a lot of versions of both poltergeist and phantomjs  in that time and we don't have a test case to replicate it.  If it's still happening for anyone and they can provide the html and the xpath expression that causes the error we can reopen


Curly braces cause SyntaxError in sap.m.Breadcurmbs

OpenUI5 version:
1.86.1
Browser/version (+device/version):
87.0.4280.88 (Official Build) (64-bit)
Any other tested browsers/devices(OK/FAIL):
No
URL (minimal example if possible):
jsfiddle: https://jsfiddle.net/t5m9p8k4/
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Go to the link
Open browser console
Press 'Show Breadcrumbs' button

What is the expected result?
Breadcrumbs is displayed properly, no SyntaxError in console
What happens instead?
No items in Breadcrumbs popover, SyntaxError in console:
Uncaught SyntaxError: no closing braces found in 'curly braces  {{ 1' after pos:14
at q (BindingParser-dbg.js:363)
at Function.a.complexParser [as bindingParser] (BindingParser-dbg.js:494)
at f.o.extractBindingInfo (ManagedObject-dbg.js:2935)
at f.o.applySettings (ManagedObject-dbg.js:1148)
at ManagedObject-dbg.js:537
at f.constructor (ManagedObject-dbg.js:552)
at f.constructor (Element-dbg.js:200)
at new f (Metadata-dbg.js:456)
at e._createSelectItem (Breadcrumbs-dbg.js:306)
at Array.map ()

Any other information? (attach screenshot if possible)
It seems the issue is similar to other issues with curly braces, for example:
https://github.com/SAP/openui5/issues/2445
https://github.com/SAP/openui5/issues/2233
Thus the proposed solution is to use ManagedObject.ManagedObject.escapeSettingsValue in _createSelectItem  as it was done in other cases.
Please down port to 1.71.x and also for the sapui5 version

Hello @antonborisoff ,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Iliana

Hello @antonborisoff ,
Thanks for sharing this finding.
The issue is now fixed with:  8e97784
Regards,
Yana


Add extension slots for custom routes and footer links

Following the suggestion of @buberdds, this PR adds extension slots for adding custom links to the footer, and routes to the router, so that if a 3rd party (i.e. a fork) wants to add custom pages, it can do it in a way that minimizes the change of merge conflicts.

See #1354 for an alternative of this

See #1354 for an alternative of this

#1354 has been merged, but according to @lukaw3d, we probably still want this.
So I have rebased, and it's ready for review again.

Update: if pontusx doesn't need it, I would skip

when I was thinking about slots I was under impression that customization is controlled by env variables. looking at their fork it's not true. Slots won't change anything because there is already a big problem with potential conflicts. Anyway let's discuss during sync meeting.

As we have discussed this at the dev meeting, we no longer need this for now. So, closing. (We can revisit this if PontusX will want to have more custom links in the footer)


Add Referrer filter option

3scale SAAS and on-prem product supports Referrer filter. https://support.3scale.net/docs/api-authentication/authentication-patterns.  We had the option to enable referrer filter on old nginx files https://support.3scale.net/codehub/referer-filter-nginx.
With the recent development of apicast, there is a need to have this option available as an env variable.
Todo.

[ ]  While starting the gateway use env variable APICAST_REFERRER_FILTER value true|false
[ ]   When done override

https://github.com/3scale/apicast/blob/57790a667b6b6a035ce1ef6c17d3a6637095fd94/apicast/conf.d/apicast.conf#L19
with
set $path /transactions/authrep.xml?$backend_authentication_type=$backend_authentication_value&service_id=$service_id&$usage&$credentials&referrer=$http_referer$log;

[ ] Test cases

I believe this is something that could be solved by a policy in the next release.

Adding to 3.3 milestone as agreed with @andrewdavidmackenzie

Is a P2 priority at the moment for 3scale/Red Hat, but seemed an easy one.

@mikz I'm not sure this should be implemented as a new policy. It would need to be combined with the APIcast policy anyway to work.
If I understood this correctly, we just need to optionally add a new param to the authrep call to backend. There are only 2 calls in the code to backend_client.authrep() and both of them are in proxy.lua. It should be pretty straightforward to add a new param according to a new env we set for this.

In my opinion, implementing a generic way to allow policies to add params to the backend calls is more valuable than having this implemented as a policy. But we need the former to achieve the latter, so ok, let's give it a go and see how it looks.


Adds OpenAI functions-powered OpenAPI chain

Chain can choose and call specific APIs based on an OpenAPI spec. Also adds OpenAPI spec utility class. Brings parity with Python repo.

Q: I'm trying to use Functions with PromptTemplates in the JS/TS port. Will this PR assist w/ that? Any other pointers to sample code would be awesome - thanks.


A class member cannot be declared optional.

Hello, when using webpack, I'm getting the following exceptions
ERROR in C:\Users\usta\Downloads\angular2\node_modules\angularfire2\utils\firebase_object_observable.d.ts
(6,17): error TS1112: A class member cannot be declared optional.
ERROR in C:\Users\usta\Downloads\angular2\node_modules\angularfire2\providers\auth.d.ts
(12,20): error TS1112: A class member cannot be declared optional.

Thanks, this is due to us building with the latest dev version of TypeScript instead of stable. We should be able to switch back to stable, since I don't think we're using any features of 1.9 anymore.

Thank you @jeffbcross, also could you please upgrade Angular version rc1 to rc2?
Thanks

Thank you @jeffbcross, also could you please upgrade Angular version rc1 to rc2?

Yep already in the works.

Thank you guy, for the update. but it still uses angular 2 rc1 instead of rc2. FYI

@rahmanusta What Jeff means is that we are working on upgrading the library and it will be ready soon.

Ah Thank you @davideast. Have an easy work. I'm planning to use it my Angular 2 training :)


Test if the preview works when using link from another repo

https://github.com/fable-compiler/Fable/blob/10cb7d4eba3c8c8b22ac317d23ebdfb28a1a0ec5/src/Fable.Cli/Main.fs#L141-L144

Spoiler it doesn't 😭

Spoiler it doesn't 😭


Lets include yarn installation process in readme file

Is your feature request related to a problem? Please describe.
Since we strongly recommend people use yarn and most of the folks are having same issue regarding installation of node modules.. some folks are not aware of yarn installation process also so let us include yarn installation process on mac, windows & linux on our readme file and that would help new people installing the modules and we can have less issue coming in discord related to node_module installation error and npm error
Describe the solution you'd like.
As above
Describe alternatives you've considered.
As above
Screenshot / Screenshare
No response
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@Angryman18 Also, I think we should emphasise yarn as our default choice for dependency installation. npm can be a fallback.

Sounds good to me @atapas sir and @Angryman18


Atom automatically opens up old Atom install folder after updating

Does not happen once you close Atom and reopen it again.  Windows 7 x64.

Possibly related to the new atom.cmd|sh startup scripts?

This is back.  Just updated to 0.182.0 from 0.179.0, though I'm pretty sure it also happened 0.174.0-->0.179.0.

@50Wliu Is this still an issue?

I believe so, but I haven't been able to repro recently because of #5692.


how do i fix this?

Try using a transparent lcd panel if that's possible. The brightness of all other displays is a bug that I don't know how to fix

ty, it works better now!

i've got a question
What's the point of "LOD update between frames"?
found out this was the thing that was messing around with LODs glitching for no reason, so why would anybody use it?


corrected a typing error in search.js file

Description
Fixed a typing Error in the Search.js file
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

HI @TimidRobot  KINDLY REVIEW MY PR THANKS

Great job 🙌@FrancoFrancis ….but I think you need to create an issue for this PR first….
According to this guideline
https://opensource.creativecommons.org/contributing-code/

Great job 🙌@FrancoFrancis ….but sir I think you need to create an issue for this PR first….
According to this guideline
https://opensource.creativecommons.org/contributing-code/

@FrancoFrancis excellent find! Can you also make the relevant Issue and then reference it here?

@FrancoFrancis you can link this PR to the issue #75 which elaborates on what your PR does

Thank you so much guys

@FrancoFrancis you can link this PR to the issue #75 which elaborates on what your PR does

thank you so much👍🏾

Thank you so much guys

@FrancoFrancis you can link this PR to the issue #75 which elaborates on what your PR does

thank you so much👍🏾

You still need to reference this PR to the issue
Your welcome....

@FrancoFrancis excellent find! Can you also make the relevant Issue and then reference it here?

ok thanks on it 😎

Thank you for this! ❤ Approved.

thank you to you too @possumbilities

deployed to production Fri Oct 14 05:32:20 BST 2022. it may take ~30 minutes for caches to clear

thanks @TimidRobot


Feature: Support for Submodules

Requirements

Support for git submodules with the ability to output the same stats as a normal git repository.

Implementation
Not sure what would need to change in the source to implement this.
Might be willing to work on this if someone has an idea about how to go about this in the current code base.
Looks like reading the repository is a good place to start. https://github.com/Ruin0x11/jikyuu/blob/master/src/main.rs#L554

When working on this I was running into could not get ID of submodule in index when writing the test to support submodules. Sometimes it works (in the environment I setup) and sometimes it doesn't - I haven't quite figured out why yet.
Looks like https://github.com/rust-lang/git2-rs/issues/609 was implemented around the same area.


onBackgroundEvent not triggered on iOS for remote notifications

I'm encountering an issue where the onBackgroundEvent handler is not triggered on iOS when a remote notification is received. The same functionality works perfectly fine on Android.
Environment:
Notifee version: ^9.1.2
React Native version:"0.72.5"
Platform: iOS
Relevant Code:
async function initializeNotifications() {
  await notifee.setNotificationCategories([
    {
      id: '// some id',
      actions: [
        { id: 'YES', title: 'YES', foreground: false },
        { id: 'NO', title: 'NO', foreground: false },
        { id: 'CHECK', title: 'CHECK', foreground: true, authenticationRequired: true },
      ],
    },
  ]);
}

async function onMessageReceived(message) {
  console.log('Message received:', message);
  const notificationData = { /* ... */ };
  await notifee.displayNotification({
    ...notificationData,
    android: {
      channelId: '// some channel id',
      actions: [
        { title: 'YES', pressAction: { id: 'YES' } },
        { title: 'NO', pressAction: { id: 'NO' } },
        { title: 'CHECK', pressAction: { id: 'CHECK' } },
      ],
    },
    ios: {
      categoryId: '// some category id',
    },
  });
}

notifee.onBackgroundEvent(async ({ type, detail }) => {
  console.log('Background event received:', type, detail);
  switch (type) {
    case EventType.ACTION_PRESS:
      await handleNotification(detail);
      break;
    case EventType.PRESS:
      // i navigate to certain screen
      break;
  }
});

messaging().setBackgroundMessageHandler(onMessageReceived);
initializeNotifications().catch(console.error);

Possible duplicate. See:

#1118

Possible duplicate. See:

fix(ios): Remote issues: #1041 / #1096 onForegroundEvent() and getInitialNotification() #1118

Thanks for ur reply mate 🙏🏻, i have issues with onBackground callback and as far as i understood from ur pr is u fixed issues about onForeground right ??


Get data without schema

This PR move back a feature from CompareImagesWindow to the core silx.io.utils.get_data.
Closes #3852
Changelog:

Added support of bare file from silx.io.utils.get_data with check_schemas=True

CI fails:
silx/io/utils.py:857: in <module>
    def get_data(url: Union[str,silx.io.url.DataUrl], check_schemas: bool=False):
E   AttributeError: module 'silx' has no attribute 'io'

:shrug:

This will makes get_data simpler to use!

Here is an update

CI fails:
silx/io/utils.py:857: in <module>
    def get_data(url: Union[str,silx.io.url.DataUrl], check_schemas: bool=False):
E   AttributeError: module 'silx' has no attribute 'io'

depistes import silx.io.url...
shrug

I think it's because utils was imported by the silx.io.__init__, so it was maybe creating weird behaviour depending the way you import it.

The PR was updated.


elmPackages.elm-graphql: init at 4.3.1

Description of changes
I'm surprised that this baby was not here until now.
Things done
╰─λ ./result/bin/elm-graphql

No matching optionsParser...

Usage:

elm-graphql <url> [--base <base>] [--output <output>] [--exclude-deprecated] [--header <header>]... [--scalar-codecs <scalar-codecs>] [--skip-elm-format] [--skip-validation] # generate files based on the schema at `url`
elm-graphql --introspection-file <introspection-file> [--base <base>] [--output <output>] [--scalar-codecs <scalar-codecs>] [--skip-elm-format] [--skip-validation]
elm-graphql --schema-file <schema-file> [--base <base>] [--output <output>] [--scalar-codecs <scalar-codecs>] [--skip-elm-format] [--skip-validation]

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 263641 run on x86_64-linux 1

10 packages built:

elmPackages.create-elm-app
elmPackages.elm-analyse
elmPackages.elm-coverage
elmPackages.elm-doc-preview
elmPackages.elm-graphql
elmPackages.elm-pages
elmPackages.elm-review
elmPackages.elm-spa
elmPackages.elm-upgrade
elmPackages.elm-verify-examples

thanks @PedroHLC I wonder if you tried to use it a bit more. I'm asking because we know many of these types of packages has issue on nix in that when installed to nix store they are generating code with wrong permissions. I just wonder if that's the case for graphql or not.

I wonder if you tried

Yeah, I actually used it yesterday, generated 4276 lines of Elm from my new schema.

Thanks a lot @PedroHLC. Great contribution!


Error in this page

Hi, the following text is incorrect:
"There are two choices for connectivity to Microsoft cloud platforms and services: your existing Internet pipe and ExpressRoute. Use an ExpressRoute connection if predictable performance is important. You can use one ExpressRoute connection to connect directly to Microsoft SaaS services (Office 365 and Dynamics 365), Azure PaaS services, and Azure PaaS services."
The last three words should read "Azure IaaS services".

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 15e8c817-6a71-c857-23ea-1615d6f2c9cb
Version Independent ID: bcce4f9e-41eb-3670-58d2-7a0a66c2ce6c
Content: Architecture of Microsoft hybrid cloud scenarios
Content Source: Enterprise/architecture-of-microsoft-hybrid-cloud-scenarios.md
Service: o365-solutions
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

@smashingly This has been corrected and published. Thanks for letting me know. Joe


Add validate_env test

I left out the unit test for validate env in #31.

Codecov Report

Merging #41 into master will increase coverage by 3.52%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
+ Coverage   92.97%   96.48%   +3.52%
==========================================
  Files           6        6
  Lines         455      455
==========================================
+ Hits          423      439      +16
+ Misses         32       16      -16

Flag
Coverage Δ

#unittests
96.48% <ø> (+3.52%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

open-ce/validate_env.py
94.12% <0.00%> (+94.12%)
:arrow_up:

Continue to review full report at Codecov.

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

I'm not sure what causes Codecov to add these comments, I've only seen them a couple times, but it's kinda nice.


gen: save swagger file next to generated api

Hi!
I am generating an api based on a swagger which contains imports (refs).
allow-remote flag works fine for me, but I would like to save a single .yaml file (with all refs embedded) after generation to share it with the client's team.
My suggestion is to add new flag
generateDocs = set.Bool("generate-docs", false, "Enables target[packageName].yml generation")
if true, [packageName].yml will be generated in the target dir next to aos_*_gen.go files.
PS: maybe .json file also
Thanks!

@tdakkota PTAL. Is there any intermediate representation so we can dump it like that?


%(editor.name) behaves differently on OS X and Windows

On Windows, %(editor.name) gives the name of the file in the currently open editor tab, e.g., filename.txt. In OS X, the same variable gives the full path to the file, e.g., path/to/filename.txt. Possible bug?
I'm using atom-terminal-panel 4.4.4.

The next update should fix this. At the very least, I'm on OS X right now and it works fine.


[bug]: Lora prompt causes index out of range error

Is there an existing issue for this?

[X] I have searched the existing issues

OS
macOS
GPU
mps
VRAM
No response
What version did you experience this issue on?
2.3.4
What happened?
After I select the lora in the UI, the withLora(Shenhe_Hard,0.75) is appended to the end of the prompt.
However, the text gen crash for list index out of range error
The prompt is
masterpiece (ultra-detailed) illustration (mature_female)++ 1girl stands under sakura tree blossom,(school_uniform,bustier).blend(1,1)  (mini frilled skirt) underboob++++ (detailed-embroidery) (full body) (detailed face) (\:3)++++ (seductive smile)   (hair_ornament) (detailed eyes) (falling_petals)++:3

(detailed background) (insanely detailed and intricate) (hyper maximalist) (light from above):1

withLora(Shenhe_Hard,0.75)

The traceback is
Traceback (most recent call last):
  File "/Volumes/Work/InvokeAI/.venv/lib/python3.10/site-packages/invokeai/backend/invoke_ai_web_server.py", line 1353, in generate_images
    self.generate.prompt2image(
  File "/Volumes/Work/InvokeAI/.venv/lib/python3.10/site-packages/ldm/generate.py", line 525, in prompt2image
    uc, c, extra_conditioning_info = get_uc_and_c_and_ec(
  File "/Volumes/Work/InvokeAI/.venv/lib/python3.10/site-packages/ldm/invoke/conditioning.py", line 58, in get_uc_and_c_and_ec
    legacy_blend = try_parse_legacy_blend(positive_prompt_string, skip_normalize_legacy_blend)
  File "/Volumes/Work/InvokeAI/.venv/lib/python3.10/site-packages/ldm/invoke/conditioning.py", line 229, in try_parse_legacy_blend
    flattened_prompts = [x.prompts[0] for x in parsed_conjunctions]
  File "/Volumes/Work/InvokeAI/.venv/lib/python3.10/site-packages/ldm/invoke/conditioning.py", line 229, in <listcomp>
    flattened_prompts = [x.prompts[0] for x in parsed_conjunctions]
IndexError: list index out of range

Screenshots
No response
Additional context
No response
Contact Details
No response

The workaround is to move the withLora from the end to the beginning.
withLora(Shenhe_Hard,0.75) masterpiece (ultra-detailed) illustration (mature_female)++ 1girl stands under sakura tree blossom,(school_uniform,bustier).blend(1,1)  (mini frilled skirt) underboob++++ (detailed-embroidery) (full body) (detailed face) (\:3)++++ (seductive smile)   (hair_ornament) (detailed eyes) (falling_petals)++:3

(detailed background) (insanely detailed and intricate) (hyper maximalist) (light from above):1

@damian0815 It appears that when a withLora() fragment appears at the end of a long prompt you get the indicated crash. I believe this may have to do with exceeding the token limit. Could you take a look?

Confirmed this bug fixed in the latest compel library, 1.1.3.


Various updates to the decoding pipeline

This PR targets a few things that were preventing successful audio decoding:

VoiceLinkConnection.cs now ignores RTP header extensions.
Pass the frame size into OpusNativeMethods#Decode, rather than using the number of frames in the buffer.
Refactor OpusDecoder.cs and OpusNativeMethods.Decoder.cs to store/return a pointer to the created decoder state, rather than trying to use a pointer to the struct that was originally returned, which was not referring to the created state object.
Account for Opus using 16-bit PCM units when allocating the PCM buffer.
Limit the decrypted audio buffer to the length of the data, rather than the entirety of the rented buffer. Unsure if this actually has an effect on decoding but I think it's a safer practice regardless.
Minor changes to error logging.

Hopefully this is useful, let me know of any issues 😄.

Hopefully this is useful

I think you just saved the project


Feature/custom event loop

Hold off merging until https://github.com/ruby2d/ruby2d/issues/182 is resolved.

There's an issue where now on the correct answer the box may or may not become green for a split second before the next level. My understanding is that this is because:

The event and window update queues are linked - when an event is being processed, the UI is not being updated.
The entrance is now mutexed, so once the note is selected and the "level complete" event is fired, it depends on whether the update loop goes first (in which case it will show the note box as green), or the "level complete" event goes first, in which case you don't see a color change.


build fail

I clone the repo on my Ubuntu22.04 Server. When I executes "make build", I hit a problem, stdout list below
> make build
make build-binary GO_BUILD_ARGS="-tags netgo,osusergo" GO_LDFLAGS='-extldflags "-static"'
make[1]: Entering directory '/root/visiable_solution/ebpf_exporter'
CGO_LDFLAGS="-l bpf -L/root/visiable_solution/ebpf_exporter/libbpf/dest/usr/lib" CGO_CFLAGS="-I/root/visiable_solution/ebpf_exporter/libbpf/dest/usr/include" go build -tags netgo,osusergo -o ebpf_exporter -v -ldflags="-extldflags "-static" -X github.com/prometheus/common/version.Version=v2.4.1-10-gf99f787 -X github.com/prometheus/common/version.Branch=master -X github.com/prometheus/common/version.Revision=f99f787 -X github.com/prometheus/common/version.BuildUser=root@iZwz93nr54zgf1j7mjvdv7Z -X github.com/prometheus/common/version.BuildDate=2024-04-26T04:41:46+08:00" ./cmd/ebpf_exporter
go<EMAIL_ADDRESS>Get<EMAIL_ADDRESS>dial tcp <IP_ADDRESS>:443: i/o timeout
make[1]: *** [Makefile:81: build-binary] Error 1
make[1]: Leaving directory '/root/visiable_solution/ebpf_exporter'
make: *** [Makefile:73: build-static] Error 2

my go env is go version go1.14.2 linux/amd64.
how can I sovle this problem to build the binary file, hope to a solution answer !!!

It looks like your internet connection is to blame here:
go<EMAIL_ADDRESS>Get<EMAIL_ADDRESS>dial tcp <IP_ADDRESS>:443: i/o timeout

You can try with GOPROXY=off.

All right. I retry to set go proxy and execute "make build", I hit a another error below:
/root/go/pkg/mod/google.golang.org/protobuf@v1.33.0/internal/editiondefaults/defaults.go:9:8: package embed is not in GOROOT (/usr/local/go/src/embed)
/root/go/pkg/mod/golang.org/x/net@v0.23.0/http2/frame.go:18:2: found packages hpack (encode.go) and main (gen.go) in<EMAIL_ADDRESS>cgroup/fanotify.go:16:2: found packages unix (affinity_linux.go) and main (mkasm.go) in<EMAIL_ADDRESS>/root/go/pkg/mod/golang.org/x/text@v0.14.0/secure/bidirule/bidirule.go:16:2: found packages bidi (bidi.go) and main (gen.go) in<EMAIL_ADDRESS>/root/go/pkg/mod/golang.org/x/net@v0.23.0/idna/idna10.0.0.go:27:2: found packages norm (composition.go) and main (maketables.go) in<EMAIL_ADDRESS>cgroup/walker.go:4:2: package io/fs is not in GOROOT (/usr/local/go/src/io/fs)
/root/go/pkg/mod/github.com/prometheus/common@v0.51.1/model/labelset.go:20:2: package slices is not in GOROOT (/usr/local/go/src/slices)
make[1]: *** [Makefile:81: build-binary] Error 1
make[1]: Leaving directory '/root/visiable_solution/ebpf_exporter'
make: *** [Makefile:73: build-static] Error 2

I retry update my go version to go1.12.4, and rebuild the binary file from repo. Finally, I successfully get the binary file "ebpf_exporter". The problem is solved.


install.sh should not touch the system

What is the issue?
 It is not okay for an APPLICATION to touch the system in any way, especially doing this kind of invasive operations. This has to be opt-in - at least remove the -y from the package manager lines, seriously, not even a confirmation from the user?!
OS
Linux
GPU
Other
CPU
AMD
Ollama version
latest

Hi @RheaAyase, I agree that the default install.sh should give the user visibility into any system-wide changes being made. While not a fix to this in install.sh, I have an open PR to the docs to add manual non-root installation instructions which I'll cross-post here for anyone else that is looking for a non-invasive way to get up and running.
https://github.com/ollama/ollama/pull/7422

I mean it's a script, it shouldn't be without any interaction, it's okay to ask for user input - that's what it's supposed to be, an installer. Not a makefile... I'd insert some questions into it. (Don't really have time to spare anytime soon.)

install bare minimum
ask about installing systemd service
ask about installing gpu drivers


Fix broken links & remove some deprecation

refs #193

Job VTB Documentation on fa879cd wanted to post the following:
View the site here
This comment will be updated on new commits.


ERROR:client.vocabcompiler:Fatal compilation Error occured

I keep getting the error as shown below. The FTS file and the G2P binary are where the should be so have no idea what's causing this error.
*******************************************************
*             JASPER - THE TALKING COMPUTER           *
* (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *
*******************************************************
DEBUG:client.diagnose:Checking network connection to server 'www.google.com'...
DEBUG:client.diagnose:Network connection working
DEBUG:__main__:Trying to read config file: '/home/pi/.jasper/profile.yml'
DEBUG:client.diagnose:Checking python import 'pocketsphinx'...
DEBUG:client.diagnose:Python module 'pocketsphinx' found: '/usr/lib/python2.7/dist-packages/pocketsphinx.so'
WARNING:root:tts_engine not specified in profile, defaulting to 'espeak-tts'
DEBUG:client.diagnose:Checking executable 'aplay'...
DEBUG:client.diagnose:Executable 'aplay' found: '/usr/bin/aplay'
DEBUG:client.diagnose:Checking executable 'espeak'...
DEBUG:client.diagnose:Executable 'espeak' found: '/usr/bin/espeak'
INFO:client.vocabcompiler:Starting compilation...
DEBUG:client.vocabcompiler:Compiling languagemodel...
DEBUG:client.vocabcompiler:Creating vocab file: '/tmp/tmpIM7PXA.vocab'
DEBUG:cmuclmtk:text2wfreq : Reading text from standard input...
DEBUG:cmuclmtk:text2wfreq : Done.
DEBUG:cmuclmtk:Command 'text2wfreq -hash 1000000 -verbosity 2' returned with exit code '0'.
DEBUG:cmuclmtk:wfreq2vocab : Will generate a vocabulary containing the most
DEBUG:cmuclmtk:frequent 20000 words. Reading wfreq stream from stdin...
DEBUG:cmuclmtk:wfreq2vocab : Done.
DEBUG:cmuclmtk:Command 'wfreq2vocab -verbosity 2 -records 1000000' returned with exit code '0'.
DEBUG:client.vocabcompiler:Creating languagemodel file: '/home/pi/.jasper/vocabularies/pocketsphinx-vocabulary/keyword/languagemodel'
DEBUG:cmuclmtk:text2idngram
DEBUG:cmuclmtk:Vocab                  : /tmp/tmpIM7PXA.vocab
DEBUG:cmuclmtk:Output idngram         : /tmp/tmpRFaHuY.idngram
DEBUG:cmuclmtk:N-gram buffer size     : 100
DEBUG:cmuclmtk:Hash table size        : 2000000
DEBUG:cmuclmtk:Temp directory         : cmuclmtk-USoiam
DEBUG:cmuclmtk:Max open files         : 20
DEBUG:cmuclmtk:FOF size               : 10
DEBUG:cmuclmtk:n                      : 3
DEBUG:cmuclmtk:Initialising hash table...
DEBUG:cmuclmtk:Reading vocabulary...
DEBUG:cmuclmtk:Allocating memory for the n-gram buffer...
DEBUG:cmuclmtk:Reading text into the n-gram buffer...
DEBUG:cmuclmtk:20,000 n-grams processed for each ".", 1,000,000 for each line.
DEBUG:cmuclmtk:Sorting n-grams...
DEBUG:cmuclmtk:Writing sorted n-grams to temporary file cmuclmtk-USoiam/1
DEBUG:cmuclmtk:Merging 1 temporary files...
DEBUG:cmuclmtk:2-grams occurring:       N times         > N times       Sug. -spec_num value
DEBUG:cmuclmtk:0                                                     35              45
DEBUG:cmuclmtk:1                                     34               1              11
DEBUG:cmuclmtk:2                                      0               1              11
DEBUG:cmuclmtk:3                                      0               1              11
DEBUG:cmuclmtk:4                                      0               1              11
DEBUG:cmuclmtk:5                                      0               1              11
DEBUG:cmuclmtk:6                                      0               1              11
DEBUG:cmuclmtk:7                                      0               1              11
DEBUG:cmuclmtk:8                                      0               1              11
DEBUG:cmuclmtk:9                                      0               1              11
DEBUG:cmuclmtk:10                                     0               1              11
DEBUG:cmuclmtk:3-grams occurring:       N times         > N times       Sug. -spec_num value
DEBUG:cmuclmtk:0                                                     51              61
DEBUG:cmuclmtk:1                                     51               0              10
DEBUG:cmuclmtk:2                                      0               0              10
DEBUG:cmuclmtk:3                                      0               0              10
DEBUG:cmuclmtk:4                                      0               0              10
DEBUG:cmuclmtk:5                                      0               0              10
DEBUG:cmuclmtk:6                                      0               0              10
DEBUG:cmuclmtk:7                                      0               0              10
DEBUG:cmuclmtk:8                                      0               0              10
DEBUG:cmuclmtk:9                                      0               0              10
DEBUG:cmuclmtk:10                                     0               0              10
DEBUG:cmuclmtk:text2idngram : Done.
DEBUG:cmuclmtk:Command 'text2idngram -vocab /tmp/tmpIM7PXA.vocab -idngram /tmp/tmpRFaHuY.idngram -buffer 100 -hash 2000000 -files 20 -verbosity 2 -n 3 -fof_size 10' returned with exit code '0'.
DEBUG:cmuclmtk:Warning : OOV fraction specified, but will not be used, since vocab type is not 2.
DEBUG:cmuclmtk:n : 3
DEBUG:cmuclmtk:Input file : /tmp/tmpRFaHuY.idngram     (binary format)
DEBUG:cmuclmtk:Output files :
DEBUG:cmuclmtk:ARPA format   : /home/pi/.jasper/vocabularies/pocketsphinx-vocabulary/keyword/languagemodel
DEBUG:cmuclmtk:Vocabulary file : /tmp/tmpIM7PXA.vocab
DEBUG:cmuclmtk:Cutoffs :
DEBUG:cmuclmtk:2-gram : 0     3-gram : 0
DEBUG:cmuclmtk:Vocabulary type : Open - type 1
DEBUG:cmuclmtk:Minimum unigram count : 0
DEBUG:cmuclmtk:Zeroton fraction : 1
DEBUG:cmuclmtk:Counts will be stored in two bytes.
DEBUG:cmuclmtk:Count table size : 65535
DEBUG:cmuclmtk:Discounting method : Good-Turing
DEBUG:cmuclmtk:Discounting ranges :
DEBUG:cmuclmtk:1-gram : 1     2-gram : 7     3-gram : 7
DEBUG:cmuclmtk:Memory allocation for tree structure :
DEBUG:cmuclmtk:Allocate 100 MB of memory, shared equally between all n-gram tables.
DEBUG:cmuclmtk:Back-off weight storage :
DEBUG:cmuclmtk:Back-off weights will be stored in four bytes.
DEBUG:cmuclmtk:Reading vocabulary.
DEBUG:cmuclmtk:read_wlist_into_siht: a list of 20 words was read from "/tmp/tmpIM7PXA.vocab".
DEBUG:cmuclmtk:read_wlist_into_array: a list of 20 words was read from "/tmp/tmpIM7PXA.vocab".
DEBUG:cmuclmtk:WARNING: <s> appears as a vocabulary item, but is not labelled as a
DEBUG:cmuclmtk:context cue.
DEBUG:cmuclmtk:Allocated space for 3571428 2-grams.
DEBUG:cmuclmtk:Allocated space for 8333333 3-grams.
DEBUG:cmuclmtk:table_size 21
DEBUG:cmuclmtk:Allocated 57142848 bytes to table for 2-grams.
DEBUG:cmuclmtk:Allocated (2+33333332) bytes to table for 3-grams.
DEBUG:cmuclmtk:Processing id n-gram file.
DEBUG:cmuclmtk:20,000 n-grams processed for each ".", 1,000,000 for each line.
DEBUG:cmuclmtk:Calculating discounted counts.
DEBUG:cmuclmtk:Warning : 1-gram : Discounting range is 1; setting P(zeroton)=P(singleton).
DEBUG:cmuclmtk:Discounted value : 0.89
DEBUG:cmuclmtk:Warning : 2-gram : GT statistics are out of range; lowering cutoff to 6.
DEBUG:cmuclmtk:Warning : 2-gram : GT statistics are out of range; lowering cutoff to 5.
DEBUG:cmuclmtk:Warning : 2-gram : GT statistics are out of range; lowering cutoff to 4.
DEBUG:cmuclmtk:Warning : 2-gram : GT statistics are out of range; lowering cutoff to 3.
DEBUG:cmuclmtk:Warning : 2-gram : GT statistics are out of range; lowering cutoff to 2.
DEBUG:cmuclmtk:Warning : 2-gram : GT statistics are out of range; lowering cutoff to 1.
DEBUG:cmuclmtk:Warning : 2-gram : Discounting range of 1 is equivalent to excluding
DEBUG:cmuclmtk:singletons.
DEBUG:cmuclmtk:Warning : 2-gram : GT statistics are out of range; lowering cutoff to 0.
DEBUG:cmuclmtk:Warning : 2-gram : Discounting is disabled.
DEBUG:cmuclmtk:Warning : 3-gram : GT statistics are out of range; lowering cutoff to 6.
DEBUG:cmuclmtk:Warning : 3-gram : GT statistics are out of range; lowering cutoff to 5.
DEBUG:cmuclmtk:Warning : 3-gram : GT statistics are out of range; lowering cutoff to 4.
DEBUG:cmuclmtk:Warning : 3-gram : GT statistics are out of range; lowering cutoff to 3.
DEBUG:cmuclmtk:Warning : 3-gram : GT statistics are out of range; lowering cutoff to 2.
DEBUG:cmuclmtk:Warning : 3-gram : GT statistics are out of range; lowering cutoff to 1.
DEBUG:cmuclmtk:Warning : 3-gram : Discounting range of 1 is equivalent to excluding
DEBUG:cmuclmtk:singletons.
DEBUG:cmuclmtk:Warning : 3-gram : GT statistics are out of range; lowering cutoff to 0.
DEBUG:cmuclmtk:Warning : 3-gram : Discounting is disabled.
DEBUG:cmuclmtk:Unigrams's discount mass is 0.0350877 (n1/N = 0.333333)
DEBUG:cmuclmtk:2 zerotons, P(zeroton) = 0.0175439 P(singleton) = 0.0175439
DEBUG:cmuclmtk:P(zeroton) was reduced to 0.0175438593 (1.000 of P(singleton))
DEBUG:cmuclmtk:prob[UNK] = 0.0175439
DEBUG:cmuclmtk:Incrementing contexts...
DEBUG:cmuclmtk:Calculating back-off weights...
DEBUG:cmuclmtk:Writing out language model...
DEBUG:cmuclmtk:ARPA-style 3-gram will be written to /home/pi/.jasper/vocabularies/pocketsphinx-vocabulary/keyword/languagemodel
DEBUG:cmuclmtk:idngram2lm : Done.
DEBUG:cmuclmtk:Command 'idngram2lm -idngram /tmp/tmpRFaHuY.idngram -vocab /tmp/tmpIM7PXA.vocab -vocab_type 1 -oov_fraction 0.5 -min_unicount 0 -verbosity 2 -n 3 -arpa /home/pi/.jasper/vocabularies/pocketsphinx-vocabulary/keyword/languagemodel -bin_input' returned with exit code '0'.
DEBUG:client.vocabcompiler:Getting words from vocab file and removing it afterwards...
DEBUG:client.vocabcompiler:Starting dictionary...
DEBUG:client.vocabcompiler:Getting phonemes for 18 words...
DEBUG:client.diagnose:Checking executable 'phonetisaurus-g2p'...
DEBUG:client.diagnose:Executable 'phonetisaurus-g2p' found: '/usr/bin/phonetisaurus-g2p'
DEBUG:client.g2p:Using FST model: '/home/pi/phonetisaurus/g014b2b.fst'
DEBUG:client.g2p:Converting 18 words to phonemes
ERROR:client.g2p:Command 'phonetisaurus-g2p --model=/home/pi/phonetisaurus/g014b2b.fst --input=/tmp/tmpVxNiTn.g2p --words --isfile' return with exit status -4
ERROR:client.vocabcompiler:Fatal compilation Error occured, cleaning up...
Traceback (most recent call last):
  File "/home/pi/jasper/client/vocabcompiler.py", line 163, in compile
    self._compile_vocabulary(phrases)
  File "/home/pi/jasper/client/vocabcompiler.py", line 271, in _compile_vocabulary
    self._compile_dictionary(vocabulary, self.dictionary_file)
  File "/home/pi/jasper/client/vocabcompiler.py", line 321, in _compile_dictionary
    phonemes = g2pconverter.translate(words)
  File "/home/pi/jasper/client/g2p.py", line 130, in translate
    output = self._translate_words(words)
  File "/home/pi/jasper/client/g2p.py", line 119, in _translate_words
    nbest=self.nbest)
  File "/home/pi/jasper/client/g2p.py", line 56, in execute
    raise OSError("Command execution failed")
OSError: Command execution failed
ERROR:root:Error occured!
Traceback (most recent call last):
  File "/home/pi/jasper/jasper.py", line 143, in <module>
    app = Jasper()
  File "/home/pi/jasper/jasper.py", line 106, in __init__
    stt_passive_engine_class.get_passive_instance(),
  File "/home/pi/jasper/client/stt.py", line 48, in get_passive_instance
    return cls.get_instance('keyword', phrases)
  File "/home/pi/jasper/client/stt.py", line 40, in get_instance
    vocabulary.compile(phrases)
  File "/home/pi/jasper/client/vocabcompiler.py", line 171, in compile
    raise e
OSError: Command execution failed

same error.
Any solution?

In my case the error was caused by an invalid FST file. I solved it by recompiling the fst library and then recompiling the file.

i have this problem anyone have solution for that
No handlers could be found for logger "cmuclmtk"

        JASPER - THE TALKING COMPUTER           *

(c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis *

ERROR:client.vocabcompiler:Fatal compilation Error occured, cleaning up...
Traceback (most recent call last):
File "/home/pi/jasper/client/vocabcompiler.py", line 163, in compile
self._compile_vocabulary(phrases)
File "/home/pi/jasper/client/vocabcompiler.py", line 269, in _compile_vocabulary
vocabulary = self._compile_languagemodel(text, self.languagemodel_file)
File "/home/pi/jasper/client/vocabcompiler.py", line 290, in _compile_languagemodel
cmuclmtk.text2vocab(text, vocab_file)
NameError: global name 'cmuclmtk' is not defined
ERROR:root:Error occured!
Traceback (most recent call last):
File "./jasper.py", line 146, in
app = Jasper()
File "./jasper.py", line 109, in init
stt_passive_engine_class.get_passive_instance(),
File "/home/pi/jasper/client/stt.py", line 48, in get_passive_instance
return cls.get_instance('keyword', phrases)
File "/home/pi/jasper/client/stt.py", line 40, in get_instance
vocabulary.compile(phrases)
File "/home/pi/jasper/client/vocabcompiler.py", line 171, in compile
raise e
NameError: global name 'cmuclmtk' is not defined

anyone have solution

@IndiNijhof Quais os comandos que vc usou para compilar e recompilar tudo estou com o mesmo erro, mas estou tentando inserir a linguagem brasilian pt_BR no jasper.


NIFI-1491 Throws exception when unable to delete directory content

Added comment when unable to list directory content

reviewing now

@trkurc what was the result of your review?


MAPREDUCE-7385. improve JobEndNotifier#httpNotification With recommended methods

JIRA: MAPREDUCE-7385. impove JobEndNotifier#httpNotification With recommended methods.
JobEndNotifier#httpNotification's DefaultHttpClient has been Deprecated, use the recommended method instead
CoreConnectionPNames.SO_TIMEOUT

use RequestConfig.setSocketTimeout instead

Deprecated.
Defines the socket timeout (SO_TIMEOUT) in milliseconds,
 which is the timeout for waiting for data or, put differently,
a maximum period inactivity between two consecutive data packets).
 A timeout value of zero is interpreted as an infinite timeout.

ClientPNames.CONN_MANAGER_TIMEOUT

use RequestConfig.setConnectionRequestTimeout instead

Deprecated.
Defines the timeout in milliseconds
 used when retrieving an instance of ManagedClientConnection from the ClientConnectionManager.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 18s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
100m 11s

trunk passed

+1 :green_heart:
compile
0m 55s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
0m 51s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 51s

trunk passed

+1 :green_heart:
mvnsite
0m 57s

trunk passed

+1 :green_heart:
javadoc
0m 45s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 34s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 46s

trunk passed

+1 :green_heart:
shadedclient
23m 58s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 38s

the patch passed

+1 :green_heart:
compile
0m 43s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
0m 43s

hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-core-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> generated 0 new + 102 unchanged - 7 fixed = 102 total (was 109)

+1 :green_heart:
compile
0m 37s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 37s

hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-core-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 generated 0 new + 96 unchanged - 7 fixed = 96 total (was 103)

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 32s

the patch passed

+1 :green_heart:
mvnsite
0m 43s

the patch passed

+1 :green_heart:
javadoc
0m 24s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 23s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 33s

the patch passed

+1 :green_heart:
shadedclient
24m 13s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
6m 29s

hadoop-mapreduce-client-core in the patch passed.

+1 :green_heart:
asflicense
0m 43s

The patch does not generate ASF License warnings.

169m 23s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4403

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux e6837a197275 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 2ca28f008ceda2d9c4b648538d1fdb2816e9f044

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/1/testReport/

Max. process+thread count
1072 (vs. ulimit of 5500)

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@jojochuang Please help me review the code.

@ayushtkn Please help me review the code, DefaultHttpClient is deprecated, I hope the deprecated method can be removed to make the code cleaner.

@szilard-nemeth. can you help me review the code？

@prasad-acit  Can you help me review the code？Thank you very much!

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  6s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
41m 24s

trunk passed

+1 :green_heart:
compile
0m 55s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
0m 51s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 51s

trunk passed

+1 :green_heart:
mvnsite
0m 57s

trunk passed

+1 :green_heart:
javadoc
0m 45s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 35s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 48s

trunk passed

+1 :green_heart:
shadedclient
24m 25s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 40s

the patch passed

+1 :green_heart:
compile
0m 44s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
0m 44s

hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-core-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> generated 0 new + 102 unchanged - 7 fixed = 102 total (was 109)

+1 :green_heart:
compile
0m 39s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 39s

hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-core-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 generated 0 new + 96 unchanged - 7 fixed = 96 total (was 103)

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 32s

the patch passed

+1 :green_heart:
mvnsite
0m 42s

the patch passed

+1 :green_heart:
javadoc
0m 24s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 23s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 30s

the patch passed

+1 :green_heart:
shadedclient
24m  6s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
7m 13s

hadoop-mapreduce-client-core in the patch passed.

+1 :green_heart:
asflicense
0m 44s

The patch does not generate ASF License warnings.

111m 47s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4403

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux cb2cbe21a968 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 64fd58d623972ea9015a7f690ec3628ca3c95ba8

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/2/testReport/

Max. process+thread count
995 (vs. ulimit of 5500)

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@jojochuang Please help to review the code, thank you very much!

@ferhui @Hexiaoqiao Can you help review this pr? thank you very much!

@hemanthboyina Can you help review this pr? thank you very much!

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  4s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
41m 23s

trunk passed

+1 :green_heart:
compile
0m 58s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
0m 49s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 52s

trunk passed

+1 :green_heart:
mvnsite
0m 58s

trunk passed

+1 :green_heart:
javadoc
0m 47s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 34s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 48s

trunk passed

+1 :green_heart:
shadedclient
24m 17s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 40s

the patch passed

+1 :green_heart:
compile
0m 43s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
0m 43s

hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-core-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> generated 0 new + 102 unchanged - 7 fixed = 102 total (was 109)

+1 :green_heart:
compile
0m 38s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 38s

hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-core-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 generated 0 new + 96 unchanged - 7 fixed = 96 total (was 103)

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 31s

the patch passed

+1 :green_heart:
mvnsite
0m 42s

the patch passed

+1 :green_heart:
javadoc
0m 23s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 23s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 36s

the patch passed

+1 :green_heart:
shadedclient
23m 48s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
7m 19s

hadoop-mapreduce-client-core in the patch passed.

+1 :green_heart:
asflicense
0m 43s

The patch does not generate ASF License warnings.

111m 20s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4403

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 63a13d56a51d 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 96f8f86959585f1d8adc383a050aa0374d275d56

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/3/testReport/

Max. process+thread count
1121 (vs. ulimit of 5500)

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@jojochuang Can you help review this pr？ this pr replaces some deprecated methods, the changes are very small, thank you very much!

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 12s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
41m 52s

trunk passed

+1 :green_heart:
compile
0m 57s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
0m 52s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 52s

trunk passed

+1 :green_heart:
mvnsite
0m 59s

trunk passed

+1 :green_heart:
javadoc
0m 46s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 37s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 47s

trunk passed

+1 :green_heart:
shadedclient
24m 17s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 41s

the patch passed

+1 :green_heart:
compile
0m 42s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
0m 42s

hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-core-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> generated 0 new + 102 unchanged - 7 fixed = 102 total (was 109)

+1 :green_heart:
compile
0m 39s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 39s

hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-core-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07 generated 0 new + 96 unchanged - 7 fixed = 96 total (was 103)

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 33s

the patch passed

+1 :green_heart:
mvnsite
0m 43s

the patch passed

+1 :green_heart:
javadoc
0m 24s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 23s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 32s

the patch passed

+1 :green_heart:
shadedclient
23m 32s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
7m 18s

hadoop-mapreduce-client-core in the patch passed.

+1 :green_heart:
asflicense
0m 43s

The patch does not generate ASF License warnings.

112m  3s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4403

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 77b71d4856b9 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / fc984de8e6e262f425dcbd4c96e46d496184ac77

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/4/testReport/

Max. process+thread count
1111 (vs. ulimit of 5500)

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4403/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@Hexiaoqiao @jojochuang Can you help review this pr？ this pr replaces some deprecated methods, the changes are very small, thank you very much!

@Hexiaoqiao @jojochuang @goiri Can you help review this pr？ this pr replaces some deprecated methods, the changes are very small, thank you very much!

@ayushtkn  Can you help review this pr？this pr replaces some deprecated method, thank you very much!

@ayushtkn  Can you help review this pr？this pr replaces some deprecated method, thank you very much!


wip(for discussion): Undo log

This is the contents of the stash I referenced here: https://github.com/GlareDB/glaredb/blob/main/crates/sqlexec/src/planner/physical_plan/create_table.rs#L154-L166
This is the very beginning of an undo log for database catalogs. I don't expect this PR to be merged, nor do I think this is the final design, it's being pushed more for the discussion aspect around catalog diffs and/or transaction logging for catalogs.

why not store catalogs in delta and use mvcc time travel?

I think that's something we should explore at some point.
For historical context on the catalog...

Initially the catalog was going to be backed by persistent tables (https://github.com/GlareDB/glaredb/pull/270).
Then with the focus on external data sources, the catalog was moved to just be a json blob to avoid worrying about storage (https://github.com/GlareDB/glaredb/pull/405).
The current iteration is really just an extension of the json catalog (just with protobuf)

However, I still see a benefit of a log of sorts in addition to time travel (and technically we already have time travel with our catalog versions, just not exposed). Having the log lets us ship "diffs" of the catalog to other nodes, instead of the entire catalog itself. The contents of this pr came about because I wanted to see if metastore could just return a "diff" of what's changed so that execs like create table don't need to recreate a session catalog just to get the new entry.

That seems reasonable! Good answers.
Do we have any concerns about concurrent writes?
I think this change is pretty mild and I don't have a great problem with it. I might like to think (and have us think on our own) about if this interface/semantic exposure gets harder to support if we change the backing method.
Random thoughts:

i think it'd be pretty cool to be able to have delta-like mvcc but with other kinds of encoding (and some of my stuff with the datafusion fileformat work is in service of enabling that in the future. (because you wouldn't (probably) want columnar catalogs)
[non actionable] Protobufs are great wire-message formats because they're compact, and the semantics of the IDL and generated code are good (even if the code that's generated is less good); but my gut/conventional wisdom is that they're bad for on-disk formats because you can't do incremental/lazy decoding (I think?), and they get sort of unweildly when large. Having said that, our storage layer (S3) means that we interact with storage as messages.

Do we have any concerns about concurrent writes?

Not with the existing implementation. If we store the catalog in delta tables though, we'd need to figure out multi table transactions for that.

i think it'd be pretty cool to be able to have delta-like mvcc but with other kinds of encoding (and some of my stuff with the datafusion fileformat work is in service of enabling that in the future. (because you wouldn't (probably) want columnar catalogs)

With our current system, we already have an ability to time travel (but using versions, not timestamps). Something I've wanted to explore is loading multiple versions of the catalog during execution based on which version the plan was created against. Currently we assume the latest always, but that can lead to consistency issues.

[non actionable] Protobufs are great wire-message formats because they're compact, and the semantics of the IDL and generated code are good (even if the code that's generated is less good); but my gut/conventional wisdom is that they're bad for on-disk formats because you can't do incremental/lazy decoding (I think?), and they get sort of unweildly when large. Having said that, our storage layer (S3) means that we interact with storage as messages.

I agree with protobuf not being an amazing storage protocol, but we needed something that had a schema, quick to iterate on, and was reasonably performant. Catalogs are unlikely to get very large, and so using protobuf seemed like a reasonable tradeoff.

If we store the catalog in delta tables though, we'd need to figure out multi table transactions for that.

I imagined we could keep it all in one table and get it to do something like this with DF union types, but maybe that's a bit extra.

we already have an ability to time travel (but using versions, not timestamps).

TBH logical clocks are better than system clocks anyway for transactions.

Catalogs are unlikely to get very large, and so using protobuf seemed like a reasonable tradeoff.

Yup, exactly, hence the non-actionable flag. It also seems easy enough to change/migrate at some point if we felt differently about it.

I don't really see a way to put a good use-case or interface on top of time-travel/undo for the catalog in the in memory case. I think if operations are idempotent then we can just save the operations and retry applying them after refreshing? But I think the case where that's applicable is pretty narrow.


UNSAFE_METHOD_ACCESS warning emitted inside type guard

Tested versions
4.2.1.stable.official
System information
Godot v4.2.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (NVIDIA; <IP_ADDRESS>49) - 13th Gen Intel(R) Core(TM) i9-13900K (32 Threads)
Issue description
An UNSAFE_METHOD_ACCESS warning is emitted when I would've expected the type system to automatically type-narrow inside of a type guard, something like:
if node is SomeType:
  # `node` should be a `SomeType` in this block.
  node.some_type_method()

Steps to reproduce

Enable 'UNSAFE_METHOD_ACCESS' warnings in project settings
Add this function anywhere and play the game:

func test(node: Node2D) -> void:
	if node is Area2D:
		node.get_overlapping_areas()

The following warning is emitted:

W 0:00:00:0707   The method "get_overlapping_areas()" is not present on the inferred type "Node2D" (but may be present on a subtype).

This can be worked around by explicitly type casting after performing the check:
func test(node: Node2D) -> void:
	if node is Area2D:
		(node as Area2D).get_overlapping_areas()

Minimal reproduction project (MRP)
N/A

This is not a bug. Feature requests should be opened in the godot-proposals repository, this tracker is only for bugs. See these proposals:

godotengine/godot-proposals#8530
godotengine/godot-proposals#6941

Thanks for the contribution nonetheless!


Allow max header size configurable via runtime config

Couple of points

Would it be OK to make the default value read from a runtime config instead of hardcoding it to 60Kib?
If we introduce a runtime config - Can the default of the runtime config be changed to a higher value? What would be the considerations (security , memory etc) for choosing that default in Envoy?

Refer https://github.com/envoyproxy/envoy/pull/5859 for more context

ooc why configure via runtime rather than use codec config?  It's a bit dangerous to configure config defaults via runtime because then there's a constraint that the runtime config loads before any other configuration that uses that field, or you get unexpected behavioral changes

ooc why configure via runtime rather than use codec config? It's a bit dangerous to configure config defaults via runtime because then there's a constraint that the runtime config loads before any other configuration that uses that field, or you get unexpected behavioral changes

Got it. The only reason I was thinking of runtime is honestly to see if we can increase the default value of it in Envoy safely without BC issues.  See my second point

I think we're past the point we can shift defaults in Envoy, at least not without a super compelling reason.

cc: @RyanTheOptimist @yanavlasov @KBaichoo (from https://github.com/envoyproxy/envoy/pull/5859)

I think we're past the point we can shift defaults in Envoy, at least not without a super compelling reason.

I get that. That is the reason to propose a new runtime config that dictates the default. If that has ordering issues - I think we can close this.

The only reason I was thinking of runtime is honestly to see if we can increase the default value of it in Envoy safely without BC issues.
What is "BC" issues?

I think this is doable given it's already done for max_request_headers_count. See https://github.com/envoyproxy/envoy/blob/353a9a59a7ed8a30433cbab256c3f4c0c23c72cd/source/extensions/filters/network/http_connection_manager/config.cc#L327.
Priority would be:

What is explicit config
What is runtime provided
The current legacy default

It seems more work to be than just configuring the value explicitly, but I don't understand your use case fully for why that's not an option.

It seems more work to be than just configuring the value explicitly, but I don't understand your use case fully for why that's not an option.

It is definitely an option. Currently Istio does not have API support to set this flag. So I am wondering if we can have a runtime flag(for which Istio has API support) to set it across all sidecars in a mesh deployment. The only other option is to define a custom config (via Envoy filter in Istio).

If there are no objections, exposing this, I can implement it

This is fixed by https://github.com/envoyproxy/envoy/pull/26874


SetExternal not working properly on Linux

Always writes 0 to the index.

Forgot to actually use the value on Memory.Write


CopyFromURL fails with "409 The copy source must be a block blob"

Bug Report
package: sdk/storage/azblob
SDK version: v1.0.0
go version go1.20.4 darwin/amd64
What happened?
When trying to copy a blob (AppendBlob), I'm getting a 409 The copy source must be a block blob with a CannotVerifyCopySource error code.
What did you expect or want to happen?
I expected the blob to be copied
How can we reproduce it?

Create a blob of type AppendBlob
Copy it using CopyFromURL
You'll get an error

I wrote a test for it in github.com/distribution/distribution where you can see it happen (tests; broken call to CopyFromURL).
The interesting thing is that calling CopyFromURL from the append blob client instead of the block blob yields the exact same error. I found that using StartCopyFromURL works with either append or block blob clients.
Anything we should know about your environment.
This is happening in the distribution image registry, which is the base for almost all registries out there.
There was a recent update of the azure-sdk-for-go, and that's when the code started breaking

CopyFromURL works when block-blob is source. What you are trying to achieve is unsupported scenario from Azure Storage.

How is one supposed to copy and append blob?
On Tue, 6 Jun 2023, 18:29 Vikas Bhansali, @.***> wrote:

CopyFromURL works when block-blob is source. What you are trying to
achieve is unsupported scenario from Azure Storage.
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-sdk-for-go/issues/20942#issuecomment-1579091219,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADMTOBJ3B33QUVO5NDLIZLXJ5LFNANCNFSM6AAAAAAYYJ3Y34
.
You are receiving this because you were mentioned.Message ID:
@.***>

You can use StartCopyFromURL for append blob as source.

So basically, NewAppendBlobClient(dst).CopyFromURL(ctx, src, nil) is not expected to work when copying an append blob; but NewAppendBlobClient(dst).StartCopyFromURL(ctx, src, nil), or even NewBlockBlobClient(dst).StartCopyFromURL(ctx, src, nil) both do work and are the expected way of doing it.
Could you expand on what's behind this behaviour? I understand that these are different API calls, but I cannot make sense of why Azure only allows append blob copy via the async API.


Ignore property in Class strict mode

Hello,
I am using your library and must say that it is wonderful. In one of my application I want to map the class in Class strict mode. All my excel classes inherits from a base class which has some common properties. But as per current implementation, I cannot ignore those properties. Do you have any attribute through which we can ignore certain properties for mapping. This feature will nice to have.
Regards,
Manprit

I wrote a method like this:
var nameList = excel.GetColumnNames("Sheet1");
foreach (var i in needprops)
{
    if (!nameList.Contains(i))
        throw new StrictMappingException(string.Format("'{0}' property is not mapped to a column", i));
}


Funds didn’t transfer xlm 😭

Transferred xlm to alternative wallet, didn’t show up in wallet 😭

They ever help you?


Implement new "dsl_ode_trigger_count_range_get/set" services

New Get/Set services to complete the Count Trigger
/**
 * @brief Gets the current minimum and maximum count settings in use
 * by the named Count Trigger
 * @param[in] name unique name of the Count Trigger to query
 * @param[out] minimum the current minimum count for triggering ODE occurrence, 0 = no minimum
 * @param[out] maximum the current maximum count for triggering ODE occurrence, 0 = no maximum
 * @return DSL_RESULT_SUCCESS on successful query, DSL_RESULT_ODE_TRIGGER_RESULT otherwise.
 */
DslReturnType dsl_ode_trigger_count_range_get(const wchar_t* name,
    uint* minimum, uint* maximum);

/**
 * @brief Sets the minimum and maximum count settings to use for a
 * named Count Trigger
 * @param[in] name unique name of the Count Trigger to update
 * @param[in] minimum the new minimum count for triggering ODE occurrence, 0 = no minimum
 * @param[in] maximum the new maximum count for triggering ODE occurrence, 0 = no maximum
 * @return DSL_RESULT_SUCCESS on successful update, DSL_RESULT_ODE_TRIGGER_RESULT otherwise.
 */
DslReturnType dsl_ode_trigger_count_range_set(const wchar_t* name,
    uint minimum, uint maximum);

Merged into v0.14.alpha


Jade is depricated

grunt-html2js has a dependency for jade ^1.3.1 which now deprecated:
npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade

has this been fixed or does it auto detect .pug files too?

@MrKieren ,you might consider a PR for this one just in case @karlgoldstein isn't able to get to this anytime soon.

+1 We have upgraded to Pug and have just found our templates are no longer rendering to JS, as we renamed all the .jade templates to .pug. I guess this'll take a major release to fix. Any support would be much appreciated! Very nice module by the way!

Is this issue due been fixed soon? I see an open PR from Jan 17

@rquadling , mind if we get a 0.4.0 tag on this?

Oh! Sorry!!!

https://github.com/rquadling/grunt-html2js/releases/tag/0.4.0
https://www.npmjs.com/package/grunt-html2js

no problem, my workflow for tags almost always involves someone reminding me to tag it ;-)  appreciate the quick turnaround

Looks like this isn't fixed yet so the same deprecation warnings will continue until this is changed:  https://github.com/rquadling/grunt-html2js/blob/master/package.json#L48
@Abdisalan @rquadling FYI

One issue I cannot resolve is if someone is using Jade templates, Pug will not pick up on Jade includes.
So, for the time being, V0.4 will support both pug and jade (with the deprecation notice). V0.5 will deprecate jade support entirely.

fair enough, sorry it's been such a nuisance.  I can definitely live with the warnings.

Not a nuisance. I'm new to JS at this level. I'm a PHP dev, but some of the tools I use have been unsupported for such a long time that taking them over and maintaining them (to the best of my ability) was the only option.
OOI, I've not used Jade or Pug and only rely on the unit tests to say things are OK. How popular are they?
I'll release a 0.5.0 next week so that allows anyone still needing Jade to have a forward compatible version (0.4.0) to migrate their templates with.

That's a tough position to be in, sorry that fell on you man!
I have no idea how popular those are, I'd never heard of them until these deprecations started popping up.
Thanks for the upcoming release, hang in there!

@rquadling In regards to supporting jade and pug in v0.4 and then deprecating jade in v0.5, wouldn't that potentially break dev teams html2js builds whom are still using jade? Essentially anyone using a package.json dependency value similar to this would automatically pull in v0.5 and break their jade templates html2js build:
"grunt-html2js": "^0.3.5",
Sticking to semantic versioning, since a release like this could possibly break backwards compatibility, it may be wise to do a 1.0.0 release so that developers taking all patch and minor releases are not affected. What do you think?

In semver, V0 is "special". http://semver.org/#spec-item-4 / https://getcomposer.org/doc/articles/versions.md#caret-version-range-
So ^0.4 will allow for all release < 0.5.0
So, if there is anything that needs fixing and is specifically Jade related, then it can happily sit in the 0.4 branch.


feat: show billing option in the Kafka details tab

Also fixes some typos and remove unused files
What this PR does / why we need it:
The details tab of the Kafka details drawer should show the billing option.
Which issue(s) this PR fixes
MGDSTRM-8965
Verification steps
Kafka > KafkaInstanceDrawer > KafkaDetailsTab
in any of the stories, you can change the billing option with a knob. The default is prepaid.

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


UF-388 Uberfire Web Site Upgrade: Performance Upgrade and Update site content

…

@paulovmr could you please take a look on this?
if the diff is long, here is the version https://github.com/ederign/uberfire-website/tree/website_fix
also, it's live on uberfireframework.org

+1 to merge.


Build Test against sample repos: Go

Description
As a dev on the seCureLI team, I want the build pipeline to check the tool against known ‘bad state’ repos, to ensure that the tool is not only passing unit tests and ‘not failing others’, but also that it is actively catching security issues, to ensure that the project is doing what it was designed to do.
Technical Details

Will require finding, or creating git repos that the pipeline can access that have secrets embedded in them.
create repo as part of the Secure Build project
Language Supported: Go
Should only cover detect-secrets errors

Acceptance Criteria

Repo identified or created with the supporting language with 1+ secrets saved to it (fake secrets, of course)
When the tool runs and successfully throws and error (expected behavior) the build does not fail.
If the tool runs and does NOT throw an error (unexpected behavior) the build fails, as the tool did not properly detect the error.

Closing out as this will be addressed in https://github.com/slalombuild/secureli/issues/129.


Add Venue and Media Partners section

What
It is important to add a media and venue partner of the event.
The list is in the files shared in the hacktoberfestgye group.
Considerations
It could be at the bottom of the page.
Mobile first please.

This issue was resolved


DatePicker: fix the memory leak when showTime is set to true

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

date picker type为date时能正常释放内存，type含有time时内存无法回收
原因：
DatePicker中picker属性上的实例正常情况下会在当前实例销毁时自动回收(但是picker没有走正常的生命周期方法)。
当panel中含有time时，内部的v-clickoutside会在闭包变量nodeList中持有picker的$el，导致整个实例无法销毁。

相关issue: https://github.com/ElemeFE/element/issues/20167


[Bug] Lua error on startup (attempt to call field 'on_filetype' (a nil value))

I get the following error on startup:
loading lsp config failed LSP may not working correctly
Error detected while processing BufEnter Autocommands for "*":
E5108: Error executing lua [string ":lua"]:1: attempt to call field 'on_filetype' (a nil value)
stack traceback:
        [string ":lua"]:1: in main chunk

I have just started using neovim and have only two files configured:
; cat ~/.config/nvim/init.lua
require('plugins')
require('navigator').setup({
	debug = true,
})
; cat ~/.config/nvim/lua/plugins.lua
return require('packer').startup(function()
  -- Packer can manage itself
  use 'wbthomason/packer.nvim'
  use {'ray-x/navigator.lua', requires = {'ray-x/guihua.lua', run = 'cd lua/fzy && make'}}
end)

Could you check the setup https://github.com/ray-x/navigator.lua/blob/master/playground/init.lua
the on_filetype is here autocmd FileType * lua require'navigator.lspclient.clients'.on_filetype().

Seems the lspconfig is missing in the config. Please refer to https://github.com/ray-x/navigator.lua/blob/master/playground/init.lua for the minimum vimrc.


Client fitting utility

as per Paul: A generic fitting facility which allows the floating point parameters for various components to be adjusted in a way that minimizes the sum-squared difference between two output nodes.  This doesn't fit in the normal dataflow DAG since it is neither dataflow (it sets the parameters to the components rather than the input data) nor DAG (it is not acyclic if it requires adjust and re-evaluate).   It would also totally swamp the cache if the intermediate values during the fit were saved.
Use cases?

There's no reason to involve the cache in this.  The other concerns still stand.


[Feature] Add Math in our CI

Checklist

[ ] 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[ ] 2. Please use English, otherwise it will be closed.

Motivation
One of my friends told me that SGLang Engine's performance on Math is abnormally a bit lower. We will find this out, benchmarking SGLang and other engines' performance on Math (use GPT-4 to evaluate). And, ultimately, we will add a CI test for Math which runs daily.
Related resources
No such.

Hi @zhaochenyang20, are there any docs which I can refer to add this test in the CI?

Hey. I already asked @shuaills for this. Thanks for help. @gjyotin305

hello @zhaochenyang20 @shuaills btw i was playing with this issue yday as a starter kit.
my setup was llama 3.1 8B + grok2 as equalityChecker, the observation is the numbers are close to official number (51.9) tho variance is high(48.4, 53.1, 50.0), prob just bc i was running over a small examples. in general it doesnt looks off as i didnt see abnormally low. we could run more experiments and/or compare with vllm
not sure where you are at, but if you havnt start im happy to finish it up

hello @zhaochenyang20 @shuaills btw i was playing with this issue yday as a starter kit. my setup was llama 3.1 8B + grok2 as equalityChecker, the observation is the numbers are close to official number (51.9) tho variance is high(48.4, 53.1, 50.0), prob just bc i was running over a small examples. in general it doesnt looks off as i didnt see abnormally low. we could run more experiments and/or compare with vllm not sure where you are at, but if you havnt start im happy to finish it up

Great. Sorry for replying late. Keep going.


Add evidence of efficacy and intensity of VR experiences to "Workplace" chapter

@GregCTWang I believe you are covering this.

Added evidences:
[^GlobalCollab]: Umoren, Rachel, Dora J. Stadler, Stephen L. Gasior, Deema Al-Sheikhly, Barbara Truman, and Carolyn Lowe. “Global Collaboration and Team-Building through 3D Virtual Environments.” Innovations in Global Medical and Health Education 2014, no. 1 (November 1, 2014). https://doi.org/10.5339/igmhe.2014.1.
[^TeamCreativityInVirtual]: Alahuhta, Pekka, Emma Nordbäck, Anu Sivunen, and Teemu Surakka. “Fostering Team Creativity in Virtual Worlds.” Journal For Virtual Worlds Research 7, no. 3 (July 20, 2014). https://doi.org/10.4101/jvwr.v7i3.7062.
[^Game4TeamBuilding]: Ellis, Jason B., Kurt Luther, Katherine Bessiere, and Wendy A. Kellogg. “Games for Virtual Team Building.” Proceedings of the 7th ACM Conference on Designing Interactive Systems, February 25, 2008. https://doi.org/10.1145/1394445.1394477.
[^VirtualTeamWork]: Lukosch, Heide, Bas van Nuland, Theo van Ruijven, Linda van Veen, and Alexander Verbraeck. “Building a Virtual World for Team Work Improvement.” Frontiers in Gaming Simulation, 2014, 60–68. https://doi.org/10.1007/978-3-319-04954-0_8.
[^MRexample]: Lu, Lin, Honglin Wang, Pengran Liu, Rong Liu, Jiayao Zhang, Yi Xie, Songxiang Liu, et al. “Applications of Mixed Reality Technology in Orthopedics Surgery: A Pilot Study.” Frontiers in Bioengineering and Biotechnology 10 (February 22, 2022). https://doi.org/10.3389/fbioe.2022.740507.
Lu, Lin, Honglin Wang, Pengran Liu, Rong Liu, Jiayao Zhang, Yi Xie, Songxiang Liu, et al. “Applications of Mixed Reality Technology in Orthopedics Surgery: A Pilot Study.” Frontiers in Bioengineering and Biotechnology 10 (February 22, 2022). https://doi.org/10.3389/fbioe.2022.740507.


epic: Nitro CLI

Problem
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Success Criteria
A clear and concise description of what you want to happen.
Sub Issues
Additional context
Add any other context or screenshots about the epic request here.

Will be reconsidered after client library is done


Remove deprecated Client#auth_token= method

Deprecated in a1b1807c (v5.3.0)

Implemented in 3ca1ab4


Add LogRemover to delete old logs

Old logs are removed after they are 60 days old.

Should it be 30 days instead? Or configurable?

Nevermind. Got bored and just made it configurable.


Wire realignment across connected dragging does not re-shuffle sometimes

If there is a component with a lot of pins, the right-most connected component should be connected to the right-most wire interface. Dragging should re-arrange interfaces. There is a bug that shows up intermittently where the re-arrangement stops working.
Need to figure out how to reproduce

@maxbielenberg  recreated the issue. If there are too many interfaces at the bottom of a components thats when connected component dragging breaks


Bug/feature request jax.custom_transforms cannot decorate a method

I'm not sure why this doesn't work:
import jax

class C:

    # Works:
    # partial(jax.jit, static_argnums=(0,))
    # Fails:
    @jax.custom_transforms
    def f(self, x):
        return 2 * x

C().f(4.0)

I guess

jax.linear_utile.WrappedFun should maybe implement the descriptor protocol, and
jax.custom_transforms should maybe accept a static_argnums parameter?

As an aside, is it necessary to @jax.jit functions that are decorated with @jax.custom_transforms?

Thanks for raising this! If you check out #2026 you’ll see custom_transforms is not long for this world.

@mattjj Great, I wasn't sure how to proceed with adding custom transforms.  I'll close this in anticipation the linked issue 😄

@mattjj I just saw that you force-pushed your change?  I'm sorry if this is a bother, but I would really like to start using it now 😃.  I don't see the change in the change history though?  Am I missing something?  Should I wait for it?—or will I get it if I pip install from github?