aten.unsqueeze.default fallback with input_shape [1, 64] and output_shape [1, 64, 1]

In llama model, there has an input varation
["Tensor<[1, 64]> self = ?", "int dim = 2"]

Which will reshape the tensor from [1, 64] to [1, 64, 1]
Currently this input variation will not convert to ttnn.reshape, and if force convert to ttnn.reshape,  will raise runtime error
Failed to run. Raised exception: TT_FATAL @ /tmp/build-via-sdist-n2_feo7u/metal_libs-0.53.0rc28+wormhole.b0/ttnn/cpp/ttnn/operations/data_movement/data_transfer/data_transfer.cpp:23: input_tensor.get_legacy_shape()[-1] * input_tensor.element_size() % sizeof(uint32_t) == 0

Is there any ttnn op can handle this case?

The fall back situation of unsqueeze is from there
            if node.target == torch.ops.aten.unsqueeze.default:
                output_size = node.meta["val"].size()
                output_size = list(output_size)
                if output_size[-1] == args[0].meta["val"].size()[-1]:
                    return g.call_function(ttnn.reshape, args=(args[0], output_size))
                return None

And the following input variation is all the fall back case
        ["Tensor<[16]> self = ?", "int dim = 1"],
        ["Tensor<[23]> self = ?", "int dim = -1"],
        ["Tensor<[1, 23, 40]> self = ?", "int dim = 3"],
        ["Tensor<[15]> self = ?", "int dim = 1"],
        ["Tensor<[2]> self = ?", "int dim = 1"],
        ["Tensor<[17]> self = ?", "int dim = 1"],
        ["Tensor<[30]> self = ?", "int dim = 1"],
        ["Tensor<[60]> self = ?", "int dim = 1"],
        ["Tensor<[120]> self = ?", "int dim = 1"],
        ["Tensor<[240]> self = ?", "int dim = 1"],
        ["Tensor<[480]> self = ?", "int dim = 1"],
        ["Tensor<[1, 64]> self = ?", "int dim = 2"],
        ["Tensor<[1, 512]> self = ?", "int dim = 2"],
        ["Tensor<[3]> self = ?", "int dim = 1"],
        ["Tensor<[320]> self = ?", "int dim = 1"],
        ["Tensor<[3234]> self = ?", "int dim = 1"],
        ["Tensor<[1, 320]> self = ?", "int dim = 2"],
        ["Tensor<[1, 640]> self = ?", "int dim = 2"],
        ["Tensor<[1, 1280]> self = ?", "int dim = 2"],
        ["Tensor<[16]> self = ?", "int dim = -1"],
        ["Tensor<[32]> self = ?", "int dim = -1"],
        ["Tensor<[64]> self = ?", "int dim = -1"],
        ["Tensor<[12]> self = ?", "int dim = -1"],
        ["Tensor<[1, 5, 1, 16]> self = ?", "int dim = 4"],
        ["Tensor<[1, 1, 1, 16]> self = ?", "int dim = 4"],
        ["Tensor<[56]> self = ?", "int dim = -1"],
        ["Tensor<[28]> self = ?", "int dim = -1"],
        ["Tensor<[14]> self = ?", "int dim = -1"],
        ["Tensor<[7]> self = ?", "int dim = -1"],
        ["Tensor<[800]> self = ?", "int dim = 1"],
        ["Tensor<[50]> self = ?", "int dim = -1"],
        ["Tensor<[100]> self = ?", "int dim = -1"],
        ["Tensor<[0]> self = ?", "int dim = 1"],
        ["Tensor<[24]> self = ?", "int dim = 1"],
        ["Tensor<[300]> self = ?", "int dim = 1"],
        ["Tensor<[8732]> self = ?", "int dim = 1"],
        ["Tensor<[25]> self = ?", "int dim = 1"],
        ["Tensor<[64, 49]> self = ?", "int dim = 2"],
        ["Tensor<[16, 49]> self = ?", "int dim = 2"],
        ["Tensor<[4, 49]> self = ?", "int dim = 2"],
        ["Tensor<[64, 64]> self = ?", "int dim = 2"],
        ["Tensor<[16, 64]> self = ?", "int dim = 2"],
        ["Tensor<[4, 64]> self = ?", "int dim = 2"],
        ["Tensor<[10]> self = ?", "int dim = 1"],

You can run pytest tests/autogen_op/ALL/test_ALL_aten_unsqueeze_default.py --input_var_check_ttnn to reproduce it

The following reshapes in TILE format all have the equivalent behaviour to a transpose (dimensions are unpadded tensor dimensions and a,b,c,x are any number):
[x] or [1,x] or [1,1,x] or [1,1,1,x] -> [a,1] or [a,b,1] or [a,b,c,1]
or
[a,1] or [a,b,1] or [a,b,c,1] -> [x] or [1,x] or [1,1,x] or [1,1,1,x]
Note all reshapes must produce the same sized tensor so abc=x must be imposed
The following cases from above match the format that allows a transpose to be done:
["Tensor<[16]> self = ?", "int dim = 1"],
["Tensor<[23]> self = ?", "int dim = -1"],
["Tensor<[15]> self = ?", "int dim = 1"],
["Tensor<[2]> self = ?", "int dim = 1"],
["Tensor<[17]> self = ?", "int dim = 1"],
["Tensor<[30]> self = ?", "int dim = 1"],
["Tensor<[60]> self = ?", "int dim = 1"],
["Tensor<[120]> self = ?", "int dim = 1"],
["Tensor<[240]> self = ?", "int dim = 1"],
["Tensor<[480]> self = ?", "int dim = 1"],
["Tensor<[1, 64]> self = ?", "int dim = 2"],
["Tensor<[1, 512]> self = ?", "int dim = 2"],
["Tensor<[3]> self = ?", "int dim = 1"],
["Tensor<[320]> self = ?", "int dim = 1"],
["Tensor<[3234]> self = ?", "int dim = 1"],
["Tensor<[1, 320]> self = ?", "int dim = 2"],
["Tensor<[1, 640]> self = ?", "int dim = 2"],
["Tensor<[1, 1280]> self = ?", "int dim = 2"],
["Tensor<[16]> self = ?", "int dim = -1"],
["Tensor<[32]> self = ?", "int dim = -1"],
["Tensor<[64]> self = ?", "int dim = -1"],
["Tensor<[12]> self = ?", "int dim = -1"],
["Tensor<[1, 1, 1, 16]> self = ?", "int dim = 4"],
["Tensor<[56]> self = ?", "int dim = -1"],
["Tensor<[28]> self = ?", "int dim = -1"],
["Tensor<[14]> self = ?", "int dim = -1"],
["Tensor<[7]> self = ?", "int dim = -1"],
["Tensor<[800]> self = ?", "int dim = 1"],
["Tensor<[50]> self = ?", "int dim = -1"],
["Tensor<[100]> self = ?", "int dim = -1"],
["Tensor<[24]> self = ?", "int dim = 1"],
["Tensor<[300]> self = ?", "int dim = 1"],
["Tensor<[8732]> self = ?", "int dim = 1"],
["Tensor<[25]> self = ?", "int dim = 1"],
["Tensor<[10]> self = ?", "int dim = 1"],
This tensor is a special case that should simply return what was supplied
["Tensor<[0]> self = ?", "int dim = 1"],
The following tensors require a more complex fix to get working:
["Tensor<[64, 49]> self = ?", "int dim = 2"],
["Tensor<[16, 49]> self = ?", "int dim = 2"],
["Tensor<[4, 49]> self = ?", "int dim = 2"],
["Tensor<[64, 64]> self = ?", "int dim = 2"],
["Tensor<[16, 64]> self = ?", "int dim = 2"],
["Tensor<[4, 64]> self = ?", "int dim = 2"],
["Tensor<[1, 5, 1, 16]> self = ?", "int dim = 4"],
["Tensor<[1, 23, 40]> self = ?", "int dim = 3"],
We need a function to check for the above cases. The call to this function should be done in the function
ttnn::Tensor ReshapeViewOperation::invoke(const ttnn::Tensor& tensor, const ttnn::Shape& shape)
in the file
ttnn/cpp/ttnn/operations/data_movement/reshape_view/reshape.cpp
right after the lines that say:
// First Case, No reshape Required
    if (tensor_shape == shape) {
        return tensor;
    }

Refer to the transpose OP to perform a transpose in the kernel if the case matches. Transpose should be simple as it is a 2D column to a 2D row or a 2D row to a 2D column which means the elements in tile 0 are still in tile 0 but transposed, tile 1 is still in tile 1 but transposed and so on. You should NOT be calling ttnn::transpose as that is more general but has slow host transfers. The kernel API transpose_wh_tile in:
tt_metal/include/compute_kernel_api/transpose_wh.h
will do a transpose to a single tile. You just need to add a wrapper to do this operation for all the tiles in the system and copy the result to the same tile that provided the data and wrap all of that in a simple kernel code that is scheduled to run for the above cases.

Fallback issue solved in #450


Property CustomerLockboxEnabled doesn't exist for the cmdlet

CustomerLockboxEnabled doesn't exist (or is not exposed) on the Set-OrganizationConfig cmdlet.

Docs Build status updates of commit e4a328f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/organization/Set-OrganizationConfig.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit d6385ec:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/organization/Set-OrganizationConfig.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


feat(packages): update mcs-lite-* packages & react-scripts 1.0.0

Deploy preview ready!
Built with commit 28f7fe83316213665942f012efabe4a8d868cc62
https://deploy-preview-13--cra-boilerplate.netlify.com


Tracking profile

Spaces between tracking information (in the header) - currently none
Tracking age - in the Anitra format (fix API)

Gallery - if there is nothing to show, why show it at all?
Tracking actions???


Can I expand multiple views at the same time?

right now if I have an expanded view in a recycler view, and I try to expand another one, the first one is collapsed. I want to have to have multiple views expanded at the same time. Is this possible ?

I don't understand the question. Each ExpandableLayout works independently from the others.
Are you referring to the recyclerview example in the repository? You can remove the logic which collapses items when another is selected.

Hello,
Thanks for your reply! And yes I am referring to the recycler view example, I don’t know how to remove the logic , and I don’t seem to find a documentation on how to do that, can you help me with that ?
Thanks a lot,
Pierre Khoury
CCE Student – USJ ESIB
+96171217377

On Jan 3, 2020, at 6:01 PM, Daniel Cachapa<EMAIL_ADDRESS>wrote:
I don't understand the question. Each ExpandableLayout works independently from the others.
Are you referring to the recyclerview example in the repository? You can remove the logic which collapses items when another is selected.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/cachapa/ExpandableLayout/issues/82?email_source=notifications&email_token=ALQWDIMPMMYUEVIX2HFBPWDQ35OOZA5CNFSM4KCLQQ6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIBOI4A#issuecomment-570614896, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALQWDIOJ7SG4ESE7JLBW7W3Q35OOZANCNFSM4KCLQQ6A.

You'd be better off directing these sorts of questions to StackOverflow.
This issue tracker is intended for reporting bugs in the library, not general support.


How to get bio?

How Can I Get Bio?
msg.from.bio
Same as This Bot:(https://telegram.me/getidsbot)

bot.onText(msg) => {
 console.log(msg)
}

Next you can call properties of msg and send them

I couldn't find anything about bio. Can you make a Screen shot?

What bio info you need?

I mean this bot got my bio, how?

I do not think the bot is using the official Telegram Bot API to retrieve that information. Could you ping the bot creators? They could divulge that info for us.

Yep, He Said:

Some html scraping magic

.
Maybe he did parsing html!

If you want to get the bio of an user you should use github.com/danog/MadelineProto


Modular dependency injection error?

Hi John,
I am relatively new to AngularJS,  I have been reading your style guide and watching your videos hoping to set up a solid skeleton project to use on the front-end of a spring MVC app to demo for my team (and management)  at work so that we can step into this century for front-end development.  Unfortunately, as a state agency we are behind a pretty strict firewall, so NPM and the like are frowned upon.  We are also developing in a windows environment with an Apache Tomcat server on our local.
As a work-around to running the CLI, I manually copied down your Modular app, in hopes of using it as model.  But I am getting an [$injector:modulerr] right off the bat.

Being new to AngularJS, I'm not really sure where to go with this error message.
I tried adjusting the dependency injections on avengers.js, but that didn't help.
I don't know if this is because I'm using AngularJS 1.6.5? Because some of the build scripts (grunt/gulp?) may not be available without npm/node.  Or do we just need to go back to writing .jsps?
Any suggestions would be appreciated.  Thanks!

Good morning @RubyRabelle ,
Unfortunately, without npm/bower you will more than likely be missing a number of dependencies. This particular error I believe is saying that the router is missing, as it is a separate module. If you would please check the section in the index page, ng-demos/modular/src/client/index.html, under the comment  and ensure that all of the bower components are available to the project. Also as a side note if you are looking to mate spring and angular, you should checkout the JHipster project.
Hope this helps!


Update scalafmt-core to 3.5.9

Updates org.scalameta:scalafmt-core from 3.5.8 to 3.5.9.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report

Merging #106 (4c8c726) into master (e891276) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 4c8c726 differs from pull request most recent head 8d0151e.  Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[#3258] null pointer exception fixed.

made the changes mentioned in issue #3258
looking forward for any changes.

Missing import:
import java.util.Objects;


Deploy always fails when using a custom buildpack

I am using the standard digitalocean droplet (dokku v0.3.13) and trying to use this custom buildpack to host a static WebApp. I read the troubleshooting guide and enabled tracing. Using dokku trace on.
Every time I deploy there is the same bug when fetching a custom buildpack.
-----> Fetching custom buildpack
remote: + exit_code=128

And after that the push ends with:
 ! [remote rejected] master -> master (pre-receive hook declined)

I verified that docker has an internet connection as described here

How are you defining the custom buildpack? Can you share the contents of that method?

I have this export BUILDPACK_URL=https://github.com/florianheinemann/buildpack-nginx.git in an .env file in the root of my project and an additional .static file which is required by the buildpack.

Can you show the full deploy log?

Here it is.

Odd, exit_code 128 means that it's an invalid exit code that is being sent to exit...

Anything I could try to make it work? Do you need some more information?

It's failing inside the /build/builder (i.e. build phase) container. I just added some troubleshooting steps to the docs regarding this. If you haven't already, you may try the those steps listed under the section labelled I get the aforementioned error in the build phase (after turning on dokku tracing).
Let us know what happens when you attempt to download that buildpack from inside the build container.

I did everything listed there. I also run git clone https://github.com/florianheinemann/buildpack-nginx.git from within the docker container without any issue.

Stupid question perhaps, but do you get the error if you try deploying again?

My hypothesis is that git exits with 128; which can mean all sorts of things based on the source code. Basically the checkout failed for some reason but the script hides the output...

I did it nearly 50 times now.

Well we're going to need to dig into the build container more and understand what is failing with exit code 128.
Is there any additional configuration (volume/network) that we should know about? I'm not too familiar with DO.
Alternatively you might want to try spinning up a new droplet to see if the problem persists.

I tried it with a new project (completely empty, just requiring the custom buildpack).
Without the custom buidpack everything is working fine.

Yeah without the custom buildpack just bypasses the problem. Did the new empty project that required the custom buildpack also fail?
Another thing to try is including a different buildpack. You might try deploying https://github.com/heroku/node-js-sample and including a .env file that has export BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-nodejs.git in it. Would be interesting if it fails in the same manner.

That is working. Strange.

I'm not sure this is primary use case of dokku. However, the way you are attempting to host a static site is exactly how we do so in our test suite.
https://github.com/progrium/dokku/tree/master/tests/apps/static

@FWeinb were you able to debug this any further? Feel free to hop on irc if you'd prefer more real time assistance.

@FWeinb from the looks of it on IRC, you got sorted out?

@michaelshobbs Thanks for your help. I just created a new repo and first committed just the .env and  .static file, adding the application files afterwards (after the first push to the server)

I am having this issue now. Would either @FWeinb or @michaelshobbs be willing to explain what the resolution was?
Having the .env and .static files committed to the repo did not fix it for me.

@marothstein can you open another issue with the full output of your deploy (after running dokku trace on) in a gist?

@josegonzalez I ended up getting passed this by re-adding my SSH keys properly, but I'm still having quite a bit of trouble running a static application.
Current error is:
bin/nginx: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory

I'm having the same issue:
.env:
export BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git

deploy:
Pushing to dokku@146.185.xx.xx:test
Counting objects: 4391, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1630/1630), done.
Writing objects: 100% (4391/4391), 2.56 MiB | 308.00 KiB/s, done.
Total 4391 (delta 2576), reused 4371 (delta 2561)
-----> Cleaning up...
-----> Building databoard from buildstep...
-----> Adding BUILD_ENV to build environment...
-----> Fetching custom buildpack
To dokku@146.185.xx.xx:databoard
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@146.185.xx.xx:test'

@alex88: I was able to make mine work by removing the .env file and doing
dokku config:set <appname> BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git


[RULE] Migrate to App Gateway WAF policy

Existing rule
No response
Suggested rule
App Gateway V2 supports two configuration modes for WAF:

Reference an existing WAF policy reference via properties.firewallPolicy.id.
Specify the WAF configuration via setting the properties.webApplicationFirewallConfiguration. This option is deprecated for retirement on 15 March 2027.

The rule should identify cases when properties.webApplicationFirewallConfiguration is configured and provide a recommendation to use a WAF policy instead.
Pillar
Reliability
Additional context

https://azure.microsoft.com/updates/retirement-support-for-application-gateway-web-application-firewall-v2-configuration-is-ending/
https://learn.microsoft.com/azure/templates/microsoft.network/applicationgateways
https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.AppGw.MigrateV2/

:shipit:


Request for CLA signatures

@patricksan @srynot4sale @ibizaman Do you all mind signing the CLA for your contributions? I used the online contributor agreements website which was funded by the Shuttleworth Foundation which provided me a 2 year fellowship.
You can sign it easily by signing in with your github account. It's been wired up to automatically scan PRs to ensure all contributors have signed.
https://cla-assistant.io/jmathai/elodie

It is done.

Thanks @ibizaman

@patricksan and @srynot4sale could you have a look at the CLA? Happy to answer any questions. https://cla-assistant.io/jmathai/elodie

@patricksan and @srynot4sale could you have a look at the CLA? Happy to answer any questions. https://cla-assistant.io/jmathai/elodie

It is done! Much easier than what we had in the past. :+1:

It is done! Much easier than what we had in the past. :+1:

Done (sorry, was on holiday)

Thanks @srynot4sale @patricksan @ibizaman


Use riding info, if available, to email a story to the correct MPP

This PR implements issue #92, completing the work involving postal code data.
For stories that can be mapped to a riding via postal code FSA (in Ontario only), they will be emailed to the correct MPP, with the default recipients (the Premier, Health Minister, etc.) on CC. A bit of the language in the email is also tweaked as per the template.
If available, the location, riding, and MPP are also shown for each story in the admin console, and hotspot postal codes are indicated by a fire emoji.

Whoops, I accidentally included a file that I was using to test something out. Removing it and force-pushing...

📝Changed routes:

/_admin

(view full size)

And 1 other route:

/api/admin/update

Commit b4ac6d5fe9f4849fd510f66ce3d9cddeef9e68d9 (https://www-r8jqoa75u-my-covid-story.vercel.app).


Fix some compatibility issues for building on some platforms

There is a file that was added/changed to include pystring which is a regression to the changes in #1901 which fixed problems with the include directory of pystring by removing the pystring/ directory prefix from the include path.
I also suggest adding std for strlen which also otherwise fails to build in some compiler/OS constellations, at least when building for conan.

Please feel free to use my suggestions. To my understanding I'd need to publish my postal address (that is what I assumed is meant by "Mailing Address" in the CLA form) to sign the CLA which I currently don't see doing as this seems shady to me.

Thanks @irieger, the pystring issue should be fixed by #1921 but the namespacing of strlen looks good.
Not sure why the CLA wants the postal address, any idea @carolalynn22 ?

Hi! All Linux Foundation CLAs require some sort of physical address, it's pretty standard practice in open source. When you contribute under a company CLA, you get to use your company's address instead, so it seems less "personal". I understand being uncomfortable with it - if you would like to read more about the CLA & LF's data protection / security standards (which are pretty good) here's the link: https://www.linuxfoundation.org/legal/privacy-policy

Regarding std::strlen, I see a number of other places using just strlen, you didn't encounter issues with those?

Regarding std::strlen, I see a number of other places using just strlen, you didn't encounter issues with those?

That was the only issue when packaging for conan at least.

Hi! All Linux Foundation CLAs require some sort of physical address, it's pretty standard practice in open source. When you contribute under a company CLA, you get to use your company's address instead, so it seems less "personal". I understand being uncomfortable with it - if you would like to read more about the CLA & LF's data protection / security standards (which are pretty good) here's the link: https://www.linuxfoundation.org/legal/privacy-policy

Thanks for the hint. However just having a quick scan through this already makes my feeling about the linux foundation worse than it was before. Openly using tracking is just shit, especially for an organization that I thought was proposing Open Source philosophies. There is no technical need for tracking users. If this was a company contribution I wouldn't care much about the address topic but as this is free time work I'm happy for the team to copy my suggestions but I'm not willing to dive into such a lengthy legal document in a non-native language that doesn't provide me anything but making me more angry about an organization that I thought works for open things. (Part of the open source philosophy for me is to give the users the freedom of their data!)

@irieger totally respect your position. Thank you for the pointers regardless!

Closing inactive PRs.


Radialm

Please attach a copy of config.yaml or config.ini to the issue.
Radial mount is not working for me all of the other addons work but radial just doesn't pop up in game I know the file is running because it doesn't let me delete it when the game is running.   .
I'm not  sure how I would reproduce it for other people.
the addon is installed.

It's not working for me either. I've tried installing it manually and by itself. Radial is the only mod not working and it's the quality of life that i play with primarily.

If gw2addon_gw2radial.dll is in /addons/ make a new directory called gw2radial and put it in there
Should look something like "/Guild Wars 2/addons/gw2radial/gw2addon_gw2radial.dll"

d3frost that's how already have it


I called two quickOpenService.input methods in sequence. But only the first appeared.

VSCode Version:1.7.1

OS Version:
  let host: string;
  let user: string;
  return this.quickOpenService.input({prompt: nls.localize('inputAddress', 'Enter Address or IP of the remote host')}).then(value => {
  	if (!value) {
  		return;
  	};
  	host = value;
  	return this.quickOpenService.input({prompt: nls.localize('inputUser', 'Enter user name of the remote host')}).then(value => {
  		if (!value) {
  			return;
  		};
  		user = value;
  	});
  });

I called two quickOpenService.input methods in sequence. But only the first appeared.

This is https://github.com/Microsoft/vscode/issues/6146. As a workaround you would have to add a timeout before showing the second picker.


Converting tiny YOLOv4 to h5 format

Hi @sicara Can we convert tiny_yolov4.weights file to h5 format using this repo ? or u just write the code for YOLOv4.weights?
Thanks for your work......

Hi @sicara Can we convert tiny_yolov4.weights file to h5 format using this repo ? or u just write the code for YOLOv4.weights?
Thanks for your work......

Can we?


Store first line in filename to avoid lookup at runtime

Right now, with >5000 clips, it can get fairly slow. It might be better to just store the first line in the filename instead of the MD5, since we can uniquely identify with that too (or at least, we do anyway).

Chris, what do we need date & md5 for in the file names?

clipmenud only creates a new clip if the old one wasn't the same, so this should not have any perf changes. What are your metrics? :-)

In regards to ca14137: md5 calculation is a heavier operation than just outputting the current date/time.
As for the line counting (wc -l in fce6871), I measured it: 1.5 seconds vs. 0.9 seconds without it.

Right, I'm not asking you that. I'm asking you why you think this is optimising when we only use this code path when we're already in the process of creating a new clip. It's not like it runs on selection.

As for moving the line count to clipmenud, I don't see where you actually get the line count to display it in dmenu any more.

I'm still unsure what you may be referring to: Which commit? What do you mean by "code path"?
The rest will follow these days. (Note that the commit message states "not displayed yet".)

Partially cherry picked https://github.com/cdown/clipmenu/commit/ca1413715f297ebc7bab85239b39b270dd0ded43 to 3aa3a8d49b40277115e2474aefa1997b785013a6. Will think more about the other one.

Using a less common, but similar symbol like the fraction symbol seemed like a good way to handle this issue (a36658f).

Apart from any further bugfixes fd1b230a should close #20.
You may also want to have a look at branch notimestamp (eg 3259148a). It's less flexible formatting-wise, but another 30% faster than fd1b230a. Thus, personally, I'd opt for that one.

(Tackled the mentioned flexibility issue by formatting in the daemon. See 01b77abc for a current example.)

Using a similar symbol is not really an option because it's not guaranteed that the user has a font supporting this character. It's also not guaranteed to render very well, even if it does.

I can't help the feeling that you have yet to give the actual code a close look.
As for the GSI/clipmenu "20" branch the separator is never even shown.

Ah, I see. Yes, that looks ok to me.
Please don't use UPPER_CASE for non-environment variables, though, since it violates convention.

There are also a few quoting problems where $CACHE_DIR may be wordsplit in your commits.

As for sorting by datestamp -- conceptually ok, execution needs cleaning.

These commits are heavily interdependent, and likely some will be accepted, and some not. I can either keep on cherry picking and working them in, or feel free to submit independent ones as PRs.

Perf is way better in 2.0.0, and clipmenu has come a long way. Feel free to let me know if you still need this. :-)

I have not followed further development, since I doubt it can outperform the filename approach in speed & simplicity.
Also I have been unable to find any proof for your assumptions regarding conventions.


How to translate?

Hi!
Where are they located and how to translate the file. to change the interface of the constructor to another language? (block name and so on)

hello @slagusev
Go to config/lg.php and define your languages in languages array like below
<?php

    return [
        // routes configurations
        'builder_prefix' => 'hello', // prefix for builder

        'middleware' => null, // middleware for builder

        'frontend_prefix' => '', // prefix for frontend

        /* Define additional translation languages. */
        'languages' => [
            'ar',
            'es',
        ],
    ];`

after that go to your page builder and select the text and select component settings you will find your languages local write your translated text and Laravel Grapes do all the magic for you.
please read the documentation at page content select translation.


Update annotations for xspec.result.html and xspec.coverage.html Ant properties

This pull request derives from #525. So needs to be handled after that.

Closes #526
This pull request updates two comments in build.xml to reflect their documentation status.

@cirulls
Merged this update of comments.


Dyson link should have the possibility to clear action

When you selected an action in the Dyson link node, it should be possible to clear the action. When the item is selected once, it is not possible to clear it.
This makes sending JSON with the action included useless, because the action is overruled by the action field. The possibility to clear the action prevents the need for the user to create a new node.

Isn't overruled as I thought. Won't fix.


[ENH, BUG] Adding to and Fixing Blender Tutorial

First, the link to the Blender YouTube tutorials has broken here https://mne.tools/dev/auto_tutorials/forward/80_fix_bem_in_blender.html and also in general Blender has updated to version 3.0 which as I've heard is a top to bottom rewrite so I think everything in a screenshot is out of date or at least should be checked that things are still in the same place.
Second, and relatedly on a larger note, I think even though pyvista and mne.viz.Brain are amazing, it would be nice to have a more general example to leverage the super figure generating power of Blender. I think MEG, EEG and iEEG (and maybe also fNIRS) would be super cool to export as .obj files with more of the style of once you do this, go at it however you like in Blender. I think this more hands off approach and treating Blender as just the plotting software for the last step is a lot more maintainable since Blender is pretty fast-moving. I do think the tutorial is super useful but I think the overhead with checking them every Blender version and updating screenshots/remembering to check that they work since it's not covered by CIs is a bit cumbersome. And, I think the blender documentation is really good so maybe we could just link there instead of having Blender use documentation in MNE. I think it might be a conversation worth having to do a bit of refactoring to make sure things don't get out of date, but still contain very useful information in the tutorial while adding an example with sensors and not just surfaces.

I am in favor of cutting it down. But let's have some links to specific parts of the Blender documentation that are helpful. Blender is a huge software package.

I've added this to the 1.1 milestone, is anyone actively working on this?

Yes! It might be more portable to put the color of the vertices in an obj file though so that there isn't any bpy scripting if it can be avoided.

Is there a way to animate that?

@hoechenberger I think we can remove the specific blender instructions and instead point to specific parts of the official blender documentation quite quickly. Building a better MNE-Python <-> Blender bridge (either by exporting files that Blender can read, or scripting Blender to read MNE-Python object) will take more time and should probably not be scheduled for the next release.

Yes! It might be more portable to put the color of the vertices in an obj file though so that there isn't any bpy scripting if it can be avoided.

Is there a way to animate that?

I'd really want to look into that, that would be very cool and portable!

@hoechenberger I think we can remove the specific blender instructions and instead point to specific parts of the official blender documentation quite quickly. Building a better MNE-Python <-> Blender bridge (either by exporting files that Blender can read, or scripting Blender to read MNE-Python objects) will take more time and should probably not be scheduled for the next release.

I would like to see fixing the links done before the release. +1

Sorry I've been busier than I thought, maybe just push this to 1.2.

No worries, @alexrockhill! Will push


[BUG]404 The model gpt-4-vision-preview has been deprecated - Vision API

When I tried to upload an image on the chat to extract some infos, I got a 404 error "The model gpt-4-vision-preview has been deprecated"
To Reproduce

Add a Conversation Chain
Connect a ChatOpenAI on the Chat Model and choose the model "gpt-4o (latest)"
Premier Image Chatflow.json
Allow Image Upload on the previous module
Connect a buffer memory to "Memory" on the Conversation Chain
Launch the chat, upload an image, and ask him to describe it

Expected behavior
I would expect the extracted information once I uploaded my image.
Screenshots

Flow
Premier Image Chatflow.json
Setup

Installation [e.g. docker, npx flowise start, pnpm start]
Flowise Version 1.6.5
OS: Linux
Browser: chrome

Additional context
N/A

Try updating Flowise, 1.6.5 is quite out of date.

Try updating Flowise, 1.6.5 is quite out of date.

Ok will do thanks

It fixed, thanks @ryanhalliday


Dont cache inside docker image

Adds flags to pip and apk commands in the Dockerfiles to prevent those tools from caching data inside the Docker images.
YMMV as always in terms of space savings, but not caching these items is generally considered a best practice for containers.
$ git checkout master && docker build -t azure-cli:before .
$ git checkout dont-cache-inside-docker-image && docker build -t azure-cli:after .
$ docker images
REPOSITORY         TAG       IMAGE ID            CREATED             SIZE
azure-cli          before    408d8e5affc2        3 days ago          500MB
azure-cli          after     285a1d5f2499        3 days ago          482MB

@mboersma,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Looks good to me. @derekbekoe?


Migrate to c++17

I see a lot of TODOs referencing c++17.  Are we good to resolve them as c++17 support is pretty much there?

We won't be requiring C++17 until at least 2027, so emphatically NO.
The support promise is that we support a particular version of C++ until its successor has been out for at least 10 years.  This is stricter than the absl's policy because Emboss targets embedded platforms, whose toolchains historically lag.


introspector: drop node 14

Is your feature request related to a problem? Please describe.

Update package engines stanza to >=16.
Update versioned tests engines to remove 14

Package doesn't have an engines stanza, and this doesn't have versioned tests.

We should at the very least add an engines stanza


Support transactions in server tests

In #298, we skipped some tests because our database testing setup wraps each test in a transaction, but the test code needs transactions to close in order to function. (See more in this comment: https://github.com/usdigitalresponse/univaf/pull/298#discussion_r664765210, or #100 where we added utilities to wrap tests in transactions.)
What we should probably be doing is truncating all the application tables after each test (note this is specifically application tables, since we don’t want to blow away PostGIS support tables, etc.). We should probably have a list of tables not to truncate, and otherwise just iterate through all the tables and truncate them after each test that uses installTestDatabaseHooks: https://github.com/usdigitalresponse/univaf/blob/fe25a3a94975064d8c1457d94fd9173c85757ae9/server/test/lib.ts#L70-L75

There is a Knex plugin designed to help with this: knex-mock-client.


Illegal offset type error with typography

Issue description:
I get error when using latest version - Warning: Illegal offset type in plugins\kirki\includes\output\control\class-kirki-output-control-typography.php on line 19
Version used: 2.2.0
Using theme_mods or options?
Theme mod
Code to reproduce the issue (config + field(s))

@qerrapress Can you please download the plugin from this repository and test if that fixes your issue?
I'll be releasing an update later today and I'd appreciate a confirmation that this has been fixed :+1:

It's fixed.


BCC is missing for received emails

I created a service that handles inbound emails for a certain domain, let's say example.com.
When I send an email with<EMAIL_ADDRESS>as the only bcc, mail.bcc returns that email address<EMAIL_ADDRESS>However, when I send an email with more than 1 BCC (i.e<EMAIL_ADDRESS>and another email address), the mail.bcc returns an empty array.
I understand the the other email address shouldn't be returned.
I wanted to know the email address in our domain where the email was bcc to. If there's only one BCC, the mail.bcc works. But if multiple BCC, mail.bcc doesn't work.
Could this be a bug?  Or is there another way around?
Thank you!

BCC handling depends on the original mail sender and your mailserver. Both typically strip the BCC header if it's present.
Depending on your mailserver, you can see who received the message, at least. Check out X-Original-To and Delivered-To for Postfix.
To diagnose further, take a look at the raw headers on the original message to see which recipient headers are included.


Custom collections not working in ssr: false when all icons are rendered with svg mode

It doesn't matter wether you specify svg via app.config.ts or via mode prop of the Icon component.
Reproduction branch: https://github.com/zigomir/icon/tree/local-fs-svg-issue-reproduction and diff https://github.com/nuxt/icon/compare/main...zigomir:icon:local-fs-svg-issue-reproduction
Workaround is to include at least one icon from the custom collection in css mode like so:
<template>
  <Icon
    name="custom1:nuxt-v3"
    size="64"
    mode="svg"
  />

  <!--
    WORKAROUND: load at least one icon in css mode to make svg mode work.
    It doesn't even have to be the same icon
  -->
  <Icon
    style="display: none;"
    name="custom1:nuxt-v1"
    size="64"
    mode="css"
  />
</template>

This might also be related to https://github.com/nuxt/icon/issues/212

This did not fix #212


Move MultiSigWallet and TokenHolder functions to Library contract.

Go through MultiSigWallet and TokenHolder contract. Find and move those functions to a library contract.
e.g. bytesToBytes4 method of TokenHolder can be moved to library contract.

TokenHolder v2 implementation will remove MultiSigWallet from openst-contracts.


Jacob Coe stuck when console commands are used.

When I use console commands like healratemult, starpower, damageresist, playerpersuasionsuccesschancemult, Jacob Coe and Sam are stuck during the quest "The Empty Nest" and upon clicking on them it says "This individual is busy".

Details
Quest "The Empty Nest"
Game Version
1.7.33
New Game
Yes
Reproduction Steps
Using Player Actor Value Console commands cause this.

Same thing also happening with Nora during the quest "High Price To Pay"


Playbook for hub integration

We need a playbook to explain how a hub would integrate our library and what verification needs to be supported. Here is a list of integration paths (not necessarily in the right priority order, which may depend on hubs)
Hub + UX
The hub verifies the signature and adds a "Signed by X" in the UX. The hub accepts any signer
Hub with identity enforcement
Hub enforces that the right signer has signed the model. The "right" signer is not always obvious. A proposal is to have TOFU (trust on first use), ie trust the first identity that uploaded the model. Any change in identity needs to be challenged via, eg 2FA. Because certain models may be uploaded by different users, we may have to trust on first k signers. This may be a configuration settings that, if it need to be changed, requires a user challenge (2FA). Details TBD
Hub provides list of signing history
The hub keeps metadata and evidence (signatures) about who signed the model for different model versions. The list is displayed via UX, may be available thru a REST API. This allows anyone to monitor for signing identity changes.
Hub provides immutable list of signing history
Like the previous point, but stores the history in a transparency log. This reduces the trust in the hub.
Client verify with expected identity
The hub framework API (e.g., huggingface API) lets users verify model given a set of identities (PKI, Sigstore identity). This is mostly useful for users who know who sign the model, so likely most useful when a user verified their own model.
Clients trust a third party to verify
In this case, the client trusts a third party for verification and does not provide a signer identity to the framework API. Trusting a third party is often necessary because the identities of the legitimate signers is difficult to determine, and legitimate changes to signer identities is hard to assess. The third party would typically be the hub (which performs verification, ideally with "identity enforcement" point 2 above) and / or the monitors (when a transparency log is used to monitor identities). The hub may attest to verifications by issuing an attestation "I, the hub, have verified model X [with config Z], and the signature for this model can be found at Y". Z could be "identity verified and enforced thru 2FA, etc". The attestation may be verified on the client side when loading a model. (Trusting the TLS connection to the hub is a good first step without the need to verify an attestation from a hub / transparency log)
@McPatate please feel free to share your thoughts.

CC @haydentherapper as we were discussing this too

Thanks for the writeup @laurentsimon.
FYI on our side we usually integrate standards/formats/3rd-party tooling on the hub when we observe sufficient usage within the community to justify the integration.
Nonetheless, the places where I see this has the most value is in the web UI of the Hub & in (huggingface_hub)[https://github.com/huggingface/huggingface_hub] or any call to download model weights (or any other file? Are datasets in scope?).
The easy part imo is displaying the signer or some metadata contained in the cert in the UI.
Re:

Hub with identity enforcement

I'm not convinced that you must be the owner of a certificate to upload it to your repository; usage of a non-owned model could definitely be legit, e.g. a fork of a repo. And by owned I mean the identity linked with your account must be present in the cert.
The above seems to make more sense in the context of an enterprise, but then again, can specific people sign on behalf of the org?
Side question, does a certificate support a signing chain? Say Meta releases Llama-4 and I fine tune that model, will I need to overwrite the cert entirely or can there be proof that I modified the original file?
I agree though that matching a Hub username to his private key / cryptographic identity is a useful feature (sorry if that's incorrect, not very up to speed on how the certs are created). I would be careful though before displaying "safe" or "unsafe" badges all over the UI.
My gut feeling is telling me I'd rather rely on an external identity provider to confirm "ownership" than TOFU.

+1 to Laurent. We need SLSA to record the provenance of downstream models.


Fix launcher for reading env vars

The system does not recognize the env setting with f"export {key}={quote(val)}; " I tested in on AWS cloud, and EFA is not properly setup with the latest DeepSpeed. I roll back to the previous version where exports += "export {}={}; ".format(key, val) was used and EFA can be recognized.

@szhengac, I don't understand why this should be an issue. Is it a function of python version?

@tjruwase, for example, if key=LD_LIBRARY_PATH and val=/opt/amazon/efa/lib64:/opt/aws-ofi-nccl/lib:$LD_LIBRARY_PATH, f"export {key}={quote(val)}; " gives us "LD_LIBRARY_PATH='/opt/amazon/efa/lib64:/opt/aws-ofi-nccl/lib:$LD_LIBRARY_PATH';" while exports += "export {}={}; ".format(key, val) gives us 'LD_LIBRARY_PATH=/opt/amazon/efa/lib64:/opt/aws-ofi-nccl/lib:$LD_LIBRARY_PATH;'. The former one does not work on our system.

Got it. Thanks for the explanation. I don't fully understand the nuances of single and double quotes in python. But the change looks fine.


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1593 ms

Resolved: Bofrost.be performance has improved in 375f50d after 26 minutes.


Feature Request - Support for Distributed Memory Keystores with BloomFiltering

Is it possible to add bloomfilter via distributed service like memcached or redis to use with Keyhunt?
Rather than using a system with a ton of ram, you would be able to distribute this across multiple services instead, which in theory would speed up the hunting.

let me check about that


Pine cone hints are inconsistent

If you place down a pine cone, you'll get the hint ("press SPACE to pick up"), but you won't get it again if you move the cursor away and back to it.
Potentially related to #14 though unlikely because the pine cones can still be picked up after placed

Hints are removed now so this isn't an issue


Picker child with condition

React Native version: 0.57
System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
Memory: 1.46 GB / 7.92 GB
Binaries:
Yarn: 1.13.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
Watchman: 4.9.4 - D:\watchman\watchman.EXE
IDEs:
Steps To Reproduce

go to https://snack.expo.io/@cooper47/mad-waffle
change picker and see the error

I want to add an Picket.Item with condtion
Also I ask a question in https://stackoverflow.com/q/56439734/1827594 and I think it's a bug
Snack, code example, or link to a repository:
https://snack.expo.io/@cooper47/mad-waffle

#23748 #23884 These two solve the issue for android. Currently they are in master not yet released.

still no luck, after condition changed ( for example I have 3 child and on condition changed I got 2 ) I get error
error message : length=1; index=3


Submissions

https://github.com/moonbringer/Testnet3-Challenges/tree/main/Bakers (to see the submissions of the tasks in order).

Node name
pawleo
Node ID
311ee5063d491070
Baker ID
405

rejected:B1
reason:runtime significantly lower than 30 days

confirmed:ID1
account1:4gvpLYHVnpBwfdYtVzHwsY2n7WuPFzYJDhQow3sK1b9EbtMUto
account2:4Rtb8TqnBTQ1VdymeXotGMqUd7ECUWu6KETpNVmySBZPFYQEhF

confirmed:B2

confirmed:B2

confirmed:B3

confirmed:B3

confirmed:B6

confirmed:B6

confirmed:ID2
account1:4KLokevVfP3UHCpb6BN8CMZVBK7Xu8ynPnPJymb8gvHekACajD
account2:3aSPNHAg344fKUM1wcmHP9o9W9CUXv3TMVWejQnvmF3gApyx3U
PublicDataAttributes:Verified
DeviceMake&Model:Verified

confirmed:ID2
account1:4KLokevVfP3UHCpb6BN8CMZVBK7Xu8ynPnPJymb8gvHekACajD
account2:3aSPNHAg344fKUM1wcmHP9o9W9CUXv3TMVWejQnvmF3gApyx3U
PublicDataAttributes:Verified
DeviceMake&Model:Verified

confirmed:ID4
AccountAddress:4KLokevVfP3UHCpb6BN8CMZVBK7Xu8ynPnPJymb8gvHekACajD
DeviceDetails:verified

confirmed:ID4
AccountAddress:4KLokevVfP3UHCpb6BN8CMZVBK7Xu8ynPnPJymb8gvHekACajD
DeviceDetails:verified

pending:T1
account1:46yMDD5XFLDZatTfmMmXnoNTdziQ4pr51jhYrJZCwvZN7t6AAL
account2:4j5g2csX3KdqdhBDi6r49avLFVieTeXvBHPkC36y7Cy8z3hb7m
DeviceDetails:verified
Screenshot:missing
We cannot fully verify this submission. Please provide us with screenshots with all transactions.
@moonbringer

pending:T1
account1:46yMDD5XFLDZatTfmMmXnoNTdziQ4pr51jhYrJZCwvZN7t6AAL
account2:4j5g2csX3KdqdhBDi6r49avLFVieTeXvBHPkC36y7Cy8z3hb7m
DeviceDetails:verified
Screenshot:missing
We cannot fully verify this submission. Please provide us with screenshots with all transactions.
@moonbringer

pending:T2
account:screenshot-TBC
reason:We cannot fully verify this submission. Please assist us in typing out the account addresses for T2 in full as text in a comment on this PR. Thank you!
@moonbringer

pending:T2
account:screenshot-TBC
reason:We cannot fully verify this submission. Please assist us in typing out the account addresses for T2 in full as text in a comment on this PR. Thank you!
@moonbringer

confirmed:B4
address:3RmKQpoAR5BX1gCfsaUHgB5VFwbrSXGwEwhPF3oVEb4bWeiAZ7
baker:1325

confirmed:B4
address:3RmKQpoAR5BX1gCfsaUHgB5VFwbrSXGwEwhPF3oVEb4bWeiAZ7
baker:1325

confirmed:T3
address:3UZEo7rjY4DrhmbVf5APdwBMeNHnMZgafgrYwVxz7hb58QoNGR

confirmed:T3
address:3UZEo7rjY4DrhmbVf5APdwBMeNHnMZgafgrYwVxz7hb58QoNGR

confirmed:T4
address:3UZEo7rjY4DrhmbVf5APdwBMeNHnMZgafgrYwVxz7hb58QoNGR

confirmed:T4
address:3UZEo7rjY4DrhmbVf5APdwBMeNHnMZgafgrYwVxz7hb58QoNGR

confirmed:T2
account1:46yMDD5XFLDZatTfmMmXnoNTdziQ4pr51jhYrJZCwvZN7t6AAL
account2:4j5g2csX3KdqdhBDi6r49avLFVieTeXvBHPkC36y7Cy8z3hb7m

confirmed:T2
account1:46yMDD5XFLDZatTfmMmXnoNTdziQ4pr51jhYrJZCwvZN7t6AAL
account2:4j5g2csX3KdqdhBDi6r49avLFVieTeXvBHPkC36y7Cy8z3hb7m

confirmed:T1
account1:46yMDD5XFLDZatTfmMmXnoNTdziQ4pr51jhYrJZCwvZN7t6AAL
account2:4j5g2csX3KdqdhBDi6r49avLFVieTeXvBHPkC36y7Cy8z3hb7m
DeviceDetails:verified

confirmed:T1
account1:46yMDD5XFLDZatTfmMmXnoNTdziQ4pr51jhYrJZCwvZN7t6AAL
account2:4j5g2csX3KdqdhBDi6r49avLFVieTeXvBHPkC36y7Cy8z3hb7m
DeviceDetails:verified

confirmed:B5
address:3BMQopCDh1GNKcZoKLBg2jFFh5T8zBgkBzjn7AWCjFJ2B24zsq

Form Submitted. GMT+03:00 23 April 2022, 20:44


This adds an additional method to RepositoriesService to download a file

This is a followup to #182.  This provides a consistent way to download files regardless of whether they are over 1Mb in size.

Looks like I'm confusing your cla/google check again with my dual identity.  Sorry.  I should have submitted this as my other self.  Let me know if you want me to re-submit as the other user.

Is this submission OK or would you like me to change it in some way?

/cc @willnorris

Overall this looks great, thanks!  I left a few comments, mostly just relating to docs and more explicit var names.

(and thanks for the ping @parkr. somehow I managed to stop watching this repo, which makes no sense at all :angry: )

I made all but one of the suggested changes.  I requested a bit more guidance on what you want in the case of the path argument (see above).

what do you think about simplifying the function docs a bit?

@willnorris Sorry, forgot to adjust the docs.  Should be done now.  I just went with your wording
which was was fine for me.

looks great, thanks!  We'll definitely want some tests on this as well.  I'm happy to add those myself, or you can take a stab if you want.

I considered the tests.  But I wasn't quite sure what your guidelines were for "mocking" GitHub in this case.  I'm happy to help, but it wasn't clear to me what you would be looking for there.

Most (or maybe all?) of our tests work with a single request-response pair, and then just have multiple tests methods to test different responses.  That certainly makes for more boilerplate code than I would typically care for, but for most of our tests it isn't too bad and allows us to have very clear error messages.  In hindsight, had I known about gomock at the time I started on this, I might have done things differently, I don't know.
The tests for this will be slightly more complicated than most of ours since in the success case, you actually need to register two handlers on different URLs, but the same pattern we use elsewhere should work.  I'll go ahead and take a first pass at it.

Just updated PR to use s.client.client.

awesome.  I just rebased onto master, squashed commits down and merged as c9d6108f1456ea668b9543a40e63a0e88175e0e5.  You can see how I did the tests in 6d44ada0e0e255873723fc4a143a754c4ed1247a if you're curious.

Very nice.  Thanks!


Add Code Flows to finding's description for SARIF test results

This adds the "CodeFlows" part of SARIF results to the findings description (partly resolves #6600) to make the finding more understandable.

@fhoeborn-cb Please fix flake8 errors

@Maffooch Sorry, oversaw that - fixed now

This is a good patch. thanks for your contribution!


Hardware accelerated floating point functions

https://github.com/Kuratius/sm64/commit/ace0e206ebab999da123168f7ff2dec482f34351
I tried implementing hardware accelerated fdiv and sqrtf functions, I also tried writing an fmul implementation that should be somewhat faster than the default.
There's also a rounding implementation that avoids float adds:
https://github.com/Kuratius/sm64/commit/515fc97a55f15f83fc8531c9e7f63c186237860b
Note that the fdiv and sqrtf use the hardware divider and square root unit while doing other stuff for the float handling instead of blocking; that may mean that handling of NaNs and other invalid values could be added without changing the performance of these functions.
Also note that they do not handle invalid values such as NaNs, overflows, underflows,  and infs in a proper way.
I think most of the compiler option reshuffling isn't necessary, only the --use-blx --wrap and -u flags are a actually necessary to get it to use these functions instead of GCC's default soft float implementation.
I noticed some minor graphical issues (like 1  frame every few seconds that looks wrong) when using these, but it's hard to tell what causes that, if NaN handling is required or if something else is going wrong. Probably don't add these to the project by default unless that gets tested further.
This also should be benchmarked in more detail.
I'm opening this issue so that the discussion about this isn't hidden away in the discord.

if ((exponent<=(1<<23))){
This line in div.c should probably be < instead of <= strictly speaking

https://github.com/blocksds/libnds/commit/747890e0aec2fb78b01086f1632ae7b97ac2f807
The hw sqrtf has been merged into blocksds and it now also has NaN support.


strange repeating sanitation

I have a weird output in my sanitized emails:
Subject: (mortonda at dgrmm.net) (mortonda at dgrmm.net) (mortonda at
 dgrmm.net) (mortonda at dgrmm.net) (mortonda at dgrmm.net) (mortonda at
 dgrmm.net) (mortonda at dgrmm.net) (mortonda at dgrmm.net) (mortonda at
 dgrmm.net) (mortonda at dgrmm.net) (mortonda at dgrmm.net) (mortonda at
 dgrmm.net) (mortonda at dgrmm.net) (mortonda at dgrmm.net) (mortonda at
 dgrmm.net) (mortonda at dgrmm.net) (joe1 at example.com) Confirmation
 instructions
Mime-Version: 1.0
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: Maia Mailguard 1.0.2

:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>X-Sanitize-Email-To<EMAIL_ADDRESS>

Welcome joe1@example.com!

@pboling this issue is now happening consistently for me in my dev environment running pow and Application.config.cache_classes=false.
I think it has something to with with how the register_interceptor call is being made with an instance instead of a class/symbol.  At https://github.com/mikel/mail/blob/df48a05a7fb5a4271e6df12da7afb26a53494a18/lib/mail/mail.rb#L223 you can see the code handles ignoring duplicate symbols, but since we are passing an instance, that code won't detect dups.
In my dev environment, the code is being reloaded on every request, so there seem to be many instances getting registered, so you end up with repeating subject prefixes and x-sanitize-email-to headers as the number of requests goes up.

@gsar

The code in action mailer you linked to is constantizing the symbol/string passed in, or accepting whatever else is passed in without conversion.  So it normally registers a constant Class.  We should be registering a Class then, rather than an instance.  I will look into how that would affect functionality.

@pboling - yup, turning the instance method in our interceptor class into a class method and then passing a symbol into ActionMailer will most probably fix this.

@gsar - fix is proposed in #26

@gsar - fix released in v 1.2.0 to RubyGems.

@pboling , @gsar  Just ran into this issue(with 1.1.7) because delayed-job keep reload(ing) the application in development mode causing the multiple interceptor to be registered to the ActionMailer.
Glad you fix it. 👍


Updated compose to allow passing of context into the subscribe function.

Added a new option called 'contextTypes' that sets the contextTypes for the container.
The context is then passed in to the subscribe call.
Fixes #45

Took this PR and published with v1.10.0.
But I did one change.
In the shallowCompare, these is no need to compare the context. Usually, context carries things which couldn't compare. That's why.


Add done command

Add a completionstatus class in project
Add a completionstatuspredicate for find
Add a completionstatuscompare for sort
completion status is incomplete by default
for edit and add, c/ will reverse the status
add n/a c/ -> project a that is completed
edit 1 c/ -> project 1 will become incomplete if completed
Find will find all projects by default.
"c/ completed" will only search for completed projects only
"c/ incomplete" will only search for incomplete projects only
Sort will sort the projects into incomplete then complete by default
sort c/ will disable this
The sorting is not maintained in the default order automatically after editing any field like name or completion status (but is maintained after an add command). Should we implement this?

Codecov Report

Merging #88 into master will increase coverage by 0.13%.
The diff coverage is 70.80%.

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


Add MLflow to LLM Applications section

Hi @Hannibal046, thank you for the effort to build and manage such a comprehensive list!
I would like to contribute to the list, specifically, adding MLflow to the "LLM Application" category. It provides various LLMOps capabilities (prompt tracking, evaluation, tracing, and more) and has been adapted by many people (19K stars). Happy to update if there is any better category to add it!

awesome!!


Avoid including nursery rules in linter-level selectors

Summary
Ensures that --select PL and --select PLC don't include PLC1901. Previously, --select PL did, because it's a "linter-level selector" (--select PLC is viewed as selecting the C prefix from PL), and we were missing this filtering path.

@henryiii - Heads up, we made compare-to-empty-string (PLC1901) require explicit opt-in. It has a lot of false positives, and while it has parity with the Pylint version, that rule too requires explicit opt-in via an extension.
I think this will cause some # noqa comments in a few of your projects (per the ecosystem check, above) to be unused. You can either remove those, or add PLC1901 to your select. I'm happy to help with this, if you have a preference.

I think they will get auto-removed in the pre-commit update PRs, so it shouldn't be a problem, thanks for checking!
And the change sounds fine to me. That one could trigger incorrectly & sometime tests especially read better comparing to an empty string.


sq.gr.co_occurrence gives different results for n_splits=1 and n_splits>1

Description
Calculating co-occurrences I noticed some inf and nan values in the outcome and while looking into it I saw Issue #689 and tried to reduce n_splits to 1. Not only did the inf and nan values go away, but all the other values changed significantly.
I would very much appreciate a fix because the function n_splits=1 produces an error for very large samples.
Thank you :)
Version
1.3.0

yes, it's expected, that is because of the way the co-occurrence is implemented, we split the data in chunks if it is too large. I would suggest to split the data by slide and run the co occurrence in each slide separately maybe that helps. It would be cool to have faster implementations but I don't have time to look at this now


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 09:24:29 on 2023.04.17
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 3, errors out: 0
Original problem ID: 18483
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=18483

Problem has been resolved in 9m 0s at 09:33:29 on 2023.04.17
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 18483


add typescript declaration

Hi there, thank you for the contribution! However I won't be accepting this as I don't use TypeScript and would rather not have to maintain them (Same reasons as in  https://github.com/sindresorhus/ama/issues/439#issuecomment-280861804.) Please consider publishing them to DefinitelyTyped instead.


Drop extra MIME-Version headers

As explained in https://github.com/gitgitgadget/gitgitgadget/issues/38, sometimes we end up with mails that have multiple MIME-Version headers.
In order to avoid being filed away in the spam folder, let's just post-process the generated mails to remove duplicate MIME-Version headers.

Please note that this PR is based on #54 and therefore needs that PR to be merged first.

@sunshineco any other headers you see that we should not duplicate, either (even if we don't do that right now anyway)?

@sunshineco any other headers you see that we should not duplicate, either?

Based upon my reading of RFC 2045, the following message headers must be singletons:
Content-Description:
Content-ID:
Content-Transfer-Encoding:
Content-Type:
MIME-Version:


Crash Report: Argument rangeInElement (2,38) endOffset must not exceed descriptor text range (1395, 1425) length (30).

Description
Stacktrace
Argument rangeInElement (2,38) endOffset must not exceed descriptor text range (1395, 1425) length (30).

Fixed in commit a4caa3c and will be included in release b0.6.1 in the near future.


Type 'Plugin' is not assignable to type 'PluginOption'

Describe the bug

Reproduction
N/A
System Info
System:
    OS: macOS 12.4
    CPU: (10) arm64 Apple M1 Max
    Memory: 18.16 GB / 64.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
    Yarn: 3.1.1 - ~/.nvm/versions/node/v16.15.1/bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 103.0.5060.134
    Firefox: 102.0.1
    Safari: 15.5
  npmPackages:
    @vitejs/plugin-vue: 2 => 2.3.3
    vite: 2 => 2.9.14
    vitest: 0.18.0 => 0.18.0

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

This means you have 2 versions of Vite installed. Cleanup your lock file.

I had a similar issue, and upgrading vitest fixed it. My package.json went from using ^0.25.5 to ^0.27.1.

In my case, I manually installed the latest version of rollup(v3.17.2) and the issue went away.

Had to update Vite to the lastest stable version 4.1.0 -> 4.1.4


Implements Bosh Aliases to Services API

https://www.pivotaltracker.com/story/show/171361637
Are there any integrations tests that we should add to?

Looks good. Thanks @xtreme-prasath !


Getting 'unicode' object has no attribute 'reply'

I am redirecting the requests and changing the response body as well.
resp = Response(200 OK, application/json; v=2, 222B)
and on flow.reply(resp) , I am getting error:  'unicode' object has no attribute 'reply'
How to resolve this error?

resolved the error by this solution.
http://www.psychopy.org/builder/commonMistakes/unicodeError.html
No issues to report on mitm.


[Bug]: fix the heading issue in mobile view

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Fix the issue of text not showing inmobile view
Assign me this under hacktoberfest and gssoc-ext.
Expected behavior

The text heading should be visible.
Add ScreenShots
No response
On which device are you experiencing this bug?
Android
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

@AE-Hertz, please explain me what changes would you like to do in it.

@GAVINESHWAR as I already mentioned but let me elaborate, refer to the screenshot i attached and the text is overlapped by fitflex logo, so I am going to make the text visible by tuning the styling, either by moving the text down little bit or by minimising the fitflex logo after certain amount of time.

@AE-Hertz,Ok proceed.


Could you please advices to run efficiently

Hi all, I am new here and don't know how to start. Could you please advices which platform should I start (linux or windows) and the recommended hardware. Many thanks

Hardware - a late edition nvidia or AMD card is better for mining ether.
https://cryptojunction.com/ethereum-mining-hardware-comparison/
Mh/s means Millions of hashes per second , the measure of mining power.
You then work out how much power costs and how much power it uses and do some estimates on https://www.coinwarz.com/calculators/ethereum-mining-calculator

I would obtain a valid ethereum address via either a smarphone app or https://www.myetherwallet.com/
Thesee consists of 2 things - the public key (your address, forwarded anywhere you need to receive money), and the private key (needed for when you export the keysomewhere or "sweep" your account into another app someplace)
2.
I would then proceed to mine in a mining pool, so that some consistent earnings are to be had.
eg. https://ethermine.org/
Follow the guides and you should be away.

@jjisnow Thanks for your comment. I have heard that RX480 is the best GPU card for mining ether now. Low power consumption, high computational speed. It is better than other 5x series. Is that true? Do you have any idea about that?


Include more information about dependencies in Cargo metadata

See https://github.com/rust-lang/cargo/pull/5461 for the reverted attempt at that. Basically, cargo metadata prints not enough information about resolved dependencies.
The bits of info missing from cargo metadata are:

Which dependency applies to which target: currently we can't distinguish between normal and dev deps   #3984, #4631
What are the platform restrictions for a dep? #4632
Which name are you supposed to put in extern carate name? This covers - to _ translation, as well as Cargo.toml level renaming.

The current plan is to introduce a TargetId thing to allow to refer to a target to a package somehow, and then add per-target dependencies to resolve field of cargo metadata, as a map:
deps: {
  "bin foo": [ { "package_id": "bar", "name": "baz", "platform": "cfg(unix)" }]
}

I'm going to close this as I believe it is finished.

The resolve graph now includes dep_kinds which allows you to tell which kinds a dependency is used as.
The dep_kinds array includes the "target" field which is the platform for the dependency.
The extern crate name is resolve.nodes.deps.name which handles renaming.  One common point of confusion is that name is the lib name, with underscores, not the package name.