No such file or directory: 'skeleton_data/skeletons5_info.txt'

When running Train.ipynb
the cell:X0, Y0, clip_indices, classes = load_my_data('skeleton_data/skeletons5_info.txt')
it has an error
"FileNotFoundErrorTraceback (most recent call last)
 in ()
----> 1 X0, Y0, clip_indices, classes = load_my_data('skeleton_data/skeletons5_info.txt')
 in load_my_data(filepath)
23
24 def load_my_data(filepath):
---> 25     with open(filepath, 'r') as f:
26         dataset = simplejson.load(f)
27
FileNotFoundError: [Errno 2] No such file or directory: 'skeleton_data/skeletons5_info.txt'
"
Where can I get the "skeletons5_info.txt"?
I have downloaded "source_images3" but didn't see "skeletons5_info.txt" in it.
problem.pdf

Hello, this "skeletons5_info.txt" is used for training the model.
So you need to first download the dataset (images with a person in it), run a script to detect the person's skeleton, and then run another script to store skeleton results into this "skeletons5_info.txt".
The detailed steps are as follows (Just the same as the README.md):
4. How to run: Training
1). First, detect skeleton from training images and save result to txt:

$ python src/run_detector.py --source txtscript

Input: Images are from "data/source_images3/". See this file for downloading.
Output:
(1) Skeleton positions of each image in "src/skeleton_data/skeletons5/" in txt format.
(2) Images with drawn skeleton, saved in "src/skeleton_data/skeletons5_images/".

2). Second, put skeleton from multiple txt into a single txt file:

$ python src/scripts/skeletons_info_generator.py

Input: "src/skeleton_data/skeletons5/".
Output:  "src/skeleton_data/skeletons5_info.txt"

3). Third, open jupyter notebook, and run this file: "src/Train.ipynb".
The trained model will be saved to "model/trained_classifier.pickle".
Now, it's ready to run the real-time demo from your web camera.


feature: global NetworkClient snapshot interpolation timeline. => for usage as significantly better NetworkTime after => for usage in NetworkTransform after

ready.

Looks good other than the OnGui comment 👍

Looks good other than the OnGui comment 👍

what do you mean?


Lambda won't run when all functions were deployed at once

Weird issue happened today when I was quickly redeploying lambda functions to production.

One project
13 lambda functions
Deployed all at once with lein cljs-lambda deploy without any other options

Some of these functions didn't work. Error message was:
{
  "errorMessage": "callback called with Error argument, but there was \
  a problem while retrieving one or more of its message, name, and stack"
}

I redeployed these functions again with the same command, but one by one. In other words, 13 commands:

lein cljs-lambda deploy FuncName
...

Problem solved. All functions are working properly.
One issue can be parallelism. Will test tomorrow with :parallel 1 if this is the issue. Also tried to Google it and found: https://github.com/lusentis/dawson/issues/1 It's worth to investigate it as well.
I've got environment where I can reproduce this issue (tried it, reproduced), will check what's wrong. Either permissions can be wrong in the ZIP file or there's issue when :parallel > 1.

That's really weird - I haven't seen this.
What filesystem is this on?  There was a change here a few months ago which looks correct, but which came to mind when I looked at that ticket you linked to.
I'm going to change over a client's CI deploy to use the multi-aliasing feature tomorrow, which'll turn it into a 15-function parallel deploy - will watch out for this.

It's OS X (HFS+). Weird is that this doesn't happen in other projects where number of lambda functions > 1. Just this one. Seems like edge case of ... who knows, will try to find it today.

Didn't find time today yet, will try tonight or on Saturday :(

Back from vacation, investigation continues ...

I just switched a client's CI over to use 0.6.1-SNAPSHOT, deploying 15 or so functions in single :publish :alias ... - the subset of fns I tested have worked through the 5 or so subsequent deploys - am watching out for errors.

Case closed, issue was elsewhere, no bug in cljs-lambda plugin.
Details
ZIP file contains index.js file, which requires JS file with compiled lambda functions and lambda functions handlers exports. In case of cljs-lambda deploy FuncName there's just one export. In case of cljs-lambda deploy there are exports for all lambda functions. And this was the issue, because there was one lambda function (unused, no tests, kind of preparation for future) with wrong :export -> optimized out -> handler not found -> all lambda functions stopped working. This :export issue was hidden by deploy FuncName for every lambda function -> no export in index.js for this crippled lambda function (function wasn't used yet).
I can confirm that the problematic project was just fixed and it does work even with :parallel 15. I'm sorry for the buzz.

No problem!


Time out initial fetch, and go to account-picker screen

If you launch the app, and the last server you'd been using is one that is now impossible to reach... currently we just stay at the loading screen forever, endlessly retrying the initial fetch.
If that's the only server you ever wanted to use, then this isn't so bad, given that there's not much useful we can do until the server is back. But if you'd like to go use some other server, then you're completely blocked from doing so. If the server doesn't come back, your only remedy is to clear the app's data entirely (or uninstall and reinstall) and log into those other servers from scratch. This is #4159, as described at https://github.com/zulip/zulip-mobile/issues/4159#issuecomment-645574458 .
We should do better. As a minimal version, if the initial fetch takes a completely unreasonable amount of time (maybe one minute), we should give up and take you to the account-picker screen so you can try a different account and server.
(An improved followup version might continue loading but show a message like "Still working..." and an action "Switch account" on the loading screen, after a much shorter period like 7 seconds.)
Here's how I'd go about implementing this:

The key logic to change is in doInitialFetch, around api.registerForEvents with the pair of tryUntilSuccessful calls.
That logic already handles the case where the load is outright rejected by the server -- that's the isClientError case inside tryUntilSuccessful, and the catch block outside it that calls dispatch(logout()).
What's needed is to also handle the case where the server simply doesn't respond, or responds with a 5xx error. We don't want to log out in that case, because the credentials may still be perfectly good -- but we do want to abort.
For actually aborting and going to the account-picker screen, we can probably do the same thing as we do for the "Switch account" button in ProfileCard.js: dispatch(navigateToAccountPicker()). Then return out of doInitialFetch.
For the logic to get there: first, let's move tryUntilSuccessful into the same file as doInitialFetch and just above it, and give it a more specific name like tryFetch. (This move can be its own commit.) It's always been closely tied to that function's specific needs with its handling of 4xx errors, and we're about to make it more so.
Then, in the retry loop, check how long it's been since we started -- if it's more than a timeout constant like 60 seconds, throw an exception. In the catch block around the requests, still do dispatch(logout()) if isClientError(e); but otherwise, abort without logging out.

For the logic to get there: first, let's move tryUntilSuccessful into the same file as doInitialFetch and just above it, and give it a more specific name like tryFetch. (This move can be its own commit.) It's always been closely tied to that function's specific needs with its handling of 4xx errors, and we're about to make it more so.

fetchPrivateMessages also uses tryUntilSuccessful. Does that look like a mistake, now that we're going to change tryUntilSuccessful to more specifically address doInitialFetch's needs? If it's not a mistake, I wonder why, e.g., fetchMessagesInNarrow doesn't use it.

fetchPrivateMessages also uses tryUntilSuccessful. Does that look like a mistake, now that we're going to change tryUntilSuccessful to more specifically address doInitialFetch's needs?

Huh, good catch -- I'd looked for uses of tryUntilSuccessful but somehow I'd missed that one!
Reading it, I think it'd be fine for it to continue to use the helper when it grows a timeout, or also fine for it to just have its current behavior inlined as a BackoffMachine loop... or really basically fine for it to just try once and not bother retrying, just as fetchMessages does. (Especially as this function is doomed anyway, as the jsdoc tells us.)
I think the reason it differs from fetchMessagesInNarrow is just that this helper was factored out the initial fetch (in 0a3149c), and it had the retry there because the rest of the initial fetch does.

This was accidentally closed by merging #4226. A clause like They don't fix #4165 at all is dangerous :wink:

Yikes, indeed!!

I posted a note on the current status at https://github.com/zulip/zulip-mobile/pull/4193#issuecomment-698002920 (and explicitly linked that PR with this issue—oops).

See discussion on CZO here.


[CI][Packaging][Java] Ensure updating "python@*" formulae on macOS

Describe the bug, including details regarding any error messages, version, and platform.
On a few crossbows [1][2][3], CIs on macOS x86_64 have been failing due to a homebrew issue.
 Error: No such keg: /usr/local/Cellar/llvm
Error: No such keg: /usr/local/Cellar/llvm
Installing aws-sdk-cpp
Installing bash
Installing boost
Using brotli
Installing bzip2
Upgrading c-ares
Using curl
Installing ccache
Using cmake
Installing flatbuffers
Using git
Installing glog
Installing googletest
Installing grpc
Installing llvm@14
Using lz4
Installing mimalloc
Installing ninja
Installing node
Using openssl@3
Using pkg-config
Installing protobuf
Upgrading python
==> Upgrading 1 outdated package:
python 3.12.3 -> 3.12.4
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/manifests/3.12.4
==> Fetching<EMAIL_ADDRESS>==> Downloading https://ghcr.io/v2/homebrew/core/python/3.12/blobs/sha256:93d81dfa181e6890b6a2baa4fbb4df71b6c061a2dc7823fe0ae12b2ec4b59cc1
==> Upgrading python
  3.12.3 -> 3.12.4
==> Pouring<EMAIL_ADDRESS>Error: The `brew link` step did not complete successfully
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3

[1] https://github.com/ursacomputing/crossbow/actions/runs/9554716898/job/26336385763#step:5:78
[2] https://github.com/ursacomputing/crossbow/actions/runs/9554720405/job/26336397852#step:5:78
[3] https://github.com/ursacomputing/crossbow/actions/runs/9554711612/job/26336369061#step:5:78
Component(s)
Integration

Issue resolved by pull request 42202
https://github.com/apache/arrow/pull/42202


Update for <IP_ADDRESS>

Hey!
This not a bug report or anything since I know <IP_ADDRESS> is not released yet.
I just wanted to know if you have any plans of updating so it works with <IP_ADDRESS>?
Currently there seems to be a few issues while using this theme.
The posters are blinking when loading, I narrowed it down being due to
.cardImageContainer {     transition: 0.7s; }
In the base.css
And while posters are aligned fine under details view, when looking at an episode it looks like this

There is also a new option in the user settings called "Details Banner"
Details Banner
Display a banner image at the top of the item details page.

When disabled the details page goes from looking like this

to this

(don't mind the narrowed backdrop image, the imagetool I used to capture the whole page made it look like that).
And last, the mobile details pages does not seem to work at all anymore, they just looks like this

That's all I have found so far! :D

I've updated to the 10.8.0 Beta myself.
I've got some fixes in personal use already, I'm just holding onto those commits for when 10.8.0 actually releases, but they are ready to be pushed when that happens.
I'm sure I'll miss something, so I'll welcome anything more you find.

I've updated to the 10.8.0 Beta myself.
I've got some fixes in personal use already, I'm just holding onto those commits for when 10.8.0 actually releases, but they are ready to be pushed when that happens.
I'm sure I'll miss something, so I'll welcome anything more you find.

Alright sound awesome!

Ok so I checked these out and I'm not seeing any "blinking". Posters fade from the blurred placeholders into their full res version smoothly as they load.

Well it's more like a fadeout/fadein than blinking, it just looks weird when the images are already loaded.
you can see it here https://www.youtube.com/watch?v=MDoQBzBIgf4 the first part is with .cardImageContainer { transition: 0.7s; } after the black screen I have removed it.

and mobile pages work just fine. In fact the new mobile pages look great. Some layout weirdness as things are different but that's it.

Oh, so it's suppose to look like that?
I just liked it more when it had the blurred backdrop.
Anyways if that's not the case here is my custom css list, maybe i'm missing something or got it loaded in the wrong order?
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/fixes.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/jf_font.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/base.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/accentlist.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/type/colorful.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/rounding_circlehover.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/smallercast.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/episodelist/episodes_grid.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/header/header_transparent-dashboard.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/login/login_frame.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/titlepage/title_banner-logo.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/fields/fields_border.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/cornerindicator/indicator_corner.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/overlayprogress.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/effects/hoverglow.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/effects/glassy.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/effects/pan-animation.css');
@import url('https://ctalvio.github.io/Monochromic/backdrop-hack_style.css');
@Import url("https://cdn.jsdelivr.net/gh/prayag17/Jellyfin-Icons/round.css");

/*Style backdrop*/
.backdropImage {filter: blur(12px) saturate(120%) contrast(120%) brightness(40%);}

/*Accent and rounding*/
:root {
  --accent: 0, 191, 255;
  --rounding: 12px;
}

No the mobile view should be like this. Yours looks like you maybe loaded the desktop site and squished it into a teensy viewport without changing what client device is reported.
And I don't get any transparency when scrolling, or posters popping in like that.
As for the backdrops on mobile, they didn't exist at all in 10.7, and my theme does NOT bring them back. It repurposed the poster image into something that looks like a backdrop, and it's extremely specific to 10.7. I've not looked into the 10.8 item page but it doesn't look like they're back.

No the mobile view should be like this. Yours looks like you maybe loaded the desktop site and squished it into a teensy viewport without changing what client device is reported.
And I don't get any transparency when scrolling, or posters popping in like that.
As for the backdrops on mobile, they didn't exist at all in 10.7, and my theme does NOT bring them back. It repurposed the poster image into something that looks like a backdrop, and it's extremely specific to 10.7. I've not looked into the 10.8 item page but it doesn't look like they're back.

Alright, I got the mobile page somewhat fixed by removing the fixes.css :D
I tried to open jellyfin in both chrome and firefox and in incognito mode with only the base.css loaded, and it still did the weird fadein/fadeout.

Also getting the fade-in bug, replacing the .cardImageContainer transition worked as @mLgz0rn said. @CTalvio try Ctrl+R or clear storage on your Jellyfin site?

may i know what should i do with .cardImageContainer if I got the issue too?

@CTalvio 10.8.0 stable is now live, if you wouldn't mind pushing pending fixes. Thanks!
https://www.reddit.com/r/jellyfin/comments/v9nxk1/jellyfin_1080_has_been_released/

Any chance we can get an update for 10.8.0 soon ? :)

Pushed my fixes a while ago, and just now a bunch more, please create new issues for anything you find going forward.


YAML pipeline demands agent version that does not exist

Agent Version and Platform
Version of your agent? 2.160.1
OS of the machine running the agent? Windows
Azure DevOps Type and Version
dev.azure.com/Emdat
What's not working?
YAML pipeline is demanding a version of the agent that is not yet available in our organization:

Forcing an upgrade via the Azure DevOps Agent Pools screen only updates to 2.160.1.
The pipeline we are trying to run was previously working yesterday, and has not been altered since.
Agent and Worker's Diagnostic Logs
There are no logs because the agent does not even start. No additional information is shown when diagnostics are turned on for a subsequent run.

we are seeing the same issue
https://dev.azure.com/msi-cie/

Same here

Same here

I'm seeing the same, but using Ubuntu 16.04 build agent in the US. The agent version is 2.160.1. This exact build worked as expected yesterday. I hope this is P0, as I imagine it's blocking a lot of development teams using Azure DevOps.

Yep same here

bump, same

same issue seen here

This is making our builds fail, our pipelines have come to a screaming halt. Please fix this asap!

We can't build anything anymore. We have already wasted 2 hours today with 10+ people not being able to work. Fix is needed as soon as possible.

Same problem here, no successful runs after yesterday.

Same here. The temporary solution posted indevelopercommunity.visualstudio.com worked in my case.

We also have this issue since yesterday. Truly annoying :(
Is this something we should expect - that our pipelines suddenly stops running?

This appears to be an issue with the DownloadPipelineArtifact@2 task.
A workaround is to try altering your yaml to use DownloadPipelineArtifact@1

@grhm @MichaelKoster70 thanks for the workaround. It's a temporary solution which works fine in my case

testing this morning, the issue appears to be resolved. the developer community page is marked as closed

I apologize for the issue, the fix has been rolled out and things should be resolved now.
We ran into issues when rolling out our Agent and because of that a task was able to deploy ahead of the Agent version it required, thus the inability to get an Agent with the version the task needed. We are working on our internal deployment processes to make sure this doesn't happen again.

@stephenmichaelf : Please consider improving the error message, so it is easier to diagnose problems like this next time. Something like the following would be much more useful:
##[error]No agent found in pool Azure Pipelines which satisfies the specified demands:
     Agent.Version -gtVersion 2.161.0 - required by DownloadPipelineArtifact@2

Next, there is nothing in the build logs for this error, even when Diagnostic mode is turned on. So adding this info to the build logs is also needed.
All this should be done in addition to the "why did it happen/how can we prevent it" analysis. This type of blocking issue is a huge problem to the businesses that have bet on Azure DevOps.


feat: date_bin supports MonthDayNano, microsecond and nanosecond units

Which issue does this PR close?
Closes #5697
Rationale for this change
Teach date_bin to support for microsecond and nanosecond precision of intervals via the MonthDayNano type. Note that months are complicated to support and will require additional work. In doing so, we can also address #5689.
What changes are included in this PR?
date_bin is now capable of parsing fractional intervals with a precision of microseconds and greater. The interval parser is also capable of interpreting the additional units microsecond, microseconds, nanosecond and nanoseconds, which should be additive.
Are these changes tested?
Yes, unit tests for parsing intervals, validating arguments to date_bin and new SQL tests in the timestamps.slt file.
Are there any user-facing changes?
Yes, users can now use additional units for intervals, such as:
select date_bin('500 microseconds', ...)

and the date_bin function is capable of binning microsecond and nanosecond precision intervals.

Filed https://github.com/apache/arrow-rs/pull/3916 in arrow-rs

@alamb thank you for the review. I can help port that code over to arrow-rs if I have some spare cycles – I see that will help us with implementing ::interval casting, which is 💯 .

Thanks @stuartcarnie  -- I actually already ported over the code in https://github.com/apache/arrow-rs/pull/3916 (because I figured it would be just as fast as writing up a ticket)


add wayland patch and trigger rebuild

rebuild is needed as latest build used outdated flac
closes #199 and #198

Ugh if OBS would just forcefully fetch the latest dependencies. I manually started the OBS workflow as it only triggers on tags usually, I it just replaces the 105.0.5195.125-2 file.


Is this package working

i dont think so. I have tried it and spent some hours trying to get it working. no matter what file i compress, it shows the size of 6 bites and the result picture doesnt open. it says the file type is jpeg but its something else. Firebase storage says its type : application/octet-stream

open src/components/vue-image-compressor.vue
find function drawImage,add img.onload at line 106
find function buildFile, return new File([blob], name)   =>  return new File([blob], name, { type: 'image/jpeg' })


Uncaught ReferenceError: _setDashboard is not defined

I keep getting this error:

It is coming from vendor\yab\quarx\src\Assets\js\quarx.js:
$(window).resize(function(){
       _setDashboard();
   });

   _setDashboard();

I have no idea what this is supposed to do but it stops other JS from loading so my application breaks.

Looks like my recent updates broke the dashboard portion, I'll have a fix out very soon

Any fix for this yet?

Unfortunately @shabaz-ejaz I had to abandon the name Quarx and Yab abruptly rebrand the packages and release them under a new name. I have been working extensively on this. It is not an issue in the latest version of Grafite CMS but switching from Quarx to Grafite CMS does require several steps. I'm currently writing a blog entry on how to achieve this. I apologize for the inconvenience.


Q: Run from deployment machine?

I have a cronjob that needs to do some downtime work, I'd love if it were able to wrap itself the maintenance:enable and disable tasks, using the same logic ordinarily used for turning on maintenance mode 'manually', to keep things DRY and consistent.
I guess I'd have to add cap and cap plugins to the production gem group... and then just have my cron job actually run bundle exec cap maintenance:enable from the production machine itself? I guess it would still be ssh'ing, even though it's on the same machine it's ssh'ing too, so would have to make sure to set up ssh keys for localhost login. I guess?
Does this make any sense at all? Is it a terrible idea? Is there any better way to do this?
Thanks for any advice!

I understand the desire to keep things DRY, but doing it via this gem is not a good idea IMHO.
I would probably write a shell script to do the stuff capistrano-maintenance does, and then call that script via cron or via a trivial capistrano task.

GitHub issues are for feature requests or bug reports. Since this is more of a how-to question, I am closing this issue. The Capistrano team recommends you use Stack Overflow for general questions. For more details, please see our contribution policy.

thanks for the advice!


[Bug] Import does not overwrite all existing tokens

I just imported a backup from my tablet onto my phone, and contrary to the warning it did not overwrite the existing tokens - it added the new ones at the end of the list, creating loads of duplicates, possible bad ones too if the token had been recreated since the last import.

I tried with both, both appended instead of overwriting.Von meinem/meiner Galaxy gesendet
-------- Ursprüngliche Nachricht --------Von: Howard Liberty @.> Datum: 14.06.22  22:10  (GMT+01:00) An: helloworld1/FreeOTPPlus @.> Cc: Mathias Homann @.>, Author @.> Betreff: Re: [helloworld1/FreeOTPPlus] [Bug] Import does not overwrite all existing tokens (Issue #207)
Which format of backup are you using? I think the Json format should overwrite but not other formats.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Got it. This sounds like a behavior change by a change that allows the account with same issuer / account combo to be added. See https://github.com/helloworld1/FreeOTPPlus/issues/15

Yea, I think that's a reasonable way to deduplicate the token.

here's a fun bit: this weekend I tried again to copy my freeotp+ tokens from one device to the other, so i exported as json and imported on the other device, and this time around it did overwrite the existing tokens just fine o.0

@lemmy04 Thats probably due to the fact that when importing, the id (primary-key) is set to the index of the token in the JSON Token list. Therefore if you import a JSON once and then again, the second time all the same tokens will also have the same id and therefore will be correctly overwritten.


Faqs: [CDS-100007]: Addition of CD general Faqs

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66cf8e42c1fc5126509ccd61--harness-developer.netlify.app

Hello we no longer accept FAQs to kb/continuous-delivery/faqs.md. Please put the FAQs in their relevant swimlanes.
In this case consider: https://developer.harness.io/docs/continuous-delivery/x-platform-cd-features/services/cd-artifact-sources-faqs
Additionally, please check to see if your proposed FAQ has already been added to the site. In this case, the fact that harness truncates logs has been added multiple places including multiple FAQ pages.
Thanks for your contribution! Will close this PR, please open a new one.


spacy/attrs.pxd missing

Hey- compile (in fact, Cython translation) is failing due to uncommitted file (that should have been in the repo for 9 days). I think since this is now being advertised, you should probably move to off-site CI and tagged releases...

(Oh, and best of luck for the project!)

Hey
Argh, thanks. I'm using Travis, but I'm testing installation via pip. The attrs.pxd file ends up in the sdist, because it's in the package data.
I need to CI both installation from git clone and installation via pip. I'll figure that out.

Yes, always sdist from a fresh clone

You need a CI that tests master, and all pull requests, ideally (although I'm not sure what scale of contribution you expect/intend on this licensing model). It's pretty standard integration on github.

The problem is that the sdist relies on an intermediate state not in the repo --- the Cython-generated .cpp files. I have the CI set up to test the sdist because it's actually not so simple to build the .cpp files in a way that ensures the sdist doesn't depend on some side-effect of the Cythonizing.
Anyway. I'll find a way to fix this and ensure that both the installation from pip and the compilation from master are clean.


Change view account label

Overview

The current account dropdown doesn't have a clear content hierarchy nor makes it clear what clicking on the account name - that appears twice - does.

The design proposed below takes the hierarchy into account:

It highlights the view my account action and makes the disconnect option less visible by reducing the text size on disconnect.
It creates a pattern, repeated by both items, of how the dropdown menu behaves. Before, we had a link and a button, now we have two links.
It emphasizes whats being hovered by changing the whole background color and adding the underline below the text.

Figma Link
Acceptance criteria

Implement the proposed menu.
Technical considerations

Tasks

I like the first image mockup without any underlines :)

@poplexity The underline was meant to help people with daltonism to more easily see which of the two options the mouse pointer is hovering. In the images below I changed the lightness and saturation a bit further to guarantee that the difference between the colors is visible.
The reason I'm sort of insisting on a lighter shade is that when you have a dark background, the lighter the other elements are, the closer they are perceived by us. I would expect the element I'm hovering to be closer to me - since I'm thinking about clicking on it - rather than farther away.

What do you think? I'm happy to either continue fine tuning it or taking another approach.
@ramijames would you have any feedback on this?


Can't drag/drop in flutter web

Using the example I cannot drag/drop the GridView children on flutter web.
The children switch animation works when I trigger manually with
setState(() {
  final child = children.removeAt(0);
  children.insert(1, child);
});

Any idea what could cause this behavior?

Hi @loic-hamdi
it seems like you solved the issue. If anything wasn't clear, please let me know it.


Update README.md

Mention lovely launch blog post

Thanks, but we already link to the blog post in the repo URL. We'll stick with that for now.

Sure...as long as folks end on the README from your GitHub, but that doesn't cover all of the cases of forks, offline clones, or where the README is embedded as description into third party sites.


Serf problem

Hi,
I'm tring to install Kong on OVH VPS but with no luck.
Any suggestion?
I paste the console error:
root@box:/home/webuser# kong start
[INFO] Kong 0.7.0
[INFO] Using configuration: /etc/kong/kong.yml
[INFO] Setting working directory to /usr/local/kong
[INFO] database...........cassandra keyspace=kong ssl=verify=false enabled=false replication_factor=1 contact_points=localhost:9042 replication_strategy=SimpleStrategy timeout=5000 data_centers=
[INFO] dnsmasq............address=<IP_ADDRESS>:8053 dnsmasq=true port=8053
[INFO] Leaving cluster..
[ERR] Could not start serf: Failed to start the Serf agent: Error creating Serf: Failed to create memberlist: No private IP address found, and explicit IP not provided
[ERR] Could not start Kong
root@box:/home/webuser#

@nsaliu there was a problem finding the first non loopback IPv4 address. To fix this issue just explicitly set an IP address using the cluster.advertise property.

@nsaliu did that fix your problem?

Hi,
thanks for your reply!
I don't try your solution because then I install Kong with Docker on AWS instance.
For a complete scenario, when I got this problem, the server was an OVH VPS with Ubuntu 14.04.
Thanks so much thefosk.

Okay, anyways setting an explicit advertise address would have fixed this problem.

FWIW, I was running into this error and configuring cluster.advertise works for me.

For macos users:
sudo cp /etc/kong/kong.conf.default /etc/kong/kong.conf
vi /etc/kong/kong.conf
Set the advertise explicitly:

cluster_advertise = <IP_ADDRESS>:2312

If you start serf alone, you will get the same problem. To get ride of the problem using -v.

serf agent -advertise=<IP_ADDRESS>:2133

Hello - just a friendly reminder that from Kong >= 0.11.0 Serf is not a dependency anymore, and Kong nodes don't have to cluster together anymore. But don't worry, we still cache and invalidate data the same way by relying a little bit more on the underlying datastore.
You can play with the 0.11RC at https://github.com/Mashape/kong/releases


watermark problem

Hi,
I wonder why there is always a watermark like pattern appealing in the generated video? Any idea how to get rid of it?

Hi, this is a problem with the Webvid-10M training dataset where all the videos in the dataset have a "shutterstock" watermark at the same position of the video. We use the center cropped videos in the dataset or their horizontal flips to train the model, therefore there will likely be a watermark at the middle part of the video. We are working on training the model on watermark-free datasets to get rid of this problem.


Cant convert to diffusers

Hi! Thanks for the awesome work!
Unfortunatelly I am stuck on the last step.
It throws the following error when trying to convert to diffusers:
Transferred model saved at E:\sd\output_gui2/models//control_anything-v3.0_canny/control_anything-v3.0_canny.pth global_step key not found in model In this conversion only the non-EMA weights are extracted. If you want to instead extract the EMA weights (usually better for inference), please make sure to add the --extract_ema flag. Traceback (most recent call last):   File "E:\sd\output_gui2\sdiff_GUI.py", line 434, in <module>     convertControl(['--checkpoint_path', (dir_path + "/models/" + '/control_' + values["mod"] + "_canny/" + 'control_' + values["mod"] + "_canny.pth"), '--dump_path', (dir_path + "/models/" +  'control_' + values["mod"] + "_canny" ),'--device', 'cpu'])   File "E:\sd\output_gui2\convert_controlnet_to_diffusers.py", line 105, in main     pipe = load_pipeline_from_control_net_ckpt(   File "C:\Users\brurp\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\diffusers\pipelines\stable_diffusion\convert_from_ckpt.py", line 1549, in load_pipeline_from_control_net_ckpt     converted_ctrl_checkpoint = convert_controlnet_checkpoint(checkpoint, unet_config)   File "C:\Users\brurp\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\diffusers\pipelines\stable_diffusion\convert_from_ckpt.py", line 584, in convert_controlnet_checkpoint     new_checkpoint["time_embedding.linear_1.weight"] = unet_state_dict["time_embed.0.weight"] KeyError: 'time_embed.0.weight'

Could you provide your full converting command so that I can help you? @brurpo

Sure! I am doing it within my own gui.
It converts to a safatensor first if it does not exists, then, creates the folder and the control net .pth. It fails on the next step, to convert this pth to safetensors.
basically it fails this command on your readme:
python ./scripts/convert_controlnet_to_diffusers.py --checkpoint_path control_any3_openpose.pth  --dump_path control_any3_openpose --device cpu
my code inside my gui is the following:
`if event == 'Convert current model to control canny':
window.Disable()
window.find_element("message").update(value="Converting model, please wait!", text_color='red')
window.Refresh()
window.read(timeout=1)
pop = popup('Please wait...')
        if not os.path.exists(dir_path + "/models/" + values["mod"] + '/' + values["mod"] + ".safetensors" ):
            convertToSafe(['--model_path', (dir_path + "/models/" + values["mod"]), '--checkpoint_path', (dir_path + "/models/" + values["mod"] + '/' + values["mod"] + ".safetensors"), '--half', '--use_safetensors'])

        if not os.path.exists(dir_path + "/models/" + '/control_' + values["mod"] + "_canny/"):
           os.makedirs(dir_path + "/models/" + '/control_' + values["mod"] + "_canny/")

        transferControl(['--path_sd15', (dir_path + "/control/v1-5-pruned.ckpt"), '--path_sd15_with_control', (dir_path + "/control/v1-5-pruned.ckpt"), '--path_input', (dir_path + "/models/" + values["mod"] + '/' + values["mod"] + ".safetensors" ),'--path_output', (dir_path + "/models/" +  '/control_' + values["mod"] + "_canny/" +  'control_' + values["mod"] + "_canny.pth")])

        convertControl(['--checkpoint_path', (dir_path + "/models/" + '/control_' + values["mod"] + "_canny/" + 'control_' + values["mod"] + "_canny.pth"), '--dump_path', (dir_path + "/models/" +  'control_' + values["mod"] + "_canny" ),'--device', 'cuda:0'])

        pop.close()
        window.find_element("message").update(value="Iddle...", text_color='white')
        window.Enable()`

Its basically a step by step of your readme. I am doing it with anything v3, same as the tutorial.

Hi @haofanwang! Thanks for all your time!
I did! git cloned then changed to 9a37409663a53f775fa380db332d37d7ea75c915
I ran your code, it just threw 2 Falses
False
False

Maybe something went wrong converting it to pytorch?

I reinstalled controlnet.
Now it returns TRUE for both lines.
Unfortunatelly it now throws a different error on the last step.
RuntimeError: Error(s) in loading state_dict for UNet2DConditionModel:
        Missing key(s) in state_dict: "time_embedding.linear_1.weight", "time_embedding.linear_1.bias".

Sorry to bother @haofanwang, but, would you mind, if you have the time, trying to convert my converted pth? So we can know if the problem is in the conversion to pth or the conversion to diffusers?
Thanks agan

hey, @haofanwang, sorry to bother again.
The following lines (584 and 585) on convert_to_ckpt.py were commented
    new_checkpoint["time_embedding.linear_1.weight"] = unet_state_dict["time_embed.0.weight"]
    new_checkpoint["time_embedding.linear_1.bias"] = unet_state_dict["time_embed.0.bias"]

I`ve uncommented them and it now seems to be working. Were they supposed to be commented?


Recursive belongs_to / has_many relationship

Hi all,
I have been struggeling lately to find a solution for one of my problems: I have a model "Category", which can have a parent. So one category might belong to another category as a child.
If I now use the normal belongs_to and has_many decorators provided by Orator, I receive Python errors because class loading is caught in a recursion loop. Is there a supported way to create such a relationship (a model belonging to itself)?
See an example of what I tried below:
class Category(Model):
     __table__ = 'categories'

    @has_many('parent', 'id')
    def children(self):
        return Category

    @belongs_to('parent')
    def parent(self):
        return Category

You have a problem in your model. This is what it should look like
class Category(Model):

    @has_many('parent_id')
    def children(self):
        return Category

    @belongs_to
    def parent(self):
        return Category

or, if you want to be more verbose:
class Category(Model):

    __table__ = 'categories'

    @has_many('parent_id', 'id')
    def children(self):
        return Category

    @belongs_to('parent_id')
    def parent(self):
        return Category

Thanks, but wouldn't that mean the foreign-key field in my database has to be called "parent_id"? Is there a specific reason the field can't be called "parent"?

parent is the name of your belongs_to relation. Therefore the foreign key must have another name for Orator to properly handle the relation.


FIX: The create channel's security settings link should work with nested categories.

linting needs fixing please


Additional command line arguments needed for tflite conversion of a very simple model

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: -
TensorFlow installed from (source or binary): Docker image tensorflow/tensorflow:latest-gpu
TensorFlow version (use command below): 1.14.0
Python version: 2.7.15+
Bazel version (if compiling from source): -
GCC/Compiler version (if compiling from source): -
CUDA/cuDNN version: 10.1
GPU model and memory: GeForce RTX 2080 Ti

I am trying to deploy a simple, custom fully-quantized model with Coral Edge TPU support. When trying to convert the frozen graph into a tflite model, I run into errors, unless I provide more command line arguments. Considering how simple the model is (e.g. using very basic layers), I did not expect to run into problems.
Code to reproduce the issue
I create and train a model that fits the function f(x) = 2 x - 1 with the following code:
import tensorflow as tf
from tensorflow import keras
import numpy as np

print(tf.__version__)

train_input = np.array([ -1.0, 0.0, 1.0, 2.0, 3.0, 4.0], dtype=float)
train_truth = np.array([ -3.0, -1.0, 1.0, 3.0, 5.0, 7.0], dtype=float)

def build_keras_model():
	return keras.models.Sequential([
		keras.layers.Dense(units=1, input_shape=[1]),
	])

### train the model
train_graph = tf.Graph()
train_sess = tf.Session(graph=train_graph)

keras.backend.set_session(train_sess)

with train_graph.as_default():
	keras.backend.set_learning_phase(1)
	train_model = build_keras_model()

	tf.contrib.quantize.create_training_graph(input_graph=train_graph, quant_delay=100)
	train_sess.run(tf.global_variables_initializer())

	train_model.compile(
		optimizer='sgd',
		loss='mean_squared_error'
	)
	train_model.fit(train_input, train_truth, epochs=250)

	saver = tf.train.Saver()
	saver.save(train_sess, 'linear.ckpt')

Afterwards, I create an eval graph and freeze the model with the help of this script:
import tensorflow as tf
from tensorflow import keras
import numpy as np

def build_keras_model():
	return keras.models.Sequential([
		keras.layers.Dense(units=1, input_shape=[1]),
	])

# eval
eval_graph = tf.Graph()
eval_sess = tf.Session(graph=eval_graph)

keras.backend.set_session(eval_sess)

with eval_graph.as_default():
	keras.backend.set_learning_phase(0)
	eval_model = build_keras_model()

	tf.contrib.quantize.create_eval_graph(input_graph=eval_graph)

	eval_graph_def = eval_graph.as_graph_def()
	saver = tf.train.Saver()
	saver.restore(eval_sess, 'linear.ckpt')

	frozen_graph_def = tf.graph_util.convert_variables_to_constants(
		eval_sess,
		eval_graph_def,
		[eval_model.output.op.name]
	)

	with open('frozen_model.pb', 'wb') as f:
		f.write(frozen_graph_def.SerializeToString())

When I try to convert the frozen graph to a tflite model, using the following command
tflite_convert \
--output_file=model.tflite \
--graph_def_file=frozen_model.pb \
--inference_type=QUANTIZED_UINT8 \
--input_arrays=dense_input \
--output_arrays=dense/BiasAdd \
--mean_values=0 \
--std_dev_values=255

I run into an error:
Traceback (most recent call last):
  File "/usr/local/bin/tflite_convert", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/tflite_convert.py", line 503, in main
    app.run(main=run_main, argv=sys.argv[:1])
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "/usr/local/lib/python2.7/dist-packages/absl/app.py", line 300, in run
    _run_main(main, args)
  File "/usr/local/lib/python2.7/dist-packages/absl/app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/tflite_convert.py", line 499, in run_main
    _convert_tf1_model(tflite_flags)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/tflite_convert.py", line 193, in _convert_tf1_model
    output_data = converter.convert()
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/lite.py", line 898, in convert
    **converter_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/convert.py", line 404, in toco_convert_impl
    input_data.SerializeToString())
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/lite/python/convert.py", line 172, in toco_convert_protos
    "TOCO failed. See console for info.\n%s\n%s\n" % (stdout, stderr))
tensorflow.lite.python.convert.ConverterError: TOCO failed. See console for info.
2019-07-11 15:54:26.995204: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 7 operators, 12 arrays (0 quantized)
2019-07-11 15:54:26.995314: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 7 operators, 12 arrays (0 quantized)
2019-07-11 15:54:26.995465: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 1: 2 operators, 5 arrays (1 quantized)
2019-07-11 15:54:26.995497: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before pre-quantization graph transformations: 2 operators, 5 arrays (1 quantized)
2019-07-11 15:54:26.995512: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Group bidirectional sequence lstm/rnn: 2 operators, 5 arrays (1 quantized)
2019-07-11 15:54:26.995528: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before quantization graph transformations: 2 operators, 5 arrays (1 quantized)
2019-07-11 15:54:26.995558: F tensorflow/lite/toco/graph_transformations/quantize.cc:149] Array dense/BiasAdd does not have MinMax information, and is not a constant array. Cannot proceed with quantization.
Aborted (core dumped)

This error vanishes, when I provide two additional command line arguments with any value:
--default_ranges_min=-128 --default_ranges_max=127
First and foremost, shouldn't a simple model like this be convertible without these args? Also, I am still only guessing on how to determine the default ranges as well as the values for mean_values and std_dev_values. This should be added to the documentation for clarity.

@DocDriven ,
The arguments, --default_ranges_min and --default_ranges_max are required as per the documentation provided in this Tensorflow Website

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

@rmothukuru
I have read the docs, but they do not answer my questions. Is there any detailed documentation what these arguments are doing exactly?

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


python3Packages.lightgbm: fix build on darwin

Description of changes
GPU is not supported in darwin and needs to be disabled.
ZHF: #230712
https://hydra.nixos.org/build/220624811

Things done

Built on platform(s)

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

[x] 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

[x] 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

[x] Fits CONTRIBUTING.md.

@ofborg build python3Packages.lightgbm python3Packages.lightgbm.passthru.tests


update_object doesn't update identifier field for EMLs

Using update_object to update a metadata record doesn't set the packageId (eml@packageId) as the pid of the most recent version.
I'd be happy to update this (if it's a worthy change) - filing it as an issue so I don't forget.

Good catch! I think update_object should be changed to do what you describe. Hanging on to old packageId values is definitely bad for our workflow here.


question: reset "last-updated"-date possible?

Hello,
I'm monitoring a feed which is generated by an api call which includes a max-items paramete in the feed url. As there only appear about 20 new items a day and I usually check the feed daily, I have set max-items=100. Over the holidays however, I did not check the feed and before updating it today with elfeed I forgot to adjust the max-items parameter accordingly. So now of the approximately 500 new items, only the last 100 were fetched and when updating the feed again after setting max-items=1000, the missing items are not showing up. I guess this is because elfeed internally stores a last-updated date and only fetches items which are newer
Is there an easy possibility to get the missing older items into elfeed?
Thanks in advance!

I don't see a way to do so interactively, so you could probably do it with some Elisp something like:
(setf (elfeed-meta feed :last-modified) nil
      (elfeed-meta feed :etag) nil)

With feed bound to the feed's entry as returned by (elfeed-db-get-feed url).  See elfeed-update-feed.
(You should probably exit Emacs and backup your feed database first, of course.)

worked like a charm, thanks a lot!

@skeeto Would it be helpful to have an interactive way to force a feed to update?

Thanks for answering this, alphapapa!
If the issue came up frequently then perhaps there ought to be a
convenient user interface for doing this. Since this is essentially a
server misconfiguration — the content has changed, but the server is
responding with 304 Not Modified to old ETags — it shouldn't really be a
common issue. Even when it happens, it's likely only temporary, lasting
only until the next update.


Issue when loading/playing (with a slow connection)?

Here was my scenario:
I loaded a torrent and I have a not so fast connection (2Mb/s, so around I download around 200kb/s).
The download started, a few second later video started too, but paused after a second. Download continued, and I have like 20% of the video but the playback does not continued... I tried to click on play/pause, no effect. I tried to change the position in the red bar, no effect. I had to go to home (top left previous button) so I can play again the video.

If that can help peerflix handle pauses correctly, and continue after there is "enough" data to continue.

Similar to #346, I think this might be because something threw a JS exception.
Once we add exception logging, it will be easier to find out about & fix these kinds of things. In the meantime, if it happens again, open Developers Tools (Under View > Developer) and let us know what you see!

Thx for the bug report

Closing because this is old and there's no more information to go on.


[Improvement] Unify the builder of VOs via lombok.Builder

Purpose
The builder of VOs could be unified via lombok.Builder. Meanwhile fix the problems of MetadataControllerTest.
Tests

MetadataControllerTest

API and Format
No.
Documentation
No.

Thanks for your review, I have updated this PR. @SteNicholas PTAL.

@s7monk, thanks for updates. Please add the tests for null case.


How to use owner and group attribute?

I setup runit service for vagrant.
I add config node attribute
"runit": {
      "owner": "vagrant",
      "group": "vagrant"
 }

But it not work. I ssh to vagrant and run
sv status nginx

I got an message unable to open supervise/ok: access denied

Are you able to run the same command under sudo? sudo sv status nginx?

I got an issue command not found when run service. I assume bash script run with sudo induced it. I try start service without sudo command.
Finally, I found the reason is run bash script file can't get source from .bashrc file. So I add source to bash script file and it work. Thanks.


FPU Integration

A thread to discuss ideas and changes required to integrate FPU from https://github.com/dineshannayya/fpu into Riscduino

We will follow up in skype messages


[5.2] Fixes resource routes collision with 'prefix' and 'as'

Please see #11657 for details.

I don't think this is a fix. It's a breaking change. :-1: for merging to 5.2.

If it actually is a "fix", then 5.2 is the incorrect target anyway. All bug fixes must go to 5.2 for 2 years.

*5.1

I am thinking it is a fix because currently as collides with prefix for resource routes when in a group.

It's definitely a breaking change and has already been made for 5.3.

@taylorotwell Alright then. Maybe you should document this in the as a quirk in the <5.3 docs.


SIP Cancel request is not received by the intended client

I am working on a simple scenario where after call initiation Cacnel request is sent.
There are 2 client, UserA and UserB who are connected to the sip server. The SIP Server is based on sipgo whereas the clients are based on SIPjs.
Scenario:
UserA calls UserB via SIP Server. Then UserA initiates the CANCEL Request. A similar CANCEL Request is required to be generated by SIP Server towards UserB.
In this case, the Cancel request is sent back to UserA instead of UserB.
Code snippet to generate Cancel Request:
`cancelReq := sip.NewRequest(sip.CANCEL, outDlg.InviteRequest.Recipient)
cancelReq.AppendHeader(sip.HeaderClone(outDlg.InviteRequest.Via())) // Cancel request must match invite TOP via and only have that Via
cancelReq.AppendHeader(sip.HeaderClone(outDlg.InviteRequest.From()))
cancelReq.AppendHeader(sip.HeaderClone(outDlg.InviteRequest.To()))
cancelReq.AppendHeader(sip.HeaderClone(outDlg.InviteRequest.CallID()))
cancelReq.SetSource(outDlg.InviteRequest.Source())
cancelReq.SetDestination(outDlg.InviteRequest.Destination())`
Extra Observation:
If I remove the line in the above code that copies the Via header, then UserB will correctly receive the Request. However, the client rejects the request because, according to RFC 3261, the Cancel must have the same Via as the original INVITE.
Please advise about the same. If you need more detailed traces, let me know, and I can provide them.

Hi @emiago ,
Ok...Thanks for suggestion.
I am indeed working on a B2BUA kind of design. One question w.r.t. Diago library... will I be able to use the same and sipgo together? in my application dialog plays an important role but other sip events are also required. I was not sure via documentation if the diago allows for the handling of other sip events.
Thanks

Hi @p-akshay, I am not sure what fix you are expecting, as diago already handles this.

Diago library... will I be able to use the same and sipgo together?
You can override behavior by passing your server and then registering handlers after

NewDiago(ua, WithServer(srv))

srv.OnOptions(....)

Diago registers what it needs and mostly it is arround dialog for now.

i have the same problem, the cause is in func (c *Client) TransactionRequest in client.go
	if cseq := req.CSeq(); cseq != nil {
			// Increase cseq if this is existing transaction
			// WriteRequest for ex ACK will not increase and this is wanted behavior
			// This will be a problem if we allow ACK to be passed as transaction request
			cseq.SeqNo++
			cseq.MethodName = req.Method
		}

the cancel req should not call cseq.SeqNo++, orelse sip server can not found the transaction, in my test, the freeswitch will response 481.
and my hack now is seqno-- before call TransactionRequest.
func (d *TSipDialog) newCancelRequest() *sip.Request {
	cancelReq := sip.NewRequest(sip.CANCEL, d.inviteRequest.Recipient)
	// Cancel request must match invite TOP via and only have that Via
	cancelReq.AppendHeader(sip.HeaderClone(d.inviteRequest.Via()))
	cancelReq.AppendHeader(sip.HeaderClone(d.inviteRequest.From()))
	cancelReq.AppendHeader(sip.HeaderClone(d.inviteRequest.To()))
	cancelReq.AppendHeader(sip.HeaderClone(d.inviteRequest.CallID()))
	// TODO:sipgo add ++, so we need -- here
	cseqHeader := sip.HeaderClone(d.inviteRequest.CSeq()).(*sip.CSeqHeader)
	cseqHeader.SeqNo--
	cancelReq.AppendHeader(cseqHeader)
	cancelReq.AppendHeader(sip.HeaderClone(d.inviteRequest.GetHeader("User-Agent")))
	sip.CopyHeaders("Route", d.inviteRequest, cancelReq)
	cancelReq.SetSource(d.inviteRequest.Source())
	cancelReq.SetDestination(d.inviteRequest.Destination())
	return cancelReq
}

@emiago what's your opinion about this?

HI @yangjuncode . It is not issue if you are using dialog. I am still happy to remove this implicit behavior, but I think it also solves some issues, like re REGISTER.
Generally I see it is bad. I will have a look
As for workarround I think it should be enough to pass some empty option func.
Thanks for brining this up


feat: wmg query endpoint impl with filter dim datasets metadata

Part 4 of 4 of story.
Branched off of https://github.com/chanzuckerberg/single-cell-data-portal/pull/2045
Reviewers
Functional:
@MDunitz
Readability:
@tihuan

Changes

wmg query endpoint response now includes dataset metadata in the filter_dimensions section
API spec changes (relative to prev pr):

response_option (enum) -> include_filter_dims (bool_)
query endpoint response: filter_dimensions.datasets.collection_url -> collection_id

Definition of Done (from ticket)
QA steps (optional)
Known Issues

LGTM! Somehow there's FE code in this PR that's merged into main already 👌

Ah, the parent branch may not have been updated to latest main, although this branch was.  It should all work out fine, since I'm ultimately just going to merge the all-in-one PR #2068  instead of the original 4 sequential PRs

This PR subsumed by https://github.com/chanzuckerberg/single-cell-data-portal/pull/2068.


testMatch not working as expected

🐛 Bug Report
The regex is not working as I expected within testMatch argument.
To Reproduce
Steps to reproduce the behavior:
I thought I was passing the argument incorrectly via CLI so I started messing with the defaults in jest itself and found something odd.
If I change the default testMatch to this, it still works: testMatch: ['**/?(*.)+(test).js'],
If I change it to this, it finds no tests: testMatch: ['**/?(*.)+test.js'],
Expected behavior
I would expect this to work, without adding a capturing group
In [REMOVED]
  107 files checked.
  testMatch: **/?(*.)+test.js - 0 matches
  testPathIgnorePatterns: /node_modules/ - 107 matches
Pattern:  - 0 matches

Link to repl or repo (highly encouraged)
N/A
Run npx envinfo --preset jest
Paste the results here:
  System:
    OS: macOS High Sierra 10.13.3
    CPU: x64 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz
  Binaries:
    Node: 8.10.0 - /usr/local/bin/node
    npm: 6.1.0 - /usr/local/bin/npm
  npmPackages:
    jest: ^23.3.0 => 23.4.0

@thymikee thoughts?

Does it happen on latest jest too? I'd need to take a closer look if this is a micromatch bug or something we escape maybe.

Updated.
  System:
    OS: macOS High Sierra 10.13.3
    CPU: x64 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz
  Binaries:
    Node: 8.10.0 - /usr/local/bin/node
    npm: 6.1.0 - /usr/local/bin/npm
  npmPackages:
    jest: ^23.6.0 => 23.6.0

Line 98 of Defaults.js:
testMatch: ['**/?(*.)+(test).js'], = found tests
testMatch: ['**/?(*.)+test.js'] = same bug
I copy pasted from the file, rather than deleting the parenthesis in this comment just to be super paranoid.

Similar: https://github.com/facebook/jest/issues/7441 and https://github.com/facebook/create-react-app/issues/5935

.

,

It seems that 'testMatch' in config doesn't work at all (at least with ts-jest).
Adding default value from documentation:
'testMatch': [ "**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)" ],

give this output:
  16 files checked.
  testMatch: src/__tests__/*.spec.ts - 0 matches
  testPathIgnorePatterns: /node_modules/ - 16 matches
  testRegex:  - 0 matches
Pattern:  - 0 matches


[Task] add a switch button in plugin configuration page

Description
Add a switch button in plugin configuration page fot greater interactivity.

Task List
1.elegant interface
2.turn on or off plugin

Hi I'm currently attepting this, I would want to know if this change is to be done in the shenyu-dashboard?or is it in this repo?

yes , it need to be achieved in apache/shenyu-dashboard

Hi, Is this what is expected? Can you let me know if I'm on the right track? Now when it's clicked it needs to reverse the horizontal alignment?

Hi, Is this what is expected? Can you let me know if I'm on the right track? Now when it's clicked it needs to reverse the horizontal alignment?

this button style look better.

Maybe you can try add a white bar,then put this button on that. But that doesn't necessarily look good,you need to try . I hope you can find a nice typography.good luck

Want to confirm if the expected output is as the following screenshots?

Hi, Im raising a PR with what I've done. I may have missed the actual requirements, if so please point out , I will amend the changes accordingly. Thanks

Sign means plugin name , Authentication means  plugin category,  that Close is plugin state , that shoud  same as button state(picture is wrong).

Thanks , I'll work on it

Hi,I updated my PR, please let me know if I'm missing anything, Thanks


Unable to download needed dependencies - Proxy issue

Product and Version: 1.21
OS Version: Windows 10
Live Share Extension Version: 0.2.206
Steps to Reproduce / Scenario:

Install extension
Wait for extension to install its dependencies

Extension output window:
[2018-03-16 08:22:55.039 Client I] Passed version check for Windows: found 10.0.15063
[2018-03-16 08:22:55.044 Client I] Installing dependencies for Live Share...
[2018-03-16 08:22:55.046 Client I] Downloading package '.NET Core Runtime 2.0.5 for win7-x86'
[2018-03-16 08:22:55.126 Client E] Failed at stage: downloadPackages - Dependency download failed. RequestError: unable to get local issuer certificate

I am behind a corporate proxy, zScaler, which has caused issues with NPM/Yarn/Git in the past. However, we resolved these issues by setting the cafile NPM config property.
I've also set Git http.sslVerify to false.
Any ideas?

@rssfrncs You are likely hitting #86 which we are working through. Would you mind if we moved your feedback into that issue to consolidate feedback?
One thing you can try is setting HTTP_PROXY and HTTPS_PROXY environment variables globally. However, we're still working through fixes here due to VS Code not passing along proxy information (Microsoft/vscode#12588)

Merging in with #86 which appears to be the same issue.


two functions for rescaling

This is an alternate form of #228, with different functions for when the score gets better or worse for larger values. Would this be better than the single function in #228?

min_value, max_value and best_value, worst_value are both easy to understand, the issue I'm having is in naming the regions beyond the best and worst values. The options I've though of are: (greater_than, less_than) ; (above_max, below_min) ; (better_than , worse_than) ; (beyond_best , beyond_worst). The first two are for min,max and latter two are for best,worst.

Would you add a note on this in the User-Defined Constraint tutorial?

This was discussed in a google hangout, but just to leave a note here on the topic: I'd suggest dropping the argument of whichever of greater_than/less_than has a default of 0.  The reasoning here is that for a function named e.g. min_best_rescale, it won't ever make sense for values greater than max_val to be something other than 0.  In contrast,  less_than is still useful because sometimes you want values below that to be 0 but other times you might want it to be 1.
In general, though, I'm 👍  on having the two separate functions.  Much easier to understand.

I changed the docstring. I still need to add it into the constraints tutorial.

I changed the constraint tutorial to contain a non-boolean constraint that uses the min_best_rescale

I changed the parameter types to "array-like" and "float" and ``ed the min_val and max_val.

Thanks @kvyh!


Simplify head behaviour

This PR simplifies head behaviour
Adds working functionality (tested in WeBots) for:

Tracking ball if visible
Executing a predefined search sequence to look for ball if lost

Changes:

Refactors head behaviour
Adds ability to enable/disable goal angle smoothing in head command

Things that can be done to improve it:

Optimize a search sequence and test on real robot
Currently, when a ball is detected it is causing some noisy spikes in ball position, this is pretty much taken care of by the smoother in HeadController, however its possible these spikes are caused by something that could be potentially avoided completely
Clamping of requested angles in HeadController could be updated such that the max/min head pitch is a function of the current head yaw position

Other things

Remove the nugus1 specific config file. Shouldn't need per robot config, but if we do it'll probably be different to whatever the old stuff had
Update the readme in the HeadBehaviourSoccer module. Check the HeadController readme too.

@TheCoolKidsTable can probably merge this now?


Missing or damaged screen after murkmod help

So after installing murkmod I got the missing or damaged screen what should I do.

This is supposed to happen. press Power, Escape, and Reload keys, and then when a recovery mode screen shows up press Ctrl D. Clarification can be found in the READ ME. If this doesn't fix it try recovering your Chromebook.

I just recovered


Update: Add links to trace fragment for client side state computation

temporarily query the links of a trace to ease state computation client side
export TraceLink and TraceLinkBuilder

This change is

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update windows-analytics-azure-portal.md

Fixed typo: workspaces's => workspace's

Good catch, Marc - thanks!


keyboardInput = {number-pad} doesnt work

Hello, im trying to put keyboardInput = {number-pad} but it doesnt work.
Heres my code:
pinenter = (
  <View style={styles.container}>
    <Text style={styles.title}>Insira o PIN</Text>

    <SmoothPinCodeInput
      placeholder={<View style={{
        width: 10,
        height: 10,
        borderRadius: 25,
        opacity: 0.3,
        backgroundColor: 'blue',
      }}></View>}
      mask={<View style={{
        width: 10,
        height: 10,
        borderRadius: 25,
        backgroundColor: 'blue',
      }}></View>}
      maskDelay={500}
      restrictToNumbers={true}
      password={true}
      cellStyle={null}
      cellStyleFocused={null}
      value={this.state.codeConf}
      onTextChange={codeConf => this.checkEnter(codeConf, this.state.trueCode)}
      keyboardInput={'number-pad'}
    />
  </View>
)

im using RN0.60

use keyboardType="number-pad"

@Razvancbalaci
Thanks for reporting and you can also use better implementation with better maintainability:  https://github.com/retyui/react-native-confirmation-code-field


BLE example is not work for esp32s3

Hello. I tried to run an example for Embassy Ble on ESP32S3
I received this output, after which I cannot connect to the device
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x2b (SPI_FAST_FLASH_BOOT)
Saved PC:0x40378c15
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x1994
load:0x403c9700,len:0xedc
load:0x403cc700,len:0x2fe0
entry 0x403c9958
I (24) boot: ESP-IDF 439a709c 2nd stage bootloader
I (25) boot: compile time Nov 24 2022 01:40:48
I (25) boot: chip revision: v0.1
I (28) boot.esp32s3: Boot SPI Speed : 80MHz
I (33) boot.esp32s3: SPI Mode       : DIO
I (37) boot.esp32s3: SPI Flash Size : 16MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label            Usage          Type ST Offset   Length
I (58) boot:  0 nvs_factory      WiFi data        01 02 00011000 00003000
I (66) boot:  1 nvs              WiFi data        01 02 00014000 00019000
I (73) boot:  2 otadata          OTA data         01 00 0002d000 00002000
I (81) boot:  3 phy_init         RF data          01 01 0002f000 00001000
I (88) boot:  4 factory          factory app      00 00 00030000 00400000
I (96) boot:  5 ota_0            OTA app          00 10 00430000 00580000
I (103) boot:  6 ota_1            OTA app          00 11 009b0000 00580000
I (111) boot: End of partition table
I (115) boot: Defaulting to factory image
I (120) esp_image: segment 0: paddr=00030020 vaddr=3c060020 size=12154h ( 74068) map
I (141) esp_image: segment 1: paddr=0004217c vaddr=3fc8edf0 size=0146ch (  5228) load
I (143) esp_image: segment 2: paddr=000435f0 vaddr=3fcabd88 size=002c4h (   708) load
I (147) esp_image: segment 3: paddr=000438bc vaddr=40378000 size=06dech ( 28140) load
I (162) esp_image: segment 4: paddr=0004a6b0 vaddr=00000000 size=05968h ( 22888)
I (168) esp_image: segment 5: paddr=00050020 vaddr=42000020 size=51854h (333908) map
I (235) boot: Loaded app from partition at offset 0x30000
I (235) boot: Disabling RNG early entropy source...
INFO - esp-wifi configuration Config { rx_queue_size: 5, tx_queue_size: 3, static_rx_buf_num: 10, dynamic_rx_buf_num: 32, static_tx_buf_num: 0, dynamic_tx_buf_num: 32, ampdu_rx_enable: 0, ampdu_tx_enable: 0, amsdu_tx_enable: 0, rx_ba_win: 6, max_burst_size: 1, country_code: "CN", country_code_operating_class: 0, mtu: 1492, heap_size: 65536, tick_rate_hz: 100, listen_interval: 3, beacon_timeout: 6, ap_beacon_timeout: 300, failure_retry_cnt: 1, scan_method: 0 }
DEBUG - call coex-initialize
INFO - coex firmware version: ebddf30

TRACE - semphr_create - max 1 init 1
TRACE - sem created res = 0 (+1)
TRACE - semphr_create - max 1 init 1
TRACE - sem created res = 1 (+1)
DEBUG - timer_setfn 3fca8c68 0x420219a0 0x0
TRACE - >>>> semphr_take 0x1 block_time_tick<PHONE_NUMBER>
TRACE - >>>> return from semphr_take
INFO - coexist rom version e7ae62f

TRACE - alloc 48
TRACE - semphr_give 0x1
DEBUG - ble init
DEBUG - g_bt_plf_log_level = 1
btdm: bss start 0x3fcef180, len 36
btdm: data start 0x3fcef174, data start rom 0x40057350, len 12
MAGIC fadebead VERSION 00010006
DEBUG - coex-init
DEBUG - BT controller compile version 85b425c
TRACE - alloc 280
TRACE - alloc 976
TRACE - alloc 2344
MAGIC fadebead VERSION 00010001
TRACE - alloc 40
TRACE - alloc 284
TRACE - alloc 220
TRACE - alloc 680
TRACE - alloc 608
TRACE - alloc 444
TRACE - alloc 260
TRACE - alloc 3056
TRACE - alloc 11436
TRACE - alloc 908
RWIP Heap alloc: ENV [0x3fc93a90 3056], MSG [0x3fc94684 11436], NORET [0x3fc97334 908], DB [0x00000000 0]
TRACE - alloc 12
Uart ENV [0x00000000], VHCI ENV [0x3fc976c4]
TRACE - semphr_create - max 1 init 0
TRACE - sem created res = 2 (+1)
TRACE - semphr_create - max 1 init 0
TRACE - sem created res = 3 (+1)
TRACE - semphr_create - max 1 init 1
TRACE - sem created res = 4 (+1)
TRACE - task_create 0x4037bf20 0x3c069a2c btController 8192 0x0 200 0x3fceff9c 0
DEBUG - spawning task btController: 0x4037bf20 param 0x0 prio 200
TRACE - queue posting [7, 0, 0, 0, 0, 0, 0, 0]
DEBUG - task started: 0x4037bf20 0x0
TRACE - >>>> semphr_take 0x4 block_time_tick<PHONE_NUMBER>
TRACE - semphr_give 0x4
TRACE - >>>> semphr_take 0x3 block_time_tick 10000
TRACE - >>>> return from semphr_take
TRACE - queue_recv 0x3fc91f28 item 0x3fca41b0 block_time_tick 0TRACE - >>>> return from semphr_take with timeout
DEBUG - The btdm_controller_init was initialized
TRACE - received [7, 0, 0, 0, 0, 0, 0, 0]
TRACE - queue_recv returns
phase match cali!!
hi2, lo2
TRACE - >>>> semphr_take 0x1 block_time_tick<PHONE_NUMBER>
TRACE - >>>> return from semphr_take

TRACE - read_mac 0x3fcef9e8 2
BD_ADDR: F6:12:FA:D5:40:C1
EM_ET_OFFSET: 0x00000000, EM_ET_END: 0x0000010TRACE - semphr_give 0x1
TRACE - phy_enable_clock
TRACE - phy_enable_clock done!

I think there is a hang on this function: register_chipv7_phy

Which chip / dev-board is that exactly? Haven't had any problems with DevKitC-1 1.6 or the original S3-Box
Does it work fine with esp-idf examples (e.g. https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/nimble/bleprph )

This is a custom board. ble with idf has been running successfully on it for a year now
I ran this example: https://github.com/esp-rs/esp-wifi/blob/main/esp-wifi/examples/embassy_ble.rs

What is the output of espflash board-info?
e.g.
❯ espflash board-info
[2024-01-11T09:12:35Z INFO ] Serial port: 'COM20'
[2024-01-11T09:12:35Z INFO ] Connecting...
[2024-01-11T09:12:35Z INFO ] Using flash stub
[2024-01-11T09:12:37Z WARN ] Setting baud rate higher than 115,200 can cause issues
Chip type:         esp32s3 (revision v0.1)
Crystal frequency: 40MHz
Flash size:        8MB
Features:          WiFi, BLE
MAC address:       xx:xx:xx:xx:xx:xx

Chip type:         esp32s3 (revision v0.1)
Crystal frequency: 40MHz
Flash size:        16MB
Features:          WiFi, BLE
MAC address:       f4:12:fa:d5:40:c0

Weird - basically same. When it hangs in register_chipv7_phy it usually means that BLE/WiFi clocks are not enabled

But I ran the code from the example)

Yes - it definitely shouldn't happen
Here is how it should look like
❯ pwd
C:\projects\clean\esp-wifi\esp-wifi

esp-wifi/esp-wifi on  main is 📦 v0.2.0 via 🦀 v1.75.0-nightly
❯ cargo +esp --version
cargo 1.75.0-nightly (1d8b05cdd 2023-11-20)

esp-wifi/esp-wifi on  main is 📦 v0.2.0 via 🦀 v1.75.0-nightly
❯ cargo +esp esp32s3 --release --features=ble --example=ble
   Compiling compiler_builtins v0.1.103
   Compiling core v0.0.0 (C:\Users\Bjoern\.rustup\toolchains\esp\lib\rustlib\src\rust\library\core)
   Compiling proc-macro2 v1.0.71
   Compiling unicode-ident v1.0.12
   ....
   Compiling esp-wifi v0.2.0 (C:\projects\clean\esp-wifi\esp-wifi)
   Compiling xtensa-lx-rt v0.16.0
    Finished release [optimized + debuginfo] target(s) in 47.13s
     Running `espflash flash --monitor C:\projects\clean\esp-wifi\target\xtensa-esp32s3-none-elf\release\examples\ble`
[2024-01-11T10:15:50Z INFO ] Serial port: 'COM20'
[2024-01-11T10:15:50Z INFO ] Connecting...
[2024-01-11T10:15:50Z INFO ] Using flash stub
[2024-01-11T10:15:52Z WARN ] Setting baud rate higher than 115,200 can cause issues
Chip type:         esp32s3 (revision v0.1)
Crystal frequency: 40MHz
Flash size:        8MB
Features:          WiFi, BLE
MAC address:       68:b6:b3:4d:ae:08
App/part. size:    454,544/8,323,072 bytes, 5.46%
[00:00:06] [========================================]     281/281     0x10000
[2024-01-11T10:16:00Z INFO ] Flashing has completed!
Commands:
    CTRL+R    Reset chip
    CTRL+C    Exit

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fce3818,len:0x16f8
0x3fce3818 - pp_sig_cnt
    at ??:??
load:0x403c9700,len:0x4
0x403c9700 - hal_pwr_interrupt_clr_event
    at ??:??
load:0x403c9704,len:0xc00
0x403c9704 - hal_pwr_interrupt_clr_event
    at ??:??
load:0x403cc700,len:0x2eb0
0x403cc700 - hal_pwr_interrupt_clr_event
    at ??:??
SHA-256 comparison failed:
Calculated: b8f485cf73c8ad59b009a332167b4a854ec774585c7fa428926acc30cc0c964b
Expected: 3499e4149a363c2b1ee4ee9709ca5031f50ee6b595a532f697c8659516763ae3
Attempting to boot anyway...
entry 0x403c9908
0x403c9908 - hal_pwr_interrupt_clr_event
    at ??:??
I (48) boot: ESP-IDF v5.1-beta1-378-gea5e0ff298-dirt 2nd stage bootloader
I (48) boot: compile time Jun  7 2023 08:07:32
I (49) boot: Multicore bootloader
I (54) boot: chip revision: v0.1
I (57) boot.esp32s3: Boot SPI Speed : 40MHz
I (62) boot.esp32s3: SPI Mode       : DIO
I (67) boot.esp32s3: SPI Flash Size : 8MB
I (72) boot: Enabling RNG early entropy source...
I (77) boot: Partition Table:
I (81) boot: ## Label            Usage          Type ST Offset   Length
I (88) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (95) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (103) boot:  2 factory          factory app      00 00 00010000 007f0000
I (110) boot: End of partition table
I (115) esp_image: segment 0: paddr=00010020 vaddr=3c050020 size=119f8h ( 72184) map
I (141) esp_image: segment 1: paddr=00021a20 vaddr=3fc8f1f0 size=00fc4h (  4036) load
I (143) esp_image: segment 2: paddr=000229ec vaddr=3fca8eec size=00198h (   408) load
I (147) esp_image: segment 3: paddr=00022b8c vaddr=40378000 size=071ech ( 29164) load
I (164) esp_image: segment 4: paddr=00029d80 vaddr=00000000 size=06298h ( 25240)
I (171) esp_image: segment 5: paddr=00030020 vaddr=42000020 size=4ef44h (323396) map
I (255) boot: Loaded app from partition at offset 0x10000
I (255) boot: Disabling RNG early entropy source...
INFO - esp-wifi configuration Config { rx_queue_size: 5, tx_queue_size: 3, static_rx_buf_num: 10, dynamic_rx_buf_num: 32, static_tx_buf_num: 0, dynamic_tx_buf_num: 32, ampdu_rx_enable: 0, ampdu_tx_enable: 0, amsdu_tx_enable: 0, rx_ba_win: 6, max_burst_size: 1, country_code: "CN", country_code_operating_class: 0, mtu: 1492, heap_size: 65536, tick_rate_hz: 100, listen_interval: 3, beacon_timeout: 6, ap_beacon_timeout: 300, failure_retry_cnt: 1, scan_method: 0 }
Ok(CommandComplete { num_packets: 5, opcode: 3075, data: [0] })
Ok(CommandComplete { num_packets: 5, opcode: 8198, data: [0] })
Ok(CommandComplete { num_packets: 5, opcode: 8200, data: [0] })
Ok(CommandComplete { num_packets: 5, opcode: 8202, data: [0] })
started advertising

esp-wifi/esp-wifi on  main is 📦 v0.2.0 via 🦀 v1.75.0-nightly

I decided to check what would happen if I disable the coex feature. The same

I did a long series of experiments and found that enabling the "phy-enable-usb" feature solved this problem

What is this anyway and why?

Ah you connected the S3 via serial-jtag?
By default enabling the wifi-ble-phy will disable the USB phy. The feature prevents that
However the device should advertise and be connectible without -  just not outputting anything after initialization and you might need to force it manually into download mode.
But great you got it to work

Cool! Thank you


Provisioning resources for the LAB. InvalidTemplateDeployment error K8sVersionNotSupported

Describe the bug
When going though (Exercise 2: Provisioning resources) we are getting error with the deployment of AKS resources. Seems like the version being deployed on no longer supported.
To Reproduce
Steps to reproduce the behavior:

Go to: https://github.com/Azure/Microsoft-Defender-for-Cloud/tree/main/Labs
Then go to Exercise 2: Provisioning resources then click on Deploy to Azure
Go though all the prerequisites when the Preflight validation check is done, we are presented with the following error:

===Image===

{
"code": "InvalidTemplateDeployment",
"details": [
{
"code": "K8sVersionNotSupported",
"message": "Preflight validation check for resource(s) for container service asclab-aks in resource group asclab failed. Message: Managed cluster asclab-aks is on version 1.27.9, which is only available for Long-Term Support (LTS). If you intend to onboard to LTS, please ensure the cluster is in Premium tier and LTS support plan (see https://aka.ms/aks/enable-lts). Otherwise, use [az aks get-versions] command to get the supported version list in this region. For more information, please check https://aka.ms/supported-version-list. Details: "
}
],
"message": "The template deployment 'Microsoft.Template-20241202105530' is not valid according to the validation procedure. The tracking id is 'c85d6d42-06a2-4ca6-8259-2493315f3e08'. See inner errors for details."
}
Expected behavior
One would expect template to pass Preflight validation checks so that a resources to all be deployed successfully so that we can move forward with the Labs.
Additional context
Looks like the Template needs to be update with the correct(supported) managed cluster asclab-aks version.
===RAW ERROR===
{"code":"InvalidTemplateDeployment","details":[{"code":"K8sVersionNotSupported","message":"Preflight validation check for resource(s) for container service asclab-aks in resource group asclab failed. Message: Managed cluster asclab-aks is on version 1.27.9, which is only available for Long-Term Support (LTS). If you intend to onboard to LTS, please ensure the cluster is in Premium tier and LTS support plan (see https://aka.ms/aks/enable-lts). Otherwise, use [az aks get-versions] command to get the supported version list in this region. For more information, please check https://aka.ms/supported-version-list. Details: "}],"message":"The template deployment 'Microsoft.Template-20241202105530' is not valid according to the validation procedure. The tracking id is 'c85d6d42-06a2-4ca6-8259-2493315f3e08'. See inner errors for details."}

I have the same problem


White page with v0.23.8-0 that disappears when debug mode is enabled

Describe the bug
When running v0.28.0 only a white page is rendered. When running with DEBUG=1; DJANGO_DEBUG=1 then at least the docker image allows login but displays no version information in login page. After successful login with debug set to true, disabling the debug settings again makes the app render a white page again.
To Reproduce

Deploy 0.23.8-0
Go to login page without debug mode
See white page
Enable debugging by editing .env
See login page

Expected behavior
The app should run without debug mode in any case.
Screenshots
Login page with debug set to true (debug set to false leads to white page rendered).

Footer with debug set to true after login.

Additional context
Startup complains about missing migrations but running python manage.py makemigrations; python manage.py migrate does not fix the error. I rolled this back in the internal staging instance. The following undoes the commands from above python manage.py migrate variants 0082; python manage.py migrate regmaps 0008; python manage.py migrate importer 0008; python manage.py migrate extra_annos 0003; python manage.py migrate clinvar_export 0002; python manage.py migrate clinvar 0006.

#212


Remove exif data

Great work here, I love it! Just wondering how to remove "Olympus Digital Camera" from showing up on my images? Edit the template somewhere??

Thanks, I'm glad you like it!
There are a couple of ways to achieve what you want.
1. Remove the image alt attribute:
You can edit the templates/gallery_macros.jinja file and remote the description from the alt attribute. This is the exact row in the example gallery: https://github.com/haltakov/simple-photo-gallery/blob/451b1c6a7f1911de238e1108fe9cdd675b4e55aa/examples/gallery_usa_simple/templates/gallery_macros.jinja#L13
2. Remove the reading of the description from the JS code:
Remove this line from the public/js/main.js
https://github.com/haltakov/simple-photo-gallery/blob/451b1c6a7f1911de238e1108fe9cdd675b4e55aa/examples/gallery_usa_simple/public/js/main.js#L9
3. Use exiftool to remove the descriptions from your photos:
Download exiftool and run this command. It will remove the ImageDescription metadata from your files. Be aware that this will modify your images, so better make a backup.
exiftool -ImageDescription="" public/images/photos/* -overwrite_original

4. Option to deactivate the generation of the captions.
If you want I can also easily add an option to not create the captions. Do you think it will be useful?

Yes, please add an option to not create the captions (leave blank), but leave the line where we can enter them at any time.


docs(site): add migrate guide from 2.x entry

Checklist
List of tasks you have already done and plan to do.
Change information
Describe your modifications here.
Issues
The issues you want to close, formatted as close #1.
Related Links
Links related to this pr.

Keep only content migrated from 2.x.

Keep only content migrated from 2.x.

Get, I will add rest ui component tomorrow and remove non-related code

Keep only content migrated from 2.x.

I had delete the guide about migrating from 1.x

Keep only content migrated from 2.x.

I had deleted the guide about migrating from 1.x


Update: Switch to Carbon Ads

Switching the ad provider to Carbon Ads for better CPM. Still working through styling issues, but would like to get the preview site rendered to find issues.

This switches the main ad to Carbon Ads, per our discussion. There are still Ethical Ads on the pages where the Carbon Ads format doesn't quite fit.

@btmills @mdjermanovic can you give this a quick look?

The only inconsistency I'm seeing is on blog articles. The ethical ads slot has 1em margin and 180px max width that the carbon slot doesn't.

Thanks, I’ll take a look.

Okay, ad on the blog posts should be fixed now.


Update 2012-03-01-talk-1.md

It looks like you are attempting to push a change to the part repository, for help with deploying please start a new thread in the discussions.


Return a mock object in paintOnSvg when SVG rendering is not supported, to prevent TypeErrors in the addons

Currently if you try to enable SVG rendering in the addons, a TypeError is thrown by the browser since we have code that depends on what paintOnCanvas/paintOnSvg (should) return.
Steps to reproduce:

Install the latest Firefox addon, http://mozilla.github.io/pdf.js/extensions/firefox/pdf.js.xpi.
Open about:config, and set the<EMAIL_ADDRESS>preference to svg.
Load any PDF file, e.g. http://mirrors.ctan.org/info/lshort/english/lshort.pdf.

Expected result:
Rendering is aborted, with a SVG rendering is not supported. error printed in the console.
Actual result:
Nothing renders, and no error messages from PDF.js in the console. Instead a TypeError: paintTask.promise is undefined warning is printed in the console.

/botio-linux preview

Looks good, thank you for fixing this!


Company Page - Contract View - Send Email / SMS / Notification Option

Problem-

user wants to send Contract as Email

Solution

Add Email / SMS / Notification Option to multiple Select
Need to change Email Template to create [ContactLink] key to send email
same Key for SMS / Notification
Attach PDF also required

Initiated by @vinpahilwani
Verified by @mitulpanch

approved

1 New Key for All templates
[@ecbcompanycontractlink]

No Comments from @sureshsirvi
Going forward


fix: Replace require with import

Which problem is this PR solving?
Modernise by replacing require with import.
This may also solve the following error when running tests that execute instrumented code
that has at least one exporter configured:
ReferenceError: You are trying to `import` a file after the Jest environment has been torn down.

Short description of the changes
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A

Checklist:

[x] Followed the style guidelines of this project
[ ] Unit tests have been added
[ ] Documentation has been updated

The ProxyTracerProvider doesn't solve the instrument after load problem. It solves the get tracer before TracerProvider was registered problem.
Not sure about the plans to publish an ESM module but if this is planned I guess this should be likely a dynamic import or so. But not sure if ESM and CJS can be in a single file for such cases.

This is done intentionally. The util is lazy loaded after application start because it requires the http module. If we require the http module, we then can't instrument it later. I believe we should be able to now for traces because of the proxy tracer which has been added to address this issue, but there still is no solution for that in metrics or logs. @pichlermarc you're more familiar with the exporters than me. Am I missing anything here?

The ProxyTracerProvider doesn't solve the instrument after load problem. It solves the get tracer before TracerProvider was registered problem.

exactly this. What it is trying to do is to defer requiring anything before instrumentations can wrap it, so the ProxyTracerProvider does not help in this case, unfortunately.

Not sure about the plans to publish an ESM module but if this is planned I guess this should be likely a dynamic import or so. But not sure if ESM and CJS can be in a single file for such cases.

Yep, I think we'll need to take care of this using multiple files. ESM publishing was already added in #3208 if I recall correctly.

This is done intentionally. The util is lazy loaded after application start because it requires the http module. If we require the http module, we then can't instrument it later. I believe we should be able to now for traces because of the proxy tracer which has been added to address this issue, but there still is no solution for that in metrics or logs. @pichlermarc you're more familiar with the exporters than me. Am I missing anything here?

The ProxyTracerProvider doesn't solve the instrument after load problem. It solves the get tracer before TracerProvider was registered problem.

exactly this. What it is trying to do is to defer requiring anything before instrumentations can wrap it, so the ProxyTracerProvider does not help in this case, unfortunately.

Bah yeah sorry.

Not sure about the plans to publish an ESM module but if this is planned I guess this should be likely a dynamic import or so. But not sure if ESM and CJS can be in a single file for such cases.

Yep, I think we'll need to take care of this using multiple files. ESM publishing was already added in #3208 if I recall correctly.

Our ESM publishing only works for bundlers which find the build/esm directory. Node will require us to rethink our distribution strategy. Now that ESM support is widespread I think it is well past time to do so.


SDXL Implementation

Hi there,
First of all, I enjoyed reading your paper. Second, do you have plans to release your implementation on SDXL? does your method work on SDXL?

Hello, the model used in this paper is SD v1.5, and experiments have not been conducted on SDXL. I may explore the feasibility of the proposed approach on SDXL in the future, when time allows.


EXPERIMENTAL: ethers -> alloy rewrite

This is a complete teardown trying to re-integrate alloy from the ground up, including reworking the Environment and ArbiterMiddleware to be more streamlined, faster, and simpler.

Hey @Autoparallel!
Happy to announce we’ve released Alloy 0.1 today https://www.paradigm.xyz/2024/06/alloy-release
Let me know if you have any questions about the migration or run into anything 😊


Endless Loop when Cloning TFS Repo

git-tfs version <IP_ADDRESS> (TFS client library <IP_ADDRESS> (MS)) (64-bit)
I ran the following command line:
git tfs -d clone http://myServer:8080/tfs/myCollection '$/Donor/Online Registration/Main' . --branches=all
It checks out the first commit as I see it listing all the files found in the branch. Then it moves on to the next check out and it just repeats the following over and over again:

Am I doing something wrong or is this expected? I let it run for over 2 hours with the same thing printed on the screen.
The TFS repo isn't very large. I'm cloning off the top of the Main branch.

Main

Dev\Dev1
Dev\Dev2
Dev\Dev3
Release\Release1
Release\Release2
Release\Release3

Close as old and maybe fixed since then or by #1493


Make environment variables of the system accessible.

Closes #27
The simplest solution for Issue #27 would be to make all environment variables of the system available (as implemented in this merge request).
The question remains, however, whether this is always the intention. So far, Poseidon's approach has been to make only those environment variables accessible that are declared in the execute request.
A way in between would be that only if the environment variable, e.g. "showSystemEnvironmentVariables" (or an HTTP query parameter) is set to "true", all system variables are available.

Thanks for this fix, I was able to use Poseidon and Nomad successfully for my Java exercise.
When further investigating, I was able to list all environment variables. Most of them are intended and necessary (even when inherited from the system). I don't expect them to cause further (security) issues. The only variables I am not sure about (but was already well informed about their existence) are the ones prefixed with NOMAD_. They allow collecting some system information (but nothing too secret?) and we would not need them. Maybe we can hide only those? In any case, I would propose to create a new ticket and use the approach you suggested with this PR for now.

I added issue #41 as a reminder unblocking a merge here.


Account lock and unlock notification emails are not sent

Description:
When a user account is locked or unlocked, the notification mails are not sent to the user. This happens for both tenant and super tenant.
Steps to reproduce:
Follow the steps in documentation [1] for enabling account locking for a user.
[1] https://apim.docs.wso2.com/en/latest/Administer/ProductSecurity/identity-management-for-the-api-dev-portal/#account-locking
Affected Product Version:
WSO2 API Manager 3.1.0-Beta
Environment details (with versions):

OS: Ubuntu
Browser: Chrome

The issue could not be reproducible. Able to receive lock and unlock notification emails.

When a user account is locked or unlocked, the notification emails are not sent to the tenant user only.


Case insensitive sorting

Sort code owners alphabetically
Fix whitespace normalization (path__@a did not normalize to path_@a)

We'll get this ported to the new repo (sorry again about not cleaning this up properly!).
So that it doesn't linger forever, I'm closing before archiving. :)


Running multiple NeuroNER instances in a single Python program

Hi, I'm making use of NeuroNER as part of a larger Python program.
As part of our use case we want to have multiple Neuro NER classifiers running in the same program.
Currently when we attempt this we get the following error:
ValueError: Variable character_embedding/character_embedding_weights already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at:
File "/DIR/src/entity_lstm.py", line 87, in init
initializer=initializer)
File "/DIR/src/neuroner.py", line 278, in init
model = EntityLSTM(dataset, parameters)
Should we look into setting "reuse" to True in VarScope or would this result in "cross-pollination" between the two Neuro NER instances?
Thank you for your time.

I had a similar problem when trying to run NeuroNER multiple times consecutively from another python script (which I did in order to make a training curve). My solution was to reset the graph each time Neuroner.py created a new model instance, by invoking tf.reset_default_graph(). I don't think this will help you if you want the models to run simultaneously.
Setting reuse = True will cause sharing of the variables, which sounds like it isn't what you want.


GPTQ Collaboration?

Dear Qwopqwop200,
I'm writing on behalf of the authors of the GPTQ paper. We have been following your excellent work, and wanted to mention that we added a few updates to our repository yesterday, which may be interesting to you:

We added a minimal LlaMa integration demonstrating a few additional tricks which lead to some accuracy improvements (especially on the 7B model; for instance GPTQ is now consistently better than RTN).
Further, we pushed a significantly faster 3-bit kernel (optimized for the A100) and slightly adjusted evaluation procedures for PTB and C4, which are used in the camera-ready version of our paper.

In case you would be interested in collaborating more closely with us, please feel free to write us at<EMAIL_ADDRESS>/<EMAIL_ADDRESS>Best regards,
Dan

Hey Dan, nice to hear from you.
we are all playing with your project and love it!
i had a couple of questions for you also regarding kernels. -
do you recommend 3 bit or 4 bit kernels?
do you think gptq can also help in non-cuda implementations? like https://github.com/ggerganov/llama.cpp/issues/397 i believe that they dont have cuda kernels as its a pure cpp implementation, i think they perform RTN quantization which has this effect of degrading the model (in my observations) basically wondering if there was a way to port these gptq algorithm to the cpp repo?

@Wingie llama.cpp has supported GPTQ inference for 4 days now. There is a script in that repo called convert-gptq-to-ggml.py to get you started.

GPTQ is indeed better than RtN even in pure CPU implementations.
>3 bit or 4 bit kernels?
13B 3bit is superior to 7B 4bit and 30B 3bit is superior to 13B 4bit, etc. So you will likely want to optimize for the maximum amount of parameters you can fit in the RAM/VRAM you have. If you have memory to spare then more bits may produce better results.

https://github.com/IST-DASLab/gptq is the repository mentioned in the OP, for anyone who comes across this thread.

@dalistarh this is just a gardening thing, but I submitted a PR to this repo to make it pip-installable. I briefly browsed your repo, and think it should more or less just work for your repo as well, if you want to borrow it (or maybe @qwopqwop200 will upstream their repo to yours.) Just FYI!