:3:5: name 'a' is not defined

After executing the sample code (is_prime_codon) on jupyter notebook, I got the error shown on the title.
I downloaded codon from jupyter notebook (typing  ! /bin/bash -c "(curl -fsSL https://exaloop.io/install.sh)"), and imported codon after installing codon-jit (typing ! pip install codon-jit).
I'm using Linux (Ubuntu) (and the shell is working under /bin/sh ).
For some reasons, I cannot type the command line directly on the shell. So I need to use this type of magic command using jupyter notebook.
Alternatively, it turned out that these steps work on MacOS (zsh).

This may be a duplicate of #164

I'm sorry for not checking that, thank you for telling me.
My apologies.


Add Anshul Chauhan to Contributors list

Added my name to Contributors list

@anshulnsit, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I accepted it?


The btn-variant-mixin functionality should be implemented across other components like dropdowns as well.

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
this is btn-variant-mixin

the same functionality should be implemented across other components in this example I choose dropdonws

The button color appears black because the selected color does not meet the minimum contrast ratio, but this option is not available for other components.
// Define the dropdown-variant mixin
@mixin dropdown-variant(
  $background,
  $border,
  $color: color-contrast($background),
) {
  --#{$prefix}dropdown-color: #{$color};
  --#{$prefix}dropdown-bg: #{$background};
  --#{$prefix}dropdown-border-color: #{$border};
}

// Use the mixin inside .dropdown-menu
.dropdown-menu {
  // Use the mixin for the default variant
  @include dropdown-variant(red, blue, yellow);
}

Motivation and context

Hello devhoussam1998
// Define the dropdown-variant mixin
@mixin dropdown-variant(
$background,
$border,
$color: color-contrast($background),
) {
--#{$prefix}dropdown-color: #{$color};
--#{$prefix}dropdown-bg: #{$background};
--#{$prefix}dropdown-border-color: #{$border};
}
// Define the dropdown-variant-mixin
@mixin dropdown-variant-mixin($background, $border) {
@include dropdown-variant($background, $border);
.dropdown-toggle {
@include btn-variant($background, $border);
}
}
// Use the dropdown-variant-mixin inside .dropdown-menu
.dropdown-menu {
// Use the mixin for the default variant
@include dropdown-variant-mixin(red, blue);
}
In this code, the dropdown-variant-mixin takes two arguments: $background and $border, which are then passed to the dropdown-variant mixin. Additionally, the btn-variant mixin is included inside the dropdown-variant-mixin, which ensures that the button inside the dropdown toggle also has the same background and border colors.
Actually i don't know if it's going to work or not because I didn't find the file that I can put my code to test it but I hope that helps you!


Create folder structure for the API section as defined in Namespaces structure

This is an extension of what has been discussed in #90 whereby classes can be named the same in different namespaces, and therefore it would be advantageous to have the same folder structure as defined in "Namespaces" if namespaces are being used.

This is not an issue any more since the files are named with namespace in the file name


Redesign cell indicators to include language

@jonatanklosko I think I like the colorful ones more. Any thoughts on why you prefer the shaded one?

@josevalim I prefer grayscale because it results in better and consistent contrast, especially that we need both a dark and light editor variant. For reference, here's the colored variants:

Other than that, it's a secondary information that's duplicated across cells, and I think a color may unnecessarily bring too much attention.


Automated pypi package generation

Context
To minimize the required effort for deployment on pypi, every new version which is committed to the master shall automatically become a new pypi package with version increase.
Every commit to the development branch shall also result in a new pypi package also with a new version but with the suffix V1.12dev....
Further details to be added later

Hey, can I work on this? I'm still new to this so some guidance would really help!

Ah yes of cause I would by very interesting to work with you. I will try to add some more details to the issue so that it is easier for you to start. You can also get in contact with me via email<EMAIL_ADDRESS>


53.5 upload form bugs

[ ] "name" doesn't auto-fill after selecting a file to upload (53.4 auto-fills with the file name)
[ ] Need to select file twice for file path to show on the "file" field
[ ] https://github.com/lbryio/lbry-desktop/issues/7685 (got filed before, just mentioning here)

Hello @keikari I wasn't able to reproduce the second issue. Did you try the latest changes in master?

Oh, actually all of the above seems to work in master like expected. Guess this can be closed.
(Only checked 53.5 at the  time)


The "Suggestions" feature is adding a space after hitting enter

I'm not sure if this is just a bug on the sample implementation as seen here: https://tiptap.scrumpy.io/suggestions or if it's a bug in the code.
When typing @ to bring up the list of available mentions, and hitting return to accept it, it adds an additional space after it.  So for example, if I started off with:  "Some text", and I enter a suggestion as "Some @ text", it ends up with: "Some @person<space><space>text".  Notice the extra space between "person" and "text".
Can this be fixed?

This is intended behavior. Slack also add a white space after confirming a mention. I'm not sure of make this an option in the mentions node. But of course you can create your own extension by copying the mentions extension.
https://github.com/scrumpy/tiptap/blob/master/packages/tiptap-extensions/src/nodes/Mention.js#L62


Support for CLIENT_ACKNOWLEDGE mode

Thought much about supporting CLIENT_ACKNOWLEDGE mode?  I see you have transaction support but not all queue providers that support JMS support transactions.
Thanks

Hi, @youngm.
It sounds reasonable.
There 2 simple ways of doing it: create a new constructor to UnicastJmsQueueSource, or modify the existing one (with transacted param).
Do you wanna to create a PR?

@egetman I may.  We were thinking of using this library for a project so I asked the question.  But it looks like the project may go another direction.  Feel free to close this issue and I'll reopen and submit a PR if we end up going this direction again.  Thanks!

@youngm done.


⚠ Jenkins Plugins Artifactory has degraded performance

In 48ce1b1, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 2467 ms

Resolved: Jenkins Plugins Artifactory performance has improved in a1a36bd after 8 hours, 5 minutes.


feat: add support for approval_requested reason

As per https://docs.github.com/en/rest/activity/notifications?apiVersion=2022-11-28#about-notification-reasons

If we are adding all of these new notifications, should we have a more granular control of what notifications gitify fetches to the user?

If we are adding all of these new notifications, should we have a more granular control of what notifications gitify fetches to the user?
Just pointing out that we should probably roll that feature out before we roll out a new version.

Perhaps... there is a feature request ticket already for filtering by reason...
Note, we aren't adding ANY new notifications actually, what I've been doing is ensuring that we have fewer Unknown notifications that cannot be clicked on.


translated Getting Started in italian

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[ ] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[x] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue: Closes #12498

Description
Completed translation for getting-started.json

Thanks for pull request @jlouiss ! Can you get this peer reviewed with anyone? You can start by looking the chat rooms for people who would be interested.

@raisedadead I already asked on gitter, I hope people will check the PR as soon as possible

@jlouiss sure thing, we will wait for a week and post that we will merge after a sanity check if no one comes ahead for a review.
But, thanks a lot for your effort in bringing freeCodeCamp to more people. Cheers!

I just committed the requested changes

@jlouiss @raisedadead  LGTM :+1:

:sparkles: :sparkles: LGTM. :sparkles: :sparkles:
Thanks @jlouiss @Em-Ant !


Feature suggestion

Firstly, a great plugin to parsedown specially after the new commit.
On using it, it struck to me what about if the image links were made to be clickable, if the user chose to?

What do you mean by clickable? An ability to make all images becomes wrapped by an anchor element?

not all images. Only those are done by ![image](http://link) and that too if the user wants.

Then how can we specify things to decide that an image should be clickable?

Try something like this:
$parser->images_attr = array(
    'onclick' => 'window.open(this.src);'
);

This is what I had used, but did'nt work.
		$this->Parsedown->images_attr = array(
			'class' => 'link_image',
			'onClick' => 'window.open(this.src);'
		);

Pretty nice. But will it be secure adding onClick rather than anchor tags? I dont know much about XSS so am curious.

For that onclick example, is now depends on the src content. Try this markup:
![test](data:text/html,<script>alert('fail');</script>)

If it opens up a new tab with an alert contains fail then it is not safe.

It survives the test. :smile:

What about:
![test](data:text/html,%3Cscript%3Ealert('fail');%3C%2Fscript%3E)


Add possibility to generate payload dynamically

In my case, it is required to send different payloads in every broadcast.
I propose to have an optional function pointer in Settings that will return payload on demand. In case when this pointer is nil the implementation should fallback to Payload field.
I will try to implement this in the fork and create PR.
@schollz, please let me know what do you think about my idea?

Sounds great! Feel free to add


Normalized amount to cents

Same as https://github.com/PaymentSuite/paymentsuite/pull/24
Will tag 1.5 after merge

@alch please notice in the release notes that this is a BC.

@mickaelandrieu updating release here and in paymentsuite

:+1:


How to restore connection  file in putty connection manager

Hello,

I am using MremoteNG i have save my connection data as xml file.
I need to restore it in Putty connection manger.

I have restore it in Putty connection manger but iam not able to view that
connections.

Kindly do need full.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 30 Jun 2014 at 11:20

Closing this issue but all hope is not lost! We still want to help.
See: https://github.com/jimradford/superputty/wiki/Legacy-Imported-Issues on how to help us to help you!


added gamma cdf functions

I have added upper and lower CDF functions to the gammadistribution.py file. I have also added a couple of test cases to the test file to verify each of the functions. This resolves #24
Please let me know if you have any questions or if any updates are necessary.
Thanks you.

There's also some trailing whitespaces in the code that you ought to remove, so that the Codacy tests pass too.

Thank you very much for the feedback guys! Per @mhdzumair I have updated the function to reflect only 1 function which takes in an "upper" or "lower" argument.
I got this particular function from https://en.wikipedia.org/wiki/Gamma_distribution for the generalized gamma function which is only valid when x >= 0. I have added validation to make sure the x values are greater than 0 and the gamma class also has validation for theta >= 0. I know the gamma function can handle negative non-integer negative numbers, however, I have not seen much information on how to calculate CDFs for x < 0 programmatically. As such, I excluded negatives from this function lest I make a mistake in my calculation.
Additionally, my submission is giving me a TypeError: 'NoneType' object is not callable. I'm not sure what I'm doing wrong here as the function does pass the checks locally without raising an exception. Any help on this while I continue to research the issue would be greatly appreciated.
Thanks you very much again for letting me work on this.

And one more thing. you can use boolen value for limitType.

upper value as True.
lower value as False.

if you use boolen then change the argument name. use a proper name for it. like is_upper then, you can set a default value to True.
in this way you dont need the exception handle. i think this is much more efficient.

@mhdzumair, thank you so much for such detailed feedback. I have made all the aforementioned updates in my most recent commit. The round_to variable was a great idea as well. In the test file, I left the upper test with all default values and passed in x=4 and in the lower I defined values within the function call to ensure that they were working correctly. These seems to pass the checks so hopefully, it is ready to be merged.
Please let me know if further updates are necessary.

Thanks @mhdzumair. I have updated USAGE.md to reflect the gamma cdf function. Please feel free to reach out if you have any questions or if further updates are necessary.

Thanks for contributing this repo @misterdabu. I think now the time to merge this @hot9cups

Okay this is great!
Thank you @misterdabu for contributing to probdists! I'll be sure to include you as a contributor when the next version gets released(very soon)!
This was good code!
Oh also, if you find the library helpful and/or know someone who might, do share it!
Consider giving probdists a star if you like it :)
Thanks again, for the time and effort you put into this !!
Thanks zumair for taking care of this! Agree with all the changes you requested! Code quality is great now!


feat(tab): make tabs interactive with keyboard

Add tabIndex to the Tab component so it can be interacted with using the keyboard.
I tried to add the event key press for space key too but had some problems. Both with page scrolling down, without being able to prevent the event propagation and secondly also to correctly identifying the space key press. But now it's at least coherent with the left navigation that is tabbable and only interactive with the enter key and not the space key.

We shold probably not be able to tab to disabled tabs.

Isn't it handled by if (selected || disabled) { return} code?

We should probably not be able to tab to disabled tabs.

Done. Disabled tabs are not tabbable.


Uncaught TypeError: Cannot read property '1' of null with PHP Syntax Error

Steps to reproduce:
Type the following code and save it into a file called bug.php.
<?php

class Example {

  private function get(number) {
    return false;
  }

}

Move just above the function and type /** and press enter. You'll get the error.
Notice that my private function has a syntax error. It should be $number instead of number, but it would be awesome if docblockr didn't throw an uncaught error here.
Atom Version: 1.4.2
System: Mac OS X 10.11.1
Thrown From: docblockr package, v0.7.3
Stack Trace
Uncaught TypeError: Cannot read property '1' of null
At /Users/joel/.atom/packages/docblockr/lib/languages/php.js:67

TypeError: Cannot read property '1' of null
    at DocsParser.PhpParser.get_arg_name (/Users/joel/.atom/packages/docblockr/lib/languages/php.js:67:19)
    at DocsParser.parse_args (/Users/joel/.atom/packages/docblockr/lib/docsparser.js:265:48)
    at DocsParser.format_function (/Users/joel/.atom/packages/docblockr/lib/docsparser.js:130:32)
    at DocsParser.parse (/Users/joel/.atom/packages/docblockr/lib/docsparser.js:44:37)
    at DocBlockrAtom.module.exports.DocBlockrAtom.parse_command (/Users/joel/.atom/packages/docblockr/lib/docblockr-worker.js:279:29)
    at atom-workspace.<anonymous> (/Users/joel/.atom/packages/docblockr/lib/docblockr-worker.js:75:16)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands
     -3:57.1.0 core:move-up (atom-text-editor.editor.is-focused)
     -3:56.2.0 core:move-down (atom-text-editor.editor.is-focused)
 26x -3:55.6.0 core:move-left (atom-text-editor.editor.is-focused)
  5x -3:53.9.0 core:select-left (atom-text-editor.editor.is-focused)
  3x -3:51.3.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
     -3:49.4.0 core:move-up (atom-text-editor.editor.is-focused)
     -3:47.6.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
     -0:04.6.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
  3x -0:04.1.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:02.4.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
     -0:02.4.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:01.7.0 docblockr:parse-tab (atom-text-editor.editor.is-focused)
     -0:01.7.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:01.7.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:01.7.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:00.5.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)

Config
{
  "core": {},
  "docblockr": {}
}

Installed Packages
# User
docblockr, v0.7.3

# Dev
No dev packages

You forgot the dollar prefix on the variable name.
When using type declaration arguments it highlight as error but it doesn't prompt any error and build the comment correctly.

For me in php script, you insert a js script and you would add a comment on it :
<?php echo "poooo"; ?>
<script>
/**{enter}{crack-bug}
function jsfunciton(){
....
}
</script>

My bug report is specifically about the behavior when you have a typo that results in a syntax error. Probably a low priority as a result.

When i have the bug, Atom redirected me to this bug, the same error code.

I have the same issue for valid code in C/C++

Write a function declaration with a reference or pointer and do not name the parameter
Something like void foo(int&); or void foo(int*);
Try to document it with /**

Atom Version: 1.3.1
System: "Arch Linux"
Thrown From: docblockr package, v0.7.3
Stack Trace
Uncaught TypeError: Cannot read property '1' of null
At /home/matthew/.atom/packages/docblockr/lib/languages/cpp.js:64

TypeError: Cannot read property '1' of null
    at DocsParser.CppParser.get_arg_name (/home/matthew/.atom/packages/docblockr/lib/languages/cpp.js:64:19)
    at DocsParser.parse_args (/home/matthew/.atom/packages/docblockr/lib/docsparser.js:265:48)
    at DocsParser.CppParser.parse_args (/home/matthew/.atom/packages/docblockr/lib/languages/cpp.js:49:44)
    at DocsParser.format_function (/home/matthew/.atom/packages/docblockr/lib/docsparser.js:130:32)
    at DocsParser.parse (/home/matthew/.atom/packages/docblockr/lib/docsparser.js:44:37)
    at DocBlockrAtom.module.exports.DocBlockrAtom.parse_command (/home/matthew/.atom/packages/docblockr/lib/docblockr-worker.js:279:29)
    at atom-workspace.<anonymous> (/home/matthew/.atom/packages/docblockr/lib/docblockr-worker.js:75:16)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)

Commands
     -0:29 editor:newline (atom-text-editor.editor.is-focused)
  2x -0:27.4.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
     -0:23.1.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:22.7.0 core:delete (atom-text-editor.editor.is-focused)
     -0:21 docblockr:parse-enter (atom-text-editor.editor.is-focused)
     -0:04.8.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:04.5.0 core:delete (atom-text-editor.editor.is-focused)
  2x -0:03.9.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:02.5.0 core:save (atom-text-editor.editor.is-focused)
     -0:02.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
     -0:02.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:01.3.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:01.3.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:01.3.0 docblockr:parse-tab (atom-text-editor.editor.is-focused)
     -0:01.3.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:00.3.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "themes": [
      "atom-material-ui",
      "one-light-syntax"
    ]
  }
}

Installed Packages
# User
atom-material-ui, v0.8.1
docblockr, v0.7.3
file-icons, v1.6.14
hyperclick, v0.0.35
language-cpp14, v0.6.0
language-latex, v0.6.1
language-squirrel, v0.4.3
linter, v1.11.3
linter-javac, v1.5.0
linter-jshint, v2.0.2
pdf-view, v0.39.0

# Dev
No dev packages

I have seen this too. Is this plugin abandoned?

I'm getting this error when I call the WrapLines command.

Just got this error while documenting a C++ member function declaration.
docblockr version: 0.8.4
The snippet of code causing the issue:
class DukThread {
public:
    DukThread ();

    /** <- crash here */
    void eval (const std::string& script,
               const boost::function<void (std::string&)>& onSuccess,
               const boost::function<void (std::string&)>& onError = [](std::string& result){ std::cerr << "DukThread " << result << std::endl; });
...
}

I'd also receive this error for C++ header code on a function using un-named parameters.

lock Issue
This error appears in various cases, but Atom sends everyone to this issue. For that reason I will lock this issue. If you see this error, Atom sends you to this page and your problem is not yet covert: please open a new issue and describe the behavior that lead to the error.
Problems described in this issue

Error when commenting a function with syntax error by @codazoda
I can reproduce this and agree with you: this shouldn't lead to an error, but it's low prio.

Error when commenting JS script inside PHP by @madvik
I can't reproduce this and assume it was fixed in the meantime. If that's not the case, please provide more information.

Error in C++ function declaration with pointer (e.g. void foo(int&)) by @Eadword and perhaps @sgtcoolguy (..?)
I can reproduce this. PR #174 addresses this problem.

Error when calling WrapLines by @jasperkennis
Sorry I can't reproduce this and have no starting point for debugging this error. Please provide more information.

Error when commenting crazy C++ code by @StefanHamminga
I have to admit I have no idea what your code does; my C++ skills are way to limited for that, but I could reduce your code to this void test (foo<void (bar&)> baz); and still reproduce the error. The problem is this bar&. Maybe #174 will resolve this too.

#222 addresses the WrapLines error.

The Error with unnamed function parameters in C++  was fixed by @jeremyvii.
Version v0.8.6 released the fix.

The Wrap Lines Error was fixed by #222

This did not seem to fix it for me. I'm still seeing this same error, even after upgrading.

@jordwalke As described in my commed above, this issue describes multiple errors. Some off them got fixed, some didn't. What particular problem did you experience?

The wrap lines error still occurs with the same message in the OP.

@jordwalke This problem is not fixed yet. See my comment.

Still happens to this day.


upgrade daisyui to v3.9.1

So yeah, the latest DaisyUI is using the v3.9.1, because this repo is based on DaisyUI v1, there would be a lot of refactoring.
Any PR regarding the update are welcome. Let me know if you want to participate and I will assign you to the issue.

Please assign me this issue

Sure thing

Hi @NikarashiHatsu
I want to know, how to run this project!
I built the project using npm run dev. It just built the project. How to serve/run it?

Clone this project
Run composer install
Run npm install and npm run dev
Copy the env file and paste it as .env
Uncomment and change the CI_ENVIRONMENT to development
Uncomment and change the app.baseUrl to http://localhost:8080
In your terminal, run php spark serve

Make sure you're using PHP 8.0, as FILTER_SANITIZE_STRING is deprecated in 8.1 and won't run the app.


The name is not corgi.

It's close, but it's obviously not Corgi.  Pugism is real.

tbh it sounds much more like a helpful lab, so closing this issue

Yo. Sheesh.


You need to be logged in to use Save Page Now. error message

Despite me having specified my auths and despite me having manually checked I haven't been accidentally banned, I still get "You need to be logged in to use Save Page Now." message sometimes.
It's very odd.
Some captures on the list get saved successfully and some others give that error and fail immediately.
Could you make it such that if that error is generated, the script checks if -a  is specified, and if so, then the script retries the capture instead?
Thanks!

The reason that this has been happening is because someone is using AWS to overload the Internet Archive's servers with tens of thousands of requests per second. Normally this error message is exceptionally rare so I didn't think to account for it.


Search functionality broken for casper-types crate

Trying to search in the docs for casper-types yields no results when it should not, or else a broken link to an empty_library.  This appears to affect all versions after and including 0.9.4.
For example, searching for account in 0.9.3 yields correct results (I need to click inside the search box to actually display the search results after following this link), whereas the same search in 0.9.4 does not.
A search for a in 0.9.4 yields the link to empty_library.
There were no changes to the casper-types crate between versions 0.9.3 and 0.9.4 other than the version bump in its manifest and in #![doc(html_root_url = "https://docs.rs/casper-types/0.9.4")] in lib.rs.

The same for other casper-* crates:
https://docs.rs/casper-client/1.1.0/casper_client/
https://docs.rs/casper-contract/1.1.0/casper_contract/
https://docs.rs/casper-node-macros/1.1.0/casper_node_macros/
https://docs.rs/casper-execution-engine/1.1.0/casper_execution_engine/

This is https://github.com/rust-lang/docs.rs/issues/1336. I requeued a build for the crates you mentioned.

Thank you @jyn514. Have a great day :)

Requeued and rebuilt: https://docs.rs/casper-types/0.9.4/casper_types/?search=account. Let me know if I missed any crates.


Send requests to external components

If I'm not mistaken, right now it's not possible to send requests to external components.
I can send actions with:
H.query slot $ H.action $ F.send slot' (H.action myAction)
But I can't do the equivalent of:
H.query slot $ H.request myRequest

@dariooddenino That's right, in the current version I haven't supported doing this. In the halogen-v5 branch I have supported it, as I was expecting for Halogen 5 to come out a bit sooner than it has.
Given that I probably ought to have support for this in v4 regardless and it's unclear when v5 will arrive, this should be fixed!


create code scan workflow

as per security requested

Codecov Report

Merging #41 (8a4401e) into main (8c78d12) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #41   +/-   ##
=========================================
  Coverage     50.00%   50.00%
  Complexity        3        3
=========================================
  Files             2        2
  Lines            10       10
  Branches          1        1
=========================================
  Hits              5        5
  Misses            3        3
  Partials          2        2

Continue to review full report at Codecov.

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

Thanks - can you make the same change to all the repos?

sure, thx


Lab 6 Task 4.2: Install .NET Framework in Visual Studio

Lab/Demo: 06
Task: 4.2
Step: 1
Description of issue:
When Visual Studio launched, it recommended an update to the user. This should be clarified whether an app update may be required or not by the user. This may also help with any other issues currently facing publishing to Azure.
**
Please note as well, the step instructs to "Under Installation details pane, check .NET Framework 4.6.2 development tools." but there is no section of UI noticeable of Installation Details. VS does show when configuring that all installed workloads include .Net Framework 4.7.2. The only sign of developmental tools Individual components is 3.5.

Updates should be applied
Can you confirm if using Visual Studio 2019 or Visual Studio 2022? Note: The instructions were written for VS 2019

Confirmed VS19 being used.

I presume this is Skillable as godeploy seem to have upgraded to Windows 11/VS 2022.
I need to check what the correct VM config should be.
If you apply updates to Visual Studio, you should then see Installation details pane on the right-hand side.

I presume this is Skillable as godeploy seem to have upgraded to Windows 11/VS 2022
I need to check what the correct VM config should be
If you apply updates to Visual Studio, you should then see Installation details pane on the right-hand side
I will test when I get access to Skillable labs

Skillable VM uses VS 2022

Skillable VM contains VS 2022 and 2019. VS 2022 wasn't used while In testing.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Julian Sharp @.>
Sent: Thursday, June 27, 2024 2:46:35 AM
To: MicrosoftLearning/PL-400_Microsoft-Power-Platform-Developer @.>
Cc: Austin Priesel @.>; Author @.>
Subject: Re: [MicrosoftLearning/PL-400_Microsoft-Power-Platform-Developer] Lab 6 Task 4.2: Install .NET Framework in Visual Studio (Issue #133)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Also, please think before you reply-all to external recipients.
Skillable VM uses VS 2022
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftLearning/PL-400_Microsoft-Power-Platform-Developer/issues/133#issuecomment-2193924101, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BEEKDK3DUGOMOFMW3SVLPADZJOYMXAVCNFSM6AAAAABJLAR7NWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJTHEZDIMJQGE.
You are receiving this because you authored the thread.Message ID: @.***>

Lab steps have been updated to include instructions to update Visual Studio


After update beta 39. Fan light keeps turning on 1%

Prerequisite

[X] Yes

Version
1.7.0-beta.40
Device Infomation JSON File
Hi

Starting from update 39 and now update 40, the light of the ceiling fan keeps turning on by itself at 1 pct.

Device Control Mode
None
Logs
No response
Other Infomations
Normally if i switch the light off, it will stay off. On the non beta version, it was working as it should.

I changed the instruction from Standard to DP. Still same results. The Fan light keeps turning on 2 percent from homekit.

Might related to https://github.com/0x5e/homebridge-tuya-platform/releases/tag/v1.7.0-beta.14

Change range and unit of RotationSpeedLevel, need clean accessory cache to take effect. by @0x5e in https://github.com/0x5e/homebridge-tuya-platform/pull/174

thanks, its the light of the fan though always turning on at 1 %, not the fan speed itself

apologize for the mistake.
the issue might caused by adaptive lighting, some lights seems not working with it.
https://github.com/0x5e/homebridge-tuya-platform/issues/212#issuecomment-1520513346


Pseudo PR - community review for initial release

Do not merge - pseudo PR to give review interface for entire pipeline

Community review for initial release. Aim is to get at least two PR approvals from people in the nf-core community who are not the main developers of this pipeline ✅
https://nf-co.re/developers/adding_pipelines#making-the-first-release

Hi Guys! Thank you for finding us and approving this PR 😎! However, we do need some proper, critical reviewing of this PR before the first pipeline release to ensure that pipelines adhere to the highish standards that we have set. This normally comes from a mixture of the core nf-core team as well as other members of the community.

@javanOkendo any reason for merging this PR? we're still in the middle of processing it.

@javanOkendo any reason for merging this PR? we're still in the middle of processing it.


Issue connecting FlowViz (Organization) to our ADO Organization

Our Project Collection Admin downloaded the FlowViz(Organization) file, attempted to connect, during the initial load, received an OLE DB or ODBC error.  Non Project Collection Admins are able to connect to a Project using the FlowViz(Project) file.
Full error here:
"Data Refresh
Load was cancelled by an error in loading a previous table.
WorkItems Completed
Load was cancelled by an error in loading a previous table.
WorkItems In Progress
Load was cancelled by an error in loading a previous table.
WorkItems In Progress2
Load was cancelled by an error in loading a previous table.
Dates
Load was cancelled by an error in loading a previous table.
Areas
Load was cancelled by an error in loading a previous table.
Iterations
Load was cancelled by an error in loading a previous table.
WorkItems Bl0cked
Load was cancelled by an error in loading a previous table.
WorkItems WIP Age
OLE DB or ODBC error: [DataSource.Error] OData: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
WorkItems FlowEfficiency
OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E.
Projects
Load was cancelled by an error in loading a previous table.
WorkItemTypes
Load was cancelled by an error in loading a previous table.
Teams
Load was cancelled by an error in loading a previous table.
AgeSort
Load was cancelled by an error in loading a previous table.
Query parameters"
To Reproduce
Error was thrown during initial load
Desktop (please complete the following information):

Windows 11
64 bit

That looks like it was force closed due to data load, how many projects/work items are in your organisation?

We have 102 in our PRD instance (68 active projects and 34 that we consider in archived state).  That makes sense that its a data load issue, we successfully connected it to our Dev instance (12 projects).  Is there an option to work around our current issue? If there is an option to multi-select Projects during the load, that would be great!  Out of the 68 active projects, we may have approx 50 that would be interested in your metrics.
If not, and I could get our "archived" projects out of there; would 68 be too many?
Really appreciate your help!!

It really depends more on the work items, I’m fairly confident 68 would be too many. Unfortunately there is no way to select multiple projects :(Sent from my iPhoneOn 2 Nov 2023, at 13:38, frickje @.***> wrote:
We have 102 in our PRD instance (68 active projects and 34 that we consider in archived state).  That makes sense that its a data load issue, we successfully connected it to our Dev instance (12 projects).  Is there an option to work around our current issue? If there is an option to multi-select Projects during the load, that would be great!  Out of the 68 active projects, we may have approx 50 that would be interested in your metrics.
If not, and I could get our "archived" projects out of there; would 68 be too many?
Really appreciate your help!!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Bummer to hear.  What are your thoughts on us trying to connect to our individual projects using the FlowViz (Project) file, then trying to combine them into one large dataset? Would we be wasting our time? Any other suggestions?

Closing issue as due to data volumes being loaded, workaround provided.

CONFIDENTIAL & RESTRICTED
Hi Nick,
Quick follow up on this. Can you give me a little guidance on how I would update a query?  For example, on the Iterations, I see the following (Transform Data, Applied Step - Source):
= OData.Feed(#"Http/Https" & "://" & #"Analytics URL/Azure DevOps Server" & "/" & Organization & "/" & Project & "/_odata/v3.0-preview/Iterations?%20&$select=ProjectSK,IterationPath,IterationName,IterationSK,StartDate,EndDate,IterationLevel1,IterationLevel2,IterationLevel3,IterationLevel4", null, [Implementation="2.0"])
Am I placing the project names in place of the "Project" parameter?
Appreciate the guidance!
jessica

From: Nick Brown @.>
Sent: Thursday, November 2, 2023 11:06 AM
To: nbrown02/FlowViz @.>
Cc: Jessica FOSLIEN @.>; Author @.>
Subject: Re: [nbrown02/FlowViz] Issue connecting FlowViz (Organization) to our ADO Organization (Issue #107)
EXTERNAL Email. Be careful with links and attachments! If in doubt, click the Report Mail button.
There is a way you could do it, but you'd have to change the report and all
it's queries to have a filter, something like:
https://analytics.dev.azure.com/ORGNAME/_odata/v3.0/WorkItems? $filter= Project/ProjectName eq 'PROJECTNAME' or Project/ProjectName eq 'PROJECTNAME' or Project/ProjectName eq 'APROJECTNAME' or Project/ProjectName eq 'PROJECTNAME'
On Thu, Nov 2, 2023 at 3:24 PM frickje @.***> wrote:

Bummer to hear. What are your thoughts on us trying to connect to our
individual projects using the FlowViz (Project) file, then trying to
combine them into one large dataset? Would we be wasting our time? Any
other suggestions?
—
Reply to this email directly, view it on GitHub
https://github.com/nbrown02/FlowViz/issues/107#issuecomment-1790950338,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHACM2XCJDZ7ZR7TBNT3YZLYCO3JHAVCNFSM6AAAAAA6Z6LS5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJQHE2TAMZTHA
.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHubhttps://github.com/nbrown02/FlowViz/issues/107#issuecomment-1791027879, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDVN2BIEBZIBWNGQH5BMWK3YCPAHFAVCNFSM6AAAAAA6Z6LS5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJRGAZDOOBXHE.
You are receiving this because you authored the thread.Message ID: @.***>

You would need to do something like:
= OData.Feed(#"Http/Https" & "://" & #"Analytics URL/Azure DevOps Server" & "/" & Organization & "/_odata/v3.0/Iterations?%20$filter=%20Project/ProjectName%20eq%20%27PROJECTNAME%27%20or%20Project/ProjectName%20eq%20%27PROJECTNAME%27%20&$select=ProjectSK,IterationPath,IterationName,IterationSK,StartDate,EndDate,IterationLevel1,IterationLevel2,IterationLevel3,IterationLevel4", null, [Implementation="2.0"])
Bold is where you'd need to enter project name, similarly you'd need to take the project parameter out of the query...

CONFIDENTIAL & RESTRICTED
Thank you SO much. I'll start working on the updates. I have two successful so far.

From: Nick Brown @.>
Sent: Wednesday, November 8, 2023 3:36 AM
To: nbrown02/FlowViz @.>
Cc: Jessica FOSLIEN @.>; Author @.>
Subject: Re: [nbrown02/FlowViz] Issue connecting FlowViz (Organization) to our ADO Organization (Issue #107)
EXTERNAL Email. Be careful with links and attachments! If in doubt, click the Report Mail button.
You would need to do something like:
= OData.Feed(#"Http/Https" & "://" & #"Analytics URL/Azure DevOps Server" & "/" & Organization & "/_odata/v3.0/Iterations?%20$filter=%20Project/ProjectName%20eq%20%27PROJECTNAME%27%20or%20Project/ProjectName%20eq%20%27PROJECTNAME%27%20&$select=ProjectSK,IterationPath,IterationName,IterationSK,StartDate,EndDate,IterationLevel1,IterationLevel2,IterationLevel3,IterationLevel4", null, [Implementation="2.0"])
Bold is where you'd need to enter project name, similarly you'd need to take the project parameter out of the query...
—
Reply to this email directly, view it on GitHubhttps://github.com/nbrown02/FlowViz/issues/107#issuecomment-1801418957, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDVN2BM3MQAON2DDMQVQVDDYDNHC5AVCNFSM6AAAAAA6Z6LS5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBRGQYTQOJVG4.
You are receiving this because you authored the thread.Message ID: @.***>

CONFIDENTIAL & RESTRICTED
Hi Nick,
Are you able to help me with one more?  I have the other queries updated, but struggling with the "Teams".
Here is the original:
= OData.Feed(#"Http/Https" & "://" & #"Analytics URL/Azure DevOps Server" & "/" & Organization & "/" & Project & "/_odata/v3.0-preview/BoardLocations?%20&$select=TeamSK,ColumnName&$expand=Team($select=TeamName)", null, [Implementation="2.0"])
I tried to update it to:
= OData.Feed(#"Http/Https" & "://" & #"Analytics URL/Azure DevOps Server" & "/" & Organization & "/" & "/_odata/v3.0-preview/BoardLocations?$filter=%20Project/ProjectName%20eq%20%27Mobile%27%20or%20Project/ProjectName%20eq%20%27NavIP%27%20&$select=TeamSK,ColumnName&$expand=Team($select=TeamName)", null, [Implementation="2.0"])
but I get the following error:
[cid:fb3dfb75-c2ed-49bc-a23c-35de9ee9fb3b]
(I am not a developer, if you haven't guessed 🙂)
Thanks,
Jessica

From: Nick Brown @.>
Sent: Wednesday, November 8, 2023 3:36 AM
To: nbrown02/FlowViz @.>
Cc: Jessica FOSLIEN @.>; Author @.>
Subject: Re: [nbrown02/FlowViz] Issue connecting FlowViz (Organization) to our ADO Organization (Issue #107)
EXTERNAL Email. Be careful with links and attachments! If in doubt, click the Report Mail button.
You would need to do something like:
= OData.Feed(#"Http/Https" & "://" & #"Analytics URL/Azure DevOps Server" & "/" & Organization & "/_odata/v3.0/Iterations?%20$filter=%20Project/ProjectName%20eq%20%27PROJECTNAME%27%20or%20Project/ProjectName%20eq%20%27PROJECTNAME%27%20&$select=ProjectSK,IterationPath,IterationName,IterationSK,StartDate,EndDate,IterationLevel1,IterationLevel2,IterationLevel3,IterationLevel4", null, [Implementation="2.0"])
Bold is where you'd need to enter project name, similarly you'd need to take the project parameter out of the query...
—
Reply to this email directly, view it on GitHubhttps://github.com/nbrown02/FlowViz/issues/107#issuecomment-1801418957, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDVN2BM3MQAON2DDMQVQVDDYDNHC5AVCNFSM6AAAAAA6Z6LS5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBRGQYTQOJVG4.
You are receiving this because you authored the thread.Message ID: @.***>

Hey Jessica,
So I don't think for that table you would be able to do it - Project isn't an available field for that table.


ParseMaps handles multiple executable sections and/or maps

We are solving the issue with object files that are mapped into memory into
multiple mappings. This can happen if the single executable section is split
across multiple mappings, or if there is more than one executable section (the
latter should only be the case for PEs).
Before, each executable mapping was seen by Orbit as a separate module. In these
cases, the correspondence between symbols and addresses was computed
incorrectly, because only one of these "modules" had the correct address in
memory at which the first executable section of the object file was mapped.
Now, when scanning /proc/[pid]/maps in orbit_object_utils::ParseMaps, we
only create a single module for a sequence of mapping that correspond to the
same file. In particular, we consider an address range that covers all the
executable mappings for that file. This could also cover non-executable
sections, but it doesn't matter. The only assumption is that the beginning of
this address range still corresponds to the "executable segment offset", i.e.,
the "executable segment offset" corresponds to the first executable section.
We need to relax the conditions applied when detecting anonymous executable maps
that corresponds to PEs with a file alignment incompatible with mmap. Now we
simply accept any anonymous executable map that lies inside the address range of
size ObjectFile::GetImageSize() that starts at the first address at which the
PE is mapped.
Bug: http://b/235481314
Bug: http://b/235480245
Test:

Adjusted and expanded LinuxMapTest.cpp.
Tried on triangle.exe: already worked fine before, still works.
Tried on complex Silenus games: now each module only shows up once and symbols
are correctly assigned to addresses.

The first commit is https://github.com/google/orbit/pull/3785, which this change depends on.

The first commit is #3785, which this change depends on.

That commit is now on the main branch and this change has been rebased.


TagUI Web Automation Extension - frame not supported, do manual

Hi Team,
I'm new to TagUI, I'm trying to automate below URL but neither Web Automation extension nor manual code(using xpath) failed to run the steps. The browser is opened and followed by webpage  but it stops in the second of the code. Please help me on this issue.
Code:-
https://ecom.mohw.gov.tw/web_app/entry_index.jsp
type //input[@name="UserLoginID"] as ABCD
type //html/body/table/tbody/tr[1]/td[2]/form/table/tbody/tr[6]/td[2]/input as xyz
click //html/body/table/tbody/tr[1]/td[2]/form/table/tbody/tr[9]/td/input[1]
Error Screenshot:

regards
Venkat

Hi Venkat,
From the documentation - https://tagui.readthedocs.io/en/latest/tools.html#tagui-chrome-extension

The recording isn’t foolproof (for example, the underlying recording engine cannot capture frames, popup windows or tab key input). It’s meant to simplify flow creation with some edits, instead of typing everything manually.

In this case, the web elements are in a web frame, thus this can't be captured from recorder. It exist under the main frame mainFrame and subframe mainContent. Thus the following code works. However, it has to be inspected manually from Chrome inspector or use tools like ChroPath to inspect to get the frame name. Not easy, but possible.
https://ecom.mohw.gov.tw/web_app/entry_index.jsp
frame mainFrame | mainContent
    type //input[@name="UserLoginID"] as ABCD
    type //html/body/table/tbody/tr[1]/td[2]/form/table/tbody/tr[6]/td[2]/input as xyz
    click //html/body/table/tbody/tr[1]/td[2]/form/table/tbody/tr[9]/td/input[1]

wait

Hi Venkat, I'm closing this issue for now till further inputs!


Link Ursa/Rhea presentation to Hera page

per earlier discussion. Also want to see if I got the numbering thing right.

The changes look good!


Arcbox 3.0 - Customize tags

Looks good, but does SQL MI and PostgreSQL resources get tags assigned?

I'm testing now if they get the tags through policy, if not then will have to add them manually using the parameter

Looks good, but does SQL MI and PostgreSQL resources get tags assigned?

I'm testing now if they get the tags through policy, if not then will have to add them manually using the parameter

Tags are applied using the policy after testing


Adding Shader Support

Done in https://github.com/Sygmei/ObEngine/commit/0fa7a255c7c6ce941018170775e4bbfedc083da2 and https://github.com/Sygmei/ObEngine/commit/1c6bb94da191cd4af63bd4876f6aa050fe6d1a7e probably needs more work on it


Sinatra::Schema

Define the producer API schema using a Ruby DSL instead of JSON/YAML.

Going to go ahead and close this.


add maven badge

Thanks to @fthomas help!

:+1:
@fthomas thanks! :smile:

You're welcome :-)

@aoiroaoino cheers, if you want you can merge the PR after you approve it.

@julien-truffaut ok, I will :)


Add domain mapping for delegated ACME records

Description
This adds the ability to 'map' domains to particular zones in CloudFlare's DNS.
The problem
I work with a few domains that are not managed by me and are also outside of my control when it comes to DNS hosting. Despite not owning the domain I do still manage web services hosted under their banner. To get around ACME issues with renewing certs I have gotten the domain administrator to CNAME _acme-challenge. to one I manage under CloudFlare so it can be renewed automatically.
When passed in from Dehydrated, the hook will be unable to find any zones for their domain and will fail.
How this tries to fix it
This patch allows you to specify a mapping of domains to CloudFlare zones via an environment variable (CF_DOMAIN_MAPPINGS) so that the DNS records can be added accordingly. The syntax is pretty simple, it's just a space-delimited list of domain=zone pairs like so:
CF_DOMAIN_MAPPINGS="somedomain.com=mycfdomain.net otherdomain.org=mycfdomain.net"

Further info
Under the hood it basically just checks if the domain provided by Dehydrated matches any on the list, then replaces the domain with the target zone. e.g. when Dehydrated passes in somedomain.com it will get swapped out for mycfdomain.net which is used to create/delete the appropriate TXT record.
The use cases of this are pretty limited and implementations will probably be few and far between. The EFF did mention CNAMEing as a possible security measure for limiting the scope of credentials, so there's that too.

This is a very narrow usecase.  In most settings the domain administrator owns the certificates including the process to obtain or invalidate certificates and pushing them to trusted repos.


Google charts: timelines [question]

Can we create something like Google charts timelines with Echarts?

You can use custom series to implement this. Like what this example do.  https://ecomfe.github.io/echarts-examples/public/editor.html?c=custom-profile

Thank you, I don't know how I missed that. But I think there's something wrong with the legend in that example, am I right?

👍

@giorgiopagnoni ye, I will fix the example.

@100pah thank you; drop me a line when the legend works


Fix for #219

Use admin_site property of ModelAdmin, to make sure that the correct list of apps is used.
This should fix #219

@camilonova Any change this is merged? This is stopping me from using django-constance@master and should not break any existing installation as fas as I can tell.

Thank you.


How can I update secrets dynamically without recreating the pod?

@erictune or @deads2k, do we have a plan for triggering a secret change on a pod? How would we notify the pod that the secret has changed?

We still need to define the secrets update story.  Right now, the plugin is idempotent but you'll get the latest state if your node has been rebooted.
There are two parts to solving this:

Changing the plugin to store the last resourceVersion of the secret written and project a newer version when it's available -- there's some overlap with the #5093 volume plugin story here since we would want updates to be atomic.
Making the kubelet aware that a pod should be restarted; it seems like whether your pod is restarted should potentially be a knob to the user.  Some containers may watch the filesystem and be able to respond to changes in secrets in volumes.

Secrets update also touched by #7648

I thought the latest data in the secret got pulled on every pod create. Didn't realize the node only grabbed the secret the first time it was mounted.

Our original design had them being immutable
On Sat, May 23, 2015 at 7:17 PM Jordan Liggitt<EMAIL_ADDRESS>wrote:

I thought the latest data in the secret got pulled on every pod create.
Didn't realize the node only grabbed the secret the first time it was
mounted.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/8738#issuecomment-104954223
.

I would kinda expect some sort of rotation story rather than direct mutation. But I guess it's nice to support both?

By direct mutation, do you mean having the volume plugin implement some
kind of eventual consistency without restarting the pod?
On Sat, May 23, 2015 at 11:00 PM Daniel Smith<EMAIL_ADDRESS>wrote:

I would kinda expect some sort of rotation story rather than direct
mutation. But I guess it's nice to support both?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/8738#issuecomment-104971457
.

I think we can and probably should implement updates for secrets, atomic in
the same way as downward API should be.  We can add a file that is a
notifier of some sort (design TBD but not very complicated).
Something like a special file we update when a new resourceVersion of the
sercret is written.
Whether this lands before 1.0 is dubious.
On Sat, May 23, 2015 at 9:45 PM, Paul Morie<EMAIL_ADDRESS>wrote:

By direct mutation, do you mean having the volume plugin implement some
kind of eventual consistency without restarting the pod?
On Sat, May 23, 2015 at 11:00 PM Daniel Smith<EMAIL_ADDRESS>wrote:

I would kinda expect some sort of rotation story rather than direct
mutation. But I guess it's nice to support both?
—
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/8738#issuecomment-104971457
.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/8738#issuecomment-104978726
.

I don't see this in 1.0

Agree, this should not be a 1.0 item (fwiw)
On Tue, Jun 2, 2015 at 3:53 PM Eric Tune<EMAIL_ADDRESS>wrote:

I don't see this in 1.0
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/8738#issuecomment-108077098
.

See also #18372

This is in.


Fix issue with percentages in values

Fixes #425.
Rule had an issue with percentages as values like the example below:
scale-color($a-font-color, $lightness: -14%);
DCO 1.1 Signed-off-by: Ben Griffith<EMAIL_ADDRESS>

:+1:


Fix refresh cookie token bugs

There was a bug in which /token/refresh/ did not read and update the refresh token cookie. A small refactoring is also included.

Thanks for submitting this pull request. I'm setting up Circle CI to build this, but I noticed the test dj_rest_auth.tests.test_api.APIBasicTests.test_custom_token_refresh_view is failing locally. I'm not sure if it's because the assertion is no longer valid or your changes introduced a genuine regression.
Can you have a look? You can run tests locally using tox --parallel (run all tests in all supported Django/Python versions  -- in parallel).

Sure, I will check this.

@iMerica all tests passed.

LGTM 👍


Table default style doesn't looks like GFM style.

Well, here is the demo.

Did I miss something?

@jjljyn Use some CSS to change the table style.

@svbergerem Yeah, thanks. It works. But is there any configuration to control the table style?

@jjljyn there are no any special configuration. Just add CSS styles you need. See online demo

My table works fine and looks nice now.Thank you.


Add Digilent Genesys2 board.

 Issue by peteut
Thursday Jan 02, 2020 at 01:49 GMT
Originally opened as https://github.com/m-labs/nmigen-boards/pull/39

The Blinky test works fine on my board.

peteut included the following code: https://github.com/m-labs/nmigen-boards/pull/39/commits

@peteut Could you please resubmit the PR against this repository? It looks good overall, but I'd like you to make a few minor changes.

Seems to be fixed by https://github.com/nmigen/nmigen-boards/pull/49.


Fix error log when start confignode and datanode

Description

This PR is fixing this issue by unifying the package name in mbeam to org.apache.iotdb.service.

coverage: 48.086% (+0.02%) from 48.065% when pulling 433b7f37c56d410312eb859a48420ca58c4085b6 on fix_startup_error_log into 9fbc0318f47ffd2dd3c1b95c9e19f2d84d421eee on master.


Create Feature Card 23 blue

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

Follow Feature Cards Design system &  figma design
After building the component please raise a PR with a screenshot of the component and add the component in Feature Cards/src/feature-card-23-blue.html.
If you need to use any icon please use it from Hero Icons
Good luck.

can i work on this?

I can work on this

I would like to work on this.

can i work on this?

Go ahead!

@RavindraP04 what to do if there is no such icon in heroicons?

is this icon ok?

No @niladrix719, to maintain the consistency we will go with only one icon for all the three version of a component, You can export the SVG of the icon from the figma and use the code of that svg or you can find it here in the feature-card-23-white and change the fill color of the svg to #2d70f3

got  it

@RavindraP04 opened a PR


Feature request: load/save index patterns configuration in Elasticsearch

Hello,
It would make sense if the logtrail configuration could be saved/loaded from Elasticsearch directly, even better if it could be edited in logtrail.
Cheers

Thanks.  Are you facing any issues in using logtrail.json? Just want to understand the usecase.

We deploy kibana using docker, and it would be easier if we didn't have to change configuration files on it.  Also it could help when deploying multiple kibana instances.

Got it. How about if we provide an option to read complete logtrail.json from ES .kibana index if available. Else it will pick from local config file.  Saving and updating the config file in ES should be done externally using curl. Does this solve the problem?

Yes, that would work.

yes, this please!
right now i also have to inject my logtrail.json config after the plugin install, having the config being loaded from a ES index would make everything easier.
The down side is that you may need to "rename"/update/remove configs when versions change require then. Mark the config with a version and every time a new config change, change the version and make a macro to "upgrade" then or at very least, warn the user about the need to change the config

@lpic10 @danielmotaleite I have added initial support for this feature in https://github.com/sivasamyk/logtrail/releases/tag/v0.1.22.
You can upload the logtrail.json file to ES using following curl command:
curl -XPUT 'localhost:9200/.logtrail/config/1?pretty' -H 'Content-Type: application/json'<EMAIL_ADDRESS>If available then logtrail will use the json from ES. Checkout the feature and let me know your comments!

Please note any changes to logtrail,json in elasticsearch requires restart of Kibana to take effect.

@sivasamyk it works as expected, many thanks !

Sorry for the delay, only now i manage to upgrade elasticsearch
Works perfect @sivasamyk, thanks a lot for this feature, it makes logtrail much easier to manage

please do not forget to add that curl to the readme, so others can use this feature

Updated readme : https://github.com/sivasamyk/logtrail/blob/master/docs/how_to.md#3-load-logtrail-configuration-from-elasticsearch


Use symlinking

I updated this plugin to follow symlinks and to use symlinks itself for all the files that are not filtered.
It intelligently figures out if an entire directory doesn't need filtering and then symlinks the entire directory instead of symlinking each file. This speeds up performance a lot in many cases.
Benchmarks
Setup
Setup the benchmark project. It contains a couple hundred .js files and 100 .hbs files. It resembles a typical Ember app. It's Brocfile.js filters all .hbs files to be .js files.
git clone git@github.com:sebastianseilund/benchmark-broccoli-filter.git
cd benchmark-broccoli-filter
npm install

Running benchmarks for master
rm -rf node_modules/broccoli-filter
npm install https://github.com/broccolijs/broccoli-filter/tarball/master
node benchmark.js

Running benchmarks for this branch
rm -rf node_modules/broccoli-filter
npm install https://github.com/sebastianseilund/broccoli-filter/tarball/make-it-so
node benchmark.js

Results
All times are in ms. Lower is better.

Branch
First build average
Rebuilds average

master
168
132

make-it-so
54
28

broccoli build runs 4-5x faster using this branch for the benchmark project.

@joliss I apologize for the prodding!
Is there any chance that this and/or https://github.com/broccolijs/broccoli-filter/pull/14 can get into broccoli-filter?
It seems like both sebastianseilund and rwjblue are willing to discuss your input if there is something in either PR that you feel isn't right.

The upcoming API change (in the "rebuild" branches) will allow for some further optimizations that will make this PR obsolete, so I'd prefer not to merge it in the meantime.
I'll close this for now, but Filter performance is definitely on the radar.

@joliss Good to hear, looking forward to it! :+1:


fix: evaluateSteps after each submodule

Description

does post-submodule evaluation after each submodule, to handle indirect dependencies (with test)
bases re-evaluation decision on whether input state has changed (because output state is handled by the above)
no longer double-counts the initial evaluateSteps and expandBlockses in parseDuration

Checklist

[x] I've read the guidelines for contributing to this repository.
[x] I've followed the conventions in the PR title.
[x] I've added tests that prove my fix is effective or that my feature works.
[ ] I've updated the documentation with the relevant information (if needed).
[ ] I've added usage information (if the PR introduces new options)
[ ] I've included a "before" and "after" example to the description (if the PR is a user interface change).

LGTM!


Establish mlc_chat.compiler

This PR establishes the compiler components in MLC-Chat Python API,
which currently includes two primary components: models and parameters.
The models are nn.Module-based definition of an LLM, which, as the
very first stab, contains only LlamaForCasualLM. It is decomposed into
three files:

llama_config.py: common configurations for Llama, where we define
relevant configurations of its architecture, as well as include
standard config file for Llama2-7B/13B/70B for convenient testing;
llama.py: the model architecture of Llama, based on the PyTorch-like
nn.Module API;
llama_parameter.py: defines the mapping between MLC parameters and
pytorch parameters.

The parameters contains the basic functionality of parameter mapping,
and the loaders that effectively convert parameters from PyTorch to MLC
according to the mapping specified. Currently, only HFTorchLoader is
implemented, but loaders like SafeTensor, GPTQ or AWQ should be quite
straightforward according to the existing design.
On top of this PR, on-the-fly quantization could be defined as a loading
time transformation on MLC parameters, while pre-quantized parameter
loading is effectively parameter loading after MLC's nn.Module is
quantized.
Two unittests examplify how the infrastructure works:

./tests/python/model/test_llama.py shows how to create an nn.Module
using the new infra, and then convert it to TVM IRModule;
./tests/python/parameter/hf_torch_loader.py shows how to load
parameters from HuggingFace PyTorch format.

Besides, mlc_chat.support is established for utility functions, which
now contains two utils:

config.py which supports reading configurations into dataclasses
from JSON file or Python dict. On top of Python dataclass, it throws
irrelevant fields into cls.kwargs, which is helpful when loading
HuggingFace configuration file;
tqdm.py which contains tqdm-related utilities, primarily redirecting
logging and printing to work nicely with tqdm.

CC: @MasterJH5574 @LeshengJin @cyx-6 @zxybazh


Convert config string values locale dependent

Quick fix and untested, double check before you merge
Fixes #1

Fixed with 83e9c2e44370c1e6b4001221f88d0538248719fc
I opted for a simple replace, since NumericTextFieldWithUnit does not take into account locale, allowing a single period or comma using regex and PrintHeadMinMaxTextField also does a replace.
Tested in Cura 5.3.1


'undefined' is not a function (evaluating 'Number.isNaN(b)') fix

'Number.isNaN() is ECMAScript 6 feature, Safari not support this,when running on iOS device,above error will report.
see https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN

@rreusser
Thanks for your excellent work for this!
The react native version is 0.16.0, react-native-paged-scroll-view version is 1.3.2.
Most of the time, ES6 is fine, and worth using.
Have a good vacation！


Master

Oh my, I don't think you mean to push this to the master repo, do you?
I notice 289 files. two hundred and eighty nine!!! Does that suggest that your repo might include a folder that shouldn't be there? hint: s****m


Support CalDAV auto-discovery

I am using fastmail which uses https://caldav.fastmail.com as their entrypoint for CalDAV. See https://www.fastmail.help/hc/en-us/articles/1500000278342-Server-names-and-ports#h_01H95ZZXYQJCB2E8CEM5PDK8H0 for details.
Plugging that into "Errands" didn't work, it resulted in a 404. Indeed, the above URL returns a 404 when contacted directly. Fastmail makes use of the CalDAV auto-discovery (outlined in https://datatracker.ietf.org/doc/html/rfc6764) which essentially says:

Go to <host>/.well-known/caldav
Take the re-direct returned (in fastmail's case: https://caldav.fastmail.com/dav/calendars)
Use that as a base for caldav operations

Indeed, Errands correctly imports all tasks when the Server URL is set to https://caldav.fastmail.com/dav/calendars

Same situation with Baikal, but baikal requires https://caldav.{server}/dav.php/calendars/ because server differences. Would be more convenient to be able to use the base domain directly


[IPEX] RuntimeError: mat1 and mat2 must have the same dtype, but got Float and Half

After updating the needed packages to detect my GPU, I ran into a new problem with voice inferrance. I am encountering this error after specifying a path to a file I want to use, but errors out with the traceback shown below.
2024-02-17 20:36:17 | WARNING | infer.modules.vc.modules | Traceback (most recent call last):
  File "/home/owner/rvc/infer/modules/vc/modules.py", line 186, in vc_single
    audio_opt = self.pipeline.pipeline(
  File "/home/owner/rvc/infer/modules/vc/pipeline.py", line 410, in pipeline
    self.vc(
  File "/home/owner/rvc/infer/modules/vc/pipeline.py", line 219, in vc
    logits = model.extract_features(**inputs)
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/fairseq/models/hubert/hubert.py", line 535, in extract_features
    res = self.forward(
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/fairseq/models/hubert/hubert.py", line 467, in forward
    x, _ = self.encoder(
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/fairseq/models/wav2vec/wav2vec2.py", line 1003, in forward
    x, layer_results = self.extract_features(x, padding_mask, layer)
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/fairseq/models/wav2vec/wav2vec2.py", line 1049, in extract_features
    x, (z, lr) = layer(
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/fairseq/models/wav2vec/wav2vec2.py", line 1260, in forward
    x, attn = self.self_attn(
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/fairseq/modules/multihead_attention.py", line 538, in forward
    return F.multi_head_attention_forward(
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/torch/nn/functional.py", line 5443, in multi_head_attention_forward
    attn_output = linear(attn_output, out_proj_weight, out_proj_bias)
RuntimeError: mat1 and mat2 must have the same dtype, but got Float and Half

Traceback (most recent call last):
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/gradio/routes.py", line 437, in run_predict
    output = await app.get_blocks().process_api(
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/gradio/blocks.py", line 1349, in process_api
    data = self.postprocess_data(fn_index, result["prediction"], state)
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/gradio/blocks.py", line 1283, in postprocess_data
    prediction_value = block.postprocess(prediction_value)
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/gradio/components.py", line 2586, in postprocess
    file_path = self.audio_to_temp_file(
  File "/home/owner/rvc/.venv/lib/python3.10/site-packages/gradio/components.py", line 360, in audio_to_temp_file
    temp_dir = Path(dir) / self.hash_bytes(data.tobytes())
AttributeError: 'NoneType' object has no attribute 'tobytes'
2024-02-17 20:36:17 | INFO | httpx | HTTP Request: POST http://localhost:7865/api/predict "HTTP/1.1 500 Internal Server Error"
2024-02-17 20:36:17 | INFO | httpx | HTTP Request: POST http://localhost:7865/reset "HTTP/1.1 200 OK"

Really hoping it's as simple as a package needing to be updated, or if i'm not the only one with this problem. This problem occurs in both Windows and Linux. Thank you in advance

I have the same problem. Have you solved it?

okay, I refresh the page, and then the problem disappeared...

Audio path or pitch are not provided

Audio path or pitch are not provided

The path is valid, and is the same method used before this issue happened. Only thing I can think of is the Intel binaries had to be updated because the GPU wouldn't be detected on the old versions.

Hoping there's a solution for this issue, since even on the dev branch it is throwing the same errors. I think the problem is stemming from the error RuntimeError: mat1 and mat2 must have the same dtype, but got Float and Half

hmm, did you install the libraries from the requirements?

hmm, did you install the libraries from the requirements?

If by that you mean the requirements, than yes, with intel_extension_for_pytorch, torch, torchaudio, and torchvision being updated to their respective latest versions from intel's XPU repository. Not doing such would result in the GPU not being detected

Closing due to skill issue on my part (involving packages) and Arch not updating their packages when they really should. Thank you for the help regardless

No clue how I got it working before (on linux), but the issue came up again. Originally, I was looking at the wrong thing but the real issue is the dtype coming up as float and half. Included is the log of what happens. Devs, I got this working on Windows via edited pip packages with DLLs to make it work.
F:\rvc\.venv\lib\site-packages\torchvision\io\image.py:13: UserWarning: Failed to load image Python extension: 'Could not find module 'F:\rvc\.venv\Lib\site-packages\torchvision\image.pyd' (or one of its dependencies). Try using the full path with constructor syntax.'If you don't plan on using image functionality from torchvision.io, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have libjpegorlibpnginstalled before buildingtorchvision` from source?
warn(
2024-04-29 20:16:33 | INFO | configs.config | Found GPU Intel(R) Arc(TM) A750 Graphics
2024-04-29 20:16:33 | INFO | configs.config | Use xpu:0 instead
2024-04-29 20:16:33 | INFO | configs.config | Half-precision floating-point: True, device: xpu:0
2024-04-29 20:16:38 | INFO | httpx | HTTP Request: GET https://api.gradio.app/gradio-messaging/en "HTTP/1.1 200 OK"
2024-04-29 20:16:49 | INFO | infer.lib.rvcmd | checking hubret & rmvpe...
2024-04-29 20:16:53 | INFO | infer.lib.rvcmd | checking pretrained models...
2024-04-29 20:17:00 | INFO | infer.lib.rvcmd | checking pretrained models v2...
2024-04-29 20:17:08 | INFO | infer.lib.rvcmd | checking uvr5_weights...
2024-04-29 20:17:12 | INFO | infer.lib.rvcmd | all assets are already latest.
2024-04-29 20:17:12 | INFO | main | Use Language: en_US
Running on local URL:  http://<IP_ADDRESS>:7865
2024-04-29 20:17:22 | INFO | infer.modules.vc.modules | Get sid: Harley.pth
2024-04-29 20:17:22 | INFO | infer.modules.vc.modules | Loading: assets/weights/Harley.pth
2024-04-29 20:17:25 | INFO | infer.modules.vc.modules | Select index: logs\Harley\added_IVF3130_Flat_nprobe_1_Harley_v2.index
2024-04-29 20:17:48 | INFO | fairseq.tasks.hubert_pretraining | current directory is F:\rvc
2024-04-29 20:17:48 | INFO | fairseq.tasks.hubert_pretraining | HubertPretrainingTask Config {'_name': 'hubert_pretraining', 'data': 'metadata', 'fine_tuning': False, 'labels': ['km'], 'label_dir': 'label', 'label_rate': 50.0, 'sample_rate': 16000, 'normalize': False, 'enable_padding': False, 'max_keep_size': None, 'max_sample_size': 250000, 'min_sample_size': 32000, 'single_target': False, 'random_crop': True, 'pad_audio': False}
2024-04-29 20:17:48 | INFO | fairseq.models.hubert.hubert | HubertModel Config: {'_name': 'hubert', 'label_rate': 50.0, 'extractor_mode': default, 'encoder_layers': 12, 'encoder_embed_dim': 768, 'encoder_ffn_embed_dim': 3072, 'encoder_attention_heads': 12, 'activation_fn': gelu, 'layer_type': transformer, 'dropout': 0.1, 'attention_dropout': 0.1, 'activation_dropout': 0.0, 'encoder_layerdrop': 0.05, 'dropout_input': 0.1, 'dropout_features': 0.1, 'final_dim': 256, 'untie_final_proj': True, 'layer_norm_first': False, 'conv_feature_layers': '[(512,10,5)] + [(512,3,2)] * 4 + [(512,2,2)] * 2', 'conv_bias': False, 'logit_temp': 0.1, 'target_glu': False, 'feature_grad_mult': 0.1, 'mask_length': 10, 'mask_prob': 0.8, 'mask_selection': static, 'mask_other': 0.0, 'no_mask_overlap': False, 'mask_min_space': 1, 'mask_channel_length': 10, 'mask_channel_prob': 0.0, 'mask_channel_selection': static, 'mask_channel_other': 0.0, 'no_mask_channel_overlap': False, 'mask_channel_min_space': 1, 'conv_pos': 128, 'conv_pos_groups': 16, 'latent_temp': [2.0, 0.5, 0.999995], 'skip_masked': False, 'skip_nomask': False, 'checkpoint_activations': False, 'required_seq_len_multiple': 2, 'depthwise_conv_kernel_size': 31, 'attn_type': '', 'pos_enc_type': 'abs', 'fp16': False}
2024-04-29 20:17:52 | INFO | infer.modules.vc.pipeline | Loading rmvpe model,assets/rmvpe/rmvpe.pt
FFT WARNING: INPUT_STRIDES and OUTPUT_STRIDES are deprecated: please use FWD_STRIDES and BWD_STRIDES, instead.
FFT WARNING: INPUT_STRIDES and OUTPUT_STRIDES are deprecated: please use FWD_STRIDES and BWD_STRIDES, instead.
2024-04-29 20:18:18 | WARNING | infer.modules.vc.modules | Traceback (most recent call last):
File "F:\rvc\infer\modules\vc\modules.py", line 188, in vc_single
audio_opt = self.pipeline.pipeline(
File "F:\rvc\infer\modules\vc\pipeline.py", line 428, in pipeline
self.vc(
File "F:\rvc\infer\modules\vc\pipeline.py", line 237, in vc
logits = model.extract_features(**inputs)
File "F:\rvc.venv\lib\site-packages\fairseq\models\hubert\hubert.py", line 535, in extract_features
res = self.forward(
File "F:\rvc.venv\lib\site-packages\fairseq\models\hubert\hubert.py", line 467, in forward
x, _ = self.encoder(
File "F:\rvc.venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\rvc.venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "F:\rvc.venv\lib\site-packages\fairseq\models\wav2vec\wav2vec2.py", line 1003, in forward
x, layer_results = self.extract_features(x, padding_mask, layer)
File "F:\rvc.venv\lib\site-packages\fairseq\models\wav2vec\wav2vec2.py", line 1049, in extract_features
x, (z, lr) = layer(
File "F:\rvc.venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\rvc.venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "F:\rvc.venv\lib\site-packages\fairseq\models\wav2vec\wav2vec2.py", line 1260, in forward
x, attn = self.self_attn(
File "F:\rvc.venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\rvc.venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "F:\rvc.venv\lib\site-packages\fairseq\modules\multihead_attention.py", line 538, in forward
return F.multi_head_attention_forward(
File "F:\rvc.venv\lib\site-packages\torch\nn\functional.py", line 5443, in multi_head_attention_forward
attn_output = linear(attn_output, out_proj_weight, out_proj_bias)
RuntimeError: mat1 and mat2 must have the same dtype, but got Float and Half
`
I am sorry for opening this up, and hopefully someone can get me pointed in the right direction. Thank you again

I'm having the exact same issue with a WSL build (incidentally if you have any advice on how to do the witchcraft to get it to run on Windows by itself, I'd love to hear it).

I am having the same issue on Linux Mint 22.04 and Intel Arc A770. Any help from the dev would be appreciated! @RVC-Boss

Also, GitHub bot adds stale and closing the issue adds nothing but frustration.

I am having the same issue on Linux Mint 22.04 and Intel Arc A770. Any help from the dev would be appreciated! @RVC-Boss

in your rvc directory open file [RVC]/infer/lib/infer_pack/models.py, go to line 382 and change the line to tmp_over_one.transpose(2, 1).to('cpu')
A few lines down (line 386 to be exact), edit the line so it is ).transpose(2, 1).to(tmp_over_one.device)
KEEP ALL INDENTATIONS INTACT
This is what worked for me, and I thank @a-One-Fan (really hoping this is the right person) for this information.

Because I forgot to do so, the post I made solved the problem I had originally. I am closing this issue as a result, and hopefully it helps some others too


Chaotic scrolling when the bottom scroll bar in the left end of the page

When you put the bottom scroll bar to the left end the whole calendar begins to chaotically scroll until you move it slightly to the right or press the "Today" button

I am attaching a short screen recording. I hope it helps. It might be only my case, but who knows.
https://github.com/Bitnoise/react-scheduler/assets/72941109/c6a719a5-27d9-4193-a5a9-69c80ac839c8

Hi there. I've made a screen capture for you. It might only be my case though, but who knows maybe someone else also faced it.
Please let me know if you need anything else from me. BTW, it's a great piece of software.
https://github.com/Bitnoise/react-scheduler/assets/72941109/5d67c736-5585-4636-9fa7-1a1de03b7579

Can you please also provide what browser are you using?

Can you please also provide what browser are you using?

Sure, it's Firefox.

I use it in Chrome and face the same issue.

@mGasiorek998 Is there any practical work-around for this issue? I noticed it happens even if the data is small and I casually scroll across the scheduler.
As a side note, the node version I am using is 16.16.0 but I did not notice any apparent effects of using old version on the functionality of the < Scheduler />

Hi,
sorry for the late response, we've pushed a new scheduler version that should fix this issue.
Can you please check and let us know if it works for you now? :D

hello! i have the same issue
@mGasiorek998 i dont see the new version 😳

@mGasiorek998 hello!
how can i use this branch as the library version?
because this v0.3 realease is not on the npm website
https://github.com/Bitnoise/react-scheduler/tree/release/v0.3

Please update this on npm, I am having the same issue

@AdityaYInamdar it was updated on npm. You can check it now.

This seems to be working fine now


Receiving a cluttered http body

I'm trying this example:
using namespace boost::network;
using namespace boost::network::http;

int main()
{
    client::request request_("http://www.boost.org/");
    request_ << header("Connection", "close");
    client client_;
    client::response response_ = client_.get(request_);
    std::string bodyx = body(response_);

    std::cout << bodyx;
}

And I'm getting a cluttered body like this with 0.9.2:
38b
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

  <meta name="generator" content=
  "HTML Tidy for Windows (vers 1st November 2003), see www.w3.org" />

  <title>Boost C++ Libraries</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="icon" href="/favicon.ico" type="image/ico" />
  <link rel="stylesheet" type="text/css" href="/style-v2/section-welcome.css" />

  <meta name="google-site-verification" content="mpr2HgFpodnbF_8fv4qXd9roIClVwtX3C-Kd3F6r61w" />

30c

....

What are these 38c, 30c, ... ?

That is a chunked content. See for header "Transfer-Encoding: chunked"

Ah, I didn't know. Does cppnetlib handle this, so the content can appear clean?
Thank you.

Actually this is a known bug. Please try the 0.9-devel branch to see if this has already been fixed.


note that chop is not supported by SparsePauliOp either

Summary
See title.
Details and comments
We could actually modify chop to check for Parameters and ignore them, but that would incur some overhead. @ikkoham

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.004%) to 84.75%

Files with Coverage Reduction
New Missed Lines
%

qiskit/extensions/quantum_initializer/squ.py
2
79.78%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
61900

Relevant Lines:
73038

💛  - Coveralls


BehaviorSpec fails with NPE in parallel build

We have a project with lot of BehaviorSpecs. We run build with parallel mode.
We started to use allure extension and got next error:
java.lang.NullPointerException: Can't get item from storage: uuid can't be null
	at java.base/java.util.Objects.requireNonNull(Objects.java:233)
	at io.qameta.allure.internal.AllureStorage.get(AllureStorage.java:60)
	at io.qameta.allure.internal.AllureStorage.getTestResult(AllureStorage.java:46)
	at io.qameta.allure.AllureLifecycle.updateTestCase(AllureLifecycle.java:392)
	at io.kotest.extensions.allure.AllureWriter.finishTestCase(AllureWriter.kt:105)
	at io.kotest.extensions.allure.AllureTestReporter.afterTest(AllureTestListener.kt:26)
	at io.kotest.core.spec.LifecycleKt.invokeAllAfterTestCallbacks(lifecycle.kt:97)
	at io.kotest.core.internal.TestCaseExecutor.executeActiveTest(TestCaseExecutor.kt:161)
	at io.kotest.core.internal.TestCaseExecutor.access$executeActiveTest(TestCaseExecutor.kt:57)
	at io.kotest.core.internal.TestCaseExecutor$executeActiveTest$1.invokeSuspend(TestCaseExecutor.kt)

And it fails on Then step, so it confuses a lot, because user thinks test fails due to business logic error.

1.0.3 released with the fix.


Create UI for weather nexrad data

//TODO
Please add technical details here

UI development is completed and the complete code is available under branch 'feature/12-weather-ui' and PR 'https://github.com/airavata-courses/DCoders/pull/16'.


⚠ Bofrost.be has degraded performance

In 940b6e1, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 846 ms

Resolved: Bofrost.be performance has improved in 1b142d1 after 10 minutes.


Some clarification on Raspberry Pi generations

Although the text states "The Full Raspberry Pi family", I didn't find any info on RPI1 model A, and RP-zero. If these are not supported, it should probably be mentioned here.

@marnikvde thanks for the PR, not sure if you are aware, but both the RPI1 model A and the RPI-zero work with the regular "Raspberry Pi (v1 or Zero)" image. Could you add that to your PR as well and then we will merge.


minor change in readme.md

minor change in readme.md

Thanks for the suggestion, but because both functions require a parameter, making it look like a call in that description creates what looks like pasteable code that will fail.
I don't want samples in code blocks (including spans) to be error raising.


UI Glitches in 4k resolution in small laptop screen

What steps will reproduce the problem?

I think ui is not working as expected in my laptop (3840 * 2160) resolution
Repro: just opening the spyder ide

You can see how bad layout is

Thanks it worked


RedirectArray

An array type containing a std::weak_ptr to another node. This is the only way to make circular references (a data structure that is more general than a DAG).
The value of this std::weak_ptr should be the only array node object that is mutable by design.

Ultimately, the reason we want a RedirectArray is to allow nodes in a tree to point to "ancestor" or "cousin" nodes in the same tree. Nodes that are strictly "descendants" or thought of as being in another tree are already covered by normal content inclusion.
Option 1: a new RedirectArray node type
This was my original thought, but it's going to require rethinking of some basic things, like how to build Forms or Types of trees with redirects. There will need to be placeholder objects and breadcrumbs in the recursive functions to avoid infinite loops. (All of those "seen" sets and dicts in Awkward0 recursive functions should probably be called "breadcrumbs.")
Also, RedirectArray would be the one and only mutable node type. One mutable exception in a world of immutability could have unforeseen consequences.
Option 2: every node has a weak_ptr to parent, RedirectArray is a path with ".." in it
Giving every node a std::weak_ptr to its parent would be less of a can of worms than the above since content or contents can only be assigned in a node's constructor (because they're immutable), this assignment can be a variation on shallow_copy with the exception that it would replace the parent of the node that it is given with a new parent.
With access to node parents, RedirectArray doesn't have to be a pointer, it can be a path, like a filename path that includes ".." or some other kind of up token. This path would need up tokens, strings (to follow RecordArrays down) and integers (to follow UnionArrays down). The up tokens don't have to be a special type: they are only useful at the beginning of a path so they could be replaced by an integer. A path would then be a number of steps up followed by mixed strings and integers to step down.
This might be the only solution here that can work in Numba: the ArrayView expands a tree out as an array of integers, which becomes an infinite array if the type is cyclic. (It doesn't matter whether the data are cyclic, although electrons with a "closest photon" and photons with a "closest electron" is a "cousin" relationship that can easily be cyclic.)
Being a path also makes it explicit that RedirectArrays are only for links within a tree. If we're ever linking "outside" of a tree, that's equivalent to just adding a new content.
Option 3: we can already do it with VirtualArrays
Nodes are immutable and we want to insert node A as the content of node B, but node A might not exist yet when we're building node B. Scala's solution to that is lazy val, which attaches an attribute to a class without evaluating it until it is accessed.
We have lazy semantics: VirtualArrays. So we can already make cyclic dependencies exactly the way that Scala does it.
import numpy as np
import awkward1 as ak

value = ak.layout.NumpyArray(np.array([1.23, 3.21, 9.99, 3.14, 2.71, 5.55, 8.00, 9.00, 0.00]))
left_index = ak.layout.Index64(np.array([1, 3, 5, 7, -1, -1, -1, -1, -1]))
right_index = ak.layout.Index64(np.array([2, 4, 6, -1, 8, -1, -1, -1, -1]))

hold = None
def generate():
    return hold

virtual = ak.layout.VirtualArray(ak.layout.ArrayGenerator(generate))

left = ak.layout.IndexedOptionArray64(left_index, virtual)
right = ak.layout.IndexedOptionArray64(right_index, virtual)

records = ak.layout.RecordArray({"value": value, "left": left, "right": right})
hold = records
tree = records[0]

Now ak.to_list(tree) is
{'left': {'left': {'left': {'left': None, 'right': None, 'value': 9.0},
                   'right': None,
                   'value': 3.14},
          'right': {'left': None,
                    'right': {'left': None, 'right': None, 'value': 0.0},
                    'value': 2.71},
          'value': 3.21},
 'right': {'left': {'left': None, 'right': None, 'value': 5.55},
           'right': {'left': None, 'right': None, 'value': 8.0},
           'value': 9.99},
 'value': 1.23}

If I had slipped up and made a cyclic value reference in this cyclic type reference, the graph would not be a tree and ak.to_list or ak.to_json would try to build an infinite structure and then crash. Perhaps that's what ak.to_json should do, but ak.to_list should create a cyclic reference among the Python objects. That would require adding breadcrumbs to the tolist implementation.
A lot of methods would have to be protected, because a cyclic dependence could appear anywhere. That was the reason I wanted to create an explicit RedirectArray in Awkward1: the fact that Awkward0's cyclic references could be anywhere because they were just Python references meant that everything had to be protected. It also meant that two objects could be equal without this being apparent because of where the check starts. Suppose that one node A contains another node B, which contains A. I could have another B that contains A that contains B, which is an identical graph, but depending on where you break it to make the check finite, it could appear to be a different graph.
In particular, calling a function like ak.type on the tree above causes an infinite loop and eventually a segfault. Rather than being good news that we already have a solution for cyclic references, it's bad news because it's an unprotected way to get a segfault in Python.
However, I'm going to ignore it because fixing it would be hard and it's something that only an expert would think of trying. (Insert grim reaper GIF here.)
Option 4: the array is a plain array of integers, but high-level behaviors interpret it as references
Instead of making this a low-level thing, perhaps the low-level array could just be integers, but we add a high-level behavior to interpret it as references. This solves the issue of not having to rewrite all the low-level methods to be recursion-aware. It gives the redirects that second-class status that I wanted, so that A → B → redirect(A) is different from B → A → redirect(B). It can also work in Numba because high-level behaviors can be overriden in Numba.
However, the main place where redirects act is in __getitem__, and __getitem__ is a deeply recursive C++ function. Adding a behavioral override for __getitem__ would mean getting information about behavior into the C++ call. It will be hard to find a way to do that without making the C++ codebase depend on pybind11.
Also, this puts the responsibility for dealing with references into every behavioral override. That might be putting too much work on framework-developers for something that could be handled once for all.
Semi-conclusion: I'm thinking of going with Option 2.
Thoughts, @nsmith-?

For now, after implementing the new masked getitem behavior in #322 I was able to implement option 4 in NanoEvents.
It works like this: a NanoEventsFactory object is constructed, and the factory.events() method constructs the events array. As long as the factory object is alive, it holds a reference to the array so subsequent calls can return the cached copy. A unique key is generated when the factory is instantiated, and the NanoEventsFactory class holds a class member that is a weak value dictionary mapping this key to the factory instance. All collections in the events have a parameter events_key that can be used by the NanoEventsFactory.get_events(key) classmethod to retrieve the parent events that the collection belongs to. As long as users only mask entries in the events and child collections (never reducing the length) then the cross-references can be computed, masking entries where the calling collection no longer has any information.

In a revision of NanoEvents, I started using the behavior attribute of high-level arrays to carry a sticky reference to an initial array, which the derived arrays can reference into using integers in a high-level behavior method. So, in summary, option 4 still seems to work reasonably well.

Being realistic, this isn't going to happen. (It's late to be adding new node types now.)


Latest tars keep ownership in symbolic and numerical form, while versioned ones only has numbers. Under some conditions, extracting both would make the files owned by different entities. Conditions:

extract as root
plain tar xf without --no-same-owner or --numeric-owner
there is a user runner with uid other than 1001 and/or there is a group docker with gid other than 127

Under these conditions, tar would map runner:docker to something other than 1001:127 for the latest tars, and keep it 1001:127 for the versioned ones.

That's simply the users tar runs as. The files are created very differently.
I don't immediately see how that's a problem with it, other than cosmetically?

It doesnt look clean to me. Like, if someone forgot about the final touch. It should be tar --user root --group root .. where it packs versioned tars.


Peel selenium phantom chromedriver

add selenium-server version to nightwatch.json, we need to correct selenium version every time.
if user includes phantomjs we need to correct the nightwatch.json if the config is missing.
if user includes chromedriver we need to correct the nightwatch.json if the config is missing.

LGTM and ready to merge


angular-cli not working

how to update angular-cli in n2-form-demo

You want to make project Angular 4 compatible? If yes there's lot of work to be done.

Dear Sir efsta..,
I have done following steps for updating ng4-cli

npm-check-updates -u   ( for upgrading of all packages latest versions)
made entry in angular-cli.json  file   "environmentSource": "environments/environment.ts" ( above environment object , and deleted entry source property in this )
npm install ( all worked fine )
ng build  ( error found as bellow )
import {ToastModule, ToastOptions} from 'ng2-toastr';
let options: any =  {
animate: 'flyRight',
positionClass: 'toast-top-right'
};
imports: [
...
ToastModule.forRoot(options),
...

options variable not taking in ToastModule.forRoot(options),
if I remove options in ToastModule.forRoot() , it is working , but after register and login,  it is  not coming menu items other than first one.
so I request kindly suggest on this.
OR
You can advice me how to run your project ( I tried with your code it showing  angulari/compiler-cli is installed properly. kindly give solution.
with regards.

I will update the project later tonight or tomorrow morning to run Angular 4.
If you cant wait, The problem with menu not showing up is because of http module, use AuthHttp module provided by angular2-jwt package. Follow toastr instructions in their github repo, there are some breaking changes for angular 4.

thank you very much efsta for your kind replay,  I will wait for your updation to angular4

@aruribadraiah I've updated the project to use Angular 4, please clone it again or update since I've made some major changes. Read readme again if you want.
I'm closing the issue down, feel free to reopen.


Question: how to detect when yaml contains comments

In my use case, users write yaml with comments and expect them to be preserved. This might be out of the project's scope, but is there a way I can warn the user? I'm looking at https://github.com/nodeca/js-yaml/blob/master/lib/js-yaml/loader.js#L343-L347 and would want a throwWarning or throwError for my use case.

For that normally you should you use YAML implementation that can produce AST. Like libyaml or JS-YAML 1.x (unsupported).