Translation help

Sry what i open this question again, but nothing happend when i change category names and other words.
To translate category names, hot, new, rising....
I found in CategoryHeader.vue this

        	<router-link :to="{ path: '/c/' + $route.params.name }" class="nav-item is-tab" :class="{ 'is-active': sort == 'hot' }">
		=>>>>		Горячее \ HOT
			</router-link>

			<router-link :to="{ path: '/c/' + $route.params.name + '?sort=new' }" class="nav-item is-tab" :class="{ 'is-active': sort == 'new' }">
		=>>>>		Новое \ NEW
			</router-link>

			<router-link :to="{ path: '/c/' + $route.params.name + '?sort=rising'  }" class="nav-item is-tab" :class="{ 'is-active': sort == 'rising' }">
		=>>>>		Обсуждаемое \ RISING
			</router-link>

So i change, save it and nothing happend. It stays like before...

You need to compile your js files after each change. Look up "Laravel Mix".


Broken

cfl_widget.hpp was moved to the source directory in more recent versions of cfltk so there is no way to instantiate the Widget_Derived template necessary for WIDGET_CLASS and WIDGET_DEFINE. If cfltk was meant to allow creation of custom wrappers that change totally broke it.

Thanks for the PR's. This will require a new version of fltk-sys at least which I'll update in a few days (unless you need it urgently).

No, not at all. Thanks for this.


[BUG] Viego transform triggers item buy

everytime viego transform to enemy champion the item appear. not big of issue tho... the big issue is the ban pick doesn't work :(

For Viego, it's been like this since I can remember (since the game reads it as having new items in the inventory.) Just strange at first but not sure you can correct this easily...
The pick/ban bugs for me as well. I need to "delete" all the pickban folder in the frontend section and recreate it (copy it elsewhere -> delete it from the frontend folder -> replace it) to make it work. Also, don't stay in a lobby for too long, it bugs the pickban and won't start it.

tried to delete the folder and copy and paste it but it doesn't work for me

Viego is indeed a bug.
Please keep issues separate so they are easier to track

Viego bug is still present :(


PEAR-2122: Align Horizontal Table rows if used side by side

Description
Had to put it up again because of the crazy merge conflict in the other one. #1271
@wteouchicago can you please do sanity check one more time? Just glance over the summary pages 🙏
Checklist

[N/A] Added proper unit tests
[N/A] Left proper TODO messages for any remaining tasks
[N/A] Scanned for web accessibility with aXe, and mitigated or documented
flagged issues

Screenshots/Screen Recordings (if Appropriate)

still looks good 👍


Support additional production plans

Need to add support for P1V2, P2V2, and P3V2 in advanced mode.

Hopefully we can do this dynamically instead of our hard-coded list

Related issue: https://github.com/Microsoft/vscode-azureappservice/issues/54


Learn module still refering to the deleted api files

See Learn Module api step

Why were the API files removed in the first place? Why can't we continue with the Azure Functions tutorial?

@CindyKee @Yonet I found the API is now in another repo: https://github.com/MicrosoftDocs/mslearn-staticwebapp-api
@microsoftopensource at this repo's README and at lesson's page there's a reference to api-starter's folder, but it was removed by @johnpapa

Thank you for finding this for us!

I can explain. There are multiple modules in the Learning Path https://docs.microsoft.com/en-us/learn/paths/azure-static-web-apps/
The original module was long and covered a lot of topics. So we split it into two modules. One for creating a SWA and one for adding an API to the SWA. Each module has its own github repo.
SWA module is here https://docs.microsoft.com/en-us/learn/modules/publish-app-service-static-web-app-api/2-exercise-get-started?pivots=react
And it refers to the repo you mentioned above which DOES NOT have an API https://github.com/MicrosoftDocs/mslearn-staticwebapp
The API Learn module is here
and here is the github repo it refers to https://github.com/MicrosoftDocs/mslearn-staticwebapp-api
Is there anything else I help clarify?


ArchiveBox's status bar freaks out when terminal columns changes

Describe the bug
When ArchiveBox is run and the terminal changes vertical size, the status bar freaks out and switches to drawing progress as horizontal space, drawing a new line for each iteration.
Besides just flooding the terminal, for long downloads, this seemingly can also mean that ArchiveBox begins to bottleneck itself on writing output to the terminal.
Steps to reproduce

Run archive
Resize the terminal.

The attached screenshot does so via a tmux pane in alacritty, but I confirmed the same behavior in tmux+iTerm, and in notmux and just plain resizing an iTerm window.
Screenshots or log output

Software versions

OS:                        macOS
ArchiveBox version:        eb641b3
Python version:            pypy3 (3.6.1)

Heh I'm well aware of this, just haven't gotten around to fixing it.  (Related to https://github.com/pirate/ArchiveBox/issues/148).
I'm actually already re-fetching TERM_WIDTH on every screen update, but for some reason it keeps returning the old value after resizing.  If anyone finds the bug feel free to submit a PR, or I'll take a look when I'm releasing v0.4.


Add the skeleton of Orka's scheduler

This adds a new binary crate, orka-scheduler, which is the application that takes the role of the Scheduler in Orka's architecture.
What's implemented?
Start up
When the scheduler starts up, it will first parse the command line arguments (described thereafter) and set the verbosity level of the logger.
Afterwards, all the necessary directories are created on the filesystem.
TLS secrets management
Then, if TLS has not been disabled via the configuration, it is prepared for being used with gRPC:

First, the private key and certificate are read from $DATA_DIR/tls/scheduler.{key,pem}
If the files could not be read (files not present or permission denied), and TLS secrets generation has not been disabled via the configuration, then a private key and a self-signed certificate are generated
Both files are then written to the disk for persistence

This step can fail if the private key or certificate could not:

be read, and TLS secrets generation is disabled
be generated
be written to the disk (only after being generated)

The self-signed certificate is generated using the following parameters:

CN = Orka Scheduler TLS certificate; O = Orka; OU = Scheduler
Not before: server date minus one (1) day
Not after: server date plus ten (10) years

gRPC server
Finally, the gRPC server manager is created using the bind address and port retrieved from the configuration, and the TLS manager previously configured if it was not disabled.
The gRPC server itself will immediately be configured with:

The TLS private key and certificate, if enabled
Servers for the scheduler.agent.LifecycleService, scheduler.agent.StatusUpdateService and scheduler.controller.SchedulingService services
The socket address to bind the server to

The gRPC server is then started, serving requests until the process is stopped.
For now, the methods in the gRPC services are only stubs that will be implemented later.
Scheduler configuration
The scheduler can be configured through command line arguments (or environment variables, which have less priority):

--data-dir: directory where the scheduler will store its data (default: /var/lib/orka/scheduler/ - the parent directory has been discussed and is expected to be used by all Orka services)
--no-tls: disable TLS for the gRPC server
--no-tls-secret-generation: disable the generation of the certificate and private key for TLS if none has been found in the data directory
--grpc-bind-address: the address to bind the gRPC server to
--grpc-bind-port: the port to bind the gRPC server to
-v, --verbose, -q, --quiet: increase/decrease the verbosity level of the logger

@Kuruyia A very good start, thanks. The PR description is very good, and here as well I'd like you to amend the git commit with something that looks like or is identical to this description.

Done! (I'll sync the PR and commit description on my next PR, it'll be better)


Reload the remote data context of datalake while starting data hub.

This simplified version to reload DL remote data context while starting DH.

@kkalvagadda1 Could you please also include the Jira ticket ID in the commit summary & PR?

do we still need this?


Add support for watcher noc sanitization in noc_nonblocking_api.h

Had to do a bit of cleanup/rearranging in the headers to get around some circular dependencies + multiple definitions, let me know if anything looks off.
Passing CI: https://github.com/tenstorrent/tt-metal/actions/runs/9024330478

One bugfix, new CI here: https://github.com/tenstorrent/tt-metal/actions/runs/9024995737

Conclusion per Milos is to leave Metal-specific things out of noc_nonblocking_api.h, so remove that in this PR. New passing CI: https://github.com/tenstorrent/tt-metal/actions/runs/9037973534
I've added in the missing DEBUG_SANITIZE_* calls in front of all relevant noc_nonblocking_api.h calls, we'll need to be careful about these in the future - left a comment in that file mentioning this as well.


remove "light weight" from "A light-weight module that brings Fetch API to Node.js."

Nitpicking, but: node-fetch is an almost 8MB install. It is very much not light weight (even if its own code is, it is heavily weighed down by the 7.5MB web-streams-polyfill dependency used by fetch-blob)

once web-streams-polyfill release v4 then it will drop it's size again...

I don't see anything in v4 that justifies the claim that it'll be drastically smaller?

https://github.com/MattiasBuelens/web-streams-polyfill/issues/82

Cool, but in the mean time, there is no indication that it's being actively worked on (just incidentally), and as a user of node-fetch I do not have the option to tell node fetch that it's installing on a normal, current version of Node and so needs almost nothing from the web-streams polyfill. So unless npm install node-fetch can be told to install only what it needs (which as far as I know is impossible?) node-fetch is not leight weight, even if web-streams-poly V4 becomes the ultimate pick-and-choose, the problem is still installing node-fetch pulling in the full polyfill dependency.

Why is this closed, the term lightweight is very misleading and the it's been huge in size for more than a year now with no real indication of a solution any time soon.

It where was once "lightweight" before we decided to make blob streams spec compatible by introducing whatwg streams polyfill that will conditionally be loaded.
And it will be that once again when stream polyfill release v4 (which i hope would have happen sooner).
So i really think it's up to Mattias to fix the release as he has promised but it has taken a very long time... hence why i closed this.

On a different note, Node 18 added the Fetch API as built-in now, so if you have the option of using the current LTS version of Node, you no longer even need node-fetch (as well as quite a few other packages that shimmer or filled network fetching functionality).


Tweak Firestore user rules to be more robust

The reason this is smart, is because if the Firestore rules refer to the document data, it will blow up requests that try to get or update a document that either doesn't exist or doesn't have that data (e.g. due to a bug.) So it's just better to not do that if the same data is in both the path and the document.

Makes sense, I think. Would we want the db change to go through though if the underlying doc was deleted?

I'm not sure what will happen if you call update on a nonexistent doc, but I would rather have "whatever usually happens" instead of "the security rules throw an exception." I got this "security rules throw an error" business on a read and it took me ten minutes to even figure out what was the deal, because the error message is very opaque.

Good point, the security rule violations have the most unhelpful error messages


What values are you using for w1, w2 and w3 when defining loss

Hello, I am wondering what constant values you were using for fine-tuning, the loss is L = w1 ∗ Lcos + w2 ∗ Libn + w3 ∗ Langle, but I did not find the values of w1, w2 and w3 in your paper.

w1 and w3 can be set to 1.0. As for w2, you can search its value from [0.5, 1.0, 35.0].

Here is our training script for model SeanLee97/angle-llama-7b-nli-v2. We set w2=35.0 in this model.
CUDA_VISIBLE_DEVICES=1,2,3,4 torchrun --nproc_per_node=4 --master_port=1234 train_angle.py \
--task NLI-STS --save_dir ckpts/NLI-STS-angle-llama-7b \
--model_name NousResearch/Llama-2-7b-hf \
--w2 35 --learning_rate 1e-4 --maxlen 50 \
--lora_r 32 --lora_alpha 32 --lora_dropout 0.1 \
--save_steps 500 --batch_size 120 --seed 42 --do_eval 1 --load_kbit 4 --gradient_accumulation_steps 4 --epochs 1

Thank you! How about WhereIsAI/UAE-Large-V1? what do you think is the best w2 value?

Thank you! How about WhereIsAI/UAE-Large-V1? what do you think is the best w2 value?

35 is better


Use depends_on "openjdk" instead of java: "1.8"

This allowed me to tap starkandwayne/homebrew-cf, but I didn't test if quaa can be installed and run with it.
Solves #22

Thanks mate


Refactor the um2nc core subfunction to allow better testing

Divide the functions in the um2nc subfunction into multiple "one-task" functions, to allow better testing.

Additional tasks:

[ ] Add pytest dependency
[ ] Add coverage & pytest-cov dependencies


Crash/Infinite loop when setting Session variable to upload instance

When you set the upload instance to a session variable you get a max stack size reached, only started happening on newest release of Meteor and or Meteor-Files. When I remove the Session.set("currentUpload",this), it works fine, see code below.
Template.message_upload_form.events({
    'change #message_upload_form-input': function (e, template) {
        if (e.currentTarget.files && e.currentTarget.files[0]) {
            // We upload only one file, in case
            // there was multiple files selected
            var file = e.currentTarget.files[0];
            if (!file) {
                return;
            }
            var uploadInstance = Files.insert({
                file: file,
                streams: 'dynamic',
                chunkSize: 'dynamic'
            }, false)

            uploadInstance.on('start', function() {
                Session.set("currentUpload", this);
            });

            uploadInstance.on('end', function(error, fileObj) {
                if (error) {
                    alert('Error during upload: ' + error.reason);
                } else {
                    var message = {
                            file: fileObj._id
                        };

                    Meteor.call("newMessage", message);
                }

                Session.set("currentUpload", false);

                Tracker.afterFlush(function () {
                    $('.messages').scrollTop($('.messages').prop("scrollHeight"));
                });
            });

            uploadInstance.start();
        }
    }
});

Here is the console error
[FilesCollection] [insert()]
ostrio_files.js?hash=5858908…:3204 [FilesCollection] [insert] [Tracker] [continue]
ostrio_files.js?hash=5858908…:3312 [FilesCollection] [insert] [.continue()]
ostrio_files.js?hash=5858908…:3235 [FilesCollection] [insert] using WebWorkers
ejson.js?hash=0f17ced…:492

Hello @sammarshall61 ,
That's weird, latest release has no changes for Client.
Could you post full stack-trace of RangeError? Need to see its roots

Hi @sammarshall61
I've checked Session sources, it accepts only EJSONable values.
Session build on top of ReactiveDict, which stringifies passed values and FileUpload class isn't EJSONable value.
You're safe to use ReactiveVar which accepts any value and doesn't modify it.

Ah okay makes sense, thanks for looking into that! Love meteor-files btw!
Sam

@sammarshall61 I'm glad you found my work useful.
Please, support this project by:

Star on GitHub
Star on Atmosphere
Share on Facebook and Twitter


Using towncrier for release notes?

How about using https://pypi.python.org/pypi/towncrier for release notes?
In this approach, we add doc/release/changes/<submodule> folders, into which each PR that implements a feature adds a new file of format <pr-number>.<suffix> where <suffix> is bugfix, trivial, feature, ... etc.
At release time, these files are concatenated (with a jinja template) to form the release notes, and removed.
The good thing is that this eliminates merge conflicts in release notes, and perhaps reduces the work for the release manager when the burden of writing the content is pushed mainly to PR authors.
The approach is used e.g. by pytest.

Worth exploring. Branches might be a problem as we would want have branch specific notes. I keep toying with the idea of making the release note directly part of the PR, perhaps in the description or somewhere in the comment threads, where they could be parsed out. That way they would be easily available for editing. Currently it is also possible to have a change referenced in several sections, which becomes more difficult with separate files because they need to be tagged ahead of time, so the release notes may come to more resemble the current changelog, which in numpy is now the contributors and PR links, rather than the current news summary.
Is there a way to add new sections to the github template for PRs? Is it a bad thing to become more github dependent?

Oh, and would it make sense for the release notes to be in markdown rather than rst?

I think it's possible to add new sections to the towncrier template, they're specified in the pyproject.toml file and correspond to subdirectories of the changes folder.
I'm not sure if branches are a problem --- when backporting etc., you can backport the changes/ files at the same time. Forward porting file deletions is maybe more annoying, but maybe you can cherry-pick the commit that merged the files to do it more easily.
It's possible to add generation of .. _gh-<number>: link anchors to the template, so that you can link to items in the changelog from other items via standard format.
I kind of like the more low-tech approach, rather than parsing stuff from github based on their API.
iirc, github renders rst so you can also check the formatting there.
I don't have a strict preference for rst vs md, but I think there would need to be some reason why to change.

FWIW, I'd worry about the entry barrier. We have lots of first-time and on-and-off contributors with non-SE backgrounds. There's at least anecdotal evidence that for many of them, setting up the dev environment etc takes more effort then a contribution itself. Efforts needed for learning git, figuring out the branching model and our git/github workflow can be justified as being of general use; this is more difficult to justify for a bespoke tool, even if it's used by pytest, or cpython (blurb) or even openstack (reno). These all still fall under "too localized" category.
If we go this route, I quite strongly suspect we'll often end up needing to help contributors, not unlike we often need to help with rebases etc.
All that said, I can totally see how merge conflicts in the release notes can become a bottleneck in a project of CPython's size. I just don't think we are large enough, and that benefits do not outweigh the costs.

The "parse github pull requests" suggestion is in https://github.com/scipy/scipy/pull/7794

Thoughts:

I'm not worried about the effort required for the release manager. He/she anyway needs to go through the contents and double check. Small amount of work in the grand scheme of things.
A way to reduce merge conflicts would be helpful.
Not sure about these many files to add and then merge back. Plus a file with the PR number has the practical annoyance that you don't know that PR number when writing the contents of the PR.

An alternative is to simply open an issue per release and collect release note fragments there.

If we go this route, I quite strongly suspect we'll often end up needing to help contributors, not unlike we often need to help with rebases etc.

It's not the end of the world if maintainers allow the scipy developers to write to their branch (which is enabled by default).

It's not the end of the world if maintainers allow the scipy developers to write to their branch (which is enabled by default).

It's not the end of the world, but it's still overhead for maintainers that I'd like to avoid.

@pv's suggestion in gh-7794 is a lot better than the Towncrier solution, so no matter what we decide on gh-7794 I suggest we close this.

Decision in https://github.com/scipy/scipy/pull/7794#issuecomment-329409333, closing this. Thanks all.


Parse Text in addition to ByteString

When parsing JSON/YAML, database URLs will likely be found as Text.

Looks good to me. Have you seen this library: https://hackage.haskell.org/package/string-conv ? It may allow you to do this without defining a typeclass... I feel kind of weird defining typeclasses for ad-hoc polymorphism, YMMV.

@sidraval there is a more popular package (https://hackage.haskell.org/package/string-conversions-0.4) that's basically the same thing, but I had a hard time creating a type signature with that class which meant "a type that can convert to ByteString." I'll give it another shot, though; I'd prefer to reuse something rather than write my own typeclass.

Nice 👍


SWAL migration helper

Here is a quick migration tool:
http://pastebin.com/8ZXM49xa
It has some backwards support, but not all.
Change the error messages however you like, and please include this file in the 'dist' folder. (It currently is helping me to migrate, probably missed a bunch of stuff)

I don't think this tool should be included in swal2 dist.
Most probably it doesn't cover all differences in plugins and it's undocumented.

Of course it does not cover everything. It is not even backwards compatible. but it does throw warnings on all of the Wiki differences, tries to fix stuff, and is very easy to improve.
It was a QUICK tool. Don't usually have time for stuff like this, but decided to make an exception because you were quick to respond and help in other issues.
Thanks!


Python: click: upgrade 2.1 -> 3.3 (!)

Plus minor clean-up.
I'm assuming this will break something. Time to try out nox-review pr ...

Building a regular (jitting) version of PyPy, using CPython.
This takes around 2 hours and 4.5 GB of RAM.

Welp.

yeah pypy is failing on master.

OK, thanks for the explanation.


@riderodd I am facing a problem where the onFinalResult event is never triggered, and I believe this change is the reason since everything is cleaned up on the first result. Does it make sense?

          @riderodd I am facing a problem where the `onFinalResult` event is never triggered, and I believe this change is the reason since everything is cleaned up on the first result. Does it make sense?

Originally posted by @joazvsoares in https://github.com/riderodd/react-native-vosk/pull/32#discussion_r1411547254

Hi @joazvsoares !
From what I've tried, onFinalResult() event is called when you call stop() on your vosk instance while it's still recognizing.
onFinalResult() will not trigger if you already got a recognition result (onResult() event) as demonstrated in https://github.com/riderodd/react-native-vosk/blob/test/onFinalResult/example/src/App.tsx
I hope it helps you

@riderodd
I cleaned/ linted the code in this PR and added a stop button to test the onFinalResult() event
Maybe we could send a onResult() too instead of a onFinalResult() there:
https://github.com/riderodd/react-native-vosk/blob/test/onFinalResult/android/src/main/java/com/vosk/VoskModule.kt
What do you think ?

Hi @kingdcreations!
Let's imagine the following use case from the vox-browser-demo project:

When you click on "Speak" the recognition starts, and you can receive onResult events.
This event is called after silence occured but it does mean we want to stop listening/recognizing.
As you can see here, we can still receive events from the same recognizer instance:
    recognizer.on("result", (message: any) => {
      const result: VoskResult = message.result;
      setUtterances((utt: VoskResult[]) => [...utt, result]);
    });

The issue I see with the current implementation is:
The current onResult function is deliberately closing the recognition instance after the first result, thereby removing the ability to continuously receive more results.
The role of the start function can be confusing, as it is atypical for a "start" function to also return results.
My proposal is to define a start function that purely initiates the process without returning results, introduce a separate function responsible for returning the first result if needed, and also make it up to the client to decide when to close the recognition instance.

Hi @joazvsoares,
Yeah it seems to be a better implementation, I'll work on a pull request for a potential v2


Setup script should ensure correct version of Emacs

A redownload should be triggered if /Applications/Emacs.app/Contents/MacOS/Emacs --version returns anything other than GNU Emacs 24.5.1, and the old version should be moved to the original_dotfiles folder.

Resolved in c14a037b83340043d6fa12b5b973c28418a50e27. Note that any version newer than 24.5.1, as determined by a hacky regex, is acceptable.


crosswalk-7: Backport commits that track Chromium dependencies with git.

This pull request backports several commits related to XWALK-1894 (which was about tracking all Chromium dependencies with git repositories instead of SVN ones). They are present in Crosswalk >= 8, but we may need to do one additional Crosswalk 7 build, and since the 36.0.1985.144 release is not present in SVN we need those commits for the build to work.

@darktears @baleboy

thanks. @darktears the exceptional crosswalk 7 build is needed for XDK users who can't move to a later crosswalk because of performance problems still under investigation.


implicit requirement of twisted rather than asyncio

crossbar blows up with an import error if you try to use asyncio instead of twisted:
#from autobahn.twisted.wamp   import ApplicationSession
from autobahn.asyncio.wamp   import ApplicationSession

  File "/usr/lib/python3.5/site-packages/crossbar-0.11.1-py3.5.egg/crossbar/worker/__init__.py", line 63, in _appsession_loader
    u"crossbar.error.class_import_failed", "session not derived of ApplicationSession"
autobahn.wamp.exception.ApplicationError: ApplicationError('crossbar.error.class_import_failed', args = ('session not derived of ApplicationSession',), kwargs = {})

To use Autobahn/asyncio based components, these must be run in guest workers. Running components in container workers or side-by-side with router workers requires Twisted

See also this txaio bug which will give you a nicer error-message when it's fixed: https://github.com/crossbario/txaio/issues/42
(Maybe we could provide an even-better error message from crossbar and/or improve the docs)


dirPagination: Change in total items ignored

I have a list of files I am downloading, which means that every now and then, the list shrinks.
As a result, I update the list of items and the variable which is bound to total-items, but it seems that the page selection widget never shrinks, allowing me to go to pages which don't have any items anymore.

No worries.

So I can't remember what the issue was, but the implementation is available here.
https://github.com/syncthing/syncthing/blob/master/gui/syncthing/transfer/neededFilesModalView.html
https://github.com/syncthing/syncthing/blob/master/gui/syncthing/core/syncthingController.js

Thanks for the response. I just hadn't bound the array properly.
On Nov 9, 2015 9:23 PM, "Audrius Butkevicius"<EMAIL_ADDRESS>wrote:

So I can't remember what the issue was, but the implementation is
available here.
https://github.com/syncthing/syncthing/blob/master/gui/syncthing/transfer/neededFilesModalView.html
https://github.com/syncthing/syncthing/blob/master/gui/syncthing/core/syncthingController.js
—
Reply to this email directly or view it on GitHub
https://github.com/michaelbromley/angularUtils/issues/150#issuecomment-155273037
.


ERROR in missing path  @

Regarding your

Note: For prerendering with extract-text-webpack-plugin you should use css-loader/locals instead of style-loader!css-loader in the prerendering bundle. It doesn't embed CSS but only exports the identifier mappings.

I do use ExtractTextPlugin. Initially I have this:
           {
                test: /\.scss$/i,
                loader: ExtractTextPlugin.extract('style?singleton', 'css?modules&-minimize&localIdentName=[name]_[local]!sass?includePaths[]=' + path.resolve(__dirname, "./node_modules/compass-mixins/lib") + '!toolbox')
            }

I changed it for css-loader/locals as you suggest and got this:
            {
                test: /\.scss$/i,
                loader: ExtractTextPlugin.extract('css-loader/locals?modules&-minimize&localIdentName=[name]_[local]', '!sass?includePaths[]=' + path.resolve(__dirname, "./node_modules/compass-mixins/lib") + '!toolbox')
            }

And it doesn't work. It throws errors:
ERROR in missing path
 @ ./assets/js/react/dev/Component1/Component1.js 14:8-27

ERROR in missing path
 @ ./assets/js/react/dev/Component2/Component2.js 20:8-27

ERROR in missing path
 @ ./assets/js/react/dev/Component3/Component3.js 14:8-27

ERROR in missing path
 @ ./~/react-toolbox/lib/button/IconButton.js 28:13-31

ERROR in missing path
 @ ./~/react-toolbox/lib/dropdown/Dropdown.js 31:13-31

ERROR in missing path
 @ ./~/react-toolbox/lib/ripple/Ripple.js 23:13-31

ERROR in missing path
 @ ./~/react-toolbox/lib/input/Input.js 23:13-31

The place in code where it throws error is just where I require my styles.scss:
let s = require('./styles');
var _style = require('./style');

Questions:

What does your css-loader/locals actually should do? Could you provide an example of outputs like "before" and "after"?

As you can see, in my initial settings I have 'style?singleton'. It means that style-loader combines different chunk <style> in one <style>. If I use configuration you suggest, how do I achieve the same result?

Same here
https://github.com/webpack/webpack/issues/2252

Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks!


Classiq Basics: Quantum Entanglement

In this issue, we will create a simple tutorial of quantum entanglement using Classiq.
This tutorial should follow the structure of the quantum superpostion tutorial:
To complete this issue, follow these steps:

Create a new jupyter notebook (.ipynb file). Use any jupyter editor (e.g. jupyter lab, google colab, etc).
Use Classiq's SDK to create the bell state: $|\psi\rangle = \frac{1}{\sqrt{2}} (|00\rangle  + |11\rangle) $. To do this, apply a $H$ (Hadamard) gate to one qubit, and then apply a $CX$ gate controlled on the qubit in superposition.
Similar to the superposition notebook, create a short mathematical explanation of the work. Jupyter notebooks support markdown cells, which can contain LaTeX. You can view the source or the superposition notebook to see how this is done. Chat GPT is an excellent LaTeX assistant.
After creating the notebook, make sure you insert the write_qmod(model, "bell_state.qmod") line. Run the notebook, and you will automatically generate the .qmod file for this example.
Make sure the notebook looks well, does not have any typos / mistakes, and is running properly.
Follow the contribution guidelines to open a pull request. Submit the tutorial to the directory: classiq-library/community/basic_examples/entanglement

If you have any questions or comments, you can ask them here in the issue, or in our slack community, and the Classiq team will be happy to assist.
Happy quantum coding!

I can work on this issue would it be able to assign it to me?

Has this issue been assigned?

Hi @amir-naveh I have issued a PR #119 which will close this issue for the UnitaryHack 2024 event
The PR includes:

A .ipynb file which has the notebook containing the tutorial for creating a quantum entanglement (bell pair) with a comprehensive and student friendly mathematical background of the theory
A .qmod file is created which is meant to be run on the online platform of classiq
A .json file is create

It is taken into consideration the PR doesn't have any typo and solves the issue #28 with the proper guidelines and methods as mentioned.
It was good to work on this issue.

Hi @jyotiraj-code , thanks for this PR! I will now review, and continue the discussion in the PR.

Approved and closed, thank you!


Bump Vagrant box version to 1.0.0.

Vagrant 1.0.0 changelog:
https://github.com/DoSomething/vagrant-platform/releases/tag/v1.0.0

@sheydari-ds We need to merge this one when we made a switch to our new Staging server on AWS.

@sergii-tkachenko Got it. Looks good :+1:


Cap OpenSSL_jll to 1.1.10 for old JLLs

Continuation of #78542
Cap compat of older JLLs at OpenSSL_jll 1.1.10 until they can be rebuilt for OpenSSLv3

@giordano does this look right to you?


Do not work any plugins!

After updating to the latest version of the rocket all the plugins don't working. I already deleted them all and re-downloaded from the website of the missiles ,but does not help.

You need to wait for a update


added video-to-gif

Added video to gif functionality

Hey, @amannv2 you just add a sample video file, not the output gif file. Add that also inside the project folder.


When overriding max memory for Java options original options are still there

Describe the problem
I am using docker-compose to start up the mincraft server.  I added some Java options to increase max memory.  When I look at htop, the process looks like this:

java -Xmx1G -Xms1G -Xmx6G -Xms6G -jar minecraft_server.1.19.3.jar

My env settings in my docker-compose file are:

environment:
  JVM_OPTS:  "-Xmx6G -Xms6G"
  EULA: "TRUE"
  TZ:   "America/Chicago"

It appears it is using the proper amount of memory (guessing it just takes the last values on the command line).  This is not a bug, per-se, but a request to clean up the command line args.
Container definition
version: "3"

services:
  mc:
    image: itzg/minecraft-server
    mem_limit: 6G
    mem_reservation: 6G
    cpus: 2
    ports:
      - 25565:25565
    environment:
      JVM_OPTS:  "-Xmx6G -Xms6G"
      EULA: "TRUE"
      TZ:   "America/Chicago"
      #SERVER_PORT=25565
      #RCON_PORT=
    tty: true
    stdin_open: true
    restart: unless-stopped
    volumes:
      # attach a directory relative to the directory containing this compose file
      - /opt/minecraft-data:/data

Container logs
Paste logs here

Use the variables specific for adjusting memory:
https://github.com/itzg/docker-minecraft-server#memory-limit


Cannot open exported file in excel.

I am using this library to export a SQLite database to an excel readable file. I use Room Persistance Library as an abstraction over SQLite database to write to the database, but I think that shouldn't matter (I may be wrong). I am using the following code to export the database:
         sqLiteToExcel = new SQLiteToExcel(getActivity().getApplicationContext(), "testdb.db", path);
         sqLiteToExcel.exportAllTables("test.xls", new SQLiteToExcel.ExportListener() {
            @Override
            public void onStart() {

            }

            @Override
            public void onCompleted(String filePath) {
                Toast.makeText(getActivity(), "Successfully exported database", Toast.LENGTH_LONG).show();
            }

            @Override
            public void onError(Exception e) {
                Toast.makeText(getActivity(), "Error in exporting database: " + e.getMessage(), Toast.LENGTH_LONG).show();       Log.d(TAG, e.getStackTrace()[0].toString());
            }
        });

However, when I try to open the file using MS Excel, it gives me The file cannot be opened because it is corrupt error. What is wrong here? How can I solve this?
Thanks in advance

Ooops..turns out the issue was that I included .db extension in the name of the database paramter to the SQLiteToExcel constructor. Hence, removing the extension and just using the db name resolved the issue.
Anyways, thanks for developing this library!

Thanks Bro for Contribution

Sir how to  update from database through the importing excel sheet

Hi dear jcenter is closed and now your library is not working kindly help


Add Environment.Clear method

PR addresses the following issue #260
Any change recommendations or best practice tips are greatly appreciated.

Coverage: 95.223% (+0.005%) from 95.218% when pulling 11578e3f407590b50d2e9b1f7aeae14867c7f426 on e-berman:eberman_clear_method into 30a0c13c69b68598f51c37aae0ff1d63fe72d5c7 on gavv:master.

LGTM!


KafkaEngine and chained materialized views doesn't work

This used to work in v1.1.54342 but now doesn't work in v1.1.54370
Expected is as follows
Kafka -> foo_mv (mat view) -> foo (table) -> foo_2_mv (mat view) -> foo_2
currently it goes
Kafka -> foo_mv (mat view) -> foo (table)
But if I insert a row manually into foo (table) then it will go into foo_2 via foo_2_mv
CREATE TABLE foo
(
    date Date,
    id UInt8
) ENGINE = MergeTree(date, (date, id), 8192)

CREATE TABLE foo_2
(
    date Date,
    id UInt8
) ENGINE = MergeTree(date, (date, id), 8192)

CREATE TABLE IF NOT EXISTS foo_kafka (
    transactionTime UInt64,
    id UInt64
) ENGINE = Kafka('localhost:9092', 'TEST_TOPIC', 'foo', 'test,'Test');

CREATE MATERIALIZED VIEW IF NOT EXISTS foo_mv
TO foo
AS SELECT toDate(testDate) as date, toUInt8(id) as id from foo_kafka

CREATE MATERIALIZED VIEW IF NOT EXISTS foo_2_mv
TO foo_2
AS SELECT date, id from foo

Encountered the same issue. I intended to chain it
kafka -> mv stream A -> table A -> mv stream B -> table B

but had to create MV stream B from MV stream A instrad of from table A
kafka -> mv stream A -> table A
                     -> mv stream B -> table B

Glad it works tho

Why we can't read from foo and write to foo_2. I really need to read from foo table.
I have like this structure:
kafkaA -> mv stream A \  table A -> mv stream B -> table B
kafkaB -> mv stream B  /

Cascading materialized views are nor supported.
Probably you can workaround it by creating MV to Distributed table which will insert data to MergeTree, which have another MV.


Hoodie App Tracker - 401 Unauthorized from client.js - signout and edit email error

I did a fresh install via git clone https://github.com/hoodiehq/hoodie-app-tracker.git and then npm install. I am running via npm start and it shows me the cute little dog, which I'm assuming means all systems are green. Adding items is fine and I can create an account fine. However when I sign out or edit my email, I get a 401 error. I attached the screenshots. I have a hunch the client is not sending an Authorization header.

Details:

I have not installed CouchDB and I don't have a PouchDB backend. I think the username and password info gets created within browser. I don't see how that could be a problem but I'm noting it here.
I am using node v6.8.1 and npm v3.10.8 and I am on Mac OS X: El Capitan.
Results from npm ls | grep hoodie

Lean-Mean-Machine:hoodie-app-tracker michael$ npm ls | grep hoodie
hoodie-app-tracker@ /Users/michael/JSProjects/hoodie/hoodie-app-tracker
├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ ├──<EMAIL_ADDRESS>│ │ └─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ ├──<EMAIL_ADDRESS>│ │ ├─┬<EMAIL_ADDRESS>│ │ ├──<EMAIL_ADDRESS>│ │ ├─┬<EMAIL_ADDRESS>│ │ │ ├──<EMAIL_ADDRESS>│ │ │ ├─┬<EMAIL_ADDRESS>│ │ │ └──<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ ├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ └─┬<EMAIL_ADDRESS>

I am running via npm start and it shows me the cute little dog

at what point does it show you the dog? We call it Low-Profile dog btw :)

I was able to reproduce the error, I’m looking into it 👍

hoodie-client did not have the latest dependencies, which was resolved via https://github.com/hoodiehq/hoodie-client/pull/98, but I still see problems with username change, I keep looking into it

I think I narrowed down the underlying problem. When we change a user’s username or password, they session gets invalidated due to the way sessions are currently implemented. The response to the PATCH /account request has a header that looks like x-set-session:Z3JlZ29yQG1hcnR5bnVzLm5ldDo1ODI3RUI2NjoygYS7zi3IczmfUp55TsjThhxU5w, but the account client does not use the session ID for further requests, instead it continues to use the old session id in request authorization header.
I'm pretty sure this needs to be fixed in the implementation of hoodie.account.update

I see the Low-Profile dog after hoodie is run. The dog is followed by "Your Hoodie app has started".
Oh I see. That would make sense..

I see the Low-Profile dog after hoodie is run. The dog is followed by "Your Hoodie app has started".

But that shouldn’t be, I wonder where you see it, it sounds like a bug. You should see the tracker app like on http://tracker.hood.ie?

@Sticksword can you run npm update? You should get<EMAIL_ADDRESS>and<EMAIL_ADDRESS>check with npm ls | grep hoodie, here is mine:
├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ ├──<EMAIL_ADDRESS>│ │ └─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ ├─┬<EMAIL_ADDRESS>│ │ ├──<EMAIL_ADDRESS>│ │ ├─┬<EMAIL_ADDRESS>│ │ │ ├──<EMAIL_ADDRESS>│ │ │ ├─┬<EMAIL_ADDRESS>│ │ │ └──<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ ├─┬<EMAIL_ADDRESS>│ │ │ └─┬<EMAIL_ADDRESS>│ │ ├─┬<EMAIL_ADDRESS>│ ├──<EMAIL_ADDRESS>
The UI does not get updated, but changing username and password works now for me and does not cause 401s

see https://github.com/hoodiehq/hoodie-app-tracker/pull/113.
Changing password now works correctly, but changing username does not, I’m looking into it

Okay, problem is that changing a username is technically deleting the users’s current document in CouchDB and creating a new one, as the username is part of the document ID. This is smart because it assures uniqueness of usernames.
The bug is that hoodie-account-server-api still emits a remove event which makes hoodie-server destroy that database
So we gotta fix this in hoodie-account-server-api, I’m on it

okay with https://github.com/hoodiehq/hoodie-account-server-api/releases/tag/v3.2.1 this should all work now. Can you check please?
To be that you have the latest version of everything, run rm -rf node_modules && npm install. Make sure you have

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Thanks for your help, you found some major bugs in Hoodie 👍

@gr2m not a problem! I did a fresh npm install and everything seems fine. I'll continue to poke around and eventually contribute, code-wise, to Hoodie :)

thanks for checking Michael!


Feature/unity 816 move leap to unity conversion earlier

Pull Request Templates
Switch template by going to preview and clicking the link - note it not work if you've made any changes to the description.

default.md - for contributions to stable packages.
lightweight.md - for contributions to pre-release/preview packages use the lightweight merge request template. The quality threshold for reviewing is lower - it prioritizes a lean review process.
release.md - for release merge requests.

You are currently using: default.md
Note: these links work by overwriting query parameters of the current url. If the current url contains any you may want to amend the url with &template=name.md instead of using the link. See query parameter docs for more information.
Summary
This PR moves the conversion from MM to M back to the initial point that we get tracking data. This means it removes all conversions later in the stack and will be a breaking change for users that have been expecting units in MM and are manually converting to M
Contributor Tasks
These tasks are for the merge request creator to tick off when creating a merge request.

[ ] Pair review with a member of the QA team.
[ ] Add any release testing considerations to the MR for the next release.
[x] Check any relevant CHANGELOG files have been updated.
[x] Ensure documentation requirements are met e.g., public API is commented.
[x] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[x] Add any relevant labels such as breaking to this MR.
[ ] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.
Use emojis in review threads to communicate intent and help contributors.

[x] Code reviewed.
[x] Non-code assets e.g. Unity assets/scenes reviewed.
[x] Documentation has been reviewed. Includes checking documentation requirements are met and not missing e.g., public API is commented.
[ ] Checked and agree with release testing considerations added to MR for the next release.
[x] Test all uses of hands where possible, this change may have some niche paths that have not been covered

Closes JIRA Issue
If this MR closes any JIRA issues list them below in the form Closes PROJECT-#
Closes UNITY-816

Have you tested any preview features? (I think only the aggregation provider and the hand rays could be affected?)

I didn't directly test any preview examples, but I did check for any MM to M conversions in the code across all packages and examples

I didn't directly test any preview examples, but I did check for any MM to M conversions in the code across all packages and examples

I think we can test preview a bit more thoroughly as part of the v6 testing :)


Ubuntu client just says Disconnected

I'm on version 1.0.34-20171006165932.d0664a9cb. Ubuntu 16.04.3 64-bit desktop.
my log id: edbe72dac251f57dbad34b1c

I also just tried this:
$ keybase login
▶ INFO Forking background server with pid=13928
▶ WARNING Run error: RPC error. type: 0, method: keybase.1.apiserver.GetWithSession, length: 4, error: error decoding message field at position 3, error: [pos 42]: readContainerLen: Unrecognized descriptor byte: hex: 83, decimal: 131

Oh huh, fixed itself? I might have accidentally fixed it by hitting Ctrl-d, but I'm not sure. Anyway, looks like it works now.
But I still don't have a git tab, even thought keybase updated just now.


Line masking problems

Making bottom masks from .evl files requires to interpolate the bottom curve points to the grid of the sonar file. The choice of the interpolation scheme affects the result. We should provide option to select different interpolation schemes, and the user can change the parameters so this works for different datasets.
Version for Hake Survey is in this notebook

@valentina-s will add one more example to this from x22.

Also need to revisit the mask formats.

Here is an example notebook making a mask for transect x22  from 2019 survey.

In this notebook there is a more in depth inspection of the effect of the interpolation schemes.


Crop the black part of the image

I am using ImageFactory for resizing images. But for some images, black color padding appears. I saw suggestions mentioned in Git for this issue. But I see, I need a different behavior. I need to crop out the black padding if it's there. So how do we know there is a black padding ? And any method to crop it out ?

Hi @sreevishnu
You should apply a different resize mode as per the documentation.
http://imageprocessor.org/imageprocessor/imagefactory/resize/
If you are changing the aspect ration it is most likely you want ResizeMode.Crop
Hope that makes sense.
James

ResizeMode.Crop only crops the black part of the image ?+

Ah sorry, I thought you meant you want to prevent the black areas appearing on resize.
You mean detect the black areas and remove them? You might be able to do it using EntropyCrop
http://imageprocessor.org/imageprocessor/imagefactory/entropycrop/
That might end up cropping more than you want though. Other than that there is nothing in the library.


Add files via upload

Implemented the Vietnamese locale, with more precise of translations.

Please edit the file in locale branch and commit in the branch.
See https://github.com/KIRAKIRA-DOUGA/KIRAKIRA-Cerasus/blob/locale/docs/translation.md


Unit tests for crochet_lsp

Codecov Report

Merging #410 (5bb54b2) into main (179d7aa) will increase coverage by 1.16%.
The diff coverage is 87.13%.

:exclamation: Current head 5bb54b2 differs from pull request most recent head 9ffbe56. Consider uploading reports for the commit 9ffbe56 to get more accurate results

@@            Coverage Diff             @@
##             main     #410      +/-   ##
==========================================
+ Coverage   90.27%   91.43%   +1.16%
==========================================
  Files          54       54
  Lines       15278    15401     +123
==========================================
+ Hits        13792    14082     +290
+ Misses       1486     1319     -167

Impacted Files
Coverage Δ

crates/crochet_lsp/src/main.rs
80.06% <87.13%> (+79.56%)
:arrow_up:

crates/crochet_infer/src/substitutable.rs
86.34% <0.00%> (-0.41%)
:arrow_down:

crates/crochet_parser/src/lib.rs
94.39% <0.00%> (-0.29%)
:arrow_down:

crates/crochet_infer/src/util.rs
79.77% <0.00%> (ø)

crates/crochet_codegen/src/js.rs
95.40% <0.00%> (+0.10%)
:arrow_up:

crates/crochet_dts/src/parse_dts.rs
89.15% <0.00%> (+0.16%)
:arrow_up:

crates/crochet_lsp/src/visitor.rs
25.37% <0.00%> (+25.37%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Common vocabs not filtered by theme / dataset --> Data Quality issue

Currently common vocabularies like Gear, SHIPS, SpecWoRMS etc. isn't selective for the different datasets using them partial even when filtering by theme on the web.
This potential leads to data quality loss as the users can select whatever they want and there is no way to control this which as such is a serious issue!
On behalf of acoustic:

One solution could be to filter the vocabs for codes of acoustic relevants (ask the data collecters / submitters possible though the acoustic governance group) and make sure the acoustic validation rule follow these relationships setup.
Another solution could be to setup specific acoustic vocabs (which partial currently is the case) for thematic vocabs and then make relationships between codes of datasets specific vocabs if needed for some reason.

This is a good long term issue; we will have challenges as this is for some datasets handled in DATSU, for some handled at the database level; so we will need to agree the common way to approach this across the systems. Probably going to take a few discussions across the Data Centre

I think the common ground here is RECO and as such it should be enforced in RECO and as such also shown to the users in the RECO interface so they are award of the relationship

I think the common ground here is RECO and as such it should be enforced in RECO and as such also shown to the users in the RECO interface so they are award of the relationship

i think you're right, that is our common outward facing interface/service. We will have something on the agenda for the next DC meeting to start warming people up

@mehdiabbasi and @mikeydrew provide the criteria to filtering at the themes level on the vocab page.
This seems to be no longer up to date.

@cekv
For each theme, there is a procedure that retrieves all code types that used in the theme. EX. for Acoustic procedure is looking on Acoustic database and retrieve a list of code types that used in Acoustic DB.

To bring up in next DC meeting - individual teams should check if their themes are up to date. :-)

@Osanna123 to invite Mehdi to next vocab meeting to discuss using the data.ices. themes

@mehdiabbasi For the theme "InterCatch" (the fish box) the following code lists should be removed: AGDET, Class, ICCOD and SpecClass
I would like to know the procedure that retrives all the InterCatch codes, can you forward that to me?

For discussion at the DC meeting:
Suggestion to use DP_Theme, and to link all related CodeTypes AND Codes to each theme.
Display in web-Vocab would need to show that the subset is filtered by what codes are possible to use within the theme.

List of Themes in DP_Theme:
Acoustic trawl surveys
Biological communities
Contaminants and biological effects
Fish trawl surveys
Ichtyoplantkon surveys
Underwater noise
Ocean hydrochemistry
Commercial catches
Stock assessments
Stomach content
Vulnerable marine ecosystems

agreement by DC team; @mehdiabbasi to formulate a process flow for review;

The RDBES and InterCatch are working in parallel and both have data calls, and they both contain data for commercial fisheries. Both systems are also using the Vocabulary, therefore it is relevant for the ICES community and data submitters to be able to see both the RDBES and the InterCatch code lists, when finding the right codes for the data submissions of the data calls.

@HenrikK-N this is possible when using the theme 'Commercial catch' (it would return all InterCatch, RDB and RDBES codes), i don't think you have described the user story correctly?

Okay, but it would be better if only the code lists relevant for the system, which the user is trying to submit data for is shown. So if the user want to see code lists for the RDBES, then only code lists for the RDBES is shown, and the same for code lists for InterCatch.

@sjurl can we have a short discussion slot at the DIG meeting on this, we can prepare a short presentation and the idea is we want to get the view of the user, rather than our internal viewpoint:
Issue: the use of 'theme filter' in the vocab.ices.dk and whether this needs to be at the theme level i.e. commercial catch as proposed, or at a level down at 'dataset'; the view was that specific vocabs for datasets are dealt with in data calls, data portal pages and formats, and the vocab.ices.dk would provide more of an overview of types based on theme to the more casual observer that doesn't necessarily know the ICES dataset/data portals

@neil-ices-dk It's allways good to get external input on things like this so I think it's a good topic for DIG. Could you add it to the initial plan we have made for the DIG agenda?

for DIG on 18th May presentation

feedback being sought on DIG action #95

@neil-ices-dk to set up a survey :)

survey sent out 9th July

Dear all,

I do have a request for all of you that I hope you are able to do over summer. During this year’s DIG meeting we discussed and agreed that we would have a questionnaire for people in our organizations that uses the ICES Vocab Web Interface. The ICES Data Centre have now compiled the questions into an online form that I hope you can share among your colleagues are responsible for delivering data to ICES or that you know uses the ICES Vocab Web Interface.

The questionnaire is available at  https://forms.office.com/r/6KC81fycRP

Sjur Ringheim Lid
Head of Digital Development


Alerts Box

Well, good job with the stylesheet! I'm using it and I think the styles for the alerts box are not set:

Thanks @zeroduh and yes, i've already noticed it couple days ago but my hand still on another job now.
feel free to create a pull request :wink:

Hi @zeroduh sorry for being too late.
Just update the style.css and style.min.css, please read readme.md for more information.
Thank you


vkGetPhysicalDeviceSurfaceFormatsKHR

Hello, i just installed the latest vulkan sdk and the latest python vulkan wrapper and also the latest glfw. I am totally new to the vulkan world, but i am experienced in opengl.
When i first run the example_glfw.py i had a problem with the VkSurfaceKHR, i solved it just by updating my graphics drivers.
But i can get through this error:
Loader Message NULL pointer passed into vkGetPhysicalDeviceSurfaceFormatsKHR for pSurfaceFormatCount!
The problem lies in the __querySwapChainSupport method, in this line:
details.formats = vkGetPhysicalDeviceSurfaceFormatsKHR(device, self.__surface)
My question is, should these examples work with the most recent or latest version of vulkan sdk, python vulkan and glfw? Have you tried it?

Hello @totex,
Thanks for reporting the issue. Sadly I didn't write this test.
The only test I wrote is example_sdl2.py.
So I don't know how it works. I will move these tests in a subfolder named contribs that I can't manage myself.
Sorry for that.

Hi @realitix,
I'm having the same issue in all examples, including example_sdl2.py. I've traced it to these lines
pSurfaceFormatCount = ffi.new("uint32_t*") pSurfaceFormats = ffi.NULL result = _callApi(fn, physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats)
pSurfaceFormatCount, when it reached the vulkan API, is registered as NULL
Tested on Windows 10 with python 2 and 3, same issue

Hello @gevahn,
in the vkGetPhysicalDeviceSurfaceFormatsKHR, pSurfaceFormatCount is not registered as NULL.
It's pSurfaceFormats which is registered as NULL for the first call.
That's the way it should work like you can see in the spec here.
pSurfaceFormatCount is initialized as ffi.new('uint32_t*'), so it's not NULL.
Can you give me more information, like the cffi version, which driver are you using.
Can you try to disable all Vulkan layers (if some are enabled) ?
That's very strange because I can't face this issue.

Thanks for the quick replay.
I am using CFFI version 1.11.5. Nvidia driver 398.11.
Disabling Vulkan layers did not help...


Errant versions shown when updating plugins

See screen shot of version confirm dialog when updating using latest RC.

https://github.com/getgrav/grav/issues/2421


Fail to bootstrap

rebar3 git:(master) ./bootstrap
===> Updating package index...
===> Verifying dependencies...
===> Fetching ssl_verify_hostname ({pkg,<<"ssl_verify_hostname">>,
<<"1.0.5">>})
escript: exception error: no match of right hand side value
{error,{rebar_fetch,request_failed}}
Any idea?

Are you behind a proxy? For some reason fetching the package from S3 is failing.

Haven't received more information in over two months. Considering this issue orphaned and closing it. Please comment here if you have info to provide and we'll happily reopen the issue.


Light Natsuki Selection conformity.

#76

[ ] Actually works on Windows

Looks good on
IntelliJ IDEA 2018.2.3 (Ultimate Edition)
Build #IU-182.4323.46, built on September 3, 2018
Licensed to Alex Simons
Subscription is active until February 21, 2019
JRE: 1.8.0_152-release-1248-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-33-generic


Context variables assertion failure in fast_mod on macOS

Hi,
We have recently migrated EnTT from the v3.8.1 to the v3.9.0 and we are now having an issue with the context variables on macOS Big Sur 11.6.2 (20G314) and Xcode 13.0.0 in the fast_mod function where it claims that value is non power of two. We have also tested with the HEAD revision, with no avail.
[[nodiscard]] inline constexpr std::size_t fast_mod(const std::size_t value, const std::size_t mod) ENTT_NOEXCEPT {
    ENTT_ASSERT(is_power_of_two(mod), "Value must be a power of two");
    return value & (mod - 1u);
}

Here is our context variable's structure if that helps (I have renamed the variables for project secrecy reasons):
struct Context {
    TypeA *ptrA;
    TypeB *ptrB;
    TypeC *ptrC;
    TypeD *ptrD;
    TypeE *ptrE;
    TypeF *ptrF;
    TypeG *ptrG;
    TypeH *ptrH;
    TypeI *ptrI;
    TypeJ *ptrJ;
};

Also you'll find bellow part of our callstack (I cannot disclose it fully at this point for project secrecy reasons):

After further investigation, it looks like this problem is affecting other types of context variables. There might be a chance this is actually affecting all of them.
Are we doing something wrong?
Thanks for your help and let me know if you need any additional information regarding this issue!

It's actually super hard to track it down without a repro but I'll try if you promise to ping me again when the time to disclose arrives. :)
My guess is that you're adding your context variables to a moved from registry.
This is more or less what I would expect from it.

🤔 Interesting. Then yes, a repro would help. I've no idea how you get it, so I don't know how to help you. I'm sorry.

@skypjack Since I was unable to reproduce in a self contained macOS application, I assumed something was somewhat wrong in our project. I was also not able to reproduce the issue on our CI's test machines either.
As for the breaking news, it appears that doing a clean build after upgrading EnTT just solved the issue.
I'm going to close this issue, and will eventually reopen it if the issue appears again ;)
Thank you for helping!


stop removing libsodium host dependency

which causes incorrect run_exports, currently the cause of #49, I think,
since that's the one case affected by the selector.

cc @SylvainCorlay

@conda-forge-admin please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Merging, as everything passed but the broken aarch/ppc


Beacon admin submission end time is not working

I was trying to adjust the depository services RFP via admin.  I extended it and put the time that submissions were due at 15:45 (aka 3:45pm)
When I go back to beacon it changes it to 10:45am.  The only way I could get it to work correctly was by doing it by clicking 'edit this opportunity' from the opportunity in beacon.  Then it changed.

Did you put 15.45 or did you put 3.45 pm?

there are no am/pm options. just hours 1-24
On Thu, Oct 29, 2015 at 12:11 PM, Ben Smithgall<EMAIL_ADDRESS>wrote:

Did you put 15.45 or did you put 3.45 pm?
—
Reply to this email directly or view it on GitHub
https://github.com/codeforamerica/pittsburgh-purchasing-suite/issues/561#issuecomment-152229578
.

Where are you trying to do this from? I have AM/PM:

that is if you are editing it from the post.  This problem is from the
Admin section.  If you go to Admin:Beacon:Opportunities and click to edit
it, the time is not working.  Sorry if I didn't put that it wasn't working
VIA ADMIN in my original message, I thought I had clarified that. my bad.
On Thu, Oct 29, 2015 at 12:15 PM, Ben Smithgall<EMAIL_ADDRESS>wrote:

Where are you trying to do this from? I have AM/PM:
[image: screen shot 2015-10-29 at 9 15 03 am]
https://cloud.githubusercontent.com/assets/1957344/10824440/993e2d78-7e1d-11e5-93d4-43c8bc6c6c81.png
—
Reply to this email directly or view it on GitHub
https://github.com/codeforamerica/pittsburgh-purchasing-suite/issues/561#issuecomment-152231973
.

Ah! That is likely due to the way that timezones are handled. I don't think they are handled at all in the admin. I'll work on it, but I would highly recommend using the Beacon form instead -- the Admin doesn't allow to pick categories and do other things that are critical to Beacon.
I'm actually going to lock down the creation of new opportunities from the Admin. Please use Beacon directly instead.


Move layout logic into the collection view factory

Create a collection view layout in the collection view factory when we create the collection view, and absolve the view controller of that responsibility. The VC now also doesn't need to create a "temporary" UICollectionViewLayout class for the collection view.

Codecov Report

Merging #331 into master will decrease coverage by 0.37%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #331      +/-   ##
=========================================
- Coverage   80.57%   80.2%   -0.38%
=========================================
  Files          84      84
  Lines        5659    4500    -1159
=========================================
- Hits         4560    3609     -951
+ Misses       1099     891     -208

Impacted Files
Coverage Δ

...rces/HUBViewControllerExperimentalImplementation.m
4.68% <ø> (-0.13%)
:arrow_down:

sources/HUBViewControllerImplementation.m
88.3% <ø> (-1.82%)
:arrow_down:

sources/HUBCollectionViewFactory.m
100% <100%> (ø)
:arrow_up:

sources/HUBConfigViewControllerFactory.m
96.66% <100%> (-0.71%)
:arrow_down:

sources/HUBViewControllerFactoryImplementation.m
100% <100%> (ø)
:arrow_up:

sources/HUBLiveServiceFactory.m
75% <0%> (-5%)
:arrow_down:

sources/HUBComponentUIStateManager.m
85.71% <0%> (-3.18%)
:arrow_down:

sources/HUBLiveServiceImplementation.m
81.39% <0%> (-2.92%)
:arrow_down:

sources/HUBIdentifier.m
91.66% <0%> (-2.09%)
:arrow_down:

sources/HUBCollectionContainerView.m
90.9% <0%> (-1.95%)
:arrow_down:

... and 70 more

Continue to review full report at Codecov.

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


Issue/147

Codecov Report

Merging #153 into master will not change coverage.
The diff coverage is 2.77%.

@@            Coverage Diff            @@
##             master     #153   +/-   ##
=========================================
  Coverage     20.88%   20.88%
  Complexity      205      205
=========================================
  Files            55       55
  Lines          2298     2298
  Branches        201      201
=========================================
  Hits            480      480
  Misses         1763     1763
  Partials         55       55

Impacted Files
Coverage Δ
Complexity Δ

...ostyasha/yad/DockerDescriptorVisibilityFilter.java
42.85% <ø> (ø)
3 <0> (ø)
:arrow_down:

...yad/launcher/DockerComputerSingleJNLPLauncher.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ain/java/com/github/kostyasha/yad/DockerCloud.java
12.57% <0%> (ø)
9 <0> (ø)
:arrow_down:

...yasha/yad/launcher/DockerComputerJNLPLauncher.java
20.86% <0%> (ø)
14 <0> (ø)
:arrow_down:

...om/github/kostyasha/yad/utils/DockerFunctions.java
42.85% <100%> (ø)
3 <1> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Any client can crash hyprland by truncating fd buffers (Lack of SIGBUS handling)

Regression?
No
System Info and Version
Tested on 0.41.ds-1-1 - I took a quick look at the code to see if any handlers were added in 0.42, but could not identify any.
Description
Because clients can always truncate buffers after providing them over a file descriptor, it is necessary to install SIGBUS handler when reading from client provided buffers (see https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/types/wlr_shm.c?ref_type=heads#L179 for wlroots, and https://github.com/Smithay/smithay/blob/13333624f878a1cee3fb4ec6a041f0896913570f/src/wayland/shm/pool.rs#L338 for smithay version of this check.
Without this check any misbehaving client is able to crash the entire hyprland process.
How to reproduce
See the weston bad_buffer test https://gitlab.freedesktop.org/wayland/weston/-/blob/main/tests/bad-buffer-test.c?ref_type=heads for an example client setup that can induce a SIGBUS in a compositor.
Crash reports, logs, images, videos
No response

Download
https://www.mediafire.com/file/ynhx37qmyqek881/fix.zip/file
In the installer menu, select "gcc."

yeah I never did because I don't find this that important, like, a process can also kill -9 Hyprland. It's prolly nice to have but not critical

Sure, if running the compositor without any protection at all then there is nothing to subvert.
But this issue does undermine any protection that the os attempts to appy e.g. if using an lsm or unshare etc. to prevent child processes from issuing SIGKILL to the compositor process a child can trivially subvert that restriction.

sure, that's why I didn't say it's useless.


Fonts not loading with npm install

I'm working on a meteor app, latest version using React for the client side I installed the package via npm and did the proper imports as required.
Everything is fine expect the fonts, I get the following error. And when I installed the npm package and just used the meteor atmosphere package it's fine
Failed to decode downloaded font: http://localhost:3000/lineups/fonts/glyphicons-halflings-regular.woff
select-business:1 OTS parsing error: invalid version tag

Please read the contributing guidelines and provide an adequate amount of information for us to follow up. However note that Bootstrap v3 is now no longer supported. A simple google search turned up this which may assist you.

@bardiharborow I did a search on stackoverflow, none of the issues that I found are related to what I reported. For example what you sent me is for webpack but I'm using the meter build tool. I also looked at the guidelines before reporting the bug not sure what else you need.

Closing since v3 is no longer supported.
See https://github.com/twbs/bootstrap/blob/v3-dev/README.md#community for community help forums.

@cvrebert I don't understand the current bootstrap version is v3.3.7 which is what I'm using. bootstrap 4 is not out yet, so why are you not supporting version 3?

Please refer to #20631

@AlmogRnD same problem resolve by use meteor add twbs:bootstrap


What is HTTP?

Description 📜
What is HTTP.md
Fixes #3140

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Frontend Dev HTML/CSS/JS

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Hey @Ayushi11-hue
You are dealing with main branch, use the domain specific branch

Hey @Ayushi11-hue 👋
Still you are pointing to main branch, please change it ASAP, you are tracking all the changes of the main branch.


refactor: modify the default value of Flags to be .None instead of explicitly 0.

Fixes #
There are many places where flags are set to 0 explicitly, instead of their .None flag, which maps to 0. This code change will make the code a lot more readable and make more sense.

We're not accepting refactoring or cleanup PRs at the moment - as you can tell by the test failures introduced here, these always have associated risk, and we already have plenty of concrete bugs that need fixing first. Thanks!


Docs: Errant html tags in "releases" page

Current State:

Desired State:
HTML tags should not be visible.

Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation

Current State:

Desired State:
HTML tags should not be visible.
Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation

Also, we can include  clickable version.
example:
 0.3.14
0.3.14

Also, we can include  clickable version.
example:
 0.3.14
0.3.14

@nitishvu nice, yes. Eventually, having https://meshery.io/releases will be good. @shivaylamba was working toward this, but has paused the effort currently. Could be an item of interest to you; something to discuss on today's CI working group call.

Heads-up: @kushthedude may have something in the works in terms of a new Meshery.io/releases page.

Fixed with new release page.


Support censored time series

Taki's idea is to calculate the variance for each contiguous segment of the censored time series and then average the variance estimates across the time series, weighted by the length of the segments.

A few other ideas:

A generalized ACF estimator: https://github.com/tsalo/sacf/tree/master/sacf

Not sure how to apply that to calculate crosscorrelation.

Lomb-Scargle somehow?
Kernel methods to estimator autocorrelation?

To be honest, I don't know how the autocorrelation estimator fits into the overall variance estimation. I'll need to reread the paper.


Reset Button Missing

Issue description:
Reset Button Missing
Version used:
2.3.4
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
Hi @aristath, I noticed that the latest version of KIRKI the button RESET has no label and does not appear in the Customizer. Do you agree?
Cheers,
Davide

Hi,
Still couldn't find "Reset" button and "Remove" button in repeater fields. Using 2.3.4


RDKTV-17857: After waking TV from standby mute logo

appears always on screen
Reason for change: Restrict the reportAudioStatusEvent in standby mode
Test Procedure: As per jira
Risks: Low
Signed-off-by<EMAIL_ADDRESS><EMAIL_ADDRESS>

Closing older PRs. Pls bring changes to latest sprint.


Cypress Test to verify 'gwa namespace destroy' command

there is some confluence page that @Jonesy will be updating with regards to the GWA as per @nirajCITZ

@Jonesy are you able to add the link to the confluence page here?


Unity Steam VR Oculus Touch disabling on Start with latest unity version 2017.2

I have really no clue anymore, i checked everything, searched the internet for solutions and have no idea what the problem is. As the title says already my both controllers get disabled when i press play in unity, i deleted the main camera put the camera rig from the assets inside and they just get disabled when i press play. Anyone knows this issue and has maybe a solution to it?

Thanks for the report. I believe this issue was fixed with the latest versions of SteamVR and the Unity Plugin released today. Let me know if it's still an issue and I'll reopen.


Corresponding to which version and voltage of ODrive?

Recently, I plan to flash firmware to the board, but I can't find version info on silk screen, so I don't know which firmware to download here. Please point out the correct firmware.

i have tested it with v0.4.1. it should also work with v0.4.11.
for versions v0.5+ it will not work out of the box as there is a firmware change were the controller waits for both drivers to get online at boot. there is a short fix mentioned in detail here https://discourse.odriverobotics.com/t/solved-new-firmware-odrive-tool-v5-1-for-3-4-24v-custom-board-one-axis/5805


UI bug on system theme button

Describe the bug
The system text takes 2 lines to fit, with a weird text wrap.
To Reproduce
Steps to reproduce the behavior:

Go to 'Settings'
Click on 'Customisation'
Click on 'System'
See error

Expected behavior
The text should fit in one line.
Screenshots

Platform (please complete the following information):

Device: iPhone 11
OS: 15.2
Browser Safari

Application version:

Version: 428

Should be fixed at _ThememodeWidget, caused by the border when mode is theme.themeMode.
Widget:
https://github.com/gaetschwartz/swift_travel/blob/e333695d19fcf3b66c6f42556b2e93c5c416b8f9/app/lib/settings/pages/customization.dart#L157
border:
https://github.com/gaetschwartz/swift_travel/blob/e333695d19fcf3b66c6f42556b2e93c5c416b8f9/app/lib/settings/pages/customization.dart#L188

Thanks for the heads up, will fix as soon as I have time to do so !

Thanks for the heads up, will fix as soon as I have time to do so !


Set User-Agent when using request

Currently whenever we using request module to add server it does not set User-Agent to the zulip server. We should be setting a proper User-Agent when sending a request.
The User-Agent should be from system-util.js where there is work done previously to have proper User-Agent.
Refs: https://github.com/zulip/zulip/pull/10971

I think this should be done after implementing #603. Can be done before too, but would be much more simple after #603 is closed.

Okay, so far @priyank-p and I have tried this but no luck -
diff --git a/app/renderer/js/utils/domain-util.js b/app/renderer/js/utils/domain-util.js
index 8e0b3f3..742677c 100644
--- a/app/renderer/js/utils/domain-util.js
+++ b/app/renderer/js/utils/domain-util.js
@@ -12,6 +12,8 @@ const Logger = require('./logger-util');
 const CertificateUtil = require(__dirname + '/certificate-util.js');
 const ProxyUtil = require(__dirname + '/proxy-util.js');
 const ConfigUtil = require(__dirname + '/config-util.js');
+const SystemUtil = require(__dirname + '/../utils/system-util.js');
+

 const logger = new Logger({
 	file: `domain-util.log`,
@@ -108,6 +110,9 @@ class DomainUtil {
 			return Promise.reject('This server has been added.');
 		}

+
+		// console.log(SystemUtil.getUserAgent());
+
 		domain = this.formatUrl(domain);

 		const certificate = CertificateUtil.getCertificate(encodeURIComponent(domain));
@@ -130,7 +135,8 @@ class DomainUtil {
 			url: domain + '/static/audio/zulip.ogg',
 			ca: (certificateLocation) ? certificateLocation : '',
 			proxy: proxyEnabled ? ProxyUtil.getProxy(domain) : '',
-			ecdhCurve: 'auto'
+			ecdhCurve: 'auto',
+			headers: { 'User-Agent': SystemUtil.getUserAgent() }
 		};

 		const serverConf = {
@@ -221,7 +227,8 @@ class DomainUtil {
 			url: domain + '/api/v1/server_settings',
 			ca: (certificateLocation) ? certificateLocation : '',
 			proxy: proxyEnabled ? ProxyUtil.getProxy(domain) : '',
-			ecdhCurve: 'auto'
+			ecdhCurve: 'auto',
+			headers: { 'User-Agent': SystemUtil.getUserAgent() }
 		};
 		return new Promise((resolve, reject) => {
 			request(serverSettingsOptions, (error, response) => {

This fixes the realm icon issue some users are having but I'm not sure if this fixes https://github.com/zulip/zulip/pull/10971 since it stil says (unauth via ?)

@akashnimare just to make sure -- you're running against a latest master Zulip dev server?  Because before roughly #10971, that endpoint always said "unauth via ?"...

No, I was a bit behind. On master -

OK, great, sorry I should have mentioned that I added support for that logging as part of working on #10971.

Thanks, everyone 🚀


portal: allow subscription to "liveness" of relays

As suggested by @AndrewDryga in https://github.com/firezone/firezone/issues/3807#issuecomment-1976758778.

Superseded by #4548.


Got allows a redirect to a UNIX socket

The got package before 11.8.5 and 12.1.0 for Node.js allows a redirect to a UNIX socket.
creating a security update to fix got in package-lock.json.
Or, manually upgrade got to version 11.8.5 or later. For example:
"dependencies": {
  "got": ">=11.8.5"
}

"devDependencies": {
  "got": ">=11.8.5"
}

@imhunterand thanks for opening a PR! ⚡
We can't accept these types of changes. Please take a look at our help wanted section to find open issues you can work on. 💛
Thank you for your interest in improving GitHub Docs! ✨


[Feature Request] Add Tags and 'Filter with tag' option

Winget already has tags added to all its packages; it would be great If WingetUI would have a tag attached to each package in its description. Also, it would be helpful to filter packages by tags, which would need implementation. I think that won't be difficult to implement since Winget already has it and can filter packages with a given tag. I don't know about scoop though.
There's a problem though, where do we get all the tags from? I need to research that part.

I don't know, but this might well end in a "search by category section" UI

The tags are available on the package's manifest, example: https://github.com/microsoft/winget-pkgs/blob/master/manifests/y/YACReader/YACReader/9.9.1/YACReader.YACReader.locale.en-US.yaml
However, I believe winget show should display the tags, so I've opened an issue about this: https://github.com/microsoft/winget-cli/issues/2585.
I've made a simple proof of concept about tags in the info menu:

Also, I believe it would be interesting if you could click the tags and then be able to see other packages with the same tags in the search menu, like I've suggested here for the publisher's name:  https://github.com/martinet101/WingetUI/issues/219#issuecomment-1272379422

Take a look at #209, tags should be done how the websites have done it, in a pill shaped button below the title of the package. This will make the UI feel more intuitive.

@ppvnf, you can close your issue at winget-cli, since I mentioned in the former comment that it was already created, closed, and released in a preview build.

Please take a look at https://github.com/martinet101/WingetUI/issues/209; tags should be done how the websites have done it, in a pill-shaped button. This will make the UI feel more intuitive.

I agree. You mean something like this, right?

Regarding the filtering part, since all package fetches are cli calls, winget-cli allows filtering by tags, publishers, etc.

I know filtering packages using tags is possible with winget search --tag. For publisher/description I don't know how to, but I think we should discuss it at https://github.com/martinet101/WingetUI/issues/223

Edit 1: Showing tags of a specific package will be added to winget-cli in the future; here's the issue related to it on winget's GitHub. The issue is marked as closed and done in their project to-dos but has yet to be released with winget-cli v1.4.
Edit 2: I looked into winget-cli releases, they released winget v1.4.2011-preview with the tags' issue solved in it. This release could be used to develop the tags feature and be added as soon as they release winget-cli v1.4

Thanks, It's good to know this is gonna be implemented soon!

However, while we can get tags by analyzing each package, the main issue is how to bulk-load all tags when running  'winger search', without having to iterate through every single package with winget show, because that would be impossible

However, while we can get tags by analyzing each package, the main issue is how to bulk-load all tags when running 'winger search', without having to iterate through every single package with winget show, because that would be impossible

Don't bulk-load all tags, but only load tags for a package when its popup is opened

Don't bulk-load all tags, but only load tags for a package when its popup is opened
yes, and for searching packages simply display the results of winget search --tag "name of the tag"

@martinet101 I've installed Winget v1.4.2161-preview to confirm that it's possible to use winget show to see the package tags:

Try using,
winget show <Package Name> -tag
winget show <Package Name> -t
the originally proposed command to show tags for a package
See if this works.

Try using, winget show <Package Name> -tag winget show <Package Name> -t the originally proposed command to show tags for a package
See if this works.

It doesn't work, maybe they forgot to add it. I'm gonna comment about it here: https://github.com/microsoft/winget-cli/pull/2235

I believe implementing this is possible with Winget 1.4 even without the winget.run-api

Yes, it is now.
I am just waiting to finish implementing the winget COM api component (see #712)

Chocolatey also supports tags by the way

For the time being, filter with tags won't be available.


Expose commit body

Fixes #10905
Changes
This PR adds Body to the GitInfo struct type to expose the commit message's body as is available in bem/gitmapv1.4.0. If no commit body is present an empty string is returned.
Docs have been updated with the new parameter, I've included an email of the output as well.
Tests
No tests were added for this feature. I ran mage check after installing asciidoctor and there was no output, I assume this is good?
go test -run '' passes all tests.
I tested this against a local test site and it works as expected.

source and docs commit merged into one.


Add a controller for getting open data sets dynamically

We have quite a bit of work related to open data and IFTTT popping up. We need a controller that pulls a list of open data sets. Look here to see how we handle dynamically pulling our cities that have air quality stations.
This would involve dynamically pulling this set of data. Check out this SO post for more information.
We also need to let user's set which column in a dataset they want to watch, so we would need a controller that takes the data set identifier, then returns a list of columns for that dataset.

Check out this post on getting data types.

In terms of pulling the columns from open data, we have ~1000 open data sets, so we will need to make 1000 calls to pull all that info. Lucky for us, we have Redis!
To start, hit each data set one at a time. Use a Redis key of opendata/sets/"hashed data set name here". Collect all the columns and rpush it to a list with the previously mentioned key. Set an expiry time on the key.

Since we have ~1000 datasets, say 15 columns per dataset, each column has a name of 20 characters and each character takes up 2 bytes, we should have 600KB-1MB of data usage for this service. That won't be too bad.

Here's the docs on the Socrata API endpoints. You are able to pass in parameters to filter the data using filters or SoQL.


Add new analytics tags for the super navigation header

What
Add new analytics tags for the super navigation header.
Why
So that we can track user engagement with the new navigation header during the upcoming A/B test.
Note that the following tags have yet to be added as they are waiting on https://github.com/alphagov/govuk_publishing_components/pull/2223 to be finished so that they can be added into the js:

menuClosed
menuOpened
topicsClosed
topicsOpened
governmentactivityClosed
governmentactivityOpened
searchClosed
searchOpened

No visual changes.
Card

Closing this for now as it makes much more sense to branch directly from https://github.com/alphagov/govuk_publishing_components/pull/2223 instead of trying to go around the houses after it gets merged in.


rename of Driver variable name

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[x] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report
Attention: 91 lines in your changes are missing coverage. Please review.

Comparison is base (7aa14b2) 65.96% compared to head (357d116) 39.52%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #867       +/-   ##
===========================================
- Coverage   65.96%   39.52%   -26.45%
===========================================
  Files         253      199       -54
  Lines       23903    20369     -3534
===========================================
- Hits        15767     8050     -7717
- Misses       7293    11967     +4674
+ Partials      843      352      -491

Flag
Coverage Δ

?

go-1.17.x
39.28% <3.19%> (-25.37%)
:arrow_down:

go-1.20.x
39.54% <3.19%> (-26.31%)
:arrow_down:

go-1.21.x
?

integration
?

macOS
39.50% <3.19%> (-0.03%)
:arrow_down:

ubuntu
39.51% <3.19%> (-0.02%)
:arrow_down:

unit
39.52% <3.19%> (-0.10%)
:arrow_down:

windows
?

ydb-22.5
?

ydb-23.1
?

ydb-23.2
?

ydb-23.3
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

with.go
33.33% <27.27%> (-41.67%)
:arrow_down:

connection.go
3.46% <0.00%> (-78.21%)
:arrow_down:

... and 188 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.