New builds

The main thing here is to provide cjs as main, mjs as module, and iife as browser in both current and forward-looking ways.
Originally, I modified the react packages too, but React itself only provides a commonjs type module and because of that tooling around react don't yet know .mjs or .cjs filetypes. So, those have been reverted to continue only with the commonjs module output.
The web-component pieces continue to work. Though, there's more fiddling to be done with --external. As well as looking into esbuild-visualizer and the meta.json file.
Then the <script> will need to be updated to
<script src="https://unpkg.com/<EMAIL_ADDRESS>
But this will open us up to do the following
<script src="https://unpkg.com/@mux-elements/mux-player@0.1.0-beta.0/dist/index.mjs?module"></script>

Since the mjs's dependencies are externalized, they will be loaded via import. unpkg's ?module query param should update the file to resolve those imports to unpkg urls instead of the hard coded package names.

This is in decent shape now, but has a couple of implications. First, I'm currently aiming for externalized dependencies as much as possible so that if users of these packages depend on the same dependencies, they'll only get included once. Unfortunately, this is causing issues since we have different packages with differing builds.
For example, media-chrome and template-parts are esm-only builds. This means that it isn't possible to have them be external in a commonjs build.
The reverse is also true for something like hls.js and mux-embed. These are commonjs only-builds. This may not be an issue for bundler users as most bundlers can handle this properly. But, as can be seen in our test-build, if native esm is being used it can cause issues https://github.com/muxinc/elements/pull/163/files#diff-1b0963b7e0237319e618c04ab47ae04a0cea6aec60e99c7947cca296e8d94518. As a workaround, I made custom bundles of hls.js and mux-embed that re-expose it in an esm module that can be used by the import map plugin for our test runner.
Personally, I think that bundler users should be the target here because I don't think that native esm is quite ready yet. Import maps (which is what our test build now uses) only have support for in chrome currently which is needed to be able to do native imports of modules like import "hls.js" where by default it needs a url. This is what unpkg's ?module does, replace the named packages with unpkg urls for that package.
This gets a big more complicated because next has it's own thoughts on esm-usage, and it doesn't like the esm exported by template-parts, which makes it hard to externalize.

Forgot to mention that the React modules only expose the cjs module. This is basically due to react itself only being a cjs-only build and thus a lot of tooling around react isn't built to work with esm in-mid or in some cases specifically rejected it (like create-react-app).

We spoke about this offline and here are the next steps:
Continuing with what we have here, we will have the following builds:

esm with externalized deps, maps to module in package.json
cjs with externalized deps, maps to main in package.json. This will be the only build provided by the react packages
iife build, maps to browser and unpkg in package.json. unpkg is a new property
esm with internalized deps, this doesn't have a field in package.json and will be used for <script type=module> users. New build

We'll want to unify our test builds for hls.js and mux-embed using the import-maps pieces. Separately, we'll want to investigate adding esm builds of hls.js and mux-embed so that eventually we can remove the import-map piece.
Investigate moving the dom-polyfills into the polyfills and working it out so that it isn't included multiple times. This should allow us to externalize @github/template-parts, which is currently failing with SSR since it's referencing `DocumentFragment.
Document how to use modules for these and the script and script;type=module

[ ] move dom-polyfills into shared polyfills

[ ] get template-parts working externalized in nextjs build

[ ] create a local shared/scripts build of mux-embed and hls.js for tests
[ ] add metafiles to gitignore
[ ] non-react builds

[ ] mux-audio

[ ] esm externalized
[ ] cjs externalized
[ ] iife internalized
[ ] esm internalized
[ ] unpkg property pointing at iife
[ ] metafiles for builds into dist/
[ ] add metafiles to npmignore
[ ] import-maps plugin for tests pointing at local hls.js/mux-embed

[ ] mux-video

[ ] esm externalized
[ ] cjs externalized
[ ] iife internalized
[ ] esm internalized
[ ] unpkg property pointing at iife
[ ] metafiles for builds into dist/
[ ] add metafiles to npmignore
[ ] import-maps plugin for tests pointing at local hls.js/mux-embed

[ ] mux-player

[ ] esm externalized
[ ] cjs externalized
[ ] iife internalized
[ ] esm internalized
[ ] unpkg property pointing at iife
[ ] metafiles for builds into dist/
[ ] add metafiles to npmignore
[ ] import-maps plugin for tests pointing at local hls.js/mux-embed

[ ] playback-core

[ ] esm externalized
[ ] cjs externalized
[ ] iife internalized
[ ] esm internalized
[ ] unpkg property pointing at iife
[ ] metafiles for builds into dist/
[ ] add metafiles to npmignore
[ ] import-maps plugin for tests pointing at local hls.js/mux-embed

[ ] react builds

[ ] mux-audio-react

[ ] cjs externalized
[ ] add metafiles to npmignore

[ ] mux-video-react

[ ] cjs externalized
[ ] add metafiles to npmignore

[ ] mux-player-react

[ ] cjs externalized
[ ] add metafiles to npmignore

[ ] documentation updates


Extension asks to login every time I open vscode

Every time I open vscode, a pop up appears on the bottom right corner with the message: "In order to use the Pull Requests functionality, you need to sign in to github.com" and a button "Sig in".

Of course, that happened the first time I installed the extension, and I clicked the button to authorize the extension to access my github account. I checked it is authorized with full permissions. However, when I authorized the extension from my web browser (tried firefox and chromium), the web page turned white and nothing happened, so maybe the auth process wasn't completed successfully.
Now, every time I open vscode the same pop up appears. Clicking on "Sign in" button the request authorization web page opens on my browser, but clicking on continue does nothing (I suppose because it is already authorized).
I'm able to login on github from vscode by clicking on the options "Sign in to github.com" on the bottom left corner.

Edit: I have 2FA on my github.com since always. I don't know if that matters.

Extension version: 0.2.1
VSCode Version: 1.28.2
OS: GNU/Linux (ArchLinux with kernel 4.14.76-1-lts)

Steps to Reproduce:

Install the extension and sign in github (authorize extension)
Close vscode
Open vscode

THis happens for me too. I open VS Code Insiders, it prompts me to authorize github, I follow the steps (in the browser), then it's fine. If I reload VS Code or close and re-open, i have to go through it again.

I experienced the same problem, too. Today I gave it a try again and now it works for me :+1:

Having the same issue here.
Pasting the config githubPullRequests.hosts into config.json manually will result the plugin auto-remove the config item every time it starts up.
It also doesn't leave anything useful in the debug log.

Yup, same here, with Ubuntu 19.04, latest vscode 1.35.0 and extension 0.8.0.
I'm actually using the ssh-agent to authenticate with github, see instructions here and was hoping the extension would use it too.

I'm no longer able to reproduce this in the latest version of the extension. If you see this problem again, please reopen the issue. Thank you!

Now I seem to have the problem again :(

Same. this also happens when switching between different github projects - every time requiring a roundtrip to the github auth page

Uninstalled this nonsense because of this. This is in the same category of irritations as websites that block content begging you to sign up to their mailing list when you visit them.
Learn to use non intrusive popups.

I'm having the same issue. Linux user here.

I'm having the same issue. Ubuntu 20


[BUG]: refining schema using createSelectSchema is not working with drizzle-kit 0.6.0

Report hasn't been filed before.

[X] I have verified that the bug I'm about to report hasn't been filed before.

What version of drizzle-orm are you using?
0.38.0
What version of drizzle-kit are you using?
0.0.0
Other packages
drizzle-zod: 0.6.0
Describe the Bug
When using createSelectSchema and providing an object to refine a subset of properties, the type/schema of non-refined properties is changed as well.
Steps to repro:

Open https://stackblitz.com/edit/stackblitz-starters-aw9lq1rl?file=index.ts
2 Hover over "type Table"

observe that the type of "id" is "Date"
expected type is "string"/uuid

(I wanted to also say thanks for all the good work!!)

Should be fixed in<EMAIL_ADDRESS>


SEO Issue: Copied products have the wrong SEO text in the metadescription

Copying products is a very helpful feature. After copying several products I have seen that there is always the same 'metadescripton' on the product page. The newly entered text in the product short text is not copied over to the metadescription attribute. The name of the product is correctly updated even after a change later.

I wasn't able to replicate this, in either 5.7 or v8.

I entered a short description into a product
Checking the product page's SEO fields the Meta Description value contains the short description
I duplicatedthe product
On the duplicate I made a change to the short description
On the duplicated product's page I found that the meta description was updated to match the updated short description

Thanks for checking!
Indeed on some products it works as described.
I tested a handfull of products where it doesn't work. But after deleting the whole metadescription and resaving the product it takes the right text. The articles are all from a user who only has rights for the shop-part.
So this seems to be a problem of my configuration and not an issue from community store.


Setting fullHeight prop to true throws error on resize

The problem is this line.
Setting fullHeight to true in <ParallaxMousemove /> attempts to set this.props.containerStyle.height to the height of the window. But that won't work, props are read-only in React.

Same problem, whenever you change screen size, window goes black.
         return this.state.isReady ? (this.props.fullHeight && (this.props.containerStyle.height = window.innerHeight), u.a.createElement("div", {

resolved,
you must add an try catch ah the line 25 of  src/lib/index.js.
from:
this.props.containerStyle.height = window.innerHeight
to:
try {
this.props.containerStyle.height = window.innerHeight;
} catch (error) {}
You can't know if a variable is read only, this metod is heavy but stable.


Webpack modules not loading on my production/staging server while on my local working perfectly

Laravel Mix Version: 5.0.9

Description:
Hi,
I am quite new to webpack modules (I am not sure if I call them modules correctly but I will explain later what I mean) and I am faced with a very weird issue.
Let me first explain what I have so far.
Currently I have a webpack.mix.js file with the following contents:
let mix = require("laravel-mix");

mix.webpackConfig(
    {
        output: {
            // this is the path I deploy the compiled assets on my staging/production servers
            publicPath: "/web-assets/themes/rr-corfu-real-estate_child/assets/dist/",
            filename: '[name].js',
            chunkFilename: 'js/modules/[name].js'
        }
    }
);

mix.setPublicPath("dist");
mix.js("src/js/app.js", "js");

then in the path assets/src/js I have the following files:
assets/
    src/
       js/
           theme/
               modules/
                   media-header.js
               shortcodes/
                   rr-post-card.js
           app.js

The two js files under the theme folder containing code like that:
// assets/src/js/theme/modules/media-header.js
export class MediaHeader {
    // class code here
}

// assets/src/js/theme/shortcodes/rr-post-card.js
export class RrPostCard {
    // class code here
}

and finally in my app.js file I have the following code:
// assets/src/js/app.js
import domReady from "@wordpress/dom-ready";

domReady(
    () => {
        const rrCardLinks = document.querySelectorAll('.rr-links');
        if ( 0 < rrCardLinks.length ) {
            import(/* webpackChunkName: "rr-card-link" */ "./theme/shortcodes/rr-post-card").then(
                 ({RrPostCard}) => {
                     new RrPostCard(rrCardLinks);
                 }
             );
        }

        const rrMediaHeaders = document.querySelectorAll(".media-header");
        if (0 < rrMediaHeaders.length) {
            import(/* webpackChunkName: "media-header" */ "./theme/modules/media-header").then(
                ({MediaHeader}) => {
                    new MediaHeader(rrMediaHeaders);
                }
            );
        }
    }
);

Finally when I compile this the output generated is the following:
assets/
    dist/
        js/
            modules/
                media-header.js
                rr-card-link.js
            app.js

The above code on my local environment it works perfectly. But when I go on staging/production I get the following error:

At the same time, if I click the link https://SITE-DOMAIN/web-assets/themes/THEME-NAME/assets/dist/js/modules/rr-card-link.js the file content is loading properly.
Is there any idea why I have that issue or how I could solve it ?
Thank you all in advance.

Exact same error observed in our production app, first using v. 6.0.25. We then downgraded to 6.0.19 to see if the error had something to do with the updated Webpack-dependency, but this did not help.

Did I see this right that your code try to load the assets from the 'src' directory instead of the 'dist' directory?
Btw. what happend when you write it like so:
const mix = require("laravel-mix")

mix.setPublicPath("dist")

mix.webpackConfig({
  output: {
    publicPath: "/assets/dist/",
    chunkFilename: 'js/modules/[name].js'
  }
})

mix.js("src/js/app.js", "js")
  .version()


⚠ Bofrost.lu has degraded performance

In 84f3767, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 893 ms

Resolved: Bofrost.lu performance has improved in ba90bf8 after 8 minutes.


Where is "activity Alert" ?

Guide starts with clicking on "activity alert" but there is no such thing on the linked page
https://learn.microsoft.com/en-us/microsoft-365/compliance/create-activity-alerts?view=o365-worldwide#create-an-activity-alert

@areels Thanks for your feedback! New issues and pull requests for this content are closed while we update this content to support upcoming feature improvements.


Call to useRouter outside of the sutup function

Hi! How can I use a call to useRouter for example, outside of the sutup function?
I'm using a project with Vue 2.6.
Thank you

Thank you. On 23 Apr 2024, at 03:17, Yisibell Hong @.***> wrote:
Hi! How can I use a call to useRouter for example, outside of the sutup function? I'm using a project with Vue 2.6. Thank you
Composite APIs can only run in the setup function.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


add readme explaining this package

Closes #5

I'm not sure this is wort it: we would need to add a similar file to all packs, and packs are auto-unpacked nowadays, so that the linked issue should fade away.

Well, the other packs have composer requirements as purpose as well. apache-pack has nothing. But fine for me to close this.

A README wouldn't hurt.


Remove authorise

V1 is out and this is already been tagged as deprecated.
I think we can remove it in the next version. Agree? @ricardopereira

Fixed in #679


Fixed shared paths location to use ansistrano_shared_path variable.

It is backward compatible change as default value for ansistrano_shared_path is "{{ ansistrano_deploy_to }}/shared". The only difference is that now symlinks to shared files will be absolute instead of relative.

And of course I forgot to link the issue #238

Closing as per comments in https://github.com/ansistrano/deploy/issues/238


Ferret balks at climatological dates defined w/ year 0001

Reported by Jonathan S Callahan on 23 Jan 2001 20:34 UTC
Use the following dataset from CDC:
http://www.cdc.noaa.gov/cgi-bin/nph-nc/Datasets/nodc.woa98/salinity/annual/salt.
oa1deg.nc
Specifying a region with '01-jan' or '01-jan-0000' fail with "**ERROR:
illegal limits" while '01-jan-0001' works fine.  Ferret could be a little
smarter here.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/214

Comment by ansley.b.manke on 24 Jul 2010 00:46 UTC
This now works.


Add some documentation to graphql_query/ in trustfall_core

As discussed #136, this adds some minor documentation to graphql_query. There are still things to do, but these are the things I am somewhat confident writing about.

I should have ran the doctests...
Marked as ignore since I don't think it's possible to access the directive structs from doctests without changing their visibility. This means someone should probably check that the examples are actually correct themselves


Relocate ValueDescriptor creation responsibility

Fix #1471
Add functionality in the restAddDeviceProfile REST handler to not only
create DeviceProfiles, but also create the necessary associated
ValueDescriptors. This functionality was previously expected to be in
the Device SDK. Now, we are expecting the SDK functionality to be
updated to only create DeviceProfiles and not ValueDescriptors as
Core-Metadata will now handle that responsibility. See issue #318 for
more details regarding the removal of this functionality from the SDK.
Add new operator ValueDescriptorAdder which handles the responsibility
of creating and persisting the necessary ValueDescriptors given a
DeviceResources
Add tests for ValueDescriptorAdder operator.
Signed-off-by: Anthony M. Bonafide<EMAIL_ADDRESS>

recheck

Recheck

FYI -- Pending review, please do not merge this PR until after the Device Services WG call on 22-Jul-2019. We need to coordinate this effort with changes to the SDK.

Recheck

Recheck

Recheck

Codecov Report

Merging #1557 into master will increase coverage by 0.2%.
The diff coverage is 68.18%.

@@            Coverage Diff            @@
##           master    #1557     +/-   ##
=========================================
+ Coverage   24.38%   24.58%   +0.2%
=========================================
  Files         104      105      +1
  Lines        9638     9680     +42
=========================================
+ Hits         2350     2380     +30
- Misses       7109     7121     +12
  Partials      179      179

Impacted Files
Coverage Δ

internal/core/metadata/init.go
0% <0%> (ø)
:arrow_up:

internal/core/metadata/rest_deviceprofile.go
22.04% <0%> (-0.35%)
:arrow_down:

...adata/operators/device_profile/value_descriptor.go
100% <100%> (ø)

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 4d276e7...3b5c843. Read the comment docs.

As per my discussion with @tsconn23, we need to also do the following in this PR

Add a configuration setting so that we can enable/disable this newly added functionality.

Add similar functionality for the Update device profile API


RayCluster status safeguards

Issue link
closes #339
What changes have been made
Added error handling to prevent cluster.status/wait_ready crashes due to missing RayCluster status
This PR is an extension of #254
Checks

[x] I've made sure the tests are passing.
Testing Strategy

[x] Unit tests
[x] Manual tests
[ ] Testing is not required for this change

Thanks for the PR! Good catch


chore: migrate renovate secrets

Fixes https://docs.renovatebot.com/mend-hosted/migrating-secrets/

:tada: This PR is included in version 1.30.1 :tada:
The release is available on:

v1.30.1
GitHub release

Your semantic-release bot :package::rocket:


Add article and articles landing page

Hopefully, I understood your comment correctly last night. If not feel free to rip it apart and refactor, or send me the instructions :). I have added a new article and article landing page doctype and to accompany this change I have added some compositions such as standard page (you may want this to be the content page) and page panner. The idea is that a landing page will have the option to have a page banner (or hero). A standard page doesn't have this at the moment but you can easily tweak this by adding the page banner composition.
I have created some temporary markup and added a bootstrap 4 CDN so that I can see it rendering out, this is all temporary and when we can refactor as we like! I have added some test content and included the usync files, hopefully, i haven't missed anything. I originally added the new pages to the non profit ord website container but had to move them to the website container as so

I was seeing this - tried resetting cache (from settings), etc but no luck - let me know if i missed something

I have added some custom data types such as image croppers (with temp crops) and radio button selectors as discussed. I added some labels to the SEO composition. The render of the images may need so work but let me know, its been a while.
Hopefully, this is a good start, and feel free to fire over some edits so its fit for purpose. Ive left some comments to note my thoughts.
Should look something like so if all merged in correctly

Thanks
Paul

Sweet, great work! But build check is failing, looks like 2 files are missing from your commit... 2 model files
CSC : error CS2001: Source file 'C:\projects\umbraco-v8-community-website-starterkit\source\Core\Models\Generated*PageBanner.generated.cs*' could not be found. [C:\projects\umbraco-v8-community-website-starterkit\source\Core\Core.csproj]
CSC : error CS2001: Source file 'C:\projects\umbraco-v8-community-website-starterkit\source\Core\Models\Generated*StandardPage.generated.cs*' could not be found. [C:\projects\umbraco-v8-community-website-starterkit\source\Core\Core.csproj]

Hey @TimGeyssens, I've added the two missing models and the build is verified 🕺

Awesome! Will merge once I'm back home later today

Merged, did some very minor tweaks (mainly naming), thanks for the help!


[FEATURE] Add Copy To Clipboard Button on Page Component

Description
A copy to clipboard button to easily copy the Page link.
So that if a page visitor want to share the Page to some where they can easily do that
Screenshots
No response
Additional information
No response

I'd like to take a look at this

I'd like to take a look at this

Sure , go ahead

How do you get sign in/login access in the emulator mode ?

Are you

How do you get sign in/login access in the emulator mode ?

Are you having problem with sign up/login with emulators or just asking for access?

Fixed the issue. Thanks It would be nice if you can add the "npm run emulators" to the CONTRIBUTING.md file so other contributors can set up their environment easily.
Also just to be clear , for this issue , the button is already on the site right ? You just need the functionality if i'm not mistaken

No , the share option is only on the preview page and admin page right now but it is not in the actual page components which will be rendered whenever someone cost your page.
https://github.com/nathgoutam93/linkpile-react/src/components/pages.js

I wanted something like this , In the Page component but no other sharing options except copy to clipboard @A-BMT02 , I hope you get it what I'm trying to say .

Noted Do you want the button to just copy the link or you also want it to display a popup showing common social media icons so the user can choose where to share to . I hope i was clear

No just copy to clipboard and an alert would be good saying "link copied" or something similar .
As the sharing feature on other platforms is being developed by another contributor right now , which will be for admin and preview page .

Noted
I'm working on it

How do i view the actual page components which will be rendered whenever someone clicks on my link . I want to view it on the browser but i'm getting an error " user not found"

For localhost , the actual link won't work . You have to either type it manually or make the link href="localhost:3000/"

Do you want the icon for the clipboard and the format to be the same as the one on the admin/preview page ?

Do you want the icon for the clipboard and the format to be the same as the one on the admin/preview page ?

Yes

Any thing i can do to make it better ?

Any thing i can do to make it better ?

I requested some changes , please make those changes

@A-BMT02 will you make the changes I requested on your pull request ?
If you finding any difficulties please let me know I'll make those Changes

Yes i am working on it now

Sorry i was busy for the past couple of days


Allow suspension on multiple localities.

The restriction of the suspend/resume mechanism of the runtime to a single locality seems unnecessary.
Fixes #4937
According to a short discussion with @msimberg it should be possible to suspend/resume the runtime also on multiple localities, so as a test I removed the corresponding checks and did some test runs on our cluster which showed no problems. Nevertheless, I would appreciate the input of someone with a deeper understanding of the code.

Can one of the admins verify this patch?

Well, nice! Thanks @severinstrobl for testing this. The main concern I had for not allowing this without testing was that the suspension mechanism makes no effort to make sure other localities have finished their work. It only waits until the local thread pool is empty before suspending. That said, the current behaviour of throwing an exception is just an artificial limitation mainly to avoid nasty surprises, but as long as you're ok with the local-only synchronization I think going with your changes here is no problem at all. Most likely the way you use HPX ensures anyway that whatever work you need done is actually done before suspending. Does that sound fine for you?
I might add something to the documentation about this behaviour, but otherwise it shouldn't require any other changes.

Yes, the global synchronization is done explicitly via other means, so at least for my use case this works nicely.

Is there a way t avoid for the user to run into issues if there is no explicit synchronization between localities done? Should we introduce a barrier in HPX before suspending (we could reuse our global predefined barrier for this: hpx::lcos::barrier::synchronize())?

Is there a way t avoid for the user to run into issues if there is no explicit synchronization between localities done? Should we introduce a barrier in HPX before suspending (we could reuse our global predefined barrier for this: hpx::lcos::barrier::synchronize())?

Is that enough though? Synchronizing with barrier before suspending doesn't mean that tasks can't be scheduled after the barrier. Synchronizing after waiting for queues to be empty also doesn't mean the queues still can't get tasks from remote localities. I guess this is the reason for the elaborate termination mechanism.

Is that enough though? Synchronizing with barrier before suspending doesn't mean that tasks can't be scheduled after the barrier. Synchronizing after waiting for queues to be empty also doesn't mean the queues still can't get tasks from remote localities. I guess this is the reason for the elaborate termination mechanism.

Yes, I agree. This is not as easy as it looks. We could expose the termination detection to the user and document it as one way of ensuring that distributed suspension works as expected. That would require a bit of additional work, though.

Is that enough though? Synchronizing with barrier before suspending doesn't mean that tasks can't be scheduled after the barrier. Synchronizing after waiting for queues to be empty also doesn't mean the queues still can't get tasks from remote localities. I guess this is the reason for the elaborate termination mechanism.

Yes, I agree. This is not as easy as it looks. We could expose the termination detection to the user and document it as one way of ensuring that distributed suspension works as expected. That would require a bit of additional work, though.

Yeah, that sounds doable. Let's not have that stop @severinstrobl from using this as is though?

retest cscs

@severinstrobl I just merged #4649 which creates conflicts with most PRs. Please let me know if you'd like me to rebase this one. We've split the libs directory into three intermediate directories with modules under those three directories instead of directly in libs.

@msimberg Sorry for not replying earlier, I was on vacation. I just rebased my request on the current master.

retest cscs

@msimberg Sorry for not replying earlier, I was on vacation. I just rebased my request on the current master.

No problem at all and thanks for updating the PR. I'm merging this now since you seem to know what you're getting :) I'll try to add a note to the documentation about this behaviour (the lack of any additional synchronization when suspending). Please keep us updated about how this works in your use case.


Automate compiler plugin testing

Description:
Automate compiler plugin testing for JMS module.
Suggested Labels:
Type/Improvement
Affected Product Version:
wso2/jms:0.6.0

Closing this since the issue is no longer valid.


Preparation phase

Motivation for changes:
Plugins that have config modifying operations (include, configure_series and templates currently) trigger task.config+changed flag, but only after start phase is done. Other plugin that rely on this data need to either catch it on a later phase (like input) or ignore it, and both of this options suck.
By adding a new preparation phase to occur before start, the correct behavior of checking if config has changed in start phase can still be used.
Detailed changes:

Added preparation phase before start phase
Moved include, templates and configure_series operations to occur on that phase
Changed config check on Task to occur after preparation instead of start
Reinstated the logic in series plugin and remeber_rejected to occur at start phase

Addressed issues:

Hopefully Fixes #1865

It seems to work fine. As for rerun, I disabled it as I don't think it makes sense to run prepare on rerun


git-labels does not always persist all labels

I've been testing the usage of git-labels-cli today, as I'd like a simple version of GitHub label management that I can have run during my CI builds to ensure labels are always up-to-date on our project.
However, I'm noticing that after git-labels-cli removes all labels it doesn't always successfully create the new ones. This is certainly problematic if I'm going to use this during automated builds. Sometimes after I run the script I have 13 out of 16 labels, sometimes it's 14, 15, and sometimes it's the full 16.
I'm also seeing this error occasionally:
git-labels --file .github/labels.json marcaddeo/Test-Labels
> Error! Validation Failed (422)

Do you have any ideas on how to stabilize this to ensure labels are always created as outlined in my labels file? It's important to me that these operations be idempotent so I can use them in an automated fashion.
Thanks!

Hmm.. Actually, now that I think about it your tool may not fit my needs because it always removes existing labels instead of potentially updating them. This is problematic if I'm running this in an automated fashion since the existing labels will disappear from existing issues and pull requests.
This bug is still valid, but perhaps I may need to look into another tool.

Thanks for reporting the bug!
I have to take a look on the Github API and make the necessary changes so fix this.

it always removes existing labels instead of potentially updating them.

It always deletes all labels, which might not be the best solution, if you find a better solution for this. Please, share here so we can tweak the lib.

I think ideally, and I think there’s a couple other tools that do this as well, it would check if the label already exists and if it does only update the description/color.
Looks like labels are keyed by name and can be updated with PATCH: https://developer.github.com/v3/issues/labels/#update-a-label

for example I have label doing and want to update to in progress, how would I know that I need to update the doing label to in progress?

You wouldn't. You'd have to pull a list of all the current labels, cross reference with the labels.json. If anything is in labels.json but not in GitHub it would POST them in GitHub. If it's in GitHub but not in labels.json it would DELETE them from GitHub. If it's in both labels.json and GitHub, it should PATCH the existing one.


Is it possible to play a mp4 video?

I tried this, but it does not seem to play the video:
[![Video]](/files/video.mp4)

I don't think .mp4 files work on markdown. However, you can convert the video into a .gif file which does work in markdown. Check it out!

Thanks for the work-around. Another way I found is to upload the video to Youtube and then embed the youtube link following:  https://support.google.com/youtube/answer/171780?hl=en

There is no problem using html in markdown and include a line like
<video src="https://raw.githubusercontent.com/github_username/github_username.github.io/main/files/video.mp4" controls="controls" style="max-width: 700px;">
</video>

where you upload the .mp4 into /files in your repository (or any other path)


Add support for Debian 7 and 8

Module should support Debian 7 (wheezy) and 8 (jessie) which are supported by Sensu.

Released in v2.12.0


fix: role changed to current user - migrations

Role need to be created or handled before, CURRENT_USER (or SESSION_USER) will handle this problem dynamically

Gracias


add a way to play the iwads for original doom that come with doom eternal

Feature Request
doom eternal comes with the original doom iwads, which can be played in the game itself. i was wondering if it would be possible to launch doomrunner through luxtorpeda to be able to play the original games, either attached to doom eternal or gzdoom engines flatpack that is installed on the steam deck.
Or perhaps give us the option to add any runner to any game manually added. That way i could add doomrunner to gzdoom and use the iwads i got from my doom eternal installation.
Solution
See above.
Additional Context
No response

@eskoONE Can you see if this works? https://pastebin.com/vUW9dzM4
The way to use this is go into the compatibility tools folder and then luxtorpeda and find the config.json file. Then set "should_do_update" to false. Then take the contents of the pastebin link above and replace ~/.cache/luxtorpeda/packagesruntime.json
That should cause it to launch doom runner and then you can use the wads there.

yes, it starts but whenever i close the game and open it again, it seems to install gzdoom anew? i dont know if this is a problem or not yet. doomrunner is out of date. i get prompted to update it.
it also seems like the flatpack version of gzdoom is currently broken anyway with controls not working out of the box. trying to fix that rn.

@eskoONE If you mean that it does not download the engines anymore, but it shows the installing progress, that is normal. The client extracts the engine data each time you launch.
I'll look into updating doomrunner soon. Were you able to launch the wads with doom runner? gzdoom is included as an engine with this, so you shouldn't need to use a flatpak.

i was able to start doom.wad and doom2.wad. i just learned its not a flatpack issue per se but a problem with how gzdoom handles controller input. you can learn more about it if you are interested here . i havent tired running a mod yet. ill try and report back in a second.

@eskoONE It looks like they are working on releasing another doom runner  very soon, and I've setup a watch for the releases on github, so once it's released, I'll update here.
https://github.com/luxtorpeda-dev/packages/commit/431e861e885ca82b4b8c9b87bd293fdf2d58dc5e adds the support that you tested, so should be good to go there. Let me know if you run into any issues.
I have a custom gzdoom config that I'm setting up that has some stuff that can help with controller support (if you didn't already have a gzdoom.ini file), although it sounds like the engine could still use some work there.

@eskoONE It looks like they are working on releasing another doom runner very soon, and I've setup a watch for the releases on github, so once it's released, I'll update here.
431e861 adds the support that you tested, so should be good to go there. Let me know if you run into any issues.
I have a custom gzdoom config that I'm setting up that has some stuff that can help with controller support (if you didn't already have a gzdoom.ini file), although it sounds like the engine could still use some work there.

Id be interested in your gzdoom.ini. Im kinda a bit overwhelmed with configuring it on the steam deck. Where and how would i even add it to my installation though?
Also, is there a reason gzdoom gets unpacked on every start? Can these files not be permanent? Im a bit concerned with the longevity of the ssd. Also, in the wads section in doomrunner there are other .pk3 files, which are mods i assume. Im not sure where they are coming from. They are not supposed to be in that section either i think. Did you add those?

@eskoONE I think since doom runner is being used, the config won't be setup automatically, but you can see it in the game directory (it'll be called gzdoom_template.ini)
What wads are you seeing, can you send an example? Doom runner I believe searches for wads in the directory, the only ones that luxtorpeda includes is the ones that gzdoom needs.
The unpack happens each time mainly to ensure that the files are always there. It shouldn't have an issue on each launch, but it's something that could be disabled in the future, as a feature.

@eskoONE
I added an issue here (https://github.com/luxtorpeda-dev/luxtorpeda/issues/182) to discuss the disabling of the install step on each run as an opt-in option. Whenever I have a chance to look into that further, I'll update that issue.
Also, doom-runner is being built, once this action is finished (https://github.com/luxtorpeda-dev/packages/actions/runs/3578800279), it should be live. It'll probably be a few hours after this comment.

@eskoONE I think since doom runner is being used, the config won't be setup automatically, but you can see it in the game directory (it'll be called gzdoom_template.ini)

Im a bit confused here. Does this mean your gzdoom config is already shipping with the engine? If so, the linked template is your modified version?

What wads are you seeing, can you send an example? Doom runner I believe searches for wads in the directory, the only ones that luxtorpeda includes is the ones that gzdoom needs.

Im seeing gzdoom.pk3, game_widescreen_gfx.pk3, brightmaps.pk3, lights.pk3 and game_support.pk3. These are under the "select iwad" section in doomrumner though. I never ran any of these mods in my games and never had any issues. Are you sure those are mandatory?
Regardless of that, they should be listed under "add mods" in doomrunner, so you can actually enable them.

The unpack happens each time mainly to ensure that the files are always there. It shouldn't have an issue on each launch, but it's something that could be disabled in the future, as a feature.

I saw you plan to add this as an option in the future. Thanks!

@eskoONE
For those wads, they aren't mandatory to run, they are just part of the gzdoom download, so they shouldn't hurt anything.
For the config file, the template I linked is the one that gzdoom can use, but when you run through doom-runner, it does not take affect. My gzdoom config is only for luxtorpeda, but if you ran a game directly with gzdoom (such as the original doom), it would take affect if you didn't already have a config set at ~/.config/gzdoom


Globalized config

Just tried to make it a bit cleaner and easier to maintain and customize.
Check it out, maybe you like it.

Thank you :) Good work!

Would you be interested in extending this script even more?
I thought for example about making caddy a service, moving the configuration to /etc and the web root to /var/.

yes, good thoughts. It's still in beta and I'll extend it be more pro. I just got so sick, will work on it after I get well. You can help if you want to. It's open source.


To create new operator functions

I need to add some new operator functions. Is there a way to do it? Also the exponential function is not working and it stops the kernel.

Hey,
Alas you can't add operators yourself. New operators have to be implemented in the core XGP library. What operators did you have in mind? Yeah the exponential function probably produces plus infinity values.

Max, Thanks for your response. I was looking for inverse and modulus function. One more clarification, the XGPClassifier uses sigmoid func to filter out probabilities and it seems the threshold value is ~0.6. Please correct me if I am wrong. I need this in a project. thanks!

Hey,
I'll implement these functions soon!
What do you mean by the threshold value is ~0.6? Do you mean it's not predicting anything higher? If that's what you mean then it's probably just bad/good luck! I'll implement a method so that you can get the raw output and then apply the sigmoid transform yourself.

The classifier predicts 1 when the predict_proba values are >0.6. Hence the threshold value 0.6. I think the model.program_str_ expression when evaluated and transformed using sigmoid func gives predict_proba values. Please correct me if I am wrong.

Well if you look here the threshold is at 0.5. The program_str_, when evaluated, gives the raw values so don't worry.

Oh. Ok. Thanks a lot for clarification.

Hey, quick question: by modulus function do you mean the absolute value |x| or actually x % m?

On Tue, 5 Jun 2018 at 23:00, Max Halford<EMAIL_ADDRESS>wrote:

Hey, quick question: by modulus function do you mean the absolute value
|x| or actually x % m?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MaxHalford/xgp-python/issues/1#issuecomment-394858496,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeXnJS7S9kqn4aV814BmIaTJgvWdfX32ks5t5vFcgaJpZM4UXBZg
.

Hi, I meant absolute value of x. Thanks for taking it into consideration.

Okay cheers, I'm doing it now.

Hey Max,
I asked you earlier about exponential operator and tried it on standardised data transformed by standard scalar() but still the kernel is crashing. Does the backend implementation of exp has issues?

Hey,
I don't think it has. But it's pretty likely that it overflows because the exponent is too high.


Supports GraphqlWebClient

Recently armeria supports GraphqlService as graphql for server side.
armeria can also provide graphql for client side. (e.g. GraphqlWebClient)

I'm waiting for #3757 to be resolved proactively.


Wrong data type for doubles with integer-like values

If an entity in a table has a property with an integer-like double value (for example, 123.0), the value is incorrectly interpreted to be an Int32 value whenever entities are queried from the table. This includes listing tables in the explorer, export, and table copy.
This can lead to failures in table copy or import, because some integer-like double values exceed the range of Int32.

See Azure/azure-sdk-for-js#19899.

A possible workaround is to apply a custom pipeline policy that inserts the expected data type for Double values before the response body gets parsed.

Workaround described as above is sufficient for the time being. I'm keeping this issue open for now, as a solution from the platform or SDK is preferable.

Since this is not likely to be fixed in the library or service anytime soon, I'm going to close this issue, but I'll keep an eye on the client library issue.


Automatic deployment deletions

Hello,
That's really great new feature but the documentation does not cover all.

I have registred the feature flag and opt out from automatic deletions. I would like to opt in again, how could I do it?
Do i understand this well, it deletes deployments on resource group and subscription level? What happened if my ARM template is creating, let's say, 25 new deployments. I have reached the 790 limit and automatically 10 is being deleted. So I will still hit the limit.
Can we somehow customize the number of deployments that are being deleted per subscription?

Thanks,
Rafal

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

ID: 33dbe714-4b2a-d075-432d-ed335d2d8f5c
Version Independent ID: 6e320d60-5629-bb9b-c49b-92a1fa5ba56d
Content: Deployment history deletions - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/deployment-history-deletions.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@roofiq Thanks for your comment! We will review and provide an update as appropriate.

Tagging @mumian for visibility and to help provide insights.

@roofiq Thanks for reaching out!!
1)You can use  REST API to opt in automatic deletions of deployment for now.
2)If your resource group is already at the 800 limit, your next deployment fails with an error. The automatic deletion process starts immediately. You can try your deployment again after a short wait.
For customizing the deployments, I believe there isn't an option to do currently. I would recommend you to navigate here and share your feedback or suggestions directly with the responsible Azure feature team and clicking the vote button of your suggestion to raise visibility and priority on it.
Hope this helps!!

@roofiq Just following up to check if you need further assistance on this issue.

@roofiq We will close the issue for now. If there are further questions , please revert and we will be glad to assist you.

@roofiq - thanks for this feedback. I am adding the unregister commands to this article.


Extracting generic return type's actual runtime type

With this change, extracting the actual return type of the generic super class's methods generic return type became possible. Please consider this PR.
If there is a better solution for this, please let me know.

Sorry, I missed the java version...

We are using java 1.7, not 1.8.  I think this makes this PR not possible, please reopen if that's not the case and change the java version to 1.7

With my last commit, I changed the version back to 1.6, and travis succeeded as well.


[BUG] Unable to import AsyncOpenSearch from opensearch-py v2.2.0

What is the bug?
I tried to replicate the code from this issue #172 and encountered a problem when trying to import AsyncOpenSearch.
ImportError: cannot import name 'AsyncOpenSearch' from 'opensearchpy' (C:\Users\elami\.virtualenvs\testing-opensearch\lib\site-packages\opensearchpy\__init__.py)
How can one reproduce the bug?

Install the opensearch-py library using pip install opensearch-py or pip install --upgrade opensearch-py.
Try to import the AsyncOpenSearch class using the following import statement:
from opensearchpy import AsyncOpenSearch

What is the expected behavior?
The AsyncOpenSearch class should be imported successfully without any issues.
What is your host/environment?
Tested both on Windows 11 and Ubuntu 22.04
Do you have any screenshots?
Not applicable.
Do you have any additional context?
I have the following opensearch-py library version installed:

Name: opensearch-py
Version: 2.2.0
Summary: Python client for OpenSearch
Home-page: https://github.com/opensearch-project/opensearch-py
Author: Aleksei Atavin, Denis Zalevskiy, Rushi Agrawal, Shephali Mittal
Author-email<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>License: Apache-2.0
Location: c:\users\elami.virtualenvs\testing-opensearch\lib\site-packages
Requires: certifi, python-dateutil, requests, six, urllib3
Required-by:

Python version on Ubuntu: 3.8.10
Python version on Windows: 3.10.7
Despite installing and upgrading the library, the import issue persists.

pip install aiohttp, then try import again. Let me know if it works.

@margulanz thanks! It worked like a charm.

Do we have a bug/problem in opensearch-py?


Remove inconsistent top-level document helpers

I think these helpers are more harmful to the developer experience than helpful as they pollute the global scope and are inconsistent with every other usage of package:web. It was more acceptable when they were guarded behind the helpers.dart library, but now there's no way to avoid these without explicitly hiding them.

I kinda agree here. Ugh. Can we add factories w/ implementations to extension types

Can we add factories w/ implementations to extension types.

Yep! Or any other static method. That would be preferable to this as they would be scoped and more consistent. I think there's other potential designs to consider as well.

That's WAY more discoverable!!!

Hmm, this is a tough call. I do think these members are a better way to instantiate elements as it avoids the need for a string, but I recognize that they pollute the namespace.
While we can put them into the extension types, that'll require some manual intervention in the generator scripts. If the methods to create them aren't consistent (for example, createCanvasElement does more than just createElement), then that further makes the generator ugly.
On the other hand, we can't really put them into extensions as:

Factories are not allowed into extensions.
static members are namespaced by their extension name instead of the type's name e.g. HTMLElementExtension.create, which is kind of ugly.

I do think these members are a better way to instantiate elements as it avoids the need for a string.

I don't disagree there, but as a developer, I would ask why do I create a HTMLIFrameElement or HTMLCanvasElement this way, but the 200 other HTML elements the other way. And adding one of these for each element won't work.

...for example, createCanvasElement does more than just createElement.

I'd argue that it probably shouldn't. In the current naming standards and setup of this package, it's relying heavily on being consistent with the experience in JS. So users familiar with JS or those reading docs like MDN provide can be applicable for uses here.

I'll add that my preferred method of creating elements would be something like:
void main() {
  final canvas = document.newCreateElement<HTMLCanvasElement>();
}

extension on Document {
  T newCreateElement<T extends HTMLElement>([JSAny? options]) =>
      document.createElement(magicTypeToName[T]!) as T;
}

// This would be replaced with some magic:
const magicTypeToName = {
  HTMLCanvasElement: 'canvas',
  // ... Continued
};


After some time stops working.

I'm starting seaweed as per Wiki:
docker run --name weed -d -p 9333:9333 -p 8080:8080 -p 18080:8080 \
  -v /opt/weedfs/data:/data chrislusf/seaweedfs server -dir="/data" \
  -publicIp="$(curl -s cydev.ru/ip)"

and after some time running it fails with this error:
I0218 09:21:16     1 node.go:256] topo:DefaultDataCenter:DefaultRack removes <IP_ADDRESS>:8080
I0218 09:21:16     1 volume_grpc_client_to_master.go:45] heartbeat error: rpc error: code = Unknown desc = Raft Server not initialized!
E0218 09:21:16     1 master_grpc_server.go:252] topo leader: Raft Server not initialized!
I0218 09:21:16     1 masterclient.go:88] master failed to receive from <IP_ADDRESS>:9333: rpc error: code = Unknown desc = raft.Server: Not current leader
I0218 09:21:16     1 masterclient.go:116] master failed to connect with master <IP_ADDRESS>:9333: rpc error: code = Unknown desc = raft.Server: Not current leader
E0218 09:21:17     1 master_grpc_server.go:252] topo leader: Raft Server not initialized!
I0218 09:21:17     1 masterclient.go:88] master failed to receive from <IP_ADDRESS>:9333: rpc error: code = Unknown desc = raft.Server: Not current leader
I0218 09:21:17     1 masterclient.go:116] master failed to connect with master <IP_ADDRESS>:9333: rpc error: code = Unknown desc = raft.Server: Not current leader
E0218 09:21:18     1 master_grpc_server.go:252] topo leader: Raft Server not initialized!
I0218 09:21:18     1 masterclient.go:88] master failed to receive from <IP_ADDRESS>:9333: rpc error: code = Unknown desc = raft.Server: Not current leader
I0218 09:21:18     1 masterclient.go:116] master failed to connect with master <IP_ADDRESS>:9333: rpc error: code = Unknown desc = raft.Server: Not current leader
E0218 09:21:19     1 master_grpc_server.go:252] topo leader: Raft Server not initialized!
I0218 09:21:19     1 masterclient.go:88] master failed to receive from <IP_ADDRESS>:9333: rpc error: code = Unknown desc = raft.Server: Not current leader
I0218 09:21:19     1 masterclient.go:116] master failed to connect with master <IP_ADDRESS>:9333: rpc error: code = Unknown desc = raft.Server: Not current leader

What could cause this?

need to set correct ip.

Very likely you need to clean up /opt/weedfs/data before running it again.

Isn't it the dir containing my data?

Or you can just remove these 3 files or directory:
data$ ls -l
-rw-------   1 chris  staff   28 Feb 18 19:20 conf
-rw-------   1 chris  staff  110 Feb 18 19:20 log
drwx------   2 chris  staff   64 Feb 18 19:20 snapshot

What could cause the issue? You wrote about IP address missing, but I'm not shure what parameter to use. I run the container binded to a single host and it's IP address hasn't been updated. If you were speaking about container's IP address I can't know it on initial start.

seems the IP address was changed somehow.

So I have to setup a static IP address for the docker container inside a docker network? The host IP address never changed.

I can not reproduce your case. Can you show some steps? Did you restart? and how long is "some time"?


Fix Nullpointer Exception

For me, this fixes
https://github.com/eclipse/deeplearning4j/issues/9148
What changes were proposed in this pull request?
A test on null was missing
How was this patch tested?
I tested my change, and now my code works fine, and gives good learning results.

@cyberbeat could you please sign the eclipse CLA? Thanks!

@cyberbeat could you please sign the eclipse CLA? Thanks!

Signed now

Signed now

@cyberbeat  apologies but this isn't complete yet. See the tip:
Please check that each commit has the 'Signed-off-by' footer as part of the commit message. This can be added by checking out the offending commit and using git commit -a -s.
Additional information on contributing to Eclipse projects can be found on the Eclipse wiki under Development Resources/Handling Git Contributions, or under Development Resources/Contributing via Git for new committers.

@cyberbeat  apologies but this isn't complete yet. See the tip:
Please check that each commit has the 'Signed-off-by' footer as part of the commit message. This can be added by checking out the offending commit and using git commit -a -s.
Additional information on contributing to Eclipse projects can be found on the Eclipse wiki under Development Resources/Handling Git Contributions, or under Development Resources/Contributing via Git for new committers.

I would be glad, if someone else could apply this simple change, there is nothing to worry about intellectual properties for such a patch.

I would be glad, if someone else could apply this simple change, there is nothing to worry about intellectual properties for such a patch.

@cyberbeat sorry it's just standard eclipse foundation policy. I know it's a bit annoying, but it doesn't take that long and I'd like you to get credit for what you did.

@cyberbeat sorry it's just standard eclipse foundation policy. I know it's a bit annoying, but it doesn't take that long and I'd like you to get credit for what you did.

Shame I have to close this. I'll work on merging this fix later.

Eclipse has gotten rid of this requirement so I have merged this PR.


SQL is parsed incorrectly when trailing_commas is not set

When parser not set trailing_commas=true in ParserOptions or use BigQueryDialect, the following SQL will be wrongly parse instead of throw an error.
SELECT foo, bar, FROM baz

-- Will be wrongly parse instead of throw an error.

SELECT foo, bar, FROM AS baz

In theory it should throw a error
relevant code
#[test]
fn parse_range_select() {
    let statements = Parser::parse_sql(&GenericDialect {}, "SELECT foo, bar, FROM baz").unwrap();
    println!("{}", statements[0]);
}

Maybe we should detect keyword in parse_comma_separated even if trailing_commas is not set

Maybe @ankrgyl  has some comments about this (I believe he added support for trailing_commas)

Sounds like it may be a bug in the trailing_commas logic!

May be we should  add a else branch in Parser::parse_comma_separated. If trailing commas are not allowed, an error will be reported if commas followed by keywords.


Ingress annotations for Node-RED instances should be separated from core app

Description
At this moment the value of forge.annotations is passed to the NR instances via the environmental variable INGRESS_ANNOTATIONS .
This task aims to separate ingress annotations configuration and allow to define annotations for core app and NR instances independently.
Epic/Story
No response

Duplicates https://github.com/FlowFuse/helm/issues/475


Stream caching issues

I'm seeing situations when even when a stream is live, when you press play, you still get the old, cached video.  It's probably not actually the video that's at fault here, but the browser caching the playlists.  Do we need to randomize the playlist names so they don't get cached?

Going to try to set cache-control headers via videojs.Hls.xhr.beforeRequest.
https://github.com/videojs/video.js/issues/5724#issuecomment-459363403


Fix: Auto-Scroll for Logs

Description:
The auto-scroll effect in the logs is not functioning as intended. It should only trigger when the scroller is within 50 pixels of the bottom, but it currently activates even when the user is at the top and more than 50 pixels away.
Steps to reproduce:

Open the logs section.
Scroll to the top of the logs.
Observe the auto-scroll behavior as new logs are added.

Expected behavior:
Auto-scroll should only occur when the scroller is within 50 pixels of the bottom of the log view.
Actual behavior:
Auto-scroll activates even when the user is at the top of the logs and more than 50 pixels away from the bottom.
Additional context
This issue impacts the usability of the logs, making it difficult to read messages that are being added when the user is not at the bottom.

@jayantbh have raised issue on auto scroll please check is it right or i have to add sometime more, also once checked please assign it to me.


Clicking to skip the splash screens at startup can trigger menu button clicks

When the game starts up, unless they're disabled through the config file, the player is presented with the Lairworks Entertainment and NAS2D splash screens.  The player can click to skip past these and go directly to the main menu; however the main menu still registers these clicks and if the player's mouse just happens to be positioned over a menu button, that button's callback logic will be executed.  This is especially jarring if the player's mouse happens to be hovering over where the Quit Game button is.

Confirmed. It's another one of those "The event is still in the queue even though states are changing so the button will react to it inappropriately".
Going to set all buttons to disabled until the fade is complete, should do the trick.


exports.default in ES5 vs exports["default"] in ES3

I am not sure if I am supposed to run jake LKG, but I did it anyway, so I can immediately use this tsc in my project.
There are 4 new test cases to cover this scenario; some other test cases are just updated to have target: ES5, as I believed that was author's original idea.

Hi @truongsinh, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

CLA signed https://www.docusign.net/Signing/?ti=0bc2cb71ced04773b2b6796a65fbbc39

this looks related to #2387. pinging @billti.

Yes, see the code change in the issue Mohamed linked to.    We shouldn't special case just the one ('default').
This is also a deeper issue than just changing member access from dot to index notation.  For example, anywhere we emit an identifier (i.e. internal module name, class name, etc...), we need to prohibit these additional reserved words as names if emitting for ES3.
There is a closely related issue with there being different reserved words in strict mode (and with ES6 modules & classes being strict by default). I believe @yuit was looking into this.
I have a code review on the issue referenced, but I need to update it since I identified these additional concerns.  Sorry it's taking a while.

I agree with @billti  that this will be more preferable if it is not a special case to "default". To extend this for ES3, you will have to add ES3 reserved word (that is not already ES5/6 reserved word- i.e synchronized, transient, volatile, byte etc) into the SyntaxKind. In the most recent compiler, when an identifier get created and the token is not really an SyntaxKind.Identifier, the property call originalKeywordKind will be set. [See This:] (https://github.com/Microsoft/TypeScript/blob/master/src/compiler/parser.ts#L1491). Then, you would want to check this property and emit using index notation instead of identifier for target ES3.

Please remove changes to the LKG; the team is responsible for updating it.

@yuit @billti is there any ETA for #2387? Because breaking ES3 (at least with modules) is a critical problem for my project. I will update languageVersion === ScriptTarget.ES3 and remove LKG as suggested anyway.

@truongsinh can you update the PR and remove the bin* files

Done, sorry for the procrastination.

merged. thanks @truongsinh


Sync Array only retrieves first item.

Laravel Version: 5.4
Adldap2-Laravel Version: 3.0
PHP Version: 7.1

Description:
Trying to sync the memberof field to a database column, however it's only saving the first item in the member field.
I've found in ImportsUsers.php the handleAttributeRetrieval forces just the first item to be saved.
Unsure on how to override this in my app without changing the vendor files.
Steps To Reproduce:
php artisan adldap:import with a user that has more than 1 memberof items with the sync_attributes active for that field

Hi @JuiceCreative, this is intended.
You'll need to create an attribute handler for this scenario described here:
https://github.com/Adldap2/Adldap2-Laravel/blob/master/docs/auth/syncing.md#attribute-handlers
Once you create on and insert the handler, you can sync the memberof attribute:
public function handle(LdapUser $ldapUser, EloquentUser $eloquentUser)
{
    $eloquentUser->name = $ldapUser->getCommonName();
    $eloquentUser->memberof = json_encode($ldapUser->getMemberOf());
}

Now getting an issue the same as #305
'sync_attributes' => [
      'name' => 'cn',
      'department' => 'department',
      'telephone' => 'mobile',
      'extension' => 'telephonenumber',
      'email' => 'mail',
      App\Handlers\LdapAttributeHandler::class,
  ],

In my app\Handlers\LdapAttributeHandler.php
<?PHP
namespace App\Handlers;

use App\User as EloquentUser;
use Adldap\Models\User as LdapUser;

class LdapAttributeHandler
{
	/**
	 * Synchronizes ldap attributes to the specified model.
	 *
	 * @param LdapUser     $ldapUser
	 * @param EloquentUser $eloquentUser
	 *
	 * @return void
	 */
	public function handle(LdapUser $ldapUser, EloquentUser $eloquentUser)
	{
		dd('We get this far');
		$eloquentUser->groups = json_encode($ldapUser->getMemberOf());
	}

}

Cleared all the caches, and the DD never hits.
SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list' (SQL: update 'users' set 'password' = hashed, 'updated_at' = 2017-05-19 13:30:57, '0' = where 'id' = 209)

Can you try only using the attribute handler and remove all other array values? For example:
sync_attributes' => [
    App\Handlers\LdapAttributeHandler::class,
],

Same error, I had my original solution like that.
It's anytime the handler class is added to the sync_attributes array.

Bizarre, just tried this and works fine as soon as I insert the handler into my config.
Going to try again with a fresh install and see if I encounter this.

Yup, works without issue on completely fresh install. After running through auth setup, just inserted the class into my config and works without clearing any caches or dumping composers autoload.
There must be something going on in your application.

Seemed to be a version issue, completely my fault. I thought I had updated but I was on a 2.* install.
After upgrading and republishing my configs it seems to be giving me something I can work with now. However $ldapUser->getMemberOf() throws an Undefined Method error, I assume this has been changed to getGroups()?
Thanks for your help!


Example in README does not work

The README uses this in its example:
import {DialogService, Prompt} from 'aurelia-dialog';

This does not work: Prompt is not exported.

Good catch forgot to remove that


Installing midi-srd from foundry gives this error

[midi-srd] Metadata validation failed for module "midi-srd": The file "scripts/midiSRD-styles.css" included by module midi-srd does not exist

Here are the errors logged today when attempting to install/run (listed version is 0.2.03)

It seems this error has been around for awhile. I wonder if this repo is dead. Temp fix is go to \AppData\Local\FoundryVTT\Data\modules\midi-srd and modify line in module.json:
"styles": [
    "scripts/midiSRD-style.css"
],

Restart foundry server

From Mr. Primate's Discord server:
"MrPrimate: midi-srd provided a bunch of effects for [Midi-QoL], but isn't supported in v10"

I will be updating the MidiSRD for Foundry v10 soon

Thanks! I just got foundry. I hadn't realized that v10 was still new. Thanks!


Focus on appfile in docs part 3 (w/ ref docs)

As the title said, ref: https://github.com/oam-dev/kubevela/issues/564
Fixes: https://github.com/oam-dev/kubevela/issues/568

@hongchaodeng @wonderflow rebased, please review :-)


UnicodeDecodeError while trying to export song to audio

Error exporting songs

+1

Caused by https://github.com/OpenNBS/pynbs/issues/22. Meanwhile, as a workaround, please try removing all non-ASCII characters from the file metadata (including the imported MIDI filename if it contains that data).


Image of Tube is flipped along the y axis

Describe the bug
When creating a Tube Lithophane the image is flipped along the y axis somewhere during the process.
This is not expected and as a result text as an expample will be backwards.
To Reproduce
Steps to reproduce the behavior:

Import Image
Create Tube Lithophane

Expected behavior
I was expecting that the image does not change the orientation when creating a tube lithophane.
This behaviour does not exist for the Box Lithophane
FreeCAD Version Info:

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: German/Germany (de_DE)

Thanks for pointing this out. I pushed a fix for this. So if you update, the image should now be oriented correctly on the tube.
The Problem was, that the algorithm lays out the Vertices in clockwise order, starting from the positive X axis. This is important so that all Normals point in the right direction.
And then it started with the leftmost pixel and worked its way to the end of the image. So the image was flipped.
The new algorithm starts on the rightmost pixel and works his way to the start of the image. So the orientation is kept as it should be.


Support creating a database user when the container starts

For testing purposes it is really handy to start the container with a database already populated with a user that can be used in the tests. In order not to use the SYSTEM user.
Ideally I would like to run the container with:
docker run -d -p 1521:1521 -e ORACLE_PASSWORD=<your password> -e ORACLE_USER=<your database user> gvenzl/oracle-xe

I know that I can mount a volume with an initial script, but it is way easier to only define the user with an environment variable in the CI (e.g. in GitHub actions).

Hey @filiphr,
Thanks a lot for this request!
I think I understand where you are coming from. You basically want to have an application user ready to connect to and do things with, right? Would it be, for example, good enough to have two new variables APP_USER and APP_USER_PASSWORD[_FILE] that when specified will create that user on the initial database startup, and only the initial database startup so that no one can simply create a new user and connect in an already existing database and potentially compromise it?
Do you plan to do anything special with the user that requires special privileges, or would you be fine with a standard Oracle Database user, meaning having privileges for the most common database operations, such as creating tables, indexes, triggers, views, etc.?

I think I understand where you are coming from. You basically want to have an application user ready to connect to and do things with, right?

Yes this is exactly what I want. I want to have a user that I can use to connect and do things in the DB.

Would it be, for example, good enough to have two new variables APP_USER and APP_USER_PASSWORD[_FILE] that when specified will create that user on the initial database startup, and only the initial database startup so that no one can simply create a new user and connect in an already existing database and potentially compromise it?

Yes having those two new variables is more then enough, and of course only doing it on the initial startup is more than enough for me. My biggest use case is running this on our CI. e.g. this is what we are doing currently and then use it like this.

Do you plan to do anything special with the user that requires special privileges, or would you be fine with a standard Oracle Database user, meaning having privileges for the most common database operations, such as creating tables, indexes, triggers, views, etc.?

I am fine need a standard Oracle Database.

Got it, I'll get on it then.
Btw, can I also persuade you to change :XE to /XE here: https://github.com/flowable/flowable-engine/blob/a5d6f1c090b6fef43f82675384a5e8ed928c9355/.github/workflows/oracle.yml#L57
The : tells the driver to connect to the Oracle instance itself. If you want to, e.g. connect to a pluggable database like XEPDB1 in the 18c image, this will not work with :XEPDB1 because there is every only one Oracle instance.

Btw, can I also persuade you to change :XE to /XE here: https://github.com/flowable/flowable-engine/blob/a5d6f1c090b6fef43f82675384a5e8ed928c9355/.github/workflows/oracle.yml#L57

Of course, just did it in https://github.com/flowable/flowable-engine/commit/aa8c5851f4bbc7a04089cdc5849314c5827d6ff5. I was not aware about the difference between the two. I've mostly used the :XE approach until now. Thanks for the tip.

Getting somewhere :)

And the 18c equivalent (note, the app user is created in the pluggable database XEPDB1):

Implemented.


fix: policy page links styling [LESQ-556]

Description
Music year: 1987

Fix external and internal link styling (blue underline) on policy pages

Issue(s)
Fixes LESQ-556
How to test

Go to https://deploy-preview-3008--oak-web-application.netlify.thenational.academy/legal/privacy-policy or any other policy page
You should see links which are correctly tagged in Sanity are blue and underlined

Screenshots
How it used to look (delete if n/a):

How it should now look:

Checklist

[ ] Added or updated tests where appropriate
[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Design sign-off
[ ] Approved by product owner
[ ] Does this PR update a package with a breaking change

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


Top pages return site error

while looking in google for:
> sumologic subquery compose
all top pages returns:
>  Site is under maintenance!
Slack Message

Closing as this is unrelated to docs. Responded to requester.


remove unused logs

What type of PR is this：

[ ] bug
[ ] feature
[ ] enhancement
[x] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

run starrocks_clang-format


Complete set of changes to enable picolibc by default

This series incorporates all of the patches necessary to switch to using picolibc by default. All of them are also available as separate PRs, this PR is designed to validate that the full set works as desired.
This is intended to have the changes mentioned in #49922

This PR is no longer necessary as #57340 works with no additional patches! I'm going to close it; please feel free to review #57340 if you like.


WIP: Dependent resources

dependent resources
    executeTuples
      ✓ should throw where there is existing executing state
      ✓ should separately dispatch independent resources without creating executing state
      ✓ should dispatch independent resources even if missing from current route
      ✓ should dispatch dependent resources as independent if missing from current route
      ✓ should dispatch dependent resources as independent if their dependencies are not executing
      ✓ should construct an executing state of executing resources and their dependent resources
      ✓ should presume execution mutates executing state and dispatch action from most recent state
      ✓ should remove execution state and throw if executing state is mutated inconsistently
      ✓ should execute dependent and independent resources separately regardless of tuple order
    executeForDependents
      ✓ should do nothing outside of executing state
      ✓ should do nothing where given resource is not executing
      ✓ should revise action for resources in executing state dependent on the given resource
      ✓ should not revise action for itself where given resource is a self dependent
      ✓ should not revise action for resources preceding the given resource in executing state
    getDependencies
      ✓ should return null where given resource has no dependencies
      ✓ should return null where called outside of executing state
      ✓ should return ResourceDependencyError where given dependent resource is not in executing state
      ✓ should return {type:ResourceDependencyError} for dependencies missing from executing state
      ✓ should return {type:slice} for dependencies preceding given resource in executing state
      ✓ should return {type:own-slice} where given resource is self dependent
      ✓ should return {type:ResourceDependencyError} for dependencies following given resource in executing state

resource store
    dependent resources
      endeavour.spa.route-resource-consistency=true
        actions on an independent resource where present on on the route
          ✓ request should operate outside of executing state
          ✓ clear should operate outside of executing state
          ✓ update should operate outside of executing state
          ✓ refresh should operate outside of executing state
        actions on dependent resource where present on on the route
          ✓ request should operate with executing state
          ✓ clear should operate with executing state
          ✓ update should operate with executing state
          ✓ refresh should operate with executing state
          ✓ request should request dependency resource
          ✓ refresh should request dependency resource
          ✓ clear should not clear dependency resource
          ✓ update should not request dependency resource
        actions on depended resource where there is dependent resource on the route
          ✓ request should operate with executing state
          ✓ clear should operate with executing state
          ✓ update should operate with executing state
          ✓ refresh should operate with executing state
          ✓ request should request dependent resource with dependency loading
          ✓ refresh should request dependent resource with dependency loading
          ✓ clear should clear dependent resource
          ✓ update should request dependent resource with dependency not loading

should return ResourceDependencyError where given dependent resource is not in executing state

Change. This is dangerous as user can deconstruct Error as if it's a map.


Remove unused code

Hello! I noticed a small to-do in this function and realized it's not being used at all.

LGTM, thanks for contribution


Correct help description for the project_id argument

Please don't open a new pull request with each round of code review back-and-forth.

My mistake. Won't happen again. I'm new to pull requests, although I have been using git hub/git for quite a while.


Add Nong Song: linenine (resubmit 2, sorry to do it so many times, ive just been told i did it wrong)

Song Name
Cannibal
Artist Name
Tally Hall
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=5_QwMRE-BKc
Direct File Link
No response
Song ID
66901
Start Offset [ms]
No response
Extra
Used in my level under the same name. ID: 108902530

accept


Streaming conformer pruned transducer

A streaming conformer training/decoding/stimulate_streaming decoding pipeline modified from pruned_transducer_stateless;
The model trained with full librispeech by 50 epochs.
decoding with ctc greedy search:

right_context
1
8
16
32
64
full

latency
0.07s
0.35s
0.67s
1.31s
2.59s
*

test_clean
5.60
4.00
3.76
3.75
3.65
3.28

+20 tailing dummy frames
5.52
3.98
3.75
3.75
3.65
3.28

simulate streaming with chunk_by_chunk decoding
5.52
3.98
3.75
3.75
3.65
3.28

test_other
14.07
10.69
9.80
9.48
9.01
8.05

+20 tailing dummy frames
14.00
10.69
9.80
9.48
9.0
8.04

simulate streaming with chunk_by_chunk decoding
14.00
10.69
9.80
9.48
9.0
8.04

Other information could be found in the streaming_pruned_transducer_stateless/README.md in this pr.

nice!  will look to-morrow.


error with mini-css-extract-plugin

using with happypack it will throw TypeError: Cannot read property 'outputOptions' of undefined
I wonder if you could help me with this problem
this is my webpack config
//plugin
new HappyPack(HappyPackCfg.sass),

module.exports.sass = {
  id: 'sass',
  threadPool: happyThreadPool,
  verbose: false,
  loaders: [loader.cssHot,loader.cssExtract,loader.css, loader.postcss, loader.sass]
};

//rule
{
    test: /\.s[c|a]ss$/,
    use: [ getModulePath('happypack/loader?id=sass')]
  }

//loader
module.exports.sass = {
  id: 'sass',
  threadPool: happyThreadPool,
  verbose: false,
  loaders: [loader.css-hot-loader,loader.mini-css-extract-plugin,loader.css, loader.postcss, loader.sass]
};

mini-css-extract-plugin: 0.4.2
webpack:4.18
happypack:5.00

Getting this error as well, similar configuration

https://github.com/webpack-contrib/mini-css-extract-plugin/issues/273
the same issue in different repo

get this error as well

Has this bug been fixed?

Got this error as well, have no idea how to fix it

hi guys, any update about this issue?

any news please ?

the same

just like this:
{
  test: /.css$/,
  use: [cssLoader, 'happypack/loader?id=css'],
},


Scale up/down Hydra resources during Release season

Is your feature request related to a problem? Please describe.
Potential limitation in build resources slowing down staging-next builds.
Describe the solution you'd like
Scale up x86_64-linux and aarch64-linux build machines for ZHF/release purposes.
Scale back down after release.
This is a way to target our resource spending towards more critical time.
Describe alternatives you've considered

Create an independent and dedicated Hydra on staging-next, ZHF/release

Additional context
21.11 Release
@jonringer @nrdxp

:+1: we've scaled up by a handful of machines for ZHF, so I'm going to close this -- if we need more, please re-open or make a new ticket!

@grahamc we can scale down


Remove FL_THIRDPARTYBOT flag completely

Hi!
This flag was used bot-coders in early days of steam release of CS 1.6, as official cs-bots crashed games on entities wearing normal FL_FAKECLIENT flag.
So it's should be replaced with FL_FAKECLIENT.

Actually the THIRDPARTYBOT flag is useful for the Commander role to determine a human comm vs an bot commander since FAKECLIENT flag cannot be used on a bot commander

Thanks Jeefo! I have removed FL_THIRDPARTYBOT, and I also remove FL_FAKECLIENT for the AI commander and it seems to work ok with no side-effects. As @EterniumDev suggests, if we run into problems I'll try re-applying the THIRDPARTYBOT flag just for commander.


[SLIM] Introduce microsoft/Phi-2

https://huggingface.co/microsoft/phi-2
Instructions to run the model:
QUANT=q0f16
MODEL_PATH=/PATH/TO/PHI-2
OUTPUT_PATH=./dist/phi-2-${QUANT}/

mkdir -p $OUTPUT_PATH

python -m mlc_chat gen_config $MODEL_PATH/config.json --quantization $QUANT --conv-template phi-2 -o $OUTPUT_PATH/params

python -m mlc_chat compile $OUTPUT_PATH/params -o $OUTPUT_PATH/model.so

python -m mlc_chat convert_weight $MODEL_PATH --quantization $QUANT -o $OUTPUT_PATH/params

CUDA_VISIBLE_DEVICES=6,7 python -m mlc_chat.cli.benchmark --model $OUTPUT_PATH/params --model-lib $OUTPUT_PATH/model.so --device "cuda:0" --prompt "What is the meaning of life?" --generate-length 256

Note:
There are two conv_template for Phi-2. I don't know which one is better.
QA: "Instruct: \nOutput:"
Chat: "Alice: \nBob:"

We can go with QA one for now

@LeshengJin Really appreciate adding support for this model! However, I tried to validate it and it seems the output is not consistent with that of HF:
HF:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
torch.set_default_device("cuda")
model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2", torch_dtype="auto", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("microsoft/phi-2", trust_remote_code=True)
input_prompt = '''def print_prime(n):
   """
   Print all primes between 1 and n
   """'''
inputs = tokenizer(input_prompt, return_tensors="pt", return_attention_mask=False)
outputs = model.generate(**inputs, max_length=200)
text = tokenizer.batch_decode(outputs)[0]
print(text)
del model

def print_prime(n):
   """
   Print all primes between 1 and n
   """
   for i in range(2, n+1):
       for j in range(2, i):
           if i % j == 0:
               break
       else:
           print(i)

print_prime(20)

## Exercises

1. Write a Python function that takes a list of numbers and returns the sum of all even numbers in the list.

```python
def sum_even(numbers):
    """
    Returns the sum of all even numbers in the list
    """
    return sum(filter(lambda x: x % 2 == 0, numbers))

print(sum_even([1, 2, 3, 4, 5, 6])) # Output: 12

2. Write a Python function that takes

MLC:
import mlc_chat
cm = mlc_chat.ChatModule(model='dist/phi2_q0f32/params/', model_lib_path='dist/phi2_q0f32/phi2_q0f32.so')
output = cm.generate(input_prompt)
print(output)

def is_is_is_is_is_no_list =

    for_aprime numbers:a.example = no = ____
     divided_ranged overrepresented inyoed.
  feature, inclusiveness:
                                                  (nearly

      's =   door:varion island:Vector 'Newton is the target is the rat, the RoyalFill the previous century                                       in the form of function, and is for over the   forgeryard in a                      element.
                                                      out
                                              t

 ional
numerional ional ication is �ult    inalulta larcose
                                            decaisyteng   is considered in the irreg   is  is not the is not def

I think some per-layer debugging would be helpful. Here is a notebook that @rickzx used to debug gpt-2 in SLM: https://github.com/CharlieFRuan/mlc-llm/blob/scratch-branch/gpt2_transformer.ipynb

Hi, @CharlieFRuan thanks for the review! We need to disable pass FuseSplitRotaryEmbedding for Phi-2, since the rotary embedding of Phi-2 doesn't apply to all dimensions of q and k. Here is a fix to skip FuseSplitRotaryEmbedding via attributes  https://github.com/mlc-ai/mlc-llm/pull/1472

Ahh I see, sorry I missed that PR. Thank you!

Shall we get it in given the temporary fix #1472 is merged?

Should be good to merge in

Rebased to the latest commit.


scala 2.10

Is it compatible ? I've read it was ok...
For BIDMat it is ok.
For BIDMach, I get this error message :
./sbt package
[info] Set current project to BIDMach (in build file:/home/ec2-user/BIDMach/)
[warn] Credentials file /home/ec2-user/.ivy2/.credentials does not exist
[info] Updating {file:/home/ec2-user/BIDMach/}bidmach...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 83 Scala sources and 9 Java sources to /home/ec2-user/BIDMach/target/scala-2.10/classes...
[error] /home/ec2-user/BIDMach/src/main/scala/BIDMach/networks/DNN.scala:647: type mismatch;
[error]  found   : net.FCLayer
[error]  required: net.Layer
[error]   		fclayer;
[error]   		^
[error] /home/ec2-user/BIDMach/src/main/scala/BIDMach/networks/DNN.scala:652: type mismatch;
[error]  found   : net.ReLULayer
[error]  required: net.Layer
[error]     override def factory(net:DNN) = new net.ReLULayer;
[error]                                     ^

Could you please explain what you're trying to do?  If its compile BIDMach under scala 2.10, then taht's untried.
I dont think it will work, but it also looks like the errors above come from a partial compilation with old object files. Make sure to "./sbt clean" first, and make sure you copy the BIDMat.jar built for 2.10 into the BIDMach/lib directory.

Spark-EC2 launches Spark with Scala 2.10. Not easy to change the way Spark-ec2 works. I would prefer to compile BIDMach under Scala 2.10
Yes, I did clean before and copied the BIDMat.jar but error remains.

I compiled Spark for Scala 2.11, this solved my issue
http://christopher5106.github.io/big/data/2016/01/27/two-AMI-to-create-the-fastest-cluster-with-gpu-at-the-minimal-engineering-cost-with-EC2-NVIDIA-Spark-and-BIDMach.html#cluster_of_gpu

Turns out all the compilation problems with Scala 2.10 were in the DNN class, which is deprecated anyway (Replaced by the "Net" class). I removed it from BIDMach 1.1.0 onwards. You should be able to compile under 2.10 now. I added the sbt files for both 2.10 and 2.11 in the main BIDMat and BIDMach directories.


Feature Request: install/add script from url.

It would be nice to share my zx scripts with others within my org.
If they could add or install from git or gist that would be great. Also helpful when you switch to a new computer.

I currently have 5 repositories filled with zx scripts. One of them you can find here: https://github.com/pyronaur/zxbs
To clone my zxbs, you need to run this:
ZXBS=~/my_zxb_scripts
git clone git@github.com:pyronaur/zxbs.git $ZXBS
zxb add_source $ZXBS

Because zx allows you to run zx scripts remotely, you could create an installation zx script somewhere on gist and then install as many git repositories as you want.
zxb add_source <path> is going to scan the directory for .mjs files and automatically create all the bin file aliases.
You can confirm that the path has been successfully added by listing all your scripts using zxb ls


Download command not working with arrays

According to my pull request in https://github.com/PufferPanel/templates/pull/28, it seems that arrays in the download command are no longer working with an array of files.
Examples:
not working
{
    "type": "download",
    "files": [
        "https://s3-us-west-2.amazonaws.com/eco-releases/EcoServer_v${serverVersion}.zip"
    ]
}

working
{
    "type": "download",
    "files": "https://s3-us-west-2.amazonaws.com/eco-releases/EcoServer_v${serverVersion}.zip"
}

Do you have an error related to this to help?

Interestingly, the code path tells me that it's an issue with our lib, which that code didn't change in 2.x, but not sure why it works there. I'll put out a patch this weekend to fix it, since it shouldn't have happened.
Thanks for reporting it!


Should this still work with the latest ember?

The authenticator doesn't get registered after I run the ember generate simple-auth-token command...
I know there has been a lot of work around the add-ons area of ember-cli and I wonder if this is because of that?

@wayne-o could you run ember version and report back?

here you go mate:
version: 0.2.2

A new version of ember-cli is available (0.2.3). To install it, type ember update.
node: 0.12.0
npm: 2.7.4

I have noticed as well that my adapters/application.headers never gets called

OK so the issue was i hadn't amended the token name property correctly - apologies for the noise


Explore with smaller patch size

Go from 256 to 128
Or keep the same patch size (256) but use stride

Never close an issue without referencing to the commit that fixes the issue, or if no fix is provided, explain why the issue can be closed.

Stale/no longer relevant with current training method


Loan System Proposal

This proposes a system of statically "loaning" components to other components. This enables component reuse while providing a way of statically checking if the loan is legal. It also acts as a sort of dual to inlining, where a component can swallow another component for some amount of time and control the stepping of that component.
We propose both "caller" and "callee" syntax:
callee:
(define/component foo
  ([left 32] [right 32])
  ([out 32])
  ([X ([in 32]) ([out 32]) ()]) ; take some component matching this signature and call it X
  ( ; structure can use X as a component )
; control can enable X
)

caller:
(define/component bar
  ...
  (; structure
   [new foo1 (foo std_id)] ; pass std_id as the loaned component to foo when instantiating
   ...)
...)

A component is only loaned when the component that it is passed to is enabled. A component can not be loaned to multiple components in the same logical time step.
This proposal enables global memory reuse as well as a way to make FSM generation not break the semantics of Futil.

@sgpthomas close this if the groups proposal overrides this. The one unsolved mystery is how components can loan structure to sub-components.


prediction value processing

hello, I read your paper interestingly and want to ask you a question about the prediction result processing. I would like to ask how to limit the last prediction y^ to be between 0 and 99, or to get it directly from the regression function without any processing?

Hey, thanks for your interest. We do not explicitly limit the output range for regression. For example, in age estimation task the last layer is a fully connected layer without modifications (https://github.com/YyzHarry/imbalanced-regression/blob/main/agedb-dir/resnet.py#L88).

thanks for your reply. So if we do not limit the output range of regression, how can we process the output that is negative or larger than 100 in the infer stage for age estimation task?

To avoid negative outputs you can simply add a ReLU activation, or postprocess the outputs to be non-negative. However I do not recommend limit the output range in general, because in regression we want the model to be able to extrapolate to unseen targets during training (e.g., in training data you only have pics from 20-80 age range, but the model still predicts correct values when input images are out of that range).

thanks for your reply. So if we do not limit the output range of
regression, how can we process the output that is negative or larger than
100 in the infer stage for age estimation task?
On Sun, Sep 4, 2022 at 5:57 AM Yuzhe Yang @.***> wrote:

Hey, thanks for your interest. We do not explicitly limit the output range
for regression. For example, in age estimation task the last layer is a
fully connected layer without modifications (
https://github.com/YyzHarry/imbalanced-regression/blob/main/agedb-dir/resnet.py#L88
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_YyzHarry_imbalanced-2Dregression_blob_main_agedb-2Ddir_resnet.py-23L88&d=DwMCaQ&c=kscRujJyAkQsYKgOOQVwjhZ5JZcK7vY7fLntrz10DKg&r=VdDoNz1tBP4SEy5C-ZX99QQ9vxkewlKXsc3fRWtAR_g&m=MYcCYSpYHuHjbVyliSo08GYyfKBD4jfF4egj5CogOOgygiG37qWzcCmKO5q8Y6mL&s=Ws1TTbX8mzinjcRM1Ssg1m3_NZ373bKcrs2cO24OWTE&e=
).
—
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_YyzHarry_imbalanced-2Dregression_issues_28-23issuecomment-2D1236204168&d=DwMCaQ&c=kscRujJyAkQsYKgOOQVwjhZ5JZcK7vY7fLntrz10DKg&r=VdDoNz1tBP4SEy5C-ZX99QQ9vxkewlKXsc3fRWtAR_g&m=MYcCYSpYHuHjbVyliSo08GYyfKBD4jfF4egj5CogOOgygiG37qWzcCmKO5q8Y6mL&s=IkhomZsXozLQp0LK1r6ZXIgwPOLPwOw4NT9t-A6XBTs&e=,
or unsubscribe
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AQMAJL7KLZQJQ2KGKFM5JNDV4PCVXANCNFSM6AAAAAAQCC2QAE&d=DwMCaQ&c=kscRujJyAkQsYKgOOQVwjhZ5JZcK7vY7fLntrz10DKg&r=VdDoNz1tBP4SEy5C-ZX99QQ9vxkewlKXsc3fRWtAR_g&m=MYcCYSpYHuHjbVyliSo08GYyfKBD4jfF4egj5CogOOgygiG37qWzcCmKO5q8Y6mL&s=Xhzr5g5gReu809hhAGB85bPCjFW1zkmwCKLd_-WW9qk&e=
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
This message and its
attachments are confidential (or legally privileged)
information and are meant
solely for the addressee of such message. Any
unauthorized use of the message /
its attachments is strictly prohibited.


Doesn't load with Manual Install for Windows Atom 1.0.19

For many various reasons, I'm tied to windows for most work.  I've placed the package into the .atom/packages folder, but I get the following error when loading Atom 1.0.19 in Windows (7):
Unexpected token < in C:\Users\<MY_USER>\.atom\packages\language-do-master\package.json
Hide Stack Trace
SyntaxError: Unexpected token <
    at Object.parse (native)
    at parseObject (C:\Temp\Atom\resources\app.asar\node_modules\season\lib\cson.js:54:19)
    at parseContentsSync (C:\Temp\Atom\resources\app.asar\node_modules\season\lib\cson.js:68:16)
    at Object.module.exports.readFileSync (C:\Temp\Atom\resources\app.asar\node_modules\season\lib\cson.js:170:14)
    at Function.module.exports.Package.loadMetadata (C:\Temp\Atom\resources\app.asar\src\package.js:69:29)
    at PackageManager.module.exports.PackageManager.loadPackage (C:\Temp\Atom\resources\app.asar\src\package-manager.js:388:39)
    at PackageManager.module.exports.PackageManager.loadPackages (C:\Temp\Atom\resources\app.asar\src\package-manager.js:369:14)
    at Atom.module.exports.Atom.startEditorWindow (C:\Temp\Atom\resources\app.asar\src\atom.js:667:21)
    at Object.<anonymous> (C:\Temp\Atom\resources\app.asar\src\window-bootstrap.js:12:8)
    at Object.<anonymous> (C:\Temp\Atom\resources\app.asar\src\window-bootstrap.js:23:4)
  at C:\Users\<MY_USER>\.atom\packages\language-do-master\package.json:1:1

Any ideas??
Thanks!

It seems that the file loading blocks because of the >>>>> and <<< inserted in the code. I'm not super familiar with Git but I think those come from a merge conflict that wasn't resolved properly.

weard man... try directly from the app?
Sorry but have no clue of what is happening...


Exactly once automated testing

Summary

Checklist
Delete items not relevant to your PR:

[ ] Unit and integration tests covering the common scenarios were added
[ ] A human-readable description of the changes was provided to include in CHANGELOG
[ ] For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

Could you add instructions on running the tests?


Add missing React hooks: useDebugValue, useImperativeHandle

Hi there! Thanks for making Preact and specifically version X and bringing it so close to React while staying tiny. 👍
As of 10.0.0-beta.0, not all of React's built-in hooks are supported.
I noticed that specifically when trying to use mobx-react-lite which uses useDebugValue.
Besides useDebugValue, I ripgrepped preact for the other hooks documented in the React Hooks API reference and did not find useImperativeHandle in preact yet. However, I'm not aware of any lib using the latter.
I think it would be great if all built-in hooks of React were supported, at least via preact/compat. Specifically for my current needs, it would be sufficient if useDebugValue was available as a noop.

Great work! Thanks guys 🙏


Fixed hash of range

Calculate hash value of range through hash of tuple
Fixes #1482

@coolreader18 @youknowone cc @corona10
Can I get a review?

note for reviewer: cpython range hash https://github.com/python/cpython/blob/master/Objects/rangeobject.c#L462-L510

Nice!


Node Version End-of-Life

Good day. I have started to receive a warning on the Node version being end-of-life. Is this something you update? (I use this task in all my pipelines and it is brilliant).
The actual warning message i get is shown below….
##[warning]Task 'Terraform Load Output' version 1 (TerraformOutput@1) is dependent on a Node version (10) that is end-of-life.
Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance

Here for the same reason.

Ditto!
It's not just this task, we are also getting this with AWS Toolkit for Azure DevOps and the Terraform extension.

This has been resolved in version 1.2.2 of the plugin - please visit your Azure DevOps extension page to update

@JaydenMaalouf Thank you!


coap: finally get rid of hardcoded packet sizes at sending side [v2]

We're abusing tinycbor's API, but at least we get to incrementally bump
a CoAP packet's buffer size (that should not happen frequently, since
the growth is exponential and it starts with a guessed typical OIC/cbor
payload size).
I chose to change struct sol_oic_repr_field field names so that a macro
could handle both scalar field and key cases of cbor encoding.
Signed-off-by: Gustavo Lima Chaves<EMAIL_ADDRESS>
Changes since #1579:

enlarge_buffer() code got slightly smaller, with the switch() being possibly evaluated more than once
struct sol_oic_repr_field had to have fields renamed to ease my life

@vcgomes: better now?

v3 coming