More real-time feedback when SDK dir is correct?

Consider this case:

Change your SDK location in the package's settings
We see a nice blue pop-up (no sdk detected)... yay!
Change your SDK location again, and take focus away from that field

Actual: no persistent signal that the SDK is not configured
Expected: some persistent signal (a red X ?) that the SDK is not configured, and a persistent signal (a green check?) when it is configured.
Notice from this screenshot that there's no good/bad signal about my SDK:

Thanks for the consideration!

I don't believe the setting page is that configurable. I think the limit of the validation we can do is type the fields (int, bool, ...) or set up enums for some settings. Anything dynamic would need to really hack the dom, or we'd need to contribute some extendability to the settings page itself.
We could show the sdk status elsewhere in the UI. We have the status-bar, and potentially the toolbar. One thing to keep in mind is that the user may not be doing dart development all the time. They may have installed the plugin, but might not want to see persistent warnings about it.
Perhaps we show some UI, if we think they're working on a dart project, and there's no sdk configured.

I'd only want to see a persistent YES/NO on the Dart package settings page. Maybe we can ask the Atom devs for more control here.

I did get a green pop-up after entering a correct sdk, so presumably it could do a red one after entering an incorrect sdk, or whenever it tries to use the sdk and can't find it.

From the wild: we just worked with a user that had an incorrect SDK path. There wasn't a visual indication that the SDK path was incorrect.


Article assumes there are Report links on Issue comments

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam#reporting-a-comment
What part(s) of the article would you like to see updated?
There are no "report comment" links on comments on issues.
Additional information
The article assumes that there are.

Thank you for opening this issue, @jidanni! ✨
Just for clarification, you aren't seeing the "Report content" option after clicking the three dots in the upper right corner of a comment? What repositories are you attempting this in?

All I know is...

See? No "report" choice!

@jidanni Thanks for the screenshot!
This may be an issue with your account, but we are unable to know for sure as our Docs team does not have the necessary tools to troubleshoot. However, pur wonderful support team is best equipped to determine what the root cause is ✨ Please reach out to them for assistance!
I'll go ahead and close this issue 💛

They said:

Thanks for contacting GitHub Support!
Who can report content in issues or pull requests in a repository is controlled by your access and previous interactions with the repository - From Reporting abuse or spam:
Owners, collaborators, prior contributors, and people with write access can report issues, pull requests, discussions, and comments on issues, pull requests, discussions, and commits. Anyone can report apps in GitHub Marketplace.

So apparently the general case of users creating issues on unrelated projects is not covered. Thus your document needs to be revised.

@jidanni Thanks for returning with that info! I'll get this up for review by our technical writing team 💛

@jidanni Thanks for returning with that information! Do you have a suggestion regarding what update you would make to the doc? We'll be happy to review whatever you propose 💛

@jidanni Thanks for returning with that information! Given the article our Support team pointed you toward, do you have any suggestions regarding what updates you would make to the doc? We'll be happy to review whatever you propose 💛

Actually my secret motive for posting here, is for GitHub Corporation to realize that anybody should be able to report a comment.
Just like how anybody can dial 911.
If you restrict reporting "privileges" to certain "classes of people", then well, "many fires may not end up getting reported to the fire department."
Yes, you might say

Well, @jidanni, take that up with the GitHub Corporation. We're just the document team. Case closed.

But I'll have you know that I did, but was unsuccessful. So I hereby leave the issue in your laps. Sorry about that. Thanks.

But I'll have you know that I did, but was unsuccessful. So I hereby leave the issue in your laps. Sorry about that. Thanks.

No worries - we appreciate your willingness to voiced your feedback 💛


Move /othermetas to othermetas.js

... and make other metagame commands available in PMs.
Sorry if anythings fucked i am using my old laptop

forgot to tag @TheImmortal


Evaluate compatibility between WASI snapshot 1 and next

Per https://github.com/WebAssembly/WASI/issues/215#issuecomment-1045201297 I found this is the new WASI API in progress
https://github.com/WebAssembly/wasi-filesystem/blob/main/wasi-filesystem.wit.md
Let's check to see if there are signature incompatibilities before we decide if and how to export a WASI go interface

https://github.com/WebAssembly/WASI/issues/469#issuecomment-1045251844 also is interesting as the "rights" concept is being dumped. We should avoid implementing that, but this also hints the new WASI is a different API

found this which hints the next will be named "wasi_snapshot_preview1" https://github.com/sunfishcode/wasi-wiki/wiki/Preview2-Plan
I perused the types and to best of my knowledge they aren't using anything fancy like i128 or externref @sunfishcode can you confirm?

Yes, that proposal is using the component model's set of types which doesn't include 128-bit integer types, and the Canonical ABI, which doesn't use externref.

thanks a lot for the clarification! @sunfishcode

One major change is the decentralization of specs. For example, there's a subspec for clocks  and no shared errno. However, as WASI doesn't require the component module, a monolithic module import as hinted earlier seems implied.
https://github.com/WebAssembly/wasi-clocks/blob/main/wasi-clocks.abi.md
https://github.com/WebAssembly/component-model/blob/main/design/high-level/FAQ.md#how-does-wasi-relate-to-the-component-model
@sunfishcode a couple more questions, just so we can know where to subscribe.

do you know which repo or file inside it will track non-component use of new WASI (Ex a monolithic "wasi_snapshot_preview2" import)?
do you know any implementation that has started work on any of the new WASI components?

One major change is the decentralization of specs. For example, there's a subspec for clocks and no shared errno.

That's right. Avoiding a single shared errno makes it easier for APIs to offer more descriptive error values. I expect wasi-libc will convert various API's errors into a shared errno, for POSIX compatibility.

However, as WASI doesn't require the component module, a monolithic module import as hinted earlier seems implied.
https://github.com/WebAssembly/wasi-clocks/blob/main/wasi-clocks.abi.md https://github.com/WebAssembly/component-model/blob/main/design/high-level/FAQ.md#how-does-wasi-relate-to-the-component-model
@sunfishcode a couple more questions, just so we can know where to subscribe.
* do you know which repo or file inside it will track non-component use of new WASI (Ex a monolithic "wasi_snapshot_preview2" import)?

The component-model repo, which also covers the Canonical ABI, which is the basis for non-component versions of component interfaces. And the wit-bindgen repo, which is where the main implementation of the Canonical ABI is being developed.

* do you know any implementation that has started work on any of the new WASI components?

It's possible to implement wit interfaces using Wasmtime and wit-bindgen, and various people are doing this today. I plan to start work on Wasmtime implementations of the new wasi-filesystem and other new APIs soon.

Thanks @sunfishcode I'll follow the component model repo for any updates on this, and thanks for the hints meanwhile!


Use gpg from our server if keyserver is down

Make the install script independent from the ubuntu keyserver by allowing fallback to ${url}/gpg on failure.
As usual, I did my best with my little knowledge of Bash scripting (which I definitely intend to improve):

It seems || key_installed=$? is the idiomatic way to get a command exit code in the context of set -e.
I don't understand the use of $sh_c "apt-key ... over the more simple apt-key ..., so I kept it as was.

Ping @tianon!

TABS jk nice LGTM

Actually, why not just switch this to use hkp://p80.pool.sks-keyservers.net:80 instead of Ubuntu's mirror directly?  Then we're even better insulated from problems, because pool.sks-keyservers.net is an automated rotation of known-good HKP servers.
That's probably be something worth double-checking that we don't have anywhere else too, like in the docs.

One problem I have with this is that to MITM you, now all I have to do is swap out get.docker.com and block HKP traffic to Ubuntu's server, which isn't at all far-fetched. :smile:

Thanks @tianon, makes sense.
I updated the PR to use the keyserver pool, however I feel like keeping the "last resort" behavior on ${url}gpg, which is now much less likely to be hit. Let me know if that works for you!

LGTM!

From a usability perspective, I'm +1 on the fallback, but from a security perspective, I'm still very, very -1 on it since a MITM would be so trivial.

Thanks @tianon! Fallback removed :+1:

LGTM

@jfrazelle PTAL!

LGTM


opae-sdk:  fix  fpaginfo image info typo

Signed-off-by: anandaravuri<EMAIL_ADDRESS>

Coverage remained the same at 65.338% when pulling f49bc257d39a2bbad4e1d2e336308d21f49e5a1e on aravuri/fix_fpgainfo_typo into f6ede322597ff4cbba37e1d3dd6d4faaa47b0b11 on master.


Error authenticating to IdP: error following: Post "https....."

Disclaimer
This is a public issue. Please do not include any information that is company-specific in your issue. Redact all sensitive information in accordance with your company's policies to ensure you are not leaking any company sensitive information. This includes company identity provider URLs.
Expected Behavior
I am able to enter my credentials and get access to AWS components programmatically for development.
Actual Behavior
ERROR:
ERRO error authenticating to IdP: error following: Post "https://authenticator.pingone.com/pingid/ppm/auth": dial tcp: lookup authenticator.pingone.com: no such host
Steps to Reproduce the Problem

Everything has been working for months. Nothing changed. I did not change anything. However, it seems that on reboot this morning a GE myapps was pushed and now I get this error. Which seems to be beyond the scope of the helpdesk, Mac support and am waiting DIW for the gossamer3 folks to help me.
Try to log in with gossamer3 login from the /usr/local/bin location.
Get error - try everything you can and reboot a ton of times. You will still see this error.

Specifications

Version: 3.1.3
Platform: Mac
Subsystem: Catalina 10.15.7

This is a proxy issue. I am available on teams if this is still an issue.


running locally with back4app giving error

after running the chisel-cms command and pointing to my app at back4app I get an unauthorized error:

Unfortunately Chisel isn’t compatible with other 3rd party parse-server hosts at present, since Chisel requires certain handling of emails and other modules that these providers may not support. There’s also some features which require some cloud code functions.
You should check out our parse-server starter project https://github.com/beachio/chisel-parse-server-starter

Alright I will. Thanks!


Fixes for importing through docker, get tile regression and list collections

@bchapuis can we merge this as the failing tests were not introduced here.

Yes, do it quickly before #365 conflicts with everything 😅


Does the library automatically paginate the wavecanvas if audio is too long?

Hi, I've been assigned an issue that uses the wavesurfer.js library.
This issue is that when an audio is too long, it seems to paginate to the next section of the audio.
Is this a wavesurfer.js related issue or should I look into what the previous dev has done (so far I cannot see anything paginated related).
Is this part of the wavesurfer.js features?

I don't believe wavesurfer.js paginates.
I have only ever seen wavesurfer.js fit the waveform in the div container given to it. It "zooms" accordingly to fit the whole waveform in that div.
If the size of window is increased after waveform is drawn, it does not affect the waveform and stays the same size leaving empty space after the waveform.
If the size of window is decreased, it again, does not affect the waveform, instead the div containing the waveform becomes scrollable horizontally.
This behavior was noted in google chrome browser.

There is a 'scrollParent' option which, if set to true will render the waveform only according to the 'minPxPerSec' option and give you a scrollbar on the container.
See difference:
The first image is rendered with default values i.e. scrollParent: false

The second image is rendered with scrollParent: true and default minPxPerSec i.e. 50

The audio shown in both images is 3 mins long.
Please close this issue if not further discussion is required :)


Support for rendering page/piece HTML fragments

Right now you can get data that is super useful for DIYing the presentation, but sometimes you'd like Apostrophe to render an area or areas for you. Implement that, including a solution for providing the templates that get used.

This got folded into #10.


Verify hp urls are correct

probably have to add a base option to the urlManager

superceded by https://github.com/BostonGlobe/elections-2016/issues/499


Dynamic routing - connecting everything the right way (help wanted)

Hello,
I'm working on integrating some dynamic routes, following the doc
I manage to have the route trigger the saga (it would seems I'm also having this issue but this is not the problem I'm having right now).
My issue is that instead of actually getting the value from :slug in my saga, I get 0 (Number)
The router has the right data and 'knows' the value :slug
I'm new to redux and sagas, I have no idea where this is coming from or how to go about diagnosing.
routes.js :
(...)
    }, {
      path: '/profile/:slug',
      name: 'userProfile',
      getComponent(nextState, cb) {
        console.log('loadign dynamic route profile/: ; nextState', nextState)
        const importModules = Promise.all([
          System.import('containers/ProfilePage/reducer'),
          System.import('containers/ProfilePage/sagas'),
          System.import('containers/ProfilePage'),
        ]);

        const renderRoute = loadModule(cb);

        importModules.then(([reducer, sagas, component]) => {
          injectReducer('profilePage', reducer.default);
          injectSagas(sagas.default);
          renderRoute(component);
        });

        importModules.catch(errorLoading);
      },
    }, {
(...)

sagas.js
export function* getUserData(slug) {
  /** this is my problem : */
  console.log(' *getUserData slug', slug) // outputs:  0

  const requestURL =
    `https://localhost/projects/neoapi/${slug}/GET.json`

  const userprofile = yield call(request, requestURL);
  console.log('userprofile', userprofile)
  if (!userprofile.err) {
    yield put(getUserProfileDataSuccess(userprofile));
  } else {
    yield put(getUserProfileDataFail(userprofile.err));
  }
}

/**
 * Watches for LOAD_PROFILE actions and calls getUserProfileData when one comes in.
 */
export function* getUserDataWatcher() {
  const { slug } = yield take(LOAD_PROFILE);
  console.log('getUserDataWatcher(slug)\'s slug', slug)
  yield call(getUserProfileData, slug);
}

/**
 * Root saga manages watcher lifecycle
 */
export function* userData() {
  // Fork watcher so we can continue execution
  const watcher = yield fork(getUserDataWatcher);

  // Suspend execution until location changes
  yield take(LOCATION_CHANGE);
  yield cancel(watcher);
}

// Bootstrap sagas
export default [
  getUserData,
];

Here is a screenshot of the browser console output:

Any help would be greatly appreciated

This is how I do it with a slug called roomId:
actions.js
Make sure the action has an argument (roomId) and that it's passed on in the action
export function fetchRoom(roomId) {
  return {
    type: FETCH_ROOM,
    roomId,
  };
}

routes.js
Dispatch the action and inject the slug. Actions imported in importModules
store.dispatch(actions.fetchRoom(nextState.params.roomId));
sagas.js
export function* getRoom(action) {
  const roomId = action.roomId;
  let room = yield select(selectRoom(roomId));
  if (room) {
    yield put(roomLoaded(room)); // Update global room
  }
}

export function* showRoom(action) {
  console.log('show ', action.room)
}

export function* getRoomWatcher() {
  yield fork(takeLatest, FETCH_ROOM, getRoom);
}

export function* roomData() {
  const watcher = yield fork(getRoomWatcher);
}

// Bootstrap sagas
export default [
  roomData,
];

I setup most of my sagas like @kylesavant did. Note that the takeLatest effect will pass on the arguments so it might seem like magic how the 'action' param makes it the getRoom method.
One thing to correct in your example would be to replace your default export in the saga to userData, not getUserData. Currently it is bypassing the watcher generators so it's correct that the slug is 0.
Also be sure that your LOAD_PROFILE action creator is dispatching the slug value so the getUserDataWatcher can grab it and pass it on to call what I think should be the getUserData generator, not getUserProfileData.

Hello @kylesavant, thanks for the example, it made things more clear for me. My action was ok, the problem was that I did not dispatch anything - this boilerplate is so awesome that I might have excepted to do it automagically... :)
An as @jeremyadavis noticed I was trying to call unexisting function 'getUserProfileData' and also not exporting the correct generator as default export.
This is working now.
Thanks for your help
I'm still a bit un clear on the saga conceling, shouldn't the saga for my 'profilepage' container/route be canceled on 'LOCATION_CHANGE' when it's not needed anymore ? Or is 'something' actually automagically taking care of this ?
I'll leave my updated code here for the next one it might help :
sagas.js :
/**
 * Gets the profile data of a user
 */
import { takeLatest } from 'redux-saga';
import {
  take,
  call,
  put,
  fork,
  cancel } from 'redux-saga/effects';

// import { LOCATION_CHANGE } from 'react-router-redux';

import {
  LOAD_PROFILE,
} from './constants';

import {
  getUserProfileData,
  getUserProfileDataSuccess,
  getUserProfileDataFail,
} from './actions';

import request from 'utils/request';

export function* getUserData(action) {
  const requestURL =
    `https://localhost/projects/neoapi/user/${action.slug}/GET.json`

  const userprofile = yield call(request, requestURL);
  if (!userprofile.err) {
    yield put(getUserProfileDataSuccess(userprofile));
  } else {
    yield put(getUserProfileDataFail(userprofile.err));
  }
}

/**
 * Watches for LOAD_PROFILE actions and calls getUserData when one comes in.
 * By using `takeLatest` only the result of the latest API call is applied.
 */
export function* getUserDataWatcher() {
  yield fork(takeLatest, LOAD_PROFILE, getUserData);
}

/**
 * Root saga manages watcher lifecycle
 */
export function* userData() {
  // Fork watcher so we can continue execution
  const watcher = yield fork(getUserDataWatcher);
}

// Bootstrap sagas
export default [
  userData,
];

actions.js :
(...)
export function getUserProfileData(slug) {
  return {
    type: LOAD_PROFILE,
    slug,
  };
}
(...)

routes.js
(...)
}, {
      path: '/profile/:slug',
      name: 'userProfile',
      getComponent(nextState, cb) {
        const importModules = Promise.all([
          System.import('containers/ProfilePage/actions'),
          System.import('containers/ProfilePage/reducer'),
          System.import('containers/ProfilePage/sagas'),
          System.import('containers/ProfilePage'),
        ]);

        const renderRoute = loadModule(cb);

        importModules.then(([actions, reducer, sagas, component]) => {
          injectReducer('profilePage', reducer.default);
          injectSagas(sagas.default);
          renderRoute(component);
          store.dispatch(actions.getUserProfileData(nextState.params.slug))
        });

        importModules.catch(errorLoading);
      },
    }, {
(...)

@denisflorkin how do you wait until the async operation is finish to trigger the route change ?
I've tried to play with https://github.com/jfairbank/redux-saga-router but I can't get integrated on top of react-boilerplate.

Hello @kopax, if I understand correctly, I'm not waiting. I change route immediately and the 'page' component that is the target of the route change (here: ProfilePage) handle displaying a loader if the data aren't there yet

@denisflorkin Thanks for sharing your code in depth. Reading this was much clearer than the doku on the topic: https://github.com/react-boilerplate/react-boilerplate/blob/master/docs/js/routing.md#dynamic-routes

@rentrop glad this could be of help :)

@denisflorkin @kylesavant  Would it be possible to share your project or explain what you did? Because for some reason it still doesnt work for me. I will share my code in a bit.

This thread was very helpful to me...I suggest using it to amend the outdated (with broken links) routing.md README.

Hello guys,
I was facing the same issue, this post really helped me solve it.
There is another issue which is regarding the initial render.
When I use dynamic routing and change the routes, The initial render still shows the old state data. Can anyone help me with this, here is the link to my routes.js


Fix docs for attachment MAX_SIZE default value

In the documents, the [attachment] MAX_SIZE default value should be 4.
Reference the source code modules/setting/attachment.go line 29.

I have found the #28100 change modules/setting/attachment.go line 16 MaxSize from 4 to 2048. It is correct???

Maybe it is the #28100 forget change the modules/setting/attachment.go line 29 from 4 to 2048 ??

It should be 2048.

@lng2020 have changed


How to config  programmatically ?

Hi,
Somebody can help me,
I'm using v1.0.0-beta3 and I have routes defined programmatically: like
export const routes = [
    {
        path: 'login',
        component: require('./components/Login.jsx')
    }, {
        path: '*',
        component: require('./components/NotFound.jsx')
    }
];

How can I define a [Redirect] (https://github.com/rackt/react-router/blob/master/doc/01 Route Configuration/Redirect.md) programmatically?, I can't find examples for it,..
I'm trying to use it since <DefaultRoute ... seems is deprecated,..
Best Regards.

https://github.com/rackt/react-router/pull/1736#issuecomment-138982036


Quick fix for a Chrome Warning about wheel event that should be declared passive

Hi! Just change line 111 of webaudiocontrols.js by this will remove an ennoying warning in Chrome about "you should declare wheel event as passive":
  this.addEventListener("wheel",this.wheel**, {passive: true}**);

Thanks in advance !
Michel

I can not reproduce the warning because I do not know what the warning will be issued, but ...
In my understanding {passive: true} means that preventDefault() has not been called in handler, so in this case {passive: false} is correct? Will the warning disappear even though {passive: false}?
https://developers.google.com/web/tools/lighthouse/audits/passive-event-listeners?hl=en

This warning disappeared in my chrome. Or maybe I added the fix I suggested. I'll check and keep you informed...

I added {passive: false} to try.
I will investigate again if problems remain.


Remove missing docker compose and examples references from readme

The Examples section should become valid once https://github.com/HotelsDotCom/flyte/pull/5 is merged.


ext_proc: respond with 504 to downstream on timeout

Commit Message: ext_proc: respond with 504 to downstream on timeout
Additional Description: Return 504 Gateway Timeout to downstream on timeout errors.
Risk Level: Low
Testing: Local build and a slow extproc implementation.
Fixes https://github.com/envoyproxy/envoy/issues/34843

/wait

Not sure why it fails checks/start.
/retest


Secured services not sending token when reconnecting and submitting attachments

I was able to reproduce this using a hosted feature service that is not shared publicly. When going back online, it submits and sends a token for the feature but does not send a token for the attachment so it fails.
It seems like when going back online and submitting attachments, it needs to send a token along if necessary.
Esri/geoform-template-js#106

@driskull Thanks. It looks like attachmentsStore.js needs to explicitly manage the attachments token. My guess is the current architecture simply doesn't understand how to handle it.

@driskull Like we discussed, I've gone ahead and moved this to v2.6 since it is dependent on v2.5.
This needs some additional investigation into the following use cases:

Support for token-based authentication, only.
Gracefully handling any failure on an HTTPS connection. E.g. expired token. Note: v2.5 keeps edits and basic information on edits that fail to sync with server. It also emits a specific event when there is a failure to sync any edits. This may need some additional enhancement to store error information.
Need to respect and store information related to FeatureLayer.credential.

References:

http://doc.arcgis.com/en/arcgis-online/administer/configure-security.html
https://developers.arcgis.com/javascript/jshelp/ags_secureservices.html


Gives the previous cursor in the scroll block

In addition to the next cursor, blocks in Mongo::Scrollable#scroll and Mongoid::Criteria::Scrollable gives an additional cursor with allow to fetch records before the first one returned.
The previous cursor is created based on the first record with a previous flag set to true. For example, if we have Feed::Item with a name from 0 to 3, we have this behavior :
cursor = nil
first_previous_cursor = nil

Feed::Item.asc(:name).limit(2).scroll do |record, next_cursor|
  puts record.name # => 0, 1
  cursor = next_cursor
end

Feed::Item.asc(:name).limit(2).scroll(cursor) do |record, _, previous_record|
  puts record.name # => 2, 3
  first_previous_cursor = previous_cursor
end

Feed::Item.asc(:name).limit(2).scroll(first_previous_cursor) do |record|
  puts record.name # => 0, 1
  second_previous_cursor = previous_cursor
end

I opened https://github.com/mongoid/mongoid-scroll/pull/38. Let me know if you want to close this PR in favor of the other one.


[MB-15973] Upgrades the query-string dependency to v8

Summary
This pull request upgrades the query-string package to the next major version (v8). Since the new major version of the package is a pure ES module, it seems we can no longer import parts of it, and so one file was changed to import the entire package rather than just the necessary parts. (As the whole package is a relatively tiny set of string manipulation utilities, there should be no perceptible impact to performance or build time.)
There is no Jira ticket for this work, as it is a part of A-Team's dependency maintenance chore during this slice.

Warnings

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

:warning:
This PR does not include changes to unit tests, even though it affects app code.

Messages

:book:
:link: MB-15973

  Generated by :no_entry_sign: dangerJS against 8dd0fd1aeb6dc08d69ce9299e7f3f064464ad528

Closing this pull request -- we likely want to keep this package pinned at v7.


Minion-manager crashes when no asgs are configured

2017-09-25T22:28:43 INFO minion_manager MainThread: Starting ...
2017-09-25T22:28:43 INFO minion_manager MainThread: Using config from env: us-west-2
2017-09-25T22:28:43 INFO minion_manager MainThread: Using config from env: None
Traceback (most recent call last):
  File "/ax/bin/minion_manager", line 91, in <module>
    run()
  File "/ax/bin/minion_manager", line 71, in run
    validate_usr_args(usr_args)
  File "/ax/bin/minion_manager", line 32, in validate_usr_args
    "At least 1 scaling group is needed"
AssertionError: At least 1 scaling group is needed

Fixed with the following commit on master:
commit 4d30a3c725aa2b599df79756bc7f7c3e8628dcd9
Author: Shri Javadekar<EMAIL_ADDRESS>Date:   Mon Oct 2 09:25:57 2017 -0700

    Start minion-manager correctly with the "no spot" option.

And on v1.0
commit 4c00d5ddb0442b36cfd87a3fa8a25024b11971f0
Author: Shri Javadekar<EMAIL_ADDRESS>Date:   Mon Oct 2 09:25:57 2017 -0700

    Start minion-manager correctly with the "no spot" option.

...


Not able to capture traffic with ios device

Problem Description
A clear and concise description of what the bug is.
When I tried to Capture the network flow of an iphone through my windows machine getting TLS handshake error after download and install the certificate.
Steps to reproduce the behavior:

Start the mitmproxy on the windows machine
Configure the proxy setting on the iphone and connected to the same wifi.
Install certificate from the mitmproxy (mitm.it)
Check the mitmproxy

System Information
Paste the output of "mitmproxy --version" here.
Mitmproxy: 10.1.5
Python:    3.11.5
OpenSSL:   OpenSSL 3.1.4 24 Oct 2023
Platform:  Windows-10-10.0.22631-SP0

That worked for me after configuring vpn settings


I'm having an issue with fetching the api can anyone help please.

I fixed this issue about 2 weeks ago by putting all my models in another folder and called that folder but now it's not working and I have no idea why.

It looks that the browser does not allow accessing weight data due to CORS. Try to access the data using http:// instead of file://

pscardoso is correct. You need to be running this behind an http or https server.

If you're running face-api from browser, you must use http or https a fetch does not provide capability to load from file.
And if you're running face-api from nodejs, it can load from file, but it doesn't have built-in fetch method at all, so you should provide custom fetch method, something like:
const fetch = require("node-fetch");
faceapi.env.monkeyPatch({ fetch: fetch });


Initial Server Component Setup

This PR creates a basic HTTP webserver meant to be hosted on a cloud based training server (or local in offline cases). The server currently can take in HTTP and WebSocket connections, the AHTP protocol will be implemented in a following PR :)

looks good!


Simplify windows setup instructions

Simplify /windows to the bare minimum. Also remove the /windows/tailscale.reg endpoint as its generated file is no longer valid for current Tailscale versions.
Update and simplify the windows documentation accordingly.
Add a "Unattended mode" section to the troubleshooting section explaining how to enable "Unattended mode" in the via the Tailscale tray icon.
Add infobox about /windows to the docs

Tested on Windows 10, 22H2 with Tailscale 1.72.0
Replaces: #1995
See: #2096

[x] have read the CONTRIBUTING.md file
[ ] raised a GitHub issue or discussed it on the projects chat beforehand
[ ] added unit tests
[ ] added integration tests
[x] updated documentation if needed
[ ] updated CHANGELOG.md

Summary by CodeRabbit

New Features

Streamlined documentation for the Windows Tailscale client, focusing on command-line instructions for configuration.
New "Unattended mode" guidance added to the Troubleshooting section for continuous operation.

Bug Fixes

Removed outdated registry configuration instructions to prevent user confusion.

Documentation

Restructured sections for improved clarity and usability, including a direct download link for Tailscale for Windows.

Chores

Updated copyright year in project documentation.

Force-pushed and added the infobox about /windows to the docs.

Looks like the prettier linter got a bit unhappy, could you fix that and then I'll merge it

Looks like the prettier linter got a bit unhappy, could you fix that and then I'll merge it

pushed, thx for the hint.


Returning empty object where it should not

Hi, I'm having some troubles with this package.
I have a RowDataPacket Object that I passed into the omit module.
RowDataPacket {   id: 38,   uuid: '9fb0f6b1-9b9b-56eb-a06e-963011a7c22f',   name: 'Test',   club_id: null,   calendar_id: 42  }
I'm doing the following thing (where team is the RowDataPacket Object)
console.log(ObjectOmit(team, ['id']));
The result is
{}
I got an empty object where it should be the original RowDataPacket Object without his id attribute.
Any chance to have some help here ?
Thanks!

I think it come from the first If statement in the module:
if (!isObject(obj)) return {};
The RowDataPacket Object seems to not be an object but I don't see how I could make this If statement being true.

I have found a fix but don't think if it's smart, can you provide a feedback about this ? I added those 3 lines
var copy = {};   ObjectCopy(copy, obj)   obj = copy;
And now the isObject(obj) return true !
P.S: Yes I have used your object-copy module ;-)

Sorry for the late reply, and thanks for the detail. I'll try to take a look today.

Yes I have used your object-copy module ;-)

lol very cool, thank you!

@sdubrez can you add a complete code snippet that demonstrates the bug so I can easily reproduce? thanks!

I believe we should not use is-extendable library in order to check whether a value is an object as it's simply confusing and not valid. is-extendable checks whether object is plain, function or array so the whole library won't work on any objects coming from custom class.


Create validation set

Using DataOcean image data, create a sufficiently large validation set that can be used for the training process

make sure to label the images. moving to "in progress"


Fix an issue where Object was not selectable in the AnimationTrackKeyEditor inspector.

Fixed an issue where Object was not selectable in the AnimationTrackKeyEditor inspector.
The problem was that the VariantConstructorObject was not setting the type to Object, when coming from a Nil variant type. I fixed this by calling VariantInternal::init_object instead of object_assign_null.
fixes #91289

This seems like a pretty drastic change with many potential issues, I'm not sure this is the correct fix for this, this could break a lot of things unless this original code was really incorrect, instead I suspect the error is somewhere in the inspector, not in core, a local fix would be the best

Oh yeah your PR fixes this issue.


[WFLY-16670]

Issue: https://issues.redhat.com/browse/WFLY-16670
Description: this is different solution than what was presented last week, in short I had to reverse the logical dependency EE depends on Concurrency SPI, now it's Concurrency SPI that depends on EE, which facilitates a lot how to integrate with the EE component framework.
This fundamental change should make it easier if we ever introduce concurrency extension/subsystems, but most important it also means that we no longer need to break the EeLogger, or LocalDescriptions+ResourceDescriptionResolvers, so the issues we discussed last week are no longer valid. Please note that we can (and probably should) now start to log in a new ConcurrencyLogger (with new IDs) but there is no need to change any older message or touch the EeLogger class any more.

@bstansberry the first stage of this work (please read description first) is complete, I have moved all Concurrency code from "ee" module, and left instead there a ConcurrencyImplementation interface, which impl is obtained through a ServiceLoader also there. I am not sure the current solution wrt loading is the best, I think one better option could be to do it after the module classloader, under the scope of a service or lifecycle method, which would allow us to better handle any load error. Other than this possible change I plan no additional changes in "ee" module and the ConcurrencyImplementation API it exposes and uses, so you can start reviewing that in advance.
As for what is missing, atm all (except the ConcurrencyImplementation impl class) is in concurrency-spi, it's now time to break that and send everything specific to Concurrency RI 3.0 to concurrency-impl-30, linking both through one more API, which later is also supported by the implementation for Concurro 3.1. Please note that everything wrt modules and testing is already setup tho, taking into account the existence of impl-30, so it's really just about another level of breaking up the code in 2 pieces.

@bstansberry work on this is now complete and ready to review

temp-concurrency-tck-emartins.yml removed, so this is it, ready for merge, please review

@bstansberry all done except the ee jboss module breakup, which I am still working on. Meanwhile if you can please resolve the other issues fixed by the introduced commit

Thanks @emmartins


[BUG] Dance pads keep switching Joy1, Joy2, and Joy3 order.

Is there an existing issue for this?

[X] I have searched the existing issues and none matched.

Operating System
Mac OS X
CPU
M1
GPU
M1
Storage
500 GB Flash Storage
Game Version
4.18.1
Game Mode
dance
Theme
I'm using 4.18.1 LTS, without any additional themes installed.
Describe the problem
I plug in my three dance pads (two of them have broken buttons, so I layer one on-top of the other) into a USB hub, which I plug into my computer. Everytime I boot up StepMania, even without having unplugged the hub, the order in which the pads is read by OutFox is juggled.
Example of three screenshots I took, just opening and closing the program over and over again...

This makes it so, every single time I open the game, even for a quick reboot during the same play session, I have to remap all three of my mats from scratch, which is certainly doable, but not so much fun. It'd be preferable if, at the very least, I could switch the order around so that my initial mapping already works!
Other solutions I've tried for myself was to map my mats in a keyboard mapper like Enjoyable and THEN just set each of the controllers to those keyboard keys, which KIND of works, but for some reason, pressing any button still registers that it's a real controller and then pauses the course I'm on right after successfully pressing the arrow button I intended to press. I've tried deleting everything in "gamecontrollerdb.txt" to keep that from interfering, but it seems like the need to read the controllers, even when they're not mapped at all is just built-in somewhere into the app. If anyone can think of some creative ways to get me quicker into playing more songs after I've successfully installed, please do let me know! This is just pure euphoria once you get into it. All the best.
EDIT: As a bit of an update, I decided to check if the problem occurs on StepMania 3.95 on an older Mac, and the controllers stay in the right places no matter when I open up the app.
Describe what should happen
Either make the order of the joysticks predictable or switchable, or at the VERY least, make it possible to turn off controller support entirely so that I can keyboard-map my joysticks without interference.
Relevant Log output
No response

I just found a solution for not being able to keyboard-map without the built-in controller support overriding keyboard input! VividMachine's Controllers has a feature that doesn't seem to be talked about called "Controller Locking", starting with version 1.1.0. All you have to do is go to Controllers > Preferences, then check the checkbox next to "Controller Locking".

Then, when your keyboard maps are turned On, the original controller inputs will become completely invisible in any game that would've otherwise detected your controller, thereby keeping any interference between your own button usage and what the program thinks those buttons should do.
I don't know if there's any other program out there that has this specific function-- it doesn't look like Enjoyable does, for example. Anyway, as previously mentioned, old StepMania 3.95 is able to remember my mapping just fine, and I also feel like there should be a way of fully disabling controller recognition, anyway. I'd love to know anything that might help make this more simple for anyone with a similar problem who just wants to get right into playing after quitting and re-launching Project OutFox to add more songs to the library!

I encountered this issue too. but now I can handle it. no need to install vivid machine. just set the System Settings>Game Controller

I encountered this issue too. but now I can handle it. no need to install vivid machine. just set the System Settings>Game Controller

Oh, in Ventura? I use Monterey currently, so I can't use that. Good to know that the problem's solved later on. :  )

yes, mine is Ventura (13.2.1)

While this issue is not as awful for me given that I just need to swap the positioning of my soft pads, it's still fairly annoying. Unfortunately my Mac is barely incompatible with Ventura.


ModuleNotFoundError: No module named 'google.generativeai'

2024-04-07 11:14:48.660 | INFO     | app.config.config::16 - load config from file: D:\soft\MoneyPrinter\MoneyPrinterTurbo/config.toml
2024-04-07 11:14:49.514 Uncaught app exception
Traceback (most recent call last):
File "D:\soft\conda\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in _run_script
exec(code, module.dict)
File "D:\soft\MoneyPrinter\MoneyPrinterTurbo\webui\Main.py", line 25, in
from app.services import task as tm, llm, voice
File "D:\soft\MoneyPrinter\MoneyPrinterTurbo\app\services\task.py", line 11, in
from app.services import llm, material, voice, video, subtitle
File "D:\soft\MoneyPrinter\MoneyPrinterTurbo\app\services\llm.py", line 8, in
import google.generativeai as genai
ModuleNotFoundError: No module named 'google.generativeai'

运行时，报了个这个错误

安装依赖
pip install -r requirements.txt


19 queries when creating the child node.

When creating a child  node of root node it is creating 19 queries to mysql. i dont know it is correct or not. if it creating 19 queries what will the performance of mysql.
$root=Document::find(5);
$child=$root->children()->create([
   'name'=>'child name'
]);

This is my code. please tell me if Im doing it wrong or it really want 19 queries to execute.

Some body help me...

i dont use that method before
maybe try that
$root = Category::root()->first();
$node= Category::create(['name' => 'node 2 ']);
$node->makeChildOf($root);

k, @devmark  i will check that and inform you

@devmark , i changed my code as you mentioned then i got this exception "Could not resolve target node"

oop. sorry. i dont test that.
$node = new Category;
$node->name = "my name ";
$node->save();

//setup parent id
$root = Category::root();
$node->makeChildOf($root);

I'm tested with that code @devmark , but now it executing 15 queries against the database

i opened the db log, it also executes 15 queries.
nested tree will use more time to do insertion method, but it will be more faster to get data.

But the package like this is only creating 5 quiries when creating the child nodes. actually i dont know how to implement this nested set implementation . if you know please explain diff b/w these packages.

AFAIK, the number of queries is directly linked to the number of data in database and the position where the node will be inserted.

@rscafi is correct @pavankumarkatakam. When doing inserts, left and right values for the entire table needs to be updated. A lot of data is updated and if you have indexes they need rebuilding too. Nested sets have their forte in retreiving data and is slower at inserting data.

Thank You @rscafi and @torkiljohnsen for clearing this.

What's the solution for large number of data? My PHP script gets timeout as i have 1 Million records in my database. I am creating child of root node which is old node as per the created date it's updating lft and rgt values for all records.

@phpspider I've been looking for something can handle "root scopes". Similar to this -- https://github.com/lazychaser/laravel-nestedset#scoping -- but instead of using a shared lft/rgt numbering system across the entire table, the numbering would be "reset" for each root node.
That concept only solves the issue by a single factor, but sometimes that's all it takes.

Apparently this package does that. Huh.


Invalid credentials.

I am using Windows 10
I followed the steps at
https://wedeploy.com/tutorials/liferay-dxp/deploy-project/
I first have successfully logged into We deploy. I followed the steps, and i was stuck at
running this code  "we deploy -p projectID"
error message is Invalid credentials.

Issue moved to wedeploy/support #23 via ZenHub

Thanks @chenchenSG, we're going to analyze the problem.


Anyone have their own mobile Telegram theme?

I know theres a desktop telegram, but anyone have a mobile telegram theme? Wanted to ask first before I start manually creating one

Hey @huezo :wave: Would you like to transfer your repo to the organization and become a maintainer?

Yes, I think it is very good to move the repository to the organization and be a maintainer.

Hey @huezo wave Would you like to transfer your repo to the organization and become a maintainer?

Yes, I think it is very good to move the repository to the organization and be a maintainer.
I would like to participate in the organization, and upload the topic I agree to participate.

@huezo I've just invited you to join the org. Once you accept, transfer the repo to the org and let me know over here. I'll set the right permissions and rename. Let me know if you have any questions 👍

@huezo I've just invited you to join the org. Once you accept, transfer the repo to the org and let me know over here. I'll set the right permissions and rename. Let me know if you have any questions

I already made the repository:
https://github.com/dracula/telegram-android

Sweet! Just noticed the README.md doesn't use the org's template. Could you please change it so it does? https://github.com/dracula/template

Sweet! Just noticed the README.md doesn't use the org's template. Could you please change it so it does? https://github.com/dracula/template

Hello, I already modified the README.md, could you tell me if everything is ok like that?
telegram-android

Perfect! Thank you so much :tada:


ResizeSensor does not trigger if target element is hidden the shown back on

If element starts off as display: hidden, then revealed by setting style.display = "block" the sensor triggers fine.
However, if element is initially visible, then hidden by setting style.display = "none", then shown back on style.display = "block", the sensor does not trigger.
This seems like an inconsistency, as in both cases actual size changed (since hidden elements do not have size).
Example:
https://codepen.io/team/amcharts/pen/9f21d956ae4391ef918c21670b62f806?editors=0010

Works in newest Chrome here. Which browser do you use?

Chrome.
Try reloading CodePen tab. Then hitting hide button, then unhide.

So, to me everything works correctly. If you expect to get a resize event upon hiding/unhiding, I think that expectation is not valid since hiding/unhiding itself does not change the dimension of the element and thus no event is triggered. If you start the element hidden and then unhide, the sensor is triggered because we had no dimension initially to check against. When you start the element visible, we have initial dimensions value, so when then you hide it, we don't get any events about that, you unhide it again, the sensor still doesn't know about that. The sensor only is notified when you change the dimension while it's hidden and then unhide it.
To make the behavior more consistent, I'd vote for triggering the sensor callback initially with the current dimensions. Wouldn't that fix your issue?
Like so: https://codepen.io/anon/pen/LoPEay

I understand. Triggering sensor initially does not solve the broader issue, I'm afraid.
It's just setting display: none causes size of the target element to change to 0x0. And going back to display: block causes it to re-gain the original dimensions, hence my assumption that it should trigger a sensor event.
If you check offsetWidth of the hidden element it will result in zero.

I don't understand your use case. Can you explain a bit what you want to achieve?

Setting display: none causes size of the target element to change to 0x0. And going back to display: block causes it to re-gain the original dimensions, hence my assumption that it should trigger a sensor event.

The actual element stays the size for the engine. Of course, when you query the width using offsetWidth etc it will then be calculated and returns 0, but we don't have any events about that.
The actual element isn't changed in size, and I'm afraid it has no big value to detect whether a element is hidden, because changing its styles/content won't be seen anyway. So, let me know your use-case, maybe we can find an alternative.

The use case is simple:

Have initial element.
Hide it.
Make some modifications in it that depend on its sizing.
Unihide it (obviously modifications are off because they were based on measurements 0x0).
Detect such change by sensor and correct modifications.

In real-life this translates into a very possible situation:

Create an SVG chart in a visible tab. The chart is live with its data constantly being updated.
Switch to other tab (chart's tab is now display: none).
Data updates while chart is invisible.
Switch back to chart tab.
Since no resize detection happens we now have a crippled chart. If resize event would be triggered, we would be able to update chart layout.

Since toggling of a container might originate from anywhere (we don't control it), we need a way to universally detect it, just like we detect container size changes thanks to ResizeSensor.

Hide it.
Make some modifications in it that depend on its sizing.
Unihide it (obviously modifications are off because they were based on measurements 0x0).

Why do you run modifications on an element that is hidden? You could check whether that element is hidden by checking offsetWidth===0, and simply don't modify anything and skip everything if that's the case. So when the element unhides automatically, everything stays the same. If the element got resized meanwhile, you will be notified by the ResizeSensor and modify accordingly.

Gotcha. We'll find a way to work around this. Just thought that it would make sense for ResizeSensor to register this type of scenario as well.
Thanks for looking into this!


Issue:Sitemap Loader filter updated pages

Issue you'd like to raise.
Hi , I want to know how it would be possible to filter with the Sitemap Loader updated pages of 2023 from a website. I do not want to get all the website but only 2023 updated pages.
Here is my code:
`# fixes a bug with asyncio and jupyter
import nest_asyncio
nest_asyncio.apply()
from langchain.document_loaders.sitemap import SitemapLoader
loader = SitemapLoader(
"",
filter_urls=[""]
)
docs = loader.load()`
How can it be possible in it please?
Thank you,
Suggestion:
No response

🤖
Hello,
To filter the pages updated in 2023, you can modify the parse_sitemap method in the SitemapLoader class to check the lastmod tag of each URL. The lastmod tag in the sitemap XML usually contains the last modification date of the page. Here's how you can do it:
def parse_sitemap(self, soup: Any) -> List[dict]:
    """Parse sitemap xml and load into a list of dicts.

    Args:
        soup: BeautifulSoup object.

    Returns:
        List of dicts.
    """
    els = []
    for url in soup.find_all("url"):
        loc = url.find("loc")
        if not loc:
            continue

        # Strip leading and trailing whitespace and newlines
        loc_text = loc.text.strip()

        if self.filter_urls and not any(
            re.match(r, loc_text) for r in self.filter_urls
        ):
            continue

        # Extract the lastmod tag
        lastmod = url.find("lastmod")
        if lastmod:
            # Check if the page was updated in 2023
            lastmod_date = lastmod.text.strip()
            if not lastmod_date.startswith("2023"):
                continue

        els.append(
            {
                tag: prop.text
                for tag in ["loc", "lastmod", "changefreq", "priority"]
                if (prop := url.find(tag))
            }
        )

    for sitemap in soup.find_all("sitemap"):
        loc = sitemap.find("loc")
        if not loc:
            continue
        soup_child = self.scrape_all([loc.text], "xml")[0]

        els.extend(self.parse_sitemap(soup_child))
    return els

This modification will make the parse_sitemap method ignore any URLs that were not last modified in 2023. Please note that this assumes the lastmod tag is in the format YYYY-MM-DD. If the format is different, you may need to adjust the condition accordingly.
This solution is based on a similar issue that was solved in the LangChain repository: Sitemap - add filtering by modified date.
I hope this helps! If you have any other questions, feel free to ask.
Best regards, Dosu
Sources

Sitemap - add filtering by modified date
libs/langchain/langchain/document_loaders/sitemap.py

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.

How can I change the parse_sitemap in google colabotary?


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Please add ISignal by default

There is an implementation here:  https://github.com/aspnet/Mvc/blob/dev/test/WebSites/HtmlGenerationWebSite/ISignalTokenProviderService.cs
I can copy it but I would suggest to add it OOB. The scenario is that multiple keys might depend on the same logical dependency, and this is a way to invalidate all of them. It's a very common used pattern in Orchard, so I assume it would be to with other applications using IMemoryCache.
I understand it might also have been intentionally kept out too.
/cc @lodejard

Talked to Lou and he said the implementation should not be part of Core. Added it in Orchard directly. Feel free to close.


Issue #26: Use version 3.1.7 of subethasmtp.

3.1.6 of subethasmtp has a bug where the first header is removed if you send the mail to multiple recipients.
3.1.7 of subethasmtp has a bug regarding restarting the smtp server.
Personally, the missing header is a bigger problem for me than restarting the server, hence this pull request to upgrade to 3.1.7 :)
This modification to the pom includes a comment which warns about the restarting issue, and includes a link to the issue on github (the subethasmtp lib is no longer on google code).

FakeSMTP 2.0 is now released with subethasmtp 3.1.7.
http://nilhcem.github.io/FakeSMTP/
Thanks


Check that CFSM has been loaded the file or not

Find out, that was the file loaded by CFSM (and parsed/repaired) or not (check log of CFSM?, File must be removed by CFSM after X seconds)

Question is how to scan this?

check move datetime? --> and after 10 sec move away and back? (only one file should be enough as this triggers the loading of all the CDLC-s moved)
store move datetime and same as above?
just check the target dir after 10sec?
check CFSM log? (log directory needed to set) After 10 sec, there is no sign of parsing, move away and back?

Or maybe just check RS directory, that the file is loaded or not.

This is realised in #116 partially.


Adding in schema for DeviceNetworkEvents from MDATP raw data tables

Fixes #
Proposed Changes

Merging this to unblock checks for DeviceNetworkEvents table for Barium detection.


[Linux] miphoneos-version-min and target version are stuck at 10.0

No matter what the target version is set to in the makefile, Dragon seems to always build for 10.0+.
-miphoneos-version-min=10.0
-target arm64-apple-ios10.0

Occurs with a standard Unix makefile and with a DragonMake file with targetvers: set.

Also, somewhat related, I don't think you need the miphoneos-version-min flag with the ios<version> triple. otool shows it being set to whatever version the target flag specifies in the absence of the miphoneos-version-min flag.


chore: bdd-gh-1585156717 to 0.0.1

chore: Promote bdd-gh-1585156717 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add support for windows machines

We need to find the proper base url for the docker engine api connection. Both for macos, linux and windows
Now it supports only linux and macOS

npipe is used by windows or http url

fixed in https://github.com/jarlah/testcontainers-elixir/compare/3ce299832e5d9b178980688971cc336392251227..9c379cd3063d6a22957635f56c7d44c667e03d83 by the fact that we now support connecting to testctontainers desktop


expose seperate route for secure port in RGW

Signed-off-by: Jiffin Tony Thottan<EMAIL_ADDRESS>

/retest

/retest

/unhold


Sendgrid provider intermitent weird errors on blast campaign

Hello guys, have any of you went through this using Sendgrid provider?
Error shows that the "Sender" used is not authorized, but it's not the case, it's correctly authorized and you can see on the second screenshot that on the same blast campaign some was sent successfully and others don't, giving this same error on the first screenshot.
Email never reached Sendgrid, can't see them on Activity tab on Sendgrid (only the successful ones)
I'm trying to understand what is happening looking through the code, if anyone went throught this bug or have any idea of what it might be causing it, would be really helpful

Are any sends going through at all or is this just an occasional thing? In your first screenshot it looks like an array of three errors was being returned by the server, do none of those have any context as to why the request was forbidden?
Under the hood this provider is just using the Nodemailer Sendgrid plugin so would hope it doesn't have any issues. Your best bet is definitely to print out the result from the EmailJob try catch block wrapping the send section.

@pushchris Yes, some sends on the same blast campaign are going through normally and some are not, that is the weird part.
Today we experienced same on 3 blasts from 3 different projects. (Aproximately 50% of sends failed).
Abour your question, it's just one error, the error I mentioned (wrong sender):

Today errors CPUUtilization of the instance went 99% when the errors appeared (and I already scaled the instance yesterday).
Clearly something is wrong, I will try to scale it more and keep monitoring, we are not sending much emails yet (like 100-200 per blast)
I will also get those prints that you mentioned, thank you chris.

Hi @pushchris, as far as I researched, this error indeed does not have direct relation with parcelvoy code base.
However, I'm thinking that this PR from nodemailer-sendgrid might be somehow related:
https://github.com/nodemailer/nodemailer-sendgrid/pull/14
Do you have any thoughts on this? Maybe because I have several projects, each one with a sendgrid integration and they send email +- at the same time.. Do you think that somehow the transport might be using intermitently a wrong one, causing this error because email was sent using another a transport with another api key?

Update: I've installed this PR and this problem was solved. So indeed problem was on nodemailer-sendgrid.
Closing this issue.


Adding Cypress Configuration

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Have a ready to use cypress test configuration
Describe alternatives you've considered
Playwright
Additional context
E2E tests are very useful in a front-end environment. I believe that inserting a Cypress configuration that is ready to use can improve this boilerplate (which I'm loving). I would like to try setting up Cypress for the project.

@DevPres thank you. I like Cypress but I think Playwright has superior capabilities and its development is more innovative and active compared to Cypress. It would definitely be nice to have it integrated into this project and ready to use. Would you be interested in submitting a PR to set up Playwright?

Hello @juanmesa2097 ,
I have never used Playwright before, but I am definitely willing to give it a try!

Hey @DevPres, sounds awesome. Thanks a lot!

Hi @juanmesa2097 !
've been reading about Playwright and Angular, and I've learned that component testing is not officially supported by Playwright. While there's an option to use a third-party package to address this, such as this repo, it appears to only work with versatile-angular.
Considering the current situation, I believe it might be better to hold off on implementing this and instead consider using Cypress, which fully supports Angular component testing. Please let me know your thoughts on this!

Hey @DevPres, I agree with your perspective. I see there's an issue already opened for this on the Playwright repo. Since the project isn't using analog and doesn't fulfill all the specified constraints in versatile-angular, and to the best of my knowledge, Angular still isn't fully compatible with VIte. With that in mind, I believe it makes sense to go with Cypress for now. We can then decide later on whether migrating to Playwright would be a worthwhile move, especially once it can be seamlessly integrated.

Hi @juanmesa2097  Sorry for the late response, but I was on vacation XD
I'm glad to hear that you understand the perspective. In the upcoming days, I'll be working on implementing Cypress, and when Playwright fully supports Angular in the future, I'll be happy to implement it in this repository.

@DevPres sounds excellent, thank you! 😀

Hi @jm2097 ,
I apologize for my long absence, luckly I found a job shortly after my last message, I haven't been very skilled at time management XD.
Now, things have stabilized, and I can dedicate some time to the OSS.
So, I'm here to tell you that I'm starting to work on it again these days.

Hey @DevPres, congratulations on your new job! I appreciate you taking the time to notify me. It all sounds good to me. 🙂

Thank @jm2097 !! i Appreciate it!
i just dropped the PR! let me know what you think about! Slowly, but i can improve it with your suggestion!
#648

@DevPres thanks a lot for your contribution. I just left two remarks on your PR. 👍


The value of the KL Loss

Hello Yihui, Thank you very much for sharing the code, it is an excellent work! I have a question about the value of the KL loss. I did read the instructions before creating this new issue, but I think my question is a little bit different. Here is my question:
KL divergence is zero only when the two distributions are identical. But as we know, on the one hand, our predictions can never be identical to the ground truth, on the other hand, we discard the terms (H(P_D(x)) and log(2pi)/2) that are not depended on the estimated parameters. This would make the KL loss not converge to zero (or any fixed value), ideally, it would converge to a minimum, but we don't know the value of this minimum. So, my question is how you determine if the training goes well (since unlike other types of loss function which would converge to a fixed value, like 0, we don't know the ideal value of the proposed KL loss)? and how to evaluate the variance (since we don't have the ground truth for variance)? Thank you.

We can inspect the loss curve. In addition, you can still calculate the standard loss as a metric to see if training goes well.
We can only visually verify since we don't have the GT. Ideally, ask multiple labelers to label a bounding box and calculate the ground truth variance.

Thank you for your quick response.


chore: bdd-spring-1574862963 to 0.0.1

chore: Promote bdd-spring-1574862963 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


catch2_3: 3.2.1 -> 3.3.0

Description of changes
https://github.com/catchorg/Catch2/releases/tag/v3.3.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package marked as broken and skipped:

truvari

6 packages failed to build:

poetry
pynitrokey
python311Packages.autofaiss
python311Packages.fire
python311Packages.nkdfu
sublime-music

39 packages built:

adl
anime-downloader
apostrophe
atomic-operator
catch2_3
ibus-engines.uniemoji
jarowinkler-cpp
ledger-autosync
paperless-ngx
paperwork
puddletag
python310Packages.autofaiss
python310Packages.cleo
python310Packages.fire
python310Packages.fuzzywuzzy
python310Packages.jarowinkler
python310Packages.levenshtein
python310Packages.nkdfu
python310Packages.paperwork-backend
python310Packages.paperwork-shell
python310Packages.rapidfuzz
python310Packages.thefuzz
trytond (python310Packages.trytond)
python310Packages.videocr
python311Packages.cleo
python311Packages.fuzzywuzzy
python311Packages.jarowinkler
python311Packages.levenshtein
python311Packages.paperwork-backend
python311Packages.paperwork-shell
python311Packages.rapidfuzz
python311Packages.thefuzz
python311Packages.trytond
python311Packages.videocr
rapidfuzz-cpp
sonic-pi
spotdl
ulauncher
waybar

nixpkgs-review reveals no new failures, macos 10.15


gitops delete app fails

This is what I tried :
lutz@dellbook:~/git/weave-gitops-docs/docs$ gitops get apps
NAME
podinfo
podinfo-deploy
podinfo-policy
lutz@dellbook:~/git/weave-gitops-docs/docs$ gitops delete app podinfo-deploy
Error: failed to remove the app podinfo-deploy: failed to retrieve default branch for repository: error getting org repository multiple errors occurred:

validation error for OrgRepositoryRef.Organization: field is required
validation error for OrgRepositoryRef.RepositoryName: field is required

And this is the error. This was done on http://demo.weavegitops.com . Interesting side note podinfo-deploy and podinfo-policy do reference the same source repository.
Please advise how to delete one of these apps.
$ gitops version
Current Version: 0.5.0-rc2
GitCommit: 4555d5f88437dafc11f37b8b1c8b058ee7d7a2df
BuildTime: 2021-11-22T22:02:18Z
Branch: HEAD
Flux Version: v0.21.0
I'm interacting with WGE 0.0.16

Adding customer issue label

Hi @LutzLange, i've tried to reproduce but am unable to do so. Could you confirm you are still experiencing this issue and if so whether you are able to reproduce? If so it would help to have details on the podinfo-deploy and podinfo-policy apps (if you can share the config repo that would be ideal).
My attempt to reproduce was:
gitops install --config-repo <config-url>
gitops add app --url <podinfo-deploy-url> --config-repo <config-url>
<merge pr>
gitops add app --url <podinfo-url> --name podinfo-2 --path / --config-repo <config-url> (changed path so valid as a different resource)
<merge pr 2>
gitops delete app podinfo-deploy
<merge pr 3>

all worked fine as shown in screenshot below.


[Bug]-[80]:Inaccessible git branch when the pages in the branch differ from the ones on master

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Lost access to branch, when I deleted the pages that were on master, in the branch.
Steps To Reproduce

Create a new application.
Check out a new branch.
Create a new page(Page2) in the branch and set it as homepage.
Delete the other page (Page1).

Go to applications dashboard and launch the application in edit mode. Lands on master branch.
Try checking out the branch created earlier. -> 404.

The branch is lost forever. (Workaround is the remove "/pages/:pageId" info from URL)
Public Sample App
No response
Version
Cloud

Thanks for reporting this @arunvjn. Was able to reproduce the former issue but not the latter one, ie,

Try checking out the branch created earlier. -> 404

Checking out the branch created earlier redirected me to the branch with Page 2 as home page.

I think this is a common scenario to get Resource not found exception after we have launched the git. In above case it goes beyond the recovery state, but the root cause is the same that user have deleted the resource in the sub-branch. I propose following solution for these cases:

We should have a redirect CTA to go back to the applications default page instead of the home page that we have today.

I like the CTA to take the user to the default page in their branch but if that is the only CTA, can we not make it the default behaviour ?
Or should we show a list of available pages instead ?

I'm more inclined to the CTA option as this will give you the clear idea that you should not expect the same resource in other branch and this can happen to any resource like JSObject, action etc But @vuiets would love to have your opinion as well

@vuiets Sorry I missed your previous comment. You are right about the 2nd point. I am unable to reproduce it any more. Must be a recent change I guess.
Can you verify if you are actually getting the home page of the branch ? For me it loads the home page of master itself when I switch branch after I follow the replication steps.

Stats

Stat
Values

Reach
10

Effort (months)
0.25

People who have created branches: 50
About 20% to delete existing pages on different branches: 10

@abhvsn Is this bug still valid?

Yes this is still valid, try to follow the specs provided in the description but currently we really don't have any solution on this

@RakshaKShetty can you verify this? We are not sure if this happens right now too. Closing this, but if you find this happens, please reopen and let us know.


Use absl::flat_hash_map in UniqueOp kernel.

Hash map insertion and lookup is dominating in UniqueOp kernel. After
replacing std::unordered_map with absl_flat_hash_map, much improvement
was observed in the benchmark.
Benchmark result run on Xeon E5-2682v4 @ 2.50GHz server is pasted below:

Actually I've implemented a multi-thread version for 1D tensor Unique several months ago, but it is somewhat complicated. Maybe I can open another PR in the future if necessary.

Hi Penporn, I noticed some of the CI builds failed and could not figure out what's wrong with the logs. In 'Windows Bazel GPU' CI build log, the failure report said something about absl, but the 'distort_image_ops' target had no  explicit relationship with unique_op. Could you take a look about that? Thanks.

@lowintelligence 6 tests failed but I only see the links to details for 3 tests. Let's try to fix that first.

Ubuntu Sanity: Buildifier found a formatting error in tensorflow/core/kernels/BUILD. Please fix. The error message from the log:

=== Sanity check step 5 of 14: do_buildifier (buildifier check) ===
Running do_buildifier on 445 files
tensorflow/core/kernels/BUILD # reformat
buildifier took 1 s
FAIL: buildifier found errors and/or warnings in above BUILD files.
buildifier suggested the following changes:
1269c1269
<     ]
---
>     ],
Please fix manually or run buildifier <file> to auto-fix.

Windows Bazel GPU: There's a linking error involving absl. Maybe you need to add an absl dependency in the BUILD file? Error message from the log:

ERROR: T:/src/github/tensorflow/tensorflow/contrib/image/BUILD:115:1: Linking of rule '//tensorflow/contrib/image:python/ops/_distort_image_ops.so' failed (Exit 1120): link.exe failed: error executing command
...
lib_distort_image_ops_gpu.a(adjust_hsv_in_yiq_op_gpu.cu.o) : error LNK2019: unresolved external symbol "public: void __cdecl absl::Mutex::ReaderLock(void)" (?ReaderLock@Mutex@absl@@QEAAXXZ) referenced in function "public: __cdecl absl::ReaderMutexLock::ReaderMutexLock(class absl::Mutex *)" (??0ReaderMutexLock@absl@@QEAA@PEAVMutex@1@@Z)
lib_distort_image_ops_gpu.a(adjust_hsv_in_yiq_op_gpu.cu.o) : error LNK2019: unresolved external symbol "public: void __cdecl absl::Mutex::ReaderUnlock(void)" (?ReaderUnlock@Mutex@absl@@QEAAXXZ) referenced in function "public: __cdecl absl::ReaderMutexLock::~ReaderMutexLock(void)" (??1ReaderMutexLock@absl@@QEAA@XZ)
bazel-out/x64_windows-opt/bin/tensorflow/contrib/image/python/ops/_distort_image_ops.so : fatal error LNK1120: 2 unresolved externals

Ubuntu Python 3: Got segfaults in keras backend test. It might just be flaky test and unrelated to this PR. Let's just see what happen after we rerun the tests first. Error message from log for reference:

INFO: From Testing //tensorflow/python/keras:backend_test (shard 1 of 4):
==================== Test output for //tensorflow/python/keras:backend_test (shard 3 of 4):
external/bazel_tools/tools/test/test-setup.sh: line 310:    18 Segmentation fault      (core dumped) "${TEST_PATH}" "$@" 2>&1
================================================================================
==================== Test output for //tensorflow/python/keras:backend_test (shard 1 of 4):
external/bazel_tools/tools/test/test-setup.sh: line 310:    19 Segmentation fault      (core dumped) "${TEST_PATH}" "$@" 2>&1
================================================================================
==================== Test output for //tensorflow/python/keras:backend_test (shard 1 of 4):
external/bazel_tools/tools/test/test-setup.sh: line 310:    19 Segmentation fault      (core dumped) "${TEST_PATH}" "$@" 2>&1
================================================================================
==================== Test output for //tensorflow/python/keras:backend_test (shard 1 of 4):
external/bazel_tools/tools/test/test-setup.sh: line 310:    19 Segmentation fault      (core dumped) "${TEST_PATH}" "$@" 2>&1
================================================================================

I'm on vacation today and won't have access to computers all day, but I can check this again tonight. In the meanwhile, please feel free to ask @gbaned to help rerun the tests.

Thanks for the explanation. I noticed the missing comma in BUILD file and fixed it. And after checking the codes I believe '_distort_image_ops.so' failure in the Windows Bazel GPU build doesn't explicitly require absl at all, thus I didn't change anything about this target.
The new commit was pushed. @gbaned, could you please take a check and trigger a rerun? Thanks.


fix doc error

Category

[x] Content fix
[ ] New article

Related issues:

fixes #5951

What's in this Pull Request?

fix error reported in #5951
fix markdown issues
improve readability & acrolinx score

This closed #5951

This closed #4951


eBPF binary version metadata is inconsistent

Describe the bug
eBPF binaries are stamped with inconsistent version metadata: some fields (file and product version strings) are dynamically set, but logically equivalent fields (file and product version numbers) are hard-coded.
The hard-coded version numbers cause pain with tools that rely on accurate version metadata, such as the internal AzWatson portal:

The right-click info is also inconsistent - Windows displays the file version integer but the product version string:

eBPF binaries should report (as near as possible) the same version number in string and integer forms.
OS information
N/A.
Steps taken to reproduce bug
Query ebpfcore.sys or ebpfapi.dll file version number, e.g. using Windows file info dialog or the output of internal AzWatson portal.
Expected behavior
The binary version metadata should be as consistent as possible, and also uniquely identify an official release. If possible, file versions should match product versions should match eBPF versions.
Actual outcome
Some versions are <IP_ADDRESS> and others match the eBPF project version.
Additional details
The copyright date is also hard-coded.

Is there any easy way to get the file description during AzWatson? The file description includes the git commit id that generated the files.

Is there any easy way to get the file description during AzWatson? The file description includes the git commit id that generated the files.

We might be able to retrieve that from AzWatson via the debugger interactively. If we want it to show up in the dump metadata, I expect we'd have to make a feature request.

Can you link a document (MSDN page?) that says they should be the same?

I'm not aware of any requirement - components can probably use these fields however they wish. Do we have a reason to prefer <IP_ADDRESS> to accurate version numbers?

I've confirmed we can interactively query the version from AzWaton interactively:
0:008> lmDvmebpfapi
Browse full module list
start             end                 module name
00007ffb`0b280000 00007ffb`0b3a0000   EbpfApi    (deferred)
    Image path: C:\ebpf\EbpfApi.dll
    Image name: EbpfApi.dll
    Browse all global symbols  functions  data
    Timestamp:        Sun Apr  9 07:52:39 2023 (64326EC7)
    CheckSum:         00000000
    ImageSize:        00120000
    File version:     <IP_ADDRESS>
    Product version:  <IP_ADDRESS>
    File flags:       0 (Mask 3F)
    File OS:          40004 NT Win32
    File type:        2.0 Dll
    File date:        00000000.00000000
    Translations:     0409.04b0
    Information from resource tables:
        CompanyName:      Microsoft
        ProductName:      eBPF for Windows
        InternalName:     ebpfapi.dll
        OriginalFilename: ebpfapi.dll
        ProductVersion:   0.8.0
        FileVersion:      0.8.0
        FileDescription:  eBPF For Windows User API e03f2fee2165da46c8c5c3a6405951561900f5ec
        LegalCopyright:   Copyright (C) 2022


where is the docked pose?

Here me again, I got another question.
I am trying to repeat from your test_sets_pdb. But in the folder of test_sets_pdb/db5_equidock_results, I did not see docked complex structure.  where is it?
in the folder of db5_test_random_transformed, there is one called complexes. If we are docking, why do we need the complex anyway.
Your help is greatly appreciated.

The ligand is docked to the bound receptor, so only the final ligand file is the output. See https://github.com/octavian-ganea/equidock_public/blob/main/src/inference_rigid.py#L136 .
The initial bound ligand is not needed for inference alone, I had it in the complexes folder for evaluation purposes only.

thanks for your explanation. Now I got another error when I run inference_rigid.py.
is that coming from dependency?
I cannot figure out what is wrong.
thanks in advance for help.

Parsing args
Available GPUS:0
EQUIDOCK__drp_0.0#Wdec_0.0001#ITS_lw_10.0#Hdim_64#Nlay_5#shrdLay_F#SURFfs_F#ln_LN#lnX_0#Hnrm_0#NattH_50#skH_0.5#xConnI_0.0#LkySl_0.01#pokOTw_1.0#divXdist_F#
[2022-03-07 07:24:44.417504]  Model name ===>  EQUIDOCK__drp_0.0#Wdec_0.0001#ITS_lw_10.0#Hdim_64#Nlay_5#shrdLay_F#SURFfs_F#ln_LN#lnX_0#Hnrm_0#NattH_50#skH_0.5#xConnI_0.0#LkySl_0.01#pokOTw_1.0#divXdist_F#
checkpoint_filename =  checkpts/oct20_Wdec_0.001#ITS_lw_10.0#Hdim_64#Nlay_5#shrdLay_T#ln_LN#lnX_0#Hnrm_0#NattH_50#skH_0.5#xConnI_0.0#LkySl_0.01#pokOTw_1.0#fine_F#/db5_model_best.pth
[2022-03-07 07:24:44.484702]  Number of parameters = 525,671
LN 0 0 10.0
divide_coors_dist =  False
inference on file =  ./test_sets_pdb/db5_test_random_transformed/random_transformed/3SZK_l_b.pdb
Traceback (most recent call last):
File "src/inference_rigid.py", line 147, in
main(args)
File "src/inference_rigid.py", line 123, in main
all_rotation_list, all_translation_list = model(batch_hetero_graph, epoch=0)
File "/home/user/anaconda3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/user/equidock_public-main/src/model/rigid_docking_model.py", line 647, in forward
outputs = iegmn(batch_hetero_graph, epoch)
File "/home/user/anaconda3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/user/equidock_public-main/src/model/rigid_docking_model.py", line 490, in forward
h_feats_receptor = layer(hetero_graph=batch_hetero_graph,
File "/home/user/anaconda3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/user/equidock_public-main/src/model/rigid_docking_model.py", line 274, in forward
hetero_graph.update_all(fn.copy_edge('x_moment', 'm'), fn.mean('m', 'x_update'),
File "/home/user/anaconda3/lib/python3.8/site-packages/dgl/heterograph.py", line 4876, in update_all
ndata = core.message_passing(g, message_func, reduce_func, apply_node_func)
File "/home/user/anaconda3/lib/python3.8/site-packages/dgl/core.py", line 357, in message_passing
ndata = invoke_gspmm(g, mfunc, rfunc)
File "/home/user/anaconda3/lib/python3.8/site-packages/dgl/core.py", line 332, in invoke_gspmm
z = op(graph, x)
File "/home/user/anaconda3/lib/python3.8/site-packages/dgl/ops/spmm.py", line 191, in func
return gspmm(g, 'copy_rhs', reduce_op, None, x)
File "/home/user/anaconda3/lib/python3.8/site-packages/dgl/ops/spmm.py", line 75, in gspmm
ret = gspmm_internal(g._graph, op,
File "/home/user/anaconda3/lib/python3.8/site-packages/dgl/backend/pytorch/sparse.py", line 757, in gspmm
return GSpMM.apply(gidx, op, reduce_op, lhs_data, rhs_data)
File "/home/user/anaconda3/lib/python3.8/site-packages/torch/cuda/amp/autocast_mode.py", line 94, in decorate_fwd
return fwd(*args, **kwargs)
File "/home/user/anaconda3/lib/python3.8/site-packages/dgl/backend/pytorch/sparse.py", line 126, in forward
out, (argX, argY) = _gspmm(gidx, op, reduce_op, X, Y)
File "/home/user/anaconda3/lib/python3.8/site-packages/dgl/sparse.py", line 228, in _gspmm
_CAPI_DGLKernelSpMM(gidx, op, reduce_op,
File "dgl/_ffi/_cython/./function.pxi", line 287, in dgl._ffi._cy3.core.FunctionBase.call
File "dgl/_ffi/_cython/./function.pxi", line 232, in dgl._ffi._cy3.core.FuncCall
File "dgl/_ffi/_cython/./base.pxi", line 155, in dgl._ffi._cy3.core.CALL
dgl._ffi.base.DGLError: [07:24:49] /opt/dgl/src/array/cpu/./spmm_blocking_libxsmm.h:267: Failed to generate libxsmm kernel for the SpMM operation!
 Do you have the same package versions as stated in our README ?

now it is dgl 0.7, initially I installed 0.8, but now I downgraded to 0.7 again. error still shows up.

all packages need to be the same versions , not just DGL. Can you show your packages versions for those listed in the README ?

Here is the list, I guess rdkit does not match.
python==3.8.8
numpy==1.20.1
cuda==10.1
torch==1.10.2
dgl==0.7.0
biopandas==0.2.8
ot==0.7.0
rdkit==2019.09.3
dgllife==0.2.8
joblib==1.1.0

If you're struggling to run EquiDock locally, feel free to try https://www.tamarind.bio/equidock. Tamarind is an online platform for bioinformatics tools that offers structural biology workflows, including EquiDock, for free.


Inability to cleanup lab environment

Description
my installation of the self-managed airflow failed, and so I wanted to remove it from my environment using the cleanup.sh script. I encountered an error that was preventing me from removing all that was installed during the initial setup.

[X] ✋ I have searched the open/closed issues and my issue is not listed.

⚠ Note
Before you submit an issue, please perform the following for Terraform examples:

Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists

Versions

Module version [Required]:

Terraform version:

Provider version(s):

Reproduction Code [Required]
My initial installation was using tag - daily-2023.08.04 for airflow installation. Afterwards, there was a updated fix which I updated to the build daily-2023.08.18 and tried to fix my airflow lab.
Afterwards, since no progress was made, I wanted to cleanup to avoid further charges, but it failed.
Steps to reproduce the behavior:

Yes

branch - daily-2023.08.04
./install.sh (failed)
branch - daily-2023.08.18
./install.sh (failed)
--> ./cleanup.sh
Expected behavior
I expected the cleanup to clear up what was created during the ./install.sh
Actual behavior
nothing was deleted
Terminal Output Screenshot(s)
phantom@phantom-pc:~/data-on-eks/schedulers/terraform/self-managed-airflow$ ./cleanup.sh
╷
│ Warning: Resource targeting is in effect
│
│ You are creating a plan with the -target option, which means that the result of this plan may not represent all of the changes requested by the current configuration.
│
│ The -target option is not for routine use, and is provided only for exceptional situations such as recovering from errors or mistakes, or when Terraform specifically suggests to use it as part
│ of an error message.
╵
╷
│ Error: Moved resource instances excluded by targeting
│
│ Resource instances in your current state have moved to new addresses in the latest configuration. Terraform must include those resource instances while planning in order to ensure a correct
│ result, but your -target=... options do not fully cover all of those resource instances.
│
│ To create a valid plan, either remove your -target=... options altogether or add the following additional target options:
│   -target="module.airflow_s3_bucket[0].data.aws_canonical_user_id.this"
│   -target="module.fluentbit_s3_bucket.data.aws_canonical_user_id.this"
│
│ Note that adding these options may include further additional resource instances in your plan, in order to respect object dependencies.

Additional context

We've developed a cleanup.sh script to ensure a reverse order deletion of resources, and it's customizable to fit your specific requirements.
Regarding the error you mentioned, I've reviewed our blueprint and it appears that the code you provided is not present:
│   -target="module.airflow_s3_bucket[0].data.aws_canonical_user_id.this"
│   -target="module.fluentbit_s3_bucket.data.aws_canonical_user_id.this"

Please note that S3 buckets cannot be deleted if they are not empty.
If the issue persists, you might want to consider running terraform destroy --auto-approve. This command can help identify the resource causing timeouts during the destruction process. From there, you can investigate the dependencies of that resource to determine the root cause.


Allow wildcard redirect to domains

Related issue
issue #943

Proposed changes

Checklist

[x] I have read the contributing guidelines.
[x] I am following the
contributing code guidelines.
[x] I have read the security policy.
[x] I confirm that this pull request does not address a security
vulnerability. If this pull request addresses a security. vulnerability, I
confirm that I got green light (please contact
<EMAIL_ADDRESS>from the maintainers to push
the changes.
[x] I have added tests that prove my fix is effective or that my feature
works.
[x] I have added or changed the documentation.

Further comments
I've implemented wildcards using existing config and almost the same logic. It supports scheme configuration like any other domain wildcard. Domains are verified(also via a public suffix: golang.org/x/net/publicsuffix) during config parse and if we try to wildcard all domains eg: http://* it will be filtered out as an invalid wildcard

Created for upstream: https://github.com/ory/kratos/pull/1528


Change backup location via snap without Mongo Shell

Hey there,
I am using the command
sudo wekan.database-backup
to backup our Wekan database on an Ubuntu 18.10 Server. Is it possible to change the directory where the backup is saved in?
Mongodump doesn't work for me, since Mongo Shell isn't installed. And I can't find a way to change the location.

You could try backup scripts:
https://github.com/wekan/wekan/wiki/Backup

You could try backup scripts:
https://github.com/wekan/wekan/wiki/Backup>

Mongodump doesn't work for me, since Mongo Shell isn't installed. And I can't find a way to change the location. >
.....
Managed to make it work, tho.

What is the difference between
mongodump
and
sudo wekan.database-backup
? Where are the attachements saved?

Only difference is that wekan.database-backup compresses backup with gzip, as can be seen at:
https://github.com/wekan/wekan/blob/devel/snap-src/bin/mongodb-backup
All wekan data, including text and attachments, are in database, and in that dump. After you have restored it to MongoDB with mongorestore, you can connect to database with NoSQLBooster (Win/Mac/Linux version) and save attachments to files:
https://github.com/wekan/wekan/wiki/Export-from-Wekan-Sandstorm-grain-.zip-file#12-save-attachments-to-files


[branch-2.8] Fix delete namespace issue (revert and fix #14619)

Motivation
The pull https://github.com/apache/pulsar/pull/14619 causes deadlock while deleting namespace.
The issue is 100% reproducible locally in the branch-2.8 if you run tests like

ProxyAuthorizationTest
AdminApiTest#testCreateAndDeleteNamespaceWithBundles

The issue is how the completableFuture instances are chained. The original pull uses async methods to cleanup the ZK resources instead the porting (https://github.com/apache/pulsar/pull/14619). This causes deadlock on the metadata-store thread-pooll
Modifications

Revert https://github.com/apache/pulsar/pull/14619
Use async methods to cleanup the ZK resources

An alternative could be to port the refactoring of the ZK cleanup with https://github.com/apache/pulsar/pull/11791 and https://github.com/apache/pulsar/pull/12711 but it's a more complicated solution (the cherry-picks don't apply cleanly)

[x] no-need-doc

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

Checks:

License -> https://github.com/apache/pulsar/pull/15044
Client Api tests ->

Error:  Failures:
Error:  org.apache.pulsar.client.api.MemoryLimitTest.testRejectMessages(org.apache.pulsar.client.api.MemoryLimitTest)
[INFO]   Run 1: PASS
Error:    Run 2: MemoryLimitTest.testRejectMessages:90 » ConditionTimeout Condition with lambda...
https://github.com/apache/pulsar/pull/14628

Sql: I don't know but it failed in the latest 2.8 post-commit check: https://github.com/apache/pulsar/runs/5887254154?check_suite_focus=true

So I think we could merge this pull


Keeps on saying that I need a substrate....

Whenever I enter the block launcher app it says that I need a substrate and tells me to download it, after I downloaded the substrate and launch the substrate app, it tells me that there was an error... Please fix this problem. It has been happening for probably months now....

@Shadowhang Don't launch Substrate - you just need the app installed, you don't need to run iot

can you send the link to download substrate

It looks like the Substrate developer deleted his Google Play account, but  http://www.cydiasubstrate.com/download/com.saurik.substrate.apk might still work.

its not working


Add Id to environment transform for forEach

It might be useful to have the key, index, id provided with the global environment when transforming to a local environment. For example
  public func forEach<GlobalState, GlobalAction, GlobalEnvironment, ID>(
    state toLocalState: WritableKeyPath<GlobalState, IdentifiedArray<ID, State>>,
    action toLocalAction: CasePath<GlobalAction, (ID, Action)>,
    environment toLocalEnvironment: @escaping (ID, GlobalEnvironment) -> Environment
  ) -> Reducer<GlobalState, GlobalAction, GlobalEnvironment> {
    .init { globalState, globalAction, globalEnvironment in
      guard let (id, localAction) = toLocalAction.extract(from: globalAction) else { return .none }
      return self.optional
        .reducer(
          &globalState[keyPath: toLocalState][id: id],
          localAction,
          toLocalEnvironment(id, globalEnvironment)
        )
        .map { toLocalAction.embed((id, $0)) }
    }
  }

These identifiers are often only locally unique (such as file names or view id's) and currently the environment has no way of knowing the scope of id's. It might be possible to construct a global path for a state by composing one with the stateTransform but this would mean that the local reducer would have knowledge about global context. For example if a reducer was implemented as per your VoiceMemo sample where the same static Id is used and then the container is extended to support having multiple players simultaneously then the local reducer would have to be modified as well.  It might also be difficult if the type of the enclosing Id was different than the local Id, for example a user my have a email for an id while their todo items would be identified with a UUID. Constructing single global id from this might be a bit strange. Would it be a string or an array of any or a nesting structs?

This is interesting to think about! In the reusable favoriting component example the favorite higher-order reducer takes an environment function that can describe a favoriting request given an environment: https://github.com/pointfreeco/swift-composable-architecture/blob/4df9a2e17e8931ef1443fd0ce5f6be23f141c5c1/Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ReusableFavoriting.swift#L55-L59
This functionality is then combined with an episodeReducer: https://github.com/pointfreeco/swift-composable-architecture/blob/4df9a2e17e8931ef1443fd0ce5f6be23f141c5c1/Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-ReusableFavoriting.swift#L148
With a forEach such as yours above, one could potentially define a favorites as a specialized forEach for favoriting without much work.
I'm trying to think through other use cases and how it affects other versions of forEach (like the one that works with arrays by index and the one that works with dictionaries by key). What could they do if index or key were exposed to the environment part of forEach?

After studying the favoriting I'm wonder that this could be implemented as an alternative to the current forEach. It might make things like grouping downloads easier. If the app was web page like, (I used to work at eBay and old habits die hard) then there are times when you want to kill all the loads from a single page. Having a chained environment would make this easier. It also can minimize use of global queues, such as currently being used in the cancelable functionality. It feels a little odd to have the environment produce effects but then cancel is triggered from the Effect class itself.
I'm not sure if its better to do this or have a concept of path.

@toddwbates We just got a Swift forum that should be nice for discussions like this and allow us to keep GitHub issues focused on bugs. Would you be up for moving the discussion there and closing this out? Would also love to see some motivating examples of this kind of forEach transformation. Maybe with a PR 🤩

Sure, I'll try and get one set up asap.


Issue 804 - Thread multisim

Closes #804

The current changes look fine.
However they don't do anything to address potential contention for working with the csv file. They should, no?

There's a lock placed on the csv file to prevent simultaneous access. I can also make different csv files based on the multisim unique run id, but I'm not sure if we want to pursue that direction.

The current changes look fine.
However they don't do anything to address potential contention for working with the csv file. They should, no?

There's a lock placed on the csv file to prevent simultaneous access. I can also make different csv files based on the multisim unique run id, but I'm not sure if we want to pursue that direction.

What if:

it tries to update csv
if no lock, then good, all done
if a lock, then wait 1 s and try again

?

What's the status of this PR?

What's the status of this PR?

Not sure how I can test the lock system and whether asyncio runs any waits. I'll come back to this task today.

@trentmc I double checked and that seems to be the behaviour of the statement:
https://docs.python.org/3/library/asyncio-sync.html#asyncio.Lock
waiting is therefore implicit.

@trentmc I double checked and that seems to be the behaviour of the statement: https://docs.python.org/3/library/asyncio-sync.html#asyncio.Lock
waiting is therefore implicit.

Great! Thanks for checking.