Select Span as a single element

I have the ability for users to insert some meta data (e.g. the day).  it goes into the edit like this...
Wednesday
there could be user text on either side of the span e.g.
 My favourite day of the week is Wednesday  becuase I have PE at school.
I want to make it so the metaData span is treated as a single "lump", e.g. if they click anywhere in it, it highlights the entire span. If they overwrite it, it gets rid of the entire span, etc.
Hopefully, this makes sense. ANy pointers would be much appriciated

I have managed to solve this, doing the following...
  this.editor.onClick = function (e, core) {
        let range, selection;
        let element = $(event.target);
        if(element.hasClass("metaData")){
            if (window.getSelection && document.createRange) {
                selection = window.getSelection();
                range = document.createRange();
                range.selectNodeContents(element[0]);
                selection.removeAllRanges();
                selection.addRange(range);
            } else if (document.selection && document.body.createTextRange) {
                range = document.body.createTextRange();
                range.moveToElementText(element[0]);
                range.select();
            }
      }
   }

Thanks for sharing your solution.

whilst this works, one problem I cant over come, if i do have the following in the editor...
My favourite day of the week is Wednesday  becuase I have PE at school.
When the user clicks anywhere in the word Wednesday, the whole span now gets clicked, that is the behavior I want. However, if the user starts typing, hence overwriting that range, it still keeps the span metaData. So I could end up with
My favourite day of the week is user typed becuase I have PE at school.
whereas I want it to be
 My favourite day of the week is user typed becuase I have PE at school.
How can I make it so the span is completely overwritten/removed when the user types within it?

In a simple implementation, you can do something like this:
this.editor.onClick = function (e, core) {
    const element = event.target
    if(core.util.hasClass(element, "metaData")){
        const a = core.util.createTextNode(core.util.zeroWidthSpace);
        const a1 = core.util.createTextNode(core.util.zeroWidthSpace);
        element.parentNode.insertBefore(a, element);
        element.parentNode.insertBefore(a1, element.nextSibling);
        core.setRange(a, 0, a1, 1);
    }
}

Great that does it thanks alot

Worth noting that whilst the above works, every time you click in you get a zero width space, so you can end up with a lot if you are not careful. Would be great if there was a cleaner way of achieving this

editorInstance.onClick = (event, core) => {
    const element = event.target
    if(core.util.hasClass(element, "metaData")){
        core.setRange(element, 0, element, 1);
    }
}

editorInstance.onKeyDown = (event, core) => {
    const range = core.getRange();
    if(core.util.hasClass(range.commonAncestorContainer, "metaData")){
        core.util.removeItem(range.commonAncestorContainer);
    }
}

Since someone else also asked for this. One further question..
This all works great, if you click in the span itself. But doesn't work if you delete backwards from outside.
If you are outside of the span, and use the backspace key, it won't recognize that you are deleting the range, instead just delete the character as normal. Is there any way to detect, when pressing backpass that you will be deleting the span as technically i don't think where the cursor is ever has the class i am looking for

one possible solution for anyone interested...
editorInstance.onKeyDown = (event, core) => {
   if (event.keyCode === 37 || event.keyCode === 39 || event.keyCode === 38 || event.keyCode === 40 || event.keyCode === 16) { // ARROWS or SHIFT key
            return;
        }

        let range = core.getRange();
        if (core.util.hasClass(range.commonAncestorContainer, "metaData")) {
            core.util.removeItem(range.commonAncestorContainer);
        }

        let el = range.startContainer.parentElement
        if (el.classList.contains('metaData')) {
            // Check if we are exactly at the end of the metaData element
            if (range.startOffset == range.endOffset && range.endOffset == el.textContent.length) {
                if (event.keyCode == 8) {
                    event.preventDefault();
                   //code to highlight or delete span
                }
            }
        }
}

whilst the above seems to work, the removeItem seems to delete the span from the div with classes "se-wrapper-inner se-wrapper-wysiwyg sun-editor-editable" which is the visible thing you see on screen, it is keeping the span in , i am finding that it still is present in the  that sits above it and is hidden.
@JiHong88 any suggestions?
Should core.util.removeItem remove from both places?


LEGO: Pull request from lego/hb_835_20170314105546165 to master

LEGO: Pull request from lego/hb_835_20170314105546165 to master with localized lcls

@csigs,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot


Running validation more often than at the end of the epoch.

Hello,
I have used offline generation to make a large number of training examples (~millions) and I would like to evaluate the fit with the validation set more frequently than just at the very end of the epoch. Is there a good way to do this within keras's current methods? I could not see an option that would let me set a the number of batches at which the validation accuracy could be tested.
Thank you
Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[X] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[X] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

Hello,
I'm not aware of such functionality.
You can probably do a quick "hack" by using fit_generator to create smaller epochs.
That's usually the way to handle large datasets because large datasets can't usually be stored in memory.

I think it would be great to renew this conversation.  Evaluating at most once every epoch seems too limiting for an API as powerful as Keras.


One of folders within a Workspace now shows empty and all content disappeared all of the sudden

Hello,
One of my folders named, "Coding" within my Workspace all of the sudden shows as empty.  All I did recently was to add a new working folder under this same Workspace and added terraform extension.  All other folders remain unaffected.
How can I retrieve my disappeared contents?  Is there a log file I can examine what happened?
VSC version: 1.36.0
Installed extensions:

Terraform 1.3.12
SQL Server (mssql) 1.6.0
Prettier - Code formatter 1.9.0
Open in Browser 2.0.0
Liver Server 5.6.1
ESLint 1.9.0
Color Picker 0.4.5

@Mari0203 that should never happen, do you have more details about the workspace? Where was it located?

Hi @bpasero. Not sure if I'm understanding your question correctly, but the the affected workspace is on my local machine's desktop. Just noticed this morning that now another subfolder lost all of its content as well.  I have 2 more subfolder under the same workspace that remain unaffected---yet I have not touched anything since yesterday....  Is there a log file I can examine on my own?

@Mari0203 the folder is not within the installation directory of VSCode, or is it?


UUID IRI used in six axioms

There is a term http://purl.obolibrary.org/obo/D96882F1-8709-49AB-BCA9-772A67EA6C33 with no label or any other annotations which is used in six axioms for 'immature basophil', 'immature eosinophil', and 'immature neutrophil'.
These are all meant to have some unknown thing as a part.

I transferred the issue from Uberon to CL.

This unusual IRI is in CL, but does have a label there, 'alobate nucleus'.

This may have been a GO term once: https://sourceforge.net/p/obo/phenotypic-quality-pato-requests/551/.
The CL has several similar "CP:" terms related to types of nuclei. I should probably replace them all with something better (this has been brought up multiple times).

I think we can close as a dupe of #857.
However, I wasn't aware that these fake GO classes are actually in two namespaces:

CP
namespaceless UUIDs

I think we should get rid of the CPs, I don't know whether we first want to turn the UUIDs into CPs

Hi @matentzn ,
Tagging you as you linked a pull request recently: I think that this issue could be closed as a duplicate and because you're already working on a solution, but please confirm in case any loose end needs to be documented somewhere. Thanks.

Thanks for pointing. @dosumis needs to decide what to do with #1311 - I think it should be merged.


Error when fasta id contains pipe symbol

When one of the fasta files contains a pipe symbol | in the id as in >scaffold1|size16646 the following error occurs:
INFO - Wrote temporary YAML file 'test.yml'
INFO - Created temporary folder at '/tmp/A8sihAcMFs'
INFO - Starting alignment generation...
INFO - Finished alignment generation
INFO - Deleting temporary folder
FATAL - unable to create features
unable to create features at /home/bla/AliTV-perl-interface/lib/AliTV/Base.pm line 123

There is no json output in this case.
When replacing the pipe symbol with an underscore it runs without an error.

Are you willing to add your fasta-file for testing?

This issue should be solved since #70

@iimog May you check your files again and close that issue, if the bug is resolved?

When testing with the three provided fasta files I get a lot of warnings and a visualization that does not seem right. See the attached files.
drosera_rotundifolia.fa.txt
json.txt
log.txt
spinacia_oleracea.fa.txt
utricularia_gibba.fa.txt

Retested with version 1.0.0, results seems okay, please recheck @iimog
***********************************************************************
*                                                                     *
*  AliTV perl interface                                               *
*                                                                     *
***********************************************************************

You are using version v1.0.0.
INFO - Wrote temporary YAML file 'autogen_Lu8mITO.yml'
INFO - Sequence names contain non-word-characters and will be replaced by unique sequence names. Failing sequence names are: 'gi|1011059239|ref|NC|029770.1|', 'gi|7636084|emb|AJ400848.1|', 'gi|519704483|ref|NC|021449.1|'

INFO - Created temporary folder at '/tmp/e5SNkvjq6O'
INFO - Starting alignment generation... (6 alignments required)
INFO - Finished 1. alignment (5 to go; 16.67 % done)
INFO - Finished 2. alignment (4 to go; 33.33 % done)
INFO - Finished 3. alignment (3 to go; 50.00 % done)
INFO - Finished 4. alignment (2 to go; 66.67 % done)
INFO - Finished 5. alignment (1 to go; 83.33 % done)
INFO - Finished 6. alignment (0 to go; 100.00 % done)
INFO - Finished alignment generation
INFO - MAF input file and buggy BioPerl detected... Therefore, workaround for revcom issue activated
INFO - MAF input file and buggy BioPerl detected... Therefore, workaround for revcom issue activated
INFO - MAF input file and buggy BioPerl detected... Therefore, workaround for revcom issue activated
INFO - MAF input file and buggy BioPerl detected... Therefore, workaround for revcom issue activated
INFO - MAF input file and buggy BioPerl detected... Therefore, workaround for revcom issue activated
INFO - MAF input file and buggy BioPerl detected... Therefore, workaround for revcom issue activated
INFO - Deleting temporary folder
INFO - Ticks will be drawn every 1000 basepair

Fixed


Add docs for configuring a mirror node to receive specific data

Problem
Create guides that explain how to:

Store only the last 90 days of data or given time period
Store data for a specific entity (accounts, topics, etc)

References:

https://github.com/hashgraph/hedera-mirror-node/blob/main/docs/configuration.md#transaction-and-entity-filtering
https://github.com/hashgraph/hedera-mirror-node/blob/main/docs/database.md#retention
https://github.com/hashgraph/roadmap/issues/113

Solution
Add to existing guides or create a new one.
Alternatives
No response

@SimiHunjan to review


My module only has up to pin d8?

How might i go about connecting clock and data when my module only goes up to d8?

Im sure you have long since fixed this, but Wemos and NodeMCU boards are label the pins different to the base ESP8266 pins
See the pin out here
https://www.wemos.cc/product/d1-mini.html
CLK is D5
CS is whatever you want (I used D3)
DIN is D7

I'm having trouble with this, too.
Using a D1 mini with its LED matrix shield.
From what I can see here, and here, the pins should match.
D5 is CLK (GPIO13 in this library),
D7 is DIN (GPIO14 in this library).
Tried the example but can't make it work.

I did end up Fixing it, ill go back and see what i did

Yes, it goes:
D7->DIN
D5->CLK
D4->CS
And the code should work

Thank you for your answer after all this time.
Setting CS as D4 will actually blink the embedded LED on the wemos!
Here's my code:
`
#include <cp437font.h>
#include <LedMatrix.h>
#include <SPI.h>
#define NUMBER_OF_DEVICES 1
#define CS_PIN D4
LedMatrix ledMatrix = LedMatrix(NUMBER_OF_DEVICES, CS_PIN);
void setup() {
Serial.begin(115200); // For debugging output
Serial.println("begin");
ledMatrix.init();
ledMatrix.setIntensity(10); // range is 0-15
ledMatrix.setText("A");
}
void loop() {
ledMatrix.clear();
ledMatrix.scrollTextLeft();
ledMatrix.drawText();
ledMatrix.commit(); // commit transfers the byte buffer to the displays
delay(200);
}
`
I can't figure out what's wrong and right now, actually, I can't even see the garbled text anymore. No output at all.


Fix crash when StorageRead permission is not granted, update with appropriate UI error and re-prompt

Fix Xamarin.Essentials.PermissionException: StorageRead permission was not granted: Denied in FileSystemService.PickFilesAsync (SkyDrop.Core.Services.SkyFilePickerType fileType)
Version <IP_ADDRESS>(1)
Stacktrace
SkyDrop.Core.Services.FileSystemService.PickFilesAsync (SkyDrop.Core.Services.SkyFilePickerType fileType) [0x00090] in :0;SkyDrop.Core.Services
SkyDrop.Core.ViewModels.Main.DropViewModel.SelectFiles () [0x00185] in :0;SkyDrop.Core.ViewModels.Main
SkyDrop.Core.ViewModels.Main.DropViewModel.StartSendFile () [0x0008d] in :0;SkyDrop.Core.ViewModels.Main
SkyDrop.Core.ViewModels.Main.DropViewModel.SendButtonTapped () [0x00075] in :0;SkyDrop.Core.ViewModels.Main
SkyDrop.Core.ViewModels.Main.DropViewModel.<.ctor>b__137_0 () [0x00062] in :0;SkyDrop.Core.ViewModels.Main.DropViewModel
MvvmCross.Commands.MvxAsyncCommandBase.ExecuteConcurrentAsync (System.Object parameter, System.Boolean hideCanceledException) [0x0010e] in <687f2e5f7efd4e33b498a18ba9db221f>:0;MvvmCross.Commands
MvvmCross.Commands.MvxAsyncCommandBase.ExecuteAsync (System.Object parameter, System.Boolean hideCanceledException) [0x00085] in <687f2e5f7efd4e33b498a18ba9db221f>:0;MvvmCross.Commands
MvvmCross.Commands.MvxAsyncCommandBase.Execute (System.Object parameter) [0x0009a] in <687f2e5f7efd4e33b498a18ba9db221f>:0;MvvmCross.Commands
Reason
Xamarin.Essentials.PermissionException: StorageRead permission was not granted: Denied
Link to App Center

https://appcenter.ms/users/wellhat/apps/SkyDrop/crashes/errors/2803921357u

related https://app.gitkraken.com/glo/view/card/d4f93204cb8e4595aa3f736b9ad2eddd


Proposal: Add filament:optimize and filament:optimize-clear commands

Description

This PR adds two new commands under the filament namespace:

php artisan filament:optimize
php artisan filament:optimize-clear

Its just a wrapper for the 2 recommended commands icons:cache and filament:cache-components
Visual changes

https://github.com/user-attachments/assets/624a1015-629c-4d7b-a084-12bd83ea8470
Functional changes

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[x] Documentation is up-to-date.

Thanks


Allow stripping of dead code

The -Clink-dead-code flag was added to fix an error with certain
targets.
However, it can also cause problems.
Example: You depend on crate A which links to library B. A includes an
unused reference to B::foo. If the specific version of B we have is
missing foo, we now get a linker error whereas we would not if
stripping dead code.

@fitzgen Thanks for the quick review / merge!
If it's not too much trouble, would you mind doing a version bump / publish soon?


Make openvpn read conf from run

@agherzan @lorenzo-stoakes @telphan @michal-mazurek
Connects to #194

LGTM

Having -cd to run will make crt file unavailable to openvpn.

Addressed this request in the PR


Fixed module import in example and added assertion in beam module

Dear Sir,
It is with a great pleasure that I can inform you, that requested changes were applied to your code. I would like to humbly request, if you were so kind in your unimaginable genious and if you find a moment of your priceless time, if and only then, when you find these changes worthy of including in your original code, if you will do so.
Yours trully
Ing. Jana Turjanicová

Hi, good work!
There's a problem with the use of assert; details here: https://docs.python.org/3/reference/simple_stmts.html#the-assert-statement. But we still want an exception to be raised.
Also, limit line length to 79 characters, please.
Thanks!
H.

It is done!


chore: set default branch for new module to main

Description
When a developer runs pepr init a Pepr module is created with the default branch of master, potentially resulting in messages about the default branch name if those messages aren't suppressed on the user's computer.
By setting the default branch for new Pepr modules to main the warning messages should not appear.
...
End to End Test:
(See Pepr Excellent Examples)
Related Issue
Fixes #1142

Relates to #
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Other (security config, docs update, etc)

Checklist before merging

[ ] Unit, Journey, E2E Tests, docs, adr added or updated as needed
[ ] Contributor Guide Steps followed

When the new Pepr module is created, these updates will set the default branch to main instead of the current default of master.  Due to how git works, it will only show you the branch you are on in a new repository if you have made a commit. However, using git status will allow you to confirm the branch you are on before you make your first commit.
See Why is "git branch" silent in new repositories?


info: PR #9 Settings/Page – Jekyll/Ruby Deploy GitHub Pages

Run bundle exec jekyll build --trace --baseurl "/blog "
bundle exec jekyll build --trace --baseurl "/blog "
shell: /usr/bin/bash -e {0}
env:
GITHUB_PAGES: true
JEKYLL_ENV: production
JEKYLL_GITHUB_TOKEN:
JEKYLL_LOG_LEVEL: debug
/home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll.rb:28: warning: csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile or gemspec. Also contact author of jekyll-4.3.4 to add csv into its gemspec.
/home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform.rb:1: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec. Also contact author of safe_yaml-1.0.5 to add base64 into its gemspec.
Couldn't load liquid/c. Skipping.
PluginManager: Required jekyll, kramdown, sassc-embedded, minima, rake
Couldn't load jekyll-compose. Skipping.
Couldn't load jekyll-docs. Skipping.
Couldn't load jekyll-import. Skipping.
Logging at level: debug
Jekyll Version: 4.3.4
Logging at level: debug
Jekyll Version: 4.3.4
Configuration file: /home/runner/work/blog/blog/_config.yml
'plugins' should be set as an array of gem-names, but was: nil. Use 'plugins_dir' instead to set the directory for your non-gemified Ruby plugins.
bundler: failed to load command: jekyll (/home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/bin/jekyll)
/home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/configuration.rb:309:in `check_plugins': 'plugins' should be set as an array, but was: nil. (Jekyll::Errors::InvalidConfigurationError)


Increased version to 2.3.1 and updated the changelog.

Should be all ready to go.

Have I missed anything?
Otherwise I'll merge this soon and we can progress to the release tasks.

:+1:


[Improvement][dolphinscheduler-storage-s3] Allow AWS S3 compatible Object storage using custom named regions

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Version: 3.1.8
When I use a third-party AWS S3 compatible Object storage and use a custom region name, the AWS client will fail to initialize and report an error as follows:

By checking the source code, it was found that 3.2.0 and dev have the same issue, that is, checking whether the configured region  exists in the official S3 SDK. If not, an error will be reported
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Due to the previous ISSUE being automatically closed due to inactivity, I have resubmitted it


Publish transpiled content

Is your feature request related to a problem? Please describe
The library cannot be used without babel transpilation step. This leads to quirks in configuration like https://github.com/bpmn-io/bpmn-properties-panel/pull/1/files#diff-8e222682e48a1d2eea1bcdc904e33649668fc90a147b39ff5be60cef8371e6b4R55-R64
Describe the solution you'd like
Publish transpiled code.
Describe alternatives you've considered
None.
Additional context

We should investigate if we can deliver this with our initial release.

It otherwise gets impossible to consume it in a sane manner.

Good Catch!


LibraryButton

I'm trying to do a different interaction, for example I would access ExcalidrawAPI inside LibraryButton?

Hey @SnowRunescape can you please elaborate ? Are you cloning the repo ? Is it a custom button in which you want to access the API ?

closing this as we need more information. Feel free to reopen with more info


Update the link

Update the link to "Name resolution using your own DNS server" for "Name resolution from App Service Web Apps in one virtual network to VMs in a different virtual network"

@MikeBarker-MSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Terms and Privacy Policy links should open in a new tab

Current
During onboarding, clicking on Terms of Service of Privacy Policy links opens those links in the same window, killing the onboarding flow.
Expected
Clicking on Terms of Service or Privacy Policy links should always open those links in a new tab.

Moving to 'Done' as successfully implemented in build 1.3.0


I need an easy way to clear the "Ship to" input when creating/editing a listing

If you accidentally select Shipping Region "All countries", you'll manually have to remove each country one by one from the Ship to field. Having a way to "clear" the input would be a life saver.
Oh and the X isn't displaying for each country in the Ship to field.

Can you please add a design for this use case? I'll get this one.


Use HAProxy and have Collector Dynamically Update HAProxy Config?

Have you considered using HAProxy along with dynamically updated config rather using a router in its own right?

Yes I had looked into this but it caused many problems related to concurrency and scaling, volume sharing and ssl certificate management along with the need for even more containers. ehazlett/interlock implements a tool which works in this way.
The idea of this project is for a minimal lightweight service which is easy to maintain. I think go's http libraries are fast enough for most use cases

Cool. Thanks.


Merging map recursively

Hey,
Is there a way to do what this package do with More? https://pub.dev/packages/merge_map
It merges multiple Map recursively.

No, not out of the box, but why not use this other package?

Well I'm already using the More package (remember #6 ?) and I try to keep a lot amount of dependencies in my project, plus I have found an issue in it (https://github.com/thosakwe/merge_map/issues/3).
I'm just wondering. Feel free to close if you think it doesn't belong it to this package 👍


self-critical sequence training: _sample() takes at least 3 arguments (2 given)

I got the cross-entropy training to successfully train, now I am trying to get the self-critical sequence training portion of the training to work. The self-critical sequence training portion successfully trains for a little less than an epoch until it gives me the following error:
Traceback (most recent call last):
  File "train.py", line 267, in <module>
    train(opt)
  File "train.py", line 215, in train
    dp_model, lw_model.crit, loader, eval_kwargs)
  File "/home/arjun/self-critical.pytorch/eval_utils.py", line 121, in eval_split
    seq = model(fc_feats, att_feats, att_masks, opt=eval_kwargs, mode='sample')[0].data
  File "/home/arjun/anaconda2/lib/python2.7/site-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/arjun/anaconda2/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py", line 152, in forward
    outputs = self.parallel_apply(replicas, inputs, kwargs)
  File "/home/arjun/anaconda2/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py", line 162, in parallel_apply
    return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
  File "/home/arjun/anaconda2/lib/python2.7/site-packages/torch/nn/parallel/parallel_apply.py", line 83, in parallel_apply
    raise output
TypeError: _sample() takes at least 3 arguments (2 given)
Terminating BlobFetcher

Any ideas why this may be occurring?
Any and all ideas will be much appreciated, thanks!

Is the error still there?


Add maquette.js to comparisons guide

Looks really simple.

I'm open to this if Maquette grows a larger user base, but as of writing, it has less than 1000 downloads from NPM in the entire last month. It's not a judgment on the quality of the library, but since it requires a lot of work to keep this page up to date, I'd like to avoid comparisons that won't be useful to a significantly large group of people. I hope you understand! 🙂

Even though it won't be added to the comparisons page, I've just taken a look at Maquette and it's currently simple enough that I'm happy to provide a very short (though possibly flawed) comparison. Here are some differences:

Ecosystem and support. With younger projects with small communities like Maquette, you don't know if it'll continue to be supported. If you want to use it, it may eventually fall to you to fix bugs, develop features, and write companion libraries to extend it for common use cases.
API size. Maquette has a much smaller API. This makes it faster to learn Maquette's API - though it'll take more time to learn how to work around its issues, since there'll be fewer existing Stack Overflow questions and blog posts. With that factored in, I'd actually argue that with Vue's docs and community, it'll be faster to learn to build the same applications in Vue.
File size. At 3KB against Vue's 20KB (or 29KB if not using the runtime-only build). But since Maquette does much less for you (by design), it generally takes more user code to do the same things. In non-trivial apps, this could soon cancel out the size advantage Maquette has.
Robustness. Another cost of the small file size is lots of edge cases you'll spend more time working around. For example, while event handlers trigger an update in Maquette, not all state updates do (e.g. a counter that updates every second with setInterval will not trigger a rerender). With more code in Vue, you get a reliable reactivity system. You update the state (anywhere and at any time) and the view efficiently re-renders what it needs to, based on what changed.
Organization. Vue's components offer an encapsulated and consistent organization, while Maquette allows users to organize components however they'd like, so they'd have to essentially invent their own API for the library in medium-sized applications and larger.
Scale. Vue scales up as well as it scales down. It's clear that Maquette is marketing itself as a utility library, so it's not even trying to be suitable to manage your views on its own in non-trivial applications.

Personally, I very rarely work on a project where Vue's already tiny 20KB is prohibitive. When I do, I can only afford to write a small amount of JS anyway, so the use case is always simple enough that I can do what I want with plain JS - no libraries. Maquette adds so little convenience that I don't think it's even worth 3KB in those cases. I wonder if it's targeting a niche that doesn't exist. 😕


disable_automatic_code_signing problem: Seems to be a very old project file format - please use xcode to upgrade to atlease 0800

New Issue Checklist

[ x ] Updated fastlane to the latest version
[ x ] I have read the Contribution Guidelines

Issue Description
I'm using the new action based on plugin to change with a lane the signing from automatic to manual but when i use it, i have an error that i can't understand and there are no information on internet to solve it.
I use beta lane above.
Thanks!
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

+------+------------------------+-------------+
|              fastlane summary               |
+------+------------------------+-------------+
| Step | Action                 | Time (in s) |
+------+------------------------+-------------+
| 1    | Verifying required     | 0           |
|      | fastlane version       |             |
| 2    | default_platform       | 0           |
| 3    | cert                   | 5           |
| 4    | sigh                   | 8           |
| 💥   | automatic_code_signin  | 9           |
|      | g                      |             |
+------+------------------------+-------------+
[10:14:16]: fastlane finished with errors
[!] Seems to be a very old project file format - please use xcode to upgrade to atlease 0800
lane :beta do
# match(type: "appstore") # more information: https://codesigning.guide
cert
sigh
disable_automatic_code_signing
gym(scheme: "F2FDefault") # Build your app - more options available
pilot

# sh "your_script.sh"
# You can also use other beta testing services here (run `fastlane actions`)
end

fastlane env
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.5

Ruby
2.2.4

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.5 (16F73)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.35.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    cert
    sigh
    disable_automatic_code_signing
    gym(scheme: "Face2FaceDefault") # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "Face2FaceDefault") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used. No personal data is recorded.
# Learn more at https://github.com/fastlane/fastlane#metrics

`./fastlane/Appfile`
app_identifier "com.xxxx.f2ffastlane" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "2YEE9D624W" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.35.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.1

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.4.4

rouge
1.11.1

xcpretty
0.2.6

unicode-display_width
1.1.3

terminal-table
1.7.3

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.4

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.28

json
1.8.1

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

plist
3.3.0

generated on: 2017-05-25

Yeah, this is a confusing message. What it is saying is that the project file appears to be an older project, and it is too old for fastlane to be able to parse. You can open the project in a newer version of Xcode and let it update the project file. I have opened a new PR to fix the wording: https://github.com/fastlane/fastlane/pull/9291

@taquitos The thing is that this is a new project, it's created by gulp task with cordova so with your comment, the only thing that i can imagine it's that the problem is due to cordova version??

Ohh, interesting, yeah, maybe they don't generate the needed attribute TargetAttributes
Try opening the project in Xcode and saving, then try fastlane again.

There's the same issue with Ionic (which is based on cordova). So if you are using their tools to generate the project file then it's a bit issue for CI / CD where you don't want to checkin the project files with the source. @taquitos is right it's missing the TargetAttributes.

same issue here with Ionic/cordova project

Same Issue with ionic project on my side.

Same issue with Ionic project. For the CI server, I am using the update_project_codesigning plugin which is deprecated but enables you to set an environment variable (FL_PROJECT_SIGNING_FORCE_UPGRADE) to upgrade your project and the needed TargetAttributes. It would be great to have the same possibility on the automatic_code_signing action.

That would be great to get in automatic_code_signing action

The old plugin update_project_codesigning that uses FL_PROJECT_SIGNING_FORCE_UPGRADE is now marked as deprecated, so it would be great to get this env override in so we can use the integrated automatic_code_signing method from fastlane in cordova projects.

Agreed same issue on Ionic Cordova

Hey everyone, not having too much experience with Ionic and Cordova, I'm wondering if this is something that is very straightforward to reproduce? I am going to try making a sample project to reproduce this but if anyone has one to share that would be 💯! Thanks! 🚀

+1 on this. Using cordova 7
Seems to be a very old project file format - please open your project file in a more recent version of Xcode

Having the same issue in Ionic/Cordova
I have created a sample swift project in Xcode 9 When I run the command it shows success but it still uses Automatic manage signing when I open the project again in the Xcode.
Commands I have used is below
disable_automatic_code_signing(path:"#{xcode_project_path}")
automatic_code_signing(
    path: "#{xcode_project_path}",
    use_automatic_signing: false
  )

I have compared both 'project.pbxproj' of Swift project and Ionic project.
As per the code automatic_code_signing.rb it is checking for the TargetAttributes  in the pbxproj, which is found in the native project created by Xcode.
TargetAttributes = {
					566FBA831F763E6500FE8BDC = {
						CreatedOnToolsVersion = 9.0;
						ProvisioningStyle = Manual;
					};
				}

The project created by Cordova/Ionic does not have 'TargetAttributes' this key value pair, that's why it shows error of older version.

I'm experiencing the exact same thing. My Cordova project generates a .pbxproj without the TargetAttributes. I have to manually edit the project every time it's being build...

Same problem as @bartvollebregt, I'm trying to do the following (all without intervention)

Checkout project

Run ionic cordova prepare

Run fastlane ios beta

I've tried so many combos of match/sigh/cert/etc that I'm going crazy and I think that automatic/manual code signing is a big part of that. AFAICT I can't use the actions to turn this off/on because my .pbxproj file is too old (format). It makes sense that cordova is probably spitting out a .pbxproj file that is older so it supports more versions of XCode but I really don't want to script in:

open XCode

Save and exit

Just to upgrade my file.

It looks like this pull request might solve our issues (and allow us to use the plugin)
https://github.com/apache/cordova-ios/pull/343

I just created https://github.com/ionic-zone/fastlane-plugin-upgrade_super_old_xcode that resurrects some old code that was part of fastlane-plugin-update_project_codesigning (Hi @hjanuschka!) (which got merged into the core action automatic_code_signing.rb - but the relevant code got removed during the merge). You can use this once or before your build steps in your lane to make sure the project is upgraded.

@janpio Thanks for that! I'll have to try it out to see if it works for us. I literally just hit publish on my blog post on how to setup Fastlane with Ionic: https://joshstrange.com/setting-up-fastlane-with-ionic-cordova-apps/ and ended up writing a little cordova hook to "Upgrade" my XCode project just enough to make it all work: https://gist.github.com/joshstrange/cfb4128f1be7ac60c22a41dad98ea68a#file-add_target_attributes_and_push_notification_cap-js (Mine also adds Push Notification Cap)

Well, now we can check if both the implementations do the same - as I only "copied" it from an old action, I am not 100% sure it already does everything it should do and only that.
I wanted to have it all in a Fastlane action/plugin as I also work on an Ionic plugin for building Ionic projects, which will use this plugin to make sure everything works out of the box.

@janpio I just tried your plugin but for me the problem sadly persists:
Seems to be a very old project file format - please open your project file in a more recent version of Xcode

Can you open an issue on my repo? I'll gladly help debug this, but don't want to hijack this discussion here for it.

@bartvollebregt 100% Agree it's not the best, I think the pull request I linked on cordova-ios might be the best solution all around. I got my code from a combination of there and inspecting the platforms/ios project file after opening it in XCode.


"Focus follows mouse" is disabled while holding 'fn' instead of mouse modifier key

I changed my mouse modifier key to 'cmd', but I find that while I hold the 'cmd', the focus follows mouse is still enabled. But while I hold 'fn', it is disabled.

I used the wrong settings.


not enough arguments in call to s.githubClient.Users.Get

ssh://whoami.filippo.io is down, so I'm trying to build this myself, but I got the following compile error:
 ~ > go get github.com/FiloSottile/whosthere/src/ssherver
# github.com/FiloSottile/whosthere/src/ssherver
go/src/github.com/FiloSottile/whosthere/src/ssherver/db.go:30: not enough arguments in call to s.githubClient.Users.Get
        have (string)
        want (context.Context, string)
 ✘ ~ >

I apologize if this is just go noobery but it seems like a normal compile error so I decided that's unlikely.

Thanks for the report. This was fixed a while ago, and we now use modules so API breakages won't affect us anymore.


Rename blca_identity_cutoff

This parameter should be renamed to avoid confusion as it's not an identity value.

Implemented as part of https://github.com/iobis/PacMAN-pipeline/pull/75/.


Cacq flag not read

Hi Philipp,
if I am not mistaken, the tool does not handle the a dimensions set with the flag m_sADC01.getMDH().setCacq(); -- in my dataset, this dimension is missing / of size 1, while the reading works fine in your mapVBVD Matlab tool. Not sure how to create a MWE, but I could send you a phantom dataset if that helps. Unfortunately, they are rather large... They code I call is
>>> multi_twix = twixtools.read_twix(filename)
>>> mapped = twixtools.map_twix(multi_twix)
>>> im_data = mapped[-1]['image']
>>> im_data.shape
(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1142, 52, 320)

and I get the same size for the actual data:
>>> data = im_data[:]
>>> data.shape
(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1142, 52, 320)

With the call
>>> im_data.base_size
(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 90, 1142, 52, 320)

I get the right dimensions. Yet, I don't know how get the data along the 90 dimension...
-ja

Never mind, I wrote too quickly. For anyone stumbling over this similar issues: The toolbox sets some average flags in im_data.flags['average'] to true by default, which caused my confusion.


feat: Add minSimilarityScore to VectorStore.similaritySearch

Allow users to add a cutoff score to include for similarity search.
Update vector_db_qa chain to support this new parameter

Nice, you beat me to it! I'd implemented this functionality a week or so ago on a project I'm working on and was just going to write a test and open a PR today, glad I checked here first ;)

Sorry for the delayed review!
Similarity scores can differ drastically between different vector store implementations, so I worry this would be misleading if it were built into the base vector store implementation with unit tests like the ones you've added - I think I'd rather keep the abstraction one level higher in the VectorDBQAChain and have it call similaritySearchWithScore instead.
Does that work for you?

These chains have been superseded by the RetrievalQAChains - we could look at adding support there in the future. Going to close this for now.

Thanks for the update.


adds contributing document

resolving #89.
@joshq00, would you please review this?
I'm bad at this so it's heavily based on the document from h5bp/html5-boilerplate.

Take a look at this doc too, mainly about issue reporting (os, browser, reduced test case) https://github.com/BrowserSync/browser-sync/blob/master/CONTRIBUTING.md

Yep a section similar to that also exists in h5bp, and I didn't use it because I'm not sure it's important to know the os/browser for an issue in react-mdl. I mean, we are using the css/base js from upstream, so any specific bug would need to be reported upstream, not here.

I think it's a good start. Things can be modified as they come up over time


Test under Devstack Rocky release

Current testing under pike and queens, need to test under rocky too

Sanity checking under DevStack rocky @Davidhor today

DevStack Version: rocky
Change: 18abffb72b514e0b364f54459df62c2ebc12d4bf Mention test-config phase in config docs 2018-03-14 20:09:14 -0400
OS Version: CentOS 7.4.1708 Core
Tested Neutron driver functionality, nova/neutron monitor functionality, no additional changes need over queens release at this point in time @Davidhor


Can it support the proxy settings in feature?

We need Sock5 proxy settings…………

+1 for this feature


Update test1.yml

hey @dineshtripathi30 sorry I just noticed this pr didnt automatically process correctly, I think you already finished this course so I assume you already resolved the issue, so I will go ahead and close the PR. If you need any assist please let me know, I am on the vmware code free slack domain, afewell on twitter or linkedin dm if you need to reach me thanks!


VRF Standardization - Replace H2 with SHA256

The NSEC5 paper gives the full proof of why H2 is unnecessary in the context of this particular VRF.
Because of the way H2 is used in the VRF,

H2 only needs to produce unique numbers between 1 and N-1 for each input.
A uniform distribution is not a requirement.
Attacking the VRF means finding a new m that produces the same output.  To attack through H2, fix x and find x' s.t. H(x') == H(x).

Therefore, the VRF is using the full strength of the hash function.
Only 128 bits are needed for 128 bit security.
Proposal: replace H2 with SHA256[:128]

cc @reyzin


webpack building error

Hey, would you know why this error is appearing for me? I cannot seem to make it build correctly on localhost. dev works fine.
Commands I'm using: npm run build

Same

Hey @AHzizi, i seem to found my issue. You cannot comment out part of a project for example like this:

or this:

However, it seems when i delete my .next folder, i get the same error again, would like a definite answer for this!
@HamishMW

@docimin It's hard to say what the issue might be without seeing exactly what you've changed. Are you able to reproduce it on a fork and send me a link?

@HamishMW Please check mine too
https://github.com/AHzizi/Portfolio-v2

@docimin Are you done??

Hi @HamishMW, I'va cloned your portfolio, don't change anything and I exec npm run build, got the same error of @AHzizi

can you fix this bug?? @mausawicki7

Hey @AHzizi, please stop pinging everyone. We just have to wait what @HamishMW will say about this.

anyone find solve?

Still need some help with this if possible.

Still need some help with this if possible.

found a solution ?

I have not.

same issue, nothing commented out. any help or updates?

run npm i sharp in the root project directory.

run npm i sharp in the root project directory.

Fixes it, closing issue.

I met this prob today, my solution is update the


Consider tagging a new release

We piled up a bunch of changes and bugfixes since the last release, so it would be good to tag a new release soon-ish: https://github.com/coreos/fcct/compare/v0.2.0...master

/cc @ajeddeloh
I know he had this on his radar, but I don't know what's the timing.

Yeah let's make a new release to get some fixes in?

Done in https://github.com/coreos/fcct/issues/67.


Asset Path Issues When Building SvelteKit Project with CSS in Production Mode

Describe the bug

[!note]
Initially, I thought the issue was caused by setting csr=false, but upon further  investigation, I've found that the problem lies elsewhere. Please disregard the code in the captured image.

svlete.config.js
const config = {
	kit: {
		inlineStyleThreshold: Infinity,
	}
};

When building the project, the asset paths referenced in the CSS are incorrect. However, everything works fine in development mode.
browser console output:
GET http://localhost:4173/PretendardVariable.CJuje-Rk.woff2 net::ERR_ABORTED 404 (Not Found)

The asset is hashed, but the file name is not being properly mapped to the actual path, which should be _app/immutable/assets/PretendardVariable.CJuje-Rk.woff2. Instead, only the original path is used, and the file name is hashed.
Reproduction

https://github.com/XIYO/svelte-hole/tree/master/hole/csr-false
Logs
Error: Not found: /PretendardVariable.CJuje-Rk.woff2 at resolve2 (file:///E:/svelte-hole/hole/csr-false/.svelte-kit/output/server/index.js:3612:18) at resolve (file:///E:/svelte-hole/hole/csr-false/.svelte-kit/output/server/index.js:3445:34) at #options.hooks.handle (file:///E:/svelte-hole/hole/csr-false/.svelte-kit/output/server/index.js:3687:71) at respond (file:///E:/svelte-hole/hole/csr-false/.svelte-kit/output/server/index.js:3443:43) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {status: 404, text: "Not Found", stack: "Error: Not found: /PretendardVariable.CJuje-Rk.wof…jections (node:internal/process/task_queues:95:5)", message: "Not found: /PretendardVariable.CJuje-Rk.woff2"}

System Info
System:
    OS: Windows 11 10.0.22621
    CPU: (8) x64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
    Memory: 10.86 GB / 31.93 GB
  Binaries:
    Node: 22.2.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.7.0 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74), ChromiumDev (127.0.2610.3)
    Internet Explorer: 11.0.22621.3527

Severity
annoyance

You'll want to import your css files in a +layout.svelte file instead of a +layout.js file.
https://github.com/XIYO/svelte-hole/blob/a0d1c42e83c84f745fe83b2a7f2fd5a8bef1201d/hole/csr-false/src/routes/%2Blayout.js#L1-L2


Vickel: Watch +1-888-405-7779

Vickel requests the watch of the watch_number +1-888-405-7779. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ


pokemon yellow freezes during intro in gbc mode

no idea why...

turns out this is caused by the game trying to write to both OBP0 and OBP1.
it then reads back these values. if it gets back what it writes, it crashes.
interestingly, the music at this point will keep playing until its time for the title screen to appear, accept it never does and the music also stops. input isn't accepted.
i thought reads / writes were allowed in gbc mode, but it seems not. however, if it disable them, then the colour palette breaks and colours are all black... maybe writes are allowed but reads aren't?

update, i think its valid for these registers to be read / written to, they just don't actually do anything, just store the value on write and return on read.
this is needed for pokemon gold as well.
no idea why this freezes still....

this is no longer fixed due to the "fix" breaking other games, and also not being the correct behaviour sadly

https://user-images.githubusercontent.com/47043333/118141312-2134af80-b401-11eb-99a9-4b09f24f329f.mp4


Crash When remove audio track  addSink(xxx)

Describe the bug
When I wanted to obtain remote audio stream data in a way similar to getting local audio stream data, an exception crash occurred.
is RoomEvent.ActiveSpeakersChanged -> {
if (event.speakers.isEmpty()) return@collect
event.speakers.firstOrNull()!!::audioTrackPublications.flow
.flatMapLatest { tracks ->
Log.d("-------", "tracks change")
if (tracks.firstOrNull()?.first?.track !is LocalAudioTrack) {
val audioSteamData =
tracks.firstOrNull()?.first?.track as? RemoteAudioTrack
audioSteamData?.addSink(audioSinkActive)
}
flowOf(tracks)
}
}
private val audioSinkActive =
AudioTrackSink { p0, p1, p2, p3, p4, p5 ->
Log.d(
"-------", "Manager: audioSinkActive: p0:$p0\n" +
"  p1:$p1\n" +
"  p2:$p2\n" +
"  p3:$p3\n" +
"  p4:$p4\n" +
"  p5:$p5"
)
}
Device Info:

Device: [e.g. Google Pixel 3]
OS: [e.g. Android 12]
LiveKit SDK version: [e.g. 2.9.0]

Additional context
Add any other context about the problem here.

Fatal error in: gen/jni_headers/sdk/android/generated_peerconnection_jni/../../../../../../../../../../../_source/android_prefixed/webrtc/src/sdk/android/src/jni/jni_generator_helper.h, line 105
last system error: 95
Check failed: !env->ExceptionCheck()


Release 0.10.4

Placeholder for discussing once this version is nearing release.

Alright, I am just going to quietly release this...

@achiu @DAddYE Can you green light this please?

@nesquena looks ok to me. i am green.

Tested also padrino-integration.
Tested also some projects.
Also travis is okey:

http://travis-ci.org/#!/padrino/padrino-integration/builds/223858
http://travis-ci.org/#!/padrino/padrino-framework/builds/223834

Thanks guys! Releasing.


MapEnum in Context fails with Migrations

I have the issue that when calling MapEnum
(NpgsqlConnection.GlobalTypeMapper.MapEnum<T>(typeof(T).Name.ToLower()))
in the Context before migrating (context.Database.Migrate();), the enum type on successive requests is not found. This happens even when MapEnum is called again after the migration.
2018-07-11 13:26:42.2283 | ERROR | Update | An exception occurred in the database while saving changes for context type 'Clt.Atmentis.Data.Context.AtmentisContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.NotSupportedException: The CLR enum type Gender must be registered with Npgsql before usage, please refer to the documentation.
at Npgsql.TypeMapping.ConnectorTypeMapper.GetByClrType(Type type) in /home/roji/projects/npgsql/src/Npgsql/TypeMapping/ConnectorTypeMapper.cs:line 143
at Npgsql.NpgsqlParameter.ResolveHandler(ConnectorTypeMapper typeMapper) in /home/roji/projects/npgsql/src/Npgsql/NpgsqlParameter.cs:line 529
at Npgsql.NpgsqlCommand.ValidateParameters() in /home/roji/projects/npgsql/src/Npgsql/NpgsqlCommand.cs:line 796
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken) in /home/roji/projects/npgsql/src/Npgsql/NpgsqlCommand.cs:line 1141
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) in /home/roji/projects/npgsql/src/Npgsql/NpgsqlCommand.cs:line 1130
at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues)
at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)

Current Workarround
I am now calling MapEnum not in the context but only once after running the migrations.
context.Database.Migrate();
context.PgsqlEnumMappings();
// successive requests ...

Further technical details
EnityFramework version: Microsoft.AspNetCore.Identity.EntityFrameworkCore v2.1.2
Npgsql version: Npgsql.EntityFrameworkCore.PostgreSQL v2.1.1
PostgreSQL version: PostgreSQL 10.3 (Debian 10.3-1.pgdg90+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
Operating system: (Docker) Debian GNU/Linux 9

@Systemdir Could you provide a minimal reproduction (preferably in the form of a repo we can clone) that demonstrates this issue?

You may also need to call NpgsqlConnection.ReloadTypes() if your migrations are creating your database enum.
Regardless as @austindrenski wrote we need to see some code to help.

Thank you for the replies. I just tried to call NpgsqlConnection.ReloadTypes() on the connection but the problem persists. I'm going to create a minimal example when I have some time.

I managed to solve the issue by thowing away the migrations and recreating them with the correct mappings.
In order to migrate, I now call following method on my db context:
public void Migrate()
{
     Database.Migrate();

     // reload enumn mappings
     NpgsqlConnection npgsqlConnection = ((NpgsqlConnection) Database.GetDbConnection());
     npgsqlConnection.Open();
     npgsqlConnection.ReloadTypes();
}

Thank you for your help!

Just encountered the same issue. @roji should this adjustment of the migration procedure be mentioned in the documentation?


[Bug]: margine ,padding issue in pages

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
In all the pages there are margin-padding isuue.. its not set properly as the result some portion is hide from the top.. like in about us page the first title "your fitness, your future" is invisible..
Expected behavior
Need proper margin and padding in every pages.. so that all the information is visible..
Add ScreenShots
No response
On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC-EXT contributor
[X] I'm a HACKTOBERFEST contributor
[X] I have starred the repository

/assign

@Meetpidev, proceed


Merge pull request #2 from GilbN/master

Update to fork/master
Thank you for the PR!
Please remember to add a before and after screenshot(s) on any css changes!

Figuring out git :(


XP card is unaligned on 2.24.2

Upgrading the bot to 2.24.2 introduced this problem for me:

The level number, username, ranking, and xp amounts are all shifted upwards. Downgrading to 2.24.1 fixes it:

The image itself was not changed in between versions. This also occurs with the default xp card image.
Edit, after posting this I noticed the dimensions of the images sent by the bot are different. Was that an intentional change?

None of it was intentional, I apologize for being half-blind obviously. I made big changes to the image generation codebase and quickly looked if it's the same, and it looked the same to me. :P
I will fix it asap.


dev-tls in prod?

Good afternoon @dunglas , hope you are well.
Was looking to this as the basis for the containers I'd need for an actual production deployment (if a better resource currently exists, I'd like to know - the docs don't appear to mention what to do with mercure or vulcain, but that's a separate issue).
The docker-compose.prod.yml file appears to be running the dev-tls service.  That's not meant to be part of prod, is it?  Was that to make the demo work?

Actually « prod » here just means « with all optimization enabled » (aka uses the Symfony prod env). It’s not intended to be used in production, and is not secure at all.


Clean up dependencies and make benchmark names shorter

This PR makes 4 minor cleanups:

expand Poly docs to explain the canonical form
remove unused dependency features
make benchmark names shorter to make benchmark comments clearer
disable some very slow benchmarks by default (1 minute or more)

This is how long each benchmark takes:
https://github.com/Inversed-Tech/eyelid/actions/runs/9009060543/job/24752511648#step:5:31

This is a much better layout:
https://github.com/Inversed-Tech/eyelid/pull/83#pullrequestreview-2046894831

Feel free to merge after you review this PR!


There is no way to set the Head Loss Curve used by a GPV-type valve

A General Purpose Valve (GPV) is assigned a Head Loss Curve when it is read in from an EPANET input file. However, it appears that after this or when a new GPV is created by EN_addlink there is no way to assign it a curve using EN_setlinkvalue or any other API function. If this is correct (someone please check) then it means that GPV's can't be created or modified with the toolkit.
A simple way to resolve this issue is to add a new link parameter, EN_GPV_CURVE, which contains the index of the curve used by a GPV and would be recognized by the EN_getlinkvalue and EN_setlinkvalue functions.

This issue has been successfully addressed in PR #580.


[Bug]: Cache Busting broken when using middleware

Summary
https://answers.netlify.com/t/netlify-cache-busting-broken-with-nextjs-middleware/77439
I reported this issue on the Netlify forums, but I suppose I should raise the concern here as it may be related to the NextJS runtime plugin.

Netlify Site name: resplendent-frangollo-dfdb69
Netlify Site ID: f5112980-d17a-4d3a-afb4-d41e60d55813
I’m using the latest version of Netlify’s NextJS plugin & a simple middleware that runs in general.
I’m noticing that requests return with a 200 response, when I believe they should return 304 (according to how Netlify handles cache busting?)
Screenshot provided:

Steps to reproduce
PR with reproduction based off a Netlify starter template: Test caching by Joroze · Pull Request #2 · Joroze/next-netlify-starter-nextauth · GitHub

As you see, all I did was add a middleware file

Branch deployment URL in question: https://deploy-preview-2--resplendent-frangollo-dfdb69.netlify.app/
A link to a reproduction repository
https://github.com/Joroze/next-netlify-starter-nextauth/tree/caching
Next Runtime version
v4.27.3
More information about your build

[ ] I am building using the CLI
[ ] I am building using file-based configuration (netlify.toml)

What OS are you using?
Mac OS
Your netlify.toml file

`netlify.toml`
[build]
  command = "npm run build"
  publish = ".next"

[[plugins]]
  package = "netlify-plugin-cypress"

Your public/_redirects file

`_redirects`
# Paste content of your `_redirects` file here

Your next.config.js file

`next.config.js`
# Paste content of your `next.config.js` file here. Check there is no private info in there.

Builds logs (or link to your logs)

Build logs
# Paste logs here

Function logs

Function logs
# Paste logs here

.next JSON files

generated .next JSON files
# Paste file contents here. Please check there isn't any private info in them
# You can either build locally, or download the deploy from Netlify by clicking the arrow next to the deploy time.

Closing as stale


WriteException error on creation order with promotion code

PHP Version
7.4.3
Shopware Version
<IP_ADDRESS>
Expected behaviour
Placing order with promotion code for products non discounted using rule.
This happen after upgrade from <IP_ADDRESS> to <IP_ADDRESS>. On <IP_ADDRESS> work fine. I tryied update rule and create new, but error still happen.
Actual behaviour
Shopware\Core\Framework\DataAbstractionLayer\Write\WriteException:
There are 1 error(s) while writing data.

1. [/0/lineItems/1/0/lineItems/1/filter/orContainer/andContainer/orContainer/andContainer/amount] The property "amount" is not allowed.

  at vendor/shopware/core/Framework/DataAbstractionLayer/Write/WriteContext.php:47
  at Shopware\Core\Framework\DataAbstractionLayer\Write\WriteContext->__construct()
     (vendor/shopware/core/Framework/DataAbstractionLayer/Write/WriteContext.php:77)
  at Shopware\Core\Framework\DataAbstractionLayer\Write\WriteContext::createFromContext()
     (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:157)
  at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->create()
     (vendor/shopware/core/Checkout/Cart/Order/OrderPersister.php:55)
  at Shopware\Core\Checkout\Cart\Order\OrderPersister->Shopware\Core\Checkout\Cart\Order\{closure}()
     (vendor/shopware/core/Framework/Context.php:207)
  at Shopware\Core\Framework\Context->scope()
     (vendor/shopware/core/Checkout/Cart/Order/OrderPersister.php:56)
  at Shopware\Core\Checkout\Cart\Order\OrderPersister->persist()
     (vendor/shopware/core/Checkout/Cart/SalesChannel/CartOrderRoute.php:124)
  at Shopware\Core\Checkout\Cart\SalesChannel\CartOrderRoute->Shopware\Core\Checkout\Cart\SalesChannel\{closure}()
     (vendor/shopware/core/Profiling/Profiler.php:57)
  at Shopware\Core\Profiling\Profiler::trace()
     (vendor/shopware/core/Checkout/Cart/SalesChannel/CartOrderRoute.php:125)
  at Shopware\Core\Checkout\Cart\SalesChannel\CartOrderRoute->order()
     (vendor/shopware/core/Checkout/Cart/SalesChannel/CartService.php:167)
  at Shopware\Core\Checkout\Cart\SalesChannel\CartService->order()
     (vendor/shopware/core/Checkout/Order/SalesChannel/OrderService.php:85)
  at Shopware\Core\Checkout\Order\SalesChannel\OrderService->createOrder()
     (vendor/shopware/storefront/Controller/CheckoutController.php:214)
  at Shopware\Storefront\Controller\CheckoutController->Shopware\Storefront\Controller\{closure}()
     (vendor/shopware/core/Profiling/Profiler.php:57)
  at Shopware\Core\Profiling\Profiler::trace()
     (vendor/shopware/storefront/Controller/CheckoutController.php:215)
  at Shopware\Storefront\Controller\CheckoutController->order()
     (vendor/symfony/http-kernel/HttpKernel.php:152)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:74)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/shopware/core/HttpKernel.php:153)
  at Shopware\Core\HttpKernel->doHandle()
     (vendor/shopware/core/HttpKernel.php:79)
  at Shopware\Core\HttpKernel->handle()
     (public/index.php:74)

How to reproduce
Define rule with condition "products without discounts" :

Create promotion code with fixed code, enable "Prevent combination with other promotions" and add discount with selecting product range "products without discounts":

Place order with created promotion code.

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


Fix cache empty hostname

What does this PR do?
Fix cache empty hostname
Motivation
read source code
Additional Notes

It looks like the intent here is to prevent caching of an empty hostname by returning early.  This seems reasonable, but seems to have fallen by the wayside.  I'll add it to triage so we can decide what to do with it.

I rebased your PR on main. I'll merge once the repo is no longer frozen.
Thanks for the PR !


Allow users to update volume name

Description
Provide an api support to update volume name by all users
Can be done both through api and UI
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[X] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[X] Trivial

Screenshots (if appropriate):

How Has This Been Tested?

Through API
update volume id=3e8f9553-e1c9-4ac0-bb43-10d7d928daf2 name=test-admin

I am trying to understand in which scenario it is necessary to give freedom for ordinary users to change names within the environment.
You can explain it to me because I couldn't reach a conclusion on my own.

@RodrigoDLopez there is no harm in changing the volume name. so anybody can do it

I am trying to understand in which scenario it is necessary to give freedom for ordinary users to change names within the environment.
You can explain it to me because I couldn't reach a conclusion on my own.

@RodrigoDLopez there is no harm in changing the volume name. so anybody can do it

code lgtm

code lgtm

Hi @ravening
why did you close this PR before merge? 🤔

Hi @ravening
why did you close this PR before merge? 🤔

Hi @ravening
why did you close this PR before merge? 🤔

@mib1185 sorry it got closed after some rebase with my branch.. I have opened new pr with ui changes in https://github.com/apache/cloudstack/pull/4618

Hi @ravening
why did you close this PR before merge? 🤔

@mib1185 sorry it got closed after some rebase with my branch.. I have opened new pr with ui changes in https://github.com/apache/cloudstack/pull/4618


koord-scheduler: fix quota onPodUpdate

Ⅰ. Describe what this PR does
fix OnPodUpdate
Ⅱ. Does this pull request fix one issue?
When pod update, the standby scheduler should update its usage cache
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

/lgtm
@buptcozy @xulinfei1996 PTAL


Support LLM token count and metadata for Vercel AI SDK

Feature request
LangSmith does not show the token count for traces created from wrapAISDKModel for the Vercel AI SDK. The counts are sent to LangSmith:
usage:
  promptTokens: 872
  completionTokens: 28

However, the counts are not rendered in the UI. Also, any metadata added via experimental_telemetry.metadata is not sent to LangSmith.
Motivation
I'm exploring the usage of Vercel AI SDK while keeping the good DX from LangSmith.

Thanks for flagging @zirkelc. We are hoping to fix at least the token counting issue very soon

Any updates on this? This is a quite critical feature to have on customer-facing applications

Hey @Boohi, we've just shipped 0.2.1 with a new OTEL-based approach:
https://github.com/langchain-ai/langsmith-sdk/pull/1104
Docs will follow soon!


Allow fallback to return multiple identifiers to try

Currently, when autorefs doesn't know the URL for an identifier, it falls back to collecting the object through every handler (and getting an anchor through its renderer) until an anchor is found.
# get_item_url method in autorefs plugin
try:
    url = self._url_map[identifier]
except KeyError:
    if identifier in self._abs_url_map:
        return self._abs_url_map[identifier]

    if fallback:
        new_identifier = fallback(identifier)
        if new_identifier:
            return self.get_item_url(new_identifier, from_url)

    raise

if from_url is not None:
    return relative_url(from_url, url)
return url

# fallback method in mkdocstrings Handlers
for handler in self._handlers.values():
    try:
        anchor = handler.renderer.get_anchor(handler.collector.collect(identifier, {}))
    except CollectionError:
        continue
    if anchor is not None:
        return anchor
return None

It works well when canonical objects are rendered (the ones with canonical paths, i.e. the identifier corresponding to where they are defined, not imported/aliased), but not the other way around.
Example:

pkg.base defines Class
pkg imports pkg.base.Class as Class
therefore pkg.Class is an alias to pkg.base.Class
we render Class with its canonical path, autorefs maps its canonical path to its URL
now when autorefs fixes a [Class][pkg.Class] crossref, it falls back as mentioned above
the corresponding handler collects pkg.Class, and returns its canonical path: pkg.base.Class
great, autorefs knows this identifier, it can fix the crossref

The other way around:

(same) pkg.base defines Class
(same) pkg import pkg.base.Class as Class
(same) therefore pkg.Class is an alias to pkg.base.Class
we render Class with one of its alias path (there could be many), autorefs maps this alias path to its URL (it should not use the canonical path, because the alias is the public one, that's what the user wants)
now when autorefs fixes [Class][pkg.base.Class] (which happens, for example, because of Python annotations that are resolved using their actual scope, which is where they are defined, not imported), it falls back as mentioned above
the corresponding handler collects pkg.base.Class, and return its canonical path: pkg.base.Class
oops, that's the same path as before, autorefs is sad

So, what we need here is one of two things, or both:

the fallback method returns multiple identifiers that autorefs can test

# get_item_url method in autorefs plugin
...
    if fallback:
        new_identifiers = fallback(identifier)
        if new_identifiers:
            for new_identifier in new_identifiers:
                with contextlib.suppress(KeyError):
                    return self.get_item_url(new_identifier, from_url)
        raise
...

# fallback method in mkdocstrings Handlers
for handler in self._handlers.values():
    try:
        anchors = handler.renderer.get_anchors(handler.collector.collect(identifier, {}))
    except CollectionError:
        continue
    if anchors:
        return anchors
return []

autorefs somehow updates its URL map with alias->canonical and canonical->alias as soon as possible. For example, when we render a canonical object, update the URL map with all the alias paths mapping to the canonical path (depends on the ability of the collector/collected data). When we render an alias, update the URL map with the canonical path mapping to the alias path.
Of course if you render the same object, alias or canonical, multiple times, the last iteration wins as it will override mappings in the URL map. But we can consider it an invalid use-case, or a limited one.

The option 2 would also prevent redundant, costly fallbacks. Maybe this can already be improved by updating the URL map when finding a new valid anchor/identifier.

Oops I thought this was a pull request 😅
But I'll definitely check this out

Thanks! I'll experiment anyway, and send a PR if I get something elegant :slightly_smiling_face:

we render Class with one of its alias path (there could be many), autorefs maps this alias path to its URL (it should not use the canonical path, because the alias is the public one, that's what the user wants)

Hmm I've certainly never planned for this case, I thought everything should always have unambiguous canonical path. That is, perhaps I straight up disagree with "it should not use the canonical path".
If the handler wants to do shenanigans with "canonical aliases", perhaps it should somehow consistently report one chosen path.

the corresponding handler collects pkg.base.Class, and return its canonical path: pkg.base.Class

Well no, the returned canonical path should be pkg.Class, that's what the user wants.

That's all I have to say for now and probably won't actually be able to look into this in detail.
I don't know if this is useful, but maybe it'll lead you to some interesting thought.

Sure, your input is always welcomed :slightly_smiling_face:

That is, perhaps I straight up disagree with "it should not use the canonical path"

I thought about it, and yes, perhaps it could use both, which corresponds to the proposed solutions, but not the current situation.

Well no, the returned canonical path should be pkg.Class, that's what the user wants.

True as well, but considering an object can have multiple aliases, the handler has no way of knowing which one of the aliases the object is registered with.
Of course I've very biased toward Python, which certainly does not mirror other languages concepts.

True as well, but considering an object can have multiple aliases, the handler has no way of knowing which one of the aliases the object is registered with.

I'm not sure if this is fully true.
The handler could perhaps memorize the first identifier it was collected through and use that henceforth.
But that would probably be considered more hacky than what you're suggesting..

Yeah there are multiple options here!


[CHANGE ME] Re-generated to pick up changes from googleapis.

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/11dcfafd-8ec7-4522-89a3-bd477d9c17bf/targets

[ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 361273630
Source-Link: https://github.com/googleapis/googleapis/commit/5477122b3e8037a1dc5bc920536158edbd151dc4

Pretty sure this is out of date.


first commit for cloned and modified fork of codefellows/unix-and-git…

…-workshop repository

Well done!


Loss = inf after 5 epochs

Trying to reproduce the results. Currently training on the default settings on a single Titan X. Is this normal for the first few epochs?

my loss  Epoch[050:gs=0] - loss = NA  when i  use the only  cpu

@mgfcm, @zessi1990  Yes, it's okay if the loss in the tensorboard is decreasing.  This problem may be occurred by the CTC loss in the tensorflow.

hi @buriburisuri I got the same error for the first epoch i.e., loss =      inf. what could be the reason for this infinity loss. could you please suggest what need to be changed.
initially my training has stopped in the first epoch after 92%. so i changed few parameters in sg_ctc. preprocess_collapse_repeated=True and ignore_longer_outputs_than_inputs=True.
After changing these parameters, training for epoch 1 is 100% but loss is inf.


Allow policyrule.go to handle applicationsets

The serviceRole for the argocd instance now is unable to handle applicationsets.
For example, newly provisioned cluster-wide instance will get this error
FATA[0000] rpc error: code = PermissionDenied desc = error listing
ApplicationSets with selectors: applicationsets.argoproj.io is
forbidden: User "system:serviceaccount:argocd:dr3-argocd-server"
cannot list resource "applicationsets" in API group "argoproj.io" in
the namespace "argocd"

This change aims to give more privilege to the argocd instance to address this permission error.
What type of PR is this?

Uncomment only one  /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind bug
/kind chore
/kind cleanup
/kind failing-test

/kind enhancement

/kind documentation
/kind code-refactoring

What does this PR do / why we need it:
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[ ] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #?
How to test changes / Special notes to the reviewer:
To reviewer: I have added multiple applicatonsets to different places, as I am not very sure the exact place. We may need some clean up as there may be some reason to have only applications at some place that I don't know.  Thanks a lot.

Thanks for the PR @icy. I believe this PR is superseded by #1209


Update demux_cell_count_estimate value for output metadata file

Context
We currently rename demux_cell_count_estimate to sample_cell_estimate when we're collecting Sample metadata in Sample::get_metadata. The decision was made to no longer rename this attribute for the output metadata file.
As well, we would like to assign this attribute's value in the output metadata file to be its corresponding value in the sample_cell_estimates field of the Library metadata file (which we have access to in Library.metadata). We don't plan on changing the way that the demux_sample_cell_estimate attribute is calculated in Project::update_sample_derived_properties, just the value in the output metadata file. This should be done in Library::get_metadata.

Addressed in https://github.com/AlexsLemonade/scpca-portal/pull/928


Update jquery.fileupload.js

now options.formData can work directly on the object

Thanks for the contribution.
However this would be a breaking change for anybody overriding the function.
If you want to address the options from within the formData function, you can still do so via the this property, as formData is called via options.formData().


how to extract embeddings by ecapa or resnet

The old model extracting speaker features is no longer supported

Could you please provide a detailed description of your issue? Is it an error with the code or with the model?

Could you please provide a detailed description of your issue? Is it an error with the code or with the model?

I extracted the speaker vector based on this, but ecapa is not in supports

We update the infer_sv.py and you can try again for ecapa-tdnn model. ResNet and Res2net will release next month.


Better error messages on Windows for registration errors returned by OS

Better error messages on Windows for registration errors returned by OS. Instead of suppressing all other non-AlreadyRegistered errors, forward the error as OsError.

thank you

@amrbashir done

Thank you


Automatically generating gkylzero header at build time

This fixed Issue #99

Clean build on Stellar-amd seems to be fixed now.


Bootcamp23 Links to Modules

Updated Bootcamp23 agenda to include links to the appropriate modules.

Link to preview: https://output.circle-artifacts.com/output/job/8038910a-79c5-432a-8eb1-c174a6ca6de9/artifacts/0/intersect-training.github.io/bootcamp23/index.html
@MttArmstrong in the future, to view the preview of the change and add the link, do the following steps:

Next to "All checks have passed", click the link for "Show all checks"
Next to "ci/circleci: build-site", right click "Details" and open in a new tab
On the top menu choose "Artifacts"

Find the file you changed (in this case "bootcamp23/index.html"
Right click and copy the link.

The change looks good to me @cosden what do you think?


[StreamExecutor] refactor: Split convolution invocation into preparation and actual invocation

To cope with requests from upstream TF maintainers (@timshen91) ,
split DoConvolve into:

PrepareForConvolution
DoConvolve

split DoConvolveBackwardData into:

PrepareForConvolutionBackwardData
DoConvolveBackwardData

split DoConvolveBackwardFilter into:

PrepareForConvolutionBackwardFilter
DoConvolveBackwardFilter

Implement forward convoution, backward input convolution, backward filter convolution on ROCm path.
Next commits:

refactor AutoConv
change CUDA path

ROCm path test has been success for some time. CUDA path is underway. Latest CI tests had some failures but not seen on local build. Since CI nodes are down at this moment need to check later when they are back online.

jenkins: retest this please

upstream PR#24081 has been approved. merging this PR hereby.


feat(feat/dss): dss

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


incompatible with numpy>=2

With numpy2:
>>> from quantile_forest._quantile_forest_fast import QuantileForest
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/adrin/micromamba/envs/numpy2/lib/python3.12/site-packages/quantile_forest/__init__.py", line 26, in <module>
    from ._quantile_forest import ExtraTreesQuantileRegressor, RandomForestQuantileRegressor
  File "/home/adrin/micromamba/envs/numpy2/lib/python3.12/site-packages/quantile_forest/_quantile_forest.py", line 54, in <module>
    from ._quantile_forest_fast import QuantileForest, generate_unsampled_indices
  File "quantile_forest/_quantile_forest_fast.pyx", line 1, in init quantile_forest._quantile_forest_fast
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Encountered this while fixing skops's CI

@adrinjalali Thanks for reporting, will work on a fix!

Thanks @reidjohnson . Please let me know when you do a release with numpy2.

@adrinjalali This should now be fixed in the latest release, version 1.3.7.


fixed a typo

Seems no changes?

Seems no changes?

I renamed a file to docs/quick_start_guide.md

Ah, sorry


Should I use graphd-client or storaged-client?

General Question

I wanna add Nebula support for Opendal, so I need to treat Nebula as a KV-like database. I plan to do like this:
// create test space, its vid type should be str
CREATE SPACE test_kv(PARTITION_NUM = 20, VID_TYPE = FIXED_STRING(21));

// create kv tag
CREATE TAG kv(value string);

// insert key-value pair
INSERT VERTEX kv VALUES "test":("23");

// get value by key
FETCH PROP ON kv "test" YIELD kv.id as key, kv.value as value;
+-------+
| value |
+-------+
| "23"  |
+-------+

// delete key-value pair
DELETE VERTEX "test";

I found that there are three clients here.
I am curious whether using graphd-client or storaged-client is better. In terms of feeling, my requirement is very simple, may the latency of connecting to storaged server directly be smaller?

I have tried to test the benchmark of these two methods, but I encountered the same problem #18 while the graphd-client worked correctly.

Normally the storage client is for analytical query that scans all data per tag or edge type. While graphd client is the normal one takes graph queries.
So it really depends on what we'd like to achieve.
One pitfall for storage client is that, it requires to get list of storage host from metad and access storage host from the addresses maintained in metad(service discovery), thus those addresses may not always accessible from the client side(many clusters were deployed in a way treating meta and storage not exposed services).
Implementing graphd may be the goto path that will always work. While it won't be a scalable approach when OpenDAL towards NebulaGraph as ETL purposes (scanning whole graph data)

One pitfall for storage client is that, it requires to get list of storage host from metad and access storage host from the addresses maintained in metad(service discovery), thus those addresses may not always accessible from the client side(many clusters were deployed in a way treating meta and storage not exposed services).
Implementing graphd may be the goto path that will always work. While it won't be a scalable approach when OpenDAL towards NebulaGraph as ETL purposes (scanning whole graph data)

Thanks for your reply. I'll think about these things carefully.


Summary page while creating a new IDP with Expert Mode

Is your suggestion related to an experience ? Please describe.
Usually, while creating a new IDP through console, it has a few stages and at the end it views a page of summary. While creating a new IDP with Expert mode, it doesn't have a summary page. This also could be due to minimum configurations.
Describe the improvement
A summary page will improve consistency.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Git branch in VS Code doesn't update

VSCode Version: 1.43.1
OS Version: Ubuntu 19.10

Steps to Reproduce:

Switch git branch from anywhere except VS Code's built-in UI, e.g. from a console or an extension, in my case git-graph.
The active branch name displayed (in two places) in VS Code's UI doesn't update.

Best illustrated with a GIF:

I initially filed this as a bug report against the extension I'm using, and the author explained why he can't address this.
Likely this and similar issues affect all VS Code extensions that perform Git operations, as well as any user manually performing Git operations from a console.
I don't think there's any reason why this couldn't be improved - for example, I've never had similar issues with JetBrains IDEs. (I understand that's an entirely different platform, but JetBrains IDEs have to deal with the same problems as far as monitoring the file-system and git for changes, and they do so successfully under at least Ubuntu, Windows and Mac OS, that I know of.)
Possibly related to #36343.
Does this issue occur when all extensions are disabled?
Well, yes/no... with no extensions enabled, there ins't much else that can affect the state of the git respository - however, it does occur when manually doing git commands from a console.

See also #92431

Please go through the following steps:

Run Git: Set Log Level... and choose Trace
Run Git: Show Git Output
Make some file changes and wait 10-20 seconds
Paste the whole output here

Thanks!

@joaomoreno sorry, but I lost my Ubuntu machine, and I can't reproduce the issue on my Windows machine. My Ubuntu system was a stock x64 Ubuntu 19.10, if that's any help...

Oh I see now. The status bar shows the details of the last focused repo. If you were to focus the app repo, you'd see the right branch down there.


Migration: Create a configuration to set up dashboard administration page

For now, we have the main issue with merging develop branch into master is no configuration file to use it for creating tenants automatically from the script. Missed ability to manage dashboards and widgets.
Please create such a file that will be integrated into the script.

#717


Error Page http://<IP_ADDRESS>:4000/categories/blogging/

I am getting 404: Page not found whenever i try browsing any Category/* or tags/*

The run.sh invokes the python scripts to generate the HTML pages for Categories and Tags, so if you run jekyll serve only, you will missing the Categories and Tags.
To solve this issues, just upgrade your Python to 3.5 or above, then use the run.sh.

I have installed python 3.6 , however , not sure why it doesn't reflect :
~/Documents/jekyll-theme-chirpy$ python --version
Python 2.7.15+

Switch the default python version to 3.6 on your machine.

Thanks Cotes.. After playing around with Python and Pip, finally managed it to work on my local machine. Awesome.
So , Is there a tutorial to get this working on custom domain using githu pages ? Or can I assume GitHub pages wont give this python related error ?

Basically, follow the tutorial Deploying to GitHub Pages to complete the deployment.
In addition, the GitHub official docs has detailed instructions for adding custom domain:
https://help.github.com/en/articles/about-custom-domains-and-github-pages

Hi Cotes,
Thanks for your reply.
I have published the page at https://techslam2.github.io/
and I can see same problem with categories and tags.
How do we make this work now that its live on Github page ?

Please ignore, I guess i should have followed the post properly. Its working perfectly fine now.
Much Thanks for this awesome template.

Hi,
Can see one anotehr issue. If you check the link in https://techslam2.github.io/categories/blogging/  you can see that they all point to www.example.com
Though my local pc its linking to correct posts. Any idea whats wrong here ?

If you check the link in https://techslam2.github.io/categories/blogging/ you can see that they all point to www.example.com

Because the variable url in _config.yml is not set. Change it to your domain URI https://techslam2.github.io.

Thanks Cotes. I guess everything is working now. Will play around a bit. I am new to Jekyll and Git. So I had some basic doubts.
Lastly, probably it's bug, but can see a bottom scroll bar in the side menu.

Not sure if that is a bug or with purpose ?

... can see a bottom scroll bar in the side menu.

By design, the sidebar should not slide horizontally. So  would you like to give me more information to  understand the situation?

The brower type and version
The screen resolution

Firefox Quantun 69.0.2
Screen Resolution : 16:9

This is due to Firefox compatibility. So far, Chirpy has worked well in Chrome, Safari, Opera, and Edge. I will fix compatibility issues with Firefox later.

Thanks Cotes. Highly appreciate the help with this template. My blog is live at https://techslam.net/
Did some changes to suit my needs -

Bio.html to include in my posts
Subscribe.html for email subscription on the right panel.
Tweet button at the end of each post.

Additional improvement suggestion -
Its difficult to manually add 'Also See' links in each post. I guess we could do some tweeks  to pull the related posts by 'tags' and list 3 or more items?


Backup and restore data volume features

It will be very helpful if portainer have a tool to backup and restore data volume lively. It can be even greater it we can schedule that.

Related to #1380.

We'll track the ability to export/import volume data with this issue.

This would be awesome! Keep multiple backups, and do automated backups.

This would be a great feature. A simple first step would be to provide a "Backup" button next to the volume, that will create a tar'd version of the volume and make it available for download. A "Restore" button could also be provided that allows a tar to be uploaded.
Here are the manual steps, but it may be simple enough to automate it with portainer:
https://docs.docker.com/storage/volumes/#backup-restore-or-migrate-data-volumes

Hi,
are there any news regarding that feature request?
It would be a great capability for a docker management system to offer a manually or schedule triggered way to automatically

stop container
backup data of related volumes to a certain (network) location
restart the container

Cheers!

"backlog" sounds like "nope" 😭
haha

Hi @fiveangle, backlog should probably be renamed but it is definitely not a nope.
We're reviewing it on a monthly basis to check and decide whether some items should be integrated in our roadmap, the process is actually pretty new but we'll try to share the roadmap publicly soon.

That's encouraging to hear @deviantony.  Thanks for taking the time to communicate this to us.

This would greatly improve portability of containers! I'd say the ability to move containers between systems was one of the huge benefits of containers anyways :D

"removed this from the backlog milestone": sound like "nope" again?

It would be really nice to have an UI to a "backup/export" of a docker volume:
docker run --rm -v volume:/from alpine ash -c 'cd /from; tar -cf - .' > file.tgz

and a "restore/import":
cat file.tgz | docker run --rm -i -v volume:/to alpine ash -c 'cd /to; tar -xpvf -'

Source: https://www.guidodiepen.nl/2016/05/transfer-docker-data-volume-to-another-host/

This is a still a feature I'd like to see.


work in atom types space

using rdkit atom types?
UFF atom types?

if reading an sdf file, we could output its AP atom types, same ones that are used by the AP rdkit FP

done


Adapt tables to the terminal width

Pros:

Takes only 1-2ms per table
seems to work

Cons:

211 lines of code
Not scientific, just MVP with minimal research..
Should really be contributed upstream (to Symfony Console)


Create setup

For the moment, we have to change 0s to 1s manually to try a setup.
There should be a way to easily create a start grill.

Coucou Eliott


SpaceX API

🎯 Title and Issue Number
[New API] : SpaceX API #412

Closes #412 <issue_no>

🗒 Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x]  I have gone through rules of when PR will get merged.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have followed proper file structure.
[x] I have gone through CONTRIBUTING GUIDELINES.md.

Hey @revanth1718, Thank you for creating PR! We will review it super soon. 😇❣
As we continue to evolve and innovate, we encourage you to share your ideas, feedback, and code to help us push the boundaries of what's possible in the world of APIs🚀.
We hope you have followed CONTRIBUTING GUIDELINES.
Thank you for being an essential part of our community. Together, we'll keep building amazing things!
Don’t forget to ⭐ our repository!
Happy Coding!✨
Will See you soon❣

add readme

@Kritika30032002, view this updated PR


From private repo

@jborsecnik : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Support BIttrex

Please support Bittrex

👍 I'm on board with adding this when I get around to removing BTCe. Thanks for the suggestion!

@nateritter This is in the latest build: v2.4.0

@chrisshiplet That's awesome! Thanks!


extract_tsr_patches.py bug

Hey,
I have encountered the issue
AssertionError: Project AnnotationProject.TRAFFIC_SIGNS not available.
I have tried using another issues' resolution, which also stated that this is because
some annotations don't have traffic signs.
try:
        traffic_signs: List[parser.TrafficSignAnnotation] = frame.get_annotation(
            constants.AnnotationProject.TRAFFIC_SIGNS
        )
except AssertionError:
        return []

which resulted in outputting an empty JSON file, which looks like
{"train": [], "val": []}
The code however, does successfully output all the images (both train & val), though it reaches 99995 out of 100000 - I believe this may be normal.
And how does the dataset want us to do TrafficSignal classification please?

Hi, we have now fixed this file and also added an interface in the CLI (see this commit). You can now extract the patches by running the following code
zod generate tsr-patches --dataset-root <path-to-dataset> --output-dir "/tmp/zod-patches" --version mini

As for TrafficSignal Classification. We do not have any labels on what state the traffic signal is in (red, green yellow), hence we do not have the possibility to do classification.